diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/abusiveexperiencereport.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/abusiveexperiencereport.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..6ef6a43f6e0d92f0ae211da494729d1784cb8871 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/abusiveexperiencereport.v1.json @@ -0,0 +1,225 @@ +{ +"basePath": "", +"baseUrl": "https://abusiveexperiencereport.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Abusive Experience Report", +"description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/abusive-experience-report/", +"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": "abusiveexperiencereport:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://abusiveexperiencereport.mtls.googleapis.com/", +"name": "abusiveexperiencereport", +"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": { +"sites": { +"methods": { +"get": { +"description": "Gets a site's Abusive Experience Report summary.", +"flatPath": "v1/sites/{sitesId}", +"httpMethod": "GET", +"id": "abusiveexperiencereport.sites.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the site whose summary to get, e.g. `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`", +"location": "path", +"pattern": "^sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SiteSummaryResponse" +} +} +} +}, +"violatingSites": { +"methods": { +"list": { +"description": "Lists sites that are failing in the Abusive Experience Report.", +"flatPath": "v1/violatingSites", +"httpMethod": "GET", +"id": "abusiveexperiencereport.violatingSites.list", +"parameterOrder": [], +"parameters": {}, +"path": "v1/violatingSites", +"response": { +"$ref": "ViolatingSitesResponse" +} +} +} +} +}, +"revision": "20240610", +"rootUrl": "https://abusiveexperiencereport.googleapis.com/", +"schemas": { +"SiteSummaryResponse": { +"description": "Response message for GetSiteSummary.", +"id": "SiteSummaryResponse", +"properties": { +"abusiveStatus": { +"description": "The site's Abusive Experience Report status.", +"enum": [ +"UNKNOWN", +"PASSING", +"FAILING" +], +"enumDescriptions": [ +"Not reviewed.", +"Passing.", +"Failing." +], +"type": "string" +}, +"enforcementTime": { +"description": "The time at which [enforcement](https://support.google.com/webtools/answer/7538608) against the site began or will begin. Not set when the filter_status is OFF.", +"format": "google-datetime", +"type": "string" +}, +"filterStatus": { +"description": "The site's [enforcement status](https://support.google.com/webtools/answer/7538608).", +"enum": [ +"UNKNOWN", +"ON", +"OFF", +"PAUSED", +"PENDING" +], +"enumDescriptions": [ +"N/A.", +"Enforcement is on.", +"Enforcement is off.", +"Enforcement is paused.", +"Enforcement is pending." +], +"type": "string" +}, +"lastChangeTime": { +"description": "The time at which the site's status last changed.", +"format": "google-datetime", +"type": "string" +}, +"reportUrl": { +"description": "A link to the full Abusive Experience Report for the site. Not set in ViolatingSitesResponse. Note that you must complete the [Search Console verification process](https://support.google.com/webmasters/answer/9008080) for the site before you can access the full report.", +"type": "string" +}, +"reviewedSite": { +"description": "The name of the reviewed site, e.g. `google.com`.", +"type": "string" +}, +"underReview": { +"description": "Whether the site is currently under review.", +"type": "boolean" +} +}, +"type": "object" +}, +"ViolatingSitesResponse": { +"description": "Response message for ListViolatingSites.", +"id": "ViolatingSitesResponse", +"properties": { +"violatingSites": { +"description": "The list of violating sites.", +"items": { +"$ref": "SiteSummaryResponse" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Abusive Experience Report API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fa48f72fea676f0047cb4024aec14f5bd53e1146 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json @@ -0,0 +1,235 @@ +{ +"basePath": "", +"baseUrl": "https://acceleratedmobilepageurl.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Acceleratedmobilepageurl", +"description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/amp/cache/", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "acceleratedmobilepageurl:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://acceleratedmobilepageurl.mtls.googleapis.com/", +"name": "acceleratedmobilepageurl", +"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": { +"ampUrls": { +"methods": { +"batchGet": { +"description": "Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).", +"flatPath": "v1/ampUrls:batchGet", +"httpMethod": "POST", +"id": "acceleratedmobilepageurl.ampUrls.batchGet", +"parameterOrder": [], +"parameters": {}, +"path": "v1/ampUrls:batchGet", +"request": { +"$ref": "BatchGetAmpUrlsRequest" +}, +"response": { +"$ref": "BatchGetAmpUrlsResponse" +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", +"schemas": { +"AmpUrl": { +"description": "AMP URL response for a requested URL.", +"id": "AmpUrl", +"properties": { +"ampUrl": { +"description": "The AMP URL pointing to the publisher's web server.", +"type": "string" +}, +"cdnAmpUrl": { +"description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache.", +"type": "string" +}, +"originalUrl": { +"description": "The original non-AMP URL.", +"type": "string" +} +}, +"type": "object" +}, +"AmpUrlError": { +"description": "AMP URL Error resource for a requested URL that couldn't be found.", +"id": "AmpUrlError", +"properties": { +"errorCode": { +"description": "The error code of an API call.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"INPUT_URL_NOT_FOUND", +"NO_AMP_URL", +"APPLICATION_ERROR", +"URL_IS_VALID_AMP", +"URL_IS_INVALID_AMP" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Not specified error.", +"Indicates the requested URL is not found in the index, possibly because it's unable to be found, not able to be accessed by Googlebot, or some other error.", +"Indicates no AMP URL has been found that corresponds to the requested URL.", +"Indicates some kind of application error occurred at the server. Client advised to retry.", +"DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a non-error state, should not be relied upon as a sign of success or failure. It will be removed in future versions of the API.", +"Indicates that an AMP URL has been found that corresponds to the request URL, but it is not valid AMP HTML." +], +"type": "string" +}, +"errorMessage": { +"description": "An optional descriptive error message.", +"type": "string" +}, +"originalUrl": { +"description": "The original non-AMP URL.", +"type": "string" +} +}, +"type": "object" +}, +"BatchGetAmpUrlsRequest": { +"description": "AMP URL request for a batch of URLs.", +"id": "BatchGetAmpUrlsRequest", +"properties": { +"lookupStrategy": { +"description": "The lookup_strategy being requested.", +"enum": [ +"FETCH_LIVE_DOC", +"IN_INDEX_DOC" +], +"enumDescriptions": [ +"FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in the index. Any request URL not found in the index is crawled in realtime to validate if there is a corresponding AMP URL. This strategy has higher coverage but with extra latency introduced by realtime crawling. This is the default strategy. Applications using this strategy should set higher HTTP timeouts of the API calls.", +"IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found in index. For applications which need low latency use of IN_INDEX_DOC strategy is recommended." +], +"type": "string" +}, +"urls": { +"description": "List of URLs to look up for the paired AMP URLs. The URLs are case-sensitive. Up to 50 URLs per lookup (see [Usage Limits](/amp/cache/reference/limits)).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchGetAmpUrlsResponse": { +"description": "Batch AMP URL response.", +"id": "BatchGetAmpUrlsResponse", +"properties": { +"ampUrls": { +"description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might not be in the same order as URLs in the batch request. If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated only once.", +"items": { +"$ref": "AmpUrl" +}, +"type": "array" +}, +"urlErrors": { +"description": "The errors for requested URLs that have no AMP URL.", +"items": { +"$ref": "AmpUrlError" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Accelerated Mobile Pages (AMP) URL API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json new file mode 100644 index 0000000000000000000000000000000000000000..ce0014b42e551eef043337c64b283ba6a0cd2971 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json @@ -0,0 +1,1686 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/adexchange.buyer": { + "description": "Manage your Ad Exchange buyer account configuration" + } + } + } + }, + "basePath": "/adexchangebuyer/v1.3/", + "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.3/", + "batchPath": "batch/adexchangebuyer/v1.3", + "canonicalName": "Ad Exchange Buyer", + "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest", + "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/NOgo5Rz2N67ZT2NXIcz-dCGvAbI\"", + "icons": { + "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif", + "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif" + }, + "id": "adexchangebuyer:v1.3", + "kind": "discovery#restDescription", + "name": "adexchangebuyer", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "alt": { + "default": "json", + "description": "Data format for the response.", + "enum": [ + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json" + ], + "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": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "userIp": { + "description": "Deprecated. Please use quotaUser instead.", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accounts": { + "methods": { + "get": { + "description": "Gets one account by ID.", + "httpMethod": "GET", + "id": "adexchangebuyer.accounts.get", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves the authenticated user's list of accounts.", + "httpMethod": "GET", + "id": "adexchangebuyer.accounts.list", + "path": "accounts", + "response": { + "$ref": "AccountsList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates an existing account. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.accounts.patch", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates an existing account.", + "httpMethod": "PUT", + "id": "adexchangebuyer.accounts.update", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The account id", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "accounts/{id}", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "billingInfo": { + "methods": { + "get": { + "description": "Returns the billing information for one account specified by account ID.", + "httpMethod": "GET", + "id": "adexchangebuyer.billingInfo.get", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "billinginfo/{accountId}", + "response": { + "$ref": "BillingInfo" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of billing information for all accounts of the authenticated user.", + "httpMethod": "GET", + "id": "adexchangebuyer.billingInfo.list", + "path": "billinginfo", + "response": { + "$ref": "BillingInfoList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "budget": { + "methods": { + "get": { + "description": "Returns the budget information for the adgroup specified by the accountId and billingId.", + "httpMethod": "GET", + "id": "adexchangebuyer.budget.get", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the budget information for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id to get the budget information for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.budget.patch", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "request": { + "$ref": "Budget" + }, + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.", + "httpMethod": "PUT", + "id": "adexchangebuyer.budget.update", + "parameterOrder": [ + "accountId", + "billingId" + ], + "parameters": { + "accountId": { + "description": "The account id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "billingId": { + "description": "The billing id associated with the budget being updated.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "billinginfo/{accountId}/{billingId}", + "request": { + "$ref": "Budget" + }, + "response": { + "$ref": "Budget" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "creatives": { + "methods": { + "get": { + "description": "Gets the status for a single creative. A creative will be available 30-40 minutes after submission.", + "httpMethod": "GET", + "id": "adexchangebuyer.creatives.get", + "parameterOrder": [ + "accountId", + "buyerCreativeId" + ], + "parameters": { + "accountId": { + "description": "The id for the account that will serve this creative.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "The buyer-specific id for this creative.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "creatives/{accountId}/{buyerCreativeId}", + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Submit a new creative.", + "httpMethod": "POST", + "id": "adexchangebuyer.creatives.insert", + "path": "creatives", + "request": { + "$ref": "Creative" + }, + "response": { + "$ref": "Creative" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.", + "httpMethod": "GET", + "id": "adexchangebuyer.creatives.list", + "parameters": { + "accountId": { + "description": "When specified, only creatives for the given account ids are returned.", + "format": "int32", + "location": "query", + "repeated": true, + "type": "integer" + }, + "buyerCreativeId": { + "description": "When specified, only creatives for the given buyer creative ids are returned.", + "location": "query", + "repeated": true, + "type": "string" + }, + "maxResults": { + "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", + "format": "uint32", + "location": "query", + "maximum": "1000", + "minimum": "1", + "type": "integer" + }, + "pageToken": { + "description": "A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", + "location": "query", + "type": "string" + }, + "statusFilter": { + "description": "When specified, only creatives having the given status are returned.", + "enum": [ + "approved", + "disapproved", + "not_checked" + ], + "enumDescriptions": [ + "Creatives which have been approved.", + "Creatives which have been disapproved.", + "Creatives whose status is not yet checked." + ], + "location": "query", + "type": "string" + } + }, + "path": "creatives", + "response": { + "$ref": "CreativesList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "directDeals": { + "methods": { + "get": { + "description": "Gets one direct deal by ID.", + "httpMethod": "GET", + "id": "adexchangebuyer.directDeals.get", + "parameterOrder": [ + "id" + ], + "parameters": { + "id": { + "description": "The direct deal id", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "directdeals/{id}", + "response": { + "$ref": "DirectDeal" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves the authenticated user's list of direct deals.", + "httpMethod": "GET", + "id": "adexchangebuyer.directDeals.list", + "path": "directdeals", + "response": { + "$ref": "DirectDealsList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "performanceReport": { + "methods": { + "list": { + "description": "Retrieves the authenticated user's list of performance metrics.", + "httpMethod": "GET", + "id": "adexchangebuyer.performanceReport.list", + "parameterOrder": [ + "accountId", + "endDateTime", + "startDateTime" + ], + "parameters": { + "accountId": { + "description": "The account id to get the reports.", + "format": "int64", + "location": "query", + "required": true, + "type": "string" + }, + "endDateTime": { + "description": "The end time of the report in ISO 8601 timestamp format using UTC.", + "location": "query", + "required": true, + "type": "string" + }, + "maxResults": { + "description": "Maximum number of entries returned on one result page. If not set, the default is 100. Optional.", + "format": "uint32", + "location": "query", + "maximum": "1000", + "minimum": "1", + "type": "integer" + }, + "pageToken": { + "description": "A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response. Optional.", + "location": "query", + "type": "string" + }, + "startDateTime": { + "description": "The start time of the report in ISO 8601 timestamp format using UTC.", + "location": "query", + "required": true, + "type": "string" + } + }, + "path": "performancereport", + "response": { + "$ref": "PerformanceReportList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + }, + "pretargetingConfig": { + "methods": { + "delete": { + "description": "Deletes an existing pretargeting config.", + "httpMethod": "DELETE", + "id": "adexchangebuyer.pretargetingConfig.delete", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to delete the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to delete.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "get": { + "description": "Gets a specific pretargeting configuration", + "httpMethod": "GET", + "id": "adexchangebuyer.pretargetingConfig.get", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to retrieve.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "insert": { + "description": "Inserts a new pretargeting configuration.", + "httpMethod": "POST", + "id": "adexchangebuyer.pretargetingConfig.insert", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id to insert the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "list": { + "description": "Retrieves a list of the authenticated user's pretargeting configurations.", + "httpMethod": "GET", + "id": "adexchangebuyer.pretargetingConfig.list", + "parameterOrder": [ + "accountId" + ], + "parameters": { + "accountId": { + "description": "The account id to get the pretargeting configs for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}", + "response": { + "$ref": "PretargetingConfigList" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "patch": { + "description": "Updates an existing pretargeting config. This method supports patch semantics.", + "httpMethod": "PATCH", + "id": "adexchangebuyer.pretargetingConfig.patch", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to update the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to update.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + }, + "update": { + "description": "Updates an existing pretargeting config.", + "httpMethod": "PUT", + "id": "adexchangebuyer.pretargetingConfig.update", + "parameterOrder": [ + "accountId", + "configId" + ], + "parameters": { + "accountId": { + "description": "The account id to update the pretargeting config for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + }, + "configId": { + "description": "The specific id of the configuration to update.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "pretargetingconfigs/{accountId}/{configId}", + "request": { + "$ref": "PretargetingConfig" + }, + "response": { + "$ref": "PretargetingConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/adexchange.buyer" + ] + } + } + } + }, + "revision": "20210815", + "rootUrl": "https://www.googleapis.com/", + "schemas": { + "Account": { + "description": "Configuration data for an Ad Exchange buyer account.", + "id": "Account", + "properties": { + "bidderLocation": { + "description": "Your bidder locations that have distinct URLs.", + "items": { + "properties": { + "maximumQps": { + "description": "The maximum queries per second the Ad Exchange will send.", + "format": "int32", + "type": "integer" + }, + "region": { + "description": "The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: \n- ASIA \n- EUROPE \n- US_EAST \n- US_WEST", + "type": "string" + }, + "url": { + "description": "The URL to which the Ad Exchange will send bid requests.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "cookieMatchingNid": { + "description": "The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.", + "type": "string" + }, + "cookieMatchingUrl": { + "description": "The base URL used in cookie match requests.", + "type": "string" + }, + "id": { + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "kind": { + "default": "adexchangebuyer#account", + "description": "Resource type.", + "type": "string" + }, + "maximumActiveCreatives": { + "description": "The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.", + "format": "int32", + "type": "integer" + }, + "maximumTotalQps": { + "description": "The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.", + "format": "int32", + "type": "integer" + }, + "numberActiveCreatives": { + "description": "The number of creatives that this account inserted or bid with in the last 30 days.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "AccountsList": { + "description": "An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.", + "id": "AccountsList", + "properties": { + "items": { + "description": "A list of accounts.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#accountsList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "BillingInfo": { + "description": "The configuration data for an Ad Exchange billing info.", + "id": "BillingInfo", + "properties": { + "accountId": { + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "accountName": { + "description": "Account name.", + "type": "string" + }, + "billingId": { + "description": "A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#billingInfo", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "BillingInfoList": { + "description": "A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.", + "id": "BillingInfoList", + "properties": { + "items": { + "description": "A list of billing info relevant for your account.", + "items": { + "$ref": "BillingInfo" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#billingInfoList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "Budget": { + "description": "The configuration data for Ad Exchange RTB - Budget API.", + "id": "Budget", + "properties": { + "accountId": { + "description": "The id of the account. This is required for get and update requests.", + "format": "int64", + "type": "string" + }, + "billingId": { + "description": "The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.", + "format": "int64", + "type": "string" + }, + "budgetAmount": { + "description": "The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests.", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "The currency code for the buyer. This cannot be altered here.", + "type": "string" + }, + "id": { + "description": "The unique id that describes this item.", + "type": "string" + }, + "kind": { + "default": "adexchangebuyer#budget", + "description": "The kind of the resource, i.e. \"adexchangebuyer#budget\".", + "type": "string" + } + }, + "type": "object" + }, + "Creative": { + "description": "A creative and its classification data.", + "id": "Creative", + "properties": { + "HTMLSnippet": { + "description": "The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.", + "type": "string" + }, + "accountId": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Account id.", + "format": "int32", + "type": "integer" + }, + "adTechnologyProviders": { + "properties": { + "detectedProviderIds": { + "description": "The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "hasUnidentifiedProvider": { + "description": "Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the \"Third-party Ad Technology Vendors\" section of Authorized Buyers Program Guidelines.", + "type": "boolean" + } + }, + "type": "object" + }, + "advertiserId": { + "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "advertiserName": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "The name of the company being advertised in the creative.", + "type": "string" + }, + "agencyId": { + "description": "The agency id for this creative.", + "format": "int64", + "type": "string" + }, + "apiUploadTimestamp": { + "description": "The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).", + "format": "date-time", + "type": "string" + }, + "attribute": { + "description": "All attributes for the ads that may be shown from this snippet.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "buyerCreativeId": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "A buyer-specific id identifying the creative in this ad.", + "type": "string" + }, + "clickThroughUrl": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "The set of destination urls for the snippet.", + "items": { + "type": "string" + }, + "type": "array" + }, + "corrections": { + "description": "Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.", + "items": { + "properties": { + "details": { + "description": "Additional details about the correction.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "description": "The type of correction that was applied to the creative.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "disapprovalReasons": { + "description": "The reasons for disapproval, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Read-only. This field should not be set in requests.", + "items": { + "properties": { + "details": { + "description": "Additional details about the reason for disapproval.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reason": { + "description": "The categorized reason for disapproval.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "filteringReasons": { + "description": "The filtering reasons for the creative. Read-only. This field should not be set in requests.", + "properties": { + "date": { + "description": "The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.", + "type": "string" + }, + "reasons": { + "description": "The filtering reasons.", + "items": { + "properties": { + "filteringCount": { + "description": "The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.", + "format": "int64", + "type": "string" + }, + "filteringStatus": { + "description": "The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "height": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Ad height.", + "format": "int32", + "type": "integer" + }, + "impressionTrackingUrl": { + "description": "The set of urls to be called to record an impression.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#creative", + "description": "Resource type.", + "type": "string" + }, + "nativeAd": { + "description": "If nativeAd is set, HTMLSnippet and videoURL should not be set.", + "properties": { + "advertiser": { + "type": "string" + }, + "appIcon": { + "description": "The app icon, for app download ads.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "body": { + "description": "A long description of the ad.", + "type": "string" + }, + "callToAction": { + "description": "A label for the button that the user is supposed to click.", + "type": "string" + }, + "clickTrackingUrl": { + "description": "The URL to use for click tracking.", + "type": "string" + }, + "headline": { + "description": "A short title for the ad.", + "type": "string" + }, + "image": { + "description": "A large image.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "impressionTrackingUrl": { + "description": "The URLs are called when the impression is rendered.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logo": { + "description": "A smaller image, for the advertiser logo.", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "url": { + "type": "string" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "price": { + "description": "The price of the promoted app including the currency info.", + "type": "string" + }, + "starRating": { + "description": "The app rating in the app store. Must be in the range [0-5].", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "productCategories": { + "description": "Detected product categories, if any. Read-only. This field should not be set in requests.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "restrictedCategories": { + "description": "All restricted categories for the ads that may be shown from this snippet.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "sensitiveCategories": { + "description": "Detected sensitive categories, if any. Read-only. This field should not be set in requests.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "status": { + "description": "Creative serving status. Read-only. This field should not be set in requests.", + "type": "string" + }, + "vendorType": { + "description": "All vendor types for the ads that may be shown from this snippet.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "version": { + "description": "The version for this creative. Read-only. This field should not be set in requests.", + "format": "int32", + "type": "integer" + }, + "videoURL": { + "description": "The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.", + "type": "string" + }, + "width": { + "annotations": { + "required": [ + "adexchangebuyer.creatives.insert" + ] + }, + "description": "Ad width.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CreativesList": { + "description": "The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.", + "id": "CreativesList", + "properties": { + "items": { + "description": "A list of creatives.", + "items": { + "$ref": "Creative" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#creativesList", + "description": "Resource type.", + "type": "string" + }, + "nextPageToken": { + "description": "Continuation token used to page through creatives. To retrieve the next page of results, set the next request's \"pageToken\" value to this.", + "type": "string" + } + }, + "type": "object" + }, + "DirectDeal": { + "description": "The configuration data for an Ad Exchange direct deal.", + "id": "DirectDeal", + "properties": { + "accountId": { + "description": "The account id of the buyer this deal is for.", + "format": "int32", + "type": "integer" + }, + "advertiser": { + "description": "The name of the advertiser this deal is for.", + "type": "string" + }, + "allowsAlcohol": { + "description": "Whether the publisher for this deal is eligible for alcohol ads.", + "type": "boolean" + }, + "buyerAccountId": { + "description": "The account id that this deal was negotiated for. It is either the buyer or the client that this deal was negotiated on behalf of.", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "The currency code that applies to the fixed_cpm value. If not set then assumed to be USD.", + "type": "string" + }, + "dealTier": { + "description": "The deal type such as programmatic reservation or fixed price and so on.", + "type": "string" + }, + "endTime": { + "description": "End time for when this deal stops being active. If not set then this deal is valid until manually disabled by the publisher. In seconds since the epoch.", + "format": "int64", + "type": "string" + }, + "fixedCpm": { + "description": "The fixed price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).", + "format": "int64", + "type": "string" + }, + "id": { + "description": "Deal id.", + "format": "int64", + "type": "string" + }, + "kind": { + "default": "adexchangebuyer#directDeal", + "description": "Resource type.", + "type": "string" + }, + "name": { + "description": "Deal name.", + "type": "string" + }, + "privateExchangeMinCpm": { + "description": "The minimum price for this direct deal. In cpm micros of currency according to currency_code. If set, then this deal is eligible for the private exchange tier of buying (below fixed price priority, run as a second price auction).", + "format": "int64", + "type": "string" + }, + "publisherBlocksOverriden": { + "description": "If true, the publisher has opted to have their blocks ignored when a creative is bid with for this deal.", + "type": "boolean" + }, + "sellerNetwork": { + "description": "The name of the publisher offering this direct deal.", + "type": "string" + }, + "startTime": { + "description": "Start time for when this deal becomes active. If not set then this deal is active immediately upon creation. In seconds since the epoch.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "DirectDealsList": { + "description": "A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.", + "id": "DirectDealsList", + "properties": { + "directDeals": { + "description": "A list of direct deals relevant for your account.", + "items": { + "$ref": "DirectDeal" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#directDealsList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + }, + "PerformanceReport": { + "description": "The configuration data for an Ad Exchange performance report list.", + "id": "PerformanceReport", + "properties": { + "bidRate": { + "description": "The number of bid responses with an ad.", + "format": "double", + "type": "number" + }, + "bidRequestRate": { + "description": "The number of bid requests sent to your bidder.", + "format": "double", + "type": "number" + }, + "calloutStatusRate": { + "description": "Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.", + "items": { + "type": "any" + }, + "type": "array" + }, + "cookieMatcherStatusRate": { + "description": "Average QPS for cookie matcher operations.", + "items": { + "type": "any" + }, + "type": "array" + }, + "creativeStatusRate": { + "description": "Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.", + "items": { + "type": "any" + }, + "type": "array" + }, + "filteredBidRate": { + "description": "The number of bid responses that were filtered due to a policy violation or other errors.", + "format": "double", + "type": "number" + }, + "hostedMatchStatusRate": { + "description": "Average QPS for hosted match operations.", + "items": { + "type": "any" + }, + "type": "array" + }, + "inventoryMatchRate": { + "description": "The number of potential queries based on your pretargeting settings.", + "format": "double", + "type": "number" + }, + "kind": { + "default": "adexchangebuyer#performanceReport", + "description": "Resource type.", + "type": "string" + }, + "latency50thPercentile": { + "description": "The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "latency85thPercentile": { + "description": "The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "latency95thPercentile": { + "description": "The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.", + "format": "double", + "type": "number" + }, + "noQuotaInRegion": { + "description": "Rate of various quota account statuses per quota check.", + "format": "double", + "type": "number" + }, + "outOfQuota": { + "description": "Rate of various quota account statuses per quota check.", + "format": "double", + "type": "number" + }, + "pixelMatchRequests": { + "description": "Average QPS for pixel match requests from clients.", + "format": "double", + "type": "number" + }, + "pixelMatchResponses": { + "description": "Average QPS for pixel match responses from clients.", + "format": "double", + "type": "number" + }, + "quotaConfiguredLimit": { + "description": "The configured quota limits for this account.", + "format": "double", + "type": "number" + }, + "quotaThrottledLimit": { + "description": "The throttled quota limits for this account.", + "format": "double", + "type": "number" + }, + "region": { + "description": "The trading location of this data.", + "type": "string" + }, + "successfulRequestRate": { + "description": "The number of properly formed bid responses received by our servers within the deadline.", + "format": "double", + "type": "number" + }, + "timestamp": { + "description": "The unix timestamp of the starting time of this performance data.", + "format": "int64", + "type": "string" + }, + "unsuccessfulRequestRate": { + "description": "The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "PerformanceReportList": { + "description": "The configuration data for an Ad Exchange performance report list.", + "id": "PerformanceReportList", + "properties": { + "kind": { + "default": "adexchangebuyer#performanceReportList", + "description": "Resource type.", + "type": "string" + }, + "performanceReport": { + "description": "A list of performance reports relevant for the account.", + "items": { + "$ref": "PerformanceReport" + }, + "type": "array" + } + }, + "type": "object" + }, + "PretargetingConfig": { + "id": "PretargetingConfig", + "properties": { + "billingId": { + "description": "The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.", + "format": "int64", + "type": "string" + }, + "configId": { + "description": "The config id; generated automatically. Leave this field blank for insert requests.", + "format": "int64", + "type": "string" + }, + "configName": { + "description": "The name of the config. Must be unique. Required for all requests.", + "type": "string" + }, + "creativeType": { + "description": "List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dimensions": { + "description": "Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.", + "items": { + "properties": { + "height": { + "description": "Height in pixels.", + "format": "int64", + "type": "string" + }, + "width": { + "description": "Width in pixels.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "excludedContentLabels": { + "description": "Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedGeoCriteriaIds": { + "description": "Requests containing any of these geo criteria ids will not match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedPlacements": { + "description": "Requests containing any of these placements will not match.", + "items": { + "properties": { + "token": { + "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", + "type": "string" + }, + "type": { + "description": "The type of the placement.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "excludedUserLists": { + "description": "Requests containing any of these users list ids will not match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "excludedVerticals": { + "description": "Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "geoCriteriaIds": { + "description": "Requests containing any of these geo criteria ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "isActive": { + "description": "Whether this config is active. Required for all requests.", + "type": "boolean" + }, + "kind": { + "default": "adexchangebuyer#pretargetingConfig", + "description": "The kind of the resource, i.e. \"adexchangebuyer#pretargetingConfig\".", + "type": "string" + }, + "languages": { + "description": "Request containing any of these language codes will match.", + "items": { + "type": "string" + }, + "type": "array" + }, + "maximumQps": { + "description": "The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).", + "format": "int64", + "type": "string" + }, + "mobileCarriers": { + "description": "Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "mobileDevices": { + "description": "Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "mobileOperatingSystemVersions": { + "description": "Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "placements": { + "description": "Requests containing any of these placements will match.", + "items": { + "properties": { + "token": { + "description": "The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.", + "type": "string" + }, + "type": { + "description": "The type of the placement.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "platforms": { + "description": "Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.", + "items": { + "type": "string" + }, + "type": "array" + }, + "supportedCreativeAttributes": { + "description": "Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "userLists": { + "description": "Requests containing any of these user list ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "vendorTypes": { + "description": "Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "verticals": { + "description": "Requests containing any of these vertical ids will match.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "PretargetingConfigList": { + "id": "PretargetingConfigList", + "properties": { + "items": { + "description": "A list of pretargeting configs", + "items": { + "$ref": "PretargetingConfig" + }, + "type": "array" + }, + "kind": { + "default": "adexchangebuyer#pretargetingConfigList", + "description": "Resource type.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "adexchangebuyer/v1.3/", + "title": "Ad Exchange Buyer API", + "version": "v1.3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reports_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reports_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..01922b5aa00d38329a09aa439a8f08c4f3933f9e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/admin.reports_v1.json @@ -0,0 +1,1446 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/admin.reports.audit.readonly": { +"description": "View audit reports for your Google Workspace domain" +}, +"https://www.googleapis.com/auth/admin.reports.usage.readonly": { +"description": "View usage reports for your Google Workspace domain" +} +} +} +}, +"basePath": "", +"baseUrl": "https://admin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "reports", +"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/admin/", +"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": "admin:reports_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://admin.mtls.googleapis.com/", +"name": "admin", +"ownerDomain": "google.com", +"ownerName": "Google", +"packagePath": "admin", +"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": { +"activities": { +"methods": { +"list": { +"description": "Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides. ", +"flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", +"httpMethod": "GET", +"id": "reports.activities.list", +"parameterOrder": [ +"userKey", +"applicationName" +], +"parameters": { +"actorIpAddress": { +"description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.", +"location": "query", +"type": "string" +}, +"applicationInfoFilter": { +"description": "Optional. Used to filter on the `oAuthClientId` field present in [`ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&applicationInfoFilter=oAuthClientId=\"clientId\" GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```", +"location": "query", +"type": "string" +}, +"applicationName": { +"description": "Application name for which the events are to be retrieved.", +"enum": [ +"access_transparency", +"admin", +"calendar", +"chat", +"drive", +"gcp", +"gmail", +"gplus", +"groups", +"groups_enterprise", +"jamboard", +"login", +"meet", +"mobile", +"rules", +"saml", +"token", +"user_accounts", +"context_aware_access", +"chrome", +"data_studio", +"keep", +"vault", +"gemini_in_workspace_apps", +"classroom", +"assignments", +"cloud_search", +"tasks", +"data_migration", +"meet_hardware", +"directory_sync", +"ldap", +"profile", +"access_evaluation", +"admin_data_action", +"contacts", +"takeout", +"graduation" +], +"enumDescriptions": [ +"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.", +"The Admin console application's activity reports return account information about different types of administrator activity events.", +"The Google Calendar application's activity reports return information about various Calendar activity events.", +"The Chat activity reports return information about various Chat activity events.", +"The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for Google Workspace Business and Enterprise customers.", +"The Google Cloud Platform application's activity reports return information about various GCP activity events.", +"The Gmail application's activity reports return information about various [Gmail activity events](/admin-sdk/reports/v1/appendix/activity/gmail).", +"The Google+ application's activity reports return information about various Google+ activity events.", +"The Google Groups application's activity reports return information about various Groups activity events.", +"The Enterprise Groups activity reports return information about various Enterprise group activity events.", +"The Jamboard activity reports return information about various Jamboard activity events.", +"The Login application's activity reports return account information about different types of Login activity events.", +"The Meet Audit activity report returns information about different types of Meet Audit activity events.", +"The Device Audit activity report returns information about different types of Device Audit activity events.", +"The Rules activity report returns information about different types of Rules activity events.", +"The SAML activity report returns information about different types of SAML activity events.", +"The Token application's activity reports return account information about different types of Token activity events.", +"The User Accounts application's activity reports return account information about different types of User Accounts activity events.", +"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", +"The Chrome activity reports return information about Chrome browser and Chrome OS events.", +"The Data Studio activity reports return information about various types of Data Studio activity events.", +"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.", +"The Vault activity reports return information about various types of Vault activity events.", +"The Gemini for Workspace activity reports return information about various types of Gemini activity events performed by users within a Workspace application.", +"The Classroom activity reports return information about different types of [Classroom activity events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom).", +"The assignments application's activity reports return information about various types of assignments activity events.", +"The Cloud Search application's activity reports return information about various types of cloud_search activity events.", +"The Tasks application's activity reports return information about various types of Tasks activity events.", +"The Data Migration application's activity reports return information about various types of data migration activity events.", +"The Meet Hardware application's activity reports return information about various types of Meet Hardware activity events.", +"The Directory Sync application's activity reports return information about various types of Directory Sync activity events.", +"The ldap application's activity reports return information about various types of ldap activity events.", +"The Profile application's activity reports return information about various types of Profile activity events.", +"The Access Evaluation activity reports return information about various types of Access Evaluation activity events.", +"The Admin Data Action application's activity reports return information about various types of Admin Data Action activity events.", +"The Contacts application's activity reports return information about various types of Contacts activity events.", +"The Takeout application's activity reports return information about various types of Takeout activity events.", +"The Graduation application's activity reports return information about various types of Graduation activity events." +], +"location": "path", +"pattern": "(access_evaluation)|(access_transparency)|(admin)|(admin_data_action)|(assignments)|(calendar)|(chat)|(chrome)|(classroom)|(cloud_search)|(contacts)|(context_aware_access)|(data_studio)|(data_migration)|(directory_sync)|(drive)|(gcp)|(gmail)|(gplus)|(graduation)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(ldap)|(login)|(meet)|(meet_hardware)|(mobile)|(profile)|(rules)|(saml)|(token)|(user_accounts)|(vault)|(gemini_in_workspace_apps)|(tasks)|(takeout)", +"required": true, +"type": "string" +}, +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"endTime": { +"description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API's request for a report*: When the API created and retrieved the report. - *Report's start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report's end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"eventName": { +"description": "The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`.", +"location": "query", +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`\u2014'equal to'. * `<>`\u2014'not equal to'. Must be URL-encoded (%3C%3E). * `<`\u2014'less than'. Must be URL-encoded (%3C). * `<=`\u2014'less than or equal to'. Must be URL-encoded (%3C=). * `>`\u2014'greater than'. Must be URL-encoded (%3E). * `>=`\u2014'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned.", +"location": "query", +"pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)", +"type": "string" +}, +"groupIdFilter": { +"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"networkInfoFilter": { +"description": "Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode=\"IN\" GET...&networkInfoFilter=regionCode=%22IN%22 ```", +"location": "query", +"type": "string" +}, +"orgUnitID": { +"default": "", +"description": "ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"resourceDetailsFilter": { +"description": "Optional. The `resourceDetailsFilter` query string is an AND separated list composed of [Resource Details](#resourcedetails) fields manipulated by relational operators. Resource Details Filters are in the form `{resourceDetails.field1}{relational operator}{field1 value} AND {resourceDetails.field2}{relational operator}{field2 value}...` All the inner fields are traversed using the `.` operator, as shown in the following example: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" ``` `resourceDetailsFilter` query supports these relational operators: * `=`\u2014'equal to'. * `!=`\u2014'not equal to'. * `:`\u2014'exists'. This is used for filtering on repeated fields. [`FieldValue`](#fieldvalue) types that are repeated in nature uses `exists` operator for filtering. The following [`FieldValue`](#fieldvalue) types are repeated: * [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) * [`UserListValue`](#userlistvalue) For example, in the following filter, [`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether [`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" AND resourceDetails.appliedLabels.fieldValue.type = \"SELECTION_LIST_VALUE\" AND resourceDetails.appliedLabels.fieldValue.selectionListValue.id: \"id\" ``` **Usage** ``` GET...&resourceDetailsFilter=resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" GET...&resourceDetailsFilter=resourceDetails.id=%22resourceId%22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ``` **Note the following**: * You must URL encode the query string before sending the request. * The API supports a maximum of 5 fields separated by the AND operator. - When filtering on deeper levels (e.g., [`AppliedLabel`](#appliedlabel), [`FieldValue`](#fieldvalue)), the IDs of all preceding levels in the hierarchy must be included in the filter. For example: Filtering on [`FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = \"resourceId\" AND resourceDetails.appliedLabels.id = \"appliedLabelId\" AND resourceDetails.appliedLabels.fieldValue.id = \"fieldValueId\" ``` * Filtering on inner [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires `resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single [`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.", +"location": "query", +"type": "string" +}, +"startTime": { +"description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"statusFilter": { +"description": "Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message. **Usage** ``` GET...&statusFilter=statusCode=\"200\" GET...&statusFilter=statusCode=%22200%22 ```", +"location": "query", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}", +"response": { +"$ref": "Activities" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +}, +"watch": { +"description": "Start receiving notifications for account activities. For more information, see Receiving Push Notifications.", +"flatPath": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch", +"httpMethod": "POST", +"id": "reports.activities.watch", +"parameterOrder": [ +"userKey", +"applicationName" +], +"parameters": { +"actorIpAddress": { +"description": "The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.", +"location": "query", +"type": "string" +}, +"applicationName": { +"description": "Application name for which the events are to be retrieved.", +"enum": [ +"access_transparency", +"admin", +"calendar", +"chat", +"drive", +"gcp", +"gplus", +"groups", +"groups_enterprise", +"jamboard", +"login", +"meet", +"mobile", +"rules", +"saml", +"token", +"user_accounts", +"context_aware_access", +"chrome", +"data_studio", +"keep", +"classroom" +], +"enumDescriptions": [ +"The Google Workspace Access Transparency activity reports return information about different types of Access Transparency activity events.", +"The Admin console application's activity reports return account information about different types of administrator activity events.", +"The Google Calendar application's activity reports return information about various Calendar activity events.", +"The Chat activity reports return information about various Chat activity events.", +"The Google Drive application's activity reports return information about various Google Drive activity events. The Drive activity report is only available for Google Workspace Business and Google Workspace Enterprise customers.", +"The Google Cloud Platform application's activity reports return information about various GCP activity events.", +"The Google+ application's activity reports return information about various Google+ activity events.", +"The Google Groups application's activity reports return information about various Groups activity events.", +"The Enterprise Groups activity reports return information about various Enterprise group activity events.", +"The Jamboard activity reports return information about various Jamboard activity events.", +"The Login application's activity reports return account information about different types of Login activity events.", +"The Meet Audit activity report returns information about different types of Meet Audit activity events.", +"The Device Audit activity report returns information about different types of Device Audit activity events.", +"The Rules activity report returns information about different types of Rules activity events.", +"The SAML activity report returns information about different types of SAML activity events.", +"The Token application's activity reports return account information about different types of Token activity events.", +"The User Accounts application's activity reports return account information about different types of User Accounts activity events.", +"The Context-aware access activity reports return information about users' access denied events due to Context-aware access rules.", +"The Chrome activity reports return information about Chrome browser and Chrome OS events.", +"The Data Studio activity reports return information about various types of Data Studio activity events.", +"The Keep application's activity reports return information about various Google Keep activity events. The Keep activity report is only available for Google Workspace Business and Enterprise customers.", +"The Classroom activity reports return information about different types of [Classroom activity events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom)." +], +"location": "path", +"pattern": "(access_transparency)|(admin)|(calendar)|(chat)|(chrome)|(classroom)|(context_aware_access)|(data_studio)|(drive)|(gcp)|(gplus)|(groups)|(groups_enterprise)|(jamboard)|(keep)|(login)|(meet)|(mobile)|(rules)|(saml)|(token)|(user_accounts)", +"required": true, +"type": "string" +}, +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"endTime": { +"description": "Sets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API's request for a report*: When the API created and retrieved the report. - *Report's start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report's end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"eventName": { +"description": "The name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`.", +"location": "query", +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`\u2014'equal to'. * `<>`\u2014'not equal to'. Must be URL-encoded (%3C%3E). * `<`\u2014'less than'. Must be URL-encoded (%3C). * `<=`\u2014'less than or equal to'. Must be URL-encoded (%3C=). * `>`\u2014'greater than'. Must be URL-encoded (%3E). * `>=`\u2014'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned.", +"location": "query", +"pattern": "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)", +"type": "string" +}, +"groupIdFilter": { +"deprecated": true, +"description": "`Deprecated`. This field is deprecated and is no longer supported. Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.", +"format": "int32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"orgUnitID": { +"default": "", +"deprecated": true, +"description": "`Deprecated`. This field is deprecated and is no longer supported. ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "The token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"startTime": { +"description": "Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error.", +"location": "query", +"pattern": "(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(?:\\.(\\d+))?(?:(Z)|([-+])(\\d\\d):(\\d\\d))", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +} +} +}, +"channels": { +"methods": { +"stop": { +"description": "Stop watching resources through this channel.", +"flatPath": "admin/reports_v1/channels/stop", +"httpMethod": "POST", +"id": "admin.channels.stop", +"parameterOrder": [], +"parameters": {}, +"path": "admin/reports_v1/channels/stop", +"request": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.audit.readonly" +] +} +} +}, +"customerUsageReports": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for a specific customer's account. For more information, see the Customers Usage Report guide. For more information about the customer report's parameters, see the Customers Usage parameters reference guides. ", +"flatPath": "admin/reports/v1/usage/dates/{date}", +"httpMethod": "GET", +"id": "reports.customerUsageReports.get", +"parameterOrder": [ +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)", +"type": "string" +} +}, +"path": "admin/reports/v1/usage/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +}, +"entityUsageReports": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for entities used by users within the account. For more information, see the Entities Usage Report guide. For more information about the entities report's parameters, see the Entities Usage parameters reference guides.", +"flatPath": "admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}", +"httpMethod": "GET", +"id": "reports.entityUsageReports.get", +"parameterOrder": [ +"entityType", +"entityKey", +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"entityKey": { +"description": "Represents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all users, or any other value for an app-specific entity. For details on how to obtain the `entityKey` for a particular `entityType`, see the Entities Usage parameters reference guides.", +"location": "path", +"required": true, +"type": "string" +}, +"entityType": { +"description": "Represents the type of entity for the report.", +"enum": [ +"gplus_communities" +], +"enumDescriptions": [ +"Returns a report on Google+ communities." +], +"location": "path", +"pattern": "(gplus_communities)", +"required": true, +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Entities usage report include `accounts`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &filters=gplus:num_total_members%3C%3E0 The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). Filters can only be applied to numeric parameters.", +"location": "query", +"pattern": "(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((gplus)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page.", +"format": "uint32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Entities usage report are only `gplus`. A `parameter` query string is in the CSV form of `[app_name1:param_name1], [app_name2:param_name2]...`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((gplus)):[^,]+,)*(((gplus)):[^,]+)", +"type": "string" +} +}, +"path": "admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +}, +"userUsageReport": { +"methods": { +"get": { +"description": "Retrieves a report which is a collection of properties and statistics for a set of users with the account. For more information, see the User Usage Report guide. For more information about the user report's parameters, see the Users Usage parameters reference guides.", +"flatPath": "admin/reports/v1/usage/users/{userKey}/dates/{date}", +"httpMethod": "GET", +"id": "reports.userUsageReport.get", +"parameterOrder": [ +"userKey", +"date" +], +"parameters": { +"customerId": { +"description": "The unique ID of the customer to retrieve data for.", +"location": "query", +"pattern": "C.+|my_customer", +"type": "string" +}, +"date": { +"description": "Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.", +"location": "path", +"pattern": "(\\d){4}-(\\d){2}-(\\d){2}", +"required": true, +"type": "string" +}, +"filters": { +"description": "The `filters` query string is a comma-separated list of an application's event parameters where the parameter's value is manipulated by a relational operator. The `filters` query string includes the name of the application whose usage is returned in the report. The application values for the Users Usage Report include `accounts`, `chat`, `docs`, and `gmail`. Filters are in the form `[application name]:parameter name[parameter value],...`. In this example, the `<>` 'not equal to' operator is URL-encoded in the request's query string (%3C%3E): GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%3E=). ", +"location": "query", +"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)", +"type": "string" +}, +"groupIdFilter": { +"description": "Comma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: \"id:abc123,id:xyz456\"", +"location": "query", +"pattern": "(id:[a-z0-9]+(,id:[a-z0-9]+)*)", +"type": "string" +}, +"maxResults": { +"default": "1000", +"description": "Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional.", +"format": "uint32", +"location": "query", +"maximum": "1000", +"minimum": "1", +"type": "integer" +}, +"orgUnitID": { +"default": "", +"description": "ID of the organizational unit to report on. User activity will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.", +"location": "query", +"pattern": "(id:[a-z0-9]+)", +"type": "string" +}, +"pageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. In your follow-on request getting the next page of the report, enter the `nextPageToken` value in the `pageToken` query string.", +"location": "query", +"type": "string" +}, +"parameters": { +"description": "The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Customers Usage report include `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters` query string is in the CSV form of `app_name1:param_name1, app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a parameter. If a particular parameter is supplied more than once in the API request, the API only accepts the last value of that request parameter. In addition, if an invalid request parameter is supplied in the API request, the API ignores that request parameter and returns the response corresponding to the remaining valid request parameters. An example of an invalid request parameter is one that does not belong to the application. If no parameters are requested, all parameters are returned. ", +"location": "query", +"pattern": "(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(chat)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)", +"type": "string" +}, +"userKey": { +"description": "Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "admin/reports/v1/usage/users/{userKey}/dates/{date}", +"response": { +"$ref": "UsageReports" +}, +"scopes": [ +"https://www.googleapis.com/auth/admin.reports.usage.readonly" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://admin.googleapis.com/", +"schemas": { +"Activities": { +"description": "JSON template for a collection of activities.", +"id": "Activities", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"items": { +"description": "Each activity record in the response.", +"items": { +"$ref": "Activity" +}, +"type": "array" +}, +"kind": { +"default": "admin#reports#activities", +"description": "The type of API resource. For an activity report, the value is `reports#activities`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token for retrieving the follow-on next page of the report. The `nextPageToken` value is used in the request's `pageToken` query string.", +"type": "string" +} +}, +"type": "object" +}, +"Activity": { +"description": "JSON template for the activity resource.", +"id": "Activity", +"properties": { +"actor": { +"description": "User doing the action.", +"properties": { +"applicationInfo": { +"description": "Details of the application that was the actor for the activity.", +"properties": { +"applicationName": { +"description": "Name of the application used to perform the action.", +"type": "string" +}, +"impersonation": { +"description": "Whether the application was impersonating a user.", +"type": "boolean" +}, +"oauthClientId": { +"description": "OAuth client id of the third party application used to perform the action.", +"type": "string" +} +}, +"type": "object" +}, +"callerType": { +"description": "The type of actor.", +"type": "string" +}, +"email": { +"description": "The primary email address of the actor. May be absent if there is no email address associated with the actor.", +"type": "string" +}, +"key": { +"description": "Only present when `callerType` is `KEY`. Can be the `consumer_key` of the requestor for OAuth 2LO API requests or an identifier for robot accounts.", +"type": "string" +}, +"profileId": { +"description": "The unique Google Workspace profile ID of the actor. This value might be absent if the actor is not a Google Workspace user, or may be the number 105250506097979753968 which acts as a placeholder ID.", +"type": "string" +} +}, +"type": "object" +}, +"etag": { +"description": "ETag of the entry.", +"type": "string" +}, +"events": { +"description": "Activity events in the report.", +"items": { +"properties": { +"name": { +"description": "Name of the event. This is the specific name of the activity reported by the API. And each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. For `eventName` request parameters in general: - If no `eventName` is given, the report returns all possible instances of an `eventName`. - When you request an `eventName`, the API's response returns all activities which contain that `eventName`. For more information about `eventName` properties, see the list of event names for various applications above in `applicationName`.", +"type": "string" +}, +"parameters": { +"description": "Parameter value pairs for various applications. For more information about `eventName` parameters, see the list of event names for various applications above in `applicationName`.", +"items": { +"properties": { +"boolValue": { +"description": "Boolean value of the parameter.", +"type": "boolean" +}, +"intValue": { +"description": "Integer value of the parameter.", +"format": "int64", +"type": "string" +}, +"messageValue": { +"description": "Nested parameter value pairs associated with this parameter. Complex value type for a parameter are returned as a list of parameter values. For example, the address parameter may have a value as `[{parameter: [{name: city, value: abc}]}]`", +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"multiIntValue": { +"description": "Integer values of the parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"multiMessageValue": { +"description": "List of `messageValue` objects.", +"items": { +"properties": { +"parameter": { +"description": "Parameter values", +"items": { +"$ref": "NestedParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"type": "array" +}, +"multiValue": { +"description": "String values of the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the parameter.", +"type": "string" +}, +"value": { +"description": "String value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"resourceIds": { +"description": "Resource ids associated with the event.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"$ref": "ActivityEventsStatus", +"description": "Status of the event. Note: Not all events have status." +}, +"type": { +"description": "Type of event. The Google Workspace service or feature that an administrator changes is identified in the `type` property which identifies an event using the `eventName` property. For a full list of the API's `type` categories, see the list of event names for various applications above in `applicationName`.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"id": { +"description": "Unique identifier for each activity record.", +"properties": { +"applicationName": { +"description": "Application name to which the event belongs. For possible values see the list of applications above in `applicationName`.", +"type": "string" +}, +"customerId": { +"description": "The unique identifier for a Google Workspace account.", +"type": "string" +}, +"time": { +"description": "Time of occurrence of the activity. This is in UNIX epoch time in seconds.", +"format": "date-time", +"type": "string" +}, +"uniqueQualifier": { +"description": "Unique qualifier if multiple events have the same time.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ipAddress": { +"description": "IP address of the user doing the action. This is the Internet Protocol (IP) address of the user when logging into Google Workspace, which may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. The API supports IPv4 and IPv6.", +"type": "string" +}, +"kind": { +"default": "admin#reports#activity", +"description": "The type of API resource. For an activity report, the value is `audit#activity`.", +"type": "string" +}, +"networkInfo": { +"$ref": "ActivityNetworkInfo", +"description": "Network information of the user doing the action." +}, +"ownerDomain": { +"description": "This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner.", +"type": "string" +}, +"resourceDetails": { +"description": "Details of the resource on which the action was performed.", +"items": { +"$ref": "ResourceDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActivityEventsStatus": { +"description": "Status of the event. Note: Not all events have status.", +"id": "ActivityEventsStatus", +"properties": { +"errorCode": { +"description": "Error code of the event. Note: Field can be empty.", +"type": "string" +}, +"errorMessage": { +"description": "Error message of the event. Note: Field can be empty.", +"type": "string" +}, +"eventStatus": { +"description": "Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED ", +"type": "string" +}, +"httpStatusCode": { +"description": "Status code of the event. Note: Field can be empty.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ActivityNetworkInfo": { +"description": "Network information of the user doing the action.", +"id": "ActivityNetworkInfo", +"properties": { +"ipAsn": { +"description": "IP Address of the user doing the action.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"regionCode": { +"description": "ISO 3166-1 alpha-2 region code of the user doing the action.", +"type": "string" +}, +"subdivisionCode": { +"description": "ISO 3166-2 region code (states and provinces) for countries of the user doing the action.", +"type": "string" +} +}, +"type": "object" +}, +"AppliedLabel": { +"description": "Details of the label applied on the resource.", +"id": "AppliedLabel", +"properties": { +"fieldValues": { +"description": "List of fields which are part of the label and have been set by the user. If label has a field which was not set by the user, it would not be present in this list.", +"items": { +"$ref": "FieldValue" +}, +"type": "array" +}, +"id": { +"description": "Identifier of the label - Only the label id, not the full OnePlatform resource name.", +"type": "string" +}, +"reason": { +"$ref": "Reason", +"description": "The reason why the label was applied on the resource." +}, +"title": { +"description": "Title of the label", +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"description": "A notification channel used to watch for resource changes.", +"id": "Channel", +"properties": { +"address": { +"description": "The address where notifications are delivered for this channel.", +"type": "string" +}, +"expiration": { +"description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "A UUID or similar unique string that identifies this channel.", +"type": "string" +}, +"kind": { +"default": "api#channel", +"description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"`api#channel`\".", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional parameters controlling delivery channel behavior. Optional.", +"type": "object" +}, +"payload": { +"description": "A Boolean value to indicate whether payload is wanted. A payload is data that is sent in the body of an HTTP POST, PUT, or PATCH message and contains important information about the request. Optional.", +"type": "boolean" +}, +"resourceId": { +"description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.", +"type": "string" +}, +"resourceUri": { +"description": "A version-specific identifier for the watched resource.", +"type": "string" +}, +"token": { +"description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.", +"type": "string" +}, +"type": { +"description": "The type of delivery mechanism used for this channel. The value should be set to `\"web_hook\"`.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FieldValue": { +"description": "Details of the field value set by the user for the particular label.", +"id": "FieldValue", +"properties": { +"dateValue": { +"$ref": "Date", +"description": "Setting a date value." +}, +"displayName": { +"description": "Display name of the field", +"type": "string" +}, +"id": { +"description": "Identifier of the field", +"type": "string" +}, +"integerValue": { +"description": "Setting an integer value.", +"format": "int64", +"type": "string" +}, +"longTextValue": { +"description": "Setting a long text value.", +"type": "string" +}, +"reason": { +"$ref": "Reason", +"description": "The reason why the field was applied to the label." +}, +"selectionListValue": { +"$ref": "FieldValueSelectionListValue", +"description": "Setting a selection list value by selecting multiple values from a dropdown." +}, +"selectionValue": { +"$ref": "FieldValueSelectionValue", +"description": "Setting a selection value by selecting a single value from a dropdown." +}, +"textListValue": { +"$ref": "FieldValueTextListValue", +"description": "Setting a text list value." +}, +"textValue": { +"description": "Setting a text value.", +"type": "string" +}, +"type": { +"description": "Type of the field", +"type": "string" +}, +"unsetValue": { +"description": "If the field is unset, this will be true.", +"type": "boolean" +}, +"userListValue": { +"$ref": "FieldValueUserListValue", +"description": "Setting a user list value by selecting multiple users." +}, +"userValue": { +"$ref": "FieldValueUserValue", +"description": "Setting a user value by selecting a single user." +} +}, +"type": "object" +}, +"FieldValueSelectionListValue": { +"description": "Setting a selection list value by selecting multiple values from a dropdown.", +"id": "FieldValueSelectionListValue", +"properties": { +"values": { +"description": "List of selections.", +"items": { +"$ref": "FieldValueSelectionValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueSelectionValue": { +"description": "Setting a selection value by selecting a single value from a dropdown.", +"id": "FieldValueSelectionValue", +"properties": { +"badged": { +"description": "Whether the selection is badged.", +"type": "boolean" +}, +"displayName": { +"description": "Display name of the selection.", +"type": "string" +}, +"id": { +"description": "Identifier of the selection.", +"type": "string" +} +}, +"type": "object" +}, +"FieldValueTextListValue": { +"description": "Setting a text list value.", +"id": "FieldValueTextListValue", +"properties": { +"values": { +"description": "List of text values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueUserListValue": { +"description": "Setting a user list value by selecting multiple users.", +"id": "FieldValueUserListValue", +"properties": { +"values": { +"description": "List of users.", +"items": { +"$ref": "FieldValueUserValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"FieldValueUserValue": { +"description": "Setting a user value by selecting a single user.", +"id": "FieldValueUserValue", +"properties": { +"email": { +"description": "Email of the user.", +"type": "string" +} +}, +"type": "object" +}, +"NestedParameter": { +"description": "JSON template for a parameter used in various reports.", +"id": "NestedParameter", +"properties": { +"boolValue": { +"description": "Boolean value of the parameter.", +"type": "boolean" +}, +"intValue": { +"description": "Integer value of the parameter.", +"format": "int64", +"type": "string" +}, +"multiBoolValue": { +"description": "Multiple boolean values of the parameter.", +"items": { +"type": "boolean" +}, +"type": "array" +}, +"multiIntValue": { +"description": "Multiple integer values of the parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"multiValue": { +"description": "Multiple string values of the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the parameter.", +"type": "string" +}, +"value": { +"description": "String value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"Reason": { +"description": "The reason why the label/field was applied.", +"id": "Reason", +"properties": { +"reasonType": { +"description": "The type of the reason.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceDetails": { +"description": "Details of the resource on which the action was performed.", +"id": "ResourceDetails", +"properties": { +"appliedLabels": { +"description": "List of labels applied on the resource", +"items": { +"$ref": "AppliedLabel" +}, +"type": "array" +}, +"id": { +"description": "Identifier of the resource.", +"type": "string" +}, +"relation": { +"description": "Defines relationship of the resource to the events", +"type": "string" +}, +"title": { +"description": "Title of the resource. For instance, in case of a drive document, this would be the title of the document. In case of an email, this would be the subject.", +"type": "string" +}, +"type": { +"description": "Type of the resource - document, email, chat message", +"type": "string" +} +}, +"type": "object" +}, +"UsageReport": { +"description": "JSON template for a usage report.", +"id": "UsageReport", +"properties": { +"date": { +"description": "Output only. The date of the report request.", +"readOnly": true, +"type": "string" +}, +"entity": { +"description": "Output only. Information about the type of the item.", +"properties": { +"customerId": { +"description": "Output only. The unique identifier of the customer's account.", +"readOnly": true, +"type": "string" +}, +"entityId": { +"description": "Output only. Object key. Only relevant if entity.type = \"OBJECT\" Note: external-facing name of report is \"Entities\" rather than \"Objects\".", +"readOnly": true, +"type": "string" +}, +"profileId": { +"description": "Output only. The user's immutable Google Workspace profile identifier.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of item. The value is `user`.", +"readOnly": true, +"type": "string" +}, +"userEmail": { +"description": "Output only. The user's email address. Only relevant if entity.type = \"USER\"", +"readOnly": true, +"type": "string" +} +}, +"readOnly": true, +"type": "object" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#reports#usageReport", +"description": "The type of API resource. For a usage report, the value is `admin#reports#usageReport`.", +"type": "string" +}, +"parameters": { +"description": "Output only. Parameter value pairs for various applications. For the Entity Usage Report parameters and values, see [the Entity Usage parameters reference](https://developers.google.com/workspace/admin/reports/v1/reference/usage-ref-appendix-a/entities).", +"items": { +"properties": { +"boolValue": { +"description": "Output only. Boolean value of the parameter.", +"readOnly": true, +"type": "boolean" +}, +"datetimeValue": { +"description": "The RFC 3339 formatted value of the parameter, for example 2010-10-28T10:26:35.000Z.", +"format": "date-time", +"readOnly": true, +"type": "string" +}, +"intValue": { +"description": "Output only. Integer value of the parameter.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"msgValue": { +"description": "Output only. Nested message value of the parameter.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "The name of the parameter. For the User Usage Report parameter names, see the User Usage parameters reference.", +"type": "string" +}, +"stringValue": { +"description": "Output only. String value of the parameter.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"UsageReports": { +"id": "UsageReports", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"kind": { +"default": "admin#reports#usageReports", +"description": "The type of API resource. For a usage report, the value is `admin#reports#usageReports`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken` query string.", +"type": "string" +}, +"usageReports": { +"description": "Various application parameter records.", +"items": { +"$ref": "UsageReport" +}, +"type": "array" +}, +"warnings": { +"description": "Warnings, if any.", +"items": { +"properties": { +"code": { +"description": "Machine readable code or warning type. The warning code value is `200`.", +"type": "string" +}, +"data": { +"description": "Key-value pairs to give detailed information on the warning.", +"items": { +"properties": { +"key": { +"description": "Key associated with a key-value pair to give detailed information on the warning.", +"type": "string" +}, +"value": { +"description": "Value associated with a key-value pair to give detailed information on the warning.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "The human readable messages for a warning are: - Data is not available warning - Sorry, data for date yyyy-mm-dd for application \"`application name`\" is not available. - Partial data is available warning - Data for date yyyy-mm-dd for application \"`application name`\" is not available right now, please try again after a few hours. ", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Admin SDK API", +"version": "reports_v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsense.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsense.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..47cc696a34c80c0c5afb63f376758979e6e7995c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/adsense.v2.json @@ -0,0 +1,2996 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/adsense": { +"description": "View and manage your AdSense data" +}, +"https://www.googleapis.com/auth/adsense.readonly": { +"description": "View your AdSense data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://adsense.googleapis.com/", +"batchPath": "batch", +"description": "The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/adsense/management/", +"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": "adsense:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://adsense.mtls.googleapis.com/", +"name": "adsense", +"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": { +"accounts": { +"methods": { +"get": { +"description": "Gets information about the selected AdSense account.", +"flatPath": "v2/accounts/{accountsId}", +"httpMethod": "GET", +"id": "adsense.accounts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Account to get information about. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"getAdBlockingRecoveryTag": { +"description": "Gets the ad blocking recovery tag of an account.", +"flatPath": "v2/accounts/{accountsId}/adBlockingRecoveryTag", +"httpMethod": "GET", +"id": "adsense.accounts.getAdBlockingRecoveryTag", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the account to get the tag for. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/adBlockingRecoveryTag", +"response": { +"$ref": "AdBlockingRecoveryTag" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all accounts available to this user.", +"flatPath": "v2/accounts", +"httpMethod": "GET", +"id": "adsense.accounts.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v2/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"listChildAccounts": { +"description": "Lists all accounts directly managed by the given AdSense account.", +"flatPath": "v2/accounts/{accountsId}:listChildAccounts", +"httpMethod": "GET", +"id": "adsense.accounts.listChildAccounts", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListChildAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListChildAccounts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account, which owns the child accounts. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}:listChildAccounts", +"response": { +"$ref": "ListChildAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +}, +"resources": { +"adclients": { +"methods": { +"get": { +"description": "Gets the ad client from the given resource name.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "AdClient" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"getAdcode": { +"description": "Gets the AdSense code for a given ad client. This returns what was previously known as the 'auto ad code'. This is only supported for ad clients with a product_code of AFC. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634).", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adcode", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.getAdcode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ad client for which to get the adcode. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/adcode", +"response": { +"$ref": "AdClientAdCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all the ad clients available in an account.", +"flatPath": "v2/accounts/{accountsId}/adclients", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ad clients to include in the response, used for paging. If unspecified, at most 10000 ad clients will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAdClients` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAdClients` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account which owns the collection of ad clients. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/adclients", +"response": { +"$ref": "ListAdClientsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +}, +"resources": { +"adunits": { +"methods": { +"create": { +"description": "Creates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the [AdClient resource](/adsense/management/reference/rest/v2/accounts.adclients). For now, this method can only be used to create `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits", +"httpMethod": "POST", +"id": "adsense.accounts.adclients.adunits.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Ad client to create an ad unit under. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/adunits", +"request": { +"$ref": "AdUnit" +}, +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense" +] +}, +"get": { +"description": "Gets an ad unit from a specified account and ad client.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.adunits.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. AdUnit to get information about. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/adunits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"getAdcode": { +"description": "Gets the ad unit code for a given ad unit. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634) and [Where to place the ad code in your HTML](https://support.google.com/adsense/answer/9190028).", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}/adcode", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.adunits.getAdcode", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the adunit for which to get the adcode. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/adunits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/adcode", +"response": { +"$ref": "AdUnitAdCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all ad units under a specified account and ad client.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.adunits.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAdUnits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAdUnits` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The ad client which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/adunits", +"response": { +"$ref": "ListAdUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"listLinkedCustomChannels": { +"description": "Lists all the custom channels available for an ad unit.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}:listLinkedCustomChannels", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.adunits.listLinkedCustomChannels", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLinkedCustomChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLinkedCustomChannels` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The ad unit which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/adunits/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}:listLinkedCustomChannels", +"response": { +"$ref": "ListLinkedCustomChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"patch": { +"description": "Updates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. For now, this method can only be used to update `DISPLAY` ad units. See: https://support.google.com/adsense/answer/9183566", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/adunits/{adunitsId}", +"httpMethod": "PATCH", +"id": "adsense.accounts.adclients.adunits.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/adunits/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. If empty, a full update is performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "AdUnit" +}, +"response": { +"$ref": "AdUnit" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense" +] +} +} +}, +"customchannels": { +"methods": { +"create": { +"description": "Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels", +"httpMethod": "POST", +"id": "adsense.accounts.adclients.customchannels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/customchannels", +"request": { +"$ref": "CustomChannel" +}, +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense" +] +}, +"delete": { +"description": "Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}", +"httpMethod": "DELETE", +"id": "adsense.accounts.adclients.customchannels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense" +] +}, +"get": { +"description": "Gets information about the selected custom channel.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.customchannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all the custom channels available in an ad client.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.customchannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListCustomChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomChannels` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The ad client which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/customchannels", +"response": { +"$ref": "ListCustomChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"listLinkedAdUnits": { +"description": "Lists all the ad units available for a custom channel.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}:listLinkedAdUnits", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.customchannels.listLinkedAdUnits", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLinkedAdUnits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLinkedAdUnits` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The custom channel which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}:listLinkedAdUnits", +"response": { +"$ref": "ListLinkedAdUnitsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"patch": { +"description": "Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/customchannels/{customchannelsId}", +"httpMethod": "PATCH", +"id": "adsense.accounts.adclients.customchannels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/customchannels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. If empty, a full update is performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "CustomChannel" +}, +"response": { +"$ref": "CustomChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense" +] +} +} +}, +"urlchannels": { +"methods": { +"get": { +"description": "Gets information about the selected url channel.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels/{urlchannelsId}", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.urlchannels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the url channel to retrieve. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+/urlchannels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "UrlChannel" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists active url channels.", +"flatPath": "v2/accounts/{accountsId}/adclients/{adclientsId}/urlchannels", +"httpMethod": "GET", +"id": "adsense.accounts.adclients.urlchannels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of url channels to include in the response, used for paging. If unspecified, at most 10000 url channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListUrlChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUrlChannels` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The ad client which owns the collection of url channels. Format: accounts/{account}/adclients/{adclient}", +"location": "path", +"pattern": "^accounts/[^/]+/adclients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/urlchannels", +"response": { +"$ref": "ListUrlChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +} +} +}, +"alerts": { +"methods": { +"list": { +"description": "Lists all the alerts available in an account.", +"flatPath": "v2/accounts/{accountsId}/alerts", +"httpMethod": "GET", +"id": "adsense.accounts.alerts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"languageCode": { +"description": "The language to use for translating alert messages. If unspecified, this defaults to the user's display language. If the given language is not supported, alerts will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account which owns the collection of alerts. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/alerts", +"response": { +"$ref": "ListAlertsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +}, +"payments": { +"methods": { +"list": { +"description": "Lists all the payments available for an account.", +"flatPath": "v2/accounts/{accountsId}/payments", +"httpMethod": "GET", +"id": "adsense.accounts.payments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account which owns the collection of payments. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/payments", +"response": { +"$ref": "ListPaymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +}, +"policyIssues": { +"methods": { +"get": { +"description": "Gets information about the selected policy issue.", +"flatPath": "v2/accounts/{accountsId}/policyIssues/{policyIssuesId}", +"httpMethod": "GET", +"id": "adsense.accounts.policyIssues.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}", +"location": "path", +"pattern": "^accounts/[^/]+/policyIssues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "PolicyIssue" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.", +"flatPath": "v2/accounts/{accountsId}/policyIssues", +"httpMethod": "GET", +"id": "adsense.accounts.policyIssues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account for which policy issues are being retrieved. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/policyIssues", +"response": { +"$ref": "ListPolicyIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +}, +"reports": { +"methods": { +"generate": { +"description": "Generates an ad hoc report.", +"flatPath": "v2/accounts/{accountsId}/reports:generate", +"httpMethod": "GET", +"id": "adsense.accounts.reports.generate", +"parameterOrder": [ +"account" +], +"parameters": { +"account": { +"description": "Required. The account which owns the collection of reports. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"currencyCode": { +"description": "The [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on monetary metrics. Defaults to the account's currency if not set.", +"location": "query", +"type": "string" +}, +"dateRange": { +"description": "Date range of the report, if unset the range will be considered CUSTOM.", +"enum": [ +"REPORTING_DATE_RANGE_UNSPECIFIED", +"CUSTOM", +"TODAY", +"YESTERDAY", +"MONTH_TO_DATE", +"YEAR_TO_DATE", +"LAST_7_DAYS", +"LAST_30_DAYS" +], +"enumDescriptions": [ +"Unspecified date range.", +"A custom date range specified using the `start_date` and `end_date` fields. This is the default if no ReportingDateRange is provided.", +"Current day.", +"Yesterday.", +"From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].", +"From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].", +"Last 7 days, excluding current day.", +"Last 30 days, excluding current day." +], +"location": "query", +"type": "string" +}, +"dimensions": { +"description": "Dimensions to base the report on.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"WEEK", +"MONTH", +"ACCOUNT_NAME", +"AD_CLIENT_ID", +"HOSTED_AD_CLIENT_ID", +"PRODUCT_NAME", +"PRODUCT_CODE", +"AD_UNIT_NAME", +"AD_UNIT_ID", +"AD_UNIT_SIZE_NAME", +"AD_UNIT_SIZE_CODE", +"CUSTOM_CHANNEL_NAME", +"CUSTOM_CHANNEL_ID", +"HOSTED_CUSTOM_CHANNEL_ID", +"OWNED_SITE_DOMAIN_NAME", +"OWNED_SITE_ID", +"PAGE_URL", +"URL_CHANNEL_NAME", +"URL_CHANNEL_ID", +"BUYER_NETWORK_NAME", +"BUYER_NETWORK_ID", +"BID_TYPE_NAME", +"BID_TYPE_CODE", +"CREATIVE_SIZE_NAME", +"CREATIVE_SIZE_CODE", +"DOMAIN_NAME", +"DOMAIN_CODE", +"COUNTRY_NAME", +"COUNTRY_CODE", +"PLATFORM_TYPE_NAME", +"PLATFORM_TYPE_CODE", +"TARGETING_TYPE_NAME", +"TARGETING_TYPE_CODE", +"TRAFFIC_SOURCE_NAME", +"TRAFFIC_SOURCE_CODE", +"CONTENT_PLATFORM_NAME", +"CONTENT_PLATFORM_CODE", +"AD_PLACEMENT_NAME", +"AD_PLACEMENT_CODE", +"REQUESTED_AD_TYPE_NAME", +"REQUESTED_AD_TYPE_CODE", +"SERVED_AD_TYPE_NAME", +"SERVED_AD_TYPE_CODE", +"AD_FORMAT_NAME", +"AD_FORMAT_CODE", +"CUSTOM_SEARCH_STYLE_NAME", +"CUSTOM_SEARCH_STYLE_ID", +"DOMAIN_REGISTRANT", +"WEBSEARCH_QUERY_STRING", +"OS_TYPE_NAME", +"OS_TYPE_CODE", +"BROWSER_TYPE_NAME", +"BROWSER_TYPE_CODE", +"WEBVIEW_TYPE_NAME", +"WEBVIEW_TYPE_CODE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified dimension.", +"Date dimension in YYYY-MM-DD format (e.g. \"2010-02-10\").", +"Week dimension in YYYY-MM-DD format, representing the first day of each week (e.g. \"2010-02-08\"). The first day of the week is determined by the language_code specified in a report generation request (so e.g. this would be a Monday for \"en-GB\" or \"es\", but a Sunday for \"en\" or \"fr-CA\").", +"Month dimension in YYYY-MM format (e.g. \"2010-02\").", +"Account name. The members of this dimension match the values from Account.display_name.", +"Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", +"Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", +"Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", +"Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", +"Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", +"Unique ID of an ad unit (within which an ad was served). The members of this dimension match the values from AdUnit.reporting_dimension_id.", +"Localized size of an ad unit (e.g. \"728x90\", \"Responsive\").", +"The size code of an ad unit (e.g. \"728x90\", \"responsive\").", +"Custom channel name. The members of this dimension match the values from CustomChannel.display_name.", +"Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.", +"Not supported.", +"Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.", +"Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.", +"URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).", +"Name of a URL channel. The members of this dimension match the values from UrlChannel.uri_pattern.", +"Unique ID of a URL channel. The members of this dimension match the values from UrlChannel.reporting_dimension_id.", +"Name of an ad network that returned the winning ads for an ad request (e.g. \"Google AdWords\"). Note that unlike other \"NAME\" dimensions, the members of this dimensions are not localized.", +"Unique (opaque) ID of an ad network that returned the winning ads for an ad request.", +"Localized bid type name (e.g. \"CPC bids\", \"CPM bids\") for a served ad.", +"Type of a bid (e.g. \"cpc\", \"cpm\") for a served ad.", +"Localized creative size name (e.g. \"728x90\", \"Dynamic\") of a served ad.", +"Creative size code (e.g. \"728x90\", \"dynamic\") of a served ad.", +"Localized name of a host on which an ad was served, after IDNA decoding (e.g. \"www.google.com\", \"Web caches and other\", \"b\u00fccher.example\").", +"Name of a host on which an ad was served (e.g. \"www.google.com\", \"webcaches\", \"xn--bcher-kva.example\").", +"Localized region name of a user viewing an ad (e.g. \"United States\", \"France\").", +"CLDR region code of a user viewing an ad (e.g. \"US\", \"FR\").", +"Localized platform type name (e.g. \"High-end mobile devices\", \"Desktop\").", +"Platform type code (e.g. \"HighEndMobile\", \"Desktop\").", +"Localized targeting type name (e.g. \"Contextual\", \"Personalized\", \"Run of Network\").", +"Targeting type code (e.g. \"Keyword\", \"UserInterest\", \"RunOfNetwork\").", +"Localized traffic source name (e.g. \"Google\", \"Bing\", \"Facebook\", \"Other\"). For more information, see [Traffic source breakdown](https://support.google.com/adsense/answer/16474600).", +"Traffic source code (e.g. \"GOOGLE\", \"BING\", \"FACEBOOK\", \"OTHER\"). For more information, see [Traffic source breakdown](https://support.google.com/adsense/answer/16474600).", +"Localized content platform name an ad request was made from (e.g. \"AMP\", \"Web\").", +"Content platform code an ad request was made from (e.g. \"AMP\", \"HTML\").", +"Localized ad placement name (e.g. \"Ad unit\", \"Global settings\", \"Manual\").", +"Ad placement code (e.g. \"AD_UNIT\", \"ca-pub-123456:78910\", \"OTHER\").", +"Localized requested ad type name (e.g. \"Display\", \"Link unit\", \"Other\").", +"Requested ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").", +"Localized served ad type name (e.g. \"Display\", \"Link unit\", \"Other\").", +"Served ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").", +"Localized ad format name indicating the way an ad is shown to the users on your site (e.g. \"In-page\", \"Anchor\", \"Vignette\").", +"Ad format code indicating the way an ad is shown to the users on your site (e.g. \"ON_PAGE\", \"ANCHOR\", \"INTERSTITIAL\").", +"Custom search style name.", +"Custom search style id.", +"Domain registrants.", +"Query strings for web searches.", +"Localized operating system type name (e.g. \"Windows\", \"MacOS\", \"Android\"). For more information, see [Operating system breakdown](https://support.google.com/adsense/answer/16853822).", +"Operating system type code (e.g. \"WINDOWS\", \"MAC\", \"ANDROID\"). For more information, see [Operating system breakdown](https://support.google.com/adsense/answer/16853822).", +"Localized browser type name (e.g. \"Google Chrome\", \"Firefox\", \"Safari\"). For more information, see [Browser breakdown](https://support.google.com/adsense/answer/16851903).", +"Browser type code (e.g. \"CHROME\", \"FIREFOX\", \"SAFARI\"). For more information, see [Browser breakdown](https://support.google.com/adsense/answer/16851903).", +"Localized webview type name (e.g. \"Webview (Uncategorized)\", \"Non-webview\"). For more information, see [Hosting App breakdown](https://support.google.com/adsense/answer/16853515).", +"Webview type code (e.g. \"UNCATEGORIZED\", \"NONE\"). For more information, see [Hosting App breakdown](https://support.google.com/adsense/answer/16853515)." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"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" +}, +"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" +}, +"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" +}, +"filters": { +"description": "A list of [filters](/adsense/management/reporting/filtering) to apply to the report. All provided filters must match in order for the data to be included in the report.", +"location": "query", +"repeated": true, +"type": "string" +}, +"languageCode": { +"description": "The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).", +"location": "query", +"type": "string" +}, +"limit": { +"description": "The maximum number of rows of report data to return. Reports producing more rows than the requested limit will be truncated. If unset, this defaults to 100,000 rows for `Reports.GenerateReport` and 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum values permitted here. Report truncation can be identified (for `Reports.GenerateReport` only) by comparing the number of rows returned to the value returned in `total_matched_rows`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"metrics": { +"description": "Required. Reporting metrics.", +"enum": [ +"METRIC_UNSPECIFIED", +"PAGE_VIEWS", +"AD_REQUESTS", +"MATCHED_AD_REQUESTS", +"TOTAL_IMPRESSIONS", +"IMPRESSIONS", +"INDIVIDUAL_AD_IMPRESSIONS", +"CLICKS", +"PAGE_VIEWS_SPAM_RATIO", +"AD_REQUESTS_SPAM_RATIO", +"MATCHED_AD_REQUESTS_SPAM_RATIO", +"IMPRESSIONS_SPAM_RATIO", +"INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO", +"CLICKS_SPAM_RATIO", +"AD_REQUESTS_COVERAGE", +"PAGE_VIEWS_CTR", +"AD_REQUESTS_CTR", +"MATCHED_AD_REQUESTS_CTR", +"IMPRESSIONS_CTR", +"INDIVIDUAL_AD_IMPRESSIONS_CTR", +"ACTIVE_VIEW_MEASURABILITY", +"ACTIVE_VIEW_VIEWABILITY", +"ACTIVE_VIEW_TIME", +"ESTIMATED_EARNINGS", +"PAGE_VIEWS_RPM", +"AD_REQUESTS_RPM", +"MATCHED_AD_REQUESTS_RPM", +"IMPRESSIONS_RPM", +"INDIVIDUAL_AD_IMPRESSIONS_RPM", +"COST_PER_CLICK", +"ADS_PER_IMPRESSION", +"TOTAL_EARNINGS", +"WEBSEARCH_RESULT_PAGES", +"FUNNEL_REQUESTS", +"FUNNEL_IMPRESSIONS", +"FUNNEL_CLICKS", +"FUNNEL_RPM" +], +"enumDescriptions": [ +"Unspecified metric.", +"Number of page views.", +"Number of ad units that requested ads (for content ads) or search queries (for search ads). An ad request may result in zero, one, or multiple individual ad impressions depending on the size of the ad unit and whether any ads were available.", +"Requests that returned at least one ad.", +"Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user's device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.", +"Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user's device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.", +"Ads shown. Different ad formats will display varying numbers of ads. For example, a vertical banner may consist of 2 or more ads. Also, the number of ads in an ad unit may vary depending on whether the ad unit is displaying standard text ads, expanded text ads or image ads.", +"Number of times a user clicked on a standard content ad.", +"Fraction of page views considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad requests considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad requests that returned ads considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of impressions considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad impressions considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of clicks considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Ratio of requested ad units or queries to the number returned to the site.", +"Ratio of individual page views that resulted in a click.", +"Ratio of ad requests that resulted in a click.", +"Ratio of clicks to matched requests.", +"Ratio of IMPRESSIONS that resulted in a click.", +"Ratio of individual ad impressions that resulted in a click.", +"Ratio of requests that were measurable for viewability.", +"Ratio of requests that were viewable.", +"Mean time an ad was displayed on screen.", +"Estimated earnings of the publisher. Note that earnings up to yesterday are accurate, more recent earnings are estimated due to the possibility of spam, or exchange rate fluctuations.", +"Revenue per thousand page views. This is calculated by dividing the estimated revenue by the number of page views multiplied by 1000.", +"Revenue per thousand ad requests. This is calculated by dividing estimated revenue by the number of ad requests multiplied by 1000.", +"Revenue per thousand matched ad requests. This is calculated by dividing estimated revenue by the number of matched ad requests multiplied by 1000.", +"Revenue per thousand ad impressions. This is calculated by dividing estimated revenue by the number of ad impressions multiplied by 1000.", +"Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.", +"Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.", +"Number of ad views per impression.", +"Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.", +"Number of results pages. This metric can only be used when generating a report in the Google timezone, not the account timezone. Since the account timezone is the default for report generation, this metric can only be used by explicitly specifying `reportingTimeZone=GOOGLE_TIME_ZONE`.", +"Number of requests for non-ad units (for example a related search unit). For more information, see [Funnel requests](https://support.google.com/adsense/answer/11586959).", +"Number of requests for non-ad units ads that returned content that was shown to the user. For more information, see [Funnel impressions](https://support.google.com/adsense/answer/11585767).", +"Number of times a user clicked on a non-ad unit, triggering further ad requests. For more information, see [Funnel clicks](https://support.google.com/adsense/answer/11586382).", +"Revenue per thousand funnel impressions. This is calculated by dividing estimated revenue by the number of funnel impressions multiplied by 1000. For more information, see [Funnel RPM](https://support.google.com/adsense/answer/11585979)." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "The name of a dimension or metric to sort the resulting report on, can be prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", +"location": "query", +"repeated": true, +"type": "string" +}, +"reportingTimeZone": { +"description": "Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).", +"enum": [ +"REPORTING_TIME_ZONE_UNSPECIFIED", +"ACCOUNT_TIME_ZONE", +"GOOGLE_TIME_ZONE" +], +"enumDescriptions": [ +"Unspecified timezone.", +"Use the account timezone in the report.", +"Use the Google timezone in the report (America/Los_Angeles)." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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": "v2/{+account}/reports:generate", +"response": { +"$ref": "ReportResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"generateCsv": { +"description": "Generates a csv formatted ad hoc report.", +"flatPath": "v2/accounts/{accountsId}/reports:generateCsv", +"httpMethod": "GET", +"id": "adsense.accounts.reports.generateCsv", +"parameterOrder": [ +"account" +], +"parameters": { +"account": { +"description": "Required. The account which owns the collection of reports. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +}, +"currencyCode": { +"description": "The [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on monetary metrics. Defaults to the account's currency if not set.", +"location": "query", +"type": "string" +}, +"dateRange": { +"description": "Date range of the report, if unset the range will be considered CUSTOM.", +"enum": [ +"REPORTING_DATE_RANGE_UNSPECIFIED", +"CUSTOM", +"TODAY", +"YESTERDAY", +"MONTH_TO_DATE", +"YEAR_TO_DATE", +"LAST_7_DAYS", +"LAST_30_DAYS" +], +"enumDescriptions": [ +"Unspecified date range.", +"A custom date range specified using the `start_date` and `end_date` fields. This is the default if no ReportingDateRange is provided.", +"Current day.", +"Yesterday.", +"From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].", +"From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].", +"Last 7 days, excluding current day.", +"Last 30 days, excluding current day." +], +"location": "query", +"type": "string" +}, +"dimensions": { +"description": "Dimensions to base the report on.", +"enum": [ +"DIMENSION_UNSPECIFIED", +"DATE", +"WEEK", +"MONTH", +"ACCOUNT_NAME", +"AD_CLIENT_ID", +"HOSTED_AD_CLIENT_ID", +"PRODUCT_NAME", +"PRODUCT_CODE", +"AD_UNIT_NAME", +"AD_UNIT_ID", +"AD_UNIT_SIZE_NAME", +"AD_UNIT_SIZE_CODE", +"CUSTOM_CHANNEL_NAME", +"CUSTOM_CHANNEL_ID", +"HOSTED_CUSTOM_CHANNEL_ID", +"OWNED_SITE_DOMAIN_NAME", +"OWNED_SITE_ID", +"PAGE_URL", +"URL_CHANNEL_NAME", +"URL_CHANNEL_ID", +"BUYER_NETWORK_NAME", +"BUYER_NETWORK_ID", +"BID_TYPE_NAME", +"BID_TYPE_CODE", +"CREATIVE_SIZE_NAME", +"CREATIVE_SIZE_CODE", +"DOMAIN_NAME", +"DOMAIN_CODE", +"COUNTRY_NAME", +"COUNTRY_CODE", +"PLATFORM_TYPE_NAME", +"PLATFORM_TYPE_CODE", +"TARGETING_TYPE_NAME", +"TARGETING_TYPE_CODE", +"TRAFFIC_SOURCE_NAME", +"TRAFFIC_SOURCE_CODE", +"CONTENT_PLATFORM_NAME", +"CONTENT_PLATFORM_CODE", +"AD_PLACEMENT_NAME", +"AD_PLACEMENT_CODE", +"REQUESTED_AD_TYPE_NAME", +"REQUESTED_AD_TYPE_CODE", +"SERVED_AD_TYPE_NAME", +"SERVED_AD_TYPE_CODE", +"AD_FORMAT_NAME", +"AD_FORMAT_CODE", +"CUSTOM_SEARCH_STYLE_NAME", +"CUSTOM_SEARCH_STYLE_ID", +"DOMAIN_REGISTRANT", +"WEBSEARCH_QUERY_STRING", +"OS_TYPE_NAME", +"OS_TYPE_CODE", +"BROWSER_TYPE_NAME", +"BROWSER_TYPE_CODE", +"WEBVIEW_TYPE_NAME", +"WEBVIEW_TYPE_CODE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified dimension.", +"Date dimension in YYYY-MM-DD format (e.g. \"2010-02-10\").", +"Week dimension in YYYY-MM-DD format, representing the first day of each week (e.g. \"2010-02-08\"). The first day of the week is determined by the language_code specified in a report generation request (so e.g. this would be a Monday for \"en-GB\" or \"es\", but a Sunday for \"en\" or \"fr-CA\").", +"Month dimension in YYYY-MM format (e.g. \"2010-02\").", +"Account name. The members of this dimension match the values from Account.display_name.", +"Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting_dimension_id.", +"Unique ID of a sub-account's ad client. The members of this dimension match the values from AdClient.reporting_dimension_id (for the sub-account).", +"Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").", +"Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.", +"Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.", +"Unique ID of an ad unit (within which an ad was served). The members of this dimension match the values from AdUnit.reporting_dimension_id.", +"Localized size of an ad unit (e.g. \"728x90\", \"Responsive\").", +"The size code of an ad unit (e.g. \"728x90\", \"responsive\").", +"Custom channel name. The members of this dimension match the values from CustomChannel.display_name.", +"Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting_dimension_id.", +"Not supported.", +"Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.", +"Unique ID of a verified site. The members of this dimension match the values from Site.reporting_dimension_id.", +"URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see [Page URL breakdown](https://support.google.com/adsense/answer/11988478).", +"Name of a URL channel. The members of this dimension match the values from UrlChannel.uri_pattern.", +"Unique ID of a URL channel. The members of this dimension match the values from UrlChannel.reporting_dimension_id.", +"Name of an ad network that returned the winning ads for an ad request (e.g. \"Google AdWords\"). Note that unlike other \"NAME\" dimensions, the members of this dimensions are not localized.", +"Unique (opaque) ID of an ad network that returned the winning ads for an ad request.", +"Localized bid type name (e.g. \"CPC bids\", \"CPM bids\") for a served ad.", +"Type of a bid (e.g. \"cpc\", \"cpm\") for a served ad.", +"Localized creative size name (e.g. \"728x90\", \"Dynamic\") of a served ad.", +"Creative size code (e.g. \"728x90\", \"dynamic\") of a served ad.", +"Localized name of a host on which an ad was served, after IDNA decoding (e.g. \"www.google.com\", \"Web caches and other\", \"b\u00fccher.example\").", +"Name of a host on which an ad was served (e.g. \"www.google.com\", \"webcaches\", \"xn--bcher-kva.example\").", +"Localized region name of a user viewing an ad (e.g. \"United States\", \"France\").", +"CLDR region code of a user viewing an ad (e.g. \"US\", \"FR\").", +"Localized platform type name (e.g. \"High-end mobile devices\", \"Desktop\").", +"Platform type code (e.g. \"HighEndMobile\", \"Desktop\").", +"Localized targeting type name (e.g. \"Contextual\", \"Personalized\", \"Run of Network\").", +"Targeting type code (e.g. \"Keyword\", \"UserInterest\", \"RunOfNetwork\").", +"Localized traffic source name (e.g. \"Google\", \"Bing\", \"Facebook\", \"Other\"). For more information, see [Traffic source breakdown](https://support.google.com/adsense/answer/16474600).", +"Traffic source code (e.g. \"GOOGLE\", \"BING\", \"FACEBOOK\", \"OTHER\"). For more information, see [Traffic source breakdown](https://support.google.com/adsense/answer/16474600).", +"Localized content platform name an ad request was made from (e.g. \"AMP\", \"Web\").", +"Content platform code an ad request was made from (e.g. \"AMP\", \"HTML\").", +"Localized ad placement name (e.g. \"Ad unit\", \"Global settings\", \"Manual\").", +"Ad placement code (e.g. \"AD_UNIT\", \"ca-pub-123456:78910\", \"OTHER\").", +"Localized requested ad type name (e.g. \"Display\", \"Link unit\", \"Other\").", +"Requested ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").", +"Localized served ad type name (e.g. \"Display\", \"Link unit\", \"Other\").", +"Served ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").", +"Localized ad format name indicating the way an ad is shown to the users on your site (e.g. \"In-page\", \"Anchor\", \"Vignette\").", +"Ad format code indicating the way an ad is shown to the users on your site (e.g. \"ON_PAGE\", \"ANCHOR\", \"INTERSTITIAL\").", +"Custom search style name.", +"Custom search style id.", +"Domain registrants.", +"Query strings for web searches.", +"Localized operating system type name (e.g. \"Windows\", \"MacOS\", \"Android\"). For more information, see [Operating system breakdown](https://support.google.com/adsense/answer/16853822).", +"Operating system type code (e.g. \"WINDOWS\", \"MAC\", \"ANDROID\"). For more information, see [Operating system breakdown](https://support.google.com/adsense/answer/16853822).", +"Localized browser type name (e.g. \"Google Chrome\", \"Firefox\", \"Safari\"). For more information, see [Browser breakdown](https://support.google.com/adsense/answer/16851903).", +"Browser type code (e.g. \"CHROME\", \"FIREFOX\", \"SAFARI\"). For more information, see [Browser breakdown](https://support.google.com/adsense/answer/16851903).", +"Localized webview type name (e.g. \"Webview (Uncategorized)\", \"Non-webview\"). For more information, see [Hosting App breakdown](https://support.google.com/adsense/answer/16853515).", +"Webview type code (e.g. \"UNCATEGORIZED\", \"NONE\"). For more information, see [Hosting App breakdown](https://support.google.com/adsense/answer/16853515)." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"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" +}, +"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" +}, +"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" +}, +"filters": { +"description": "A list of [filters](/adsense/management/reporting/filtering) to apply to the report. All provided filters must match in order for the data to be included in the report.", +"location": "query", +"repeated": true, +"type": "string" +}, +"languageCode": { +"description": "The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).", +"location": "query", +"type": "string" +}, +"limit": { +"description": "The maximum number of rows of report data to return. Reports producing more rows than the requested limit will be truncated. If unset, this defaults to 100,000 rows for `Reports.GenerateReport` and 1,000,000 rows for `Reports.GenerateCsvReport`, which are also the maximum values permitted here. Report truncation can be identified (for `Reports.GenerateReport` only) by comparing the number of rows returned to the value returned in `total_matched_rows`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"metrics": { +"description": "Required. Reporting metrics.", +"enum": [ +"METRIC_UNSPECIFIED", +"PAGE_VIEWS", +"AD_REQUESTS", +"MATCHED_AD_REQUESTS", +"TOTAL_IMPRESSIONS", +"IMPRESSIONS", +"INDIVIDUAL_AD_IMPRESSIONS", +"CLICKS", +"PAGE_VIEWS_SPAM_RATIO", +"AD_REQUESTS_SPAM_RATIO", +"MATCHED_AD_REQUESTS_SPAM_RATIO", +"IMPRESSIONS_SPAM_RATIO", +"INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO", +"CLICKS_SPAM_RATIO", +"AD_REQUESTS_COVERAGE", +"PAGE_VIEWS_CTR", +"AD_REQUESTS_CTR", +"MATCHED_AD_REQUESTS_CTR", +"IMPRESSIONS_CTR", +"INDIVIDUAL_AD_IMPRESSIONS_CTR", +"ACTIVE_VIEW_MEASURABILITY", +"ACTIVE_VIEW_VIEWABILITY", +"ACTIVE_VIEW_TIME", +"ESTIMATED_EARNINGS", +"PAGE_VIEWS_RPM", +"AD_REQUESTS_RPM", +"MATCHED_AD_REQUESTS_RPM", +"IMPRESSIONS_RPM", +"INDIVIDUAL_AD_IMPRESSIONS_RPM", +"COST_PER_CLICK", +"ADS_PER_IMPRESSION", +"TOTAL_EARNINGS", +"WEBSEARCH_RESULT_PAGES", +"FUNNEL_REQUESTS", +"FUNNEL_IMPRESSIONS", +"FUNNEL_CLICKS", +"FUNNEL_RPM" +], +"enumDescriptions": [ +"Unspecified metric.", +"Number of page views.", +"Number of ad units that requested ads (for content ads) or search queries (for search ads). An ad request may result in zero, one, or multiple individual ad impressions depending on the size of the ad unit and whether any ads were available.", +"Requests that returned at least one ad.", +"Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user's device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.", +"Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user's device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.", +"Ads shown. Different ad formats will display varying numbers of ads. For example, a vertical banner may consist of 2 or more ads. Also, the number of ads in an ad unit may vary depending on whether the ad unit is displaying standard text ads, expanded text ads or image ads.", +"Number of times a user clicked on a standard content ad.", +"Fraction of page views considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad requests considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad requests that returned ads considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of impressions considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of ad impressions considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Fraction of clicks considered to be spam. Only available to [premium accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium).", +"Ratio of requested ad units or queries to the number returned to the site.", +"Ratio of individual page views that resulted in a click.", +"Ratio of ad requests that resulted in a click.", +"Ratio of clicks to matched requests.", +"Ratio of IMPRESSIONS that resulted in a click.", +"Ratio of individual ad impressions that resulted in a click.", +"Ratio of requests that were measurable for viewability.", +"Ratio of requests that were viewable.", +"Mean time an ad was displayed on screen.", +"Estimated earnings of the publisher. Note that earnings up to yesterday are accurate, more recent earnings are estimated due to the possibility of spam, or exchange rate fluctuations.", +"Revenue per thousand page views. This is calculated by dividing the estimated revenue by the number of page views multiplied by 1000.", +"Revenue per thousand ad requests. This is calculated by dividing estimated revenue by the number of ad requests multiplied by 1000.", +"Revenue per thousand matched ad requests. This is calculated by dividing estimated revenue by the number of matched ad requests multiplied by 1000.", +"Revenue per thousand ad impressions. This is calculated by dividing estimated revenue by the number of ad impressions multiplied by 1000.", +"Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.", +"Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.", +"Number of ad views per impression.", +"Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.", +"Number of results pages. This metric can only be used when generating a report in the Google timezone, not the account timezone. Since the account timezone is the default for report generation, this metric can only be used by explicitly specifying `reportingTimeZone=GOOGLE_TIME_ZONE`.", +"Number of requests for non-ad units (for example a related search unit). For more information, see [Funnel requests](https://support.google.com/adsense/answer/11586959).", +"Number of requests for non-ad units ads that returned content that was shown to the user. For more information, see [Funnel impressions](https://support.google.com/adsense/answer/11585767).", +"Number of times a user clicked on a non-ad unit, triggering further ad requests. For more information, see [Funnel clicks](https://support.google.com/adsense/answer/11586382).", +"Revenue per thousand funnel impressions. This is calculated by dividing estimated revenue by the number of funnel impressions multiplied by 1000. For more information, see [Funnel RPM](https://support.google.com/adsense/answer/11585979)." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "The name of a dimension or metric to sort the resulting report on, can be prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.", +"location": "query", +"repeated": true, +"type": "string" +}, +"reportingTimeZone": { +"description": "Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).", +"enum": [ +"REPORTING_TIME_ZONE_UNSPECIFIED", +"ACCOUNT_TIME_ZONE", +"GOOGLE_TIME_ZONE" +], +"enumDescriptions": [ +"Unspecified timezone.", +"Use the account timezone in the report.", +"Use the Google timezone in the report (America/Los_Angeles)." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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": "v2/{+account}/reports:generateCsv", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"getSaved": { +"description": "Gets the saved report from the given resource name.", +"flatPath": "v2/accounts/{accountsId}/reports/{reportsId}/saved", +"httpMethod": "GET", +"id": "adsense.accounts.reports.getSaved", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the saved report to retrieve. Format: accounts/{account}/reports/{report}", +"location": "path", +"pattern": "^accounts/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}/saved", +"response": { +"$ref": "SavedReport" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +}, +"resources": { +"saved": { +"methods": { +"generate": { +"description": "Generates a saved report.", +"flatPath": "v2/accounts/{accountsId}/reports/{reportsId}/saved:generate", +"httpMethod": "GET", +"id": "adsense.accounts.reports.saved.generate", +"parameterOrder": [ +"name" +], +"parameters": { +"currencyCode": { +"description": "The [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on monetary metrics. Defaults to the account's currency if not set.", +"location": "query", +"type": "string" +}, +"dateRange": { +"description": "Date range of the report, if unset the range will be considered CUSTOM.", +"enum": [ +"REPORTING_DATE_RANGE_UNSPECIFIED", +"CUSTOM", +"TODAY", +"YESTERDAY", +"MONTH_TO_DATE", +"YEAR_TO_DATE", +"LAST_7_DAYS", +"LAST_30_DAYS" +], +"enumDescriptions": [ +"Unspecified date range.", +"A custom date range specified using the `start_date` and `end_date` fields. This is the default if no ReportingDateRange is provided.", +"Current day.", +"Yesterday.", +"From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].", +"From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].", +"Last 7 days, excluding current day.", +"Last 30 days, excluding current day." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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" +}, +"languageCode": { +"description": "The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the saved report. Format: accounts/{account}/reports/{report}", +"location": "path", +"pattern": "^accounts/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +}, +"reportingTimeZone": { +"description": "Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).", +"enum": [ +"REPORTING_TIME_ZONE_UNSPECIFIED", +"ACCOUNT_TIME_ZONE", +"GOOGLE_TIME_ZONE" +], +"enumDescriptions": [ +"Unspecified timezone.", +"Use the account timezone in the report.", +"Use the Google timezone in the report (America/Los_Angeles)." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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": "v2/{+name}/saved:generate", +"response": { +"$ref": "ReportResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"generateCsv": { +"description": "Generates a csv formatted saved report.", +"flatPath": "v2/accounts/{accountsId}/reports/{reportsId}/saved:generateCsv", +"httpMethod": "GET", +"id": "adsense.accounts.reports.saved.generateCsv", +"parameterOrder": [ +"name" +], +"parameters": { +"currencyCode": { +"description": "The [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217) to use when reporting on monetary metrics. Defaults to the account's currency if not set.", +"location": "query", +"type": "string" +}, +"dateRange": { +"description": "Date range of the report, if unset the range will be considered CUSTOM.", +"enum": [ +"REPORTING_DATE_RANGE_UNSPECIFIED", +"CUSTOM", +"TODAY", +"YESTERDAY", +"MONTH_TO_DATE", +"YEAR_TO_DATE", +"LAST_7_DAYS", +"LAST_30_DAYS" +], +"enumDescriptions": [ +"Unspecified date range.", +"A custom date range specified using the `start_date` and `end_date` fields. This is the default if no ReportingDateRange is provided.", +"Current day.", +"Yesterday.", +"From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].", +"From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].", +"Last 7 days, excluding current day.", +"Last 30 days, excluding current day." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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" +}, +"languageCode": { +"description": "The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an [IETF BCP-47 language code](https://en.wikipedia.org/wiki/IETF_language_tag).", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the saved report. Format: accounts/{account}/reports/{report}", +"location": "path", +"pattern": "^accounts/[^/]+/reports/[^/]+$", +"required": true, +"type": "string" +}, +"reportingTimeZone": { +"description": "Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).", +"enum": [ +"REPORTING_TIME_ZONE_UNSPECIFIED", +"ACCOUNT_TIME_ZONE", +"GOOGLE_TIME_ZONE" +], +"enumDescriptions": [ +"Unspecified timezone.", +"Use the account timezone in the report.", +"Use the Google timezone in the report (America/Los_Angeles)." +], +"location": "query", +"type": "string" +}, +"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" +}, +"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" +}, +"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": "v2/{+name}/saved:generateCsv", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists saved reports.", +"flatPath": "v2/accounts/{accountsId}/reports/saved", +"httpMethod": "GET", +"id": "adsense.accounts.reports.saved.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of reports to include in the response, used for paging. If unspecified, at most 10000 reports will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSavedReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSavedReports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account which owns the collection of reports. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/reports/saved", +"response": { +"$ref": "ListSavedReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +} +} +}, +"sites": { +"methods": { +"get": { +"description": "Gets information about the selected site.", +"flatPath": "v2/accounts/{accountsId}/sites/{sitesId}", +"httpMethod": "GET", +"id": "adsense.accounts.sites.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the site. Format: accounts/{account}/sites/{site}", +"location": "path", +"pattern": "^accounts/[^/]+/sites/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +}, +"list": { +"description": "Lists all the sites available in an account.", +"flatPath": "v2/accounts/{accountsId}/sites", +"httpMethod": "GET", +"id": "adsense.accounts.sites.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSites` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account which owns the collection of sites. Format: accounts/{account}", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/adsense", +"https://www.googleapis.com/auth/adsense.readonly" +] +} +} +} +} +} +}, +"revision": "20260209", +"rootUrl": "https://adsense.googleapis.com/", +"schemas": { +"Account": { +"description": "Representation of an account.", +"id": "Account", +"properties": { +"createTime": { +"description": "Output only. Creation time of the account.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. Display name of this account.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the account. Format: accounts/pub-[0-9]+", +"readOnly": true, +"type": "string" +}, +"pendingTasks": { +"description": "Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. \"billing-profile-creation\", \"phone-pin-verification\".", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"premium": { +"description": "Output only. Whether this account is premium. Premium accounts have access to additional spam-related metrics.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. State of the account.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"NEEDS_ATTENTION", +"CLOSED" +], +"enumDescriptions": [ +"State unspecified.", +"The account is open and ready to serve ads.", +"There are some issues with this account. Publishers should visit AdSense in order to fix the account.", +"The account is closed and can't serve ads." +], +"readOnly": true, +"type": "string" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725)." +} +}, +"type": "object" +}, +"AdBlockingRecoveryTag": { +"description": "Representation of an ad blocking recovery tag. See https://support.google.com/adsense/answer/11575177.", +"id": "AdBlockingRecoveryTag", +"properties": { +"errorProtectionCode": { +"description": "Error protection code that can be used in conjunction with the tag. It'll display a message to users if an [ad blocking extension blocks their access to your site](https://support.google.com/adsense/answer/11575480).", +"type": "string" +}, +"tag": { +"description": "The ad blocking recovery tag. Note that the message generated by the tag can be blocked by an ad blocking extension. If this is not your desired outcome, then you'll need to use it in conjunction with the error protection code.", +"type": "string" +} +}, +"type": "object" +}, +"AdClient": { +"description": "Representation of an ad client. An ad client represents a user's subscription with a specific AdSense product.", +"id": "AdClient", +"properties": { +"name": { +"description": "Output only. Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}", +"readOnly": true, +"type": "string" +}, +"productCode": { +"description": "Output only. Reporting product code of the ad client. For example, \"AFC\" for AdSense for Content. Corresponds to the `PRODUCT_CODE` dimension, and present only if the ad client supports reporting.", +"readOnly": true, +"type": "string" +}, +"reportingDimensionId": { +"description": "Output only. Unique ID of the ad client as used in the `AD_CLIENT_ID` reporting dimension. Present only if the ad client supports reporting.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of the ad client.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"GETTING_READY", +"REQUIRES_REVIEW" +], +"enumDescriptions": [ +"State unspecified.", +"The ad client is ready to show ads.", +"Running some checks on the ad client before it is ready to serve ads.", +"The ad client hasn't been checked yet. There are tasks pending before AdSense will start the review." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdClientAdCode": { +"description": "Representation of the AdSense code for a given ad client. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634).", +"id": "AdClientAdCode", +"properties": { +"adCode": { +"description": "Output only. The AdSense code snippet to add to the head of an HTML page.", +"readOnly": true, +"type": "string" +}, +"ampBody": { +"description": "Output only. The AdSense code snippet to add to the body of an AMP page.", +"readOnly": true, +"type": "string" +}, +"ampHead": { +"description": "Output only. The AdSense code snippet to add to the head of an AMP page.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdUnit": { +"description": "Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.", +"id": "AdUnit", +"properties": { +"contentAdsSettings": { +"$ref": "ContentAdsSettings", +"description": "Required. Settings specific to content ads (AFC)." +}, +"displayName": { +"description": "Required. Display name of the ad unit, as provided when the ad unit was created.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}", +"readOnly": true, +"type": "string" +}, +"reportingDimensionId": { +"description": "Output only. Unique ID of the ad unit as used in the `AD_UNIT_ID` reporting dimension.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Required. State of the ad unit.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED" +], +"enumDescriptions": [ +"State unspecified.", +"Ad unit has been activated by the user.", +"Ad unit has been archived by the user. Note that archived ad units are only removed from the default view in the UI. Archived ad units can still serve ads." +], +"type": "string" +} +}, +"type": "object" +}, +"AdUnitAdCode": { +"description": "Representation of the ad unit code for a given ad unit. For more information, see [About the AdSense code](https://support.google.com/adsense/answer/9274634) and [Where to place the ad code in your HTML](https://support.google.com/adsense/answer/9190028).", +"id": "AdUnitAdCode", +"properties": { +"adCode": { +"description": "Output only. The code snippet to add to the body of an HTML page.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Alert": { +"description": "Representation of an alert.", +"id": "Alert", +"properties": { +"message": { +"description": "Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the alert. Format: accounts/{account}/alerts/{alert}", +"readOnly": true, +"type": "string" +}, +"severity": { +"description": "Output only. Severity of this alert.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"SEVERE" +], +"enumDescriptions": [ +"Unspecified severity.", +"Info.", +"Warning.", +"Severe." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, \"payment-hold\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Cell": { +"description": "Cell representation.", +"id": "Cell", +"properties": { +"value": { +"description": "Value in the cell. The dimension cells contain strings, and the metric cells contain numbers.", +"type": "string" +} +}, +"type": "object" +}, +"ContentAdsSettings": { +"description": "Settings specific to content ads (AFC).", +"id": "ContentAdsSettings", +"properties": { +"size": { +"description": "Required. Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).", +"type": "string" +}, +"type": { +"description": "Required. Type of the ad unit.", +"enum": [ +"TYPE_UNSPECIFIED", +"DISPLAY", +"FEED", +"ARTICLE", +"MATCHED_CONTENT", +"LINK" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +true +], +"enumDescriptions": [ +"Unspecified ad unit type.", +"Display ad unit.", +"In-feed ad unit.", +"In-article ad unit.", +"Matched content unit.", +"Link ad unit. Note that link ad units have now been retired, see https://support.google.com/adsense/answer/9987221." +], +"type": "string" +} +}, +"type": "object" +}, +"CustomChannel": { +"description": "Representation of a custom channel.", +"id": "CustomChannel", +"properties": { +"active": { +"description": "Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.", +"type": "boolean" +}, +"displayName": { +"description": "Required. Display name of the custom channel.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}", +"readOnly": true, +"type": "string" +}, +"reportingDimensionId": { +"description": "Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"Header": { +"description": "The header information of the columns requested in the report.", +"id": "Header", +"properties": { +"currencyCode": { +"description": "The [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217) of this column. Only present if the header type is METRIC_CURRENCY.", +"type": "string" +}, +"name": { +"description": "Required. Name of the header.", +"type": "string" +}, +"type": { +"description": "Required. Type of the header.", +"enum": [ +"HEADER_TYPE_UNSPECIFIED", +"DIMENSION", +"METRIC_TALLY", +"METRIC_RATIO", +"METRIC_CURRENCY", +"METRIC_MILLISECONDS", +"METRIC_DECIMAL" +], +"enumDescriptions": [ +"Unspecified header.", +"Dimension header type.", +"Tally header type.", +"Ratio header type.", +"Currency header type.", +"Milliseconds header type.", +"Decimal header type." +], +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "Response definition for the account list rpc.", +"id": "ListAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts returned in this list response.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through accounts. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdClientsResponse": { +"description": "Response definition for the ad client list rpc.", +"id": "ListAdClientsResponse", +"properties": { +"adClients": { +"description": "The ad clients returned in this list response.", +"items": { +"$ref": "AdClient" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through ad clients. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdUnitsResponse": { +"description": "Response definition for the adunit list rpc.", +"id": "ListAdUnitsResponse", +"properties": { +"adUnits": { +"description": "The ad units returned in the list response.", +"items": { +"$ref": "AdUnit" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through ad units. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListAlertsResponse": { +"description": "Response definition for the alerts list rpc.", +"id": "ListAlertsResponse", +"properties": { +"alerts": { +"description": "The alerts returned in this list response.", +"items": { +"$ref": "Alert" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListChildAccountsResponse": { +"description": "Response definition for the child account list rpc.", +"id": "ListChildAccountsResponse", +"properties": { +"accounts": { +"description": "The accounts returned in this list response.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through accounts. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomChannelsResponse": { +"description": "Response definition for the custom channel list rpc.", +"id": "ListCustomChannelsResponse", +"properties": { +"customChannels": { +"description": "The custom channels returned in this list response.", +"items": { +"$ref": "CustomChannel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through alerts. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListLinkedAdUnitsResponse": { +"description": "Response definition for the ad units linked to a custom channel list rpc.", +"id": "ListLinkedAdUnitsResponse", +"properties": { +"adUnits": { +"description": "The ad units returned in the list response.", +"items": { +"$ref": "AdUnit" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through ad units. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListLinkedCustomChannelsResponse": { +"description": "Response definition for the custom channels linked to an adunit list rpc.", +"id": "ListLinkedCustomChannelsResponse", +"properties": { +"customChannels": { +"description": "The custom channels returned in this list response.", +"items": { +"$ref": "CustomChannel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token used to page through alerts. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +} +}, +"type": "object" +}, +"ListPaymentsResponse": { +"description": "Response definition for the payments list rpc.", +"id": "ListPaymentsResponse", +"properties": { +"payments": { +"description": "The payments returned in this list response.", +"items": { +"$ref": "Payment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPolicyIssuesResponse": { +"description": "Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.", +"id": "ListPolicyIssuesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +}, +"policyIssues": { +"description": "The policy issues returned in the list response.", +"items": { +"$ref": "PolicyIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSavedReportsResponse": { +"description": "Response definition for the saved reports list rpc.", +"id": "ListSavedReportsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to page through reports. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +}, +"savedReports": { +"description": "The reports returned in this list response.", +"items": { +"$ref": "SavedReport" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSitesResponse": { +"description": "Response definition for the sites list rpc.", +"id": "ListSitesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to page through sites. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +}, +"sites": { +"description": "The sites returned in this list response.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUrlChannelsResponse": { +"description": "Response definition for the url channels list rpc.", +"id": "ListUrlChannelsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to page through url channels. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", +"type": "string" +}, +"urlChannels": { +"description": "The url channels returned in this list response.", +"items": { +"$ref": "UrlChannel" +}, +"type": "array" +} +}, +"type": "object" +}, +"Payment": { +"description": "Representation of an unpaid or paid payment. See [Payment timelines for AdSense](https://support.google.com/adsense/answer/7164703) for more information about payments and the [YouTube homepage and payments account](https://support.google.com/adsense/answer/11622510) article for information about dedicated payments accounts for YouTube.", +"id": "Payment", +"properties": { +"amount": { +"description": "Output only. The amount of unpaid or paid earnings, as a formatted string, including the currency. E.g. \"\u00a51,235 JPY\", \"$1,234.57\", \"\u00a387.65\".", +"readOnly": true, +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Output only. For paid earnings, the date that the payment was credited. For unpaid earnings, this field is empty. Payment dates are always returned in the billing timezone (America/Los_Angeles).", +"readOnly": true +}, +"name": { +"description": "Output only. Resource name of the payment. Format: - accounts/{account}/payments/unpaid for unpaid (current) AdSense earnings. - accounts/{account}/payments/youtube-unpaid for unpaid (current) YouTube earnings. - accounts/{account}/payments/yyyy-MM-dd for paid AdSense earnings. - accounts/{account}/payments/youtube-yyyy-MM-dd for paid YouTube earnings.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PolicyIssue": { +"description": "Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or \"topics\") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity.", +"id": "PolicyIssue", +"properties": { +"action": { +"description": "Required. The most severe action taken on the entity over the past seven days.", +"enum": [ +"ENFORCEMENT_ACTION_UNSPECIFIED", +"WARNED", +"AD_SERVING_RESTRICTED", +"AD_SERVING_DISABLED", +"AD_SERVED_WITH_CLICK_CONFIRMATION", +"AD_PERSONALIZATION_RESTRICTED" +], +"enumDescriptions": [ +"The action is unspecified.", +"No ad serving enforcement is currently present, but enforcement will start on the `warning_escalation_date` if the issue is not resolved.", +"Ad serving demand has been restricted on the entity.", +"Ad serving has been disabled on the entity.", +"Ads are being served for the entity but Confirmed Click is being applied to the ads. See https://support.google.com/adsense/answer/10025624.", +"Ad personalization is restricted because the ad requests coming from the EEA and UK do not have a TCF string or the Consent Management Platform (CMP) indicated by the TCF string is not Google certified. As a result, basic/limited ads will be served. See https://support.google.com/adsense/answer/13554116." +], +"type": "string" +}, +"adClients": { +"description": "Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.", +"items": { +"type": "string" +}, +"type": "array" +}, +"adRequestCount": { +"description": "Required. Total number of ad requests affected by the policy violations over the past seven days.", +"format": "int64", +"type": "string" +}, +"entityType": { +"description": "Required. Type of the entity indicating if the entity is a site, site-section, or page.", +"enum": [ +"ENTITY_TYPE_UNSPECIFIED", +"SITE", +"SITE_SECTION", +"PAGE" +], +"enumDescriptions": [ +"The entity type is unspecified.", +"The enforced entity is an entire website.", +"The enforced entity is a particular section of a website. All the pages with this prefix are enforced.", +"The enforced entity is a single web page." +], +"type": "string" +}, +"firstDetectedDate": { +"$ref": "Date", +"description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity." +}, +"lastDetectedDate": { +"$ref": "Date", +"description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity." +}, +"name": { +"description": "Required. Resource name of the entity with policy issues. Format: accounts/{account}/policyIssues/{policy_issue}", +"type": "string" +}, +"policyTopics": { +"description": "Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.", +"items": { +"$ref": "PolicyTopic" +}, +"type": "array" +}, +"site": { +"description": "Required. Hostname/domain of the entity (for example \"foo.com\" or \"www.foo.com\"). This _should_ be a bare domain/host name without any protocol. This will be present for all policy issues.", +"type": "string" +}, +"siteSection": { +"description": "Optional. Prefix of the site-section having policy issues (For example \"foo.com/bar-section\"). This will be present if the `entity_type` is `SITE_SECTION` and will be absent for other entity types.", +"type": "string" +}, +"uri": { +"description": "Optional. URI of the page having policy violations (for example \"foo.com/bar\" or \"www.foo.com/bar\"). This will be present if the `entity_type` is `PAGE` and will be absent for other entity types.", +"type": "string" +}, +"warningEscalationDate": { +"$ref": "Date", +"description": "Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a `WARNED` enforcement action. See https://support.google.com/adsense/answer/11066888." +} +}, +"type": "object" +}, +"PolicyTopic": { +"description": "Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.", +"id": "PolicyTopic", +"properties": { +"mustFix": { +"deprecated": true, +"description": "Required. Deprecated. Always set to false.", +"type": "boolean" +}, +"topic": { +"description": "Required. The policy topic. For example, \"sexual-content\" or \"ads-obscuring-content\".\"", +"type": "string" +}, +"type": { +"description": "Optional. The type of policy topic. For example, \"POLICY\" represents all the policy topics that are related to the Google Publisher Policy (GPP). See https://support.google.com/adsense/answer/15689616.", +"enum": [ +"POLICY_TOPIC_TYPE_UNSPECIFIED", +"POLICY", +"ADVERTISER_PREFERENCE", +"REGULATORY" +], +"enumDescriptions": [ +"The type is unspecified.", +"Topics that are primarily related to the Google Publisher Policy (GPP) (https://support.google.com/publisherpolicies/answer/10502938) or the Google Publisher Restrictions (GPR) policies (https://support.google.com/publisherpolicies/answer/10437795).", +"Topics that are related to advertiser preferences. Certain advertisers may choose not to bid on content that are labeled with certain policies.", +"Any topics that are a result of a country or regional regulatory requirement body." +], +"type": "string" +} +}, +"type": "object" +}, +"ReportResult": { +"description": "Result of a generated report.", +"id": "ReportResult", +"properties": { +"averages": { +"$ref": "Row", +"description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty." +}, +"endDate": { +"$ref": "Date", +"description": "Required. End date of the range (inclusive)." +}, +"headers": { +"description": "The header information; one for each dimension in the request, followed by one for each metric in the request.", +"items": { +"$ref": "Header" +}, +"type": "array" +}, +"rows": { +"description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"startDate": { +"$ref": "Date", +"description": "Required. Start date of the range (inclusive)." +}, +"totalMatchedRows": { +"description": "The total number of rows matched by the report request.", +"format": "int64", +"type": "string" +}, +"totals": { +"$ref": "Row", +"description": "The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty." +}, +"warnings": { +"description": "Any warnings associated with generation of the report. These warnings are always returned in English.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Row": { +"description": "Row representation.", +"id": "Row", +"properties": { +"cells": { +"description": "Cells in the row.", +"items": { +"$ref": "Cell" +}, +"type": "array" +} +}, +"type": "object" +}, +"SavedReport": { +"description": "Representation of a saved report.", +"id": "SavedReport", +"properties": { +"name": { +"description": "Output only. Resource name of the report. Format: accounts/{account}/reports/{report}", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Report title as specified by publisher.", +"type": "string" +} +}, +"type": "object" +}, +"Site": { +"description": "Representation of a Site.", +"id": "Site", +"properties": { +"autoAdsEnabled": { +"description": "Whether auto ads is turned on for the site.", +"type": "boolean" +}, +"domain": { +"description": "Domain (or subdomain) of the site, e.g. \"example.com\" or \"www.example.com\". This is used in the `OWNED_SITE_DOMAIN_NAME` reporting dimension.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of a site. Format: accounts/{account}/sites/{site}", +"readOnly": true, +"type": "string" +}, +"reportingDimensionId": { +"description": "Output only. Unique ID of the site as used in the `OWNED_SITE_ID` reporting dimension.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. State of a site.", +"enum": [ +"STATE_UNSPECIFIED", +"REQUIRES_REVIEW", +"GETTING_READY", +"READY", +"NEEDS_ATTENTION" +], +"enumDescriptions": [ +"State unspecified.", +"Either: * The site hasn't been checked yet. * The site is inactive and needs another review before it can show ads again. Learn how to [request a review for an inactive site](https://support.google.com/adsense/answer/9393996).", +"Google is running some checks on the site. This usually takes a few days, but in some cases it can take two to four weeks.", +"The site is ready to show ads. Learn how to [set up ads on the site](https://support.google.com/adsense/answer/7037624).", +"Publisher needs to fix some issues before the site is ready to show ads. Learn what to do [if a new site isn't ready](https://support.google.com/adsense/answer/9061852)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"UrlChannel": { +"description": "Representation of a URL channel. URL channels allow you to track the performance of particular pages in your site; see [URL channels](https://support.google.com/adsense/answer/2923836) for more information.", +"id": "UrlChannel", +"properties": { +"name": { +"description": "Output only. Resource name of the URL channel. Format: accounts/{account}/adclients/{adclient}/urlchannels/{urlchannel}", +"readOnly": true, +"type": "string" +}, +"reportingDimensionId": { +"description": "Output only. Unique ID of the custom channel as used in the `URL_CHANNEL_ID` reporting dimension.", +"readOnly": true, +"type": "string" +}, +"uriPattern": { +"description": "URI pattern of the channel. Does not include \"http://\" or \"https://\". Example: www.example.com/home", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "AdSense Management API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..c948abfa0bc8361b33b40ae0eca775c3b0b9b4c7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json @@ -0,0 +1,2306 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/analytics": { +"description": "View and manage your Google Analytics data" +}, +"https://www.googleapis.com/auth/analytics.readonly": { +"description": "See and download your Google Analytics data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://analyticsdata.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AnalyticsData", +"description": "Accesses report data in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/analytics/devguides/reporting/data/v1/", +"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": "analyticsdata:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://analyticsdata.mtls.googleapis.com/", +"name": "analyticsdata", +"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": { +"properties": { +"methods": { +"batchRunPivotReports": { +"description": "Returns multiple pivot reports in a batch. All reports must be for the same Google Analytics property.", +"flatPath": "v1beta/properties/{propertiesId}:batchRunPivotReports", +"httpMethod": "POST", +"id": "analyticsdata.properties.batchRunPivotReports", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:batchRunPivotReports", +"request": { +"$ref": "BatchRunPivotReportsRequest" +}, +"response": { +"$ref": "BatchRunPivotReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"batchRunReports": { +"description": "Returns multiple reports in a batch. All reports must be for the same Google Analytics property.", +"flatPath": "v1beta/properties/{propertiesId}:batchRunReports", +"httpMethod": "POST", +"id": "analyticsdata.properties.batchRunReports", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). This property must be specified for the batch. The property within RunReportRequest may either be unspecified or consistent with this property. Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:batchRunReports", +"request": { +"$ref": "BatchRunReportsRequest" +}, +"response": { +"$ref": "BatchRunReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"checkCompatibility": { +"description": "This compatibility method lists dimensions and metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompatible report until the report is compatible. The Realtime and Core reports have different compatibility rules. This method checks compatibility for Core reports.", +"flatPath": "v1beta/properties/{propertiesId}:checkCompatibility", +"httpMethod": "POST", +"id": "analyticsdata.properties.checkCompatibility", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:checkCompatibility", +"request": { +"$ref": "CheckCompatibilityRequest" +}, +"response": { +"$ref": "CheckCompatibilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"getMetadata": { +"description": "Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions and metrics. In this method, a Google Analytics property identifier is specified in the request, and the metadata response includes Custom dimensions and metrics as well as Universal metadata. For example if a custom metric with parameter name `levels_unlocked` is registered to a property, the Metadata response will contain `customEvent:levels_unlocked`. Universal metadata are dimensions and metrics applicable to any property such as `country` and `totalUsers`.", +"flatPath": "v1beta/properties/{propertiesId}/metadata", +"httpMethod": "GET", +"id": "analyticsdata.properties.getMetadata", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the metadata to retrieve. This name field is specified in the URL path and not URL parameters. Property is a numeric Google Analytics property identifier. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Example: properties/1234/metadata Set the Property ID to 0 for dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.", +"location": "path", +"pattern": "^properties/[^/]+/metadata$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Metadata" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"runPivotReport": { +"description": "Returns a customized pivot report of your Google Analytics event data. Pivot reports are more advanced and expressive formats than regular reports. In a pivot report, dimensions are only visible if they are included in a pivot. Multiple pivots can be specified to further dissect your data.", +"flatPath": "v1beta/properties/{propertiesId}:runPivotReport", +"httpMethod": "POST", +"id": "analyticsdata.properties.runPivotReport", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:runPivotReport", +"request": { +"$ref": "RunPivotReportRequest" +}, +"response": { +"$ref": "RunPivotReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"runRealtimeReport": { +"description": "Returns a customized report of realtime event data for your property. Events appear in realtime reports seconds after they have been sent to the Google Analytics. Realtime reports show events and usage data for the periods of time ranging from the present moment to 30 minutes ago (up to 60 minutes for Google Analytics 360 properties). For a guide to constructing realtime requests & understanding responses, see [Creating a Realtime Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics).", +"flatPath": "v1beta/properties/{propertiesId}:runRealtimeReport", +"httpMethod": "POST", +"id": "analyticsdata.properties.runRealtimeReport", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:runRealtimeReport", +"request": { +"$ref": "RunRealtimeReportRequest" +}, +"response": { +"$ref": "RunRealtimeReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"runReport": { +"description": "Returns a customized report of your Google Analytics event data. Reports contain statistics derived from data collected by the Google Analytics tracking code. The data returned from the API is as a table with columns for the requested dimensions and metrics. Metrics are individual measurements of user activity on your property, such as active users or event count. Dimensions break down metrics across some common criteria, such as country or event name. For a guide to constructing requests & understanding responses, see [Creating a Report](https://developers.google.com/analytics/devguides/reporting/data/v1/basics).", +"flatPath": "v1beta/properties/{propertiesId}:runReport", +"httpMethod": "POST", +"id": "analyticsdata.properties.runReport", +"parameterOrder": [ +"property" +], +"parameters": { +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+property}:runReport", +"request": { +"$ref": "RunReportRequest" +}, +"response": { +"$ref": "RunReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +}, +"resources": { +"audienceExports": { +"methods": { +"create": { +"description": "Creates an audience export for later retrieval. This method quickly returns the audience export's resource name and initiates a long running asynchronous request to form an audience export. To export the users in an audience export, first create the audience export through this method and then send the audience resource name to the `QueryAudienceExport` method. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. An audience export is a snapshot of the users currently in the audience at the time of audience export creation. Creating audience exports for one audience on different days will return different results as users enter and exit the audience. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience exports contain the users in each audience. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.", +"flatPath": "v1beta/properties/{propertiesId}/audienceExports", +"httpMethod": "POST", +"id": "analyticsdata.properties.audienceExports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this audience export will be created. Format: `properties/{property}`", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/audienceExports", +"request": { +"$ref": "AudienceExport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"get": { +"description": "Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.", +"flatPath": "v1beta/properties/{propertiesId}/audienceExports/{audienceExportsId}", +"httpMethod": "GET", +"id": "analyticsdata.properties.audienceExports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The audience export resource name. Format: `properties/{property}/audienceExports/{audience_export}`", +"location": "path", +"pattern": "^properties/[^/]+/audienceExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "AudienceExport" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"list": { +"description": "Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.", +"flatPath": "v1beta/properties/{propertiesId}/audienceExports", +"httpMethod": "GET", +"id": "analyticsdata.properties.audienceExports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of audience exports to return. The service may return fewer than this value. If unspecified, at most 200 audience exports will be returned. The maximum value is 1000 (higher values will be coerced to the maximum).", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListAudienceExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAudienceExports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. All audience exports for this property will be listed in the response. Format: `properties/{property}`", +"location": "path", +"pattern": "^properties/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/audienceExports", +"response": { +"$ref": "ListAudienceExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +}, +"query": { +"description": "Retrieves an audience export of users. After creating an audience, the users are not immediately available for exporting. First, a request to `CreateAudienceExport` is necessary to create an audience export of users, and then second, this method is used to retrieve the users in the audience export. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audiences in Google Analytics 4 allow you to segment your users in the ways that are important to your business. To learn more, see https://support.google.com/analytics/answer/9267572. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.", +"flatPath": "v1beta/properties/{propertiesId}/audienceExports/{audienceExportsId}:query", +"httpMethod": "POST", +"id": "analyticsdata.properties.audienceExports.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the audience export to retrieve users from. Format: `properties/{property}/audienceExports/{audience_export}`", +"location": "path", +"pattern": "^properties/[^/]+/audienceExports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:query", +"request": { +"$ref": "QueryAudienceExportRequest" +}, +"response": { +"$ref": "QueryAudienceExportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/analytics", +"https://www.googleapis.com/auth/analytics.readonly" +] +} +} +} +} +} +}, +"revision": "20241117", +"rootUrl": "https://analyticsdata.googleapis.com/", +"schemas": { +"ActiveMetricRestriction": { +"description": "A metric actively restricted in creating the report.", +"id": "ActiveMetricRestriction", +"properties": { +"metricName": { +"description": "The name of the restricted metric.", +"type": "string" +}, +"restrictedMetricTypes": { +"description": "The reason for this metric's restriction.", +"items": { +"enum": [ +"RESTRICTED_METRIC_TYPE_UNSPECIFIED", +"COST_DATA", +"REVENUE_DATA" +], +"enumDescriptions": [ +"Unspecified type.", +"Cost metrics such as `adCost`.", +"Revenue metrics such as `purchaseRevenue`." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AudienceExport": { +"description": "An audience export is a list of users in an audience at the time of the list's creation. One audience may have multiple audience exports created for different days.", +"id": "AudienceExport", +"properties": { +"audience": { +"description": "Required. The audience resource name. This resource name identifies the audience being listed and is shared between the Analytics Data & Admin APIs. Format: `properties/{property}/audiences/{audience}`", +"type": "string" +}, +"audienceDisplayName": { +"description": "Output only. The descriptive display name for this audience. For example, \"Purchasers\".", +"readOnly": true, +"type": "string" +}, +"beginCreatingTime": { +"description": "Output only. The time when CreateAudienceExport was called and the AudienceExport began the `CREATING` state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creationQuotaTokensCharged": { +"description": "Output only. The total quota tokens charged during creation of the AudienceExport. Because this token count is based on activity from the `CREATING` state, this tokens charged will be fixed once an AudienceExport enters the `ACTIVE` or `FAILED` states.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"dimensions": { +"description": "Required. The dimensions requested and displayed in the query response.", +"items": { +"$ref": "V1betaAudienceDimension" +}, +"type": "array" +}, +"errorMessage": { +"description": "Output only. Error message is populated when an audience export fails during creation. A common reason for such a failure is quota exhaustion.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The audience export resource name assigned during creation. This resource name identifies this `AudienceExport`. Format: `properties/{property}/audienceExports/{audience_export}`", +"readOnly": true, +"type": "string" +}, +"percentageCompleted": { +"description": "Output only. The percentage completed for this audience export ranging between 0 to 100.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"rowCount": { +"description": "Output only. The total number of rows in the AudienceExport result.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"state": { +"description": "Output only. The current state for this AudienceExport.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"Unspecified state will never be used.", +"The AudienceExport is currently creating and will be available in the future. Creating occurs immediately after the CreateAudienceExport call.", +"The AudienceExport is fully created and ready for querying. An AudienceExport is updated to active asynchronously from a request; this occurs some time (for example 15 minutes) after the initial create call.", +"The AudienceExport failed to be created. It is possible that re-requesting this audience export will succeed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AudienceListMetadata": { +"description": "This metadata is currently blank.", +"id": "AudienceListMetadata", +"properties": {}, +"type": "object" +}, +"BatchRunPivotReportsRequest": { +"description": "The batch request containing multiple pivot report requests.", +"id": "BatchRunPivotReportsRequest", +"properties": { +"requests": { +"description": "Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.", +"items": { +"$ref": "RunPivotReportRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchRunPivotReportsResponse": { +"description": "The batch response containing multiple pivot reports.", +"id": "BatchRunPivotReportsResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#batchRunPivotReports\". Useful to distinguish between response types in JSON.", +"type": "string" +}, +"pivotReports": { +"description": "Individual responses. Each response has a separate pivot report request.", +"items": { +"$ref": "RunPivotReportResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchRunReportsRequest": { +"description": "The batch request containing multiple report requests.", +"id": "BatchRunReportsRequest", +"properties": { +"requests": { +"description": "Individual requests. Each request has a separate report response. Each batch request is allowed up to 5 requests.", +"items": { +"$ref": "RunReportRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchRunReportsResponse": { +"description": "The batch response containing multiple reports.", +"id": "BatchRunReportsResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#batchRunReports\". Useful to distinguish between response types in JSON.", +"type": "string" +}, +"reports": { +"description": "Individual responses. Each response has a separate report request.", +"items": { +"$ref": "RunReportResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"BetweenFilter": { +"description": "To express that the result needs to be between two numbers (inclusive).", +"id": "BetweenFilter", +"properties": { +"fromValue": { +"$ref": "NumericValue", +"description": "Begins with this number." +}, +"toValue": { +"$ref": "NumericValue", +"description": "Ends with this number." +} +}, +"type": "object" +}, +"CaseExpression": { +"description": "Used to convert a dimension value to a single case.", +"id": "CaseExpression", +"properties": { +"dimensionName": { +"description": "Name of a dimension. The name must refer back to a name in dimensions field of the request.", +"type": "string" +} +}, +"type": "object" +}, +"CheckCompatibilityRequest": { +"description": "The request for compatibility information for a report's dimensions and metrics. Check compatibility provides a preview of the compatibility of a report; fields shared with the `runReport` request should be the same values as in your `runReport` request.", +"id": "CheckCompatibilityRequest", +"properties": { +"compatibilityFilter": { +"description": "Filters the dimensions and metrics in the response to just this compatibility. Commonly used as `\u201dcompatibilityFilter\u201d: \u201cCOMPATIBLE\u201d` to only return compatible dimensions & metrics.", +"enum": [ +"COMPATIBILITY_UNSPECIFIED", +"COMPATIBLE", +"INCOMPATIBLE" +], +"enumDescriptions": [ +"Unspecified compatibility.", +"The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", +"The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." +], +"type": "string" +}, +"dimensionFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of dimensions. `dimensionFilter` should be the same value as in your `runReport` request." +}, +"dimensions": { +"description": "The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"metricFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of metrics. `metricFilter` should be the same value as in your `runReport` request" +}, +"metrics": { +"description": "The metrics in this report. `metrics` should be the same value as in your `runReport` request.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"CheckCompatibilityResponse": { +"description": "The compatibility response with the compatibility of each dimension & metric.", +"id": "CheckCompatibilityResponse", +"properties": { +"dimensionCompatibilities": { +"description": "The compatibility of each dimension.", +"items": { +"$ref": "DimensionCompatibility" +}, +"type": "array" +}, +"metricCompatibilities": { +"description": "The compatibility of each metric.", +"items": { +"$ref": "MetricCompatibility" +}, +"type": "array" +} +}, +"type": "object" +}, +"Cohort": { +"description": "Defines a cohort selection criteria. A cohort is a group of users who share a common characteristic. For example, users with the same `firstSessionDate` belong to the same cohort.", +"id": "Cohort", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The cohort selects users whose first touch date is between start date and end date defined in the `dateRange`. This `dateRange` does not specify the full date range of event data that is present in a cohort report. In a cohort report, this `dateRange` is extended by the granularity and offset present in the `cohortsRange`; event data for the extended reporting date range is present in a cohort report. In a cohort request, this `dateRange` is required and the `dateRanges` in the `RunReportRequest` or `RunPivotReportRequest` must be unspecified. This `dateRange` should generally be aligned with the cohort's granularity. If `CohortsRange` uses daily granularity, this `dateRange` can be a single day. If `CohortsRange` uses weekly granularity, this `dateRange` can be aligned to a week boundary, starting at Sunday and ending Saturday. If `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to a month, starting at the first and ending on the last day of the month." +}, +"dimension": { +"description": "Dimension used by the cohort. Required and only supports `firstSessionDate`.", +"type": "string" +}, +"name": { +"description": "Assigns a name to this cohort. The dimension `cohort` is valued to this name in a report response. If set, cannot begin with `cohort_` or `RESERVED_`. If not set, cohorts are named by their zero based index `cohort_0`, `cohort_1`, etc.", +"type": "string" +} +}, +"type": "object" +}, +"CohortReportSettings": { +"description": "Optional settings of a cohort report.", +"id": "CohortReportSettings", +"properties": { +"accumulate": { +"description": "If true, accumulates the result from first touch day to the end day. Not supported in `RunReportRequest`.", +"type": "boolean" +} +}, +"type": "object" +}, +"CohortSpec": { +"description": "The specification of cohorts for a cohort report. Cohort reports create a time series of user retention for the cohort. For example, you could select the cohort of users that were acquired in the first week of September and follow that cohort for the next six weeks. Selecting the users acquired in the first week of September cohort is specified in the `cohort` object. Following that cohort for the next six weeks is specified in the `cohortsRange` object. For examples, see [Cohort Report Examples](https://developers.google.com/analytics/devguides/reporting/data/v1/advanced#cohort_report_examples). The report response could show a weekly time series where say your app has retained 60% of this cohort after three weeks and 25% of this cohort after six weeks. These two percentages can be calculated by the metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report.", +"id": "CohortSpec", +"properties": { +"cohortReportSettings": { +"$ref": "CohortReportSettings", +"description": "Optional settings for a cohort report." +}, +"cohorts": { +"description": "Defines the selection criteria to group users into cohorts. Most cohort reports define only a single cohort. If multiple cohorts are specified, each cohort can be recognized in the report by their name.", +"items": { +"$ref": "Cohort" +}, +"type": "array" +}, +"cohortsRange": { +"$ref": "CohortsRange", +"description": "Cohort reports follow cohorts over an extended reporting date range. This range specifies an offset duration to follow the cohorts over." +} +}, +"type": "object" +}, +"CohortsRange": { +"description": "Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.", +"id": "CohortsRange", +"properties": { +"endOffset": { +"description": "Required. `endOffset` specifies the end date of the extended reporting date range for a cohort report. `endOffset` can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If `granularity` is `DAILY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset` days. If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate` of the cohort plus `endOffset * 30` days.", +"format": "int32", +"type": "integer" +}, +"granularity": { +"description": "Required. The granularity used to interpret the `startOffset` and `endOffset` for the extended reporting date range for a cohort report.", +"enum": [ +"GRANULARITY_UNSPECIFIED", +"DAILY", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Should never be specified.", +"Daily granularity. Commonly used if the cohort's `dateRange` is a single day and the request contains `cohortNthDay`.", +"Weekly granularity. Commonly used if the cohort's `dateRange` is a week in duration (starting on Sunday and ending on Saturday) and the request contains `cohortNthWeek`.", +"Monthly granularity. Commonly used if the cohort's `dateRange` is a month in duration and the request contains `cohortNthMonth`." +], +"type": "string" +}, +"startOffset": { +"description": "`startOffset` specifies the start date of the extended reporting date range for a cohort report. `startOffset` is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If `granularity` is `DAILY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of the extended reporting date range is `startDate` of the cohort plus `startOffset * 30` days.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Comparison": { +"description": "Defines an individual comparison. Most requests will include multiple comparisons so that the report compares between the comparisons.", +"id": "Comparison", +"properties": { +"comparison": { +"description": "A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'.", +"type": "string" +}, +"dimensionFilter": { +"$ref": "FilterExpression", +"description": "A basic comparison." +}, +"name": { +"description": "Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name.", +"type": "string" +} +}, +"type": "object" +}, +"ComparisonMetadata": { +"description": "The metadata for a single comparison.", +"id": "ComparisonMetadata", +"properties": { +"apiName": { +"description": "This comparison's resource name. Useable in [Comparison](#Comparison)'s `comparison` field. For example, 'comparisons/1234'.", +"type": "string" +}, +"description": { +"description": "This comparison's description.", +"type": "string" +}, +"uiName": { +"description": "This comparison's name within the Google Analytics user interface.", +"type": "string" +} +}, +"type": "object" +}, +"ConcatenateExpression": { +"description": "Used to combine dimension values to a single dimension.", +"id": "ConcatenateExpression", +"properties": { +"delimiter": { +"description": "The delimiter placed between dimension names. Delimiters are often single characters such as \"|\" or \",\" but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = \"US,FR\", dimension 2 value = \"JP\", and delimiter = \",\", then the response will contain \"US,FR,JP\".", +"type": "string" +}, +"dimensionNames": { +"description": "Names of dimensions. The names must refer back to names in the dimensions field of the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DateRange": { +"description": "A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`. Requests are allowed up to 4 date ranges.", +"id": "DateRange", +"properties": { +"endDate": { +"description": "The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.", +"type": "string" +}, +"name": { +"description": "Assigns a name to this date range. The dimension `dateRange` is valued to this name in a report response. If set, cannot begin with `date_range_` or `RESERVED_`. If not set, date ranges are named by their zero based index in the request: `date_range_0`, `date_range_1`, etc.", +"type": "string" +}, +"startDate": { +"description": "The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the property's reporting time zone.", +"type": "string" +} +}, +"type": "object" +}, +"Dimension": { +"description": "Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, the city could be \"Paris\" or \"New York\". Requests are allowed up to 9 dimensions.", +"id": "Dimension", +"properties": { +"dimensionExpression": { +"$ref": "DimensionExpression", +"description": "One dimension can be the result of an expression of multiple dimensions. For example, dimension \"country, city\": concatenate(country, \", \", city)." +}, +"name": { +"description": "The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names supported by core reporting methods such as `runReport` and `batchRunReports`. See [Realtime Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) for the list of dimension names supported by the `runRealtimeReport` method. See [Funnel Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) for the list of dimension names supported by the `runFunnelReport` method. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionCompatibility": { +"description": "The compatibility for a single dimension.", +"id": "DimensionCompatibility", +"properties": { +"compatibility": { +"description": "The compatibility of this dimension. If the compatibility is COMPATIBLE, this dimension can be successfully added to the report.", +"enum": [ +"COMPATIBILITY_UNSPECIFIED", +"COMPATIBLE", +"INCOMPATIBLE" +], +"enumDescriptions": [ +"Unspecified compatibility.", +"The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", +"The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." +], +"type": "string" +}, +"dimensionMetadata": { +"$ref": "DimensionMetadata", +"description": "The dimension metadata contains the API name for this compatibility information. The dimension metadata also contains other helpful information like the UI name and description." +} +}, +"type": "object" +}, +"DimensionExpression": { +"description": "Used to express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).", +"id": "DimensionExpression", +"properties": { +"concatenate": { +"$ref": "ConcatenateExpression", +"description": "Used to combine dimension values to a single dimension. For example, dimension \"country, city\": concatenate(country, \", \", city)." +}, +"lowerCase": { +"$ref": "CaseExpression", +"description": "Used to convert a dimension value to lower case." +}, +"upperCase": { +"$ref": "CaseExpression", +"description": "Used to convert a dimension value to upper case." +} +}, +"type": "object" +}, +"DimensionHeader": { +"description": "Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.", +"id": "DimensionHeader", +"properties": { +"name": { +"description": "The dimension's name.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionMetadata": { +"description": "Explains a dimension.", +"id": "DimensionMetadata", +"properties": { +"apiName": { +"description": "This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.", +"type": "string" +}, +"category": { +"description": "The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.", +"type": "string" +}, +"customDefinition": { +"description": "True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.", +"type": "boolean" +}, +"deprecatedApiNames": { +"description": "Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Description of how this dimension is used and calculated.", +"type": "string" +}, +"uiName": { +"description": "This dimension's name within the Google Analytics user interface. For example, `Event name`.", +"type": "string" +} +}, +"type": "object" +}, +"DimensionOrderBy": { +"description": "Sorts by dimension values.", +"id": "DimensionOrderBy", +"properties": { +"dimensionName": { +"description": "A dimension name in the request to order by.", +"type": "string" +}, +"orderType": { +"description": "Controls the rule for dimension value ordering.", +"enum": [ +"ORDER_TYPE_UNSPECIFIED", +"ALPHANUMERIC", +"CASE_INSENSITIVE_ALPHANUMERIC", +"NUMERIC" +], +"enumDescriptions": [ +"Unspecified.", +"Alphanumeric sort by Unicode code point. For example, \"2\" < \"A\" < \"X\" < \"b\" < \"z\".", +"Case insensitive alphanumeric sort by lower case Unicode code point. For example, \"2\" < \"A\" < \"b\" < \"X\" < \"z\".", +"Dimension values are converted to numbers before sorting. For example in NUMERIC sort, \"25\" < \"100\", and in `ALPHANUMERIC` sort, \"100\" < \"25\". Non-numeric dimension values all have equal ordering value below all numeric values." +], +"type": "string" +} +}, +"type": "object" +}, +"DimensionValue": { +"description": "The value of a dimension.", +"id": "DimensionValue", +"properties": { +"value": { +"description": "Value as a string if the dimension type is a string.", +"type": "string" +} +}, +"type": "object" +}, +"EmptyFilter": { +"description": "Filter for empty values.", +"id": "EmptyFilter", +"properties": {}, +"type": "object" +}, +"Filter": { +"description": "An expression to filter dimension or metric values.", +"id": "Filter", +"properties": { +"betweenFilter": { +"$ref": "BetweenFilter", +"description": "A filter for two values." +}, +"emptyFilter": { +"$ref": "EmptyFilter", +"description": "A filter for empty values such as \"(not set)\" and \"\" values." +}, +"fieldName": { +"description": "The dimension name or metric name. In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.", +"type": "string" +}, +"inListFilter": { +"$ref": "InListFilter", +"description": "A filter for in list values." +}, +"numericFilter": { +"$ref": "NumericFilter", +"description": "A filter for numeric or date values." +}, +"stringFilter": { +"$ref": "StringFilter", +"description": "Strings related filter." +} +}, +"type": "object" +}, +"FilterExpression": { +"description": "To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.", +"id": "FilterExpression", +"properties": { +"andGroup": { +"$ref": "FilterExpressionList", +"description": "The FilterExpressions in and_group have an AND relationship." +}, +"filter": { +"$ref": "Filter", +"description": "A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics." +}, +"notExpression": { +"$ref": "FilterExpression", +"description": "The FilterExpression is NOT of not_expression." +}, +"orGroup": { +"$ref": "FilterExpressionList", +"description": "The FilterExpressions in or_group have an OR relationship." +} +}, +"type": "object" +}, +"FilterExpressionList": { +"description": "A list of filter expressions.", +"id": "FilterExpressionList", +"properties": { +"expressions": { +"description": "A list of filter expressions.", +"items": { +"$ref": "FilterExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"InListFilter": { +"description": "The result needs to be in a list of string values.", +"id": "InListFilter", +"properties": { +"caseSensitive": { +"description": "If true, the string value is case sensitive.", +"type": "boolean" +}, +"values": { +"description": "The list of string values. Must be non-empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAudienceExportsResponse": { +"description": "A list of all audience exports for a property.", +"id": "ListAudienceExportsResponse", +"properties": { +"audienceExports": { +"description": "Each audience export for a property.", +"items": { +"$ref": "AudienceExport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "The dimensions, metrics and comparisons currently accepted in reporting methods.", +"id": "Metadata", +"properties": { +"comparisons": { +"description": "The comparison descriptions.", +"items": { +"$ref": "ComparisonMetadata" +}, +"type": "array" +}, +"dimensions": { +"description": "The dimension descriptions.", +"items": { +"$ref": "DimensionMetadata" +}, +"type": "array" +}, +"metrics": { +"description": "The metric descriptions.", +"items": { +"$ref": "MetricMetadata" +}, +"type": "array" +}, +"name": { +"description": "Resource name of this metadata.", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "The quantitative measurements of a report. For example, the metric `eventCount` is the total number of events. Requests are allowed up to 10 metrics.", +"id": "Metric", +"properties": { +"expression": { +"description": "A mathematical expression for derived metrics. For example, the metric Event count per user is `eventCount/totalUsers`.", +"type": "string" +}, +"invisible": { +"description": "Indicates if a metric is invisible in the report response. If a metric is invisible, the metric will not produce a column in the response, but can be used in `metricFilter`, `orderBys`, or a metric `expression`.", +"type": "boolean" +}, +"name": { +"description": "The name of the metric. See the [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of metric names supported by core reporting methods such as `runReport` and `batchRunReports`. See [Realtime Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) for the list of metric names supported by the `runRealtimeReport` method. See [Funnel Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) for the list of metric names supported by the `runFunnelReport` method. If `expression` is specified, `name` can be any string that you would like within the allowed character set. For example if `expression` is `screenPageViews/sessions`, you could call that metric's name = `viewsPerSession`. Metric names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric `expression`.", +"type": "string" +} +}, +"type": "object" +}, +"MetricCompatibility": { +"description": "The compatibility for a single metric.", +"id": "MetricCompatibility", +"properties": { +"compatibility": { +"description": "The compatibility of this metric. If the compatibility is COMPATIBLE, this metric can be successfully added to the report.", +"enum": [ +"COMPATIBILITY_UNSPECIFIED", +"COMPATIBLE", +"INCOMPATIBLE" +], +"enumDescriptions": [ +"Unspecified compatibility.", +"The dimension or metric is compatible. This dimension or metric can be successfully added to a report.", +"The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report." +], +"type": "string" +}, +"metricMetadata": { +"$ref": "MetricMetadata", +"description": "The metric metadata contains the API name for this compatibility information. The metric metadata also contains other helpful information like the UI name and description." +} +}, +"type": "object" +}, +"MetricHeader": { +"description": "Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.", +"id": "MetricHeader", +"properties": { +"name": { +"description": "The metric's name.", +"type": "string" +}, +"type": { +"description": "The metric's data type.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"TYPE_INTEGER", +"TYPE_FLOAT", +"TYPE_SECONDS", +"TYPE_MILLISECONDS", +"TYPE_MINUTES", +"TYPE_HOURS", +"TYPE_STANDARD", +"TYPE_CURRENCY", +"TYPE_FEET", +"TYPE_MILES", +"TYPE_METERS", +"TYPE_KILOMETERS" +], +"enumDescriptions": [ +"Unspecified type.", +"Integer type.", +"Floating point type.", +"A duration of seconds; a special floating point type.", +"A duration in milliseconds; a special floating point type.", +"A duration in minutes; a special floating point type.", +"A duration in hours; a special floating point type.", +"A custom metric of standard type; a special floating point type.", +"An amount of money; a special floating point type.", +"A length in feet; a special floating point type.", +"A length in miles; a special floating point type.", +"A length in meters; a special floating point type.", +"A length in kilometers; a special floating point type." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricMetadata": { +"description": "Explains a metric.", +"id": "MetricMetadata", +"properties": { +"apiName": { +"description": "A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.", +"type": "string" +}, +"blockedReasons": { +"description": "If reasons are specified, your access is blocked to this metric for this property. API requests from you to this property for this metric will succeed; however, the report will contain only zeros for this metric. API requests with metric filters on blocked metrics will fail. If reasons are empty, you have access to this metric. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).", +"items": { +"enum": [ +"BLOCKED_REASON_UNSPECIFIED", +"NO_REVENUE_METRICS", +"NO_COST_METRICS" +], +"enumDescriptions": [ +"Will never be specified in API response.", +"If present, your access is blocked to revenue related metrics for this property, and this metric is revenue related.", +"If present, your access is blocked to cost related metrics for this property, and this metric is cost related." +], +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "The display name of the category that this metrics belongs to. Similar dimensions and metrics are categorized together.", +"type": "string" +}, +"customDefinition": { +"description": "True if the metric is a custom metric for this property.", +"type": "boolean" +}, +"deprecatedApiNames": { +"description": "Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Description of how this metric is used and calculated.", +"type": "string" +}, +"expression": { +"description": "The mathematical expression for this derived metric. Can be used in [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.", +"type": "string" +}, +"type": { +"description": "The type of this metric.", +"enum": [ +"METRIC_TYPE_UNSPECIFIED", +"TYPE_INTEGER", +"TYPE_FLOAT", +"TYPE_SECONDS", +"TYPE_MILLISECONDS", +"TYPE_MINUTES", +"TYPE_HOURS", +"TYPE_STANDARD", +"TYPE_CURRENCY", +"TYPE_FEET", +"TYPE_MILES", +"TYPE_METERS", +"TYPE_KILOMETERS" +], +"enumDescriptions": [ +"Unspecified type.", +"Integer type.", +"Floating point type.", +"A duration of seconds; a special floating point type.", +"A duration in milliseconds; a special floating point type.", +"A duration in minutes; a special floating point type.", +"A duration in hours; a special floating point type.", +"A custom metric of standard type; a special floating point type.", +"An amount of money; a special floating point type.", +"A length in feet; a special floating point type.", +"A length in miles; a special floating point type.", +"A length in meters; a special floating point type.", +"A length in kilometers; a special floating point type." +], +"type": "string" +}, +"uiName": { +"description": "This metric's name within the Google Analytics user interface. For example, `Event count`.", +"type": "string" +} +}, +"type": "object" +}, +"MetricOrderBy": { +"description": "Sorts by metric values.", +"id": "MetricOrderBy", +"properties": { +"metricName": { +"description": "A metric name in the request to order by.", +"type": "string" +} +}, +"type": "object" +}, +"MetricValue": { +"description": "The value of a metric.", +"id": "MetricValue", +"properties": { +"value": { +"description": "Measurement value. See MetricHeader for type.", +"type": "string" +} +}, +"type": "object" +}, +"MinuteRange": { +"description": "A contiguous set of minutes: `startMinutesAgo`, `startMinutesAgo + 1`, ..., `endMinutesAgo`. Requests are allowed up to 2 minute ranges.", +"id": "MinuteRange", +"properties": { +"endMinutesAgo": { +"description": "The inclusive end minute for the query as a number of minutes before now. Cannot be before `startMinutesAgo`. For example, `\"endMinutesAgo\": 15` specifies the report should include event data from prior to 15 minutes ago. If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics properties can request any minute in the last 30 minutes of event data (`endMinutesAgo <= 29`), and 360 Analytics properties can request any minute in the last 60 minutes of event data (`endMinutesAgo <= 59`).", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Assigns a name to this minute range. The dimension `dateRange` is valued to this name in a report response. If set, cannot begin with `date_range_` or `RESERVED_`. If not set, minute ranges are named by their zero based index in the request: `date_range_0`, `date_range_1`, etc.", +"type": "string" +}, +"startMinutesAgo": { +"description": "The inclusive start minute for the query as a number of minutes before now. For example, `\"startMinutesAgo\": 29` specifies the report should include event data from 29 minutes ago and after. Cannot be after `endMinutesAgo`. If unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics properties can request up to the last 30 minutes of event data (`startMinutesAgo <= 29`), and 360 Analytics properties can request up to the last 60 minutes of event data (`startMinutesAgo <= 59`).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NumericFilter": { +"description": "Filters for numeric or date values.", +"id": "NumericFilter", +"properties": { +"operation": { +"description": "The operation type for this filter.", +"enum": [ +"OPERATION_UNSPECIFIED", +"EQUAL", +"LESS_THAN", +"LESS_THAN_OR_EQUAL", +"GREATER_THAN", +"GREATER_THAN_OR_EQUAL" +], +"enumDescriptions": [ +"Unspecified.", +"Equal", +"Less than", +"Less than or equal", +"Greater than", +"Greater than or equal" +], +"type": "string" +}, +"value": { +"$ref": "NumericValue", +"description": "A numeric value or a date value." +} +}, +"type": "object" +}, +"NumericValue": { +"description": "To represent a number.", +"id": "NumericValue", +"properties": { +"doubleValue": { +"description": "Double value", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "Integer value", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OrderBy": { +"description": "Order bys define how rows will be sorted in the response. For example, ordering rows by descending event count is one ordering, and ordering rows by the event name string is a different ordering.", +"id": "OrderBy", +"properties": { +"desc": { +"description": "If true, sorts by descending order.", +"type": "boolean" +}, +"dimension": { +"$ref": "DimensionOrderBy", +"description": "Sorts results by a dimension's values." +}, +"metric": { +"$ref": "MetricOrderBy", +"description": "Sorts results by a metric's values." +}, +"pivot": { +"$ref": "PivotOrderBy", +"description": "Sorts results by a metric's values within a pivot column group." +} +}, +"type": "object" +}, +"Pivot": { +"description": "Describes the visible dimension columns and rows in the report response.", +"id": "Pivot", +"properties": { +"fieldNames": { +"description": "Dimension names for visible columns in the report response. Including \"dateRange\" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"limit": { +"description": "The number of unique combinations of dimension values to return in this pivot. The `limit` parameter is required. A `limit` of 10,000 is common for single pivot requests. The product of the `limit` for each `pivot` in a `RunPivotReportRequest` must not exceed 250,000. For example, a two pivot request with `limit: 1000` in each pivot will fail because the product is `1,000,000`.", +"format": "int64", +"type": "string" +}, +"metricAggregations": { +"description": "Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.", +"items": { +"enum": [ +"METRIC_AGGREGATION_UNSPECIFIED", +"TOTAL", +"MINIMUM", +"MAXIMUM", +"COUNT" +], +"enumDescriptions": [ +"Unspecified operator.", +"SUM operator.", +"Minimum operator.", +"Maximum operator.", +"Count operator." +], +"type": "string" +}, +"type": "array" +}, +"offset": { +"description": "The row count of the start row. The first row is counted as row 0.", +"format": "int64", +"type": "string" +}, +"orderBys": { +"description": "Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.", +"items": { +"$ref": "OrderBy" +}, +"type": "array" +} +}, +"type": "object" +}, +"PivotDimensionHeader": { +"description": "Summarizes dimension values from a row for this pivot.", +"id": "PivotDimensionHeader", +"properties": { +"dimensionValues": { +"description": "Values of multiple dimensions in a pivot.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"PivotHeader": { +"description": "Dimensions' values in a single pivot.", +"id": "PivotHeader", +"properties": { +"pivotDimensionHeaders": { +"description": "The size is the same as the cardinality of the corresponding dimension combinations.", +"items": { +"$ref": "PivotDimensionHeader" +}, +"type": "array" +}, +"rowCount": { +"description": "The cardinality of the pivot. The total number of rows for this pivot's fields regardless of how the parameters `offset` and `limit` are specified in the request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PivotOrderBy": { +"description": "Sorts by a pivot column group.", +"id": "PivotOrderBy", +"properties": { +"metricName": { +"description": "In the response to order by, order rows by this column. Must be a metric name from the request.", +"type": "string" +}, +"pivotSelections": { +"description": "Used to select a dimension name and value pivot. If multiple pivot selections are given, the sort occurs on rows where all pivot selection dimension name and value pairs match the row's dimension name and value pair.", +"items": { +"$ref": "PivotSelection" +}, +"type": "array" +} +}, +"type": "object" +}, +"PivotSelection": { +"description": "A pair of dimension names and values. Rows with this dimension pivot pair are ordered by the metric's value. For example if pivots = {{\"browser\", \"Chrome\"}} and metric_name = \"Sessions\", then the rows will be sorted based on Sessions in Chrome. ---------|----------|----------------|----------|---------------- | Chrome | Chrome | Safari | Safari ---------|----------|----------------|----------|---------------- Country | Sessions | Pages/Sessions | Sessions | Pages/Sessions ---------|----------|----------------|----------|---------------- US | 2 | 2 | 3 | 1 ---------|----------|----------------|----------|---------------- Canada | 3 | 1 | 4 | 1 ---------|----------|----------------|----------|----------------", +"id": "PivotSelection", +"properties": { +"dimensionName": { +"description": "Must be a dimension name from the request.", +"type": "string" +}, +"dimensionValue": { +"description": "Order by only when the named dimension is this value.", +"type": "string" +} +}, +"type": "object" +}, +"PropertyQuota": { +"description": "Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.", +"id": "PropertyQuota", +"properties": { +"concurrentRequests": { +"$ref": "QuotaStatus", +"description": "Standard Analytics Properties can send up to 10 concurrent requests; Analytics 360 Properties can use up to 50 concurrent requests." +}, +"potentiallyThresholdedRequestsPerHour": { +"$ref": "QuotaStatus", +"description": "Analytics Properties can send up to 120 requests with potentially thresholded dimensions per hour. In a batch request, each report request is individually counted for this quota if the request contains potentially thresholded dimensions." +}, +"serverErrorsPerProjectPerHour": { +"$ref": "QuotaStatus", +"description": "Standard Analytics Properties and cloud project pairs can have up to 10 server errors per hour; Analytics 360 Properties and cloud project pairs can have up to 50 server errors per hour." +}, +"tokensPerDay": { +"$ref": "QuotaStatus", +"description": "Standard Analytics Properties can use up to 200,000 tokens per day; Analytics 360 Properties can use 2,000,000 tokens per day. Most requests consume fewer than 10 tokens." +}, +"tokensPerHour": { +"$ref": "QuotaStatus", +"description": "Standard Analytics Properties can use up to 40,000 tokens per hour; Analytics 360 Properties can use 400,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." +}, +"tokensPerProjectPerHour": { +"$ref": "QuotaStatus", +"description": "Analytics Properties can use up to 35% of their tokens per project per hour. This amounts to standard Analytics Properties can use up to 14,000 tokens per project per hour, and Analytics 360 Properties can use 140,000 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." +} +}, +"type": "object" +}, +"QueryAudienceExportRequest": { +"description": "A request to list users in an audience export.", +"id": "QueryAudienceExportRequest", +"properties": { +"limit": { +"description": "Optional. The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int64", +"type": "string" +}, +"offset": { +"description": "Optional. The row count of the start row. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"QueryAudienceExportResponse": { +"description": "A list of users in an audience export.", +"id": "QueryAudienceExportResponse", +"properties": { +"audienceExport": { +"$ref": "AudienceExport", +"description": "Configuration data about AudienceExport being queried. Returned to help interpret the audience rows in this response. For example, the dimensions in this AudienceExport correspond to the columns in the AudienceRows." +}, +"audienceRows": { +"description": "Rows for each user in an audience export. The number of rows in this response will be less than or equal to request's page size.", +"items": { +"$ref": "V1betaAudienceRow" +}, +"type": "array" +}, +"rowCount": { +"description": "The total number of rows in the AudienceExport result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"QuotaStatus": { +"description": "Current state for a particular quota group.", +"id": "QuotaStatus", +"properties": { +"consumed": { +"description": "Quota consumed by this request.", +"format": "int32", +"type": "integer" +}, +"remaining": { +"description": "Quota remaining after this request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResponseMetaData": { +"description": "Response's metadata carrying additional information about the report content.", +"id": "ResponseMetaData", +"properties": { +"currencyCode": { +"description": "The currency code used in this report. Intended to be used in formatting currency metrics like `purchaseRevenue` for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example \"USD\", \"EUR\", \"JPY\". To learn more, see https://support.google.com/analytics/answer/9796179.", +"type": "string" +}, +"dataLossFromOtherRow": { +"description": "If true, indicates some buckets of dimension combinations are rolled into \"(other)\" row. This can happen for high cardinality reports. The metadata parameter dataLossFromOtherRow is populated based on the aggregated data table used in the report. The parameter will be accurately populated regardless of the filters and limits in the report. For example, the (other) row could be dropped from the report because the request contains a filter on sessionSource = google. This parameter will still be populated if data loss from other row was present in the input aggregate data used to generate this report. To learn more, see [About the (other) row and data sampling](https://support.google.com/analytics/answer/13208658#reports).", +"type": "boolean" +}, +"emptyReason": { +"description": "If empty reason is specified, the report is empty for this reason.", +"type": "string" +}, +"samplingMetadatas": { +"description": "If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. One `samplingMetadatas` is populated for each date range. Each `samplingMetadatas` corresponds to a date range in order that date ranges were specified in the request. However if the results are not sampled, this field will not be defined.", +"items": { +"$ref": "SamplingMetadata" +}, +"type": "array" +}, +"schemaRestrictionResponse": { +"$ref": "SchemaRestrictionResponse", +"description": "Describes the schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388)." +}, +"subjectToThresholding": { +"description": "If `subjectToThresholding` is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see [Data thresholds](https://support.google.com/analytics/answer/9383630).", +"type": "boolean" +}, +"timeZone": { +"description": "The property's current timezone. Intended to be used to interpret time-based dimensions like `hour` and `minute`. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example \"America/New_York\" or \"Asia/Tokyo\".", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "Report data for each row. For example if RunReportRequest contains: ```none \"dimensions\": [ { \"name\": \"eventName\" }, { \"name\": \"countryId\" } ], \"metrics\": [ { \"name\": \"eventCount\" } ] ``` One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and 15 as the eventCount, would be: ```none \"dimensionValues\": [ { \"value\": \"in_app_purchase\" }, { \"value\": \"JP\" } ], \"metricValues\": [ { \"value\": \"15\" } ] ```", +"id": "Row", +"properties": { +"dimensionValues": { +"description": "List of requested dimension values. In a PivotReport, dimension_values are only listed for dimensions included in a pivot.", +"items": { +"$ref": "DimensionValue" +}, +"type": "array" +}, +"metricValues": { +"description": "List of requested visible metric values.", +"items": { +"$ref": "MetricValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunPivotReportRequest": { +"description": "The request to generate a pivot report.", +"id": "RunPivotReportRequest", +"properties": { +"cohortSpec": { +"$ref": "CohortSpec", +"description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." +}, +"comparisons": { +"description": "Optional. The configuration of comparisons requested and displayed. The request requires both a comparisons field and a comparisons dimension to receive a comparison column in the response.", +"items": { +"$ref": "Comparison" +}, +"type": "array" +}, +"currencyCode": { +"description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency.", +"type": "string" +}, +"dateRanges": { +"description": "The date range to retrieve event data for the report. If multiple date ranges are specified, event data from each date range is used in the report. A special dimension with field name \"dateRange\" can be included in a Pivot's field names; if included, the report compares between date ranges. In a cohort request, this `dateRanges` must be unspecified.", +"items": { +"$ref": "DateRange" +}, +"type": "array" +}, +"dimensionFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of dimensions. Dimensions must be requested to be used in this filter. Metrics cannot be used in this filter." +}, +"dimensions": { +"description": "The dimensions requested. All defined dimensions must be used by one of the following: dimension_expression, dimension_filter, pivots, order_bys.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"keepEmptyRows": { +"description": "If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. Regardless of this `keep_empty_rows` setting, only data recorded by the Google Analytics property can be displayed in a report. For example if a property never logs a `purchase` event, then a query for the `eventName` dimension and `eventCount` metric will not have a row eventName: \"purchase\" and eventCount: 0.", +"type": "boolean" +}, +"metricFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Metrics must be requested to be used in this filter. Dimensions cannot be used in this filter." +}, +"metrics": { +"description": "The metrics requested, at least one metric needs to be specified. All defined metrics must be used by one of the following: metric_expression, metric_filter, order_bys.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"pivots": { +"description": "Describes the visual format of the report's dimensions in columns or rows. The union of the fieldNames (dimension names) in all pivots must be a subset of dimension names defined in Dimensions. No two pivots can share a dimension. A dimension is only visible if it appears in a pivot.", +"items": { +"$ref": "Pivot" +}, +"type": "array" +}, +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234", +"type": "string" +}, +"returnPropertyQuota": { +"description": "Toggles whether to return the current state of this Google Analytics property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).", +"type": "boolean" +} +}, +"type": "object" +}, +"RunPivotReportResponse": { +"description": "The response pivot report table corresponding to a pivot request.", +"id": "RunPivotReportResponse", +"properties": { +"aggregates": { +"description": "Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is shown by the dimension_values which are set to \"RESERVED_\".", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"dimensionHeaders": { +"description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", +"items": { +"$ref": "DimensionHeader" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runPivotReport\". Useful to distinguish between response types in JSON.", +"type": "string" +}, +"metadata": { +"$ref": "ResponseMetaData", +"description": "Metadata for the report." +}, +"metricHeaders": { +"description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", +"items": { +"$ref": "MetricHeader" +}, +"type": "array" +}, +"pivotHeaders": { +"description": "Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: \"pivots\": [{ \"fieldNames\": [\"country\", \"city\"] }, { \"fieldNames\": \"eventName\" }] We will have the following `pivotHeaders` in the response: \"pivotHeaders\" : [{ \"dimensionHeaders\": [{ \"dimensionValues\": [ { \"value\": \"United Kingdom\" }, { \"value\": \"London\" } ] }, { \"dimensionValues\": [ { \"value\": \"Japan\" }, { \"value\": \"Osaka\" } ] }] }, { \"dimensionHeaders\": [{ \"dimensionValues\": [{ \"value\": \"session_start\" }] }, { \"dimensionValues\": [{ \"value\": \"scroll\" }] }] }]", +"items": { +"$ref": "PivotHeader" +}, +"type": "array" +}, +"propertyQuota": { +"$ref": "PropertyQuota", +"description": "This Google Analytics property's quota state including this request." +}, +"rows": { +"description": "Rows of dimension value combinations and metric values in the report.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunRealtimeReportRequest": { +"description": "The request to generate a realtime report.", +"id": "RunRealtimeReportRequest", +"properties": { +"dimensionFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of dimensions. Metrics cannot be used in this filter." +}, +"dimensions": { +"description": "The dimensions requested and displayed.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"limit": { +"description": "The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value.", +"format": "int64", +"type": "string" +}, +"metricAggregations": { +"description": "Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to \"RESERVED_(MetricAggregation)\".", +"items": { +"enum": [ +"METRIC_AGGREGATION_UNSPECIFIED", +"TOTAL", +"MINIMUM", +"MAXIMUM", +"COUNT" +], +"enumDescriptions": [ +"Unspecified operator.", +"SUM operator.", +"Minimum operator.", +"Maximum operator.", +"Count operator." +], +"type": "string" +}, +"type": "array" +}, +"metricFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of metrics. Applied at post aggregation phase, similar to SQL having-clause. Dimensions cannot be used in this filter." +}, +"metrics": { +"description": "The metrics requested and displayed.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"minuteRanges": { +"description": "The minute ranges of event data to read. If unspecified, one minute range for the last 30 minutes will be used. If multiple minute ranges are requested, each response row will contain a zero based minute range index. If two minute ranges overlap, the event data for the overlapping minutes is included in the response rows for both minute ranges.", +"items": { +"$ref": "MinuteRange" +}, +"type": "array" +}, +"orderBys": { +"description": "Specifies how rows are ordered in the response.", +"items": { +"$ref": "OrderBy" +}, +"type": "array" +}, +"returnPropertyQuota": { +"description": "Toggles whether to return the current state of this Google Analytics property's Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).", +"type": "boolean" +} +}, +"type": "object" +}, +"RunRealtimeReportResponse": { +"description": "The response realtime report table corresponding to a request.", +"id": "RunRealtimeReportResponse", +"properties": { +"dimensionHeaders": { +"description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", +"items": { +"$ref": "DimensionHeader" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runRealtimeReport\". Useful to distinguish between response types in JSON.", +"type": "string" +}, +"maximums": { +"description": "If requested, the maximum values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"metricHeaders": { +"description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", +"items": { +"$ref": "MetricHeader" +}, +"type": "array" +}, +"minimums": { +"description": "If requested, the minimum values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"propertyQuota": { +"$ref": "PropertyQuota", +"description": "This Google Analytics property's Realtime quota state including this request." +}, +"rowCount": { +"description": "The total number of rows in the query result. `rowCount` is independent of the number of rows returned in the response and the `limit` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows.", +"format": "int32", +"type": "integer" +}, +"rows": { +"description": "Rows of dimension value combinations and metric values in the report.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"totals": { +"description": "If requested, the totaled values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunReportRequest": { +"description": "The request to generate a report.", +"id": "RunReportRequest", +"properties": { +"cohortSpec": { +"$ref": "CohortSpec", +"description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." +}, +"comparisons": { +"description": "Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.", +"items": { +"$ref": "Comparison" +}, +"type": "array" +}, +"currencyCode": { +"description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency.", +"type": "string" +}, +"dateRanges": { +"description": "Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.", +"items": { +"$ref": "DateRange" +}, +"type": "array" +}, +"dimensionFilter": { +"$ref": "FilterExpression", +"description": "Dimension filters let you ask for only specific dimension values in the report. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter." +}, +"dimensions": { +"description": "The dimensions requested and displayed.", +"items": { +"$ref": "Dimension" +}, +"type": "array" +}, +"keepEmptyRows": { +"description": "If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. Regardless of this `keep_empty_rows` setting, only data recorded by the Google Analytics property can be displayed in a report. For example if a property never logs a `purchase` event, then a query for the `eventName` dimension and `eventCount` metric will not have a row eventName: \"purchase\" and eventCount: 0.", +"type": "boolean" +}, +"limit": { +"description": "The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int64", +"type": "string" +}, +"metricAggregations": { +"description": "Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to \"RESERVED_(MetricAggregation)\". Aggregates including both comparisons and multiple date ranges will be aggregated based on the date ranges.", +"items": { +"enum": [ +"METRIC_AGGREGATION_UNSPECIFIED", +"TOTAL", +"MINIMUM", +"MAXIMUM", +"COUNT" +], +"enumDescriptions": [ +"Unspecified operator.", +"SUM operator.", +"Minimum operator.", +"Maximum operator.", +"Count operator." +], +"type": "string" +}, +"type": "array" +}, +"metricFilter": { +"$ref": "FilterExpression", +"description": "The filter clause of metrics. Applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter." +}, +"metrics": { +"description": "The metrics requested and displayed.", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"offset": { +"description": "The row count of the start row. The first row is counted as row 0. When paging, the first request does not specify offset; or equivalently, sets offset to 0; the first request returns the first `limit` of rows. The second request sets offset to the `limit` of the first request; the second request returns the second `limit` of rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int64", +"type": "string" +}, +"orderBys": { +"description": "Specifies how rows are ordered in the response. Requests including both comparisons and multiple date ranges will have order bys applied on the comparisons.", +"items": { +"$ref": "OrderBy" +}, +"type": "array" +}, +"property": { +"description": "A Google Analytics property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). Within a batch request, this property should either be unspecified or consistent with the batch-level property. Example: properties/1234", +"type": "string" +}, +"returnPropertyQuota": { +"description": "Toggles whether to return the current state of this Google Analytics property's quota. Quota is returned in [PropertyQuota](#PropertyQuota).", +"type": "boolean" +} +}, +"type": "object" +}, +"RunReportResponse": { +"description": "The response report table corresponding to a request.", +"id": "RunReportResponse", +"properties": { +"dimensionHeaders": { +"description": "Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", +"items": { +"$ref": "DimensionHeader" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runReport\". Useful to distinguish between response types in JSON.", +"type": "string" +}, +"maximums": { +"description": "If requested, the maximum values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"metadata": { +"$ref": "ResponseMetaData", +"description": "Metadata for the report." +}, +"metricHeaders": { +"description": "Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", +"items": { +"$ref": "MetricHeader" +}, +"type": "array" +}, +"minimums": { +"description": "If requested, the minimum values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"propertyQuota": { +"$ref": "PropertyQuota", +"description": "This Google Analytics property's quota state including this request." +}, +"rowCount": { +"description": "The total number of rows in the query result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", +"format": "int32", +"type": "integer" +}, +"rows": { +"description": "Rows of dimension value combinations and metric values in the report.", +"items": { +"$ref": "Row" +}, +"type": "array" +}, +"totals": { +"description": "If requested, the totaled values of metrics.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"SamplingMetadata": { +"description": "If this report results is [sampled](https://support.google.com/analytics/answer/13331292), this describes the percentage of events used in this report. Sampling is the practice of analyzing a subset of all data in order to uncover the meaningful information in the larger data set.", +"id": "SamplingMetadata", +"properties": { +"samplesReadCount": { +"description": "The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this report.", +"format": "int64", +"type": "string" +}, +"samplingSpaceSize": { +"description": "The total number of events present in this property's data that could have been analyzed in this report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set. To calculate the percentage of available data that was used in this report, compute `samplesReadCount/samplingSpaceSize`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SchemaRestrictionResponse": { +"description": "The schema restrictions actively enforced in creating this report. To learn more, see [Access and data-restriction management](https://support.google.com/analytics/answer/10851388).", +"id": "SchemaRestrictionResponse", +"properties": { +"activeMetricRestrictions": { +"description": "All restrictions actively enforced in creating the report. For example, `purchaseRevenue` always has the restriction type `REVENUE_DATA`. However, this active response restriction is only populated if the user's custom role disallows access to `REVENUE_DATA`.", +"items": { +"$ref": "ActiveMetricRestriction" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StringFilter": { +"description": "The filter for string", +"id": "StringFilter", +"properties": { +"caseSensitive": { +"description": "If true, the string value is case sensitive.", +"type": "boolean" +}, +"matchType": { +"description": "The match type for this filter.", +"enum": [ +"MATCH_TYPE_UNSPECIFIED", +"EXACT", +"BEGINS_WITH", +"ENDS_WITH", +"CONTAINS", +"FULL_REGEXP", +"PARTIAL_REGEXP" +], +"enumDescriptions": [ +"Unspecified", +"Exact match of the string value.", +"Begins with the string value.", +"Ends with the string value.", +"Contains the string value.", +"Full match for the regular expression with the string value.", +"Partial match for the regular expression with the string value." +], +"type": "string" +}, +"value": { +"description": "The string value used for the matching.", +"type": "string" +} +}, +"type": "object" +}, +"V1betaAudienceDimension": { +"description": "An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the `QueryAudienceExportResponse`.", +"id": "V1betaAudienceDimension", +"properties": { +"dimensionName": { +"description": "Optional. The API name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) for the list of dimension names.", +"type": "string" +} +}, +"type": "object" +}, +"V1betaAudienceDimensionValue": { +"description": "The value of a dimension.", +"id": "V1betaAudienceDimensionValue", +"properties": { +"value": { +"description": "Value as a string if the dimension type is a string.", +"type": "string" +} +}, +"type": "object" +}, +"V1betaAudienceRow": { +"description": "Dimension value attributes for the audience user row.", +"id": "V1betaAudienceRow", +"properties": { +"dimensionValues": { +"description": "Each dimension value attribute for an audience user. One dimension value will be added for each dimension column requested.", +"items": { +"$ref": "V1betaAudienceDimensionValue" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Analytics Data API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dbe0f53ed1815e6fa4d64cb4b7681aadec7676e3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/analyticshub.v1.json @@ -0,0 +1,2964 @@ +{ +"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://analyticshub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Analytics Hub", +"description": "Exchange data and analytics assets securely and efficiently.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", +"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": "analyticshub:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://analyticshub.mtls.googleapis.com/", +"name": "analyticshub", +"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": { +"organizations": { +"resources": { +"locations": { +"resources": { +"dataExchanges": { +"methods": { +"list": { +"description": "Lists all data exchanges from projects in a given organization and location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "GET", +"id": "analyticshub.organizations.locations.dataExchanges.list", +"parameterOrder": [ +"organization" +], +"parameters": { +"organization": { +"description": "Required. The organization resource path of the projects containing DataExchanges. e.g. `organizations/myorg/locations/us`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+organization}/dataExchanges", +"response": { +"$ref": "ListOrgDataExchangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"dataExchanges": { +"methods": { +"create": { +"description": "Creates a new data exchange.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataExchangeId": { +"description": "Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the data exchange. e.g. `projects/myproject/locations/us`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataExchanges", +"request": { +"$ref": "DataExchange" +}, +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing data exchange.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.dataExchanges.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of the data exchange resource that you want to delete. For example, `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a data exchange.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:getIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.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/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all data exchanges in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the data exchanges. e.g. `projects/myproject/locations/us`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataExchanges", +"response": { +"$ref": "ListDataExchangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listSubscriptions": { +"description": "Lists all subscriptions on a given Data Exchange or Listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:listSubscriptions", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listSubscriptions", +"parameterOrder": [ +"resource" +], +"parameters": { +"includeDeletedSubscriptions": { +"description": "If selected, includes deleted subscriptions in the response (up to 63 days after deletion).", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call.", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:listSubscriptions", +"response": { +"$ref": "ListSharedResourceSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing data exchange.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}", +"httpMethod": "PATCH", +"id": "analyticshub.projects.locations.dataExchanges.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DataExchange" +}, +"response": { +"$ref": "DataExchange" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:setIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.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/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Creates a Subscription to a Data Clean Room. This is a long-running operation as it will create one or more linked datasets. Throws a Bad Request error if the Data Exchange does not contain any listings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:subscribe", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Data Exchange. e.g. `projects/publisherproject/locations/us/dataExchanges/123`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:subscribe", +"request": { +"$ref": "SubscribeDataExchangeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:testIamPermissions", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.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/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"listings": { +"methods": { +"create": { +"description": "Creates a new listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"listingId": { +"description": "Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/listings", +"request": { +"$ref": "Listing" +}, +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.dataExchanges.listings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"deleteCommercial": { +"description": "Optional. If the listing is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid deleting commercial listings accidentally.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Resource name of the listing to delete. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:getIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.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/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all listings in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/listings", +"response": { +"$ref": "ListListingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listSubscriptions": { +"description": "Lists all subscriptions on a given Data Exchange or Listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:listSubscriptions", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.listings.listSubscriptions", +"parameterOrder": [ +"resource" +], +"parameters": { +"includeDeletedSubscriptions": { +"description": "If selected, includes deleted subscriptions in the response (up to 63 days after deletion).", +"location": "query", +"type": "boolean" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call.", +"location": "query", +"type": "string" +}, +"resource": { +"description": "Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/us/dataExchanges/456 OR e.g. projects/123/locations/us/dataExchanges/456/listings/789", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:listSubscriptions", +"response": { +"$ref": "ListSharedResourceSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing listing.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}", +"httpMethod": "PATCH", +"id": "analyticshub.projects.locations.dataExchanges.listings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask specifies the fields to update in the listing resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Listing" +}, +"response": { +"$ref": "Listing" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:setIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.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/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"subscribe": { +"description": "Subscribes to a listing. Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:subscribe", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.subscribe", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the listing that you want to subscribe to. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:subscribe", +"request": { +"$ref": "SubscribeListingRequest" +}, +"response": { +"$ref": "SubscribeListingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns the permissions that a caller has.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/listings/{listingsId}:testIamPermissions", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.listings.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/[^/]+/dataExchanges/[^/]+/listings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"queryTemplates": { +"methods": { +"approve": { +"description": "Approves a query template.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:approve", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "ApproveQueryTemplateRequest" +}, +"response": { +"$ref": "QueryTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new QueryTemplate", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +}, +"queryTemplateId": { +"description": "Required. The ID of the QueryTemplate to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/queryTemplates", +"request": { +"$ref": "QueryTemplate" +}, +"response": { +"$ref": "QueryTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a query template.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a QueryTemplate", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "QueryTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all QueryTemplates in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/queryTemplates", +"response": { +"$ref": "ListQueryTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing QueryTemplate", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", +"httpMethod": "PATCH", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask specifies the fields to update in the query template resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "QueryTemplate" +}, +"response": { +"$ref": "QueryTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"submit": { +"description": "Submits a query template for approval.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:submit", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.dataExchanges.queryTemplates.submit", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:submit", +"request": { +"$ref": "SubmitQueryTemplateRequest" +}, +"response": { +"$ref": "QueryTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"subscriptions": { +"methods": { +"delete": { +"description": "Deletes a subscription.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}", +"httpMethod": "DELETE", +"id": "analyticshub.projects.locations.subscriptions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the subscription to delete. e.g. projects/123/locations/us/subscriptions/456", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a Subscription.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.subscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the subscription. e.g. projects/123/locations/us/subscriptions/456", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:getIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.subscriptions.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/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all subscriptions in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions", +"httpMethod": "GET", +"id": "analyticshub.projects.locations.subscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. Eligible fields for filtering are: + `listing` + `data_exchange` Alternatively, a literal wrapped in double quotes may be provided. This will be checked for an exact match against both fields above. In all cases, the full Data Exchange or Listing resource name must be provided. Some example of using filters: + data_exchange=\"projects/myproject/locations/us/dataExchanges/123\" + listing=\"projects/123/locations/us/dataExchanges/456/listings/789\" + \"projects/myproject/locations/us/dataExchanges/123\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token, returned by a previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource path of the subscription. e.g. projects/myproject/locations/us", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/subscriptions", +"response": { +"$ref": "ListSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"refresh": { +"description": "Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:refresh", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.subscriptions.refresh", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the Subscription to refresh. e.g. `projects/subscriberproject/locations/us/subscriptions/123`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:refresh", +"request": { +"$ref": "RefreshSubscriptionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"revoke": { +"description": "Revokes a given subscription.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:revoke", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.subscriptions.revoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the subscription to revoke. e.g. projects/123/locations/us/subscriptions/456", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:revoke", +"request": { +"$ref": "RevokeSubscriptionRequest" +}, +"response": { +"$ref": "RevokeSubscriptionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the IAM policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "analyticshub.projects.locations.subscriptions.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/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260118", +"rootUrl": "https://analyticshub.googleapis.com/", +"schemas": { +"AIInference": { +"description": "Configuration for making inference requests against Vertex AI models.", +"id": "AIInference", +"properties": { +"endpoint": { +"description": "Required. An endpoint to a Vertex AI model of the form `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API requests will be sent to this endpoint.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to make prediction requests against endpoints. The resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"unstructuredInference": { +"$ref": "UnstructuredInference", +"description": "Optional. Requests and responses can be any arbitrary JSON object." +} +}, +"type": "object" +}, +"ApproveQueryTemplateRequest": { +"description": "Message for approving a QueryTemplate.", +"id": "ApproveQueryTemplateRequest", +"properties": {}, +"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" +}, +"AvroConfig": { +"description": "Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.", +"id": "AvroConfig", +"properties": { +"useTopicSchema": { +"description": "Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.", +"type": "boolean" +}, +"writeMetadata": { +"description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.", +"type": "boolean" +} +}, +"type": "object" +}, +"BigQueryConfig": { +"description": "Configuration for a BigQuery subscription.", +"id": "BigQueryConfig", +"properties": { +"dropUnknownFields": { +"description": "Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.", +"type": "boolean" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to write to BigQuery. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"table": { +"description": "Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}", +"type": "string" +}, +"useTableSchema": { +"description": "Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.", +"type": "boolean" +}, +"useTopicSchema": { +"description": "Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.", +"type": "boolean" +}, +"writeMetadata": { +"description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.", +"type": "boolean" +} +}, +"type": "object" +}, +"BigQueryDatasetSource": { +"description": "A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset.", +"id": "BigQueryDatasetSource", +"properties": { +"dataset": { +"description": "Optional. Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123`", +"type": "string" +}, +"effectiveReplicas": { +"description": "Output only. Server-owned effective state of replicas. Contains both primary and secondary replicas. Each replica includes a system-computed (output-only) state and primary designation.", +"items": { +"$ref": "Replica" +}, +"readOnly": true, +"type": "array" +}, +"replicaLocations": { +"description": "Optional. A list of regions where the publisher has created shared dataset replicas.", +"items": { +"type": "string" +}, +"type": "array" +}, +"restrictedExportPolicy": { +"$ref": "RestrictedExportPolicy", +"description": "Optional. If set, restricted export policy will be propagated and enforced on the linked dataset." +}, +"selectedResources": { +"description": "Optional. Resource in this dataset that is selectively shared. This field is required for data clean room exchanges.", +"items": { +"$ref": "SelectedResource" +}, +"type": "array" +} +}, +"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" +}, +"CloudStorageConfig": { +"description": "Configuration for a Cloud Storage subscription.", +"id": "CloudStorageConfig", +"properties": { +"avroConfig": { +"$ref": "AvroConfig", +"description": "Optional. If set, message data will be written to Cloud Storage in Avro format." +}, +"bucket": { +"description": "Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).", +"type": "string" +}, +"filenameDatetimeFormat": { +"description": "Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).", +"type": "string" +}, +"filenamePrefix": { +"description": "Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).", +"type": "string" +}, +"filenameSuffix": { +"description": "Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in \"/\".", +"type": "string" +}, +"maxBytes": { +"description": "Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.", +"format": "int64", +"type": "string" +}, +"maxDuration": { +"description": "Optional. File batching settings. If no max_duration setting is specified, a max_duration of 5 minutes will be set by default. max_duration is required regardless of whether other file batching settings are specified. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.", +"format": "google-duration", +"type": "string" +}, +"maxMessages": { +"description": "Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.", +"format": "int64", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", +"type": "string" +}, +"textConfig": { +"$ref": "TextConfig", +"description": "Optional. If set, message data will be written to Cloud Storage in text format." +} +}, +"type": "object" +}, +"DataExchange": { +"description": "A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.", +"id": "DataExchange", +"properties": { +"description": { +"description": "Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", +"type": "string" +}, +"discoveryType": { +"description": "Optional. Type of discovery on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.", +"enum": [ +"DISCOVERY_TYPE_UNSPECIFIED", +"DISCOVERY_TYPE_PRIVATE", +"DISCOVERY_TYPE_PUBLIC" +], +"enumDescriptions": [ +"Unspecified. Defaults to DISCOVERY_TYPE_PRIVATE.", +"The Data exchange/listing can be discovered in the 'Private' results list.", +"The Data exchange/listing can be discovered in the 'Public' results list." +], +"type": "string" +}, +"displayName": { +"description": "Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.", +"type": "string" +}, +"documentation": { +"description": "Optional. Documentation describing the data exchange.", +"type": "string" +}, +"icon": { +"description": "Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", +"format": "byte", +"type": "string" +}, +"listingCount": { +"description": "Output only. Number of listings contained in the data exchange.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"logLinkedDatasetQueryUserEmail": { +"description": "Optional. By default, false. If true, the DataExchange has an email sharing mandate enabled.", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.", +"readOnly": true, +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.", +"type": "string" +}, +"sharingEnvironmentConfig": { +"$ref": "SharingEnvironmentConfig", +"description": "Optional. Configurable data sharing environment option for a data exchange." +} +}, +"type": "object" +}, +"DataProvider": { +"description": "Contains details of the data provider.", +"id": "DataProvider", +"properties": { +"name": { +"description": "Optional. Name of the data provider.", +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the data provider. Max Length: 1000 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"DcrExchangeConfig": { +"description": "Data Clean Room (DCR), used for privacy-safe and secured data sharing.", +"id": "DcrExchangeConfig", +"properties": { +"singleLinkedDatasetPerCleanroom": { +"description": "Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.", +"readOnly": true, +"type": "boolean" +}, +"singleSelectedResourceSharingRestriction": { +"description": "Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"DeadLetterPolicy": { +"description": "Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.", +"id": "DeadLetterPolicy", +"properties": { +"deadLetterTopic": { +"description": "Optional. The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost.", +"type": "string" +}, +"maxDeliveryAttempts": { +"description": "Optional. The maximum number of delivery attempts for any message. The value must be between 5 and 100. The number of delivery attempts is defined as 1 + (the sum of number of NACKs and number of times the acknowledgement deadline has been exceeded for the message). A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that client libraries may automatically extend ack_deadlines. This field will be honored on a best effort basis. If this parameter is 0, a default value of 5 is used.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DefaultExchangeConfig": { +"description": "Default Analytics Hub data exchange, used for secured data sharing.", +"id": "DefaultExchangeConfig", +"properties": {}, +"type": "object" +}, +"DestinationDataset": { +"description": "Defines the destination bigquery dataset.", +"id": "DestinationDataset", +"properties": { +"datasetReference": { +"$ref": "DestinationDatasetReference", +"description": "Required. A reference that identifies the destination dataset." +}, +"description": { +"description": "Optional. A user-friendly description of the dataset.", +"type": "string" +}, +"friendlyName": { +"description": "Optional. A descriptive name for the dataset.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.", +"type": "object" +}, +"location": { +"description": "Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", +"type": "string" +}, +"replicaLocations": { +"description": "Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DestinationDatasetReference": { +"id": "DestinationDatasetReference", +"properties": { +"datasetId": { +"description": "Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the project containing this dataset.", +"type": "string" +} +}, +"type": "object" +}, +"DestinationPubSubSubscription": { +"description": "Defines the destination Pub/Sub subscription.", +"id": "DestinationPubSubSubscription", +"properties": { +"pubsubSubscription": { +"$ref": "GooglePubsubV1Subscription", +"description": "Required. Destination Pub/Sub subscription resource." +} +}, +"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" +}, +"ExpirationPolicy": { +"description": "A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).", +"id": "ExpirationPolicy", +"properties": { +"ttl": { +"description": "Optional. Specifies the \"time-to-live\" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of \"activity\" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires.", +"format": "google-duration", +"type": "string" +} +}, +"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" +}, +"GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo": { +"description": "Commercial info contains the information about the commercial data products associated with the listing.", +"id": "GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo", +"properties": { +"cloudMarketplace": { +"$ref": "GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo", +"description": "Output only. Details of the Marketplace Data Product associated with the Listing.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo": { +"description": "Specifies the details of the Marketplace Data Product associated with the Listing.", +"id": "GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo", +"properties": { +"commercialState": { +"description": "Output only. Commercial state of the Marketplace Data Product.", +"enum": [ +"COMMERCIAL_STATE_UNSPECIFIED", +"ONBOARDING", +"ACTIVE" +], +"enumDescriptions": [ +"Commercialization is incomplete and cannot be used.", +"Commercialization has been initialized.", +"Commercialization is complete and available for use." +], +"readOnly": true, +"type": "string" +}, +"service": { +"description": "Output only. Resource name of the commercial service associated with the Marketplace Data Product. e.g. example.com", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo": { +"description": "Commercial info metadata for this subscription.", +"id": "GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo", +"properties": { +"cloudMarketplace": { +"$ref": "GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo", +"description": "Output only. This is set when the subscription is commercialised via Cloud Marketplace.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo": { +"description": "Cloud Marketplace commercial metadata for this subscription.", +"id": "GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo", +"properties": { +"order": { +"description": "Resource name of the Marketplace Order.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePubsubV1Subscription": { +"description": "Defines the destination Pub/Sub subscription. If none of `push_config`, `bigquery_config`, `cloud_storage_config`, `pubsub_export_config`, or `pubsublite_export_config` is set, then the subscriber will pull and ack messages using API methods. At most one of these fields may be set.", +"id": "GooglePubsubV1Subscription", +"properties": { +"ackDeadlineSeconds": { +"description": "Optional. The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.", +"format": "int32", +"type": "integer" +}, +"bigqueryConfig": { +"$ref": "BigQueryConfig", +"description": "Optional. If delivery to BigQuery is used with this subscription, this field is used to configure it." +}, +"cloudStorageConfig": { +"$ref": "CloudStorageConfig", +"description": "Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it." +}, +"deadLetterPolicy": { +"$ref": "DeadLetterPolicy", +"description": "Optional. A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription." +}, +"detached": { +"description": "Optional. Indicates whether the subscription is detached from its topic. Detached subscriptions don't receive messages from their topic and don't retain any backlog. `Pull` and `StreamingPull` requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will not be made.", +"type": "boolean" +}, +"enableExactlyOnceDelivery": { +"description": "Optional. If true, Pub/Sub provides the following guarantees for the delivery of a message with a given value of `message_id` on this subscription: * The message sent to a subscriber is guaranteed not to be resent before the message's acknowledgement deadline expires. * An acknowledged message will not be resent to a subscriber. Note that subscribers may still receive multiple copies of a message when `enable_exactly_once_delivery` is true if the message was published multiple times by a publisher client. These copies are considered distinct by Pub/Sub and have distinct `message_id` values.", +"type": "boolean" +}, +"enableMessageOrdering": { +"description": "Optional. If true, messages published with the same `ordering_key` in `PubsubMessage` will be delivered to the subscribers in the order in which they are received by the Pub/Sub system. Otherwise, they may be delivered in any order.", +"type": "boolean" +}, +"expirationPolicy": { +"$ref": "ExpirationPolicy", +"description": "Optional. A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If `expiration_policy` is not set, a *default policy* with `ttl` of 31 days will be used. The minimum allowed value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, but `expiration_policy.ttl` is not set, the subscription never expires." +}, +"filter": { +"description": "Optional. An expression written in the Pub/Sub [filter language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, then only `PubsubMessage`s whose `attributes` field matches the filter are delivered on this subscription. If empty, then no messages are filtered out.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).", +"type": "object" +}, +"messageRetentionDuration": { +"description": "Optional. How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.", +"format": "google-duration", +"type": "string" +}, +"messageTransforms": { +"description": "Optional. Transforms to be applied to messages before they are delivered to subscribers. Transforms are applied in the order specified.", +"items": { +"$ref": "MessageTransform" +}, +"type": "array" +}, +"name": { +"description": "Required. Identifier. Name of the subscription. Format is `projects/{project}/subscriptions/{sub}`.", +"type": "string" +}, +"pushConfig": { +"$ref": "PushConfig", +"description": "Optional. If push delivery is used with this subscription, this field is used to configure it." +}, +"retainAckedMessages": { +"description": "Optional. Indicates whether to retain acknowledged messages. If true, then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the `message_retention_duration` window. This must be true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-acknowledged messages.", +"type": "boolean" +}, +"retryPolicy": { +"$ref": "RetryPolicy", +"description": "Optional. A policy that specifies how Pub/Sub retries message delivery for this subscription. If not set, the default retry policy is applied. This generally implies that messages will be retried as soon as possible for healthy subscribers. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message." +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +} +}, +"type": "object" +}, +"JavaScriptUDF": { +"description": "User-defined JavaScript function that can transform or filter a Pub/Sub message.", +"id": "JavaScriptUDF", +"properties": { +"code": { +"description": "Required. JavaScript code that contains a function `function_name` with the below signature: ``` /** * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return `null`. To transform a message return a map * with the following keys: * - (required) 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} */ function (message, metadata) { } ```", +"type": "string" +}, +"functionName": { +"description": "Required. Name of the JavasScript function that should applied to Pub/Sub messages.", +"type": "string" +} +}, +"type": "object" +}, +"LinkedResource": { +"description": "Reference to a linked resource tracked by this Subscription.", +"id": "LinkedResource", +"properties": { +"linkedDataset": { +"description": "Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset", +"readOnly": true, +"type": "string" +}, +"linkedPubsubSubscription": { +"description": "Output only. Name of the Pub/Sub subscription, e.g. projects/subscriberproject/subscriptions/subscriptions/sub_id", +"readOnly": true, +"type": "string" +}, +"listing": { +"description": "Output only. Listing for which linked resource is created.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListDataExchangesResponse": { +"description": "Message for response to the list of data exchanges.", +"id": "ListDataExchangesResponse", +"properties": { +"dataExchanges": { +"description": "The list of data exchanges.", +"items": { +"$ref": "DataExchange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListListingsResponse": { +"description": "Message for response to the list of Listings.", +"id": "ListListingsResponse", +"properties": { +"listings": { +"description": "The list of Listing.", +"items": { +"$ref": "Listing" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListOrgDataExchangesResponse": { +"description": "Message for response to listing data exchanges in an organization and location.", +"id": "ListOrgDataExchangesResponse", +"properties": { +"dataExchanges": { +"description": "The list of data exchanges.", +"items": { +"$ref": "DataExchange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListQueryTemplatesResponse": { +"description": "Message for response to the list of QueryTemplates.", +"id": "ListQueryTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of results.", +"type": "string" +}, +"queryTemplates": { +"description": "The list of QueryTemplates.", +"items": { +"$ref": "QueryTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSharedResourceSubscriptionsResponse": { +"description": "Message for response to the listing of shared resource subscriptions.", +"id": "ListSharedResourceSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"sharedResourceSubscriptions": { +"description": "The list of subscriptions.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubscriptionsResponse": { +"description": "Message for response to the listing of subscriptions.", +"id": "ListSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "Next page token.", +"type": "string" +}, +"subscriptions": { +"description": "The list of subscriptions.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"Listing": { +"description": "A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.", +"id": "Listing", +"properties": { +"allowOnlyMetadataSharing": { +"description": "Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.", +"type": "boolean" +}, +"bigqueryDataset": { +"$ref": "BigQueryDatasetSource", +"description": "Shared dataset i.e. BigQuery dataset source." +}, +"categories": { +"description": "Optional. Categories of the listing. Up to five categories are allowed.", +"items": { +"enum": [ +"CATEGORY_UNSPECIFIED", +"CATEGORY_OTHERS", +"CATEGORY_ADVERTISING_AND_MARKETING", +"CATEGORY_COMMERCE", +"CATEGORY_CLIMATE_AND_ENVIRONMENT", +"CATEGORY_DEMOGRAPHICS", +"CATEGORY_ECONOMICS", +"CATEGORY_EDUCATION", +"CATEGORY_ENERGY", +"CATEGORY_FINANCIAL", +"CATEGORY_GAMING", +"CATEGORY_GEOSPATIAL", +"CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE", +"CATEGORY_MEDIA", +"CATEGORY_PUBLIC_SECTOR", +"CATEGORY_RETAIL", +"CATEGORY_SPORTS", +"CATEGORY_SCIENCE_AND_RESEARCH", +"CATEGORY_TRANSPORTATION_AND_LOGISTICS", +"CATEGORY_TRAVEL_AND_TOURISM", +"CATEGORY_GOOGLE_EARTH_ENGINE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"commercialInfo": { +"$ref": "GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo", +"description": "Output only. Commercial info contains the information about the commercial data products associated with the listing.", +"readOnly": true +}, +"dataProvider": { +"$ref": "DataProvider", +"description": "Optional. Details of the data provider who owns the source data." +}, +"description": { +"description": "Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", +"type": "string" +}, +"discoveryType": { +"description": "Optional. Type of discovery of the listing on the discovery page.", +"enum": [ +"DISCOVERY_TYPE_UNSPECIFIED", +"DISCOVERY_TYPE_PRIVATE", +"DISCOVERY_TYPE_PUBLIC" +], +"enumDescriptions": [ +"Unspecified. Defaults to DISCOVERY_TYPE_PRIVATE.", +"The Data exchange/listing can be discovered in the 'Private' results list.", +"The Data exchange/listing can be discovered in the 'Public' results list." +], +"type": "string" +}, +"displayName": { +"description": "Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.", +"type": "string" +}, +"documentation": { +"description": "Optional. Documentation describing the listing.", +"type": "string" +}, +"icon": { +"description": "Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.", +"format": "byte", +"type": "string" +}, +"logLinkedDatasetQueryUserEmail": { +"description": "Optional. By default, false. If true, the Listing has an email sharing mandate enabled.", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the listing. e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`", +"readOnly": true, +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.", +"type": "string" +}, +"publisher": { +"$ref": "Publisher", +"description": "Optional. Details of the publisher who owns the listing and who can share the source data." +}, +"pubsubTopic": { +"$ref": "PubSubTopicSource", +"description": "Pub/Sub topic source." +}, +"requestAccess": { +"description": "Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.", +"type": "string" +}, +"resourceType": { +"description": "Output only. Listing shared asset type.", +"enum": [ +"SHARED_RESOURCE_TYPE_UNSPECIFIED", +"BIGQUERY_DATASET", +"PUBSUB_TOPIC" +], +"enumDescriptions": [ +"Not specified.", +"BigQuery Dataset Asset.", +"Pub/Sub Topic Asset." +], +"readOnly": true, +"type": "string" +}, +"restrictedExportConfig": { +"$ref": "RestrictedExportConfig", +"description": "Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset." +}, +"state": { +"description": "Output only. Current state of the listing.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Subscribable state. Users with dataexchange.listings.subscribe permission can subscribe to this listing." +], +"readOnly": true, +"type": "string" +}, +"storedProcedureConfig": { +"$ref": "StoredProcedureConfig", +"description": "Optional. If set, stored procedure configuration will be propagated and enforced on the linked dataset." +} +}, +"type": "object" +}, +"MessageTransform": { +"description": "All supported message transforms types.", +"id": "MessageTransform", +"properties": { +"aiInference": { +"$ref": "AIInference", +"description": "Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the Pub/Sub message data and provided parameters will be sent to." +}, +"disabled": { +"description": "Optional. If true, the transform is disabled and will not be applied to messages. Defaults to `false`.", +"type": "boolean" +}, +"enabled": { +"deprecated": true, +"description": "Optional. This field is deprecated, use the `disabled` field to disable transforms.", +"type": "boolean" +}, +"javascriptUdf": { +"$ref": "JavaScriptUDF", +"description": "Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique `function_name`." +} +}, +"type": "object" +}, +"NoWrapper": { +"description": "Sets the `data` field as the HTTP body for delivery.", +"id": "NoWrapper", +"properties": { +"writeMetadata": { +"description": "Optional. When true, writes the Pub/Sub message metadata to `x-goog-pubsub-:` headers of the HTTP request. Writes the Pub/Sub message attributes to `:` headers of the HTTP request.", +"type": "boolean" +} +}, +"type": "object" +}, +"OidcToken": { +"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).", +"id": "OidcToken", +"properties": { +"audience": { +"description": "Optional. Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Optional. [Service account email](https://cloud.google.com/iam/docs/service-accounts) used for generating the OIDC token. For more information on setting up authentication, see [Push subscriptions](https://cloud.google.com/pubsub/docs/push).", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation in Analytics Hub.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"PubSubTopicSource": { +"description": "Pub/Sub topic source.", +"id": "PubSubTopicSource", +"properties": { +"dataAffinityRegions": { +"description": "Optional. Region hint on where the data might be published. Data affinity regions are modifiable. See https://cloud.google.com/about/locations for full listing of possible Cloud regions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"topic": { +"description": "Required. Resource name of the Pub/Sub topic source for this listing. e.g. projects/myproject/topics/topicId", +"type": "string" +} +}, +"type": "object" +}, +"Publisher": { +"description": "Contains details of the listing publisher.", +"id": "Publisher", +"properties": { +"name": { +"description": "Optional. Name of the listing publisher.", +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the listing publisher. Max Length: 1000 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"PubsubWrapper": { +"description": "The payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).", +"id": "PubsubWrapper", +"properties": {}, +"type": "object" +}, +"PushConfig": { +"description": "Configuration for a push delivery endpoint.", +"id": "PushConfig", +"properties": { +"attributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: `attributes { \"x-goog-version\": \"v1\" }`", +"type": "object" +}, +"noWrapper": { +"$ref": "NoWrapper", +"description": "Optional. When set, the payload to the push endpoint is not wrapped." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "Optional. If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message." +}, +"pubsubWrapper": { +"$ref": "PubsubWrapper", +"description": "Optional. When set, the payload to the push endpoint is in the form of the JSON representation of a PubsubMessage (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage)." +}, +"pushEndpoint": { +"description": "Optional. A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use `https://example.com/push`.", +"type": "string" +} +}, +"type": "object" +}, +"QueryTemplate": { +"description": "A query template is a container for sharing table-valued functions defined by contributors in a data clean room.", +"id": "QueryTemplate", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the QueryTemplate was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Short description of the QueryTemplate. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", +"type": "string" +}, +"displayName": { +"description": "Required. Human-readable display name of the QueryTemplate. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.", +"type": "string" +}, +"documentation": { +"description": "Optional. Documentation describing the QueryTemplate.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`", +"readOnly": true, +"type": "string" +}, +"primaryContact": { +"description": "Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.", +"type": "string" +}, +"proposer": { +"description": "Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.", +"type": "string" +}, +"routine": { +"$ref": "Routine", +"description": "Optional. The routine associated with the QueryTemplate." +}, +"state": { +"description": "Output only. The QueryTemplate lifecycle state.", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFTED", +"PENDING", +"DELETED", +"APPROVED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The QueryTemplate is in draft state.", +"The QueryTemplate is in pending state.", +"The QueryTemplate is in deleted state.", +"The QueryTemplate is in approved state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the QueryTemplate was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RefreshSubscriptionRequest": { +"description": "Message for refreshing a subscription.", +"id": "RefreshSubscriptionRequest", +"properties": {}, +"type": "object" +}, +"RefreshSubscriptionResponse": { +"description": "Message for response when you refresh a subscription.", +"id": "RefreshSubscriptionResponse", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "The refreshed subscription resource." +} +}, +"type": "object" +}, +"Replica": { +"description": "Represents the state of a replica of a shared dataset. It includes the geographic location of the replica and system-computed, output-only fields indicating its replication state and whether it is the primary replica.", +"id": "Replica", +"properties": { +"location": { +"description": "Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. \"us-central1\".", +"readOnly": true, +"type": "string" +}, +"primaryState": { +"description": "Output only. Indicates that this replica is the primary replica.", +"enum": [ +"PRIMARY_STATE_UNSPECIFIED", +"PRIMARY_REPLICA" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The replica is the primary replica." +], +"readOnly": true, +"type": "string" +}, +"replicaState": { +"description": "Output only. Assigned by Analytics Hub based on real BigQuery replication state.", +"enum": [ +"REPLICA_STATE_UNSPECIFIED", +"READY_TO_USE", +"UNAVAILABLE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The replica is backfilled and ready to use.", +"The replica is unavailable, does not exist, or has not been backfilled yet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestrictedExportConfig": { +"description": "Restricted export config, used to configure restricted export on linked dataset.", +"id": "RestrictedExportConfig", +"properties": { +"enabled": { +"description": "Optional. If true, enable restricted export.", +"type": "boolean" +}, +"restrictDirectTableAccess": { +"description": "Output only. If true, restrict direct table access(read api/tabledata.list) on linked table.", +"readOnly": true, +"type": "boolean" +}, +"restrictQueryResult": { +"description": "Optional. If true, restrict export of query result derived from restricted linked dataset table.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestrictedExportPolicy": { +"description": "Restricted export policy used to configure restricted export on linked dataset.", +"id": "RestrictedExportPolicy", +"properties": { +"enabled": { +"description": "Optional. If true, enable restricted export.", +"type": "boolean" +}, +"restrictDirectTableAccess": { +"description": "Optional. If true, restrict direct table access (read api/tabledata.list) on linked table.", +"type": "boolean" +}, +"restrictQueryResult": { +"description": "Optional. If true, restrict export of query result derived from restricted linked dataset table.", +"type": "boolean" +} +}, +"type": "object" +}, +"RetryPolicy": { +"description": "A policy that specifies how Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.", +"id": "RetryPolicy", +"properties": { +"maximumBackoff": { +"description": "Optional. The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds.", +"format": "google-duration", +"type": "string" +}, +"minimumBackoff": { +"description": "Optional. The minimum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 10 seconds.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RevokeSubscriptionRequest": { +"description": "Message for revoking a subscription.", +"id": "RevokeSubscriptionRequest", +"properties": { +"revokeCommercial": { +"description": "Optional. If the subscription is commercial then this field must be set to true, otherwise a failure is thrown. This acts as a safety guard to avoid revoking commercial subscriptions accidentally.", +"type": "boolean" +} +}, +"type": "object" +}, +"RevokeSubscriptionResponse": { +"description": "Message for response when you revoke a subscription. Empty for now.", +"id": "RevokeSubscriptionResponse", +"properties": {}, +"type": "object" +}, +"Routine": { +"description": "Represents a bigquery routine.", +"id": "Routine", +"properties": { +"definitionBody": { +"description": "Optional. The definition body of the routine.", +"type": "string" +}, +"routineType": { +"description": "Required. The type of routine.", +"enum": [ +"ROUTINE_TYPE_UNSPECIFIED", +"TABLE_VALUED_FUNCTION" +], +"enumDescriptions": [ +"Default value.", +"Non-built-in persistent TVF." +], +"type": "string" +} +}, +"type": "object" +}, +"SelectedResource": { +"description": "Resource in this dataset that is selectively shared.", +"id": "SelectedResource", +"properties": { +"routine": { +"description": "Optional. Format: For routine: `projects/{projectId}/datasets/{datasetId}/routines/{routineId}` Example:\"projects/test_project/datasets/test_dataset/routines/test_routine\"", +"type": "string" +}, +"table": { +"description": "Optional. Format: For table: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:\"projects/test_project/datasets/test_dataset/tables/test_table\"", +"type": "string" +} +}, +"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" +}, +"SharingEnvironmentConfig": { +"description": "Sharing environment is a behavior model for sharing data within a data exchange. This option is configurable for a data exchange.", +"id": "SharingEnvironmentConfig", +"properties": { +"dcrExchangeConfig": { +"$ref": "DcrExchangeConfig", +"description": "Data Clean Room (DCR), used for privacy-safe and secured data sharing." +}, +"defaultExchangeConfig": { +"$ref": "DefaultExchangeConfig", +"description": "Default Analytics Hub data exchange, used for secured data sharing." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StoredProcedureConfig": { +"description": "Stored procedure configuration, used to configure stored procedure sharing on linked dataset.", +"id": "StoredProcedureConfig", +"properties": { +"allowedStoredProcedureTypes": { +"description": "Output only. Types of stored procedure supported to share.", +"items": { +"enum": [ +"STORED_PROCEDURE_TYPE_UNSPECIFIED", +"SQL_PROCEDURE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"SQL stored procedure." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"enabled": { +"description": "Optional. If true, enable sharing of stored procedure.", +"type": "boolean" +} +}, +"type": "object" +}, +"SubmitQueryTemplateRequest": { +"description": "Message for submitting a QueryTemplate.", +"id": "SubmitQueryTemplateRequest", +"properties": {}, +"type": "object" +}, +"SubscribeDataExchangeRequest": { +"description": "Message for subscribing to a Data Exchange.", +"id": "SubscribeDataExchangeRequest", +"properties": { +"destination": { +"description": "Required. The parent resource path of the Subscription. e.g. `projects/subscriberproject/locations/us`", +"type": "string" +}, +"destinationDataset": { +"$ref": "DestinationDataset", +"description": "Optional. BigQuery destination dataset to create for the subscriber." +}, +"subscriberContact": { +"description": "Email of the subscriber.", +"type": "string" +}, +"subscription": { +"description": "Required. Name of the subscription to create. e.g. `subscription1`", +"type": "string" +} +}, +"type": "object" +}, +"SubscribeDataExchangeResponse": { +"description": "Message for response when you subscribe to a Data Exchange.", +"id": "SubscribeDataExchangeResponse", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "Subscription object created from this subscribe action." +} +}, +"type": "object" +}, +"SubscribeListingRequest": { +"description": "Message for subscribing to a listing.", +"id": "SubscribeListingRequest", +"properties": { +"destinationDataset": { +"$ref": "DestinationDataset", +"description": "Input only. BigQuery destination dataset to create for the subscriber." +}, +"destinationPubsubSubscription": { +"$ref": "DestinationPubSubSubscription", +"description": "Input only. Destination Pub/Sub subscription to create for the subscriber." +} +}, +"type": "object" +}, +"SubscribeListingResponse": { +"description": "Message for response when you subscribe to a listing.", +"id": "SubscribeListingResponse", +"properties": { +"subscription": { +"$ref": "Subscription", +"description": "Subscription object created from this subscribe action." +} +}, +"type": "object" +}, +"Subscription": { +"description": "A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.", +"id": "Subscription", +"properties": { +"commercialInfo": { +"$ref": "GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo", +"description": "Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.", +"readOnly": true +}, +"creationTime": { +"description": "Output only. Timestamp when the subscription was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataExchange": { +"description": "Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456", +"readOnly": true, +"type": "string" +}, +"destinationDataset": { +"$ref": "DestinationDataset", +"description": "Optional. BigQuery destination dataset to create for the subscriber." +}, +"lastModifyTime": { +"description": "Output only. Timestamp when the subscription was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"linkedDatasetMap": { +"additionalProperties": { +"$ref": "LinkedResource" +}, +"description": "Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.", +"readOnly": true, +"type": "object" +}, +"linkedResources": { +"description": "Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.", +"items": { +"$ref": "LinkedResource" +}, +"readOnly": true, +"type": "array" +}, +"listing": { +"description": "Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789", +"readOnly": true, +"type": "string" +}, +"logLinkedDatasetQueryUserEmail": { +"description": "Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the subscription. e.g. `projects/myproject/locations/us/subscriptions/123`.", +"readOnly": true, +"type": "string" +}, +"organizationDisplayName": { +"description": "Output only. Display name of the project of this subscription.", +"readOnly": true, +"type": "string" +}, +"organizationId": { +"description": "Output only. Organization of the project this subscription belongs to.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Output only. Listing shared asset type.", +"enum": [ +"SHARED_RESOURCE_TYPE_UNSPECIFIED", +"BIGQUERY_DATASET", +"PUBSUB_TOPIC" +], +"enumDescriptions": [ +"Not specified.", +"BigQuery Dataset Asset.", +"Pub/Sub Topic Asset." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the subscription.", +"enum": [ +"STATE_UNSPECIFIED", +"STATE_ACTIVE", +"STATE_STALE", +"STATE_INACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"This subscription is active and the data is accessible.", +"The data referenced by this subscription is out of date and should be refreshed. This can happen when a data provider adds or removes datasets.", +"This subscription has been cancelled or revoked and the data is no longer accessible." +], +"readOnly": true, +"type": "string" +}, +"subscriberContact": { +"description": "Output only. Email of the subscriber.", +"readOnly": true, +"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" +}, +"TextConfig": { +"description": "Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline.", +"id": "TextConfig", +"properties": {}, +"type": "object" +}, +"UnstructuredInference": { +"description": "Configuration for making inferences using arbitrary JSON payloads.", +"id": "UnstructuredInference", +"properties": { +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. A parameters object to be included in each inference request. The parameters object is combined with the data field of the Pub/Sub message to form the inference request.", +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Analytics Hub API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/appengine.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/appengine.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..027912c1c5eb6ad592fe6ad678f68de3dc9fc298 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/appengine.v1.json @@ -0,0 +1,5313 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/appengine.admin": { +"description": "View and manage your applications deployed on Google App Engine" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://appengine.googleapis.com/", +"batchPath": "batch", +"description": "Provisions and manages developers' App Engine applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", +"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": "appengine:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://appengine.mtls.googleapis.com/", +"name": "appengine", +"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": { +"apps": { +"methods": { +"create": { +"description": "Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).", +"flatPath": "v1/apps", +"httpMethod": "POST", +"id": "appengine.apps.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/apps", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about an application.", +"flatPath": "v1/apps/{appsId}", +"httpMethod": "GET", +"id": "appengine.apps.get", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the Application resource to get. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"includeExtraData": { +"description": "Options to include extra data", +"enum": [ +"INCLUDE_EXTRA_DATA_UNSPECIFIED", +"INCLUDE_EXTRA_DATA_NONE", +"INCLUDE_GOOGLE_GENERATED_METADATA" +], +"enumDescriptions": [ +"Unspecified: No extra data will be returned", +"Do not return any extra data", +"Return GGCM associated with the resources" +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}", +"response": { +"$ref": "Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"listRuntimes": { +"description": "Lists all the available runtimes for the application.", +"flatPath": "v1/apps/{appsId}:listRuntimes", +"httpMethod": "GET", +"id": "appengine.apps.listRuntimes", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"environment": { +"description": "Optional. The environment of the Application.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"Default value.", +"App Engine Standard.", +"App Engine Flexible" +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}:listRuntimes", +"response": { +"$ref": "ListRuntimesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.", +"flatPath": "v1/apps/{appsId}", +"httpMethod": "PATCH", +"id": "appengine.apps.patch", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"repair": { +"description": "Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B\"name\"%3A\"projects%2F-%2FserviceAccounts%2Funique_id\"%2C\"resource\"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.", +"flatPath": "v1/apps/{appsId}:repair", +"httpMethod": "POST", +"id": "appengine.apps.repair", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the application to repair. Example: apps/myapp", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}:repair", +"request": { +"$ref": "RepairApplicationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"authorizedCertificates": { +"methods": { +"create": { +"description": "Uploads the specified SSL certificate.", +"flatPath": "v1/apps/{appsId}/authorizedCertificates", +"httpMethod": "POST", +"id": "appengine.apps.authorizedCertificates.create", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedCertificates", +"request": { +"$ref": "AuthorizedCertificate" +}, +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified SSL certificate.", +"flatPath": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "DELETE", +"id": "appengine.apps.authorizedCertificates.delete", +"parameterOrder": [ +"appsId", +"authorizedCertificatesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified SSL certificate.", +"flatPath": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "GET", +"id": "appengine.apps.authorizedCertificates.get", +"parameterOrder": [ +"appsId", +"authorizedCertificatesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the GET response.", +"enum": [ +"BASIC_CERTIFICATE", +"FULL_CERTIFICATE" +], +"enumDescriptions": [ +"Basic certificate information, including applicable domains and expiration date.", +"The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that have this certificate mapped." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all SSL certificates the user is authorized to administer.", +"flatPath": "v1/apps/{appsId}/authorizedCertificates", +"httpMethod": "GET", +"id": "appengine.apps.authorizedCertificates.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the LIST response.", +"enum": [ +"BASIC_CERTIFICATE", +"FULL_CERTIFICATE" +], +"enumDescriptions": [ +"Basic certificate information, including applicable domains and expiration date.", +"The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that have this certificate mapped." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedCertificates", +"response": { +"$ref": "ListAuthorizedCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated.", +"flatPath": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "PATCH", +"id": "appengine.apps.authorizedCertificates.patch", +"parameterOrder": [ +"appsId", +"authorizedCertificatesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}", +"request": { +"$ref": "AuthorizedCertificate" +}, +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authorizedDomains": { +"methods": { +"list": { +"description": "Lists all domains the user is authorized to administer.", +"flatPath": "v1/apps/{appsId}/authorizedDomains", +"httpMethod": "GET", +"id": "appengine.apps.authorizedDomains.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/authorizedDomains", +"response": { +"$ref": "ListAuthorizedDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"domainMappings": { +"methods": { +"create": { +"description": "Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.", +"flatPath": "v1/apps/{appsId}/domainMappings", +"httpMethod": "POST", +"id": "appengine.apps.domainMappings.create", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"overrideStrategy": { +"description": "Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.", +"enum": [ +"UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", +"STRICT", +"OVERRIDE" +], +"enumDescriptions": [ +"Strategy unspecified. Defaults to STRICT.", +"Overrides not allowed. If a mapping already exists for the specified domain, the request will return an ALREADY_EXISTS (409).", +"Overrides allowed. If a mapping already exists for the specified domain, the request will overwrite it. Note that this might stop another Google product from serving. For example, if the domain is mapped to another App Engine application, that app will no longer serve from that domain." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/domainMappings", +"request": { +"$ref": "DomainMapping" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.", +"flatPath": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"httpMethod": "DELETE", +"id": "appengine.apps.domainMappings.delete", +"parameterOrder": [ +"appsId", +"domainMappingsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified domain mapping.", +"flatPath": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"httpMethod": "GET", +"id": "appengine.apps.domainMappings.get", +"parameterOrder": [ +"appsId", +"domainMappingsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"response": { +"$ref": "DomainMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the domain mappings on an application.", +"flatPath": "v1/apps/{appsId}/domainMappings", +"httpMethod": "GET", +"id": "appengine.apps.domainMappings.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/domainMappings", +"response": { +"$ref": "ListDomainMappingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.", +"flatPath": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"httpMethod": "PATCH", +"id": "appengine.apps.domainMappings.patch", +"parameterOrder": [ +"appsId", +"domainMappingsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/domainMappings/{domainMappingsId}", +"request": { +"$ref": "DomainMapping" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"firewall": { +"resources": { +"ingressRules": { +"methods": { +"batchUpdate": { +"description": "Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the final rule does not match traffic with the '*' wildcard IP range, then an \"allow all\" rule is explicitly added to the end of the list.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules:batchUpdate", +"httpMethod": "POST", +"id": "appengine.apps.firewall.ingressRules.batchUpdate", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules:batchUpdate", +"request": { +"$ref": "BatchUpdateIngressRulesRequest" +}, +"response": { +"$ref": "BatchUpdateIngressRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a firewall rule for the application.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules", +"httpMethod": "POST", +"id": "appengine.apps.firewall.ingressRules.create", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules", +"request": { +"$ref": "FirewallRule" +}, +"response": { +"$ref": "FirewallRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified firewall rule.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"httpMethod": "DELETE", +"id": "appengine.apps.firewall.ingressRules.delete", +"parameterOrder": [ +"appsId", +"ingressRulesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Name of the Firewall resource to delete. Example: apps/myapp/firewall/ingressRules/100.", +"location": "path", +"required": true, +"type": "string" +}, +"ingressRulesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified firewall rule.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"httpMethod": "GET", +"id": "appengine.apps.firewall.ingressRules.get", +"parameterOrder": [ +"appsId", +"ingressRulesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Name of the Firewall resource to retrieve. Example: apps/myapp/firewall/ingressRules/100.", +"location": "path", +"required": true, +"type": "string" +}, +"ingressRulesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"response": { +"$ref": "FirewallRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the firewall rules of an application.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules", +"httpMethod": "GET", +"id": "appengine.apps.firewall.ingressRules.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Name of the Firewall collection to retrieve. Example: apps/myapp/firewall/ingressRules.", +"location": "path", +"required": true, +"type": "string" +}, +"matchingAddress": { +"description": "A valid IP Address. If set, only rules matching this address will be returned. The first returned rule will be the rule that fires on requests from this IP.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules", +"response": { +"$ref": "ListIngressRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified firewall rule.", +"flatPath": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"httpMethod": "PATCH", +"id": "appengine.apps.firewall.ingressRules.patch", +"parameterOrder": [ +"appsId", +"ingressRulesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.", +"location": "path", +"required": true, +"type": "string" +}, +"ingressRulesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}", +"request": { +"$ref": "FirewallRule" +}, +"response": { +"$ref": "FirewallRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/apps/{appsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "appengine.apps.locations.get", +"parameterOrder": [ +"appsId", +"locationsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Resource name for the location.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/locations/{locationsId}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/apps/{appsId}/locations", +"httpMethod": "GET", +"id": "appengine.apps.locations.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. The resource that owns the locations collection, if applicable.", +"location": "path", +"required": true, +"type": "string" +}, +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/apps/{appsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "appengine.apps.operations.get", +"parameterOrder": [ +"appsId", +"operationsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. The name of the operation resource.", +"location": "path", +"required": true, +"type": "string" +}, +"operationsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/operations/{operationsId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1/apps/{appsId}/operations", +"httpMethod": "GET", +"id": "appengine.apps.operations.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. The name of the operation's parent resource.", +"location": "path", +"required": true, +"type": "string" +}, +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/apps/{appsId}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"services": { +"methods": { +"delete": { +"description": "Deletes the specified service and all enclosed versions.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "appengine.apps.services.delete", +"parameterOrder": [ +"appsId", +"servicesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the current configuration of the specified service.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "appengine.apps.services.get", +"parameterOrder": [ +"appsId", +"servicesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all the services in the application.", +"flatPath": "v1/apps/{appsId}/services", +"httpMethod": "GET", +"id": "appengine.apps.services.list", +"parameterOrder": [ +"appsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the configuration of the specified service.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "appengine.apps.services.patch", +"parameterOrder": [ +"appsId", +"servicesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"migrateTraffic": { +"description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).", +"location": "query", +"type": "boolean" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "Deploys code and resource files to a new version.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions", +"httpMethod": "POST", +"id": "appengine.apps.services.versions.create", +"parameterOrder": [ +"appsId", +"servicesId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent resource to create this version under. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `parent`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing Version resource.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "appengine.apps.services.versions.delete", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "appengine.apps.services.versions.get", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the Get response.", +"enum": [ +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Basic version information including scaling and inbound services, but not detailed deployment information.", +"The information from BASIC, plus detailed information about the deployment. This format is required when creating resources, but is not returned in Get or List by default." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the versions of a service.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions", +"httpMethod": "GET", +"id": "appengine.apps.services.versions.list", +"parameterOrder": [ +"appsId", +"servicesId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Service resource. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"servicesId": { +"description": "Part of `parent`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the List response.", +"enum": [ +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Basic version information including scaling and inbound services, but not detailed deployment information.", +"The information from BASIC, plus detailed information about the deployment. This format is required when creating resources, but is not returned in Get or List by default." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions", +"response": { +"$ref": "ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "appengine.apps.services.versions.patch", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default/versions/1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"debug": { +"description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", +"httpMethod": "POST", +"id": "appengine.apps.services.versions.instances.debug", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId", +"instancesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"location": "path", +"required": true, +"type": "string" +}, +"instancesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", +"request": { +"$ref": "DebugInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see \"How Instances are Managed\" (standard environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "appengine.apps.services.versions.instances.delete", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId", +"instancesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"location": "path", +"required": true, +"type": "string" +}, +"instancesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets instance information.", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "appengine.apps.services.versions.instances.get", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId", +"instancesId" +], +"parameters": { +"appsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"location": "path", +"required": true, +"type": "string" +}, +"instancesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).", +"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances", +"httpMethod": "GET", +"id": "appengine.apps.services.versions.instances.list", +"parameterOrder": [ +"appsId", +"servicesId", +"versionsId" +], +"parameters": { +"appsId": { +"description": "Part of `parent`. Required. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"servicesId": { +"description": "Part of `parent`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `parent`. See documentation of `appsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"applications": { +"methods": { +"patch": { +"description": "Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"httpMethod": "PATCH", +"id": "appengine.projects.locations.applications.patch", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}", +"request": { +"$ref": "Application" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"authorizedCertificates": { +"methods": { +"create": { +"description": "Uploads the specified SSL certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates", +"httpMethod": "POST", +"id": "appengine.projects.locations.applications.authorizedCertificates.create", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates", +"request": { +"$ref": "AuthorizedCertificate" +}, +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified SSL certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "DELETE", +"id": "appengine.projects.locations.applications.authorizedCertificates.delete", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"authorizedCertificatesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified SSL certificate.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "GET", +"id": "appengine.projects.locations.applications.authorizedCertificates.get", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"authorizedCertificatesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the GET response.", +"enum": [ +"BASIC_CERTIFICATE", +"FULL_CERTIFICATE" +], +"enumDescriptions": [ +"Basic certificate information, including applicable domains and expiration date.", +"The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that have this certificate mapped." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists all SSL certificates the user is authorized to administer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates", +"httpMethod": "GET", +"id": "appengine.projects.locations.applications.authorizedCertificates.list", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"projectsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls the set of fields returned in the LIST response.", +"enum": [ +"BASIC_CERTIFICATE", +"FULL_CERTIFICATE" +], +"enumDescriptions": [ +"Basic certificate information, including applicable domains and expiration date.", +"The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that have this certificate mapped." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates", +"response": { +"$ref": "ListAuthorizedCertificatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"httpMethod": "PATCH", +"id": "appengine.projects.locations.applications.authorizedCertificates.patch", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"authorizedCertificatesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"authorizedCertificatesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}", +"request": { +"$ref": "AuthorizedCertificate" +}, +"response": { +"$ref": "AuthorizedCertificate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"authorizedDomains": { +"methods": { +"list": { +"description": "Lists all domains the user is authorized to administer.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains", +"httpMethod": "GET", +"id": "appengine.projects.locations.applications.authorizedDomains.list", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"projectsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains", +"response": { +"$ref": "ListAuthorizedDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"domainMappings": { +"methods": { +"create": { +"description": "Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings", +"httpMethod": "POST", +"id": "appengine.projects.locations.applications.domainMappings.create", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"overrideStrategy": { +"description": "Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.", +"enum": [ +"UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", +"STRICT", +"OVERRIDE" +], +"enumDescriptions": [ +"Strategy unspecified. Defaults to STRICT.", +"Overrides not allowed. If a mapping already exists for the specified domain, the request will return an ALREADY_EXISTS (409).", +"Overrides allowed. If a mapping already exists for the specified domain, the request will overwrite it. Note that this might stop another Google product from serving. For example, if the domain is mapped to another App Engine application, that app will no longer serve from that domain." +], +"location": "query", +"type": "string" +}, +"projectsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings", +"request": { +"$ref": "DomainMapping" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"httpMethod": "DELETE", +"id": "appengine.projects.locations.applications.domainMappings.delete", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"domainMappingsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified domain mapping.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"httpMethod": "GET", +"id": "appengine.projects.locations.applications.domainMappings.get", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"domainMappingsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"response": { +"$ref": "DomainMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists the domain mappings on an application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings", +"httpMethod": "GET", +"id": "appengine.projects.locations.applications.domainMappings.list", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `parent`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"projectsId": { +"description": "Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings", +"response": { +"$ref": "ListDomainMappingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/appengine.admin", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"httpMethod": "PATCH", +"id": "appengine.projects.locations.applications.domainMappings.patch", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"domainMappingsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"domainMappingsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/domainMappings/example.com.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}", +"request": { +"$ref": "DomainMapping" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"delete": { +"description": "Deletes the specified service and all enclosed versions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "appengine.projects.locations.applications.services.delete", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the configuration of the specified service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "appengine.projects.locations.applications.services.patch", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"migrateTraffic": { +"description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).", +"location": "query", +"type": "boolean" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"delete": { +"description": "Deletes an existing Version resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "appengine.projects.locations.applications.services.versions.delete", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "appengine.projects.locations.applications.services.versions.patch", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default/versions/1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Standard field mask for the set of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"debug": { +"description": "Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in \"debug mode\", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", +"httpMethod": "POST", +"id": "appengine.projects.locations.applications.services.versions.instances.debug", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId", +"instancesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"instancesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", +"request": { +"$ref": "DebugInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see \"How Instances are Managed\" (standard environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "appengine.projects.locations.applications.services.versions.instances.delete", +"parameterOrder": [ +"projectsId", +"locationsId", +"applicationsId", +"servicesId", +"versionsId", +"instancesId" +], +"parameters": { +"applicationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"instancesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"locationsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"projectsId": { +"description": "Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"location": "path", +"required": true, +"type": "string" +}, +"servicesId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +}, +"versionsId": { +"description": "Part of `name`. See documentation of `projectsId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260202", +"rootUrl": "https://appengine.googleapis.com/", +"schemas": { +"ApiConfigHandler": { +"description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers.", +"id": "ApiConfigHandler", +"properties": { +"authFailAction": { +"description": "Action to take when users access resources that require authentication. Defaults to redirect.", +"enum": [ +"AUTH_FAIL_ACTION_UNSPECIFIED", +"AUTH_FAIL_ACTION_REDIRECT", +"AUTH_FAIL_ACTION_UNAUTHORIZED" +], +"enumDescriptions": [ +"Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", +"Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account.", +"Rejects request with a 401 HTTP status code and an error message." +], +"type": "string" +}, +"login": { +"description": "Level of login required to access this resource. Defaults to optional.", +"enum": [ +"LOGIN_UNSPECIFIED", +"LOGIN_OPTIONAL", +"LOGIN_ADMIN", +"LOGIN_REQUIRED" +], +"enumDescriptions": [ +"Not specified. LOGIN_OPTIONAL is assumed.", +"Does not require that the user is signed in.", +"If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.", +"If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken." +], +"type": "string" +}, +"script": { +"description": "Path to the script from the application root directory.", +"type": "string" +}, +"securityLevel": { +"description": "Security (HTTPS) enforcement for this URL.", +"enum": [ +"SECURE_UNSPECIFIED", +"SECURE_DEFAULT", +"SECURE_NEVER", +"SECURE_OPTIONAL", +"SECURE_ALWAYS" +], +"enumDescriptions": [ +"Not specified.", +"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.", +"Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.", +"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.", +"Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect." +], +"type": "string" +}, +"url": { +"description": "URL to serve the endpoint at.", +"type": "string" +} +}, +"type": "object" +}, +"ApiEndpointHandler": { +"description": "Uses Google Cloud Endpoints to handle requests.", +"id": "ApiEndpointHandler", +"properties": { +"scriptPath": { +"description": "Path to the script from the application root directory.", +"type": "string" +} +}, +"type": "object" +}, +"Application": { +"description": "An Application resource contains the top-level configuration of an App Engine application.", +"id": "Application", +"properties": { +"authDomain": { +"description": "Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.", +"type": "string" +}, +"codeBucket": { +"description": "Output only. Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"databaseType": { +"description": "The type of the Cloud Firestore or Cloud Datastore database associated with this application.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"CLOUD_DATASTORE", +"CLOUD_FIRESTORE", +"CLOUD_DATASTORE_COMPATIBILITY" +], +"enumDescriptions": [ +"Database type is unspecified.", +"Cloud Datastore", +"Cloud Firestore Native", +"Cloud Firestore in Datastore Mode" +], +"type": "string" +}, +"defaultBucket": { +"description": "Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"defaultCookieExpiration": { +"description": "Cookie expiration policy for this application.", +"format": "google-duration", +"type": "string" +}, +"defaultHostname": { +"description": "Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"dispatchRules": { +"description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.", +"items": { +"$ref": "UrlDispatchRule" +}, +"type": "array" +}, +"featureSettings": { +"$ref": "FeatureSettings", +"description": "The feature specific settings to be used in the application." +}, +"gcrDomain": { +"description": "Output only. The Google Container Registry domain used for storing managed build docker images for this application.", +"readOnly": true, +"type": "string" +}, +"generatedCustomerMetadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest", +"type": "object" +}, +"iap": { +"$ref": "IdentityAwareProxy" +}, +"id": { +"description": "Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.", +"type": "string" +}, +"locationId": { +"description": "Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).", +"type": "string" +}, +"name": { +"readOnly": true, +"type": "string" +}, +"serviceAccount": { +"description": "The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.", +"type": "string" +}, +"servingStatus": { +"description": "Serving status of this application.", +"enum": [ +"UNSPECIFIED", +"SERVING", +"USER_DISABLED", +"SYSTEM_DISABLED" +], +"enumDescriptions": [ +"Serving status is unspecified.", +"Application is serving.", +"Application has been disabled by the user.", +"Application has been disabled by the system." +], +"type": "string" +}, +"sslPolicy": { +"description": "The SSL policy that will be applied to the application. If set to Modern it will restrict traffic with TLS < 1.2 and allow only Modern Ciphers suite", +"enum": [ +"SSL_POLICY_UNSPECIFIED", +"DEFAULT", +"MODERN" +], +"enumDescriptions": [ +"Required by linter. Will work same as DEFAULT", +"DEFAULT is to allow all TLS versions and cipher suites supported by App Engine", +"MODERN is to allow only TLS 1.2 and TLS 1.3 along with Modern cipher suites only" +], +"type": "string" +} +}, +"type": "object" +}, +"AuthorizedCertificate": { +"description": "An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.", +"id": "AuthorizedCertificate", +"properties": { +"certificateRawData": { +"$ref": "CertificateRawData", +"description": "The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority." +}, +"displayName": { +"description": "The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.", +"type": "string" +}, +"domainMappingsCount": { +"description": "Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly", +"format": "int32", +"type": "integer" +}, +"domainNames": { +"description": "Output only. Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.@OutputOnly", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"expireTime": { +"description": "The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Output only. Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"managedCertificate": { +"$ref": "ManagedCertificate", +"description": "Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.@OutputOnly" +}, +"name": { +"description": "Output only. Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"visibleDomainMappings": { +"description": "Output only. The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"AuthorizedDomain": { +"description": "A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console (https://search.google.com/search-console/welcome).", +"id": "AuthorizedDomain", +"properties": { +"id": { +"description": "Fully qualified domain name of the domain authorized for use. Example: example.com.", +"type": "string" +}, +"name": { +"description": "Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly", +"type": "string" +} +}, +"type": "object" +}, +"AutomaticScaling": { +"description": "Automatic scaling is based on request rate, response latencies, and other application metrics.", +"id": "AutomaticScaling", +"properties": { +"coolDownPeriod": { +"description": "The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.", +"format": "google-duration", +"type": "string" +}, +"cpuUtilization": { +"$ref": "CpuUtilization", +"description": "Target scaling by CPU usage." +}, +"diskUtilization": { +"$ref": "DiskUtilization", +"description": "Target scaling by disk usage." +}, +"maxConcurrentRequests": { +"description": "Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.", +"format": "int32", +"type": "integer" +}, +"maxIdleInstances": { +"description": "Maximum number of idle instances that should be maintained for this version.", +"format": "int32", +"type": "integer" +}, +"maxPendingLatency": { +"description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.", +"format": "google-duration", +"type": "string" +}, +"maxTotalInstances": { +"description": "Maximum number of instances that should be started to handle requests for this version.", +"format": "int32", +"type": "integer" +}, +"minIdleInstances": { +"description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.", +"format": "int32", +"type": "integer" +}, +"minPendingLatency": { +"description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.", +"format": "google-duration", +"type": "string" +}, +"minTotalInstances": { +"description": "Minimum number of running instances that should be maintained for this version.", +"format": "int32", +"type": "integer" +}, +"networkUtilization": { +"$ref": "NetworkUtilization", +"description": "Target scaling by network usage." +}, +"requestUtilization": { +"$ref": "RequestUtilization", +"description": "Target scaling by request utilization." +}, +"standardSchedulerSettings": { +"$ref": "StandardSchedulerSettings", +"description": "Scheduler settings for standard environment." +} +}, +"type": "object" +}, +"BasicScaling": { +"description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.", +"id": "BasicScaling", +"properties": { +"idleTimeout": { +"description": "Duration of time after the last request that an instance must wait before the instance is shut down.", +"format": "google-duration", +"type": "string" +}, +"maxInstances": { +"description": "Maximum number of instances to create for this version.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BatchUpdateIngressRulesRequest": { +"description": "Request message for Firewall.BatchUpdateIngressRules.", +"id": "BatchUpdateIngressRulesRequest", +"properties": { +"ingressRules": { +"description": "A list of FirewallRules to replace the existing set.", +"items": { +"$ref": "FirewallRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateIngressRulesResponse": { +"description": "Response message for Firewall.UpdateAllIngressRules.", +"id": "BatchUpdateIngressRulesResponse", +"properties": { +"ingressRules": { +"description": "The full list of ingress FirewallRules for this application.", +"items": { +"$ref": "FirewallRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"CertificateRawData": { +"description": "An SSL certificate obtained from a certificate authority.", +"id": "CertificateRawData", +"properties": { +"privateKey": { +"description": "Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly", +"type": "string" +}, +"publicCertificate": { +"description": "PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- ", +"type": "string" +} +}, +"type": "object" +}, +"CloudBuildOptions": { +"description": "Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.", +"id": "CloudBuildOptions", +"properties": { +"appYamlPath": { +"description": "Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.", +"type": "string" +}, +"cloudBuildTimeout": { +"description": "The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ContainerInfo": { +"description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.", +"id": "ContainerInfo", +"properties": { +"image": { +"description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"", +"type": "string" +} +}, +"type": "object" +}, +"ContainerState": { +"description": "ContainerState contains the externally-visible container state that is used to communicate the state and reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's internal representation of the container state.", +"id": "ContainerState", +"properties": { +"currentReasons": { +"$ref": "Reasons" +}, +"previousReasons": { +"$ref": "Reasons", +"description": "The previous and current reasons for a container state will be sent for a container event. CLHs that need to know the signal that caused the container event to trigger (edges) as opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the last known set of non-unknown non-control_plane_sync reasons for the state." +}, +"state": { +"description": "The current state of the container. This state is the culmination of all of the opinions from external systems that CCFE knows about of the container.", +"enum": [ +"UNKNOWN_STATE", +"ON", +"OFF", +"DELETED" +], +"enumDescriptions": [ +"A container should never be in an unknown state. Receipt of a container with this state is an error.", +"CCFE considers the container to be serving or transitioning into serving.", +"CCFE considers the container to be in an OFF state. This could occur due to various factors. The state could be triggered by Google-internal audits (ex. abuse suspension, billing closed) or cleanups trigged by compliance systems (ex. data governance hide). User-initiated events such as service management deactivation trigger a container to an OFF state.CLHs might choose to do nothing in this case or to turn off costly resources. CLHs need to consider the customer experience if an ON/OFF/ON sequence of state transitions occurs vs. the cost of deleting resources, keeping metadata about resources, or even keeping resources live for a period of time.CCFE will not send any new customer requests to the CLH when the container is in an OFF state. However, CCFE will allow all previous customer requests relayed to CLH to complete.", +"This state indicates that the container has been (or is being) completely removed. This is often due to a data governance purge request and therefore resources should be deleted when this state is reached." +], +"type": "string" +} +}, +"type": "object" +}, +"CpuUtilization": { +"description": "Target scaling by CPU usage.", +"id": "CpuUtilization", +"properties": { +"aggregationWindowLength": { +"description": "Period of time over which CPU utilization is calculated.", +"format": "google-duration", +"type": "string" +}, +"targetUtilization": { +"description": "Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"CreateVersionMetadataV1": { +"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.", +"id": "CreateVersionMetadataV1", +"properties": { +"cloudBuildId": { +"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly", +"type": "string" +} +}, +"type": "object" +}, +"CreateVersionMetadataV1Alpha": { +"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.", +"id": "CreateVersionMetadataV1Alpha", +"properties": { +"cloudBuildId": { +"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly", +"type": "string" +} +}, +"type": "object" +}, +"CreateVersionMetadataV1Beta": { +"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1beta.CreateVersionRequest.", +"id": "CreateVersionMetadataV1Beta", +"properties": { +"cloudBuildId": { +"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DebugInstanceRequest": { +"description": "Request message for Instances.DebugInstance.", +"id": "DebugInstanceRequest", +"properties": { +"sshKey": { +"description": "Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).", +"type": "string" +} +}, +"type": "object" +}, +"Deployment": { +"description": "Code and application artifacts used to deploy a version to App Engine.", +"id": "Deployment", +"properties": { +"cloudBuildOptions": { +"$ref": "CloudBuildOptions", +"description": "Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip." +}, +"container": { +"$ref": "ContainerInfo", +"description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment." +}, +"files": { +"additionalProperties": { +"$ref": "FileInfo" +}, +"description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.", +"type": "object" +}, +"zip": { +"$ref": "ZipInfo", +"description": "The zip file for this deployment, if this is a zip deployment." +} +}, +"type": "object" +}, +"DiskUtilization": { +"description": "Target scaling by disk usage. Only applicable in the App Engine flexible environment.", +"id": "DiskUtilization", +"properties": { +"targetReadBytesPerSecond": { +"description": "Target bytes read per second.", +"format": "int32", +"type": "integer" +}, +"targetReadOpsPerSecond": { +"description": "Target ops read per seconds.", +"format": "int32", +"type": "integer" +}, +"targetWriteBytesPerSecond": { +"description": "Target bytes written per second.", +"format": "int32", +"type": "integer" +}, +"targetWriteOpsPerSecond": { +"description": "Target ops written per second.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DomainMapping": { +"description": "A domain serving an App Engine application.", +"id": "DomainMapping", +"properties": { +"id": { +"description": "Relative name of the domain serving the application. Example: example.com.", +"type": "string" +}, +"name": { +"description": "Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"resourceRecords": { +"description": "Output only. The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.@OutputOnly", +"items": { +"$ref": "ResourceRecord" +}, +"readOnly": true, +"type": "array" +}, +"sslSettings": { +"$ref": "SslSettings", +"description": "SSL configuration for this domain. If unconfigured, this domain will not serve with SSL." +} +}, +"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" +}, +"EndpointsApiService": { +"description": "Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).", +"id": "EndpointsApiService", +"properties": { +"configId": { +"description": "Endpoints service configuration ID as specified by the Service Management API. For example \"2016-09-19r1\".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.", +"type": "string" +}, +"disableTraceSampling": { +"description": "Enable or disable trace sampling. By default, this is set to false for enabled.", +"type": "boolean" +}, +"name": { +"description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"", +"type": "string" +}, +"rolloutStrategy": { +"description": "Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.", +"enum": [ +"UNSPECIFIED_ROLLOUT_STRATEGY", +"FIXED", +"MANAGED" +], +"enumDescriptions": [ +"Not specified. Defaults to FIXED.", +"Endpoints service configuration ID will be fixed to the configuration ID specified by config_id.", +"Endpoints service configuration ID will be updated with each rollout." +], +"type": "string" +} +}, +"type": "object" +}, +"Entrypoint": { +"description": "The entrypoint for the application.", +"id": "Entrypoint", +"properties": { +"shell": { +"description": "The format should be a shell command that can be fed to bash -c.", +"type": "string" +} +}, +"type": "object" +}, +"ErrorHandler": { +"description": "Custom static error page to be served when an error occurs.", +"id": "ErrorHandler", +"properties": { +"errorCode": { +"description": "Error condition this handler applies to.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"ERROR_CODE_DEFAULT", +"ERROR_CODE_OVER_QUOTA", +"ERROR_CODE_DOS_API_DENIAL", +"ERROR_CODE_TIMEOUT" +], +"enumDescriptions": [ +"Not specified. ERROR_CODE_DEFAULT is assumed.", +"All other error types.", +"Application has exceeded a resource quota.", +"Client blocked by the application's Denial of Service protection configuration.", +"Deadline reached before the application responds." +], +"type": "string" +}, +"mimeType": { +"description": "MIME type of file. Defaults to text/html.", +"type": "string" +}, +"staticFile": { +"description": "Static file content to be served for this error.", +"type": "string" +} +}, +"type": "object" +}, +"FeatureSettings": { +"description": "The feature specific settings to be used in the application. These define behaviors that are user configurable.", +"id": "FeatureSettings", +"properties": { +"splitHealthChecks": { +"description": "Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.", +"type": "boolean" +}, +"useContainerOptimizedOs": { +"description": "If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image.", +"type": "boolean" +} +}, +"type": "object" +}, +"FileInfo": { +"description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.", +"id": "FileInfo", +"properties": { +"mimeType": { +"description": "The MIME type of the file.Defaults to the value from Google Cloud Storage.", +"type": "string" +}, +"sha1Sum": { +"description": "The SHA1 hash of the file, in hex.", +"type": "string" +}, +"sourceUrl": { +"description": "URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'.", +"type": "string" +} +}, +"type": "object" +}, +"FirewallRule": { +"description": "A single firewall rule that is evaluated against incoming traffic and provides an action to take on matched requests. A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.", +"id": "FirewallRule", +"properties": { +"action": { +"description": "The action to take on matched requests.", +"enum": [ +"UNSPECIFIED_ACTION", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"", +"Matching requests are allowed.", +"Matching requests are denied." +], +"type": "string" +}, +"description": { +"description": "An optional string description of this rule. This field has a maximum length of 400 characters.", +"type": "string" +}, +"priority": { +"format": "int32", +"type": "integer" +}, +"sourceRange": { +"description": "IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character \"*\" to match all IPs equivalent to \"0/0\" and \"::/0\" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.", +"type": "string" +} +}, +"type": "object" +}, +"FlexibleRuntimeSettings": { +"description": "Runtime settings for the App Engine flexible environment.", +"id": "FlexibleRuntimeSettings", +"properties": { +"operatingSystem": { +"description": "The operating system of the application runtime.", +"type": "string" +}, +"runtimeVersion": { +"description": "The runtime version of an App Engine flexible application.", +"type": "string" +} +}, +"type": "object" +}, +"GceTag": { +"description": "For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info.", +"id": "GceTag", +"properties": { +"parent": { +"description": "The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains only one parent. But, in some corner cases, it can contain multiple parents. Currently, organizations are not supported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tag": { +"description": "The administrative_tag name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppengineV1betaLocationMetadata": { +"description": "Metadata for the given google.cloud.location.Location.", +"id": "GoogleAppengineV1betaLocationMetadata", +"properties": { +"flexibleEnvironmentAvailable": { +"description": "App Engine flexible environment is available in the given location.@OutputOnly", +"type": "boolean" +}, +"searchApiAvailable": { +"description": "Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location.", +"readOnly": true, +"type": "boolean" +}, +"standardEnvironmentAvailable": { +"description": "App Engine standard environment is available in the given location.@OutputOnly", +"type": "boolean" +} +}, +"type": "object" +}, +"HealthCheck": { +"description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.", +"id": "HealthCheck", +"properties": { +"checkInterval": { +"description": "Interval between health checks.", +"format": "google-duration", +"type": "string" +}, +"disableHealthCheck": { +"description": "Whether to explicitly disable health checks for this instance.", +"type": "boolean" +}, +"healthyThreshold": { +"description": "Number of consecutive successful health checks required before receiving traffic.", +"format": "uint32", +"type": "integer" +}, +"host": { +"description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"", +"type": "string" +}, +"restartThreshold": { +"description": "Number of consecutive failed health checks required before an instance is restarted.", +"format": "uint32", +"type": "integer" +}, +"timeout": { +"description": "Time before the health check is considered failed.", +"format": "google-duration", +"type": "string" +}, +"unhealthyThreshold": { +"description": "Number of consecutive failed health checks required before removing traffic.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"IdentityAwareProxy": { +"description": "Identity-Aware Proxy", +"id": "IdentityAwareProxy", +"properties": { +"enabled": { +"description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.", +"type": "boolean" +}, +"oauth2ClientId": { +"description": "OAuth2 client ID to use for the authentication flow.", +"type": "string" +}, +"oauth2ClientSecret": { +"description": "OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly", +"type": "string" +}, +"oauth2ClientSecretSha256": { +"description": "Output only. Hex-encoded SHA-256 hash of the client secret.@OutputOnly", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.", +"id": "Instance", +"properties": { +"appEngineRelease": { +"description": "Output only. App Engine release this instance is running on.", +"readOnly": true, +"type": "string" +}, +"availability": { +"description": "Output only. Availability of the instance.", +"enum": [ +"UNSPECIFIED", +"RESIDENT", +"DYNAMIC" +], +"enumDescriptions": [ +"", +"", +"" +], +"readOnly": true, +"type": "string" +}, +"averageLatency": { +"description": "Output only. Average latency (ms) over the last minute.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"errors": { +"description": "Output only. Number of errors since this instance was started.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"id": { +"description": "Output only. Relative name of the instance within the version. Example: instance-1.", +"readOnly": true, +"type": "string" +}, +"memoryUsage": { +"description": "Output only. Total memory in use (bytes).", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", +"readOnly": true, +"type": "string" +}, +"qps": { +"description": "Output only. Average queries per second (QPS) over the last minute.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"requests": { +"description": "Output only. Number of requests since this instance was started.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Output only. Time that this instance was started.@OutputOnly", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vmDebugEnabled": { +"description": "Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "boolean" +}, +"vmId": { +"description": "Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "string" +}, +"vmIp": { +"description": "Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "string" +}, +"vmLiveness": { +"description": "Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.", +"enum": [ +"LIVENESS_STATE_UNSPECIFIED", +"UNKNOWN", +"HEALTHY", +"UNHEALTHY", +"DRAINING", +"TIMEOUT" +], +"enumDescriptions": [ +"There is no liveness health check for the instance. Only applicable for instances in App Engine standard environment.", +"The health checking system is aware of the instance but its health is not known at the moment.", +"The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.", +"The instance is reachable, but does not conform to the requirements defined by the health check.", +"The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.", +"The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout." +], +"readOnly": true, +"type": "string" +}, +"vmName": { +"description": "Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "string" +}, +"vmStatus": { +"description": "Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "string" +}, +"vmZoneName": { +"description": "Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Library": { +"description": "Third-party Python runtime library that is required by the application.", +"id": "Library", +"properties": { +"name": { +"description": "Name of the library. Example: \"django\".", +"type": "string" +}, +"version": { +"description": "Version of the library to select, or \"latest\".", +"type": "string" +} +}, +"type": "object" +}, +"ListAuthorizedCertificatesResponse": { +"description": "Response message for AuthorizedCertificates.ListAuthorizedCertificates.", +"id": "ListAuthorizedCertificatesResponse", +"properties": { +"certificates": { +"description": "The SSL certificates the user is authorized to administer.", +"items": { +"$ref": "AuthorizedCertificate" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAuthorizedDomainsResponse": { +"description": "Response message for AuthorizedDomains.ListAuthorizedDomains.", +"id": "ListAuthorizedDomainsResponse", +"properties": { +"domains": { +"description": "The authorized domains belonging to the user.", +"items": { +"$ref": "AuthorizedDomain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDomainMappingsResponse": { +"description": "Response message for DomainMappings.ListDomainMappings.", +"id": "ListDomainMappingsResponse", +"properties": { +"domainMappings": { +"description": "The domain mappings for the application.", +"items": { +"$ref": "DomainMapping" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListIngressRulesResponse": { +"description": "Response message for Firewall.ListIngressRules.", +"id": "ListIngressRulesResponse", +"properties": { +"ingressRules": { +"description": "The ingress FirewallRules for this application.", +"items": { +"$ref": "FirewallRule" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response message for Instances.ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The instances belonging to the requested version.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRuntimesResponse": { +"description": "Response message for Applications.ListRuntimes.", +"id": "ListRuntimesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"runtimes": { +"description": "The runtimes available to the requested application.", +"items": { +"$ref": "Runtime" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response message for Services.ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"services": { +"description": "The services belonging to the requested application.", +"items": { +"$ref": "Service" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVersionsResponse": { +"description": "Response message for Versions.ListVersions.", +"id": "ListVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"versions": { +"description": "The versions belonging to the requested service.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"LivenessCheck": { +"description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.", +"id": "LivenessCheck", +"properties": { +"checkInterval": { +"description": "Interval between health checks.", +"format": "google-duration", +"type": "string" +}, +"failureThreshold": { +"description": "Number of consecutive failed checks required before considering the VM unhealthy.", +"format": "uint32", +"type": "integer" +}, +"host": { +"description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"", +"type": "string" +}, +"initialDelay": { +"description": "The initial delay before starting to execute the checks.", +"format": "google-duration", +"type": "string" +}, +"path": { +"description": "The request path.", +"type": "string" +}, +"successThreshold": { +"description": "Number of consecutive successful checks required before considering the VM healthy.", +"format": "uint32", +"type": "integer" +}, +"timeout": { +"description": "Time before the check is considered failed.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"} ", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: \"us-east1\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Metadata for the given google.cloud.location.Location.", +"id": "LocationMetadata", +"properties": { +"flexibleEnvironmentAvailable": { +"description": "App Engine flexible environment is available in the given location.@OutputOnly", +"type": "boolean" +}, +"searchApiAvailable": { +"description": "Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location.", +"readOnly": true, +"type": "boolean" +}, +"standardEnvironmentAvailable": { +"description": "App Engine standard environment is available in the given location.@OutputOnly", +"type": "boolean" +} +}, +"type": "object" +}, +"ManagedCertificate": { +"description": "A certificate managed by App Engine.", +"id": "ManagedCertificate", +"properties": { +"lastRenewalTime": { +"description": "Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"status": { +"description": "Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly", +"enum": [ +"MANAGEMENT_STATUS_UNSPECIFIED", +"OK", +"PENDING", +"FAILED_RETRYING_NOT_VISIBLE", +"FAILED_PERMANENT", +"FAILED_RETRYING_CAA_FORBIDDEN", +"FAILED_RETRYING_CAA_CHECKING" +], +"enumDescriptions": [ +"", +"Certificate was successfully obtained and inserted into the serving system.", +"Certificate is under active attempts to acquire or renew.", +"Most recent renewal failed due to an invalid DNS setup and will be retried. Renewal attempts will continue to fail until the certificate domain's DNS configuration is fixed. The last successfully provisioned certificate may still be serving.", +"All renewal attempts have been exhausted, likely due to an invalid DNS setup.", +"Most recent renewal failed due to an explicit CAA record that does not include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will continue to fail until the CAA is reconfigured. The last successfully provisioned certificate may still be serving.", +"Most recent renewal failed due to a CAA retrieval failure. This means that the domain's DNS provider does not properly handle CAA records, failing requests for CAA records when no CAA records are defined. Renewals will continue to fail until the DNS provider is changed or a CAA record is added for the given domain. The last successfully provisioned certificate may still be serving." +], +"type": "string" +} +}, +"type": "object" +}, +"ManualScaling": { +"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.", +"id": "ManualScaling", +"properties": { +"instances": { +"description": "Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Network": { +"description": "Extra network settings. Only applicable in the App Engine flexible environment.", +"id": "Network", +"properties": { +"forwardedPorts": { +"description": "List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instanceIpMode": { +"description": "The IP mode for instances. Only applicable in the App Engine flexible environment.", +"enum": [ +"INSTANCE_IP_MODE_UNSPECIFIED", +"EXTERNAL", +"INTERNAL" +], +"enumDescriptions": [ +"Unspecified is treated as EXTERNAL.", +"Instances are created with both internal and external IP addresses.", +"Instances are created with internal IP addresses only." +], +"type": "string" +}, +"instanceTag": { +"description": "Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.", +"type": "string" +}, +"name": { +"description": "Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.", +"type": "string" +}, +"sessionAffinity": { +"description": "Enable session affinity. Only applicable in the App Engine flexible environment.", +"type": "boolean" +}, +"subnetworkName": { +"description": "Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkSettings": { +"description": "A NetworkSettings resource is a container for ingress settings for a version or service.", +"id": "NetworkSettings", +"properties": { +"ingressTrafficAllowed": { +"description": "The ingress settings for version or service.", +"enum": [ +"INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED", +"INGRESS_TRAFFIC_ALLOWED_ALL", +"INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY", +"INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB" +], +"enumDescriptions": [ +"Unspecified", +"Allow HTTP traffic from public and private sources.", +"Allow HTTP traffic from only private VPC sources.", +"Allow HTTP traffic from private VPC sources and through load balancers." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkUtilization": { +"description": "Target scaling by network usage. Only applicable in the App Engine flexible environment.", +"id": "NetworkUtilization", +"properties": { +"targetReceivedBytesPerSecond": { +"description": "Target bytes received per second.", +"format": "int32", +"type": "integer" +}, +"targetReceivedPacketsPerSecond": { +"description": "Target packets received per second.", +"format": "int32", +"type": "integer" +}, +"targetSentBytesPerSecond": { +"description": "Target bytes sent per second.", +"format": "int32", +"type": "integer" +}, +"targetSentPacketsPerSecond": { +"description": "Target packets sent per second.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadataV1": { +"description": "Metadata for the given google.longrunning.Operation.", +"id": "OperationMetadataV1", +"properties": { +"createVersionMetadata": { +"$ref": "CreateVersionMetadataV1" +}, +"endTime": { +"description": "Time that this operation completed.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"ephemeralMessage": { +"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", +"type": "string" +}, +"insertTime": { +"description": "Time that this operation was created.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"method": { +"description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly", +"type": "string" +}, +"target": { +"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", +"type": "string" +}, +"user": { +"description": "User who requested this operation.@OutputOnly", +"type": "string" +}, +"warning": { +"description": "Durable messages that persist on every operation poll. @OutputOnly", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"OperationMetadataV1Alpha": { +"description": "Metadata for the given google.longrunning.Operation.", +"id": "OperationMetadataV1Alpha", +"properties": { +"createVersionMetadata": { +"$ref": "CreateVersionMetadataV1Alpha" +}, +"endTime": { +"description": "Time that this operation completed.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"ephemeralMessage": { +"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", +"type": "string" +}, +"insertTime": { +"description": "Time that this operation was created.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"method": { +"description": "API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", +"type": "string" +}, +"target": { +"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", +"type": "string" +}, +"user": { +"description": "User who requested this operation.@OutputOnly", +"type": "string" +}, +"warning": { +"description": "Durable messages that persist on every operation poll. @OutputOnly", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"OperationMetadataV1Beta": { +"description": "Metadata for the given google.longrunning.Operation.", +"id": "OperationMetadataV1Beta", +"properties": { +"createVersionMetadata": { +"$ref": "CreateVersionMetadataV1Beta" +}, +"endTime": { +"description": "Time that this operation completed.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"ephemeralMessage": { +"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", +"type": "string" +}, +"insertTime": { +"description": "Time that this operation was created.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"method": { +"description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", +"type": "string" +}, +"target": { +"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", +"type": "string" +}, +"user": { +"description": "User who requested this operation.@OutputOnly", +"type": "string" +}, +"warning": { +"description": "Durable messages that persist on every operation poll. @OutputOnly", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProjectEvent": { +"description": "The request sent to CLHs during project events.", +"id": "ProjectEvent", +"properties": { +"eventId": { +"description": "The unique ID for this project event. CLHs can use this value to dedup repeated calls. required", +"type": "string" +}, +"phase": { +"description": "Phase indicates when in the container event propagation this event is being communicated. Events are sent before and after the per-resource events are propagated. required", +"enum": [ +"CONTAINER_EVENT_PHASE_UNSPECIFIED", +"BEFORE_RESOURCE_HANDLING", +"AFTER_RESOURCE_HANDLING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"projectMetadata": { +"$ref": "ProjectsMetadata", +"description": "The projects metadata for this project. required" +}, +"state": { +"$ref": "ContainerState", +"description": "The state of the organization that led to this event." +} +}, +"type": "object" +}, +"ProjectsMetadata": { +"description": "ProjectsMetadata is the metadata CCFE stores about the all the relevant projects (tenant, consumer, producer).", +"id": "ProjectsMetadata", +"properties": { +"consumerProjectId": { +"description": "The consumer project id.", +"type": "string" +}, +"consumerProjectNumber": { +"description": "The consumer project number.", +"format": "int64", +"type": "string" +}, +"consumerProjectState": { +"description": "The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project events. Notice that this field is not set in the DB, it is only set in this proto when communicated to CLH in the side channel.", +"enum": [ +"UNKNOWN_STATE", +"ON", +"OFF", +"DELETED" +], +"enumDescriptions": [ +"A container should never be in an unknown state. Receipt of a container with this state is an error.", +"CCFE considers the container to be serving or transitioning into serving.", +"CCFE considers the container to be in an OFF state. This could occur due to various factors. The state could be triggered by Google-internal audits (ex. abuse suspension, billing closed) or cleanups trigged by compliance systems (ex. data governance hide). User-initiated events such as service management deactivation trigger a container to an OFF state.CLHs might choose to do nothing in this case or to turn off costly resources. CLHs need to consider the customer experience if an ON/OFF/ON sequence of state transitions occurs vs. the cost of deleting resources, keeping metadata about resources, or even keeping resources live for a period of time.CCFE will not send any new customer requests to the CLH when the container is in an OFF state. However, CCFE will allow all previous customer requests relayed to CLH to complete.", +"This state indicates that the container has been (or is being) completely removed. This is often due to a data governance purge request and therefore resources should be deleted when this state is reached." +], +"type": "string" +}, +"gceTag": { +"description": "The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not supported by CCFE.", +"items": { +"$ref": "GceTag" +}, +"type": "array" +}, +"isGceProjectDeprovisioning": { +"deprecated": true, +"description": "DEPRECATED: Indicates whether the GCE project is in the DEPROVISIONING state. This field is a temporary workaround (see b/475310865) to allow GCE extensions to bypass certain checks during deprovisioning. It will be replaced by a permanent solution in the future.", +"type": "boolean" +}, +"p4ServiceAccount": { +"description": "The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH.", +"type": "string" +}, +"producerProjectId": { +"description": "The producer project id.", +"type": "string" +}, +"producerProjectNumber": { +"description": "The producer project number.", +"format": "int64", +"type": "string" +}, +"tenantProjectId": { +"description": "The tenant project id.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "The tenant project number.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReadinessCheck": { +"description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.", +"id": "ReadinessCheck", +"properties": { +"appStartTimeout": { +"description": "A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.", +"format": "google-duration", +"type": "string" +}, +"checkInterval": { +"description": "Interval between health checks.", +"format": "google-duration", +"type": "string" +}, +"failureThreshold": { +"description": "Number of consecutive failed checks required before removing traffic.", +"format": "uint32", +"type": "integer" +}, +"host": { +"description": "Host header to send when performing a HTTP Readiness check. Example: \"myapp.appspot.com\"", +"type": "string" +}, +"path": { +"description": "The request path.", +"type": "string" +}, +"successThreshold": { +"description": "Number of consecutive successful checks required before receiving traffic.", +"format": "uint32", +"type": "integer" +}, +"timeout": { +"description": "Time before the check is considered failed.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Reasons": { +"description": "Containers transition between and within states based on reasons sent from various systems. CCFE will provide the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API) Service Activation (Service Controller)", +"id": "Reasons", +"properties": { +"abuse": { +"enum": [ +"ABUSE_UNKNOWN_REASON", +"ABUSE_CONTROL_PLANE_SYNC", +"SUSPEND", +"REINSTATE" +], +"enumDescriptions": [ +"An unknown reason indicates that the abuse system has not sent a signal for this container.", +"Due to various reasons CCFE might proactively restate a container state to a CLH to ensure that the CLH and CCFE are both aware of the container state. This reason can be tied to any of the states.", +"If a container is deemed abusive we receive a suspend signal. Suspend is a reason to put the container into an INTERNAL_OFF state.", +"Containers that were once considered abusive can later be deemed non-abusive. When this happens we must reinstate the container. Reinstate is a reason to put the container into an ON state." +], +"type": "string" +}, +"billing": { +"enum": [ +"BILLING_UNKNOWN_REASON", +"BILLING_CONTROL_PLANE_SYNC", +"PROBATION", +"CLOSE", +"OPEN" +], +"enumDescriptions": [ +"An unknown reason indicates that the billing system has not sent a signal for this container.", +"Due to various reasons CCFE might proactively restate a container state to a CLH to ensure that the CLH and CCFE are both aware of the container state. This reason can be tied to any of the states.", +"Minor infractions cause a probation signal to be sent. Probation is a reason to put the container into a ON state even though it is a negative signal. CCFE will block mutations for this container while it is on billing probation, but the CLH is expected to serve non-mutation requests.", +"When a billing account is closed, it is a stronger signal about non-payment. Close is a reason to put the container into an INTERNAL_OFF state.", +"Consumers can re-open billing accounts and update accounts to pull them out of probation. When this happens, we get a signal that the account is open. Open is a reason to put the container into an ON state." +], +"type": "string" +}, +"dataGovernance": { +"enum": [ +"DATA_GOVERNANCE_UNKNOWN_REASON", +"DATA_GOVERNANCE_CONTROL_PLANE_SYNC", +"HIDE", +"UNHIDE", +"PURGE" +], +"enumDescriptions": [ +"An unknown reason indicates that data governance has not sent a signal for this container.", +"Due to various reasons CCFE might proactively restate a container state to a CLH to ensure that the CLH and CCFE are both aware of the container state. This reason can be tied to any of the states.", +"When a container is deleted we retain some data for a period of time to allow the consumer to change their mind. Data governance sends a signal to hide the data when this occurs. Hide is a reason to put the container in an INTERNAL_OFF state.", +"The decision to un-delete a container can be made. When this happens data governance tells us to unhide any hidden data. Unhide is a reason to put the container in an ON state.", +"After a period of time data must be completely removed from our systems. When data governance sends a purge signal we need to remove data. Purge is a reason to put the container in a DELETED state. Purge is the only event that triggers a delete mutation. All other events have update semantics." +], +"type": "string" +}, +"serviceActivation": { +"description": "Consumer Container denotes if the service is active within a project or not. This information could be used to clean up resources in case service in DISABLED_FULL i.e. Service is inactive > 30 days.", +"enum": [ +"SERVICE_ACTIVATION_STATUS_UNSPECIFIED", +"SERVICE_ACTIVATION_ENABLED", +"SERVICE_ACTIVATION_DISABLED", +"SERVICE_ACTIVATION_DISABLED_FULL", +"SERVICE_ACTIVATION_UNKNOWN_REASON" +], +"enumDescriptions": [ +"Default Unspecified status", +"Service is active in the project.", +"Service is disabled in the project recently i.e., within last 24 hours.", +"Service has been disabled for configured grace_period (default 30 days).", +"Happens when PSM cannot determine the status of service in a project Could happen due to variety of reasons like PERMISSION_DENIED or Project got deleted etc." +], +"type": "string" +}, +"serviceManagement": { +"enum": [ +"SERVICE_MANAGEMENT_UNKNOWN_REASON", +"SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC", +"ACTIVATION", +"PREPARE_DEACTIVATION", +"ABORT_DEACTIVATION", +"COMMIT_DEACTIVATION" +], +"enumDeprecated": [ +false, +false, +true, +true, +true, +true +], +"enumDescriptions": [ +"An unknown reason indicates that we have not received a signal from service management about this container. Since containers are created by request of service management, this reason should never be set.", +"Due to various reasons CCFE might proactively restate a container state to a CLH to ensure that the CLH and CCFE are both aware of the container state. This reason can be tied to any of the states.", +"When a customer activates an API CCFE notifies the CLH and sets the container to the ON state.", +"When a customer deactivates and API service management starts a two-step process to perform the deactivation. The first step is to prepare. Prepare is a reason to put the container in a EXTERNAL_OFF state.", +"If the deactivation is cancelled, service managed needs to abort the deactivation. Abort is a reason to put the container in an ON state.", +"If the deactivation is followed through with, service management needs to finish deactivation. Commit is a reason to put the container in a DELETED state." +], +"type": "string" +} +}, +"type": "object" +}, +"RepairApplicationRequest": { +"description": "Request message for 'Applications.RepairApplication'.", +"id": "RepairApplicationRequest", +"properties": {}, +"type": "object" +}, +"RequestUtilization": { +"description": "Target scaling by request utilization. Only applicable in the App Engine flexible environment.", +"id": "RequestUtilization", +"properties": { +"targetConcurrentRequests": { +"description": "Target number of concurrent requests.", +"format": "int32", +"type": "integer" +}, +"targetRequestCountPerSecond": { +"description": "Target requests per second.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourceEvent": { +"description": "The request that is passed to CLH during per-resource events. The request will be sent with update semantics in all cases except for data governance purge events. These events will be sent with delete semantics and the CLH is expected to delete the resource receiving this event.", +"id": "ResourceEvent", +"properties": { +"eventId": { +"description": "The unique ID for this per-resource event. CLHs can use this value to dedup repeated calls. required", +"type": "string" +}, +"name": { +"description": "The name of the resource for which this event is. required", +"type": "string" +}, +"state": { +"$ref": "ContainerState", +"description": "The state of the project that led to this event." +} +}, +"type": "object" +}, +"ResourceRecord": { +"description": "A DNS resource record.", +"id": "ResourceRecord", +"properties": { +"name": { +"description": "Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.", +"type": "string" +}, +"rrdata": { +"description": "Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).", +"type": "string" +}, +"type": { +"description": "Resource record type. Example: AAAA.", +"enum": [ +"RECORD_TYPE_UNSPECIFIED", +"A", +"AAAA", +"CNAME" +], +"enumDescriptions": [ +"An unknown resource record.", +"An A resource record. Data is an IPv4 address.", +"An AAAA resource record. Data is an IPv6 address.", +"A CNAME resource record. Data is a domain name to be aliased." +], +"type": "string" +} +}, +"type": "object" +}, +"Resources": { +"description": "Machine resources for a version.", +"id": "Resources", +"properties": { +"cpu": { +"description": "Number of CPU cores needed.", +"format": "double", +"type": "number" +}, +"diskGb": { +"description": "Disk size (GB) needed.", +"format": "double", +"type": "number" +}, +"kmsKeyReference": { +"description": "The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk", +"type": "string" +}, +"memoryGb": { +"description": "Memory (GB) needed.", +"format": "double", +"type": "number" +}, +"volumes": { +"description": "User specified volumes.", +"items": { +"$ref": "Volume" +}, +"type": "array" +} +}, +"type": "object" +}, +"Runtime": { +"description": "Runtime versions for App Engine.", +"id": "Runtime", +"properties": { +"decommissionedDate": { +"$ref": "Date", +"description": "Date when Runtime is decommissioned." +}, +"deprecationDate": { +"$ref": "Date", +"description": "Date when Runtime is deprecated." +}, +"displayName": { +"description": "User-friendly display name, e.g. 'Node.js 12', etc.", +"type": "string" +}, +"endOfSupportDate": { +"$ref": "Date", +"description": "Date when Runtime is end of support." +}, +"environment": { +"description": "The environment of the runtime.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"STANDARD", +"FLEXIBLE" +], +"enumDescriptions": [ +"Default value.", +"App Engine Standard.", +"App Engine Flexible" +], +"type": "string" +}, +"name": { +"description": "The name of the runtime, e.g., 'go113', 'nodejs12', etc.", +"type": "string" +}, +"stage": { +"description": "The stage of life this runtime is in, e.g., BETA, GA, etc.", +"enum": [ +"RUNTIME_STAGE_UNSPECIFIED", +"DEVELOPMENT", +"ALPHA", +"BETA", +"GA", +"DEPRECATED", +"DECOMMISSIONED", +"END_OF_SUPPORT" +], +"enumDescriptions": [ +"Not specified.", +"The runtime is in development.", +"The runtime is in the Alpha stage.", +"The runtime is in the Beta stage.", +"The runtime is generally available.", +"The runtime is deprecated.", +"The runtime is no longer supported.", +"The runtime is end of support." +], +"type": "string" +}, +"supportedOperatingSystems": { +"description": "Supported operating systems for the runtime, e.g., 'ubuntu22', etc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"warnings": { +"description": "Warning messages, e.g., a deprecation warning.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScriptHandler": { +"description": "Executes a script to handle the request that matches the URL pattern.", +"id": "ScriptHandler", +"properties": { +"scriptPath": { +"description": "Path to the script from the application root directory.", +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.", +"id": "Service", +"properties": { +"generatedCustomerMetadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest", +"type": "object" +}, +"id": { +"description": "Output only. Relative name of the service within the application. Example: default.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., \"env=prod\", \"env=qa\"). Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.", +"type": "object" +}, +"name": { +"description": "Output only. Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"networkSettings": { +"$ref": "NetworkSettings", +"description": "Ingress settings for this service. Will apply to all versions." +}, +"split": { +"$ref": "TrafficSplit", +"description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service." +} +}, +"type": "object" +}, +"SslSettings": { +"description": "SSL configuration for a DomainMapping resource.", +"id": "SslSettings", +"properties": { +"certificateId": { +"description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.", +"type": "string" +}, +"pendingManagedCertificateId": { +"description": "Output only. ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"sslManagementType": { +"description": "SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.", +"enum": [ +"SSL_MANAGEMENT_TYPE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Defaults to AUTOMATIC.", +"SSL support for this domain is configured automatically. The mapped SSL certificate will be automatically renewed.", +"SSL support for this domain is configured manually by the user. Either the domain has no SSL support or a user-obtained SSL certificate has been explicitly mapped to this domain." +], +"type": "string" +} +}, +"type": "object" +}, +"StandardSchedulerSettings": { +"description": "Scheduler settings for standard environment.", +"id": "StandardSchedulerSettings", +"properties": { +"maxInstances": { +"description": "Maximum number of instances to run for this version. Set to 2147483647 to disable max_instances configuration.", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.", +"format": "int32", +"type": "integer" +}, +"targetCpuUtilization": { +"description": "Target CPU utilization ratio to maintain when scaling.", +"format": "double", +"type": "number" +}, +"targetThroughputUtilization": { +"description": "Target throughput utilization ratio to maintain when scaling", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"StaticFilesHandler": { +"description": "Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.", +"id": "StaticFilesHandler", +"properties": { +"applicationReadable": { +"description": "Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.", +"type": "boolean" +}, +"expiration": { +"description": "Time a static file served by this handler should be cached by web proxies and browsers.", +"format": "google-duration", +"type": "string" +}, +"httpHeaders": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP headers to use for all responses from these URLs.", +"type": "object" +}, +"mimeType": { +"description": "MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.", +"type": "string" +}, +"path": { +"description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.", +"type": "string" +}, +"requireMatchingFile": { +"description": "Whether this handler should match the request if the file referenced by the handler does not exist.", +"type": "boolean" +}, +"uploadPathRegex": { +"description": "Regular expression that matches the file paths for all files that should be referenced by this handler.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TrafficSplit": { +"description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.", +"id": "TrafficSplit", +"properties": { +"allocations": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.", +"type": "object" +}, +"shardBy": { +"description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.", +"enum": [ +"UNSPECIFIED", +"COOKIE", +"IP", +"RANDOM" +], +"enumDescriptions": [ +"Diversion method unspecified.", +"Diversion based on a specially named cookie, \"GOOGAPPUID.\" The cookie must be set by the application itself or no diversion will occur.", +"Diversion based on applying the modulus operation to a fingerprint of the IP address.", +"Diversion based on weighted random assignment. An incoming request is randomly routed to a version in the traffic split, with probability proportional to the version's traffic share." +], +"type": "string" +} +}, +"type": "object" +}, +"UrlDispatchRule": { +"description": "Rules to match an HTTP request and dispatch that request to a service.", +"id": "UrlDispatchRule", +"properties": { +"domain": { +"description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".", +"type": "string" +}, +"path": { +"description": "Pathname within the host. Must start with a \"/\". A single \"*\" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.", +"type": "string" +}, +"service": { +"description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.", +"type": "string" +} +}, +"type": "object" +}, +"UrlMap": { +"description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.", +"id": "UrlMap", +"properties": { +"apiEndpoint": { +"$ref": "ApiEndpointHandler", +"description": "Uses API Endpoints to handle requests." +}, +"authFailAction": { +"description": "Action to take when users access resources that require authentication. Defaults to redirect.", +"enum": [ +"AUTH_FAIL_ACTION_UNSPECIFIED", +"AUTH_FAIL_ACTION_REDIRECT", +"AUTH_FAIL_ACTION_UNAUTHORIZED" +], +"enumDescriptions": [ +"Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", +"Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account.", +"Rejects request with a 401 HTTP status code and an error message." +], +"type": "string" +}, +"login": { +"description": "Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.", +"enum": [ +"LOGIN_UNSPECIFIED", +"LOGIN_OPTIONAL", +"LOGIN_ADMIN", +"LOGIN_REQUIRED" +], +"enumDescriptions": [ +"Not specified. LOGIN_OPTIONAL is assumed.", +"Does not require that the user is signed in.", +"If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.", +"If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken." +], +"type": "string" +}, +"redirectHttpResponseCode": { +"description": "30x code to use when performing redirects for the secure field. Defaults to 302.", +"enum": [ +"REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", +"REDIRECT_HTTP_RESPONSE_CODE_301", +"REDIRECT_HTTP_RESPONSE_CODE_302", +"REDIRECT_HTTP_RESPONSE_CODE_303", +"REDIRECT_HTTP_RESPONSE_CODE_307" +], +"enumDescriptions": [ +"Not specified. 302 is assumed.", +"301 Moved Permanently code.", +"302 Moved Temporarily code.", +"303 See Other code.", +"307 Temporary Redirect code." +], +"type": "string" +}, +"script": { +"$ref": "ScriptHandler", +"description": "Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example \"script\": \"auto\"." +}, +"securityLevel": { +"description": "Security (HTTPS) enforcement for this URL.", +"enum": [ +"SECURE_UNSPECIFIED", +"SECURE_DEFAULT", +"SECURE_NEVER", +"SECURE_OPTIONAL", +"SECURE_ALWAYS" +], +"enumDescriptions": [ +"Not specified.", +"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.", +"Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.", +"Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.", +"Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect." +], +"type": "string" +}, +"staticFiles": { +"$ref": "StaticFilesHandler", +"description": "Returns the contents of a file, such as an image, as the response." +}, +"urlRegex": { +"description": "URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.", +"type": "string" +} +}, +"type": "object" +}, +"Version": { +"description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.", +"id": "Version", +"properties": { +"apiConfig": { +"$ref": "ApiConfigHandler", +"deprecated": true, +"description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set." +}, +"appEngineApis": { +"description": "Allows App Engine second generation runtimes to access the legacy bundled services.", +"type": "boolean" +}, +"automaticScaling": { +"$ref": "AutomaticScaling", +"description": "Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic." +}, +"basicScaling": { +"$ref": "BasicScaling", +"description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity." +}, +"betaSettings": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata settings that are supplied to this version to enable beta runtime features.", +"type": "object" +}, +"buildEnvVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.", +"type": "object" +}, +"createTime": { +"description": "Time that this version was created.@OutputOnly", +"format": "google-datetime", +"type": "string" +}, +"createdBy": { +"description": "Output only. Email address of the user who created this version.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"defaultExpiration": { +"description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.", +"format": "google-duration", +"type": "string" +}, +"deployment": { +"$ref": "Deployment", +"description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set." +}, +"diskUsageBytes": { +"description": "Output only. Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"endpointsApiService": { +"$ref": "EndpointsApiService", +"description": "Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app." +}, +"entrypoint": { +"$ref": "Entrypoint", +"description": "The entrypoint for the application." +}, +"env": { +"description": "App Engine execution environment for this version.Defaults to standard.", +"type": "string" +}, +"envVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Environment variables available to the application.Only returned in GET requests if view=FULL is set.", +"type": "object" +}, +"errorHandlers": { +"description": "Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.", +"items": { +"$ref": "ErrorHandler" +}, +"type": "array" +}, +"flexibleRuntimeSettings": { +"$ref": "FlexibleRuntimeSettings", +"description": "Settings for App Engine flexible runtimes." +}, +"generatedCustomerMetadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest", +"type": "object" +}, +"handlers": { +"description": "An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.", +"items": { +"$ref": "UrlMap" +}, +"type": "array" +}, +"healthCheck": { +"$ref": "HealthCheck", +"description": "Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment." +}, +"id": { +"description": "Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"ah-\".", +"type": "string" +}, +"inboundServices": { +"description": "Before an application can receive email or XMPP messages, the application must be configured to enable the service.", +"items": { +"enum": [ +"INBOUND_SERVICE_UNSPECIFIED", +"INBOUND_SERVICE_MAIL", +"INBOUND_SERVICE_MAIL_BOUNCE", +"INBOUND_SERVICE_XMPP_ERROR", +"INBOUND_SERVICE_XMPP_MESSAGE", +"INBOUND_SERVICE_XMPP_SUBSCRIBE", +"INBOUND_SERVICE_XMPP_PRESENCE", +"INBOUND_SERVICE_CHANNEL_PRESENCE", +"INBOUND_SERVICE_WARMUP" +], +"enumDescriptions": [ +"Not specified.", +"Allows an application to receive mail.", +"Allows an application to receive email-bound notifications.", +"Allows an application to receive error stanzas.", +"Allows an application to receive instant messages.", +"Allows an application to receive user subscription POSTs.", +"Allows an application to receive a user's chat presence.", +"Registers an application for notifications when a client connects or disconnects from a channel.", +"Enables warmup requests." +], +"type": "string" +}, +"type": "array" +}, +"instanceClass": { +"description": "Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.", +"type": "string" +}, +"libraries": { +"description": "Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.", +"items": { +"$ref": "Library" +}, +"type": "array" +}, +"livenessCheck": { +"$ref": "LivenessCheck", +"description": "Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances" +}, +"manualScaling": { +"$ref": "ManualScaling", +"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as \"backends\"." +}, +"name": { +"description": "Output only. Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly", +"readOnly": true, +"type": "string" +}, +"network": { +"$ref": "Network", +"description": "Extra network settings. Only applicable in the App Engine flexible environment." +}, +"nobuildFilesRegex": { +"description": "Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.", +"type": "string" +}, +"readinessCheck": { +"$ref": "ReadinessCheck", +"description": "Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation." +}, +"resources": { +"$ref": "Resources", +"description": "Machine resources for this version. Only applicable in the App Engine flexible environment." +}, +"runtime": { +"description": "Desired runtime. Example: python27.", +"type": "string" +}, +"runtimeApiVersion": { +"description": "The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref", +"type": "string" +}, +"runtimeChannel": { +"description": "The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.", +"type": "string" +}, +"runtimeMainExecutablePath": { +"description": "The path or name of the app's main executable.", +"type": "string" +}, +"serviceAccount": { +"description": "The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.", +"type": "string" +}, +"servingStatus": { +"description": "Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", +"enum": [ +"SERVING_STATUS_UNSPECIFIED", +"SERVING", +"STOPPED" +], +"enumDescriptions": [ +"Not specified.", +"Currently serving. Instances are created according to the scaling settings of the version.", +"Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING." +], +"type": "string" +}, +"threadsafe": { +"description": "Whether multiple requests can be dispatched to this version at once.", +"type": "boolean" +}, +"versionUrl": { +"description": "Output only. Serving URL for this version. Example: \"https://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", +"readOnly": true, +"type": "string" +}, +"vm": { +"description": "Whether to deploy this version in a container on a virtual machine.", +"type": "boolean" +}, +"vpcAccessConnector": { +"$ref": "VpcAccessConnector", +"description": "Enables VPC connectivity for standard apps." +}, +"zones": { +"description": "The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Volume": { +"description": "Volumes mounted within the app container. Only applicable in the App Engine flexible environment.", +"id": "Volume", +"properties": { +"name": { +"description": "Unique name for the volume.", +"type": "string" +}, +"sizeGb": { +"description": "Volume size in gigabytes.", +"format": "double", +"type": "number" +}, +"volumeType": { +"description": "Underlying volume type, e.g. 'tmpfs'.", +"type": "string" +} +}, +"type": "object" +}, +"VpcAccessConnector": { +"description": "VPC access connector specification.", +"id": "VpcAccessConnector", +"properties": { +"egressSetting": { +"description": "The egress setting for the connector, controlling what traffic is diverted through it.", +"enum": [ +"EGRESS_SETTING_UNSPECIFIED", +"ALL_TRAFFIC", +"PRIVATE_IP_RANGES" +], +"enumDescriptions": [ +"", +"Force the use of VPC Access for all egress traffic from the function.", +"Use the VPC Access Connector for private IP space from RFC1918." +], +"type": "string" +}, +"name": { +"description": "Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1.", +"type": "string" +} +}, +"type": "object" +}, +"ZipInfo": { +"description": "The zip file information for a zip deployment.", +"id": "ZipInfo", +"properties": { +"filesCount": { +"description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.", +"format": "int32", +"type": "integer" +}, +"sourceUrl": { +"description": "URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "App Engine Admin API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..1c383fac562e6e8636385c28d5bf545e98e60834 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json @@ -0,0 +1,998 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/drive": { +"description": "See, edit, create, and delete all of your Google Drive files" +}, +"https://www.googleapis.com/auth/drive.file": { +"description": "See, edit, create, and delete only the specific Google Drive files you use with this app" +}, +"https://www.googleapis.com/auth/drive.readonly": { +"description": "See and download all your Google Drive files" +}, +"https://www.googleapis.com/auth/spreadsheets": { +"description": "See, edit, create, and delete all your Google Sheets spreadsheets" +}, +"https://www.googleapis.com/auth/spreadsheets.readonly": { +"description": "See all your Google Sheets spreadsheets" +}, +"https://www.googleapis.com/auth/tables": { +"description": "See, edit, create, and delete your tables in Tables by Area 120" +} +} +} +}, +"basePath": "", +"baseUrl": "https://area120tables.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Area120 Tables", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://support.google.com/area120-tables/answer/10011390", +"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": "area120tables:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://area120tables.mtls.googleapis.com/", +"name": "area120tables", +"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": { +"tables": { +"methods": { +"get": { +"description": "Gets a table. Returns NOT_FOUND if the table does not exist.", +"flatPath": "v1alpha1/tables/{tablesId}", +"httpMethod": "GET", +"id": "area120tables.tables.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the table to retrieve. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Table" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +}, +"list": { +"description": "Lists tables for the user.", +"flatPath": "v1alpha1/tables", +"httpMethod": "GET", +"id": "area120tables.tables.list", +"parameterOrder": [], +"parameters": { +"orderBy": { +"description": "Optional. Sorting order for the list of tables on createTime/updateTime.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The maximum value is 100; values above 100 are coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTables` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/tables", +"response": { +"$ref": "ListTablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +} +}, +"resources": { +"rows": { +"methods": { +"batchCreate": { +"description": "Creates multiple rows.", +"flatPath": "v1alpha1/tables/{tablesId}/rows:batchCreate", +"httpMethod": "POST", +"id": "area120tables.tables.rows.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent table where the rows will be created. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/rows:batchCreate", +"request": { +"$ref": "BatchCreateRowsRequest" +}, +"response": { +"$ref": "BatchCreateRowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +}, +"batchDelete": { +"description": "Deletes multiple rows.", +"flatPath": "v1alpha1/tables/{tablesId}/rows:batchDelete", +"httpMethod": "POST", +"id": "area120tables.tables.rows.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent table shared by all rows being deleted. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/rows:batchDelete", +"request": { +"$ref": "BatchDeleteRowsRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +}, +"batchUpdate": { +"description": "Updates multiple rows.", +"flatPath": "v1alpha1/tables/{tablesId}/rows:batchUpdate", +"httpMethod": "POST", +"id": "area120tables.tables.rows.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent table shared by all rows being updated. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/rows:batchUpdate", +"request": { +"$ref": "BatchUpdateRowsRequest" +}, +"response": { +"$ref": "BatchUpdateRowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +}, +"create": { +"description": "Creates a row.", +"flatPath": "v1alpha1/tables/{tablesId}/rows", +"httpMethod": "POST", +"id": "area120tables.tables.rows.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent table where this row will be created. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/rows", +"request": { +"$ref": "Row" +}, +"response": { +"$ref": "Row" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +}, +"delete": { +"description": "Deletes a row.", +"flatPath": "v1alpha1/tables/{tablesId}/rows/{rowsId}", +"httpMethod": "DELETE", +"id": "area120tables.tables.rows.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the row to delete. Format: tables/{table}/rows/{row}", +"location": "path", +"pattern": "^tables/[^/]+/rows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +}, +"get": { +"description": "Gets a row. Returns NOT_FOUND if the row does not exist in the table.", +"flatPath": "v1alpha1/tables/{tablesId}/rows/{rowsId}", +"httpMethod": "GET", +"id": "area120tables.tables.rows.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the row to retrieve. Format: tables/{table}/rows/{row}", +"location": "path", +"pattern": "^tables/[^/]+/rows/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Row" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +}, +"list": { +"description": "Lists rows in a table. Returns NOT_FOUND if the table does not exist.", +"flatPath": "v1alpha1/tables/{tablesId}/rows", +"httpMethod": "GET", +"id": "area120tables.tables.rows.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list results](https://support.google.com/area120-tables/answer/10503371).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sorting order for the list of rows on createTime/updateTime.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000 are coerced to 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRows` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent table. Format: tables/{table}", +"location": "path", +"pattern": "^tables/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/rows", +"response": { +"$ref": "ListRowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +}, +"patch": { +"description": "Updates a row.", +"flatPath": "v1alpha1/tables/{tablesId}/rows/{rowsId}", +"httpMethod": "PATCH", +"id": "area120tables.tables.rows.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.", +"location": "path", +"pattern": "^tables/[^/]+/rows/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Row" +}, +"response": { +"$ref": "Row" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/tables" +] +} +} +} +} +}, +"workspaces": { +"methods": { +"get": { +"description": "Gets a workspace. Returns NOT_FOUND if the workspace does not exist.", +"flatPath": "v1alpha1/workspaces/{workspacesId}", +"httpMethod": "GET", +"id": "area120tables.workspaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the workspace to retrieve. Format: workspaces/{workspace}", +"location": "path", +"pattern": "^workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +}, +"list": { +"description": "Lists workspaces for the user.", +"flatPath": "v1alpha1/workspaces", +"httpMethod": "GET", +"id": "area120tables.workspaces.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/workspaces", +"response": { +"$ref": "ListWorkspacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive", +"https://www.googleapis.com/auth/drive.file", +"https://www.googleapis.com/auth/drive.readonly", +"https://www.googleapis.com/auth/spreadsheets", +"https://www.googleapis.com/auth/spreadsheets.readonly", +"https://www.googleapis.com/auth/tables" +] +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://area120tables.googleapis.com/", +"schemas": { +"BatchCreateRowsRequest": { +"description": "Request message for TablesService.BatchCreateRows.", +"id": "BatchCreateRowsRequest", +"properties": { +"requests": { +"description": "Required. The request message specifying the rows to create. A maximum of 500 rows can be created in a single batch.", +"items": { +"$ref": "CreateRowRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateRowsResponse": { +"description": "Response message for TablesService.BatchCreateRows.", +"id": "BatchCreateRowsResponse", +"properties": { +"rows": { +"description": "The created rows.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchDeleteRowsRequest": { +"description": "Request message for TablesService.BatchDeleteRows", +"id": "BatchDeleteRowsRequest", +"properties": { +"names": { +"description": "Required. The names of the rows to delete. All rows must belong to the parent table or else the entire batch will fail. A maximum of 500 rows can be deleted in a batch. Format: tables/{table}/rows/{row}", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateRowsRequest": { +"description": "Request message for TablesService.BatchUpdateRows.", +"id": "BatchUpdateRowsRequest", +"properties": { +"requests": { +"description": "Required. The request messages specifying the rows to update. A maximum of 500 rows can be modified in a single batch.", +"items": { +"$ref": "UpdateRowRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchUpdateRowsResponse": { +"description": "Response message for TablesService.BatchUpdateRows.", +"id": "BatchUpdateRowsResponse", +"properties": { +"rows": { +"description": "The updated rows.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"ColumnDescription": { +"description": "Details on a column in the table.", +"id": "ColumnDescription", +"properties": { +"dataType": { +"description": "Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.", +"type": "string" +}, +"dateDetails": { +"$ref": "DateDetails", +"description": "Optional. Additional details about a date column." +}, +"id": { +"description": "Internal id for a column.", +"type": "string" +}, +"labels": { +"description": "Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.", +"items": { +"$ref": "LabeledItem" +}, +"type": "array" +}, +"lookupDetails": { +"$ref": "LookupDetails", +"description": "Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column." +}, +"multipleValuesDisallowed": { +"description": "Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible.", +"type": "boolean" +}, +"name": { +"description": "column name", +"type": "string" +}, +"readonly": { +"description": "Optional. Indicates that values for the column cannot be set by the user.", +"type": "boolean" +}, +"relationshipDetails": { +"$ref": "RelationshipDetails", +"description": "Optional. Additional details about a relationship column. Specified when data_type is relationship." +} +}, +"type": "object" +}, +"CreateRowRequest": { +"description": "Request message for TablesService.CreateRow.", +"id": "CreateRowRequest", +"properties": { +"parent": { +"description": "Required. The parent table where this row will be created. Format: tables/{table}", +"type": "string" +}, +"row": { +"$ref": "Row", +"description": "Required. The row to create." +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"type": "string" +} +}, +"type": "object" +}, +"DateDetails": { +"description": "Details about a date column.", +"id": "DateDetails", +"properties": { +"hasTime": { +"description": "Whether the date column includes time.", +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"LabeledItem": { +"description": "A single item in a labeled column.", +"id": "LabeledItem", +"properties": { +"id": { +"description": "Internal id associated with the item.", +"type": "string" +}, +"name": { +"description": "Display string as entered by user.", +"type": "string" +} +}, +"type": "object" +}, +"ListRowsResponse": { +"description": "Response message for TablesService.ListRows.", +"id": "ListRowsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"rows": { +"description": "The rows from the specified table.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTablesResponse": { +"description": "Response message for TablesService.ListTables.", +"id": "ListTablesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"tables": { +"description": "The list of tables.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkspacesResponse": { +"description": "Response message for TablesService.ListWorkspaces.", +"id": "ListWorkspacesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"workspaces": { +"description": "The list of workspaces.", +"items": { +"$ref": "Workspace" +}, +"type": "array" +} +}, +"type": "object" +}, +"LookupDetails": { +"description": "Details about a lookup column whose value comes from the associated relationship.", +"id": "LookupDetails", +"properties": { +"relationshipColumn": { +"description": "The name of the relationship column associated with the lookup.", +"type": "string" +}, +"relationshipColumnId": { +"description": "The id of the relationship column.", +"type": "string" +} +}, +"type": "object" +}, +"RelationshipDetails": { +"description": "Details about a relationship column.", +"id": "RelationshipDetails", +"properties": { +"linkedTable": { +"description": "The name of the table this relationship is linked to.", +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"description": "A single row in a table.", +"id": "Row", +"properties": { +"createTime": { +"description": "Time when the row was created.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row.", +"type": "string" +}, +"updateTime": { +"description": "Time when the row was last updated.", +"format": "google-datetime", +"type": "string" +}, +"values": { +"additionalProperties": { +"type": "any" +}, +"description": "The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request.", +"type": "object" +} +}, +"type": "object" +}, +"SavedView": { +"description": "A saved view of a table. NextId: 3", +"id": "SavedView", +"properties": { +"id": { +"description": "Internal id associated with the saved view.", +"type": "string" +}, +"name": { +"description": "Display name of the saved view.", +"type": "string" +} +}, +"type": "object" +}, +"Table": { +"description": "A single table. NextId: 8", +"id": "Table", +"properties": { +"columns": { +"description": "List of columns in this table. Order of columns matches the display order.", +"items": { +"$ref": "ColumnDescription" +}, +"type": "array" +}, +"createTime": { +"description": "Time when the table was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "The human readable title of the table.", +"type": "string" +}, +"name": { +"description": "The resource name of the table. Table names have the form `tables/{table}`.", +"type": "string" +}, +"savedViews": { +"description": "Saved views for this table.", +"items": { +"$ref": "SavedView" +}, +"type": "array" +}, +"timeZone": { +"description": "The time zone of the table. IANA Time Zone Database time zone, e.g. \"America/New_York\".", +"type": "string" +}, +"updateTime": { +"description": "Time when the table was last updated excluding updates to individual rows", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateRowRequest": { +"description": "Request message for TablesService.UpdateRow.", +"id": "UpdateRowRequest", +"properties": { +"row": { +"$ref": "Row", +"description": "Required. The row to update." +}, +"updateMask": { +"description": "The list of fields to update.", +"format": "google-fieldmask", +"type": "string" +}, +"view": { +"description": "Optional. Column key to use for values in the row. Defaults to user entered name.", +"enum": [ +"VIEW_UNSPECIFIED", +"COLUMN_ID_VIEW" +], +"enumDescriptions": [ +"Defaults to user entered text.", +"Uses internally generated column id to identify values." +], +"type": "string" +} +}, +"type": "object" +}, +"Workspace": { +"description": "A single workspace.", +"id": "Workspace", +"properties": { +"createTime": { +"description": "Time when the workspace was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "The human readable title of the workspace.", +"type": "string" +}, +"name": { +"description": "The resource name of the workspace. Workspace names have the form `workspaces/{workspace}`.", +"type": "string" +}, +"tables": { +"description": "The list of tables in the workspace.", +"items": { +"$ref": "Table" +}, +"type": "array" +}, +"updateTime": { +"description": "Time when the workspace was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Area120 Tables API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/artifactregistry.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/artifactregistry.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..74fa6987d9b8337425190e3b199dd87a439d1cc2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/artifactregistry.v1.json @@ -0,0 +1,4918 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://artifactregistry.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Artifact Registry", +"description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/artifacts/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://artifactregistry.eu.rep.googleapis.com/", +"location": "eu" +} +], +"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": "artifactregistry:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://artifactregistry.mtls.googleapis.com/", +"name": "artifactregistry", +"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": { +"methods": { +"getProjectSettings": { +"description": "Retrieves the Settings for the Project.", +"flatPath": "v1/projects/{projectsId}/projectSettings", +"httpMethod": "GET", +"id": "artifactregistry.projects.getProjectSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the projectSettings resource.", +"location": "path", +"pattern": "^projects/[^/]+/projectSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ProjectSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"updateProjectSettings": { +"description": "Updates the Settings for the Project.", +"flatPath": "v1/projects/{projectsId}/projectSettings", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.updateProjectSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set", +"location": "path", +"pattern": "^projects/[^/]+/projectSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask to support partial updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ProjectSettings" +}, +"response": { +"$ref": "ProjectSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getVpcscConfig": { +"description": "Retrieves the VPCSC Config for the Project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.getVpcscConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the VPCSCConfig resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcscConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "VPCSCConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"updateVpcscConfig": { +"description": "Updates the VPCSC Config for the Project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/vpcscConfig", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.updateVpcscConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the project's VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/vpcscConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Field mask to support partial updates.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "VPCSCConfig" +}, +"response": { +"$ref": "VPCSCConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"repositories": { +"methods": { +"create": { +"description": "Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource where the repository will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"repositoryId": { +"description": "Required. The repository id to use for this repository.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the repository to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportArtifact": { +"description": "Exports an artifact to a Cloud Storage bucket.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:exportArtifact", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.exportArtifact", +"parameterOrder": [ +"repository" +], +"parameters": { +"repository": { +"description": "Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+repository}:exportArtifact", +"request": { +"$ref": "ExportArtifactRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the repository to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the IAM policy for a given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists repositories.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` Examples of using a filter: To filter the results of your request to repositories with the name `my-repo` in project `my-project` in the `us-central` region, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/*repo\"` * `name=\"projects/my-project/locations/us-central1/repositories/*repo*\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The field to order the results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of repositories to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose repositories will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repositories", +"response": { +"$ref": "ListRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a repository.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Repository" +}, +"response": { +"$ref": "Repository" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Updates the IAM policy for a given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.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/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Tests if the caller has a list of permissions on a resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.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/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"aptArtifacts": { +"methods": { +"import": { +"description": "Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/aptArtifacts:import", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.aptArtifacts.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be imported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/aptArtifacts:import", +"request": { +"$ref": "ImportAptArtifactsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/aptArtifacts:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.aptArtifacts.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/aptArtifacts:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/aptArtifacts:create", +"request": { +"$ref": "UploadAptArtifactRequest" +}, +"response": { +"$ref": "UploadAptArtifactMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"attachments": { +"methods": { +"create": { +"description": "Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.attachments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"attachmentId": { +"description": "Required. The attachment id to use for this attachment.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource where the attachment will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"request": { +"$ref": "Attachment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a `google.protobuf.Empty` response.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.attachments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attachment to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an attachment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.attachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the attachment to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Attachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists attachments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.attachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `target` * `type` * `attachment_namespace`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of attachments to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose attachments will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments", +"response": { +"$ref": "ListAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"dockerImages": { +"methods": { +"get": { +"description": "Gets a docker image.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/dockerImages/{dockerImagesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.dockerImages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the docker images.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/dockerImages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DockerImage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists docker images.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/dockerImages", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.dockerImages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "The field to order the results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of artifacts to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose docker images will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dockerImages", +"response": { +"$ref": "ListDockerImagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"files": { +"methods": { +"delete": { +"description": "Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.files.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Download a file.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.files.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to download.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:download", +"response": { +"$ref": "DownloadFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"get": { +"description": "Gets a file.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.files.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the file to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleDevtoolsArtifactregistryV1File" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists files.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.files.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` * `annotations` Examples of using a filter: To filter the results of your request to files with the name `my_file.txt` in project `my-project` in the `us-central` region, in repository `my-repo`, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file*\"` To filter the results of your request to files owned by the version `1.0` in package `pkg1`, append the following filter expression to your request: * `owner=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0\"` To filter the results of your request to files with the annotation key-value pair [`external_link`: `external_link_value`], append the following filter expression to your request: * `\"annotations.external_link:external_link_value\"` To filter just for a specific annotation key `external_link`, append the following filter expression to your request: * `\"annotations.external_link\"` If the annotation key or value contains special characters, you can escape them by surrounding the value with backticks. For example, to filter the results of your request to files with the annotation key-value pair [`external.link`:`https://example.com/my-file`], append the following filter expression to your request: * `` \"annotations.`external.link`:`https://example.com/my-file`\" `` You can also filter with annotations with a wildcard to match any number of characters before or after the value: * `` \"annotations.*_link:`*example.com*`\" ``", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The field to order the results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of files to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the repository whose files will be listed. For example: \"projects/p1/locations/us-central1/repositories/repo1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files", +"response": { +"$ref": "ListFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a file.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.files.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleDevtoolsArtifactregistryV1File" +}, +"response": { +"$ref": "GoogleDevtoolsArtifactregistryV1File" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Directly uploads a file to a repository. The returned Operation will complete once the resources are uploaded.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files:upload", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.files.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/v1/{+parent}/files:upload" +}, +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/files:upload" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the repository where the file will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/files:upload", +"request": { +"$ref": "UploadFileRequest" +}, +"response": { +"$ref": "UploadFileMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"genericArtifacts": { +"methods": { +"upload": { +"description": "Directly uploads a Generic artifact. The returned operation will complete once the resources are uploaded. Package, version, and file resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an `ALREADY_EXISTS` error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/genericArtifacts:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.genericArtifacts.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/v1/{+parent}/genericArtifacts:create" +}, +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/genericArtifacts:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource name of the repository where the generic artifact will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/genericArtifacts:create", +"request": { +"$ref": "UploadGenericArtifactRequest" +}, +"response": { +"$ref": "UploadGenericArtifactMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"goModules": { +"methods": { +"upload": { +"description": "Directly uploads a Go module. The returned Operation will complete once the Go module is uploaded. Package, Version, and File resources are created based on the uploaded Go module.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/goModules:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.goModules.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/goModules:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource name of the repository where the Go module will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/goModules:create", +"request": { +"$ref": "UploadGoModuleRequest" +}, +"response": { +"$ref": "UploadGoModuleMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"googetArtifacts": { +"methods": { +"import": { +"description": "Imports GooGet artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/googetArtifacts:import", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.googetArtifacts.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be imported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/googetArtifacts:import", +"request": { +"$ref": "ImportGoogetArtifactsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/googetArtifacts:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.googetArtifacts.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/googetArtifacts:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/googetArtifacts:create", +"request": { +"$ref": "UploadGoogetArtifactRequest" +}, +"response": { +"$ref": "UploadGoogetArtifactMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"kfpArtifacts": { +"methods": { +"upload": { +"description": "Directly uploads a KFP artifact. The returned Operation will complete once the resource is uploaded. Package, Version, and File resources will be created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will be overwritten.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/kfpArtifacts:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.kfpArtifacts.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/kfpArtifacts:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The resource name of the repository where the KFP artifact will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/kfpArtifacts:create", +"request": { +"$ref": "UploadKfpArtifactRequest" +}, +"response": { +"$ref": "UploadKfpArtifactMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +}, +"mavenArtifacts": { +"methods": { +"get": { +"description": "Gets a maven artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/mavenArtifacts/{mavenArtifactsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.mavenArtifacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the maven artifact.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/mavenArtifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MavenArtifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists maven artifacts.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/mavenArtifacts", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.mavenArtifacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of artifacts to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose maven artifacts will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/mavenArtifacts", +"response": { +"$ref": "ListMavenArtifactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"npmPackages": { +"methods": { +"get": { +"description": "Gets a npm package.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/npmPackages/{npmPackagesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.npmPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the npm package.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/npmPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NpmPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists npm packages.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/npmPackages", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.npmPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of artifacts to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose npm packages will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/npmPackages", +"response": { +"$ref": "ListNpmPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"packages": { +"methods": { +"delete": { +"description": "Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.packages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the package to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a package.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the package to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Package" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists packages.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to packages with the name `my-package` in project `my-project` in the `us-central` region, in repository `my-repo`, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/*package\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/*pack*\"` To filter the results of your request to packages with the annotation key-value pair [`external_link`: `external_link_value`], append the following filter expression to your request\": * `\"annotations.external_link:external_link_value\"` To filter the results just for a specific annotation key `external_link`, append the following filter expression to your request: * `\"annotations.external_link\"` If the annotation key or value contains special characters, you can escape them by surrounding the value with backticks. For example, to filter the results of your request to packages with the annotation key-value pair [`external.link`:`https://example.com/my-package`], append the following filter expression to your request: * `` \"annotations.`external.link`:`https://example.com/my-package`\" `` You can also filter with annotations with a wildcard to match any number of characters before or after the value: * `` \"annotations.*_link:`*example.com*`\" ``", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The field to order the results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of packages to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose packages will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/packages", +"response": { +"$ref": "ListPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a package.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.packages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Package" +}, +"response": { +"$ref": "Package" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tags": { +"methods": { +"create": { +"description": "Creates a tag.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.packages.tags.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the tag will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +}, +"tagId": { +"description": "The tag id to use for this repository.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tags", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a tag.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.packages.tags.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the tag to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a tag.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.tags.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the tag to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists tags.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.tags.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `version` Examples of using a filter: To filter the results of your request to tags with the name `my-tag` in package `my-package` in repository `my-repo` in project \"`y-project` in the us-central region, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*\"` To filter the results of your request to tags applied to the version `1.0` in package `my-package`, append the following filter expression to your request: * `version=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0\"`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of tags to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the parent package whose tags will be listed. For example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tags", +"response": { +"$ref": "ListTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a tag.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/tags/{tagsId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.packages.tags.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\\-._~:@], anything else must be URL encoded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"batchDelete": { +"description": "Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions:batchDelete", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.packages.versions.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the repository holding all requested versions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions:batchDelete", +"request": { +"$ref": "BatchDeleteVersionsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a version and all of its content. The returned operation will complete once the version has been deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.packages.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The name of the version to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a version", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view that should be returned in the response.", +"enum": [ +"VERSION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Includes basic information about the version, but not any related tags.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists versions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.packages.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to versions with the name `my-version` in project `my-project` in the `us-central` region, in repository `my-repo`, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my-version\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version*\"` To filter the results of your request to versions with the annotation key-value pair [`external_link`: `external_link_value`], append the following filter expression to your request: * `\"annotations.external_link:external_link_value\"` To filter just for a specific annotation key `external_link`, append the following filter expression to your request: * `\"annotations.external_link\"` If the annotation key or value contains special characters, you can escape them by surrounding the value with backticks. For example, to filter the results of your request to versions with the annotation key-value pair [`external.link`:`https://example.com/my-version`], append the following filter expression to your request: * `` \"annotations.`external.link`:`https://example.com/my-version`\" `` You can also filter with annotations with a wildcard to match any number of characters before or after the value: * `` \"annotations.*_link:`*example.com*`\" ``", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The field to order the results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of versions to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the parent resource whose versions will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view that should be returned in the response.", +"enum": [ +"VERSION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the BASIC view.", +"Includes basic information about the version, but not any related tags.", +"Include everything." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.packages.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Version" +}, +"response": { +"$ref": "Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"pythonPackages": { +"methods": { +"get": { +"description": "Gets a python package.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pythonPackages/{pythonPackagesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.pythonPackages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the python package.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/pythonPackages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PythonPackage" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists python packages.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/pythonPackages", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.pythonPackages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of artifacts to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource whose python packages will be listed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pythonPackages", +"response": { +"$ref": "ListPythonPackagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"rules": { +"methods": { +"create": { +"description": "Creates a rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.rules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource where the rule will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +}, +"ruleId": { +"description": "The rule id to use for this repository.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/rules", +"request": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"response": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}", +"httpMethod": "DELETE", +"id": "artifactregistry.projects.locations.repositories.rules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rule to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.rules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rule to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists rules.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules", +"httpMethod": "GET", +"id": "artifactregistry.projects.locations.repositories.rules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of rules to return. Maximum page size is 1,000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous list request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent repository whose rules will be listed. For example: `projects/p1/locations/us-central1/repositories/repo1`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rules", +"response": { +"$ref": "ListRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a rule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}", +"httpMethod": "PATCH", +"id": "artifactregistry.projects.locations.repositories.rules.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"response": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"yumArtifacts": { +"methods": { +"import": { +"description": "Imports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/yumArtifacts:import", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.yumArtifacts.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be imported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/yumArtifacts:import", +"request": { +"$ref": "ImportYumArtifactsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upload": { +"description": "Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/yumArtifacts:create", +"httpMethod": "POST", +"id": "artifactregistry.projects.locations.repositories.yumArtifacts.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/yumArtifacts:create" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the parent resource where the artifacts will be uploaded.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/yumArtifacts:create", +"request": { +"$ref": "UploadYumArtifactRequest" +}, +"response": { +"$ref": "UploadYumArtifactMediaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +} +} +} +} +} +} +} +}, +"revision": "20260206", +"rootUrl": "https://artifactregistry.googleapis.com/", +"schemas": { +"AptArtifact": { +"description": "A detailed representation of an Apt artifact. Information in the record is derived from the archive's control file. See https://www.debian.org/doc/debian-policy/ch-controlfields.html", +"id": "AptArtifact", +"properties": { +"architecture": { +"description": "Output only. Operating system architecture of the artifact.", +"readOnly": true, +"type": "string" +}, +"component": { +"description": "Output only. Repository component of the artifact.", +"readOnly": true, +"type": "string" +}, +"controlFile": { +"description": "Output only. Contents of the artifact's control metadata file.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The Artifact Registry resource name of the artifact.", +"readOnly": true, +"type": "string" +}, +"packageName": { +"description": "Output only. The Apt package name of the artifact.", +"readOnly": true, +"type": "string" +}, +"packageType": { +"description": "Output only. An artifact is a binary or source package.", +"enum": [ +"PACKAGE_TYPE_UNSPECIFIED", +"BINARY", +"SOURCE" +], +"enumDescriptions": [ +"Package type is not specified.", +"Binary package.", +"Source package." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AptRepository": { +"description": "Configuration for an Apt remote repository.", +"id": "AptRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository", +"description": "One of the publicly available Apt repositories supported by Artifact Registry." +} +}, +"type": "object" +}, +"Attachment": { +"description": "An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry. An attachment consists of one or more files.", +"id": "Attachment", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", +"type": "object" +}, +"attachmentNamespace": { +"description": "The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the attachment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"files": { +"description": "Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the attachment. E.g. `projects/p1/locations/us/repositories/repo/attachments/sbom`.", +"type": "string" +}, +"ociVersionName": { +"description": "Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Required. The target the attachment is for, can be a Version, Package or Repository. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.", +"type": "string" +}, +"type": { +"description": "Type of attachment. E.g. `application/vnd.spdx+json`", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the attachment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BatchDeleteVersionsMetadata": { +"description": "The metadata of an LRO from deleting multiple versions.", +"id": "BatchDeleteVersionsMetadata", +"properties": { +"failedVersions": { +"description": "The versions the operation failed to delete.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchDeleteVersionsRequest": { +"description": "The request to delete multiple versions across a repository.", +"id": "BatchDeleteVersionsRequest", +"properties": { +"names": { +"description": "Required. The names of the versions to delete. The maximum number of versions deleted per batch is determined by the service and is dependent on the available resources in the region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validateOnly": { +"description": "If true, the request is performed without deleting data, following AIP-163.", +"type": "boolean" +} +}, +"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" +}, +"CleanupPolicy": { +"description": "Artifact policy configuration for repository cleanup policies.", +"id": "CleanupPolicy", +"properties": { +"action": { +"description": "Policy action.", +"enum": [ +"ACTION_UNSPECIFIED", +"DELETE", +"KEEP" +], +"enumDescriptions": [ +"Action not specified.", +"Delete action.", +"Keep action." +], +"type": "string" +}, +"condition": { +"$ref": "CleanupPolicyCondition", +"description": "Policy condition for matching versions." +}, +"id": { +"description": "The user-provided ID of the cleanup policy.", +"type": "string" +}, +"mostRecentVersions": { +"$ref": "CleanupPolicyMostRecentVersions", +"description": "Policy condition for retaining a minimum number of versions. May only be specified with a Keep action." +} +}, +"type": "object" +}, +"CleanupPolicyCondition": { +"description": "CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy. If multiple entries are set, all must be satisfied for the condition to be satisfied.", +"id": "CleanupPolicyCondition", +"properties": { +"newerThan": { +"description": "Match versions newer than a duration.", +"format": "google-duration", +"type": "string" +}, +"olderThan": { +"description": "Match versions older than a duration.", +"format": "google-duration", +"type": "string" +}, +"packageNamePrefixes": { +"description": "Match versions by package prefix. Applied on any prefix match.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tagPrefixes": { +"description": "Match versions by tag prefix. Applied on any prefix match.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tagState": { +"description": "Match versions by tag status.", +"enum": [ +"TAG_STATE_UNSPECIFIED", +"TAGGED", +"UNTAGGED", +"ANY" +], +"enumDescriptions": [ +"Tag status not specified.", +"Applies to tagged versions only.", +"Applies to untagged versions only.", +"Applies to all versions." +], +"type": "string" +}, +"versionNamePrefixes": { +"description": "Match versions by version name prefix. Applied on any prefix match.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CleanupPolicyMostRecentVersions": { +"description": "CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy for retaining a minimum number of versions.", +"id": "CleanupPolicyMostRecentVersions", +"properties": { +"keepCount": { +"description": "Minimum number of versions to keep.", +"format": "int32", +"type": "integer" +}, +"packageNamePrefixes": { +"description": "List of package name prefixes that will apply this rule.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CommonRemoteRepository": { +"description": "Common remote repository settings type.", +"id": "CommonRemoteRepository", +"properties": { +"uri": { +"description": "Required. A common public repository base for remote repository.", +"type": "string" +} +}, +"type": "object" +}, +"DockerImage": { +"description": "DockerImage represents a docker artifact. The following fields are returned as untyped metadata in the Version resource, using camelcase keys (i.e. metadata.imageSizeBytes): * imageSizeBytes * mediaType * buildTime", +"id": "DockerImage", +"properties": { +"artifactType": { +"description": "ArtifactType of this image, e.g. \"application/vnd.example+type\". If the `subject_digest` is set and no `artifact_type` is given, the `media_type` will be considered as the `artifact_type`. This field is returned as the `metadata.artifactType` field in the Version resource.", +"type": "string" +}, +"buildTime": { +"description": "The time this image was built. This field is returned as the 'metadata.buildTime' field in the Version resource. The build time is returned to the client as an RFC 3339 string, which can be easily used with the JavaScript Date constructor.", +"format": "google-datetime", +"type": "string" +}, +"imageManifests": { +"description": "Optional. For multi-arch images (manifest lists), this field contains the list of image manifests.", +"items": { +"$ref": "ImageManifest" +}, +"type": "array" +}, +"imageSizeBytes": { +"description": "Calculated size of the image. This field is returned as the 'metadata.imageSizeBytes' field in the Version resource.", +"format": "int64", +"type": "string" +}, +"mediaType": { +"description": "Media type of this image, e.g. \"application/vnd.docker.distribution.manifest.v2+json\". This field is returned as the 'metadata.mediaType' field in the Version resource.", +"type": "string" +}, +"name": { +"description": "Required. registry_location, project_id, repository_name and image id forms a unique image name:`projects//locations//repositories//dockerImages/`. For example, \"projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf\", where \"us-west4\" is the registry_location, \"test-project\" is the project_id, \"test-repo\" is the repository_name and \"nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf\" is the image's digest.", +"type": "string" +}, +"tags": { +"description": "Tags attached to this image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time when the docker image was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uploadTime": { +"description": "Time the image was uploaded.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "Required. URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", +"type": "string" +} +}, +"type": "object" +}, +"DockerRepository": { +"description": "Configuration for a Docker remote repository.", +"id": "DockerRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"description": "One of the publicly available Docker repositories supported by Artifact Registry.", +"enum": [ +"PUBLIC_REPOSITORY_UNSPECIFIED", +"DOCKER_HUB" +], +"enumDescriptions": [ +"Unspecified repository.", +"Docker Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"DockerRepositoryConfig": { +"description": "DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.", +"id": "DockerRepositoryConfig", +"properties": { +"immutableTags": { +"description": "The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.", +"type": "boolean" +} +}, +"type": "object" +}, +"DownloadFileResponse": { +"description": "The response to download a file.", +"id": "DownloadFileResponse", +"properties": {}, +"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" +}, +"ExportArtifactMetadata": { +"description": "The LRO metadata for exporting an artifact.", +"id": "ExportArtifactMetadata", +"properties": { +"exportedFiles": { +"description": "The exported artifact files.", +"items": { +"$ref": "ExportedFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExportArtifactRequest": { +"description": "The request for exporting an artifact to a destination.", +"id": "ExportArtifactRequest", +"properties": { +"gcsPath": { +"description": "The Cloud Storage path to export the artifact to. Should start with the bucket name, and optionally have a directory path. Examples: `dst_bucket`, `dst_bucket/sub_dir`. Existing objects with the same path will be overwritten.", +"type": "string" +}, +"sourceTag": { +"description": "The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}", +"type": "string" +}, +"sourceVersion": { +"description": "The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}", +"type": "string" +} +}, +"type": "object" +}, +"ExportArtifactResponse": { +"description": "The response for exporting an artifact to a destination.", +"id": "ExportArtifactResponse", +"properties": { +"exportedVersion": { +"$ref": "Version", +"description": "The exported version. Should be the same as the request version with fingerprint resource name." +} +}, +"type": "object" +}, +"ExportedFile": { +"description": "The exported artifact file.", +"id": "ExportedFile", +"properties": { +"gcsObjectPath": { +"description": "Cloud Storage Object path of the exported file. Examples: `dst_bucket/file1`, `dst_bucket/sub_dir/file1`", +"type": "string" +}, +"hashes": { +"description": "The hashes of the file content.", +"items": { +"$ref": "Hash" +}, +"type": "array" +}, +"name": { +"description": "Name of the exported artifact file. Format: `projects/p1/locations/us/repositories/repo1/files/file1`", +"type": "string" +} +}, +"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" +}, +"GenericArtifact": { +"description": "GenericArtifact represents a generic artifact", +"id": "GenericArtifact", +"properties": { +"createTime": { +"description": "Output only. The time when the Generic module is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Resource name of the generic artifact. project, location, repository, package_id and version_id create a unique generic artifact. i.e. \"projects/test-project/locations/us-west4/repositories/test-repo/ genericArtifacts/package_id:version_id\"", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the Generic module is updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "The version of the generic artifact.", +"type": "string" +} +}, +"type": "object" +}, +"GoModule": { +"description": "GoModule represents a Go module.", +"id": "GoModule", +"properties": { +"createTime": { +"description": "Output only. The time when the Go module is created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of a Go module.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the Go module is updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version.", +"type": "string" +} +}, +"type": "object" +}, +"GoogetArtifact": { +"description": "A detailed representation of a GooGet artifact.", +"id": "GoogetArtifact", +"properties": { +"architecture": { +"description": "Output only. Operating system architecture of the artifact.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The Artifact Registry resource name of the artifact.", +"readOnly": true, +"type": "string" +}, +"packageName": { +"description": "Output only. The GooGet package name of the artifact.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1File": { +"description": "Files store content that is potentially associated with Packages or Versions.", +"id": "GoogleDevtoolsArtifactregistryV1File", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client specified annotations.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the File was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fetchTime": { +"description": "Output only. The time when the last attempt to refresh the file's data was made. Only set when the repository is remote.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"hashes": { +"description": "The hashes of the file content.", +"items": { +"$ref": "Hash" +}, +"type": "array" +}, +"name": { +"description": "The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.", +"type": "string" +}, +"owner": { +"description": "The name of the Package or Version that owns this file, if any.", +"type": "string" +}, +"sizeBytes": { +"description": "The size of the File in bytes.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the File was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.apt.registry/\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository": { +"description": "Publicly available Apt repositories constructed from a common repository base and a custom repository path.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository", +"properties": { +"repositoryBase": { +"description": "A common public repository base for Apt.", +"enum": [ +"REPOSITORY_BASE_UNSPECIFIED", +"DEBIAN", +"UBUNTU", +"DEBIAN_SNAPSHOT" +], +"enumDescriptions": [ +"Unspecified repository base.", +"Debian.", +"Ubuntu LTS/Pro.", +"Archived Debian." +], +"type": "string" +}, +"repositoryPath": { +"description": "A custom field to define a path to a specific repository from the base.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the custom remote repository, for ex: \"https://registry-1.docker.io\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.maven.registry/\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.npm.registry/\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.python.registry/\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository": { +"description": "Customer-specified publicly available remote repository.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository", +"properties": { +"uri": { +"description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.yum.registry/\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository": { +"description": "Publicly available Yum repositories constructed from a common repository base and a custom repository path.", +"id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository", +"properties": { +"repositoryBase": { +"description": "A common public repository base for Yum.", +"enum": [ +"REPOSITORY_BASE_UNSPECIFIED", +"CENTOS", +"CENTOS_DEBUG", +"CENTOS_VAULT", +"CENTOS_STREAM", +"ROCKY", +"EPEL" +], +"enumDescriptions": [ +"Unspecified repository base.", +"CentOS.", +"CentOS Debug.", +"CentOS Vault.", +"CentOS Stream.", +"Rocky.", +"Fedora Extra Packages for Enterprise Linux (EPEL)." +], +"type": "string" +}, +"repositoryPath": { +"description": "A custom field to define a path to a specific repository from the base.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleDevtoolsArtifactregistryV1Rule": { +"description": "A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply. You can set one rule for an entire repository and one rule for each package within.", +"id": "GoogleDevtoolsArtifactregistryV1Rule", +"properties": { +"action": { +"description": "The action this rule takes.", +"enum": [ +"ACTION_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Action not specified.", +"Allow the operation.", +"Deny the operation." +], +"type": "string" +}, +"condition": { +"$ref": "Expr", +"description": "Optional. A CEL expression for conditions that must be met in order for the rule to apply. If not provided, the rule matches all objects." +}, +"name": { +"description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", +"type": "string" +}, +"operation": { +"enum": [ +"OPERATION_UNSPECIFIED", +"DOWNLOAD" +], +"enumDescriptions": [ +"Operation not specified.", +"Download operation." +], +"type": "string" +}, +"packageId": { +"description": "The package ID the rule applies to. If empty, this rule applies to all packages inside the repository.", +"type": "string" +} +}, +"type": "object" +}, +"Hash": { +"description": "A hash of file content.", +"id": "Hash", +"properties": { +"type": { +"description": "The algorithm used to compute the hash value.", +"enum": [ +"HASH_TYPE_UNSPECIFIED", +"SHA256", +"MD5", +"DIRSUM_SHA256" +], +"enumDescriptions": [ +"Unspecified.", +"SHA256 hash.", +"MD5 hash.", +"Dirsum SHA256 hash." +], +"type": "string" +}, +"value": { +"description": "The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ImageManifest": { +"description": "Details of a single image manifest within a multi-arch image.", +"id": "ImageManifest", +"properties": { +"architecture": { +"description": "Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include \"amd64\", \"arm64\", \"ppc64le\", \"s390x\", \"riscv64\", \"mips64le\", etc.", +"type": "string" +}, +"digest": { +"description": "Optional. The manifest digest, in the format \"sha256:\".", +"type": "string" +}, +"mediaType": { +"description": "Optional. The media type of the manifest, e.g., \"application/vnd.docker.distribution.manifest.v2+json\"", +"type": "string" +}, +"os": { +"description": "Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include \"linux\", \"windows\", \"darwin\", \"aix\", etc.", +"type": "string" +}, +"osFeatures": { +"description": "Optional. The required OS features for the image, for example on Windows `win32k`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"osVersion": { +"description": "Optional. The OS version of the image, for example on Windows `10.0.14393.1066`.", +"type": "string" +}, +"variant": { +"description": "Optional. The variant of the CPU in the image, for example `v7` to specify ARMv7 when architecture is `arm`.", +"type": "string" +} +}, +"type": "object" +}, +"ImportAptArtifactsErrorInfo": { +"description": "Error information explaining why a package was not imported.", +"id": "ImportAptArtifactsErrorInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "The detailed error status." +}, +"gcsSource": { +"$ref": "ImportAptArtifactsGcsSource", +"description": "Google Cloud Storage location requested." +} +}, +"type": "object" +}, +"ImportAptArtifactsGcsSource": { +"description": "Google Cloud Storage location where the artifacts currently reside.", +"id": "ImportAptArtifactsGcsSource", +"properties": { +"uris": { +"description": "Cloud Storage paths URI (e.g., gs://my_bucket//my_object).", +"items": { +"type": "string" +}, +"type": "array" +}, +"useWildcards": { +"description": "Supports URI wildcards for matching multiple objects from a single URI.", +"type": "boolean" +} +}, +"type": "object" +}, +"ImportAptArtifactsMetadata": { +"description": "The operation metadata for importing artifacts.", +"id": "ImportAptArtifactsMetadata", +"properties": {}, +"type": "object" +}, +"ImportAptArtifactsRequest": { +"description": "The request to import new apt artifacts.", +"id": "ImportAptArtifactsRequest", +"properties": { +"gcsSource": { +"$ref": "ImportAptArtifactsGcsSource", +"description": "Google Cloud Storage location where input content is located." +} +}, +"type": "object" +}, +"ImportAptArtifactsResponse": { +"description": "The response message from importing APT artifacts.", +"id": "ImportAptArtifactsResponse", +"properties": { +"aptArtifacts": { +"description": "The Apt artifacts imported.", +"items": { +"$ref": "AptArtifact" +}, +"type": "array" +}, +"errors": { +"description": "Detailed error info for packages that were not imported.", +"items": { +"$ref": "ImportAptArtifactsErrorInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImportGoogetArtifactsErrorInfo": { +"description": "Error information explaining why a package was not imported.", +"id": "ImportGoogetArtifactsErrorInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "The detailed error status." +}, +"gcsSource": { +"$ref": "ImportGoogetArtifactsGcsSource", +"description": "Google Cloud Storage location requested." +} +}, +"type": "object" +}, +"ImportGoogetArtifactsGcsSource": { +"description": "Google Cloud Storage location where the artifacts currently reside.", +"id": "ImportGoogetArtifactsGcsSource", +"properties": { +"uris": { +"description": "Cloud Storage paths URI (e.g., `gs://my_bucket/my_object`).", +"items": { +"type": "string" +}, +"type": "array" +}, +"useWildcards": { +"description": "Supports URI wildcards for matching multiple objects from a single URI.", +"type": "boolean" +} +}, +"type": "object" +}, +"ImportGoogetArtifactsMetadata": { +"description": "The operation metadata for importing artifacts.", +"id": "ImportGoogetArtifactsMetadata", +"properties": {}, +"type": "object" +}, +"ImportGoogetArtifactsRequest": { +"description": "The request to import new googet artifacts.", +"id": "ImportGoogetArtifactsRequest", +"properties": { +"gcsSource": { +"$ref": "ImportGoogetArtifactsGcsSource", +"description": "Google Cloud Storage location where input content is located." +} +}, +"type": "object" +}, +"ImportGoogetArtifactsResponse": { +"description": "The response message from importing artifacts.", +"id": "ImportGoogetArtifactsResponse", +"properties": { +"errors": { +"description": "Detailed error info for packages that were not imported.", +"items": { +"$ref": "ImportGoogetArtifactsErrorInfo" +}, +"type": "array" +}, +"googetArtifacts": { +"description": "The GooGet artifacts updated.", +"items": { +"$ref": "GoogetArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImportYumArtifactsErrorInfo": { +"description": "Error information explaining why a package was not imported.", +"id": "ImportYumArtifactsErrorInfo", +"properties": { +"error": { +"$ref": "Status", +"description": "The detailed error status." +}, +"gcsSource": { +"$ref": "ImportYumArtifactsGcsSource", +"description": "Google Cloud Storage location requested." +} +}, +"type": "object" +}, +"ImportYumArtifactsGcsSource": { +"description": "Google Cloud Storage location where the artifacts currently reside.", +"id": "ImportYumArtifactsGcsSource", +"properties": { +"uris": { +"description": "Cloud Storage paths URI (e.g., gs://my_bucket//my_object).", +"items": { +"type": "string" +}, +"type": "array" +}, +"useWildcards": { +"description": "Supports URI wildcards for matching multiple objects from a single URI.", +"type": "boolean" +} +}, +"type": "object" +}, +"ImportYumArtifactsMetadata": { +"description": "The operation metadata for importing artifacts.", +"id": "ImportYumArtifactsMetadata", +"properties": {}, +"type": "object" +}, +"ImportYumArtifactsRequest": { +"description": "The request to import new yum artifacts.", +"id": "ImportYumArtifactsRequest", +"properties": { +"gcsSource": { +"$ref": "ImportYumArtifactsGcsSource", +"description": "Google Cloud Storage location where input content is located." +} +}, +"type": "object" +}, +"ImportYumArtifactsResponse": { +"description": "The response message from importing YUM artifacts.", +"id": "ImportYumArtifactsResponse", +"properties": { +"errors": { +"description": "Detailed error info for packages that were not imported.", +"items": { +"$ref": "ImportYumArtifactsErrorInfo" +}, +"type": "array" +}, +"yumArtifacts": { +"description": "The yum artifacts imported.", +"items": { +"$ref": "YumArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"KfpArtifact": { +"description": "A detailed representation of a KFP artifact.", +"id": "KfpArtifact", +"properties": { +"name": { +"description": "Output only. Resource name of the KFP artifact. Since users don't directly interact with this resource, the name will be derived from the associated version. For example, when version = \".../versions/sha256:abcdef...\", the name will be \".../kfpArtifacts/sha256:abcdef...\".", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "The version associated with the KFP artifact. Must follow the Semantic Versioning standard.", +"type": "string" +} +}, +"type": "object" +}, +"ListAttachmentsResponse": { +"description": "The response from listing attachments.", +"id": "ListAttachmentsResponse", +"properties": { +"attachments": { +"description": "The attachments returned.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to retrieve the next page of attachments, or empty if there are no more attachments to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListDockerImagesResponse": { +"description": "The response from listing docker images.", +"id": "ListDockerImagesResponse", +"properties": { +"dockerImages": { +"description": "The docker images returned.", +"items": { +"$ref": "DockerImage" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListFilesResponse": { +"description": "The response from listing files.", +"id": "ListFilesResponse", +"properties": { +"files": { +"description": "The files returned.", +"items": { +"$ref": "GoogleDevtoolsArtifactregistryV1File" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to retrieve the next page of files, or empty if there are no more files to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMavenArtifactsResponse": { +"description": "The response from listing maven artifacts.", +"id": "ListMavenArtifactsResponse", +"properties": { +"mavenArtifacts": { +"description": "The maven artifacts returned.", +"items": { +"$ref": "MavenArtifact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListNpmPackagesResponse": { +"description": "The response from listing npm packages.", +"id": "ListNpmPackagesResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.", +"type": "string" +}, +"npmPackages": { +"description": "The npm packages returned.", +"items": { +"$ref": "NpmPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPackagesResponse": { +"description": "The response from listing packages.", +"id": "ListPackagesResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of packages, or empty if there are no more packages to return.", +"type": "string" +}, +"packages": { +"description": "The packages returned.", +"items": { +"$ref": "Package" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPythonPackagesResponse": { +"description": "The response from listing python packages.", +"id": "ListPythonPackagesResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.", +"type": "string" +}, +"pythonPackages": { +"description": "The python packages returned.", +"items": { +"$ref": "PythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRepositoriesResponse": { +"description": "The response from listing repositories.", +"id": "ListRepositoriesResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of repositories, or empty if there are no more repositories to return.", +"type": "string" +}, +"repositories": { +"description": "The repositories returned.", +"items": { +"$ref": "Repository" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRulesResponse": { +"description": "The response from listing rules.", +"id": "ListRulesResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of rules, or empty if there are no more rules to return.", +"type": "string" +}, +"rules": { +"description": "The rules returned.", +"items": { +"$ref": "GoogleDevtoolsArtifactregistryV1Rule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTagsResponse": { +"description": "The response from listing tags.", +"id": "ListTagsResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of tags, or empty if there are no more tags to return.", +"type": "string" +}, +"tags": { +"description": "The tags returned.", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVersionsResponse": { +"description": "The response from listing versions.", +"id": "ListVersionsResponse", +"properties": { +"nextPageToken": { +"description": "The token to retrieve the next page of versions, or empty if there are no more versions to return.", +"type": "string" +}, +"versions": { +"description": "The versions returned.", +"items": { +"$ref": "Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MavenArtifact": { +"description": "MavenArtifact represents a maven artifact.", +"id": "MavenArtifact", +"properties": { +"artifactId": { +"description": "Artifact ID for the artifact.", +"type": "string" +}, +"createTime": { +"description": "Output only. Time the artifact was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"groupId": { +"description": "Group ID for the artifact. Example: com.google.guava", +"type": "string" +}, +"name": { +"description": "Required. registry_location, project_id, repository_name and maven_artifact forms a unique artifact For example, \"projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/ com.google.guava:guava:31.0-jre\", where \"us-west4\" is the registry_location, \"test-project\" is the project_id, \"test-repo\" is the repository_name and \"com.google.guava:guava:31.0-jre\" is the maven artifact.", +"type": "string" +}, +"pomUri": { +"description": "Required. URL to access the pom file of the artifact. Example: us-west4-maven.pkg.dev/test-project/test-repo/com/google/guava/guava/31.0/guava-31.0.pom", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the artifact was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Version of this artifact.", +"type": "string" +} +}, +"type": "object" +}, +"MavenRepository": { +"description": "Configuration for a Maven remote repository.", +"id": "MavenRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"description": "One of the publicly available Maven repositories supported by Artifact Registry.", +"enum": [ +"PUBLIC_REPOSITORY_UNSPECIFIED", +"MAVEN_CENTRAL" +], +"enumDescriptions": [ +"Unspecified repository.", +"Maven Central." +], +"type": "string" +} +}, +"type": "object" +}, +"MavenRepositoryConfig": { +"description": "MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.", +"id": "MavenRepositoryConfig", +"properties": { +"allowSnapshotOverwrites": { +"description": "The repository with this flag will allow publishing the same snapshot versions.", +"type": "boolean" +}, +"versionPolicy": { +"description": "Version policy defines the versions that the registry will accept.", +"enum": [ +"VERSION_POLICY_UNSPECIFIED", +"RELEASE", +"SNAPSHOT" +], +"enumDescriptions": [ +"VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.", +"RELEASE - repository will accept only Release versions.", +"SNAPSHOT - repository will accept only Snapshot versions." +], +"type": "string" +} +}, +"type": "object" +}, +"NpmPackage": { +"description": "NpmPackage represents an npm artifact.", +"id": "NpmPackage", +"properties": { +"createTime": { +"description": "Output only. Time the package was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, \"projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0\", where \"us-west4\" is the registry_location, \"test-project\" is the project_id, \"test-repo\" is the repository_name and npm_test:1.0.0\" is the npm package.", +"type": "string" +}, +"packageName": { +"description": "Package for the artifact.", +"type": "string" +}, +"tags": { +"description": "Tags attached to this package.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time the package was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Version of this package.", +"type": "string" +} +}, +"type": "object" +}, +"NpmRepository": { +"description": "Configuration for a Npm remote repository.", +"id": "NpmRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"description": "One of the publicly available Npm repositories supported by Artifact Registry.", +"enum": [ +"PUBLIC_REPOSITORY_UNSPECIFIED", +"NPMJS" +], +"enumDescriptions": [ +"Unspecified repository.", +"npmjs." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata type for longrunning-operations, currently empty.", +"id": "OperationMetadata", +"properties": {}, +"type": "object" +}, +"Package": { +"description": "Packages are named collections of versions.", +"id": "Package", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client specified annotations.", +"type": "object" +}, +"createTime": { +"description": "The time when the package was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "The display name of the package.", +"type": "string" +}, +"name": { +"description": "The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.", +"type": "string" +}, +"updateTime": { +"description": "The time when the package was last updated. This includes publishing a new version of the package.", +"format": "google-datetime", +"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": { +"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" +}, +"ProjectSettings": { +"description": "The Artifact Registry settings that apply to a Project.", +"id": "ProjectSettings", +"properties": { +"legacyRedirectionState": { +"description": "The redirection state of the legacy repositories in this project.", +"enum": [ +"REDIRECTION_STATE_UNSPECIFIED", +"REDIRECTION_FROM_GCR_IO_DISABLED", +"REDIRECTION_FROM_GCR_IO_ENABLED", +"REDIRECTION_FROM_GCR_IO_FINALIZED", +"REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING", +"REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"No redirection status has been set.", +"Redirection is disabled.", +"Redirection is enabled.", +"Redirection is enabled, and has been finalized so cannot be reverted.", +"Redirection is enabled and missing images are copied from GCR", +"Redirection is partially enabled and missing images are copied from GCR" +], +"type": "string" +}, +"name": { +"description": "The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set", +"type": "string" +}, +"pullPercent": { +"description": "The percentage of pull traffic to redirect from GCR to AR when using partial redirection.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PythonPackage": { +"description": "PythonPackage represents a python artifact.", +"id": "PythonPackage", +"properties": { +"createTime": { +"description": "Output only. Time the package was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. registry_location, project_id, repository_name and python_package forms a unique package name:`projects//locations//repository//pythonPackages/`. For example, \"projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0\", where \"us-west4\" is the registry_location, \"test-project\" is the project_id, \"test-repo\" is the repository_name and python_package:1.0.0\" is the python package.", +"type": "string" +}, +"packageName": { +"description": "Package for the artifact.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the package was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz", +"type": "string" +}, +"version": { +"description": "Version of this package.", +"type": "string" +} +}, +"type": "object" +}, +"PythonRepository": { +"description": "Configuration for a Python remote repository.", +"id": "PythonRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"description": "One of the publicly available Python repositories supported by Artifact Registry.", +"enum": [ +"PUBLIC_REPOSITORY_UNSPECIFIED", +"PYPI" +], +"enumDescriptions": [ +"Unspecified repository.", +"PyPI." +], +"type": "string" +} +}, +"type": "object" +}, +"RemoteRepositoryConfig": { +"description": "Remote repository configuration.", +"id": "RemoteRepositoryConfig", +"properties": { +"aptRepository": { +"$ref": "AptRepository", +"description": "Specific settings for an Apt remote repository." +}, +"commonRepository": { +"$ref": "CommonRemoteRepository", +"description": "Common remote repository settings. Used as the remote repository upstream URL." +}, +"description": { +"description": "The description of the remote source.", +"type": "string" +}, +"disableUpstreamValidation": { +"description": "Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.", +"type": "boolean" +}, +"dockerRepository": { +"$ref": "DockerRepository", +"description": "Specific settings for a Docker remote repository." +}, +"mavenRepository": { +"$ref": "MavenRepository", +"description": "Specific settings for a Maven remote repository." +}, +"npmRepository": { +"$ref": "NpmRepository", +"description": "Specific settings for an Npm remote repository." +}, +"pythonRepository": { +"$ref": "PythonRepository", +"description": "Specific settings for a Python remote repository." +}, +"upstreamCredentials": { +"$ref": "UpstreamCredentials", +"description": "Optional. The credentials used to access the remote repository." +}, +"yumRepository": { +"$ref": "YumRepository", +"description": "Specific settings for a Yum remote repository." +} +}, +"type": "object" +}, +"Repository": { +"description": "A Repository for storing artifacts with a specific format.", +"id": "Repository", +"properties": { +"cleanupPolicies": { +"additionalProperties": { +"$ref": "CleanupPolicy" +}, +"description": "Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.", +"type": "object" +}, +"cleanupPolicyDryRun": { +"description": "Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the repository was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The user-provided description of the repository.", +"type": "string" +}, +"disallowUnspecifiedMode": { +"description": "Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.", +"type": "boolean" +}, +"dockerConfig": { +"$ref": "DockerRepositoryConfig", +"description": "Docker repository config contains repository level configuration for the repositories of docker type." +}, +"format": { +"description": "Optional. The format of packages that are stored in the repository.", +"enum": [ +"FORMAT_UNSPECIFIED", +"DOCKER", +"MAVEN", +"NPM", +"APT", +"YUM", +"GOOGET", +"PYTHON", +"KFP", +"GO", +"GENERIC", +"RUBY" +], +"enumDescriptions": [ +"Unspecified package format.", +"Docker package format.", +"Maven package format.", +"NPM package format.", +"APT package format.", +"YUM package format.", +"GooGet package format.", +"Python package format.", +"Kubeflow Pipelines package format.", +"Go package format.", +"Generic package format.", +"Ruby package format." +], +"type": "string" +}, +"kmsKeyName": { +"description": "The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.", +"type": "object" +}, +"mavenConfig": { +"$ref": "MavenRepositoryConfig", +"description": "Maven repository config contains repository level configuration for the repositories of maven type." +}, +"mode": { +"description": "Optional. The mode of the repository.", +"enum": [ +"MODE_UNSPECIFIED", +"STANDARD_REPOSITORY", +"VIRTUAL_REPOSITORY", +"REMOTE_REPOSITORY", +"AOSS_REPOSITORY", +"ASSURED_OSS_REPOSITORY" +], +"enumDescriptions": [ +"Unspecified mode.", +"A standard repository storing artifacts.", +"A virtual repository to serve artifacts from one or more sources.", +"A remote repository to serve artifacts from a remote source.", +"An AOSS repository provides artifacts from AOSS upstreams.", +"Replacement of AOSS_REPOSITORY." +], +"type": "string" +}, +"name": { +"description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", +"type": "string" +}, +"registryUri": { +"description": "Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.", +"readOnly": true, +"type": "string" +}, +"remoteRepositoryConfig": { +"$ref": "RemoteRepositoryConfig", +"description": "Configuration specific for a Remote Repository." +}, +"satisfiesPzi": { +"description": "Output only. Whether or not this repository satisfies PZI.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Whether or not this repository satisfies PZS.", +"readOnly": true, +"type": "boolean" +}, +"sizeBytes": { +"description": "Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the repository was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"virtualRepositoryConfig": { +"$ref": "VirtualRepositoryConfig", +"description": "Configuration specific for a Virtual Repository." +}, +"vulnerabilityScanningConfig": { +"$ref": "VulnerabilityScanningConfig", +"description": "Optional. Config and state for vulnerability scanning of resources within this Repository." +} +}, +"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." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Tag": { +"description": "Tags point to a version and represent an alternative name that can be used to access the version.", +"id": "Tag", +"properties": { +"name": { +"description": "The name of the tag, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\\-._~:@], anything else must be URL encoded.", +"type": "string" +}, +"version": { +"description": "The name of the version the tag refers to, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811` If the package or version ID parts contain slashes, the slashes are escaped.", +"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" +}, +"UploadAptArtifactMediaResponse": { +"description": "The response to upload an artifact.", +"id": "UploadAptArtifactMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation to be returned to the user." +} +}, +"type": "object" +}, +"UploadAptArtifactMetadata": { +"description": "The operation metadata for uploading artifacts.", +"id": "UploadAptArtifactMetadata", +"properties": {}, +"type": "object" +}, +"UploadAptArtifactRequest": { +"description": "The request to upload an artifact.", +"id": "UploadAptArtifactRequest", +"properties": {}, +"type": "object" +}, +"UploadAptArtifactResponse": { +"description": "The response of the completed artifact upload operation. This response is contained in the Operation and available to users.", +"id": "UploadAptArtifactResponse", +"properties": { +"aptArtifacts": { +"description": "The Apt artifacts updated.", +"items": { +"$ref": "AptArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"UploadFileMediaResponse": { +"description": "The response to upload a generic artifact.", +"id": "UploadFileMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation that will be returned to the user." +} +}, +"type": "object" +}, +"UploadFileRequest": { +"description": "The request to upload a file.", +"id": "UploadFileRequest", +"properties": { +"fileId": { +"description": "Optional. The ID of the file. If left empty will default to sha256 digest of the content uploaded.", +"type": "string" +} +}, +"type": "object" +}, +"UploadGenericArtifactMediaResponse": { +"description": "The response to upload a generic artifact.", +"id": "UploadGenericArtifactMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation that will be returned to the user." +} +}, +"type": "object" +}, +"UploadGenericArtifactMetadata": { +"description": "The operation metadata for uploading generic artifacts.", +"id": "UploadGenericArtifactMetadata", +"properties": {}, +"type": "object" +}, +"UploadGenericArtifactRequest": { +"description": "The request to upload a generic artifact. The created GenericArtifact will have the resource name {parent}/genericArtifacts/package_id:version_id. The created file will have the resource name {parent}/files/package_id:version_id:filename.", +"id": "UploadGenericArtifactRequest", +"properties": { +"filename": { +"description": "The name of the file of the generic artifact to be uploaded. E.g. `example-file.zip` The filename is limited to letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].", +"type": "string" +}, +"packageId": { +"description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` should start and end with a letter or number, only contain letters, numbers, hyphens, underscores, and periods, and not exceed 256 characters.", +"type": "string" +}, +"versionId": { +"description": "The ID of the version of the generic artifact. If the version does not exist, a new version will be created. The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, the following characters [-.+~:], i.e.[a-z0-9-.+~:] and cannot exceed a total of 128 characters. Creating a version called `latest` is not allowed.", +"type": "string" +} +}, +"type": "object" +}, +"UploadGoModuleMediaResponse": { +"description": "The response to upload a Go module.", +"id": "UploadGoModuleMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation to be returned to the user." +} +}, +"type": "object" +}, +"UploadGoModuleMetadata": { +"description": "The operation metadata for uploading go modules.", +"id": "UploadGoModuleMetadata", +"properties": {}, +"type": "object" +}, +"UploadGoModuleRequest": { +"description": "The request to upload a Go module.", +"id": "UploadGoModuleRequest", +"properties": {}, +"type": "object" +}, +"UploadGoogetArtifactMediaResponse": { +"description": "The response to upload an artifact.", +"id": "UploadGoogetArtifactMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation to be returned to the user." +} +}, +"type": "object" +}, +"UploadGoogetArtifactMetadata": { +"description": "The operation metadata for uploading artifacts.", +"id": "UploadGoogetArtifactMetadata", +"properties": {}, +"type": "object" +}, +"UploadGoogetArtifactRequest": { +"description": "The request to upload an artifact.", +"id": "UploadGoogetArtifactRequest", +"properties": {}, +"type": "object" +}, +"UploadGoogetArtifactResponse": { +"description": "The response of the completed artifact upload operation. This response is contained in the Operation and available to users.", +"id": "UploadGoogetArtifactResponse", +"properties": { +"googetArtifacts": { +"description": "The GooGet artifacts updated.", +"items": { +"$ref": "GoogetArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"UploadKfpArtifactMediaResponse": { +"description": "The response to upload an artifact.", +"id": "UploadKfpArtifactMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation that will be returned to the user." +} +}, +"type": "object" +}, +"UploadKfpArtifactMetadata": { +"description": "The operation metadata for uploading KFP artifacts.", +"id": "UploadKfpArtifactMetadata", +"properties": {}, +"type": "object" +}, +"UploadKfpArtifactRequest": { +"description": "The request to upload an artifact.", +"id": "UploadKfpArtifactRequest", +"properties": { +"description": { +"description": "Description of the package version.", +"type": "string" +}, +"tags": { +"description": "Tags to be created with the version.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UploadYumArtifactMediaResponse": { +"description": "The response to upload an artifact.", +"id": "UploadYumArtifactMediaResponse", +"properties": { +"operation": { +"$ref": "Operation", +"description": "Operation to be returned to the user." +} +}, +"type": "object" +}, +"UploadYumArtifactMetadata": { +"description": "The operation metadata for uploading artifacts.", +"id": "UploadYumArtifactMetadata", +"properties": {}, +"type": "object" +}, +"UploadYumArtifactRequest": { +"description": "The request to upload an artifact.", +"id": "UploadYumArtifactRequest", +"properties": {}, +"type": "object" +}, +"UploadYumArtifactResponse": { +"description": "The response of the completed artifact upload operation. This response is contained in the Operation and available to users.", +"id": "UploadYumArtifactResponse", +"properties": { +"yumArtifacts": { +"description": "The Yum artifacts updated.", +"items": { +"$ref": "YumArtifact" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpstreamCredentials": { +"description": "The credentials to access the remote repository.", +"id": "UpstreamCredentials", +"properties": { +"usernamePasswordCredentials": { +"$ref": "UsernamePasswordCredentials", +"description": "Use username and password to access the remote repository." +} +}, +"type": "object" +}, +"UpstreamPolicy": { +"description": "Artifact policy configuration for the repository contents.", +"id": "UpstreamPolicy", +"properties": { +"id": { +"description": "The user-provided ID of the upstream policy.", +"type": "string" +}, +"priority": { +"description": "Entries with a greater priority value take precedence in the pull order.", +"format": "int32", +"type": "integer" +}, +"repository": { +"description": "A reference to the repository resource, for example: `projects/p1/locations/us-central1/repositories/repo1`.", +"type": "string" +} +}, +"type": "object" +}, +"UsernamePasswordCredentials": { +"description": "Username and password credentials.", +"id": "UsernamePasswordCredentials", +"properties": { +"passwordSecretVersion": { +"description": "The Secret Manager key version that holds the password to access the remote repository. Must be in the format of `projects/{project}/secrets/{secret}/versions/{version}`.", +"type": "string" +}, +"username": { +"description": "The username to access the remote repository.", +"type": "string" +} +}, +"type": "object" +}, +"VPCSCConfig": { +"description": "The Artifact Registry VPC SC config that apply to a Project.", +"id": "VPCSCConfig", +"properties": { +"name": { +"description": "The name of the project's VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set", +"type": "string" +}, +"vpcscPolicy": { +"description": "The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).", +"enum": [ +"VPCSC_POLICY_UNSPECIFIED", +"DENY", +"ALLOW" +], +"enumDescriptions": [ +"VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined. When VPS SC policy is not defined - the Service will use the default behavior (VPCSC_DENY).", +"VPCSC_DENY - repository will block the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter.", +"VPCSC_ALLOW - repository will allow the requests to the Upstreams for the Remote Repositories if the resource is in the perimeter." +], +"type": "string" +} +}, +"type": "object" +}, +"Version": { +"description": "The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.", +"id": "Version", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Client specified annotations.", +"type": "object" +}, +"createTime": { +"description": "The time when the version was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional. Description of the version, as specified in its metadata.", +"type": "string" +}, +"fingerprints": { +"description": "Output only. Immutable reference for the version, calculated based on the version's content. Currently we only support dirsum_sha256 hash algorithm. Additional hash algorithms may be added in the future.", +"items": { +"$ref": "Hash" +}, +"readOnly": true, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.", +"type": "string" +}, +"relatedTags": { +"description": "Output only. A list of related tags. Will contain up to 100 tags that reference this version.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"updateTime": { +"description": "The time when the version was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"VirtualRepositoryConfig": { +"description": "Virtual repository configuration.", +"id": "VirtualRepositoryConfig", +"properties": { +"upstreamPolicies": { +"description": "Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository.", +"items": { +"$ref": "UpstreamPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"VulnerabilityScanningConfig": { +"description": "Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.", +"id": "VulnerabilityScanningConfig", +"properties": { +"enablementConfig": { +"description": "Optional. Config for whether this repository has vulnerability scanning disabled.", +"enum": [ +"ENABLEMENT_CONFIG_UNSPECIFIED", +"INHERITED", +"DISABLED" +], +"enumDescriptions": [ +"Not set. This will be treated as INHERITED for Docker repositories and DISABLED for non-Docker repositories.", +"Scanning is Enabled, but dependent on API enablement.", +"No automatic vulnerability scanning will be performed for this repository." +], +"type": "string" +}, +"enablementState": { +"description": "Output only. State of feature enablement, combining repository enablement config and API enablement state.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"SCANNING_UNSUPPORTED", +"SCANNING_DISABLED", +"SCANNING_ACTIVE" +], +"enumDescriptions": [ +"Enablement state is unclear.", +"Repository does not support vulnerability scanning.", +"Vulnerability scanning is disabled for this repository.", +"Vulnerability scanning is active for this repository." +], +"readOnly": true, +"type": "string" +}, +"enablementStateReason": { +"description": "Output only. Reason for the repository state.", +"readOnly": true, +"type": "string" +}, +"lastEnableTime": { +"description": "Output only. The last time this repository config was enabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YumArtifact": { +"description": "A detailed representation of a Yum artifact.", +"id": "YumArtifact", +"properties": { +"architecture": { +"description": "Output only. Operating system architecture of the artifact.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The Artifact Registry resource name of the artifact.", +"readOnly": true, +"type": "string" +}, +"packageName": { +"description": "Output only. The yum package name of the artifact.", +"readOnly": true, +"type": "string" +}, +"packageType": { +"description": "Output only. An artifact is a binary or source package.", +"enum": [ +"PACKAGE_TYPE_UNSPECIFIED", +"BINARY", +"SOURCE" +], +"enumDescriptions": [ +"Package type is not specified.", +"Binary package (.rpm).", +"Source package (.srpm)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YumRepository": { +"description": "Configuration for a Yum remote repository.", +"id": "YumRepository", +"properties": { +"customRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository", +"description": "Customer-specified remote repository." +}, +"publicRepository": { +"$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository", +"description": "One of the publicly available Yum repositories supported by Artifact Registry." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Artifact Registry API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..290eaaa70eabe332ba51eefaf46e38815542eec1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json @@ -0,0 +1,2404 @@ +{ +"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." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://bigquerydatatransfer.googleapis.com/", +"batchPath": "batch", +"canonicalName": "BigQuery Data Transfer", +"description": "Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigquery-transfer/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://bigquerydatatransfer.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"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": "bigquerydatatransfer:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigquerydatatransfer.mtls.googleapis.com/", +"name": "bigquerydatatransfer", +"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": { +"methods": { +"enrollDataSources": { +"description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents can be found in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).", +"flatPath": "v1/projects/{projectsId}:enrollDataSources", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.enrollDataSources", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project resource in the form: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enrollDataSources", +"request": { +"$ref": "EnrollDataSourcesRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dataSources": { +"methods": { +"checkValidCreds": { +"description": "Returns true if valid credentials exist for the given data source and requesting user.", +"flatPath": "v1/projects/{projectsId}/dataSources/{dataSourcesId}:checkValidCreds", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.dataSources.checkValidCreds", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/dataSources/{data_source_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`", +"location": "path", +"pattern": "^projects/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:checkValidCreds", +"request": { +"$ref": "CheckValidCredsRequest" +}, +"response": { +"$ref": "CheckValidCredsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"get": { +"description": "Retrieves a supported data source and returns its settings.", +"flatPath": "v1/projects/{projectsId}/dataSources/{dataSourcesId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.dataSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/dataSources/{data_source_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`", +"location": "path", +"pattern": "^projects/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists supported data sources and returns their settings.", +"flatPath": "v1/projects/{projectsId}/dataSources", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.dataSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListDataSourcesRequest` list results. For multiple-page results, `ListDataSourcesResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id for which data sources should be returned. Must be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataSources", +"response": { +"$ref": "ListDataSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"locations": { +"methods": { +"enrollDataSources": { +"description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents can be found in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:enrollDataSources", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.enrollDataSources", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project resource in the form: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:enrollDataSources", +"request": { +"$ref": "EnrollDataSourcesRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"unenrollDataSources": { +"description": "Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery). Data transfers configurations of unenrolled data sources will not be scheduled.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:unenrollDataSources", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.unenrollDataSources", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the project resource in the form: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unenrollDataSources", +"request": { +"$ref": "UnenrollDataSourcesRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dataSources": { +"methods": { +"checkValidCreds": { +"description": "Returns true if valid credentials exist for the given data source and requesting user.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources/{dataSourcesId}:checkValidCreds", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.dataSources.checkValidCreds", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/dataSources/{data_source_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:checkValidCreds", +"request": { +"$ref": "CheckValidCredsRequest" +}, +"response": { +"$ref": "CheckValidCredsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"get": { +"description": "Retrieves a supported data source and returns its settings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources/{dataSourcesId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.dataSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/dataSources/{data_source_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists supported data sources and returns their settings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataSources", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.dataSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListDataSourcesRequest` list results. For multiple-page results, `ListDataSourcesResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id for which data sources should be returned. Must be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dataSources", +"response": { +"$ref": "ListDataSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +}, +"transferConfigs": { +"methods": { +"create": { +"description": "Creates a new data transfer configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"authorizationCode": { +"deprecated": true, +"description": "Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects/{project_id}/locations/{location_id} or projects/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"serviceAccountName": { +"description": "Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).", +"location": "query", +"type": "string" +}, +"versionInfo": { +"description": "Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/transferConfigs", +"request": { +"$ref": "TransferConfig" +}, +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a data transfer configuration, including any associated transfer runs and logs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "DELETE", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to delete. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a data transfer config.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about all transfer configs owned by a project in the specified location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataSourceIds": { +"description": "When specified, only configurations of requested data sources are returned.", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id for which transfer configs should be returned. If you are using the regionless method, the location must be `US` and `parent` should be in the following form: * `projects/{project_id} If you are using the regionalized method, `parent` should be in the following form: * `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferConfigs", +"response": { +"$ref": "ListTransferConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a data transfer configuration. All fields must be set, even if they are not updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "PATCH", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"authorizationCode": { +"deprecated": true, +"description": "Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"serviceAccountName": { +"description": "Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Required list of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"versionInfo": { +"description": "Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TransferConfig" +}, +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"scheduleRuns": { +"deprecated": true, +"description": "Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:scheduleRuns", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Transfer configuration name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:scheduleRuns", +"request": { +"$ref": "ScheduleTransferRunsRequest" +}, +"response": { +"$ref": "ScheduleTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startManualRuns": { +"description": "Manually initiates transfer runs. You can schedule these runs in two ways: 1. For a specific point in time using the 'requested_run_time' parameter. 2. For a period between 'start_time' (inclusive) and 'end_time' (exclusive). If scheduling a single run, it is set to execute immediately (schedule_time equals the current time). When scheduling multiple runs within a time range, the first run starts now, and subsequent runs are delayed by 15 seconds each.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Transfer configuration name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:startManualRuns", +"request": { +"$ref": "StartManualTransferRunsRequest" +}, +"response": { +"$ref": "StartManualTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"runs": { +"methods": { +"delete": { +"description": "Deletes the specified transfer run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", +"httpMethod": "DELETE", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about the particular transfer run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about running and completed transfer runs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of transfer configuration for which transfer runs should be retrieved. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"runAttempt": { +"description": "Indicates how run attempts are to be pulled.", +"enum": [ +"RUN_ATTEMPT_UNSPECIFIED", +"LATEST" +], +"enumDescriptions": [ +"All runs should be returned.", +"Only latest run per day should be returned." +], +"location": "query", +"type": "string" +}, +"states": { +"description": "When specified, only transfer runs with requested states are returned.", +"enum": [ +"TRANSFER_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"State placeholder (0).", +"Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).", +"Data transfer is in progress (3).", +"Data transfer completed successfully (4).", +"Data transfer failed (5).", +"Data transfer is cancelled (6)." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"response": { +"$ref": "ListTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"transferLogs": { +"methods": { +"list": { +"description": "Returns log messages for the transfer run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.locations.transferConfigs.runs.transferLogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"messageTypes": { +"description": "Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.", +"enum": [ +"MESSAGE_SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"No severity specified.", +"Informational message.", +"Warning message.", +"Error message." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransferLogsRequest` list results. For multiple-page results, `ListTransferLogsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Transfer run name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferLogs", +"response": { +"$ref": "ListTransferLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +} +} +} +}, +"transferConfigs": { +"methods": { +"create": { +"description": "Creates a new data transfer configuration.", +"flatPath": "v1/projects/{projectsId}/transferConfigs", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.transferConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"authorizationCode": { +"deprecated": true, +"description": "Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects/{project_id}/locations/{location_id} or projects/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"serviceAccountName": { +"description": "Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).", +"location": "query", +"type": "string" +}, +"versionInfo": { +"description": "Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/transferConfigs", +"request": { +"$ref": "TransferConfig" +}, +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a data transfer configuration, including any associated transfer runs and logs.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "DELETE", +"id": "bigquerydatatransfer.projects.transferConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to delete. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a data transfer config.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about all transfer configs owned by a project in the specified location.", +"flatPath": "v1/projects/{projectsId}/transferConfigs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"dataSourceIds": { +"description": "When specified, only configurations of requested data sources are returned.", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The BigQuery project id for which transfer configs should be returned. If you are using the regionless method, the location must be `US` and `parent` should be in the following form: * `projects/{project_id} If you are using the regionalized method, `parent` should be in the following form: * `projects/{project_id}/locations/{location_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferConfigs", +"response": { +"$ref": "ListTransferConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a data transfer configuration. All fields must be set, even if they are not updated.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}", +"httpMethod": "PATCH", +"id": "bigquerydatatransfer.projects.transferConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"authorizationCode": { +"deprecated": true, +"description": "Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead. Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"serviceAccountName": { +"description": "Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account. Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Required list of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"versionInfo": { +"description": "Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TransferConfig" +}, +"response": { +"$ref": "TransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"scheduleRuns": { +"deprecated": true, +"description": "Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}:scheduleRuns", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.transferConfigs.scheduleRuns", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Transfer configuration name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:scheduleRuns", +"request": { +"$ref": "ScheduleTransferRunsRequest" +}, +"response": { +"$ref": "ScheduleTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startManualRuns": { +"description": "Manually initiates transfer runs. You can schedule these runs in two ways: 1. For a specific point in time using the 'requested_run_time' parameter. 2. For a period between 'start_time' (inclusive) and 'end_time' (exclusive). If scheduling a single run, it is set to execute immediately (schedule_time equals the current time). When scheduling multiple runs within a time range, the first run starts now, and subsequent runs are delayed by 15 seconds each.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}:startManualRuns", +"httpMethod": "POST", +"id": "bigquerydatatransfer.projects.transferConfigs.startManualRuns", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Transfer configuration name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:startManualRuns", +"request": { +"$ref": "StartManualTransferRunsRequest" +}, +"response": { +"$ref": "StartManualTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"runs": { +"methods": { +"delete": { +"description": "Deletes the specified transfer run.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", +"httpMethod": "DELETE", +"id": "bigquerydatatransfer.projects.transferConfigs.runs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about the particular transfer run.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.runs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource requested. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TransferRun" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Returns information about running and completed transfer runs.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.runs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of transfer configuration for which transfer runs should be retrieved. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"runAttempt": { +"description": "Indicates how run attempts are to be pulled.", +"enum": [ +"RUN_ATTEMPT_UNSPECIFIED", +"LATEST" +], +"enumDescriptions": [ +"All runs should be returned.", +"Only latest run per day should be returned." +], +"location": "query", +"type": "string" +}, +"states": { +"description": "When specified, only transfer runs with requested states are returned.", +"enum": [ +"TRANSFER_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"State placeholder (0).", +"Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).", +"Data transfer is in progress (3).", +"Data transfer completed successfully (4).", +"Data transfer failed (5).", +"Data transfer is cancelled (6)." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"response": { +"$ref": "ListTransferRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"transferLogs": { +"methods": { +"list": { +"description": "Returns log messages for the transfer run.", +"flatPath": "v1/projects/{projectsId}/transferConfigs/{transferConfigsId}/runs/{runsId}/transferLogs", +"httpMethod": "GET", +"id": "bigquerydatatransfer.projects.transferConfigs.runs.transferLogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"messageTypes": { +"description": "Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.", +"enum": [ +"MESSAGE_SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"No severity specified.", +"Informational message.", +"Warning message.", +"Error message." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Page size. The default page size is the maximum value of 1000 results.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token, which can be used to request a specific page of `ListTransferLogsRequest` list results. For multiple-page results, `ListTransferLogsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Transfer run name. If you are using the regionless method, the location must be `US` and the name should be in the following form: * `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are using the regionalized method, the name should be in the following form: * `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`", +"location": "path", +"pattern": "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/transferLogs", +"response": { +"$ref": "ListTransferLogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigquery", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260201", +"rootUrl": "https://bigquerydatatransfer.googleapis.com/", +"schemas": { +"CheckValidCredsRequest": { +"description": "A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.", +"id": "CheckValidCredsRequest", +"properties": {}, +"type": "object" +}, +"CheckValidCredsResponse": { +"description": "A response indicating whether the credentials exist and are valid.", +"id": "CheckValidCredsResponse", +"properties": { +"hasValidCreds": { +"description": "If set to `true`, the credentials exist and are valid.", +"type": "boolean" +} +}, +"type": "object" +}, +"DataSource": { +"description": "Defines the properties and custom parameters for a data source.", +"id": "DataSource", +"properties": { +"authorizationType": { +"description": "Indicates the type of authorization.", +"enum": [ +"AUTHORIZATION_TYPE_UNSPECIFIED", +"AUTHORIZATION_CODE", +"GOOGLE_PLUS_AUTHORIZATION_CODE", +"FIRST_PARTY_OAUTH" +], +"enumDescriptions": [ +"Type unspecified.", +"Use OAuth 2 authorization codes that can be exchanged for a refresh token on the backend.", +"Return an authorization code for a given Google+ page that can then be exchanged for a refresh token on the backend.", +"Use First Party OAuth." +], +"type": "string" +}, +"clientId": { +"description": "Data source client id which should be used to receive refresh token.", +"type": "string" +}, +"dataRefreshType": { +"description": "Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.", +"enum": [ +"DATA_REFRESH_TYPE_UNSPECIFIED", +"SLIDING_WINDOW", +"CUSTOM_SLIDING_WINDOW" +], +"enumDescriptions": [ +"The data source won't support data auto refresh, which is default value.", +"The data source supports data auto refresh, and runs will be scheduled for the past few days. Does not allow custom values to be set for each transfer config.", +"The data source supports data auto refresh, and runs will be scheduled for the past few days. Allows custom values to be set for each transfer config." +], +"type": "string" +}, +"dataSourceId": { +"description": "Data source id.", +"type": "string" +}, +"defaultDataRefreshWindowDays": { +"description": "Default data refresh window on days. Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.", +"format": "int32", +"type": "integer" +}, +"defaultSchedule": { +"description": "Default data transfer schedule. Examples of valid schedules include: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`.", +"type": "string" +}, +"description": { +"description": "User friendly data source description string.", +"type": "string" +}, +"displayName": { +"description": "User friendly data source name.", +"type": "string" +}, +"helpUrl": { +"description": "Url for the help document for this data source.", +"type": "string" +}, +"manualRunsDisabled": { +"description": "Disables backfilling and manual run scheduling for the data source.", +"type": "boolean" +}, +"minimumScheduleInterval": { +"description": "The minimum interval for scheduler to schedule runs.", +"format": "google-duration", +"type": "string" +}, +"name": { +"description": "Output only. Data source resource name.", +"readOnly": true, +"type": "string" +}, +"parameters": { +"description": "Data source parameters.", +"items": { +"$ref": "DataSourceParameter" +}, +"type": "array" +}, +"scopes": { +"description": "Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportsCustomSchedule": { +"description": "Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to `true`, user can override default schedule.", +"type": "boolean" +}, +"supportsMultipleTransfers": { +"deprecated": true, +"description": "Deprecated. This field has no effect.", +"type": "boolean" +}, +"transferType": { +"deprecated": true, +"description": "Deprecated. This field has no effect.", +"enum": [ +"TRANSFER_TYPE_UNSPECIFIED", +"BATCH", +"STREAMING" +], +"enumDescriptions": [ +"Invalid or Unknown transfer type placeholder.", +"Batch data transfer.", +"Streaming data transfer. Streaming data source currently doesn't support multiple transfer configs per project." +], +"type": "string" +}, +"updateDeadlineSeconds": { +"description": "The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DataSourceParameter": { +"description": "A parameter used to define custom fields in a data source definition.", +"id": "DataSourceParameter", +"properties": { +"allowedValues": { +"description": "All possible values for the parameter.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deprecated": { +"description": "If true, it should not be used in new transfers, and it should not be visible to users.", +"type": "boolean" +}, +"description": { +"description": "Parameter description.", +"type": "string" +}, +"displayName": { +"description": "Parameter display name in the user interface.", +"type": "string" +}, +"fields": { +"description": "Deprecated. This field has no effect.", +"items": { +"$ref": "DataSourceParameter" +}, +"type": "array" +}, +"immutable": { +"description": "Cannot be changed after initial creation.", +"type": "boolean" +}, +"maxListSize": { +"description": "For list parameters, the max size of the list.", +"format": "int64", +"type": "string" +}, +"maxValue": { +"description": "For integer and double values specifies maximum allowed value.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "For integer and double values specifies minimum allowed value.", +"format": "double", +"type": "number" +}, +"paramId": { +"description": "Parameter identifier.", +"type": "string" +}, +"recurse": { +"description": "Deprecated. This field has no effect.", +"type": "boolean" +}, +"repeated": { +"description": "Deprecated. This field has no effect.", +"type": "boolean" +}, +"required": { +"description": "Is parameter required.", +"type": "boolean" +}, +"type": { +"description": "Parameter type.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"INTEGER", +"DOUBLE", +"BOOLEAN", +"RECORD", +"PLUS_PAGE", +"LIST" +], +"enumDescriptions": [ +"Type unspecified.", +"String parameter.", +"Integer parameter (64-bits). Will be serialized to json as string.", +"Double precision floating point parameter.", +"Boolean parameter.", +"Deprecated. This field has no effect.", +"Page ID for a Google+ Page.", +"List of strings parameter." +], +"type": "string" +}, +"validationDescription": { +"description": "Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min/max values.", +"type": "string" +}, +"validationHelpUrl": { +"description": "URL to a help document to further explain the naming requirements.", +"type": "string" +}, +"validationRegex": { +"description": "Regular expression which can be used for parameter validation.", +"type": "string" +} +}, +"type": "object" +}, +"EmailPreferences": { +"description": "Represents preferences for sending email notifications for transfer run events.", +"id": "EmailPreferences", +"properties": { +"enableFailureEmail": { +"description": "If true, email notifications will be sent on transfer run failures.", +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfiguration": { +"description": "Represents the encryption configuration for a transfer.", +"id": "EncryptionConfiguration", +"properties": { +"kmsKeyName": { +"description": "The name of the KMS key used for encrypting BigQuery data.", +"type": "string" +} +}, +"type": "object" +}, +"EnrollDataSourcesRequest": { +"description": "A request to enroll a set of data sources so they are visible in the BigQuery UI's `Transfer` tab.", +"id": "EnrollDataSourcesRequest", +"properties": { +"dataSourceIds": { +"description": "Data sources that are enrolled. It is required to provide at least one data source id.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventDrivenSchedule": { +"description": "Options customizing EventDriven transfers schedule.", +"id": "EventDrivenSchedule", +"properties": { +"pubsubSubscription": { +"description": "Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}", +"type": "string" +} +}, +"type": "object" +}, +"ListDataSourcesResponse": { +"description": "Returns list of supported data sources and their metadata.", +"id": "ListDataSourcesResponse", +"properties": { +"dataSources": { +"description": "List of supported data sources and their transfer settings.", +"items": { +"$ref": "DataSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListDataSourcesRequest.page_token` to request the next page of list results.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListTransferConfigsResponse": { +"description": "The returned list of pipelines in the project.", +"id": "ListTransferConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListTransferConfigsRequest.page_token` to request the next page of list results.", +"readOnly": true, +"type": "string" +}, +"transferConfigs": { +"description": "Output only. The stored pipeline transfer configurations.", +"items": { +"$ref": "TransferConfig" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListTransferLogsResponse": { +"description": "The returned list transfer run messages.", +"id": "ListTransferLogsResponse", +"properties": { +"nextPageToken": { +"description": "Output only. The next-pagination token. For multiple-page list results, this token can be used as the `GetTransferRunLogRequest.page_token` to request the next page of list results.", +"readOnly": true, +"type": "string" +}, +"transferMessages": { +"description": "Output only. The stored pipeline transfer messages.", +"items": { +"$ref": "TransferMessage" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListTransferRunsResponse": { +"description": "The returned list of pipelines in the project.", +"id": "ListTransferRunsResponse", +"properties": { +"nextPageToken": { +"description": "Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListTransferRunsRequest.page_token` to request the next page of list results.", +"readOnly": true, +"type": "string" +}, +"transferRuns": { +"description": "Output only. The stored pipeline transfer runs.", +"items": { +"$ref": "TransferRun" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManualSchedule": { +"description": "Options customizing manual transfers schedule.", +"id": "ManualSchedule", +"properties": {}, +"type": "object" +}, +"ScheduleOptions": { +"description": "Options customizing the data transfer schedule.", +"id": "ScheduleOptions", +"properties": { +"disableAutoScheduling": { +"description": "If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.", +"type": "boolean" +}, +"endTime": { +"description": "Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ScheduleOptionsV2": { +"description": "V2 options customizing different types of data transfer schedule. This field supports existing time-based and manual transfer schedule. Also supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.", +"id": "ScheduleOptionsV2", +"properties": { +"eventDrivenSchedule": { +"$ref": "EventDrivenSchedule", +"description": "Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial." +}, +"manualSchedule": { +"$ref": "ManualSchedule", +"description": "Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true." +}, +"timeBasedSchedule": { +"$ref": "TimeBasedSchedule", +"description": "Time based transfer schedule options. This is the default schedule option." +} +}, +"type": "object" +}, +"ScheduleTransferRunsRequest": { +"description": "A request to schedule transfer runs for a time range.", +"id": "ScheduleTransferRunsRequest", +"properties": { +"endTime": { +"description": "Required. End time of the range of transfer runs. For example, `\"2017-05-30T00:00:00+00:00\"`.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Required. Start time of the range of transfer runs. For example, `\"2017-05-25T00:00:00+00:00\"`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ScheduleTransferRunsResponse": { +"description": "A response to schedule transfer runs for a time range.", +"id": "ScheduleTransferRunsResponse", +"properties": { +"runs": { +"description": "The transfer runs that were scheduled.", +"items": { +"$ref": "TransferRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"StartManualTransferRunsRequest": { +"description": "A request to start manual transfer runs.", +"id": "StartManualTransferRunsRequest", +"properties": { +"requestedRunTime": { +"description": "A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.", +"format": "google-datetime", +"type": "string" +}, +"requestedTimeRange": { +"$ref": "TimeRange", +"description": "A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values." +} +}, +"type": "object" +}, +"StartManualTransferRunsResponse": { +"description": "A response to start manual transfer runs.", +"id": "StartManualTransferRunsResponse", +"properties": { +"runs": { +"description": "The transfer runs that were created.", +"items": { +"$ref": "TransferRun" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TimeBasedSchedule": { +"description": "Options customizing the time based transfer schedule. Options are migrated from the original ScheduleOptions message.", +"id": "TimeBasedSchedule", +"properties": { +"endTime": { +"description": "Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment.", +"format": "google-datetime", +"type": "string" +}, +"schedule": { +"description": "Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.", +"type": "string" +}, +"startTime": { +"description": "Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TimeRange": { +"description": "A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).", +"id": "TimeRange", +"properties": { +"endTime": { +"description": "End time of the range of transfer runs. For example, `\"2017-05-30T00:00:00+00:00\"`. The end_time must not be in the future. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start time of the range of transfer runs. For example, `\"2017-05-25T00:00:00+00:00\"`. The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TransferConfig": { +"description": "Represents a data transfer configuration. A transfer configuration contains all metadata needed to perform a data transfer. For example, `destination_dataset_id` specifies where data should be stored. When a new transfer configuration is created, the specified `destination_dataset_id` is created when needed and shared with the appropriate data source service account.", +"id": "TransferConfig", +"properties": { +"dataRefreshWindowDays": { +"description": "The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.", +"format": "int32", +"type": "integer" +}, +"dataSourceId": { +"description": "Data source ID. This cannot be changed once data transfer is created. The full list of available data source IDs can be returned through an API call: https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list", +"type": "string" +}, +"datasetRegion": { +"description": "Output only. Region in which BigQuery dataset is located.", +"readOnly": true, +"type": "string" +}, +"destinationDatasetId": { +"description": "The BigQuery target dataset id.", +"type": "string" +}, +"disabled": { +"description": "Is this config disabled. When set to true, no runs will be scheduled for this transfer config.", +"type": "boolean" +}, +"displayName": { +"description": "User specified display name for the data transfer.", +"type": "string" +}, +"emailPreferences": { +"$ref": "EmailPreferences", +"description": "Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config." +}, +"encryptionConfiguration": { +"$ref": "EncryptionConfiguration", +"description": "The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent." +}, +"error": { +"$ref": "Status", +"description": "Output only. Error code with detailed information about reason of the latest config failure.", +"readOnly": true +}, +"managedTableType": { +"description": "The classification of the destination table.", +"enum": [ +"MANAGED_TABLE_TYPE_UNSPECIFIED", +"NATIVE", +"BIGLAKE" +], +"enumDescriptions": [ +"Type unspecified. This defaults to `NATIVE` table.", +"The managed table is a native BigQuery table. This is the default value.", +"The managed table is a BigQuery table for Apache Iceberg (formerly BigLake managed tables), with a BigLake configuration." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.", +"type": "string" +}, +"nextRunTime": { +"description": "Output only. Next time when data transfer will run.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish. The format for specifying a pubsub topic is: `projects/{project_id}/topics/{topic_id}`", +"type": "string" +}, +"ownerInfo": { +"$ref": "UserInfo", +"description": "Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.", +"readOnly": true +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq", +"type": "object" +}, +"schedule": { +"description": "Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.", +"type": "string" +}, +"scheduleOptions": { +"$ref": "ScheduleOptions", +"description": "Options customizing the data transfer schedule." +}, +"scheduleOptionsV2": { +"$ref": "ScheduleOptionsV2", +"description": "Options customizing different types of data transfer schedule. This field replaces \"schedule\" and \"schedule_options\" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule." +}, +"state": { +"description": "Output only. State of the most recently updated transfer run.", +"enum": [ +"TRANSFER_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"State placeholder (0).", +"Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).", +"Data transfer is in progress (3).", +"Data transfer completed successfully (4).", +"Data transfer failed (5).", +"Data transfer is cancelled (6)." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Data transfer modification time. Ignored by server on input.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userId": { +"description": "Deprecated. Unique ID of the user on whose behalf transfer is done.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"TransferMessage": { +"description": "Represents a user facing message for a particular data transfer run.", +"id": "TransferMessage", +"properties": { +"messageText": { +"description": "Message text.", +"type": "string" +}, +"messageTime": { +"description": "Time when message was logged.", +"format": "google-datetime", +"type": "string" +}, +"severity": { +"description": "Message severity.", +"enum": [ +"MESSAGE_SEVERITY_UNSPECIFIED", +"INFO", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"No severity specified.", +"Informational message.", +"Warning message.", +"Error message." +], +"type": "string" +} +}, +"type": "object" +}, +"TransferRun": { +"description": "Represents a data transfer run.", +"id": "TransferRun", +"properties": { +"dataSourceId": { +"description": "Output only. Data source id.", +"readOnly": true, +"type": "string" +}, +"destinationDatasetId": { +"description": "Output only. The BigQuery target dataset id.", +"readOnly": true, +"type": "string" +}, +"emailPreferences": { +"$ref": "EmailPreferences", +"description": "Output only. Email notifications will be sent according to these preferences to the email address of the user who owns the transfer config this run was derived from.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Time when transfer run ended. Parameter ignored by server for input requests.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errorStatus": { +"$ref": "Status", +"description": "Status of the transfer run." +}, +"name": { +"description": "Identifier. The resource name of the transfer run. Transfer run names have the form `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. The name is ignored when creating a transfer run.", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Output only. Pub/Sub topic where a notification will be sent after this transfer run finishes. The format for specifying a pubsub topic is: `projects/{project_id}/topics/{topic_id}`", +"readOnly": true, +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq", +"readOnly": true, +"type": "object" +}, +"runTime": { +"description": "For batch transfer runs, specifies the date and time of the data should be ingested.", +"format": "google-datetime", +"type": "string" +}, +"schedule": { +"description": "Output only. Describes the schedule of this transfer run if it was created as part of a regular schedule. For batch transfer runs that are scheduled manually, this is empty. NOTE: the system might choose to delay the schedule depending on the current load, so `schedule_time` doesn't always match this.", +"readOnly": true, +"type": "string" +}, +"scheduleTime": { +"description": "Minimum time after which a transfer run can be started.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Output only. Time when transfer run was started. Parameter ignored by server for input requests.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Data transfer run state. Ignored for input requests.", +"enum": [ +"TRANSFER_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"State placeholder (0).", +"Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).", +"Data transfer is in progress (3).", +"Data transfer completed successfully (4).", +"Data transfer failed (5).", +"Data transfer is cancelled (6)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Last time the data transfer run state was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userId": { +"description": "Deprecated. Unique ID of the user on whose behalf transfer is done.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UnenrollDataSourcesRequest": { +"description": "A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI's `Transfer` tab.", +"id": "UnenrollDataSourcesRequest", +"properties": { +"dataSourceIds": { +"description": "Data sources that are unenrolled. It is required to provide at least one data source id.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserInfo": { +"description": "Information about a user.", +"id": "UserInfo", +"properties": { +"email": { +"description": "E-mail address of the user.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "BigQuery Data Transfer API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..50c87a0b21d4c698f52c3203493be9f43d1d661c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json @@ -0,0 +1,6009 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/bigtable.admin": { +"description": "Administer your Cloud Bigtable tables and clusters" +}, +"https://www.googleapis.com/auth/bigtable.admin.cluster": { +"description": "Administer your Cloud Bigtable clusters" +}, +"https://www.googleapis.com/auth/bigtable.admin.instance": { +"description": "Administer your Cloud Bigtable clusters" +}, +"https://www.googleapis.com/auth/bigtable.admin.table": { +"description": "Administer your Cloud Bigtable tables" +}, +"https://www.googleapis.com/auth/cloud-bigtable.admin": { +"description": "Administer your Cloud Bigtable tables and clusters" +}, +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster": { +"description": "Administer your Cloud Bigtable clusters" +}, +"https://www.googleapis.com/auth/cloud-bigtable.admin.table": { +"description": "Administer your Cloud Bigtable tables" +}, +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://bigtableadmin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Bigtable Admin", +"description": "Administer your Cloud Bigtable tables and instances.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/bigtable/", +"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": "bigtableadmin:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://bigtableadmin.mtls.googleapis.com/", +"name": "bigtableadmin", +"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": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2/operations/{operationsId}", +"httpMethod": "GET", +"id": "bigtableadmin.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"projects": { +"resources": { +"operations": { +"methods": { +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2/operations/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "bigtableadmin.operations.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations/projects/.*$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"instances": { +"methods": { +"create": { +"description": "Create an instance within a project. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.", +"flatPath": "v2/projects/{projectsId}/instances", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/instances", +"request": { +"$ref": "CreateInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete an instance from a project.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the instance to be deleted. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested instance. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.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/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about instances in a project.", +"flatPath": "v2/projects/{projectsId}/instances", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"deprecated": true, +"description": "DEPRECATED: This field is unused and ignored.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the project for which a list of instances is requested. Values are of the form `projects/{project}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"partialUpdateInstance": { +"description": "Partially updates an instance within a project. This method can modify all fields of an Instance and is the preferred way to update an Instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.partialUpdateInstance", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an instance resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.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/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified instance resource.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.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/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}", +"httpMethod": "PUT", +"id": "bigtableadmin.projects.instances.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"appProfiles": { +"methods": { +"create": { +"description": "Creates an app profile within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.appProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appProfileId": { +"description": "Required. The ID to be used when referring to the new app profile within its instance, e.g., just `myprofile` rather than `projects/myproject/instances/myinstance/appProfiles/myprofile`.", +"location": "query", +"type": "string" +}, +"ignoreWarnings": { +"description": "If true, ignore safety checks when creating the app profile.", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The unique name of the instance in which to create the new app profile. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/appProfiles", +"request": { +"$ref": "AppProfile" +}, +"response": { +"$ref": "AppProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an app profile from an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.appProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreWarnings": { +"description": "Required. If true, ignore safety checks when deleting the app profile.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The unique name of the app profile to be deleted. Values are of the form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about an app profile.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.appProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "AppProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists information about app profiles in an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.appProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of `next_page_token` returned by a previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance for which a list of app profiles is requested. Values are of the form `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., `projects/myproject/instances/-`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/appProfiles", +"response": { +"$ref": "ListAppProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an app profile within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/appProfiles/{appProfilesId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.appProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreWarnings": { +"description": "If true, ignore safety checks when updating the app profile.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The subset of app profile fields which should be replaced. If unset, all fields will be replaced.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "AppProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clusters": { +"methods": { +"create": { +"description": "Creates a cluster within an instance. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a cluster from an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the cluster to be deleted. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a cluster.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists information about clusters in an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"deprecated": true, +"description": "DEPRECATED: This field is unused and ignored.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance for which a list of clusters is requested. Values are of the form `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list Clusters for all Instances in a project, e.g., `projects/myproject/instances/-`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"partialUpdateCluster": { +"description": "Partially updates a cluster within a project. This method is the preferred way to update a Cluster. To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the update_mask. To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set a serve_node count via the update_mask.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.clusters.partialUpdateCluster", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The subset of Cluster fields which should be replaced.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates a cluster within an instance. Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. In order to update it, you must use PartialUpdateCluster.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}", +"httpMethod": "PUT", +"id": "bigtableadmin.projects.instances.clusters.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"copy": { +"description": "Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups:copy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.backups.copy", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/backups:copy", +"request": { +"$ref": "CopyBackupRequest" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"create": { +"description": "Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. The id of the backup to be created. The `backup_id` along with the parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. This must be one of the clusters in the instance in which this table is located. The backup will be stored in this cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"delete": { +"description": "Deletes a pending or completed Cloud Bigtable backup.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.clusters.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup to delete. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"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" +] +}, +"get": { +"description": "Gets metadata on a pending or completed Cloud Bigtable Backup.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.clusters.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the backup. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Backup" +}, +"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" +] +}, +"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}/clusters/{clustersId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.backups.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/[^/]+/clusters/[^/]+/backups/[^/]+$", +"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 Cloud Bigtable backups. Returns both completed and pending backups.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.clusters.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is roughly synonymous with equality. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `source_table` * `state` * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes` To filter on multiple expressions, provide each separate expression within parentheses. By default, each expression is an AND expression. However, you can include AND, OR, and NOT expressions explicitly. Some examples of using filters are: * `name:\"exact\"` --> The backup's name is the string \"exact\". * `name:howl` --> The backup's name contains the string \"howl\". * `source_table:prod` --> The source_table's name contains the string \"prod\". * `state:CREATING` --> The backup is pending creation. * `state:READY` --> The backup is fully created and ready for use. * `(name:howl) AND (start_time < \\\"2018-03-28T14:50:00Z\\\")` --> The backup name contains the string \"howl\" and start_time of the backup is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` --> The backup's size is greater than 10GB", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "An expression for specifying the sort order of the results of the request. The string value should specify one or more fields in Backup. The full syntax is described at https://aip.dev/132#ordering. Fields supported are: * name * source_table * expire_time * start_time * end_time * size_bytes * state For example, \"start_time\". The default sorting order is ascending. To specify descending order for the field, a suffix \" desc\" should be appended to the field name. For example, \"start_time desc\". Redundant space characters in the syntax are insigificant. If order_by is empty, results will be sorted by `start_time` in descending order starting from the most recently created backup.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of backups to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "If non-empty, `page_token` should contain a next_page_token from a previous ListBackupsResponse to the same `parent` and with the same `filter`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The cluster to list backups from. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list backups for all clusters in an instance, e.g., `projects/{project}/instances/{instance}/clusters/-`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"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" +] +}, +"patch": { +"description": "Updates a pending or completed Cloud Bigtable Backup.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.clusters.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Backup" +}, +"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" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.backups.setIamPolicy", +"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/[^/]+/clusters/[^/]+/backups/[^/]+$", +"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}/clusters/{clustersId}/backups/{backupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.clusters.backups.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/[^/]+/clusters/[^/]+/backups/[^/]+$", +"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" +] +} +} +}, +"hotTablets": { +"methods": { +"list": { +"description": "Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based on CPU usage.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/clusters/{clustersId}/hotTablets", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.clusters.hotTablets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"endTime": { +"description": "The end time to list hot tablets.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results per page. A page_size that is empty or zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls do not need a page_size field. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of `next_page_token` returned by a previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The cluster name to list hot tablets. Value is in the following form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The start time to list hot tablets. The hot tablets in the response will have start times between the requested start time and end time. Start time defaults to Now if it is unset, and end time defaults to Now - 24 hours if it is unset. The start time should be less than the end time, and the maximum allowed time range between start time and end time is 48 hours. Start time and end time should have values between Now and Now - 14 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/hotTablets", +"response": { +"$ref": "ListHotTabletsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"logicalViews": { +"methods": { +"create": { +"description": "Creates a logical view within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.logicalViews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"logicalViewId": { +"description": "Required. The ID to use for the logical view, which will become the final component of the logical view's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent instance where this logical view will be created. Format: `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logicalViews", +"request": { +"$ref": "LogicalView" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a logical view from an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.logicalViews.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the logical view. If an etag is provided and does not match the current etag of the logical view, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The unique name of the logical view to be deleted. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/logicalViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a logical view.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.logicalViews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested logical view. Values are of the form `projects/{project}/instances/{instance}/logicalViews/{logical_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/logicalViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "LogicalView" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.logicalViews.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/[^/]+/logicalViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about logical views in an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.logicalViews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of logical views to return. The service may return fewer than this value", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListLogicalViews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLogicalViews` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance for which the list of logical views is requested. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/logicalViews", +"response": { +"$ref": "ListLogicalViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a logical view within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.logicalViews.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/logicalViews/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "LogicalView" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an instance resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.logicalViews.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/[^/]+/logicalViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified instance resource.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/logicalViews/{logicalViewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.logicalViews.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/[^/]+/logicalViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"materializedViews": { +"methods": { +"create": { +"description": "Creates a materialized view within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.materializedViews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"materializedViewId": { +"description": "Required. The ID to use for the materialized view, which will become the final component of the materialized view's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent instance where this materialized view will be created. Format: `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/materializedViews", +"request": { +"$ref": "MaterializedView" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a materialized view from an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.materializedViews.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the materialized view. If an etag is provided and does not match the current etag of the materialized view, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The unique name of the materialized view to be deleted. Format: `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/materializedViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a materialized view.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.materializedViews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested materialized view. Values are of the form `projects/{project}/instances/{instance}/materializedViews/{materialized_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/materializedViews/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Describes which of the materialized view's fields should be populated in the response. Defaults to SCHEMA_VIEW.", +"enum": [ +"VIEW_UNSPECIFIED", +"SCHEMA_VIEW", +"REPLICATION_VIEW", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in its request.", +"Only populates fields related to the materialized view's schema.", +"Only populates fields related to the materialized view's replication state.", +"Populates all fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "MaterializedView" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.materializedViews.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/[^/]+/materializedViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about materialized views in an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.materializedViews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of materialized views to return. The service may return fewer than this value", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListMaterializedViews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMaterializedViews` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance for which the list of materialized views is requested. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. Describes which of the materialized view's fields should be populated in the response. For now, only the default value SCHEMA_VIEW is supported.", +"enum": [ +"VIEW_UNSPECIFIED", +"SCHEMA_VIEW", +"REPLICATION_VIEW", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in its request.", +"Only populates fields related to the materialized view's schema.", +"Only populates fields related to the materialized view's replication state.", +"Populates all fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/materializedViews", +"response": { +"$ref": "ListMaterializedViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a materialized view within an instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.materializedViews.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique name of the materialized view. Format: `projects/{project}/instances/{instance}/materializedViews/{materialized_view}` Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/materializedViews/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "MaterializedView" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an instance resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.materializedViews.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/[^/]+/materializedViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that the caller has on the specified instance resource.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/materializedViews/{materializedViewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.materializedViews.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/[^/]+/materializedViews/[^/]+$", +"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.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tables": { +"methods": { +"checkConsistency": { +"description": "Checks replication consistency based on a consistency token, that is, if replication has caught up based on the conditions specified in the token and the check request.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:checkConsistency", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.checkConsistency", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:checkConsistency", +"request": { +"$ref": "CheckConsistencyRequest" +}, +"response": { +"$ref": "CheckConsistencyResponse" +}, +"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" +] +}, +"create": { +"description": "Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The unique name of the instance in which to create the table. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tables", +"request": { +"$ref": "CreateTableRequest" +}, +"response": { +"$ref": "Table" +}, +"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" +] +}, +"delete": { +"description": "Permanently deletes a specified table and all of its data.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.tables.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the table to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"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" +] +}, +"dropRowRange": { +"description": "Permanently drop/delete a row range from a specified table. The request can specify whether to delete all rows in a table, or only those that match a particular prefix. Note that row key prefixes used here are treated as service data. For more information about how service data is handled, see the [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:dropRowRange", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.dropRowRange", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the table on which to drop a range of rows. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:dropRowRange", +"request": { +"$ref": "DropRowRangeRequest" +}, +"response": { +"$ref": "Empty" +}, +"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" +] +}, +"generateConsistencyToken": { +"description": "Generates a consistency token for a Table, which can be used in CheckConsistency to check whether mutations to the table that finished before this call started have been replicated. The tokens will be available for 90 days.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:generateConsistencyToken", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.generateConsistencyToken", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the Table for which to create a consistency token. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:generateConsistencyToken", +"request": { +"$ref": "GenerateConsistencyTokenRequest" +}, +"response": { +"$ref": "GenerateConsistencyTokenResponse" +}, +"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" +] +}, +"get": { +"description": "Gets metadata information about the specified table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested table. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to be applied to the returned table's fields. Defaults to `SCHEMA_VIEW` if unspecified.", +"enum": [ +"VIEW_UNSPECIFIED", +"NAME_ONLY", +"SCHEMA_VIEW", +"REPLICATION_VIEW", +"ENCRYPTION_VIEW", +"STATS_VIEW", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in its request.", +"Only populates `name`.", +"Only populates `name` and fields related to the table's schema.", +"Only populates `name` and fields related to the table's replication state.", +"Only populates `name` and fields related to the table's encryption state.", +"Only populates `name` and fields related to the table's stats (e.g. TableStats and ColumnFamilyStats).", +"Populates all fields except for stats. See STATS_VIEW to request stats." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Table" +}, +"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", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"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}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.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/[^/]+$", +"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 tables served from a specified instance.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value of `next_page_token` returned by a previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance for which tables should be listed. Values are of the form `projects/{project}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to be applied to the returned tables' fields. Only NAME_ONLY view (default), REPLICATION_VIEW and ENCRYPTION_VIEW are supported.", +"enum": [ +"VIEW_UNSPECIFIED", +"NAME_ONLY", +"SCHEMA_VIEW", +"REPLICATION_VIEW", +"ENCRYPTION_VIEW", +"STATS_VIEW", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in its request.", +"Only populates `name`.", +"Only populates `name` and fields related to the table's schema.", +"Only populates `name` and fields related to the table's replication state.", +"Only populates `name` and fields related to the table's encryption state.", +"Only populates `name` and fields related to the table's stats (e.g. TableStats and ColumnFamilyStats).", +"Populates all fields except for stats. See STATS_VIEW to request stats." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/tables", +"response": { +"$ref": "ListTablesResponse" +}, +"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", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"modifyColumnFamilies": { +"description": "Performs a series of column family modifications on the specified table. Either all or none of the modifications will occur before this method returns, but data requests received prior to that point may see a table where only some modifications have taken effect.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:modifyColumnFamilies", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.modifyColumnFamilies", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the table whose families should be modified. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:modifyColumnFamilies", +"request": { +"$ref": "ModifyColumnFamiliesRequest" +}, +"response": { +"$ref": "Table" +}, +"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" +] +}, +"patch": { +"description": "Updates a specified table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.tables.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreWarnings": { +"description": "Optional. If true, ignore safety checks when updating the table.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The unique name of the table. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `STATS_VIEW`, `FULL`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update. A mask specifying which fields (e.g. `change_stream_config`) in the `table` field should be updated. This mask is relative to the `table` field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields: * `change_stream_config` * `change_stream_config.retention_period` * `deletion_protection` * `automated_backup_policy` * `automated_backup_policy.retention_period` * `automated_backup_policy.frequency` * `row_key_schema` If `column_families` is set in `update_mask`, it will return an UNIMPLEMENTED error.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Table" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"restore": { +"description": "Create a new table by restoring from a completed backup. The returned table long-running operation can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreTableMetadata. The response type is Table, if successful.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables:restore", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.restore", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the instance in which to create the restored table. Values are of the form `projects//instances/`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tables:restore", +"request": { +"$ref": "RestoreTableRequest" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.setIamPolicy", +"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/[^/]+$", +"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}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.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/[^/]+$", +"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" +] +}, +"undelete": { +"description": "Restores a specified table which was accidentally deleted.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}:undelete", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.undelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the table to be restored. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:undelete", +"request": { +"$ref": "UndeleteTableRequest" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +} +}, +"resources": { +"authorizedViews": { +"methods": { +"create": { +"description": "Creates a new AuthorizedView in a table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"authorizedViewId": { +"description": "Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The `authorized_view_id` appended to `parent` forms the full AuthorizedView name of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. This is the name of the table the AuthorizedView belongs to. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/authorizedViews", +"request": { +"$ref": "AuthorizedView" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"delete": { +"description": "Permanently deletes a specified AuthorizedView.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the AuthorizedView. If an etag is provided and does not match the current etag of the AuthorizedView, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The unique name of the AuthorizedView to be deleted. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"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" +] +}, +"get": { +"description": "Gets information from a specified AuthorizedView.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the requested AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The resource_view to be applied to the returned AuthorizedView's fields. Default to BASIC.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"NAME_ONLY", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in the request.", +"Only populates `name`.", +"Only populates the AuthorizedView's basic metadata. This includes: name, deletion_protection, etag.", +"Populates every fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "AuthorizedView" +}, +"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" +] +}, +"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}/authorizedViews/{authorizedViewsId}:getIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.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/[^/]+/authorizedViews/[^/]+$", +"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 AuthorizedViews from a specific table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results per page. A page_size of zero lets the server choose the number of items to return. A page_size which is strictly positive will return at most that many items. A negative page_size will cause an error. Following the first request, subsequent paginated calls are not required to pass a page_size. If a page_size is set in subsequent calls, it must match the page_size given in the first request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The value of `next_page_token` returned by a previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the table for which AuthorizedViews should be listed. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The resource_view to be applied to the returned AuthorizedViews' fields. Default to NAME_ONLY.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"NAME_ONLY", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in the request.", +"Only populates `name`.", +"Only populates the AuthorizedView's basic metadata. This includes: name, deletion_protection, etag.", +"Populates every fields." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/authorizedViews", +"response": { +"$ref": "ListAuthorizedViewsResponse" +}, +"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" +] +}, +"patch": { +"description": "Updates an AuthorizedView in a table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreWarnings": { +"description": "Optional. If true, ignore the safety checks when updating the AuthorizedView.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The name of this AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/authorizedViews/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. A mask specifying which fields in the AuthorizedView resource should be updated. This mask is relative to the AuthorizedView resource, not to the request message. A field will be overwritten if it is in the mask. If empty, all fields set in the request will be overwritten. A special value `*` means to overwrite all fields (including fields not set in the request).", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "AuthorizedView" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/authorizedViews/{authorizedViewsId}:setIamPolicy", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.setIamPolicy", +"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/[^/]+/authorizedViews/[^/]+$", +"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}/authorizedViews/{authorizedViewsId}:testIamPermissions", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.authorizedViews.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/[^/]+/authorizedViews/[^/]+$", +"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" +] +} +} +}, +"schemaBundles": { +"methods": { +"create": { +"description": "Creates a new schema bundle in the specified table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles", +"httpMethod": "POST", +"id": "bigtableadmin.projects.instances.tables.schemaBundles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this schema bundle will be created. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"schemaBundleId": { +"description": "Required. The unique ID to use for the schema bundle, which will become the final component of the schema bundle's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/schemaBundles", +"request": { +"$ref": "SchemaBundle" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"delete": { +"description": "Deletes a schema bundle in the specified table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}", +"httpMethod": "DELETE", +"id": "bigtableadmin.projects.instances.tables.schemaBundles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the schema bundle. If this is provided, it must match the server's etag. The server returns an ABORTED error on a mismatched etag.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The unique name of the schema bundle to delete. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"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" +] +}, +"get": { +"description": "Gets metadata information about the specified schema bundle.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.schemaBundles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the schema bundle to retrieve. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "SchemaBundle" +}, +"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" +] +}, +"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", +"httpMethod": "GET", +"id": "bigtableadmin.projects.instances.tables.schemaBundles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of schema bundles to return. If the value is positive, the server may return at most this value. If unspecified, the server will return the maximum allowed page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSchemaBundles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSchemaBundles` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of schema bundles. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. The resource_view to be applied to the returned SchemaBundles' fields. Defaults to NAME_ONLY.", +"enum": [ +"SCHEMA_BUNDLE_VIEW_UNSPECIFIED", +"NAME_ONLY", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Uses the default view for each method as documented in the request.", +"Only populates `name`.", +"Only populates the SchemaBundle's basic metadata. This includes: name, etag, create_time, update_time.", +"Populates every field." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/schemaBundles", +"response": { +"$ref": "ListSchemaBundlesResponse" +}, +"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" +] +}, +"patch": { +"description": "Updates a schema bundle in the specified table.", +"flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}", +"httpMethod": "PATCH", +"id": "bigtableadmin.projects.instances.tables.schemaBundles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"ignoreWarnings": { +"description": "Optional. If set, ignore the safety checks when updating the Schema Bundle. The safety checks are: - The new Schema Bundle is backwards compatible with the existing Schema Bundle.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"location": "path", +"pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "SchemaBundle" +}, +"response": { +"$ref": "Operation" +}, +"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" +] +}, +"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" +] +} +} +} +} +} +} +}, +"locations": { +"methods": { +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "bigtableadmin.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/bigtable.admin", +"https://www.googleapis.com/auth/bigtable.admin.cluster", +"https://www.googleapis.com/auth/bigtable.admin.instance", +"https://www.googleapis.com/auth/cloud-bigtable.admin", +"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster", +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +} +}, +"revision": "20260210", +"rootUrl": "https://bigtableadmin.googleapis.com/", +"schemas": { +"AppProfile": { +"description": "A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.", +"id": "AppProfile", +"properties": { +"dataBoostIsolationReadOnly": { +"$ref": "DataBoostIsolationReadOnly", +"description": "Specifies that this app profile is intended for read-only usage via the Data Boost feature." +}, +"description": { +"description": "Long form description of the use case for this AppProfile.", +"type": "string" +}, +"etag": { +"description": "Strongly validated etag for optimistic concurrency control. Preserve the value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the request if there has been a modification in the mean time. The `update_mask` of the request need not include `etag` for this protection to apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.", +"type": "string" +}, +"multiClusterRoutingUseAny": { +"$ref": "MultiClusterRoutingUseAny", +"description": "Use a multi-cluster routing policy." +}, +"name": { +"description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", +"type": "string" +}, +"priority": { +"deprecated": true, +"description": "This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"PRIORITY_LOW", +"PRIORITY_MEDIUM", +"PRIORITY_HIGH" +], +"enumDescriptions": [ +"Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.", +"", +"", +"" +], +"type": "string" +}, +"singleClusterRouting": { +"$ref": "SingleClusterRouting", +"description": "Use a single-cluster routing policy." +}, +"standardIsolation": { +"$ref": "StandardIsolation", +"description": "The standard options used for isolating this app profile's traffic from other use cases." +} +}, +"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" +}, +"AuthorizedView": { +"description": "An Authorized View of a Cloud Bigtable Table.", +"id": "AuthorizedView", +"properties": { +"deletionProtection": { +"description": "Set to true to make the AuthorizedView protected against deletion. The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.", +"type": "boolean" +}, +"etag": { +"description": "The etag for this AuthorizedView. If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.", +"type": "string" +}, +"name": { +"description": "Identifier. The name of this AuthorizedView. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`", +"type": "string" +}, +"subsetView": { +"$ref": "GoogleBigtableAdminV2AuthorizedViewSubsetView", +"description": "An AuthorizedView permitting access to an explicit subset of a Table." +} +}, +"type": "object" +}, +"AutomatedBackupPolicy": { +"description": "Defines an automated backup policy for a table", +"id": "AutomatedBackupPolicy", +"properties": { +"frequency": { +"description": "How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.", +"format": "google-duration", +"type": "string" +}, +"retentionPeriod": { +"description": "Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingLimits": { +"description": "Limits for the number of nodes a Cluster can autoscale up/down to.", +"id": "AutoscalingLimits", +"properties": { +"maxServeNodes": { +"description": "Required. Maximum number of nodes to scale up to.", +"format": "int32", +"type": "integer" +}, +"minServeNodes": { +"description": "Required. Minimum number of nodes to scale down to.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"AutoscalingTargets": { +"description": "The Autoscaling targets for a Cluster. These determine the recommended nodes.", +"id": "AutoscalingTargets", +"properties": { +"cpuUtilizationPercent": { +"description": "The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.", +"format": "int32", +"type": "integer" +}, +"storageUtilizationGibPerNode": { +"description": "The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Backup": { +"description": "A backup of a Cloud Bigtable table.", +"id": "Backup", +"properties": { +"backupType": { +"description": "Indicates the backup type of the backup.", +"enum": [ +"BACKUP_TYPE_UNSPECIFIED", +"STANDARD", +"HOT" +], +"enumDescriptions": [ +"Not specified.", +"The default type for Cloud Bigtable managed backups. Supported for backups created in both HDD and SSD instances. Requires optimization when restored to a table in an SSD instance.", +"A backup type with faster restore to SSD performance. Only supported for backups created in SSD instances. A new SSD table restored from a hot backup reaches production performance more quickly than a standard backup." +], +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Output only. The encryption information for the backup.", +"readOnly": true +}, +"endTime": { +"description": "Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours - At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.", +"format": "google-datetime", +"type": "string" +}, +"hotToStandardTime": { +"description": "The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.", +"type": "string" +}, +"sizeBytes": { +"description": "Output only. Size of the backup in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"sourceBackup": { +"description": "Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/", +"readOnly": true, +"type": "string" +}, +"sourceTable": { +"description": "Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form `projects/{project}/instances/{instance}/tables/{source_table}`.", +"type": "string" +}, +"startTime": { +"description": "Output only. `start_time` is the time that the backup was started (i.e. approximately the time the CreateBackup request is received). The row data in this backup will be no older than this timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY" +], +"enumDescriptions": [ +"Not specified.", +"The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.", +"The backup is complete and ready for use." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BackupInfo": { +"description": "Information about a backup.", +"id": "BackupInfo", +"properties": { +"backup": { +"description": "Output only. Name of the backup.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. This time that the backup was finished. Row data in the backup will be no newer than this timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"sourceBackup": { +"description": "Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects//instances//clusters//backups/", +"readOnly": true, +"type": "string" +}, +"sourceTable": { +"description": "Output only. Name of the table the backup was created from.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time that the backup was started. Row data in the backup will be no older than this timestamp.", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"ChangeStreamConfig": { +"description": "Change stream configuration.", +"id": "ChangeStreamConfig", +"properties": { +"retentionPeriod": { +"description": "How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"CheckConsistencyRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency", +"id": "CheckConsistencyRequest", +"properties": { +"consistencyToken": { +"description": "Required. The token created using GenerateConsistencyToken for the Table.", +"type": "string" +}, +"dataBoostReadLocalWrites": { +"$ref": "DataBoostReadLocalWrites", +"description": "Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster." +}, +"standardReadRemoteWrites": { +"$ref": "StandardReadRemoteWrites", +"description": "Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters." +} +}, +"type": "object" +}, +"CheckConsistencyResponse": { +"description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency", +"id": "CheckConsistencyResponse", +"properties": { +"consistent": { +"description": "True only if the token is consistent. A token is consistent if replication has caught up with the restrictions specified in the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.", +"id": "Cluster", +"properties": { +"clusterConfig": { +"$ref": "ClusterConfig", +"description": "Configuration for this cluster." +}, +"defaultStorageType": { +"description": "Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.", +"enum": [ +"STORAGE_TYPE_UNSPECIFIED", +"SSD", +"HDD" +], +"enumDescriptions": [ +"The user did not specify a storage type.", +"Flash (SSD) storage should be used.", +"Magnetic drive (HDD) storage should be used." +], +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Immutable. The encryption configuration for CMEK-protected clusters." +}, +"location": { +"description": "Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.", +"type": "string" +}, +"name": { +"description": "The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.", +"type": "string" +}, +"nodeScalingFactor": { +"description": "Immutable. The node scaling factor of this cluster.", +"enum": [ +"NODE_SCALING_FACTOR_UNSPECIFIED", +"NODE_SCALING_FACTOR_1X", +"NODE_SCALING_FACTOR_2X" +], +"enumDescriptions": [ +"No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.", +"The cluster is running with a scaling factor of 1.", +"The cluster is running with a scaling factor of 2. All node count values must be in increments of 2 with this scaling factor enabled, otherwise an INVALID_ARGUMENT error will be returned." +], +"type": "string" +}, +"serveNodes": { +"description": "The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.", +"format": "int32", +"type": "integer" +}, +"state": { +"description": "Output only. The current state of the cluster.", +"enum": [ +"STATE_NOT_KNOWN", +"READY", +"CREATING", +"RESIZING", +"DISABLED" +], +"enumDescriptions": [ +"The state of the cluster could not be determined.", +"The cluster has been successfully created and is ready to serve requests.", +"The cluster is currently being created, and may be destroyed if the creation process encounters an error. A cluster may not be able to serve requests while being created.", +"The cluster is currently being resized, and may revert to its previous node count if the process encounters an error. A cluster is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states.", +"The cluster has no backing nodes. The data (tables) still exist, but no operations can be performed on the cluster." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterAutoscalingConfig": { +"description": "Autoscaling config for a cluster.", +"id": "ClusterAutoscalingConfig", +"properties": { +"autoscalingLimits": { +"$ref": "AutoscalingLimits", +"description": "Required. Autoscaling limits for this cluster." +}, +"autoscalingTargets": { +"$ref": "AutoscalingTargets", +"description": "Required. Autoscaling targets for this cluster." +} +}, +"type": "object" +}, +"ClusterConfig": { +"description": "Configuration for a cluster.", +"id": "ClusterConfig", +"properties": { +"clusterAutoscalingConfig": { +"$ref": "ClusterAutoscalingConfig", +"description": "Autoscaling configuration for this cluster." +} +}, +"type": "object" +}, +"ClusterState": { +"description": "The state of a table's data in a particular cluster.", +"id": "ClusterState", +"properties": { +"encryptionInfo": { +"description": "Output only. The encryption information for the table in this cluster. If the encryption key protecting this resource is customer managed, then its version can be rotated in Cloud Key Management Service (Cloud KMS). The primary version of the key and its status will be reflected here when changes propagate from Cloud KMS.", +"items": { +"$ref": "EncryptionInfo" +}, +"readOnly": true, +"type": "array" +}, +"replicationState": { +"description": "Output only. The state of replication for the table in this cluster.", +"enum": [ +"STATE_NOT_KNOWN", +"INITIALIZING", +"PLANNED_MAINTENANCE", +"UNPLANNED_MAINTENANCE", +"READY", +"READY_OPTIMIZING" +], +"enumDescriptions": [ +"The replication state of the table is unknown in this cluster.", +"The cluster was recently created, and the table must finish copying over pre-existing data from other clusters before it can begin receiving live replication updates and serving Data API requests.", +"The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.", +"The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.", +"The table can serve Data API requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.", +"The table is fully created and ready for use after a restore, and is being optimized for performance. When optimizations are complete, the table will transition to `READY` state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ColumnFamily": { +"description": "A set of columns within a table which share a common configuration.", +"id": "ColumnFamily", +"properties": { +"gcRule": { +"$ref": "GcRule", +"description": "Garbage collection rule specified as a protobuf. Must serialize to at most 500 bytes. NOTE: Garbage collection executes opportunistically in the background, and so it's possible for reads to return a cell even if it matches the active GC expression for its family." +}, +"stats": { +"$ref": "ColumnFamilyStats", +"description": "Output only. Only available with STATS_VIEW, this includes summary statistics about column family contents. For statistics over an entire table, see TableStats above.", +"readOnly": true +}, +"valueType": { +"$ref": "Type", +"description": "The type of data stored in each of this family's cell values, including its full encoding. If omitted, the family only serves raw untyped bytes. For now, only the `Aggregate` type is supported. `Aggregate` can only be set at family creation and is immutable afterwards. This field is mutually exclusive with `sql_type`. If `value_type` is `Aggregate`, written data must be compatible with: * `value_type.input_type` for `AddInput` mutations" +} +}, +"type": "object" +}, +"ColumnFamilyStats": { +"description": "Approximate statistics related to a single column family within a table. This information may change rapidly, interpreting these values at a point in time may already preset out-of-date information. Everything below is approximate, unless otherwise specified.", +"id": "ColumnFamilyStats", +"properties": { +"averageCellsPerColumn": { +"description": "How many cells are present per column qualifier in this column family, averaged over all rows containing any column in the column family. e.g. For column family \"family\" in a table with 3 rows: * A row with 3 cells in \"family:col\" and 1 cell in \"other:col\" (3 cells / 1 column in \"family\") * A row with 1 cell in \"family:col\", 7 cells in \"family:other_col\", and 7 cells in \"other:data\" (8 cells / 2 columns in \"family\") * A row with 3 cells in \"other:col\" (0 columns in \"family\", \"family\" not present) would report (3 + 8 + 0)/(1 + 2 + 0) = 3.66 in this field.", +"format": "double", +"type": "number" +}, +"averageColumnsPerRow": { +"description": "How many column qualifiers are present in this column family, averaged over all rows in the table. e.g. For column family \"family\" in a table with 3 rows: * A row with cells in \"family:col\" and \"other:col\" (1 column in \"family\") * A row with cells in \"family:col\", \"family:other_col\", and \"other:data\" (2 columns in \"family\") * A row with cells in \"other:col\" (0 columns in \"family\", \"family\" not present) would report (1 + 2 + 0)/3 = 1.5 in this field.", +"format": "double", +"type": "number" +}, +"logicalDataBytes": { +"description": "How much space the data in the column family occupies. This is roughly how many bytes would be needed to read the contents of the entire column family (e.g. by streaming all contents out).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CopyBackupMetadata": { +"description": "Metadata type for the google.longrunning.Operation returned by CopyBackup.", +"id": "CopyBackupMetadata", +"properties": { +"name": { +"description": "The name of the backup being created through the copy operation. Values are of the form `projects//instances//clusters//backups/`.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the CopyBackup operation." +}, +"sourceBackupInfo": { +"$ref": "BackupInfo", +"description": "Information about the source backup that is being copied from." +} +}, +"type": "object" +}, +"CopyBackupRequest": { +"description": "The request for CopyBackup.", +"id": "CopyBackupRequest", +"properties": { +"backupId": { +"description": "Required. The id of the new backup. The `backup_id` along with `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*.", +"type": "string" +}, +"expireTime": { +"description": "Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the `expire_time` has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.", +"format": "google-datetime", +"type": "string" +}, +"sourceBackup": { +"description": "Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: `projects//instances//clusters//backups/`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateAuthorizedViewMetadata": { +"description": "The metadata for the Operation returned by CreateAuthorizedView.", +"id": "CreateAuthorizedViewMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "CreateAuthorizedViewRequest", +"description": "The request that prompted the initiation of this CreateAuthorizedView operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateAuthorizedViewRequest": { +"description": "The request for CreateAuthorizedView", +"id": "CreateAuthorizedViewRequest", +"properties": { +"authorizedView": { +"$ref": "AuthorizedView", +"description": "Required. The AuthorizedView to create." +}, +"authorizedViewId": { +"description": "Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The `authorized_view_id` appended to `parent` forms the full AuthorizedView name of the form `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.", +"type": "string" +}, +"parent": { +"description": "Required. This is the name of the table the AuthorizedView belongs to. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateBackupMetadata": { +"description": "Metadata type for the operation returned by CreateBackup.", +"id": "CreateBackupMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "If set, the time at which this operation finished or was cancelled. DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name of the backup being created.", +"type": "string" +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"sourceTable": { +"description": "The name of the table the backup is created from.", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "The time at which this operation started. DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateClusterMetadata": { +"description": "The metadata for the Operation returned by CreateCluster.", +"id": "CreateClusterMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "CreateClusterRequest", +"description": "The request that prompted the initiation of this CreateCluster operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"tables": { +"additionalProperties": { +"$ref": "TableProgress" +}, +"description": "Keys: the full `name` of each table that existed in the instance when CreateCluster was first called, i.e. `projects//instances//tables/`. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.", +"type": "object" +} +}, +"type": "object" +}, +"CreateClusterRequest": { +"description": "Request message for BigtableInstanceAdmin.CreateCluster.", +"id": "CreateClusterRequest", +"properties": { +"cluster": { +"$ref": "Cluster", +"description": "Required. The cluster to be created. Fields marked `OutputOnly` must be left blank." +}, +"clusterId": { +"description": "Required. The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the instance in which to create the new cluster. Values are of the form `projects/{project}/instances/{instance}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstanceMetadata": { +"description": "The metadata for the Operation returned by CreateInstance.", +"id": "CreateInstanceMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "CreateInstanceRequest", +"description": "The request that prompted the initiation of this CreateInstance operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateInstanceRequest": { +"description": "Request message for BigtableInstanceAdmin.CreateInstance.", +"id": "CreateInstanceRequest", +"properties": { +"clusters": { +"additionalProperties": { +"$ref": "Cluster" +}, +"description": "Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank.", +"type": "object" +}, +"instance": { +"$ref": "Instance", +"description": "Required. The instance to create. Fields marked `OutputOnly` must be left blank." +}, +"instanceId": { +"description": "Required. The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.", +"type": "string" +}, +"parent": { +"description": "Required. The unique name of the project in which to create the new instance. Values are of the form `projects/{project}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateLogicalViewMetadata": { +"description": "The metadata for the Operation returned by CreateLogicalView.", +"id": "CreateLogicalViewMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "CreateLogicalViewRequest", +"description": "The request that prompted the initiation of this CreateLogicalView operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateLogicalViewRequest": { +"description": "Request message for BigtableInstanceAdmin.CreateLogicalView.", +"id": "CreateLogicalViewRequest", +"properties": { +"logicalView": { +"$ref": "LogicalView", +"description": "Required. The logical view to create." +}, +"logicalViewId": { +"description": "Required. The ID to use for the logical view, which will become the final component of the logical view's resource name.", +"type": "string" +}, +"parent": { +"description": "Required. The parent instance where this logical view will be created. Format: `projects/{project}/instances/{instance}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateMaterializedViewMetadata": { +"description": "The metadata for the Operation returned by CreateMaterializedView.", +"id": "CreateMaterializedViewMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "If set, the time at which this operation finished or was canceled. DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "CreateMaterializedViewRequest", +"description": "The request that prompted the initiation of this CreateMaterializedView operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "The time at which this operation started. DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateMaterializedViewRequest": { +"description": "Request message for BigtableInstanceAdmin.CreateMaterializedView.", +"id": "CreateMaterializedViewRequest", +"properties": { +"materializedView": { +"$ref": "MaterializedView", +"description": "Required. The materialized view to create." +}, +"materializedViewId": { +"description": "Required. The ID to use for the materialized view, which will become the final component of the materialized view's resource name.", +"type": "string" +}, +"parent": { +"description": "Required. The parent instance where this materialized view will be created. Format: `projects/{project}/instances/{instance}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateSchemaBundleMetadata": { +"description": "The metadata for the Operation returned by CreateSchemaBundle.", +"id": "CreateSchemaBundleMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"type": "string" +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateTableRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable", +"id": "CreateTableRequest", +"properties": { +"initialSplits": { +"description": "The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions). Given two split keys, `s1` and `s2`, three tablets will be created, spanning the key ranges: `[, s1), [s1, s2), [s2, )`. Example: * Row keys := `[\"a\", \"apple\", \"custom\", \"customer_1\", \"customer_2\",` `\"other\", \"zz\"]` * initial_split_keys := `[\"apple\", \"customer_1\", \"customer_2\", \"other\"]` * Key assignment: - Tablet 1 `[, apple) => {\"a\"}.` - Tablet 2 `[apple, customer_1) => {\"apple\", \"custom\"}.` - Tablet 3 `[customer_1, customer_2) => {\"customer_1\"}.` - Tablet 4 `[customer_2, other) => {\"customer_2\"}.` - Tablet 5 `[other, ) => {\"other\", \"zz\"}.`", +"items": { +"$ref": "Split" +}, +"type": "array" +}, +"table": { +"$ref": "Table", +"description": "Required. The Table to create." +}, +"tableId": { +"description": "Required. The name by which the new table should be referred to within the parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. Maximum 50 characters.", +"type": "string" +} +}, +"type": "object" +}, +"DataBoostIsolationReadOnly": { +"description": "Data Boost is a serverless compute capability that lets you run high-throughput read jobs and queries on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Data Boost supports read-only use cases with single-cluster routing.", +"id": "DataBoostIsolationReadOnly", +"properties": { +"computeBillingOwner": { +"description": "The Compute Billing Owner for this Data Boost App Profile.", +"enum": [ +"COMPUTE_BILLING_OWNER_UNSPECIFIED", +"HOST_PAYS" +], +"enumDescriptions": [ +"Unspecified value.", +"The host Cloud Project containing the targeted Bigtable Instance / Table pays for compute." +], +"type": "string" +} +}, +"type": "object" +}, +"DataBoostReadLocalWrites": { +"description": "Checks that all writes before the consistency token was generated in the same cluster are readable by Databoost.", +"id": "DataBoostReadLocalWrites", +"properties": {}, +"type": "object" +}, +"DropRowRangeRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange", +"id": "DropRowRangeRequest", +"properties": { +"deleteAllDataFromTable": { +"description": "Delete all rows in the table. Setting this to false is a no-op.", +"type": "boolean" +}, +"rowKeyPrefix": { +"description": "Delete all rows that start with this row key prefix. Prefix cannot be zero length.", +"format": "byte", +"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" +}, +"EncryptionConfig": { +"description": "Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`", +"type": "string" +} +}, +"type": "object" +}, +"EncryptionInfo": { +"description": "Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service (Cloud KMS) key version is specified along with its status.", +"id": "EncryptionInfo", +"properties": { +"encryptionStatus": { +"$ref": "Status", +"description": "Output only. The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest.", +"readOnly": true +}, +"encryptionType": { +"description": "Output only. The type of encryption used to protect this resource.", +"enum": [ +"ENCRYPTION_TYPE_UNSPECIFIED", +"GOOGLE_DEFAULT_ENCRYPTION", +"CUSTOMER_MANAGED_ENCRYPTION" +], +"enumDescriptions": [ +"Encryption type was not specified, though data at rest remains encrypted.", +"The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.", +"The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`." +], +"readOnly": true, +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table.", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"GcRule": { +"description": "Rule for determining which cells to delete during garbage collection.", +"id": "GcRule", +"properties": { +"intersection": { +"$ref": "Intersection", +"description": "Delete cells that would be deleted by every nested rule." +}, +"maxAge": { +"description": "Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.", +"format": "google-duration", +"type": "string" +}, +"maxNumVersions": { +"description": "Delete all cells in a column except the most recent N.", +"format": "int32", +"type": "integer" +}, +"union": { +"$ref": "Union", +"description": "Delete cells that would be deleted by any nested rule." +} +}, +"type": "object" +}, +"GenerateConsistencyTokenRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken", +"id": "GenerateConsistencyTokenRequest", +"properties": {}, +"type": "object" +}, +"GenerateConsistencyTokenResponse": { +"description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken", +"id": "GenerateConsistencyTokenResponse", +"properties": { +"consistencyToken": { +"description": "The generated consistency token.", +"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" +}, +"GoogleBigtableAdminV2AuthorizedViewFamilySubsets": { +"description": "Subsets of a column family that are included in this AuthorizedView.", +"id": "GoogleBigtableAdminV2AuthorizedViewFamilySubsets", +"properties": { +"qualifierPrefixes": { +"description": "Prefixes for qualifiers to be included in the AuthorizedView. Every qualifier starting with one of these prefixes is included in the AuthorizedView. To provide access to all qualifiers, include the empty string as a prefix (\"\").", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"qualifiers": { +"description": "Individual exact column qualifiers to be included in the AuthorizedView.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2AuthorizedViewSubsetView": { +"description": "Defines a simple AuthorizedView that is a subset of the underlying Table.", +"id": "GoogleBigtableAdminV2AuthorizedViewSubsetView", +"properties": { +"familySubsets": { +"additionalProperties": { +"$ref": "GoogleBigtableAdminV2AuthorizedViewFamilySubsets" +}, +"description": "Map from column family name to the columns in this family to be included in the AuthorizedView.", +"type": "object" +}, +"rowPrefixes": { +"description": "Row prefixes to be included in the AuthorizedView. To provide access to all rows, include the empty string as a prefix (\"\").", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2MaterializedViewClusterState": { +"description": "The state of a materialized view's data in a particular cluster.", +"id": "GoogleBigtableAdminV2MaterializedViewClusterState", +"properties": { +"replicationState": { +"description": "Output only. The state of the materialized view in this cluster.", +"enum": [ +"STATE_NOT_KNOWN", +"INITIALIZING", +"READY" +], +"enumDescriptions": [ +"The state of the materialized view is unknown in this cluster.", +"The cluster or view was recently created, and the materialized view must finish backfilling before it can begin serving Data API requests.", +"The materialized view can serve Data API requests from this cluster. Depending on materialization and replication delay, reads may not immediately reflect the state of the materialized view in other clusters." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeAggregate": { +"description": "A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes provide either the `input_type` or `state_type`, and reads always return the `state_type` .", +"id": "GoogleBigtableAdminV2TypeAggregate", +"properties": { +"hllppUniqueCount": { +"$ref": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount", +"description": "HyperLogLogPlusPlusUniqueCount aggregator." +}, +"inputType": { +"$ref": "Type", +"description": "Type of the inputs that are accumulated by this `Aggregate`. Use `AddInput` mutations to accumulate new inputs." +}, +"max": { +"$ref": "GoogleBigtableAdminV2TypeAggregateMax", +"description": "Max aggregator." +}, +"min": { +"$ref": "GoogleBigtableAdminV2TypeAggregateMin", +"description": "Min aggregator." +}, +"stateType": { +"$ref": "Type", +"description": "Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen.", +"readOnly": true +}, +"sum": { +"$ref": "GoogleBigtableAdminV2TypeAggregateSum", +"description": "Sum aggregator." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount": { +"description": "Computes an approximate unique count over the input values. When using raw data as input, be careful to use a consistent encoding. Otherwise the same value encoded differently could count more than once, or two distinct values could count as identical. Input: Any, or omit for Raw State: TBD Special state conversions: `Int64` (the unique count estimate)", +"id": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeAggregateMax": { +"description": "Computes the max of the input values. Allowed input: `Int64` State: same as input", +"id": "GoogleBigtableAdminV2TypeAggregateMax", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeAggregateMin": { +"description": "Computes the min of the input values. Allowed input: `Int64` State: same as input", +"id": "GoogleBigtableAdminV2TypeAggregateMin", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeAggregateSum": { +"description": "Computes the sum of the input values. Allowed input: `Int64` State: same as input", +"id": "GoogleBigtableAdminV2TypeAggregateSum", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeArray": { +"description": "An ordered list of elements of a given type. Values of type `Array` are stored in `Value.array_value`.", +"id": "GoogleBigtableAdminV2TypeArray", +"properties": { +"elementType": { +"$ref": "Type", +"description": "The type of the elements in the array. This must not be `Array`." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeBool": { +"description": "bool Values of type `Bool` are stored in `Value.bool_value`.", +"id": "GoogleBigtableAdminV2TypeBool", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeBytes": { +"description": "Bytes Values of type `Bytes` are stored in `Value.bytes_value`.", +"id": "GoogleBigtableAdminV2TypeBytes", +"properties": { +"encoding": { +"$ref": "GoogleBigtableAdminV2TypeBytesEncoding", +"description": "The encoding to use when converting to or from lower level types." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeBytesEncoding": { +"description": "Rules used to convert to or from lower level types.", +"id": "GoogleBigtableAdminV2TypeBytesEncoding", +"properties": { +"raw": { +"$ref": "GoogleBigtableAdminV2TypeBytesEncodingRaw", +"description": "Use `Raw` encoding." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeBytesEncodingRaw": { +"description": "Leaves the value as-is. Sorted mode: all values are supported. Distinct mode: all values are supported.", +"id": "GoogleBigtableAdminV2TypeBytesEncodingRaw", +"properties": { +"escapeNulls": { +"description": "If set, allows NULL values to be encoded as the empty string \"\". The actual empty string, or any value which only contains the null byte `0x00`, has one more null byte appended.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeDate": { +"description": "Date Values of type `Date` are stored in `Value.date_value`.", +"id": "GoogleBigtableAdminV2TypeDate", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeEnum": { +"description": "A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`.", +"id": "GoogleBigtableAdminV2TypeEnum", +"properties": { +"enumName": { +"description": "The fully qualified name of the protobuf enum message, including package. In the format of \"foo.bar.EnumMessage\".", +"type": "string" +}, +"schemaBundleId": { +"description": "The ID of the schema bundle that this enum is defined in.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeFloat32": { +"description": "Float32 Values of type `Float32` are stored in `Value.float_value`.", +"id": "GoogleBigtableAdminV2TypeFloat32", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeFloat64": { +"description": "Float64 Values of type `Float64` are stored in `Value.float_value`.", +"id": "GoogleBigtableAdminV2TypeFloat64", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeGeography": { +"description": "A geography type, representing a point or region on Earth. The value is stored in `Value.bytes_value` as Well-Known Binary (WKB) bytes.", +"id": "GoogleBigtableAdminV2TypeGeography", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeInt64": { +"description": "Int64 Values of type `Int64` are stored in `Value.int_value`.", +"id": "GoogleBigtableAdminV2TypeInt64", +"properties": { +"encoding": { +"$ref": "GoogleBigtableAdminV2TypeInt64Encoding", +"description": "The encoding to use when converting to or from lower level types." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeInt64Encoding": { +"description": "Rules used to convert to or from lower level types.", +"id": "GoogleBigtableAdminV2TypeInt64Encoding", +"properties": { +"bigEndianBytes": { +"$ref": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes", +"description": "Use `BigEndianBytes` encoding." +}, +"orderedCodeBytes": { +"$ref": "GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes", +"description": "Use `OrderedCodeBytes` encoding." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes": { +"description": "Encodes the value as an 8-byte big-endian two's complement value. Sorted mode: non-negative values are supported. Distinct mode: all values are supported. Compatible with: - BigQuery `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`", +"id": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes", +"properties": { +"bytesType": { +"$ref": "GoogleBigtableAdminV2TypeBytes", +"deprecated": true, +"description": "Deprecated: ignored if set." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes": { +"description": "Encodes the value in a variable length binary format of up to 10 bytes. Values that are closer to zero use fewer bytes. Sorted mode: all values are supported. Distinct mode: all values are supported.", +"id": "GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeMap": { +"description": "A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence.", +"id": "GoogleBigtableAdminV2TypeMap", +"properties": { +"keyType": { +"$ref": "Type", +"description": "The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types." +}, +"valueType": { +"$ref": "Type", +"description": "The type of the values in a map." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeProto": { +"description": "A protobuf message type. Values of type `Proto` are stored in `Value.bytes_value`.", +"id": "GoogleBigtableAdminV2TypeProto", +"properties": { +"messageName": { +"description": "The fully qualified name of the protobuf message, including package. In the format of \"foo.bar.Message\".", +"type": "string" +}, +"schemaBundleId": { +"description": "The ID of the schema bundle that this proto is defined in.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeString": { +"description": "String Values of type `String` are stored in `Value.string_value`.", +"id": "GoogleBigtableAdminV2TypeString", +"properties": { +"encoding": { +"$ref": "GoogleBigtableAdminV2TypeStringEncoding", +"description": "The encoding to use when converting to or from lower level types." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStringEncoding": { +"description": "Rules used to convert to or from lower level types.", +"id": "GoogleBigtableAdminV2TypeStringEncoding", +"properties": { +"utf8Bytes": { +"$ref": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes", +"description": "Use `Utf8Bytes` encoding." +}, +"utf8Raw": { +"$ref": "GoogleBigtableAdminV2TypeStringEncodingUtf8Raw", +"deprecated": true, +"description": "Deprecated: if set, converts to an empty `utf8_bytes`." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes": { +"description": "UTF-8 encoding. Sorted mode: - All values are supported. - Code point order is preserved. Distinct mode: all values are supported. Compatible with: - BigQuery `TEXT` encoding - HBase `Bytes.toBytes` - Java `String#getBytes(StandardCharsets.UTF_8)`", +"id": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes", +"properties": { +"nullEscapeChar": { +"description": "Single-character escape sequence used to support NULL values. If set, allows NULL values to be encoded as the empty string \"\". The actual empty string, or any value where every character equals `null_escape_char`, has one more `null_escape_char` appended. If `null_escape_char` is set and does not equal the ASCII null character `0x00`, then the encoding will not support sorted mode. .", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStringEncodingUtf8Raw": { +"deprecated": true, +"description": "Deprecated: prefer the equivalent `Utf8Bytes`.", +"id": "GoogleBigtableAdminV2TypeStringEncodingUtf8Raw", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStruct": { +"description": "A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`.", +"id": "GoogleBigtableAdminV2TypeStruct", +"properties": { +"encoding": { +"$ref": "GoogleBigtableAdminV2TypeStructEncoding", +"description": "The encoding to use when converting to or from lower level types." +}, +"fields": { +"description": "The names and types of the fields in this struct.", +"items": { +"$ref": "GoogleBigtableAdminV2TypeStructField" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStructEncoding": { +"description": "Rules used to convert to or from lower level types.", +"id": "GoogleBigtableAdminV2TypeStructEncoding", +"properties": { +"delimitedBytes": { +"$ref": "GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes", +"description": "Use `DelimitedBytes` encoding." +}, +"orderedCodeBytes": { +"$ref": "GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes", +"description": "User `OrderedCodeBytes` encoding." +}, +"singleton": { +"$ref": "GoogleBigtableAdminV2TypeStructEncodingSingleton", +"description": "Use `Singleton` encoding." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes": { +"description": "Fields are encoded independently and concatenated with a configurable `delimiter` in between. A struct with no fields defined is encoded as a single `delimiter`. Sorted mode: - Fields are encoded in sorted mode. - Encoded field values must not contain any bytes <= `delimiter[0]` - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. - This encoding does not support `DESC` field ordering. Distinct mode: - Fields are encoded in distinct mode. - Encoded field values must not contain `delimiter[0]`.", +"id": "GoogleBigtableAdminV2TypeStructEncodingDelimitedBytes", +"properties": { +"delimiter": { +"description": "Byte sequence used to delimit concatenated fields. The delimiter must contain at least 1 character and at most 50 characters.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes": { +"description": "Fields are encoded independently, then escaped and delimited by appling the following rules in order: - While the last remaining field is `ASC` or `UNSPECIFIED`, and encodes to the empty string \"\", remove it. - In each remaining field, replace all null bytes `0x00` with the fixed byte pair `{0x00, 0xFF}`. - If any remaining field encodes to the empty string \"\", replace it with the fixed byte pair `{0x00, 0x00}`. - Append the fixed byte pair `{0x00, 0x01}` to each remaining field, except for the last remaining field if it is `ASC`. - Bitwise negate all `DESC` fields. - Concatenate the results, or emit the fixed byte pair `{0x00, 0x00}` if there are no remaining fields to concatenate. Examples: ``` - STRUCT() -> \"\\00\\00\" - STRUCT(\"\") -> \"\\00\\00\" - STRUCT(\"\", \"\") -> \"\\00\\00\" - STRUCT(\"\", \"B\") -> \"\\00\\00\" + \"\\00\\01\" + \"B\" - STRUCT(\"A\", \"\") -> \"A\" - STRUCT(\"\", \"B\", \"\") -> \"\\00\\00\" + \"\\00\\01\" + \"B\" - STRUCT(\"A\", \"\", \"C\") -> \"A\" + \"\\00\\01\" + \"\\00\\00\" + \"\\00\\01\" + \"C\" ``` Examples for struct with `DESC` fields: ``` - STRUCT(\"\" DESC) -> \"\\xFF\\xFF\" + \"\\xFF\\xFE\" - STRUCT(\"\" DESC, \"\") -> \"\\xFF\\xFF\" + \"\\xFF\\xFE\" - STRUCT(\"\" DESC, \"\", \"\") -> \"\\xFF\\xFF\" + \"\\xFF\\xFE\" - STRUCT(\"\" DESC, \"A\") -> \"\\xFF\\xFF\" + \"\\xFF\\xFE\" + \"A\" - STRUCT(\"A\", \"\" DESC, \"\") -> \"A\" + \"\\00\\01\" + \"\\xFF\\xFF\" + \"\\xFF\\xFE\" - STRUCT(\"\", \"A\" DESC) -> \"\\x00\\x00\" + \"\\x00\\x01\" + \"\\xBE\" + \"\\xFF\\xFE\" ``` Since null bytes are always escaped, this encoding can cause size blowup for encodings like `Int64.BigEndianBytes` that are likely to produce many such bytes. Sorted mode: - Fields are encoded in sorted mode. - All values supported by the field encodings are allowed. - Fields with unset or `UNSPECIFIED` order are treated as `ASC`. - Element-wise order is preserved: `A < B` if `A[0] < B[0]`, or if `A[0] == B[0] && A[1] < B[1]`, etc. Strict prefixes sort first. Distinct mode: - Fields are encoded in distinct mode. - All values supported by the field encodings are allowed.", +"id": "GoogleBigtableAdminV2TypeStructEncodingOrderedCodeBytes", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStructEncodingSingleton": { +"description": "Uses the encoding of `fields[0].type` as-is. Only valid if `fields.size == 1`. This encoding does not support `DESC` field ordering.", +"id": "GoogleBigtableAdminV2TypeStructEncodingSingleton", +"properties": {}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeStructField": { +"description": "A struct field and its type.", +"id": "GoogleBigtableAdminV2TypeStructField", +"properties": { +"fieldName": { +"description": "The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name.", +"type": "string" +}, +"type": { +"$ref": "Type", +"description": "The type of values in this field." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeTimestamp": { +"description": "Timestamp Values of type `Timestamp` are stored in `Value.timestamp_value`.", +"id": "GoogleBigtableAdminV2TypeTimestamp", +"properties": { +"encoding": { +"$ref": "GoogleBigtableAdminV2TypeTimestampEncoding", +"description": "The encoding to use when converting to or from lower level types." +} +}, +"type": "object" +}, +"GoogleBigtableAdminV2TypeTimestampEncoding": { +"description": "Rules used to convert to or from lower level types.", +"id": "GoogleBigtableAdminV2TypeTimestampEncoding", +"properties": { +"unixMicrosInt64": { +"$ref": "GoogleBigtableAdminV2TypeInt64Encoding", +"description": "Encodes the number of microseconds since the Unix epoch using the given `Int64` encoding. Values must be microsecond-aligned. Compatible with: - Java `Instant.truncatedTo()` with `ChronoUnit.MICROS`" +} +}, +"type": "object" +}, +"HotTablet": { +"description": "A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.", +"id": "HotTablet", +"properties": { +"endKey": { +"description": "Tablet End Key (inclusive).", +"type": "string" +}, +"endTime": { +"description": "Output only. The end time of the hot tablet.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The unique name of the hot tablet. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.", +"type": "string" +}, +"nodeCpuUsagePercent": { +"description": "Output only. The average CPU usage spent by a node on this tablet over the start_time to end_time time range. The percentage is the amount of CPU used by the node to serve the tablet, from 0% (tablet was not interacted with) to 100% (the node spent all cycles serving the hot tablet).", +"format": "float", +"readOnly": true, +"type": "number" +}, +"startKey": { +"description": "Tablet Start Key (inclusive).", +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of the hot tablet.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"tableName": { +"description": "Name of the table that contains the tablet. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`.", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance.", +"id": "Instance", +"properties": { +"createTime": { +"description": "Output only. A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics. * Label keys must be between 1 and 63 characters long and must conform to the regular expression: `\\p{Ll}\\p{Lo}{0,62}`. * Label values must be between 0 and 63 characters long and must conform to the regular expression: `[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}`. * No more than 64 labels can be associated with a given resource. * Keys and values must both be under 128 bytes.", +"type": "object" +}, +"name": { +"description": "The unique name of the instance. Values are of the form `projects/{project}/instances/a-z+[a-z0-9]`.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the instance.", +"enum": [ +"STATE_NOT_KNOWN", +"READY", +"CREATING" +], +"enumDescriptions": [ +"The state of the instance could not be determined.", +"The instance has been successfully created and can serve requests to its tables.", +"The instance is currently being created, and may be destroyed if the creation process encounters an error." +], +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: - \"123/environment\": \"production\", - \"123/costCenter\": \"marketing\" Tags and Labels (above) are both used to bind metadata to resources, with different use-cases. See https://cloud.google.com/resource-manager/docs/tags/tags-overview for an in-depth overview on the difference between tags and labels.", +"type": "object" +}, +"type": { +"description": "The type of the instance. Defaults to `PRODUCTION`.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRODUCTION", +"DEVELOPMENT" +], +"enumDescriptions": [ +"The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.", +"An instance meant for production use. `serve_nodes` must be set on the cluster.", +"DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT." +], +"type": "string" +} +}, +"type": "object" +}, +"Intersection": { +"description": "A GcRule which deletes cells matching all of the given rules.", +"id": "Intersection", +"properties": { +"rules": { +"description": "Only delete cells which would be deleted by every element of `rules`.", +"items": { +"$ref": "GcRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAppProfilesResponse": { +"description": "Response message for BigtableInstanceAdmin.ListAppProfiles.", +"id": "ListAppProfilesResponse", +"properties": { +"appProfiles": { +"description": "The list of requested app profiles.", +"items": { +"$ref": "AppProfile" +}, +"type": "array" +}, +"failedLocations": { +"description": "Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from `app_profiles`. Values are of the form `projects//locations/`", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Set if not all app profiles could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAuthorizedViewsResponse": { +"description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews", +"id": "ListAuthorizedViewsResponse", +"properties": { +"authorizedViews": { +"description": "The AuthorizedViews present in the requested table.", +"items": { +"$ref": "AuthorizedView" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Set if not all tables could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "The response for ListBackups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The list of matching backups.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "`next_page_token` can be sent in a subsequent ListBackups call to fetch more of the matching backups.", +"type": "string" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "Response message for BigtableInstanceAdmin.ListClusters.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "The list of requested clusters.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"failedLocations": { +"description": "Locations from which Cluster information could not be retrieved, due to an outage or some other transient condition. Clusters from these locations may be missing from `clusters`, or may only have partial information returned. Values are of the form `projects//locations/`", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"deprecated": true, +"description": "DEPRECATED: This field is unused and ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ListHotTabletsResponse": { +"description": "Response message for BigtableInstanceAdmin.ListHotTablets.", +"id": "ListHotTabletsResponse", +"properties": { +"hotTablets": { +"description": "List of hot tablets in the tables of the requested cluster that fall within the requested time range. Hot tablets are ordered by node cpu usage percent. If there are multiple hot tablets that correspond to the same tablet within a 15-minute interval, only the hot tablet with the highest node cpu usage will be included in the response.", +"items": { +"$ref": "HotTablet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Set if not all hot tablets could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response message for BigtableInstanceAdmin.ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"failedLocations": { +"description": "Locations from which Instance information could not be retrieved, due to an outage or some other transient condition. Instances whose Clusters are all in one of the failed locations may be missing from `instances`, and Instances with at least one Cluster in a failed location may only have partial information returned. Values are of the form `projects//locations/`", +"items": { +"type": "string" +}, +"type": "array" +}, +"instances": { +"description": "The list of requested instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"deprecated": true, +"description": "DEPRECATED: This field is unused and ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListLogicalViewsResponse": { +"description": "Response message for BigtableInstanceAdmin.ListLogicalViews.", +"id": "ListLogicalViewsResponse", +"properties": { +"logicalViews": { +"description": "The list of requested logical views.", +"items": { +"$ref": "LogicalView" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListMaterializedViewsResponse": { +"description": "Response message for BigtableInstanceAdmin.ListMaterializedViews.", +"id": "ListMaterializedViewsResponse", +"properties": { +"materializedViews": { +"description": "The list of requested materialized views.", +"items": { +"$ref": "MaterializedView" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchemaBundlesResponse": { +"description": "The response for ListSchemaBundles.", +"id": "ListSchemaBundlesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"schemaBundles": { +"description": "The schema bundles from the specified table.", +"items": { +"$ref": "SchemaBundle" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTablesResponse": { +"description": "Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables", +"id": "ListTablesResponse", +"properties": { +"nextPageToken": { +"description": "Set if not all tables could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.", +"type": "string" +}, +"tables": { +"description": "The tables present in the requested instance.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LogicalView": { +"description": "A SQL logical view object that can be referenced in SQL queries.", +"id": "LogicalView", +"properties": { +"deletionProtection": { +"description": "Optional. Set to true to make the LogicalView protected against deletion.", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.", +"type": "string" +}, +"name": { +"description": "Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`", +"type": "string" +}, +"query": { +"description": "Required. The logical view's select query.", +"type": "string" +} +}, +"type": "object" +}, +"MaterializedView": { +"description": "A materialized view object that can be referenced in SQL queries.", +"id": "MaterializedView", +"properties": { +"clusterStates": { +"additionalProperties": { +"$ref": "GoogleBigtableAdminV2MaterializedViewClusterState" +}, +"description": "Output only. Map from cluster ID to per-cluster materialized view state. If it could not be determined whether or not the materialized view has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with `STATE_NOT_KNOWN` state. Views: `REPLICATION_VIEW`, `FULL`.", +"readOnly": true, +"type": "object" +}, +"deletionProtection": { +"description": "Set to true to make the MaterializedView protected against deletion. Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`.", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag for this materialized view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag. Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`.", +"type": "string" +}, +"name": { +"description": "Identifier. The unique name of the materialized view. Format: `projects/{project}/instances/{instance}/materializedViews/{materialized_view}` Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`.", +"type": "string" +}, +"query": { +"description": "Required. Immutable. The materialized view's select query. Views: `SCHEMA_VIEW`, `FULL`.", +"type": "string" +} +}, +"type": "object" +}, +"Modification": { +"description": "A create, update, or delete of a particular column family.", +"id": "Modification", +"properties": { +"create": { +"$ref": "ColumnFamily", +"description": "Create a new column family with the specified schema, or fail if one already exists with the given ID." +}, +"drop": { +"description": "Drop (delete) the column family with the given ID, or fail if no such family exists.", +"type": "boolean" +}, +"id": { +"description": "The ID of the column family to be modified.", +"type": "string" +}, +"update": { +"$ref": "ColumnFamily", +"description": "Update an existing column family to the specified schema, or fail if no column family exists with the given ID." +}, +"updateMask": { +"description": "Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod should be updated, ignored for other modification types. If unset or empty, we treat it as updating `gc_rule` to be backward compatible.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ModifyColumnFamiliesRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies", +"id": "ModifyColumnFamiliesRequest", +"properties": { +"ignoreWarnings": { +"description": "Optional. If true, ignore safety checks when modifying the column families.", +"type": "boolean" +}, +"modifications": { +"description": "Required. Modifications to be atomically applied to the specified table's families. Entries are applied in order, meaning that earlier modifications can be masked by later ones (in the case of repeated updates to the same family, for example).", +"items": { +"$ref": "Modification" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultiClusterRoutingUseAny": { +"description": "Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.", +"id": "MultiClusterRoutingUseAny", +"properties": { +"clusterIds": { +"description": "The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rowAffinity": { +"$ref": "RowAffinity", +"description": "Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationProgress": { +"description": "Encapsulates progress related information for a Cloud Bigtable long running operation.", +"id": "OperationProgress", +"properties": { +"endTime": { +"description": "If set, the time at which this operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"progressPercent": { +"description": "Percent completion of the operation. Values are between 0 and 100 inclusive.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OptimizeRestoredTableMetadata": { +"description": "Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.", +"id": "OptimizeRestoredTableMetadata", +"properties": { +"name": { +"description": "Name of the restored table being optimized.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the post-restore optimizations." +} +}, +"type": "object" +}, +"PartialUpdateClusterMetadata": { +"description": "The metadata for the Operation returned by PartialUpdateCluster.", +"id": "PartialUpdateClusterMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "PartialUpdateClusterRequest", +"description": "The original request for PartialUpdateCluster." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"PartialUpdateClusterRequest": { +"description": "Request message for BigtableInstanceAdmin.PartialUpdateCluster.", +"id": "PartialUpdateClusterRequest", +"properties": { +"cluster": { +"$ref": "Cluster", +"description": "Required. The Cluster which contains the partial updates to be applied, subject to the update_mask." +}, +"updateMask": { +"description": "Required. The subset of Cluster fields which should be replaced.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"PartialUpdateInstanceRequest": { +"description": "Request message for BigtableInstanceAdmin.PartialUpdateInstance.", +"id": "PartialUpdateInstanceRequest", +"properties": { +"instance": { +"$ref": "Instance", +"description": "Required. The Instance which will (partially) replace the current value." +}, +"updateMask": { +"description": "Required. The subset of Instance fields which should be replaced. Must be explicitly set.", +"format": "google-fieldmask", +"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" +}, +"ProtoSchema": { +"description": "Represents a protobuf schema.", +"id": "ProtoSchema", +"properties": { +"protoDescriptors": { +"description": "Required. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto), which could include multiple proto files. To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with `--include_imports` and `--descriptor_set_out`. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.pb \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RestoreInfo": { +"description": "Information about a table restore.", +"id": "RestoreInfo", +"properties": { +"backupInfo": { +"$ref": "BackupInfo", +"description": "Information about the backup used to restore the table. The backup may no longer exist." +}, +"sourceType": { +"description": "The type of the restore source.", +"enum": [ +"RESTORE_SOURCE_TYPE_UNSPECIFIED", +"BACKUP" +], +"enumDescriptions": [ +"No restore associated.", +"A backup was used as the source of the restore." +], +"type": "string" +} +}, +"type": "object" +}, +"RestoreTableMetadata": { +"description": "Metadata type for the long-running operation returned by RestoreTable.", +"id": "RestoreTableMetadata", +"properties": { +"backupInfo": { +"$ref": "BackupInfo" +}, +"name": { +"description": "Name of the table being created and restored to.", +"type": "string" +}, +"optimizeTableOperationName": { +"description": "If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is OptimizeRestoredTableMetadata. The response type is Empty. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.", +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "The progress of the RestoreTable operation." +}, +"sourceType": { +"description": "The type of the restore source.", +"enum": [ +"RESTORE_SOURCE_TYPE_UNSPECIFIED", +"BACKUP" +], +"enumDescriptions": [ +"No restore associated.", +"A backup was used as the source of the restore." +], +"type": "string" +} +}, +"type": "object" +}, +"RestoreTableRequest": { +"description": "The request for RestoreTable.", +"id": "RestoreTableRequest", +"properties": { +"backup": { +"description": "Name of the backup from which to restore. Values are of the form `projects//instances//clusters//backups/`.", +"type": "string" +}, +"tableId": { +"description": "Required. The id of the table to create and restore to. This table must not already exist. The `table_id` appended to `parent` forms the full table name of the form `projects//instances//tables/`.", +"type": "string" +} +}, +"type": "object" +}, +"RowAffinity": { +"description": "If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group.", +"id": "RowAffinity", +"properties": {}, +"type": "object" +}, +"SchemaBundle": { +"description": "A named collection of related schemas.", +"id": "SchemaBundle", +"properties": { +"etag": { +"description": "Optional. The etag for this schema bundle. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.", +"type": "string" +}, +"name": { +"description": "Identifier. The unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"type": "string" +}, +"protoSchema": { +"$ref": "ProtoSchema", +"description": "Schema for Protobufs." +} +}, +"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" +}, +"SingleClusterRouting": { +"description": "Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.", +"id": "SingleClusterRouting", +"properties": { +"allowTransactionalWrites": { +"description": "Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.", +"type": "boolean" +}, +"clusterId": { +"description": "The cluster to which read/write requests should be routed.", +"type": "string" +} +}, +"type": "object" +}, +"Split": { +"description": "An initial split point for a newly created table.", +"id": "Split", +"properties": { +"key": { +"description": "Row key to use as an initial tablet boundary.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"StandardIsolation": { +"description": "Standard options for isolating this app profile's traffic from other use cases.", +"id": "StandardIsolation", +"properties": { +"priority": { +"description": "The priority of requests sent using this app profile.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"PRIORITY_LOW", +"PRIORITY_MEDIUM", +"PRIORITY_HIGH" +], +"enumDescriptions": [ +"Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"StandardReadRemoteWrites": { +"description": "Checks that all writes before the consistency token was generated are replicated in every cluster and readable.", +"id": "StandardReadRemoteWrites", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Table": { +"description": "A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.", +"id": "Table", +"properties": { +"automatedBackupPolicy": { +"$ref": "AutomatedBackupPolicy", +"description": "If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled." +}, +"changeStreamConfig": { +"$ref": "ChangeStreamConfig", +"description": "If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained." +}, +"clusterStates": { +"additionalProperties": { +"$ref": "ClusterState" +}, +"description": "Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`", +"readOnly": true, +"type": "object" +}, +"columnFamilies": { +"additionalProperties": { +"$ref": "ColumnFamily" +}, +"description": "The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`", +"type": "object" +}, +"deletionProtection": { +"description": "Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.", +"type": "boolean" +}, +"granularity": { +"description": "Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`.", +"enum": [ +"TIMESTAMP_GRANULARITY_UNSPECIFIED", +"MILLIS" +], +"enumDescriptions": [ +"The user did not specify a granularity. Should not be returned. When specified during table creation, MILLIS will be used.", +"The table keeps data versioned at a granularity of 1ms." +], +"type": "string" +}, +"name": { +"description": "The unique name of the table. Values are of the form `projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `STATS_VIEW`, `FULL`", +"type": "string" +}, +"restoreInfo": { +"$ref": "RestoreInfo", +"description": "Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.", +"readOnly": true +}, +"rowKeySchema": { +"$ref": "GoogleBigtableAdminV2TypeStruct", +"description": "The row key schema for this table. The schema is used to decode the raw row key bytes into a structured format. The order of field declarations in this schema is important, as it reflects how the raw row key bytes are structured. Currently, this only affects how the key is read via a GoogleSQL query from the ExecuteQuery API. For a SQL query, the _key column is still read as raw bytes. But queries can reference the key fields by name, which will be decoded from _key using provided type and encoding. Queries that reference key fields will fail if they encounter an invalid row key. For example, if _key = \"some_id#2024-04-30#\\x00\\x13\\x00\\xf3\" with the following schema: { fields { field_name: \"id\" type { string { encoding: utf8_bytes {} } } } fields { field_name: \"date\" type { string { encoding: utf8_bytes {} } } } fields { field_name: \"product_code\" type { int64 { encoding: big_endian_bytes {} } } } encoding { delimited_bytes { delimiter: \"#\" } } } The decoded key parts would be: id = \"some_id\", date = \"2024-04-30\", product_code = 1245427 The query \"SELECT _key, product_code FROM table\" will return two columns: /------------------------------------------------------\\ | _key | product_code | | --------------------------------------|--------------| | \"some_id#2024-04-30#\\x00\\x13\\x00\\xf3\" | 1245427 | \\------------------------------------------------------/ The schema has the following invariants: (1) The decoded field values are order-preserved. For read, the field values will be decoded in sorted mode from the raw bytes. (2) Every field in the schema must specify a non-empty name. (3) Every field must specify a type with an associated encoding. The type is limited to scalar types only: Array, Map, Aggregate, and Struct are not allowed. (4) The field names must not collide with existing column family names and reserved keywords \"_key\" and \"_timestamp\". The following update operations are allowed for row_key_schema: - Update from an empty schema to a new schema. - Remove the existing schema. This operation requires setting the `ignore_warnings` flag to `true`, since it might be a backward incompatible change. Without the flag, the update request will fail with an INVALID_ARGUMENT error. Any other row key schema update operation (e.g. update existing schema columns names or types) is currently unsupported." +}, +"stats": { +"$ref": "TableStats", +"description": "Output only. Only available with STATS_VIEW, this includes summary statistics about the entire table contents. For statistics about a specific column family, see ColumnFamilyStats in the mapped ColumnFamily collection above.", +"readOnly": true +}, +"tieredStorageConfig": { +"$ref": "TieredStorageConfig", +"description": "Rules to specify what data is stored in each storage tier. Different tiers store data differently, providing different trade-offs between cost and performance. Different parts of a table can be stored separately on different tiers. If a config is specified, tiered storage is enabled for this table. Otherwise, tiered storage is disabled. Only SSD instances can configure tiered storage." +} +}, +"type": "object" +}, +"TableProgress": { +"description": "Progress info for copying a table's data to the new cluster.", +"id": "TableProgress", +"properties": { +"estimatedCopiedBytes": { +"description": "Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.", +"format": "int64", +"type": "string" +}, +"estimatedSizeBytes": { +"description": "Estimate of the size of the table to be copied.", +"format": "int64", +"type": "string" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"COPYING", +"COMPLETED", +"CANCELLED" +], +"enumDescriptions": [ +"", +"The table has not yet begun copying to the new cluster.", +"The table is actively being copied to the new cluster.", +"The table has been fully copied to the new cluster.", +"The table was deleted before it finished copying to the new cluster. Note that tables deleted after completion will stay marked as COMPLETED, not CANCELLED." +], +"type": "string" +} +}, +"type": "object" +}, +"TableStats": { +"description": "Approximate statistics related to a table. These statistics are calculated infrequently, while simultaneously, data in the table can change rapidly. Thus the values reported here (e.g. row count) are very likely out-of date, even the instant they are received in this API. Thus, only treat these values as approximate. IMPORTANT: Everything below is approximate, unless otherwise specified.", +"id": "TableStats", +"properties": { +"averageCellsPerColumn": { +"description": "How many cells are present per column (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in \"family:col\" and 1 cell in \"other:col\" (4 cells / 2 columns) * A row with 1 cell in \"family:col\", 7 cells in \"family:other_col\", and 7 cells in \"other:data\" (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field.", +"format": "double", +"type": "number" +}, +"averageColumnsPerRow": { +"description": "How many (column family, column qualifier) combinations are present per row in the table, averaged over all rows in the table. e.g. A table with 2 rows: * A row with cells in \"family:col\" and \"other:col\" (2 distinct columns) * A row with cells in \"family:col\", \"family:other_col\", and \"other:data\" (3 distinct columns) would report (2 + 3)/2 = 2.5 in this field.", +"format": "double", +"type": "number" +}, +"logicalDataBytes": { +"description": "This is roughly how many bytes would be needed to read the entire table (e.g. by streaming all contents out).", +"format": "int64", +"type": "string" +}, +"rowCount": { +"description": "How many rows are in the table.", +"format": "int64", +"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" +}, +"TieredStorageConfig": { +"description": "Config for tiered storage. A valid config must have a valid TieredStorageRule. Otherwise the whole TieredStorageConfig must be unset. By default all data is stored in the SSD tier (only SSD instances can configure tiered storage).", +"id": "TieredStorageConfig", +"properties": { +"infrequentAccess": { +"$ref": "TieredStorageRule", +"description": "Rule to specify what data is stored in the infrequent access(IA) tier. The IA tier allows storing more data per node with reduced performance." +} +}, +"type": "object" +}, +"TieredStorageRule": { +"description": "Rule to specify what data is stored in a storage tier.", +"id": "TieredStorageRule", +"properties": { +"includeIfOlderThan": { +"description": "Include cells older than the given age. For the infrequent access tier, this value must be at least 30 days.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Type": { +"description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to or from the underlying data. Each encoding can operate in one of two modes: - Sorted: In this mode, Bigtable guarantees that `Encode(X) <= Encode(Y)` if and only if `X <= Y`. This is useful anywhere sort order is important, for example when encoding keys. - Distinct: In this mode, Bigtable guarantees that if `X != Y` then `Encode(X) != Encode(Y)`. However, the converse is not guaranteed. For example, both `{'foo': '1', 'bar': '2'}` and `{'bar': '2', 'foo': '1'}` are valid encodings of the same JSON value. The API clearly documents which mode is used wherever an encoding can be configured. Each encoding also documents which values are supported in which modes. For example, when encoding INT64 as a numeric STRING, negative numbers cannot be encoded in sorted mode. This is because `INT64(1) > INT64(-1)`, but `STRING(\"-00001\") > STRING(\"00001\")`.", +"id": "Type", +"properties": { +"aggregateType": { +"$ref": "GoogleBigtableAdminV2TypeAggregate", +"description": "Aggregate" +}, +"arrayType": { +"$ref": "GoogleBigtableAdminV2TypeArray", +"description": "Array" +}, +"boolType": { +"$ref": "GoogleBigtableAdminV2TypeBool", +"description": "Bool" +}, +"bytesType": { +"$ref": "GoogleBigtableAdminV2TypeBytes", +"description": "Bytes" +}, +"dateType": { +"$ref": "GoogleBigtableAdminV2TypeDate", +"description": "Date" +}, +"enumType": { +"$ref": "GoogleBigtableAdminV2TypeEnum", +"description": "Enum" +}, +"float32Type": { +"$ref": "GoogleBigtableAdminV2TypeFloat32", +"description": "Float32" +}, +"float64Type": { +"$ref": "GoogleBigtableAdminV2TypeFloat64", +"description": "Float64" +}, +"geographyType": { +"$ref": "GoogleBigtableAdminV2TypeGeography", +"description": "Geography" +}, +"int64Type": { +"$ref": "GoogleBigtableAdminV2TypeInt64", +"description": "Int64" +}, +"mapType": { +"$ref": "GoogleBigtableAdminV2TypeMap", +"description": "Map" +}, +"protoType": { +"$ref": "GoogleBigtableAdminV2TypeProto", +"description": "Proto" +}, +"stringType": { +"$ref": "GoogleBigtableAdminV2TypeString", +"description": "String" +}, +"structType": { +"$ref": "GoogleBigtableAdminV2TypeStruct", +"description": "Struct" +}, +"timestampType": { +"$ref": "GoogleBigtableAdminV2TypeTimestamp", +"description": "Timestamp" +} +}, +"type": "object" +}, +"UndeleteTableMetadata": { +"description": "Metadata type for the operation returned by google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable.", +"id": "UndeleteTableMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "If set, the time at which this operation finished or was cancelled. DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name of the table being restored.", +"type": "string" +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "The time at which this operation started. DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UndeleteTableRequest": { +"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable", +"id": "UndeleteTableRequest", +"properties": {}, +"type": "object" +}, +"Union": { +"description": "A GcRule which deletes cells matching any of the given rules.", +"id": "Union", +"properties": { +"rules": { +"description": "Delete cells which would be deleted by any element of `rules`.", +"items": { +"$ref": "GcRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateAppProfileMetadata": { +"description": "The metadata for the Operation returned by UpdateAppProfile.", +"id": "UpdateAppProfileMetadata", +"properties": {}, +"type": "object" +}, +"UpdateAuthorizedViewMetadata": { +"description": "Metadata for the google.longrunning.Operation returned by UpdateAuthorizedView.", +"id": "UpdateAuthorizedViewMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "UpdateAuthorizedViewRequest", +"description": "The request that prompted the initiation of this UpdateAuthorizedView operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateAuthorizedViewRequest": { +"description": "The request for UpdateAuthorizedView.", +"id": "UpdateAuthorizedViewRequest", +"properties": { +"authorizedView": { +"$ref": "AuthorizedView", +"description": "Required. The AuthorizedView to update. The `name` in `authorized_view` is used to identify the AuthorizedView. AuthorizedView name must in this format: `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`." +}, +"ignoreWarnings": { +"description": "Optional. If true, ignore the safety checks when updating the AuthorizedView.", +"type": "boolean" +}, +"updateMask": { +"description": "Optional. The list of fields to update. A mask specifying which fields in the AuthorizedView resource should be updated. This mask is relative to the AuthorizedView resource, not to the request message. A field will be overwritten if it is in the mask. If empty, all fields set in the request will be overwritten. A special value `*` means to overwrite all fields (including fields not set in the request).", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateClusterMetadata": { +"description": "The metadata for the Operation returned by UpdateCluster.", +"id": "UpdateClusterMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "Cluster", +"description": "The request that prompted the initiation of this UpdateCluster operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInstanceMetadata": { +"description": "The metadata for the Operation returned by UpdateInstance.", +"id": "UpdateInstanceMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "PartialUpdateInstanceRequest", +"description": "The request that prompted the initiation of this UpdateInstance operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateLogicalViewMetadata": { +"description": "The metadata for the Operation returned by UpdateLogicalView.", +"id": "UpdateLogicalViewMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"originalRequest": { +"$ref": "UpdateLogicalViewRequest", +"description": "The request that prompted the initiation of this UpdateLogicalView operation." +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateLogicalViewRequest": { +"description": "Request message for BigtableInstanceAdmin.UpdateLogicalView.", +"id": "UpdateLogicalViewRequest", +"properties": { +"logicalView": { +"$ref": "LogicalView", +"description": "Required. The logical view to update. The logical view's `name` field is used to identify the view to update. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`." +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"UpdateSchemaBundleMetadata": { +"description": "The metadata for the Operation returned by UpdateSchemaBundle.", +"id": "UpdateSchemaBundleMetadata", +"properties": { +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The unique name identifying this schema bundle. Values are of the form `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`", +"type": "string" +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateTableMetadata": { +"description": "Metadata type for the operation returned by UpdateTable.", +"id": "UpdateTableMetadata", +"properties": { +"endTime": { +"deprecated": true, +"description": "If set, the time at which this operation finished or was canceled. DEPRECATED: Use finish_time instead.", +"format": "google-datetime", +"type": "string" +}, +"finishTime": { +"description": "The time at which the operation failed or was completed successfully.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The name of the table being updated.", +"type": "string" +}, +"requestTime": { +"description": "The time at which the original request was received.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"deprecated": true, +"description": "The time at which this operation started. DEPRECATED: Use request_time instead.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Bigtable Admin API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..fe7daf045ba9174f0e5b2caa5ef901c727bbc0dd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json @@ -0,0 +1,1003 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://blockchainnodeengine.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Blockchain Node Engine", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/blockchain-node-engine", +"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": "blockchainnodeengine:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://blockchainnodeengine.mtls.googleapis.com/", +"name": "blockchainnodeengine", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"blockchainNodes": { +"methods": { +"create": { +"description": "Creates a new blockchain node in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes", +"httpMethod": "POST", +"id": "blockchainnodeengine.projects.locations.blockchainNodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"blockchainNodeId": { +"description": "Required. ID of the requesting object.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/blockchainNodes", +"request": { +"$ref": "BlockchainNode" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single blockchain node.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes/{blockchainNodesId}", +"httpMethod": "DELETE", +"id": "blockchainnodeengine.projects.locations.blockchainNodes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the blockchain node to delete. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/blockchainNodes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single blockchain node.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes/{blockchainNodesId}", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.blockchainNodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the blockchain node to fetch. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/blockchainNodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BlockchainNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists blockchain nodes in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.blockchainNodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Hint for how to order the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "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": "A token identifying a page of results the server should return.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for `ListNodesRequest`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/blockchainNodes", +"response": { +"$ref": "ListBlockchainNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single blockchain node.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/blockchainNodes/{blockchainNodesId}", +"httpMethod": "PATCH", +"id": "blockchainnodeengine.projects.locations.blockchainNodes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The fully qualified name of the blockchain node. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/blockchainNodes/[^/]+$", +"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": "Required. Field mask is used to specify the fields to be overwritten in the Blockchain node resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BlockchainNode" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "blockchainnodeengine.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "blockchainnodeengine.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "blockchainnodeengine.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20250416", +"rootUrl": "https://blockchainnodeengine.googleapis.com/", +"schemas": { +"BlockchainNode": { +"description": "A representation of a blockchain node.", +"id": "BlockchainNode", +"properties": { +"blockchainType": { +"description": "Immutable. The blockchain type of the node.", +"enum": [ +"BLOCKCHAIN_TYPE_UNSPECIFIED", +"ETHEREUM" +], +"enumDescriptions": [ +"Blockchain type has not been specified, but should be.", +"The blockchain type is Ethereum." +], +"type": "string" +}, +"connectionInfo": { +"$ref": "ConnectionInfo", +"description": "Output only. The connection information used to interact with a blockchain node.", +"readOnly": true +}, +"createTime": { +"description": "Output only. The timestamp at which the blockchain node was first created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ethereumDetails": { +"$ref": "EthereumDetails", +"description": "Ethereum-specific blockchain node details." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-provided key-value pairs.", +"type": "object" +}, +"name": { +"description": "Output only. The fully qualified name of the blockchain node. e.g. `projects/my-project/locations/us-central1/blockchainNodes/my-node`.", +"readOnly": true, +"type": "string" +}, +"privateServiceConnectEnabled": { +"deprecated": true, +"description": "Optional. When true, the node is only accessible via Private Service Connect; no public endpoints are exposed. Otherwise, the node is only accessible via public endpoints. Warning: These nodes are deprecated, please use public endpoints instead.", +"type": "boolean" +}, +"state": { +"description": "Output only. A status representing the state of the node.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"RUNNING", +"ERROR", +"UPDATING", +"REPAIRING", +"RECONCILING", +"SYNCING" +], +"enumDescriptions": [ +"The state has not been specified.", +"The node has been requested and is in the process of being created.", +"The existing node is undergoing deletion, but is not yet finished.", +"The node is running and ready for use.", +"The node is in an unexpected or errored state.", +"The node is currently being updated.", +"The node is currently being repaired.", +"The node is currently being reconciled.", +"The node is syncing, which is the process by which it obtains the latest block and current global state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which the blockchain node was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ConnectionInfo": { +"description": "The connection information through which to interact with a blockchain node.", +"id": "ConnectionInfo", +"properties": { +"endpointInfo": { +"$ref": "EndpointInfo", +"description": "Output only. The endpoint information through which to interact with a blockchain node.", +"readOnly": true +}, +"serviceAttachment": { +"description": "Output only. A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EndpointInfo": { +"description": "Contains endpoint information through which to interact with a blockchain node.", +"id": "EndpointInfo", +"properties": { +"jsonRpcApiEndpoint": { +"description": "Output only. The assigned URL for the node JSON-RPC API endpoint.", +"readOnly": true, +"type": "string" +}, +"websocketsApiEndpoint": { +"description": "Output only. The assigned URL for the node WebSockets API endpoint.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EthereumDetails": { +"description": "Ethereum-specific blockchain node details.", +"id": "EthereumDetails", +"properties": { +"additionalEndpoints": { +"$ref": "EthereumEndpoints", +"description": "Output only. Ethereum-specific endpoint information.", +"readOnly": true +}, +"apiEnableAdmin": { +"description": "Immutable. Enables JSON-RPC access to functions in the `admin` namespace. Defaults to `false`.", +"type": "boolean" +}, +"apiEnableDebug": { +"description": "Immutable. Enables JSON-RPC access to functions in the `debug` namespace. Defaults to `false`.", +"type": "boolean" +}, +"consensusClient": { +"description": "Immutable. The consensus client.", +"enum": [ +"CONSENSUS_CLIENT_UNSPECIFIED", +"LIGHTHOUSE", +"ERIGON_EMBEDDED_CONSENSUS_LAYER" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"Consensus client has not been specified, but should be.", +"Consensus client implementation written in Rust, maintained by Sigma Prime. See [Lighthouse - Sigma Prime](https://lighthouse.sigmaprime.io/) for details.", +"Erigon's embedded consensus client embedded in the execution client. Note this option is not currently available when creating new blockchain nodes. See [Erigon on GitHub](https://github.com/ledgerwatch/erigon#embedded-consensus-layer) for details." +], +"type": "string" +}, +"executionClient": { +"description": "Immutable. The execution client", +"enum": [ +"EXECUTION_CLIENT_UNSPECIFIED", +"GETH", +"ERIGON" +], +"enumDescriptions": [ +"Execution client has not been specified, but should be.", +"Official Go implementation of the Ethereum protocol. See [go-ethereum](https://geth.ethereum.org/) for details.", +"An implementation of Ethereum (execution client), on the efficiency frontier, written in Go. See [Erigon on GitHub](https://github.com/ledgerwatch/erigon) for details." +], +"type": "string" +}, +"gethDetails": { +"$ref": "GethDetails", +"description": "Details for the Geth execution client." +}, +"network": { +"description": "Immutable. The Ethereum environment being accessed.", +"enum": [ +"NETWORK_UNSPECIFIED", +"MAINNET", +"TESTNET_GOERLI_PRATER", +"TESTNET_SEPOLIA", +"TESTNET_HOLESKY" +], +"enumDeprecated": [ +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"The network has not been specified, but should be.", +"The Ethereum Mainnet.", +"Deprecated: The Ethereum Testnet based on Goerli protocol. Please use another test network.", +"The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia.", +"The Ethereum Testnet based on Holesky specification. See https://github.com/eth-clients/holesky." +], +"type": "string" +}, +"nodeType": { +"description": "Immutable. The type of Ethereum node.", +"enum": [ +"NODE_TYPE_UNSPECIFIED", +"LIGHT", +"FULL", +"ARCHIVE" +], +"enumDescriptions": [ +"Node type has not been specified, but should be.", +"An Ethereum node that only downloads Ethereum block headers.", +"Keeps a complete copy of the blockchain data, and contributes to the network by receiving, validating, and forwarding transactions.", +"Holds the same data as full node as well as all of the blockchain's history state data dating back to the Genesis Block." +], +"type": "string" +}, +"validatorConfig": { +"$ref": "ValidatorConfig", +"description": "Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client." +} +}, +"type": "object" +}, +"EthereumEndpoints": { +"description": "Contains endpoint information specific to Ethereum nodes.", +"id": "EthereumEndpoints", +"properties": { +"beaconApiEndpoint": { +"description": "Output only. The assigned URL for the node's Beacon API endpoint.", +"readOnly": true, +"type": "string" +}, +"beaconPrometheusMetricsApiEndpoint": { +"description": "Output only. The assigned URL for the node's Beacon Prometheus metrics endpoint. See [Prometheus Metrics](https://lighthouse-book.sigmaprime.io/advanced_metrics.html) for more details.", +"readOnly": true, +"type": "string" +}, +"executionClientPrometheusMetricsApiEndpoint": { +"description": "Output only. The assigned URL for the node's execution client's Prometheus metrics endpoint.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GethDetails": { +"description": "Options for the Geth execution client. See [Command-line Options](https://geth.ethereum.org/docs/fundamentals/command-line-options) for more details.", +"id": "GethDetails", +"properties": { +"garbageCollectionMode": { +"description": "Immutable. Blockchain garbage collection mode.", +"enum": [ +"GARBAGE_COLLECTION_MODE_UNSPECIFIED", +"FULL", +"ARCHIVE" +], +"enumDescriptions": [ +"The garbage collection has not been specified.", +"Configures Geth's garbage collection so that older data not needed for a full node is deleted. This is the default mode when creating a full node.", +"Configures Geth's garbage collection so that old data is never deleted. This is the default mode when creating an archive node. This value can also be chosen when creating a full node in order to create a partial/recent archive node. See [Sync modes](https://geth.ethereum.org/docs/fundamentals/sync-modes) for more details." +], +"type": "string" +} +}, +"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", +"properties": {}, +"type": "object" +}, +"ListBlockchainNodesResponse": { +"description": "Message for response to listing blockchain nodes.", +"id": "ListBlockchainNodesResponse", +"properties": { +"blockchainNodes": { +"description": "The list of nodes", +"items": { +"$ref": "BlockchainNode" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have `Operation.error` value with a `google.rpc.Status.code` of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ValidatorConfig": { +"description": "Configuration for validator-related parameters on the beacon client, and for any GCP-managed validator client.", +"id": "ValidatorConfig", +"properties": { +"beaconFeeRecipient": { +"description": "An Ethereum address which the beacon client will send fee rewards to if no recipient is configured in the validator client. See https://lighthouse-book.sigmaprime.io/suggested-fee-recipient.html or https://docs.prylabs.network/docs/execution-node/fee-recipient for examples of how this is used. Note that while this is often described as \"suggested\", as we run the execution node we can trust the execution node, and therefore this is considered enforced.", +"type": "string" +}, +"managedValidatorClient": { +"deprecated": true, +"description": "Immutable. When true, deploys a GCP-managed validator client alongside the beacon client.", +"type": "boolean" +}, +"mevRelayUrls": { +"description": "URLs for MEV-relay services to use for block building. When set, a GCP-managed MEV-boost service is configured on the beacon client.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Blockchain Node Engine API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blogger.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blogger.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..fd09633bb286c6abeae1d74ecae1513703fbd35a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/blogger.v3.json @@ -0,0 +1,2556 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/blogger": { +"description": "Manage your Blogger account" +}, +"https://www.googleapis.com/auth/blogger.readonly": { +"description": "View your Blogger account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://blogger.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Blogger", +"description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", +"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": "blogger:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://blogger.mtls.googleapis.com/", +"name": "blogger", +"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": { +"blogUserInfos": { +"methods": { +"get": { +"description": "Gets one blog and user info pair by blog id and user id.", +"flatPath": "v3/users/{userId}/blogs/{blogId}", +"httpMethod": "GET", +"id": "blogger.blogUserInfos.get", +"parameterOrder": [ +"userId", +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"maxPosts": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"userId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{userId}/blogs/{blogId}", +"response": { +"$ref": "BlogUserInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +} +} +}, +"blogs": { +"methods": { +"get": { +"description": "Gets a blog by id.", +"flatPath": "v3/blogs/{blogId}", +"httpMethod": "GET", +"id": "blogger.blogs.get", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"maxPosts": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}", +"response": { +"$ref": "Blog" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"getByUrl": { +"description": "Gets a blog by url.", +"flatPath": "v3/blogs/byurl", +"httpMethod": "GET", +"id": "blogger.blogs.getByUrl", +"parameterOrder": [ +"url" +], +"parameters": { +"url": { +"location": "query", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/byurl", +"response": { +"$ref": "Blog" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"listByUser": { +"description": "Lists blogs by user.", +"flatPath": "v3/users/{userId}/blogs", +"httpMethod": "GET", +"id": "blogger.blogs.listByUser", +"parameterOrder": [ +"userId" +], +"parameters": { +"fetchUserInfo": { +"location": "query", +"type": "boolean" +}, +"role": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"status": { +"default": "LIVE", +"description": "Default value of status is LIVE.", +"enum": [ +"LIVE", +"DELETED" +], +"enumDescriptions": [ +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/users/{userId}/blogs", +"response": { +"$ref": "BlogList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +} +} +}, +"comments": { +"methods": { +"approve": { +"description": "Marks a comment as not spam by blog id, post id and comment id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve", +"httpMethod": "POST", +"id": "blogger.comments.approve", +"parameterOrder": [ +"blogId", +"postId", +"commentId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"commentId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve", +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"delete": { +"description": "Deletes a comment by blog id, post id and comment id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}", +"httpMethod": "DELETE", +"id": "blogger.comments.delete", +"parameterOrder": [ +"blogId", +"postId", +"commentId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"commentId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}", +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"get": { +"description": "Gets a comment by id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}", +"httpMethod": "GET", +"id": "blogger.comments.get", +"parameterOrder": [ +"blogId", +"postId", +"commentId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"commentId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}", +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"list": { +"description": "Lists comments.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments", +"httpMethod": "GET", +"id": "blogger.comments.list", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"endDate": { +"location": "query", +"type": "string" +}, +"fetchBodies": { +"location": "query", +"type": "boolean" +}, +"maxResults": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"startDate": { +"location": "query", +"type": "string" +}, +"status": { +"enum": [ +"LIVE", +"EMPTIED", +"PENDING", +"SPAM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments", +"response": { +"$ref": "CommentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"listByBlog": { +"description": "Lists comments by blog.", +"flatPath": "v3/blogs/{blogId}/comments", +"httpMethod": "GET", +"id": "blogger.comments.listByBlog", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"endDate": { +"location": "query", +"type": "string" +}, +"fetchBodies": { +"location": "query", +"type": "boolean" +}, +"maxResults": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"startDate": { +"location": "query", +"type": "string" +}, +"status": { +"enum": [ +"LIVE", +"EMPTIED", +"PENDING", +"SPAM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/comments", +"response": { +"$ref": "CommentList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"markAsSpam": { +"description": "Marks a comment as spam by blog id, post id and comment id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam", +"httpMethod": "POST", +"id": "blogger.comments.markAsSpam", +"parameterOrder": [ +"blogId", +"postId", +"commentId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"commentId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam", +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"removeContent": { +"description": "Removes the content of a comment by blog id, post id and comment id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent", +"httpMethod": "POST", +"id": "blogger.comments.removeContent", +"parameterOrder": [ +"blogId", +"postId", +"commentId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"commentId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent", +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +} +} +}, +"pageViews": { +"methods": { +"get": { +"description": "Gets page views by blog id.", +"flatPath": "v3/blogs/{blogId}/pageviews", +"httpMethod": "GET", +"id": "blogger.pageViews.get", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"range": { +"enum": [ +"all", +"30DAYS", +"7DAYS" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/pageviews", +"response": { +"$ref": "Pageviews" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +} +} +}, +"pages": { +"methods": { +"delete": { +"description": "Deletes a page by blog id and page id.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}", +"httpMethod": "DELETE", +"id": "blogger.pages.delete", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +}, +"useTrash": { +"description": "Move to Trash if possible", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}", +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"get": { +"description": "Gets a page by blog id and page id.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}", +"httpMethod": "GET", +"id": "blogger.pages.get", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}", +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"insert": { +"description": "Inserts a page.", +"flatPath": "v3/blogs/{blogId}/pages", +"httpMethod": "POST", +"id": "blogger.pages.insert", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"isDraft": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/pages", +"request": { +"$ref": "Page" +}, +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"list": { +"description": "Lists pages.", +"flatPath": "v3/blogs/{blogId}/pages", +"httpMethod": "GET", +"id": "blogger.pages.list", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBodies": { +"location": "query", +"type": "boolean" +}, +"maxResults": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"status": { +"enum": [ +"LIVE", +"DRAFT", +"SOFT_TRASHED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/pages", +"response": { +"$ref": "PageList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"patch": { +"description": "Patches a page.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}", +"httpMethod": "PATCH", +"id": "blogger.pages.patch", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +}, +"publish": { +"location": "query", +"type": "boolean" +}, +"revert": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}", +"request": { +"$ref": "Page" +}, +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"publish": { +"description": "Publishes a page.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}/publish", +"httpMethod": "POST", +"id": "blogger.pages.publish", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}/publish", +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"revert": { +"description": "Reverts a published or scheduled page to draft state.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}/revert", +"httpMethod": "POST", +"id": "blogger.pages.revert", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}/revert", +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"update": { +"description": "Updates a page by blog id and page id.", +"flatPath": "v3/blogs/{blogId}/pages/{pageId}", +"httpMethod": "PUT", +"id": "blogger.pages.update", +"parameterOrder": [ +"blogId", +"pageId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"pageId": { +"location": "path", +"required": true, +"type": "string" +}, +"publish": { +"location": "query", +"type": "boolean" +}, +"revert": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/pages/{pageId}", +"request": { +"$ref": "Page" +}, +"response": { +"$ref": "Page" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +} +} +}, +"postUserInfos": { +"methods": { +"get": { +"description": "Gets one post and user info pair, by post_id and user_id.", +"flatPath": "v3/users/{userId}/blogs/{blogId}/posts/{postId}", +"httpMethod": "GET", +"id": "blogger.postUserInfos.get", +"parameterOrder": [ +"userId", +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"maxComments": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{userId}/blogs/{blogId}/posts/{postId}", +"response": { +"$ref": "PostUserInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"list": { +"description": "Lists post and user info pairs.", +"flatPath": "v3/users/{userId}/blogs/{blogId}/posts", +"httpMethod": "GET", +"id": "blogger.postUserInfos.list", +"parameterOrder": [ +"userId", +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"endDate": { +"location": "query", +"type": "string" +}, +"fetchBodies": { +"default": "false", +"location": "query", +"type": "boolean" +}, +"labels": { +"location": "query", +"type": "string" +}, +"maxResults": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"orderBy": { +"default": "PUBLISHED", +"enum": [ +"ORDER_BY_UNSPECIFIED", +"PUBLISHED", +"UPDATED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"startDate": { +"location": "query", +"type": "string" +}, +"status": { +"enum": [ +"LIVE", +"DRAFT", +"SCHEDULED", +"SOFT_TRASHED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/users/{userId}/blogs/{blogId}/posts", +"response": { +"$ref": "PostUserInfosList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +} +} +}, +"posts": { +"methods": { +"delete": { +"description": "Deletes a post by blog id and post id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}", +"httpMethod": "DELETE", +"id": "blogger.posts.delete", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"useTrash": { +"description": "Move to Trash if possible", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}", +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"get": { +"description": "Gets a post by blog id and post id", +"flatPath": "v3/blogs/{blogId}/posts/{postId}", +"httpMethod": "GET", +"id": "blogger.posts.get", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBody": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"fetchImages": { +"location": "query", +"type": "boolean" +}, +"maxComments": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}", +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"getByPath": { +"description": "Gets a post by path.", +"flatPath": "v3/blogs/{blogId}/posts/bypath", +"httpMethod": "GET", +"id": "blogger.posts.getByPath", +"parameterOrder": [ +"blogId", +"path" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"maxComments": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"path": { +"location": "query", +"required": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/bypath", +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"insert": { +"description": "Inserts a post.", +"flatPath": "v3/blogs/{blogId}/posts", +"httpMethod": "POST", +"id": "blogger.posts.insert", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBody": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"fetchImages": { +"location": "query", +"type": "boolean" +}, +"isDraft": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/posts", +"request": { +"$ref": "Post" +}, +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"list": { +"description": "Lists posts.", +"flatPath": "v3/blogs/{blogId}/posts", +"httpMethod": "GET", +"id": "blogger.posts.list", +"parameterOrder": [ +"blogId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"endDate": { +"location": "query", +"type": "string" +}, +"fetchBodies": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"fetchImages": { +"location": "query", +"type": "boolean" +}, +"labels": { +"location": "query", +"type": "string" +}, +"maxResults": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"orderBy": { +"default": "PUBLISHED", +"enum": [ +"ORDER_BY_UNSPECIFIED", +"PUBLISHED", +"UPDATED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"pageToken": { +"location": "query", +"type": "string" +}, +"sortOption": { +"default": "DESCENDING", +"description": "Sort direction applied to post list.", +"enum": [ +"SORT_OPTION_UNSPECIFIED", +"DESCENDING", +"ASCENDING" +], +"enumDescriptions": [ +"The unspecified sort option.", +"The option to sort posts in descending order in time.", +"The option to sort posts in ascending order in time." +], +"location": "query", +"type": "string" +}, +"startDate": { +"location": "query", +"type": "string" +}, +"status": { +"enum": [ +"LIVE", +"DRAFT", +"SCHEDULED", +"SOFT_TRASHED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"view": { +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts", +"response": { +"$ref": "PostList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"patch": { +"description": "Patches a post.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}", +"httpMethod": "PATCH", +"id": "blogger.posts.patch", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBody": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"fetchImages": { +"location": "query", +"type": "boolean" +}, +"maxComments": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"publish": { +"location": "query", +"type": "boolean" +}, +"revert": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}", +"request": { +"$ref": "Post" +}, +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"publish": { +"description": "Publishes a post.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/publish", +"httpMethod": "POST", +"id": "blogger.posts.publish", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"publishDate": { +"location": "query", +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/publish", +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"revert": { +"description": "Reverts a published or scheduled post to draft state.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}/revert", +"httpMethod": "POST", +"id": "blogger.posts.revert", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}/revert", +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +}, +"search": { +"description": "Searches for posts matching given query terms in the specified blog.", +"flatPath": "v3/blogs/{blogId}/posts/search", +"httpMethod": "GET", +"id": "blogger.posts.search", +"parameterOrder": [ +"blogId", +"q" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBodies": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"orderBy": { +"default": "PUBLISHED", +"enum": [ +"ORDER_BY_UNSPECIFIED", +"PUBLISHED", +"UPDATED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"q": { +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "v3/blogs/{blogId}/posts/search", +"response": { +"$ref": "PostList" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +}, +"update": { +"description": "Updates a post by blog id and post id.", +"flatPath": "v3/blogs/{blogId}/posts/{postId}", +"httpMethod": "PUT", +"id": "blogger.posts.update", +"parameterOrder": [ +"blogId", +"postId" +], +"parameters": { +"blogId": { +"location": "path", +"required": true, +"type": "string" +}, +"fetchBody": { +"default": "true", +"location": "query", +"type": "boolean" +}, +"fetchImages": { +"location": "query", +"type": "boolean" +}, +"maxComments": { +"format": "uint32", +"location": "query", +"type": "integer" +}, +"postId": { +"location": "path", +"required": true, +"type": "string" +}, +"publish": { +"location": "query", +"type": "boolean" +}, +"revert": { +"location": "query", +"type": "boolean" +} +}, +"path": "v3/blogs/{blogId}/posts/{postId}", +"request": { +"$ref": "Post" +}, +"response": { +"$ref": "Post" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger" +] +} +} +}, +"users": { +"methods": { +"get": { +"description": "Gets one user by user_id.", +"flatPath": "v3/users/{userId}", +"httpMethod": "GET", +"id": "blogger.users.get", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{userId}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/blogger", +"https://www.googleapis.com/auth/blogger.readonly" +] +} +} +} +}, +"revision": "20250524", +"rootUrl": "https://blogger.googleapis.com/", +"schemas": { +"Blog": { +"id": "Blog", +"properties": { +"customMetaData": { +"deprecated": true, +"description": "The JSON custom meta-data for the Blog.", +"type": "string" +}, +"description": { +"description": "The description of this blog. This is displayed underneath the title.", +"type": "string" +}, +"id": { +"description": "The identifier for this resource.", +"type": "string" +}, +"kind": { +"description": "The kind of this entry. Always blogger#blog.", +"type": "string" +}, +"locale": { +"description": "The locale this Blog is set to.", +"properties": { +"country": { +"description": "The country this blog's locale is set to.", +"type": "string" +}, +"language": { +"description": "The language this blog is authored in.", +"type": "string" +}, +"variant": { +"description": "The language variant this blog is authored in.", +"type": "string" +} +}, +"type": "object" +}, +"name": { +"description": "The name of this blog. This is displayed as the title.", +"type": "string" +}, +"pages": { +"description": "The container of pages in this blog.", +"properties": { +"selfLink": { +"description": "The URL of the container for pages in this blog.", +"type": "string" +}, +"totalItems": { +"description": "The count of pages in this blog.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"posts": { +"description": "The container of posts in this blog.", +"properties": { +"items": { +"description": "The List of Posts for this Blog.", +"items": { +"$ref": "Post" +}, +"type": "array" +}, +"selfLink": { +"description": "The URL of the container for posts in this blog.", +"type": "string" +}, +"totalItems": { +"description": "The count of posts in this blog.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"published": { +"description": "RFC 3339 date-time when this blog was published.", +"type": "string" +}, +"selfLink": { +"description": "The API REST URL to fetch this resource from.", +"type": "string" +}, +"status": { +"description": "The status of the blog.", +"enum": [ +"LIVE", +"DELETED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"updated": { +"description": "RFC 3339 date-time when this blog was last updated.", +"type": "string" +}, +"url": { +"description": "The URL where this blog is published.", +"type": "string" +} +}, +"type": "object" +}, +"BlogList": { +"id": "BlogList", +"properties": { +"blogUserInfos": { +"description": "Admin level list of blog per-user information.", +"items": { +"$ref": "BlogUserInfo" +}, +"type": "array" +}, +"items": { +"description": "The list of Blogs this user has Authorship or Admin rights over.", +"items": { +"$ref": "Blog" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entity. Always blogger#blogList.", +"type": "string" +} +}, +"type": "object" +}, +"BlogPerUserInfo": { +"id": "BlogPerUserInfo", +"properties": { +"blogId": { +"description": "ID of the Blog resource.", +"type": "string" +}, +"hasAdminAccess": { +"description": "True if the user has Admin level access to the blog.", +"type": "boolean" +}, +"kind": { +"description": "The kind of this entity. Always blogger#blogPerUserInfo.", +"type": "string" +}, +"photosAlbumKey": { +"description": "The Photo Album Key for the user when adding photos to the blog.", +"type": "string" +}, +"role": { +"description": "Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER).", +"enum": [ +"VIEW_TYPE_UNSPECIFIED", +"READER", +"AUTHOR", +"ADMIN" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"userId": { +"description": "ID of the User.", +"type": "string" +} +}, +"type": "object" +}, +"BlogUserInfo": { +"id": "BlogUserInfo", +"properties": { +"blog": { +"$ref": "Blog", +"description": "The Blog resource." +}, +"blog_user_info": { +"$ref": "BlogPerUserInfo", +"description": "Information about a User for the Blog." +}, +"kind": { +"description": "The kind of this entity. Always blogger#blogUserInfo.", +"type": "string" +} +}, +"type": "object" +}, +"Comment": { +"id": "Comment", +"properties": { +"author": { +"description": "The author of this Comment.", +"properties": { +"displayName": { +"description": "The display name.", +"type": "string" +}, +"id": { +"description": "The identifier of the creator.", +"type": "string" +}, +"image": { +"description": "The creator's avatar.", +"properties": { +"url": { +"description": "The creator's avatar URL.", +"type": "string" +} +}, +"type": "object" +}, +"url": { +"description": "The URL of the creator's Profile page.", +"type": "string" +} +}, +"type": "object" +}, +"blog": { +"description": "Data about the blog containing this comment.", +"properties": { +"id": { +"description": "The identifier of the blog containing this comment.", +"type": "string" +} +}, +"type": "object" +}, +"content": { +"description": "The actual content of the comment. May include HTML markup.", +"type": "string" +}, +"id": { +"description": "The identifier for this resource.", +"type": "string" +}, +"inReplyTo": { +"description": "Data about the comment this is in reply to.", +"properties": { +"id": { +"description": "The identified of the parent of this comment.", +"type": "string" +} +}, +"type": "object" +}, +"kind": { +"description": "The kind of this entry. Always blogger#comment.", +"type": "string" +}, +"post": { +"description": "Data about the post containing this comment.", +"properties": { +"id": { +"description": "The identifier of the post containing this comment.", +"type": "string" +} +}, +"type": "object" +}, +"published": { +"description": "RFC 3339 date-time when this comment was published.", +"type": "string" +}, +"selfLink": { +"description": "The API REST URL to fetch this resource from.", +"type": "string" +}, +"status": { +"description": "The status of the comment (only populated for admin users).", +"enum": [ +"LIVE", +"EMPTIED", +"PENDING", +"SPAM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"updated": { +"description": "RFC 3339 date-time when this comment was last updated.", +"type": "string" +} +}, +"type": "object" +}, +"CommentList": { +"id": "CommentList", +"properties": { +"etag": { +"description": "Etag of the response.", +"type": "string" +}, +"items": { +"description": "The List of Comments for a Post.", +"items": { +"$ref": "Comment" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entry. Always blogger#commentList.", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to fetch the next page, if one exists.", +"type": "string" +}, +"prevPageToken": { +"description": "Pagination token to fetch the previous page, if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"Page": { +"id": "Page", +"properties": { +"author": { +"description": "The author of this Page.", +"properties": { +"displayName": { +"description": "The display name.", +"type": "string" +}, +"id": { +"description": "The identifier of the creator.", +"type": "string" +}, +"image": { +"description": "The creator's avatar.", +"properties": { +"url": { +"description": "The creator's avatar URL.", +"type": "string" +} +}, +"type": "object" +}, +"url": { +"description": "The URL of the creator's Profile page.", +"type": "string" +} +}, +"type": "object" +}, +"blog": { +"description": "Data about the blog containing this Page.", +"properties": { +"id": { +"description": "The identifier of the blog containing this page.", +"type": "string" +} +}, +"type": "object" +}, +"content": { +"description": "The body content of this Page, in HTML.", +"type": "string" +}, +"etag": { +"description": "Etag of the resource.", +"type": "string" +}, +"id": { +"description": "The identifier for this resource.", +"type": "string" +}, +"kind": { +"description": "The kind of this entity. Always blogger#page.", +"type": "string" +}, +"published": { +"description": "RFC 3339 date-time when this Page was published.", +"type": "string" +}, +"selfLink": { +"description": "The API REST URL to fetch this resource from.", +"type": "string" +}, +"status": { +"description": "The status of the page for admin resources (either LIVE or DRAFT).", +"enum": [ +"LIVE", +"DRAFT", +"SOFT_TRASHED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"title": { +"description": "The title of this entity. This is the name displayed in the Admin user interface.", +"type": "string" +}, +"trashed": { +"description": "RFC 3339 date-time when this Page was trashed.", +"type": "string" +}, +"updated": { +"description": "RFC 3339 date-time when this Page was last updated.", +"type": "string" +}, +"url": { +"description": "The URL that this Page is displayed at.", +"type": "string" +} +}, +"type": "object" +}, +"PageList": { +"id": "PageList", +"properties": { +"etag": { +"description": "Etag of the response.", +"type": "string" +}, +"items": { +"description": "The list of Pages for a Blog.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entity. Always blogger#pageList.", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to fetch the next page, if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"Pageviews": { +"id": "Pageviews", +"properties": { +"blogId": { +"description": "Blog Id.", +"type": "string" +}, +"counts": { +"description": "The container of posts in this blog.", +"items": { +"properties": { +"count": { +"description": "Count of page views for the given time range.", +"format": "int64", +"type": "string" +}, +"timeRange": { +"description": "Time range the given count applies to.", +"enum": [ +"ALL_TIME", +"THIRTY_DAYS", +"SEVEN_DAYS" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entry. Always blogger#page_views.", +"type": "string" +} +}, +"type": "object" +}, +"Post": { +"id": "Post", +"properties": { +"author": { +"description": "The author of this Post.", +"properties": { +"displayName": { +"description": "The display name.", +"type": "string" +}, +"id": { +"description": "The identifier of the creator.", +"type": "string" +}, +"image": { +"description": "The creator's avatar.", +"properties": { +"url": { +"description": "The creator's avatar URL.", +"type": "string" +} +}, +"type": "object" +}, +"url": { +"description": "The URL of the creator's Profile page.", +"type": "string" +} +}, +"type": "object" +}, +"blog": { +"description": "Data about the blog containing this Post.", +"properties": { +"id": { +"description": "The identifier of the Blog that contains this Post.", +"type": "string" +} +}, +"type": "object" +}, +"content": { +"description": "The content of the Post. May contain HTML markup.", +"type": "string" +}, +"customMetaData": { +"deprecated": true, +"description": "The JSON meta-data for the Post.", +"type": "string" +}, +"etag": { +"description": "Etag of the resource.", +"type": "string" +}, +"id": { +"description": "The identifier of this Post.", +"type": "string" +}, +"images": { +"description": "Display image for the Post.", +"items": { +"properties": { +"url": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entity. Always blogger#post.", +"type": "string" +}, +"labels": { +"description": "The list of labels this Post was tagged with.", +"items": { +"type": "string" +}, +"type": "array" +}, +"location": { +"description": "The location for geotagged posts.", +"properties": { +"lat": { +"description": "Location's latitude.", +"format": "double", +"type": "number" +}, +"lng": { +"description": "Location's longitude.", +"format": "double", +"type": "number" +}, +"name": { +"description": "Location name.", +"type": "string" +}, +"span": { +"description": "Location's viewport span. Can be used when rendering a map preview.", +"type": "string" +} +}, +"type": "object" +}, +"published": { +"description": "RFC 3339 date-time when this Post was published.", +"type": "string" +}, +"readerComments": { +"description": "Comment control and display setting for readers of this post.", +"enum": [ +"ALLOW", +"DONT_ALLOW_SHOW_EXISTING", +"DONT_ALLOW_HIDE_EXISTING" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"replies": { +"description": "The container of comments on this Post.", +"properties": { +"items": { +"description": "The List of Comments for this Post.", +"items": { +"$ref": "Comment" +}, +"type": "array" +}, +"selfLink": { +"description": "The URL of the comments on this post.", +"type": "string" +}, +"totalItems": { +"description": "The count of comments on this post.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"selfLink": { +"description": "The API REST URL to fetch this resource from.", +"type": "string" +}, +"status": { +"description": "Status of the post. Only set for admin-level requests.", +"enum": [ +"LIVE", +"DRAFT", +"SCHEDULED", +"SOFT_TRASHED" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"title": { +"description": "The title of the Post.", +"type": "string" +}, +"titleLink": { +"description": "The title link URL, similar to atom's related link.", +"type": "string" +}, +"trashed": { +"description": "RFC 3339 date-time when this Post was last trashed.", +"type": "string" +}, +"updated": { +"description": "RFC 3339 date-time when this Post was last updated.", +"type": "string" +}, +"url": { +"description": "The URL where this Post is displayed.", +"type": "string" +} +}, +"type": "object" +}, +"PostList": { +"id": "PostList", +"properties": { +"etag": { +"description": "Etag of the response.", +"type": "string" +}, +"items": { +"description": "The list of Posts for this Blog.", +"items": { +"$ref": "Post" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entity. Always blogger#postList.", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to fetch the next page, if one exists.", +"type": "string" +}, +"prevPageToken": { +"description": "Pagination token to fetch the previous page, if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"PostPerUserInfo": { +"id": "PostPerUserInfo", +"properties": { +"blogId": { +"description": "ID of the Blog that the post resource belongs to.", +"type": "string" +}, +"hasEditAccess": { +"description": "True if the user has Author level access to the post.", +"type": "boolean" +}, +"kind": { +"description": "The kind of this entity. Always blogger#postPerUserInfo.", +"type": "string" +}, +"postId": { +"description": "ID of the Post resource.", +"type": "string" +}, +"userId": { +"description": "ID of the User.", +"type": "string" +} +}, +"type": "object" +}, +"PostUserInfo": { +"id": "PostUserInfo", +"properties": { +"kind": { +"description": "The kind of this entity. Always blogger#postUserInfo.", +"type": "string" +}, +"post": { +"$ref": "Post", +"description": "The Post resource." +}, +"post_user_info": { +"$ref": "PostPerUserInfo", +"description": "Information about a User for the Post." +} +}, +"type": "object" +}, +"PostUserInfosList": { +"id": "PostUserInfosList", +"properties": { +"items": { +"description": "The list of Posts with User information for the post, for this Blog.", +"items": { +"$ref": "PostUserInfo" +}, +"type": "array" +}, +"kind": { +"description": "The kind of this entity. Always blogger#postList.", +"type": "string" +}, +"nextPageToken": { +"description": "Pagination token to fetch the next page, if one exists.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"id": "User", +"properties": { +"about": { +"description": "Profile summary information.", +"type": "string" +}, +"blogs": { +"description": "The container of blogs for this user.", +"properties": { +"selfLink": { +"description": "The URL of the Blogs for this user.", +"type": "string" +} +}, +"type": "object" +}, +"created": { +"description": "The timestamp of when this profile was created, in seconds since epoch.", +"type": "string" +}, +"displayName": { +"description": "The display name.", +"type": "string" +}, +"id": { +"description": "The identifier for this User.", +"type": "string" +}, +"kind": { +"description": "The kind of this entity. Always blogger#user.", +"type": "string" +}, +"locale": { +"description": "This user's locale", +"properties": { +"country": { +"description": "The country this blog's locale is set to.", +"type": "string" +}, +"language": { +"description": "The language this blog is authored in.", +"type": "string" +}, +"variant": { +"description": "The language variant this blog is authored in.", +"type": "string" +} +}, +"type": "object" +}, +"selfLink": { +"description": "The API REST URL to fetch this resource from.", +"type": "string" +}, +"url": { +"description": "The user's profile page.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Blogger API", +"version": "v3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a2a1fffa5bfb549eabdb15ccee0494cae0593745 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json @@ -0,0 +1,721 @@ +{ +"basePath": "", +"baseUrl": "https://businessprofileperformance.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Business Profile Performance", +"description": "The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"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": "businessprofileperformance:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://businessprofileperformance.mtls.googleapis.com/", +"name": "businessprofileperformance", +"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": { +"locations": { +"methods": { +"fetchMultiDailyMetricsTimeSeries": { +"description": " Returns the values for each date from a given time range and optionally the sub entity type, where applicable, that are associated with the specific daily metrics. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`", +"flatPath": "v1/locations/{locationsId}:fetchMultiDailyMetricsTimeSeries", +"httpMethod": "GET", +"id": "businessprofileperformance.locations.fetchMultiDailyMetricsTimeSeries", +"parameterOrder": [ +"location" +], +"parameters": { +"dailyMetrics": { +"description": "Required. The metrics to retrieve time series for.", +"enum": [ +"DAILY_METRIC_UNKNOWN", +"BUSINESS_IMPRESSIONS_DESKTOP_MAPS", +"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", +"BUSINESS_IMPRESSIONS_MOBILE_MAPS", +"BUSINESS_IMPRESSIONS_MOBILE_SEARCH", +"BUSINESS_CONVERSATIONS", +"BUSINESS_DIRECTION_REQUESTS", +"CALL_CLICKS", +"WEBSITE_CLICKS", +"BUSINESS_BOOKINGS", +"BUSINESS_FOOD_ORDERS", +"BUSINESS_FOOD_MENU_CLICKS" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Represents the default unknown value.", +"Business impressions on Google Maps on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Maps on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"The number of message conversations received on the business profile.", +"The number of times a direction request was requested to the business location.", +"The number of times the business profile call button was clicked.", +"The number of times the business profile website was clicked.", +"The number of bookings made from the business profile via Reserve with Google.", +"The number of food orders received from the business profile.", +"The number of clicks to view or interact with the menu content on the business profile. Multiple clicks by a unique user within a single day are counted as 1." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"location": { +"description": "Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:fetchMultiDailyMetricsTimeSeries", +"response": { +"$ref": "FetchMultiDailyMetricsTimeSeriesResponse" +} +}, +"getDailyMetricsTimeSeries": { +"description": " Returns the values for each date from a given time range that are associated with the specific daily metric. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31`", +"flatPath": "v1/locations/{locationsId}:getDailyMetricsTimeSeries", +"httpMethod": "GET", +"id": "businessprofileperformance.locations.getDailyMetricsTimeSeries", +"parameterOrder": [ +"name" +], +"parameters": { +"dailyMetric": { +"description": "Required. The metric to retrieve time series.", +"enum": [ +"DAILY_METRIC_UNKNOWN", +"BUSINESS_IMPRESSIONS_DESKTOP_MAPS", +"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", +"BUSINESS_IMPRESSIONS_MOBILE_MAPS", +"BUSINESS_IMPRESSIONS_MOBILE_SEARCH", +"BUSINESS_CONVERSATIONS", +"BUSINESS_DIRECTION_REQUESTS", +"CALL_CLICKS", +"WEBSITE_CLICKS", +"BUSINESS_BOOKINGS", +"BUSINESS_FOOD_ORDERS", +"BUSINESS_FOOD_MENU_CLICKS" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Represents the default unknown value.", +"Business impressions on Google Maps on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Maps on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"The number of message conversations received on the business profile.", +"The number of times a direction request was requested to the business location.", +"The number of times the business profile call button was clicked.", +"The number of times the business profile website was clicked.", +"The number of bookings made from the business profile via Reserve with Google.", +"The number of food orders received from the business profile.", +"The number of clicks to view or interact with the menu content on the business profile. Multiple clicks by a unique user within a single day are counted as 1." +], +"location": "query", +"type": "string" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailyRange.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" +}, +"dailySubEntityType.dayOfWeek": { +"description": "Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"location": "query", +"type": "string" +}, +"dailySubEntityType.timeOfDay.hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"dailySubEntityType.timeOfDay.minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"dailySubEntityType.timeOfDay.nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"dailySubEntityType.timeOfDay.seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"name": { +"description": "Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getDailyMetricsTimeSeries", +"response": { +"$ref": "GetDailyMetricsTimeSeriesResponse" +} +} +}, +"resources": { +"searchkeywords": { +"resources": { +"impressions": { +"resources": { +"monthly": { +"methods": { +"list": { +"description": "Returns the search keywords used to find a business in search or maps. Each search keyword is accompanied by impressions which are aggregated on a monthly basis. Example request: `GET https://businessprofileperformance.googleapis.com/v1/locations/12345/searchkeywords/impressions/monthly?monthly_range.start_month.year=2022&monthly_range.start_month.month=1&monthly_range.end_month.year=2022&monthly_range.end_month.month=3`", +"flatPath": "v1/locations/{locationsId}/searchkeywords/impressions/monthly", +"httpMethod": "GET", +"id": "businessprofileperformance.locations.searchkeywords.impressions.monthly.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"monthlyRange.endMonth.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" +}, +"monthlyRange.endMonth.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" +}, +"monthlyRange.endMonth.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" +}, +"monthlyRange.startMonth.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" +}, +"monthlyRange.startMonth.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" +}, +"monthlyRange.startMonth.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" +}, +"pageSize": { +"description": "Optional. The number of results requested. The default page size is 100. Page size can be set to a maximum of 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token indicating the next paginated result to be returned.", +"format": "byte", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/searchkeywords/impressions/monthly", +"response": { +"$ref": "ListSearchKeywordImpressionsMonthlyResponse" +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20251026", +"rootUrl": "https://businessprofileperformance.googleapis.com/", +"schemas": { +"DailyMetricTimeSeries": { +"description": "Represents a single datapoint, where each datapoint is a DailyMetric-DailySubEntityType-TimeSeries tuple.", +"id": "DailyMetricTimeSeries", +"properties": { +"dailyMetric": { +"description": "The DailyMetric that the TimeSeries represents.", +"enum": [ +"DAILY_METRIC_UNKNOWN", +"BUSINESS_IMPRESSIONS_DESKTOP_MAPS", +"BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", +"BUSINESS_IMPRESSIONS_MOBILE_MAPS", +"BUSINESS_IMPRESSIONS_MOBILE_SEARCH", +"BUSINESS_CONVERSATIONS", +"BUSINESS_DIRECTION_REQUESTS", +"CALL_CLICKS", +"WEBSITE_CLICKS", +"BUSINESS_BOOKINGS", +"BUSINESS_FOOD_ORDERS", +"BUSINESS_FOOD_MENU_CLICKS" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"Represents the default unknown value.", +"Business impressions on Google Maps on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Maps on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"Business impressions on Google Search on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.", +"The number of message conversations received on the business profile.", +"The number of times a direction request was requested to the business location.", +"The number of times the business profile call button was clicked.", +"The number of times the business profile website was clicked.", +"The number of bookings made from the business profile via Reserve with Google.", +"The number of food orders received from the business profile.", +"The number of clicks to view or interact with the menu content on the business profile. Multiple clicks by a unique user within a single day are counted as 1." +], +"type": "string" +}, +"dailySubEntityType": { +"$ref": "DailySubEntityType", +"description": "The DailySubEntityType that the TimeSeries represents. Will not be present when breakdown does not exist." +}, +"timeSeries": { +"$ref": "TimeSeries", +"description": "List of datapoints where each datapoint is a date-value pair." +} +}, +"type": "object" +}, +"DailySubEntityType": { +"description": "Represents all possible subentity types that are associated with DailyMetrics.", +"id": "DailySubEntityType", +"properties": { +"dayOfWeek": { +"description": "Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"timeOfDay": { +"$ref": "TimeOfDay", +"description": "Represents the time of the day in 24 hour format. Eg: 13:34:20 Currently supported DailyMetrics = NONE." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DatedValue": { +"description": "Represents a single datapoint in the timeseries, where each datapoint is a date-value pair.", +"id": "DatedValue", +"properties": { +"date": { +"$ref": "Date", +"description": "The date that the datapoint corresponds to. This represents a month value if the day field is not set." +}, +"value": { +"description": "The value of the datapoint. This will not be present when the value is zero.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FetchMultiDailyMetricsTimeSeriesResponse": { +"description": "Represents the response for FetchMultiDailyMetricsTimeSeries.", +"id": "FetchMultiDailyMetricsTimeSeriesResponse", +"properties": { +"multiDailyMetricTimeSeries": { +"description": "DailyMetrics and their corresponding time series.", +"items": { +"$ref": "MultiDailyMetricTimeSeries" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetDailyMetricsTimeSeriesResponse": { +"description": "Represents the response for GetDailyMetricsTimeSeries.", +"id": "GetDailyMetricsTimeSeriesResponse", +"properties": { +"timeSeries": { +"$ref": "TimeSeries", +"description": "The daily time series." +} +}, +"type": "object" +}, +"InsightsValue": { +"description": "Represents an insights value.", +"id": "InsightsValue", +"properties": { +"threshold": { +"description": "Represents the threshold below which the actual value falls.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "Represents the actual value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListSearchKeywordImpressionsMonthlyResponse": { +"description": "Represents the response for ListSearchKeywordImpressionsMonthly.", +"id": "ListSearchKeywordImpressionsMonthlyResponse", +"properties": { +"nextPageToken": { +"description": "A token indicating the last paginated result returned. This can be used by succeeding requests to get the next \"page\" of keywords. It will only be present when there are more results to be returned.", +"format": "byte", +"type": "string" +}, +"searchKeywordsCounts": { +"description": "Search terms which have been used to find a business.", +"items": { +"$ref": "SearchKeywordCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"MultiDailyMetricTimeSeries": { +"description": "Represents a list of tuples of DailyMetric-DailySubEntityType-TimeSeries.", +"id": "MultiDailyMetricTimeSeries", +"properties": { +"dailyMetricTimeSeries": { +"description": "List of DailyMetric-TimeSeries pairs.", +"items": { +"$ref": "DailyMetricTimeSeries" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchKeywordCount": { +"description": "Represents a single search keyword and its value.", +"id": "SearchKeywordCount", +"properties": { +"insightsValue": { +"$ref": "InsightsValue", +"description": "One of either: 1) The sum of the number of unique users that used the keyword in a month, aggregated for each month requested. 2) A threshold that indicates that the actual value is below this threshold." +}, +"searchKeyword": { +"description": "The lower-cased string that the user entered.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeSeries": { +"description": "Represents a timeseries.", +"id": "TimeSeries", +"properties": { +"datedValues": { +"description": "List of datapoints in the timeseries, where each datapoint is a date-value pair.", +"items": { +"$ref": "DatedValue" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Business Profile Performance API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/calendar.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/calendar.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..3287fba78b78b3e47eb8a3a674f1da220b4ab7f6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/calendar.v3.json @@ -0,0 +1,3286 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/calendar": { +"description": "See, edit, share, and permanently delete all the calendars you can access using Google Calendar" +}, +"https://www.googleapis.com/auth/calendar.acls": { +"description": "See and change the sharing permissions of Google calendars you own" +}, +"https://www.googleapis.com/auth/calendar.acls.readonly": { +"description": "See the sharing permissions of Google calendars you own" +}, +"https://www.googleapis.com/auth/calendar.app.created": { +"description": "Make secondary Google calendars, and see, create, change, and delete events on them" +}, +"https://www.googleapis.com/auth/calendar.calendarlist": { +"description": "See, add, and remove Google calendars you\u2019re subscribed to" +}, +"https://www.googleapis.com/auth/calendar.calendarlist.readonly": { +"description": "See the list of Google calendars you\u2019re subscribed to" +}, +"https://www.googleapis.com/auth/calendar.calendars": { +"description": "See and change the properties of Google calendars you have access to, and create secondary calendars" +}, +"https://www.googleapis.com/auth/calendar.calendars.readonly": { +"description": "See the title, description, default time zone, and other properties of Google calendars you have access to" +}, +"https://www.googleapis.com/auth/calendar.events": { +"description": "View and edit events on all your calendars" +}, +"https://www.googleapis.com/auth/calendar.events.freebusy": { +"description": "See the availability on Google calendars you have access to" +}, +"https://www.googleapis.com/auth/calendar.events.owned": { +"description": "See, create, change, and delete events on Google calendars you own" +}, +"https://www.googleapis.com/auth/calendar.events.owned.readonly": { +"description": "See the events on Google calendars you own" +}, +"https://www.googleapis.com/auth/calendar.events.public.readonly": { +"description": "See the events on public calendars" +}, +"https://www.googleapis.com/auth/calendar.events.readonly": { +"description": "View events on all your calendars" +}, +"https://www.googleapis.com/auth/calendar.freebusy": { +"description": "View your availability in your calendars" +}, +"https://www.googleapis.com/auth/calendar.readonly": { +"description": "See and download any calendar you can access using your Google Calendar" +}, +"https://www.googleapis.com/auth/calendar.settings.readonly": { +"description": "View your Calendar settings" +} +} +} +}, +"basePath": "/calendar/v3/", +"baseUrl": "https://www.googleapis.com/calendar/v3/", +"batchPath": "batch/calendar/v3", +"description": "Manipulates events and other calendar data.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/calendar/firstapp", +"icons": { +"x16": "http://fonts.gstatic.com/s/i/productlogos/calendar_2020q4/v8/web-16dp/logo_calendar_2020q4_color_1x_web_16dp.png", +"x32": "http://fonts.gstatic.com/s/i/productlogos/calendar_2020q4/v8/web-32dp/logo_calendar_2020q4_color_1x_web_32dp.png" +}, +"id": "calendar:v3", +"kind": "discovery#restDescription", +"name": "calendar", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"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": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"acl": { +"methods": { +"delete": { +"description": "Deletes an access control rule.", +"httpMethod": "DELETE", +"id": "calendar.acl.delete", +"parameterOrder": [ +"calendarId", +"ruleId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"ruleId": { +"description": "ACL rule identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}/acl/{ruleId}", +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls" +] +}, +"get": { +"description": "Returns an access control rule.", +"httpMethod": "GET", +"id": "calendar.acl.get", +"parameterOrder": [ +"calendarId", +"ruleId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"ruleId": { +"description": "ACL rule identifier.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}/acl/{ruleId}", +"response": { +"$ref": "AclRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls", +"https://www.googleapis.com/auth/calendar.acls.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +] +}, +"insert": { +"description": "Creates an access control rule.", +"httpMethod": "POST", +"id": "calendar.acl.insert", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Whether to send notifications about the calendar sharing change. Optional. The default is True.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/acl", +"request": { +"$ref": "AclRule" +}, +"response": { +"$ref": "AclRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls" +] +}, +"list": { +"description": "Returns the rules in the access control list for the calendar.", +"httpMethod": "GET", +"id": "calendar.acl.list", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \"none\". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/acl", +"response": { +"$ref": "Acl" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls", +"https://www.googleapis.com/auth/calendar.acls.readonly" +], +"supportsSubscription": true +}, +"patch": { +"description": "Updates an access control rule. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "calendar.acl.patch", +"parameterOrder": [ +"calendarId", +"ruleId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"ruleId": { +"description": "ACL rule identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/acl/{ruleId}", +"request": { +"$ref": "AclRule" +}, +"response": { +"$ref": "AclRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls" +] +}, +"update": { +"description": "Updates an access control rule.", +"httpMethod": "PUT", +"id": "calendar.acl.update", +"parameterOrder": [ +"calendarId", +"ruleId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"ruleId": { +"description": "ACL rule identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/acl/{ruleId}", +"request": { +"$ref": "AclRule" +}, +"response": { +"$ref": "AclRule" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls" +] +}, +"watch": { +"description": "Watch for changes to ACL resources.", +"httpMethod": "POST", +"id": "calendar.acl.watch", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \"none\". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/acl/watch", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls", +"https://www.googleapis.com/auth/calendar.acls.readonly" +], +"supportsSubscription": true +} +} +}, +"calendarList": { +"methods": { +"delete": { +"description": "Removes a calendar from the user's calendar list.", +"httpMethod": "DELETE", +"id": "calendar.calendarList.delete", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "users/me/calendarList/{calendarId}", +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist" +] +}, +"get": { +"description": "Returns a calendar from the user's calendar list.", +"httpMethod": "GET", +"id": "calendar.calendarList.get", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "users/me/calendarList/{calendarId}", +"response": { +"$ref": "CalendarListEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist", +"https://www.googleapis.com/auth/calendar.calendarlist.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +] +}, +"insert": { +"description": "Inserts an existing calendar into the user's calendar list.", +"httpMethod": "POST", +"id": "calendar.calendarList.insert", +"parameters": { +"colorRgbFormat": { +"description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "users/me/calendarList", +"request": { +"$ref": "CalendarListEntry" +}, +"response": { +"$ref": "CalendarListEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.calendarlist" +] +}, +"list": { +"description": "Returns the calendars on the user's calendar list.", +"httpMethod": "GET", +"id": "calendar.calendarList.list", +"parameters": { +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"minAccessRole": { +"description": "The minimum access role for the user in the returned entries. Optional. The default is no restriction.", +"enum": [ +"freeBusyReader", +"owner", +"reader", +"writer" +], +"enumDescriptions": [ +"The user can read free/busy information.", +"The user can read and modify events and access control lists.", +"The user can read events that are not private.", +"The user can read and modify events." +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted calendar list entries in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showHidden": { +"description": "Whether to show hidden entries. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.\nTo ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "users/me/calendarList", +"response": { +"$ref": "CalendarList" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.calendarlist", +"https://www.googleapis.com/auth/calendar.calendarlist.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +], +"supportsSubscription": true +}, +"patch": { +"description": "Updates an existing calendar on the user's calendar list. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "calendar.calendarList.patch", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"colorRgbFormat": { +"description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "users/me/calendarList/{calendarId}", +"request": { +"$ref": "CalendarListEntry" +}, +"response": { +"$ref": "CalendarListEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist" +] +}, +"update": { +"description": "Updates an existing calendar on the user's calendar list.", +"httpMethod": "PUT", +"id": "calendar.calendarList.update", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"colorRgbFormat": { +"description": "Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "users/me/calendarList/{calendarId}", +"request": { +"$ref": "CalendarListEntry" +}, +"response": { +"$ref": "CalendarListEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist" +] +}, +"watch": { +"description": "Watch for changes to CalendarList resources.", +"httpMethod": "POST", +"id": "calendar.calendarList.watch", +"parameters": { +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"minAccessRole": { +"description": "The minimum access role for the user in the returned entries. Optional. The default is no restriction.", +"enum": [ +"freeBusyReader", +"owner", +"reader", +"writer" +], +"enumDescriptions": [ +"The user can read free/busy information.", +"The user can read and modify events and access control lists.", +"The user can read events that are not private.", +"The user can read and modify events." +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted calendar list entries in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showHidden": { +"description": "Whether to show hidden entries. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.\nTo ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "users/me/calendarList/watch", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.calendarlist", +"https://www.googleapis.com/auth/calendar.calendarlist.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +], +"supportsSubscription": true +} +} +}, +"calendars": { +"methods": { +"clear": { +"description": "Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.", +"httpMethod": "POST", +"id": "calendar.calendars.clear", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}/clear", +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.calendars" +] +}, +"delete": { +"description": "Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.", +"httpMethod": "DELETE", +"id": "calendar.calendars.delete", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}", +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendars" +] +}, +"get": { +"description": "Returns metadata for a calendar.", +"httpMethod": "GET", +"id": "calendar.calendars.get", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}", +"response": { +"$ref": "Calendar" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendars", +"https://www.googleapis.com/auth/calendar.calendars.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +] +}, +"insert": { +"description": "Creates a secondary calendar.\nThe authenticated user for the request is made the data owner of the new calendar.\n\nNote: We recommend to authenticate as the intended data owner of the calendar. You can use domain-wide delegation of authority to allow applications to act on behalf of a specific user. Don't use a service account for authentication. If you use a service account for authentication, the service account is the data owner, which can lead to unexpected behavior. For example, if a service account is the data owner, data ownership cannot be transferred.", +"httpMethod": "POST", +"id": "calendar.calendars.insert", +"path": "calendars", +"request": { +"$ref": "Calendar" +}, +"response": { +"$ref": "Calendar" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendars" +] +}, +"patch": { +"description": "Updates metadata for a calendar. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "calendar.calendars.patch", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}", +"request": { +"$ref": "Calendar" +}, +"response": { +"$ref": "Calendar" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendars" +] +}, +"update": { +"description": "Updates metadata for a calendar.", +"httpMethod": "PUT", +"id": "calendar.calendars.update", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}", +"request": { +"$ref": "Calendar" +}, +"response": { +"$ref": "Calendar" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendars" +] +} +} +}, +"channels": { +"methods": { +"stop": { +"description": "Stop watching resources through this channel", +"httpMethod": "POST", +"id": "calendar.channels.stop", +"path": "channels/stop", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.acls", +"https://www.googleapis.com/auth/calendar.acls.readonly", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist", +"https://www.googleapis.com/auth/calendar.calendarlist.readonly", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.events.readonly", +"https://www.googleapis.com/auth/calendar.readonly", +"https://www.googleapis.com/auth/calendar.settings.readonly" +] +} +} +}, +"colors": { +"methods": { +"get": { +"description": "Returns the color definitions for calendars and events.", +"httpMethod": "GET", +"id": "calendar.colors.get", +"path": "colors", +"response": { +"$ref": "Colors" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.calendarlist", +"https://www.googleapis.com/auth/calendar.calendarlist.readonly", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +] +} +} +}, +"events": { +"methods": { +"delete": { +"description": "Deletes an event.", +"httpMethod": "DELETE", +"id": "calendar.events.delete", +"parameterOrder": [ +"calendarId", +"eventId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"eventId": { +"description": "Event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Guests who should receive notifications about the deletion of the event.", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. For calendar migration tasks, consider using the Events.import method instead." +], +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/{eventId}", +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"get": { +"description": "Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.", +"httpMethod": "GET", +"id": "calendar.events.get", +"parameterOrder": [ +"calendarId", +"eventId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"eventId": { +"description": "Event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"timeZone": { +"description": "Time zone used in the response. Optional. The default is the time zone of the calendar.", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/{eventId}", +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.events.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +] +}, +"import": { +"description": "Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported.\nDeprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have will be dropped.", +"httpMethod": "POST", +"id": "calendar.events.import", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"conferenceDataVersion": { +"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.", +"format": "int32", +"location": "query", +"maximum": "1", +"minimum": "0", +"type": "integer" +}, +"supportsAttachments": { +"description": "Whether API client performing operation supports event attachments. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/events/import", +"request": { +"$ref": "Event" +}, +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"insert": { +"description": "Creates an event.", +"httpMethod": "POST", +"id": "calendar.events.insert", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"conferenceDataVersion": { +"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.", +"format": "int32", +"location": "query", +"maximum": "1", +"minimum": "0", +"type": "integer" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the creation of the new event. Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. Warning: Using the value none can have significant adverse effects, including events not syncing to external calendars or events being lost altogether for some users. For calendar migration tasks, consider using the events.import method instead." +], +"location": "query", +"type": "string" +}, +"supportsAttachments": { +"description": "Whether API client performing operation supports event attachments. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/events", +"request": { +"$ref": "Event" +}, +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"instances": { +"description": "Returns instances of the specified recurring event.", +"httpMethod": "GET", +"id": "calendar.events.instances", +"parameterOrder": [ +"calendarId", +"eventId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"eventId": { +"description": "Recurring event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"maxResults": { +"description": "Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"originalStart": { +"description": "The original start time of the instance in the result. Optional.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"timeMax": { +"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeMin": { +"description": "Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeZone": { +"description": "Time zone used in the response. Optional. The default is the time zone of the calendar.", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/{eventId}/instances", +"response": { +"$ref": "Events" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.events.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +], +"supportsSubscription": true +}, +"list": { +"description": "Returns events on the specified calendar.", +"httpMethod": "GET", +"id": "calendar.events.list", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored.", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"eventTypes": { +"description": "Event types to return. Optional. This parameter can be repeated multiple times to return events of different types. If unset, returns all event types.", +"enum": [ +"birthday", +"default", +"focusTime", +"fromGmail", +"outOfOffice", +"workingLocation" +], +"enumDescriptions": [ +"Special all-day events with an annual recurrence.", +"Regular events.", +"Focus time events.", +"Events from Gmail.", +"Out of office events.", +"Working location events." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"iCalUID": { +"description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", +"location": "query", +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"maxResults": { +"default": "250", +"description": "Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"orderBy": { +"description": "The order of the events returned in the result. Optional. The default is an unspecified, stable order.", +"enum": [ +"startTime", +"updated" +], +"enumDescriptions": [ +"Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)", +"Order by last modification time (ascending)." +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"privateExtendedProperty": { +"description": "Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.", +"location": "query", +"repeated": true, +"type": "string" +}, +"q": { +"description": "Free text search terms to find events that match these terms in the following fields:\n\n- summary \n- description \n- location \n- attendee's displayName \n- attendee's email \n- organizer's displayName \n- organizer's email \n- workingLocationProperties.officeLocation.buildingId \n- workingLocationProperties.officeLocation.deskId \n- workingLocationProperties.officeLocation.label \n- workingLocationProperties.customLocation.label \nThese search terms also match predefined keywords against all display title translations of working location, out-of-office, and focus-time events. For example, searching for \"Office\" or \"Bureau\" returns working location events of type officeLocation, whereas searching for \"Out of office\" or \"Abwesend\" returns out-of-office events. Optional.", +"location": "query", +"type": "string" +}, +"sharedExtendedProperty": { +"description": "Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.", +"location": "query", +"repeated": true, +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showHiddenInvitations": { +"description": "Whether to include hidden invitations in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"singleEvents": { +"description": "Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nThere are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.\n\nThese are: \n- iCalUID \n- orderBy \n- privateExtendedProperty \n- q \n- sharedExtendedProperty \n- timeMin \n- timeMax \n- updatedMin All other query parameters should be the same as for the initial synchronization to avoid undefined behavior. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +}, +"timeMax": { +"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeMin": { +"description": "Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeZone": { +"description": "Time zone used in the response. Optional. The default is the time zone of the calendar.", +"location": "query", +"type": "string" +}, +"updatedMin": { +"description": "Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.", +"format": "date-time", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events", +"response": { +"$ref": "Events" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.events.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +], +"supportsSubscription": true +}, +"move": { +"description": "Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; birthday, focusTime, fromGmail, outOfOffice and workingLocation events cannot be moved.", +"httpMethod": "POST", +"id": "calendar.events.move", +"parameterOrder": [ +"calendarId", +"eventId", +"destination" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier of the source calendar where the event currently is on.", +"location": "path", +"required": true, +"type": "string" +}, +"destination": { +"description": "Calendar identifier of the target calendar where the event is to be moved to.", +"location": "query", +"required": true, +"type": "string" +}, +"eventId": { +"description": "Event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the change of the event's organizer. Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Guests who should receive notifications about the change of the event's organizer.", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. For calendar migration tasks, consider using the Events.import method instead." +], +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/{eventId}/move", +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"patch": { +"description": "Updates an event. This method supports patch semantics.", +"httpMethod": "PATCH", +"id": "calendar.events.patch", +"parameterOrder": [ +"calendarId", +"eventId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"conferenceDataVersion": { +"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.", +"format": "int32", +"location": "query", +"maximum": "1", +"minimum": "0", +"type": "integer" +}, +"eventId": { +"description": "Event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Guests who should receive notifications about the event update (for example, title changes, etc.).", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. For calendar migration tasks, consider using the Events.import method instead." +], +"location": "query", +"type": "string" +}, +"supportsAttachments": { +"description": "Whether API client performing operation supports event attachments. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/events/{eventId}", +"request": { +"$ref": "Event" +}, +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"quickAdd": { +"description": "Creates an event based on a simple text string.", +"httpMethod": "POST", +"id": "calendar.events.quickAdd", +"parameterOrder": [ +"calendarId", +"text" +], +"parameters": { +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Guests who should receive notifications about the creation of the new event.", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. For calendar migration tasks, consider using the Events.import method instead." +], +"location": "query", +"type": "string" +}, +"text": { +"description": "The text describing the event to be created.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/quickAdd", +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"update": { +"description": "Updates an event.", +"httpMethod": "PUT", +"id": "calendar.events.update", +"parameterOrder": [ +"calendarId", +"eventId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"conferenceDataVersion": { +"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.", +"format": "int32", +"location": "query", +"maximum": "1", +"minimum": "0", +"type": "integer" +}, +"eventId": { +"description": "Event identifier.", +"location": "path", +"required": true, +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"sendNotifications": { +"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.", +"location": "query", +"type": "boolean" +}, +"sendUpdates": { +"description": "Guests who should receive notifications about the event update (for example, title changes, etc.).", +"enum": [ +"all", +"externalOnly", +"none" +], +"enumDescriptions": [ +"Notifications are sent to all guests.", +"Notifications are sent to non-Google Calendar guests only.", +"No notifications are sent. For calendar migration tasks, consider using the Events.import method instead." +], +"location": "query", +"type": "string" +}, +"supportsAttachments": { +"description": "Whether API client performing operation supports event attachments. Optional. The default is False.", +"location": "query", +"type": "boolean" +} +}, +"path": "calendars/{calendarId}/events/{eventId}", +"request": { +"$ref": "Event" +}, +"response": { +"$ref": "Event" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.owned" +] +}, +"watch": { +"description": "Watch for changes to Events resources.", +"httpMethod": "POST", +"id": "calendar.events.watch", +"parameterOrder": [ +"calendarId" +], +"parameters": { +"alwaysIncludeEmail": { +"description": "Deprecated and ignored.", +"location": "query", +"type": "boolean" +}, +"calendarId": { +"description": "Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \"primary\" keyword.", +"location": "path", +"required": true, +"type": "string" +}, +"eventTypes": { +"description": "Event types to return. Optional. This parameter can be repeated multiple times to return events of different types. If unset, returns all event types.", +"enum": [ +"birthday", +"default", +"focusTime", +"fromGmail", +"outOfOffice", +"workingLocation" +], +"enumDescriptions": [ +"Special all-day events with an annual recurrence.", +"Regular events.", +"Focus time events.", +"Events from Gmail.", +"Out of office events.", +"Working location events." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"iCalUID": { +"description": "Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.", +"location": "query", +"type": "string" +}, +"maxAttendees": { +"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"maxResults": { +"default": "250", +"description": "Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"orderBy": { +"description": "The order of the events returned in the result. Optional. The default is an unspecified, stable order.", +"enum": [ +"startTime", +"updated" +], +"enumDescriptions": [ +"Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)", +"Order by last modification time (ascending)." +], +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"privateExtendedProperty": { +"description": "Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.", +"location": "query", +"repeated": true, +"type": "string" +}, +"q": { +"description": "Free text search terms to find events that match these terms in the following fields:\n\n- summary \n- description \n- location \n- attendee's displayName \n- attendee's email \n- organizer's displayName \n- organizer's email \n- workingLocationProperties.officeLocation.buildingId \n- workingLocationProperties.officeLocation.deskId \n- workingLocationProperties.officeLocation.label \n- workingLocationProperties.customLocation.label \nThese search terms also match predefined keywords against all display title translations of working location, out-of-office, and focus-time events. For example, searching for \"Office\" or \"Bureau\" returns working location events of type officeLocation, whereas searching for \"Out of office\" or \"Abwesend\" returns out-of-office events. Optional.", +"location": "query", +"type": "string" +}, +"sharedExtendedProperty": { +"description": "Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.", +"location": "query", +"repeated": true, +"type": "string" +}, +"showDeleted": { +"description": "Whether to include deleted events (with status equals \"cancelled\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"showHiddenInvitations": { +"description": "Whether to include hidden invitations in the result. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"singleEvents": { +"description": "Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.", +"location": "query", +"type": "boolean" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.\nThere are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.\n\nThese are: \n- iCalUID \n- orderBy \n- privateExtendedProperty \n- q \n- sharedExtendedProperty \n- timeMin \n- timeMax \n- updatedMin All other query parameters should be the same as for the initial synchronization to avoid undefined behavior. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +}, +"timeMax": { +"description": "Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeMin": { +"description": "Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.", +"format": "date-time", +"location": "query", +"type": "string" +}, +"timeZone": { +"description": "Time zone used in the response. Optional. The default is the time zone of the calendar.", +"location": "query", +"type": "string" +}, +"updatedMin": { +"description": "Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.", +"format": "date-time", +"location": "query", +"type": "string" +} +}, +"path": "calendars/{calendarId}/events/watch", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.app.created", +"https://www.googleapis.com/auth/calendar.events", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.events.owned", +"https://www.googleapis.com/auth/calendar.events.owned.readonly", +"https://www.googleapis.com/auth/calendar.events.public.readonly", +"https://www.googleapis.com/auth/calendar.events.readonly", +"https://www.googleapis.com/auth/calendar.readonly" +], +"supportsSubscription": true +} +} +}, +"freebusy": { +"methods": { +"query": { +"description": "Returns free/busy information for a set of calendars.", +"httpMethod": "POST", +"id": "calendar.freebusy.query", +"path": "freeBusy", +"request": { +"$ref": "FreeBusyRequest" +}, +"response": { +"$ref": "FreeBusyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.events.freebusy", +"https://www.googleapis.com/auth/calendar.freebusy", +"https://www.googleapis.com/auth/calendar.readonly" +] +} +} +}, +"settings": { +"methods": { +"get": { +"description": "Returns a single user setting.", +"httpMethod": "GET", +"id": "calendar.settings.get", +"parameterOrder": [ +"setting" +], +"parameters": { +"setting": { +"description": "The id of the user setting.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "users/me/settings/{setting}", +"response": { +"$ref": "Setting" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.readonly", +"https://www.googleapis.com/auth/calendar.settings.readonly" +] +}, +"list": { +"description": "Returns all user settings for the authenticated user.", +"httpMethod": "GET", +"id": "calendar.settings.list", +"parameters": { +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "users/me/settings", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.readonly", +"https://www.googleapis.com/auth/calendar.settings.readonly" +], +"supportsSubscription": true +}, +"watch": { +"description": "Watch for changes to Settings resources.", +"httpMethod": "POST", +"id": "calendar.settings.watch", +"parameters": { +"maxResults": { +"description": "Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.", +"format": "int32", +"location": "query", +"minimum": "1", +"type": "integer" +}, +"pageToken": { +"description": "Token specifying which result page to return. Optional.", +"location": "query", +"type": "string" +}, +"syncToken": { +"description": "Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.\nIf the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.\nLearn more about incremental synchronization.\nOptional. The default is to return all entries.", +"location": "query", +"type": "string" +} +}, +"path": "users/me/settings/watch", +"request": { +"$ref": "Channel", +"parameterName": "resource" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/calendar", +"https://www.googleapis.com/auth/calendar.readonly", +"https://www.googleapis.com/auth/calendar.settings.readonly" +], +"supportsSubscription": true +} +} +} +}, +"revision": "20260215", +"rootUrl": "https://www.googleapis.com/", +"schemas": { +"Acl": { +"id": "Acl", +"properties": { +"etag": { +"description": "ETag of the collection.", +"type": "string" +}, +"items": { +"description": "List of rules on the access control list.", +"items": { +"$ref": "AclRule" +}, +"type": "array" +}, +"kind": { +"default": "calendar#acl", +"description": "Type of the collection (\"calendar#acl\").", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.", +"type": "string" +}, +"nextSyncToken": { +"description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.", +"type": "string" +} +}, +"type": "object" +}, +"AclRule": { +"id": "AclRule", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "Identifier of the Access Control List (ACL) rule. See Sharing calendars.", +"type": "string" +}, +"kind": { +"default": "calendar#aclRule", +"description": "Type of the resource (\"calendar#aclRule\").", +"type": "string" +}, +"role": { +"annotations": { +"required": [ +"calendar.acl.insert" +] +}, +"description": "The role assigned to the scope. Possible values are: \n- \"none\" - Provides no access. \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. Provides read access to the calendar's ACLs. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", +"type": "string" +}, +"scope": { +"annotations": { +"required": [ +"calendar.acl.insert", +"calendar.acl.update" +] +}, +"description": "The extent to which calendar access is granted by this ACL rule.", +"properties": { +"type": { +"annotations": { +"required": [ +"calendar.acl.insert", +"calendar.acl.update" +] +}, +"description": "The type of the scope. Possible values are: \n- \"default\" - The public scope. This is the default value. \n- \"user\" - Limits the scope to a single user. \n- \"group\" - Limits the scope to a group. \n- \"domain\" - Limits the scope to a domain. Note: The permissions granted to the \"default\", or public, scope apply to any user, authenticated or not.", +"type": "string" +}, +"value": { +"description": "The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type \"default\".", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"Calendar": { +"id": "Calendar", +"properties": { +"autoAcceptInvitations": { +"description": "Whether this calendar automatically accepts invitations. Only valid for resource calendars.", +"type": "boolean" +}, +"conferenceProperties": { +"$ref": "ConferenceProperties", +"description": "Conferencing properties for this calendar, for example what types of conferences are allowed." +}, +"dataOwner": { +"description": "The email of the owner of the calendar. Set only for secondary calendars. Read-only.", +"type": "string" +}, +"description": { +"description": "Description of the calendar. Optional.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "Identifier of the calendar. To retrieve IDs call the calendarList.list() method.", +"type": "string" +}, +"kind": { +"default": "calendar#calendar", +"description": "Type of the resource (\"calendar#calendar\").", +"type": "string" +}, +"location": { +"description": "Geographic location of the calendar as free-form text. Optional.", +"type": "string" +}, +"summary": { +"annotations": { +"required": [ +"calendar.calendars.insert" +] +}, +"description": "Title of the calendar.", +"type": "string" +}, +"timeZone": { +"description": "The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. \"Europe/Zurich\".) Optional.", +"type": "string" +} +}, +"type": "object" +}, +"CalendarList": { +"id": "CalendarList", +"properties": { +"etag": { +"description": "ETag of the collection.", +"type": "string" +}, +"items": { +"description": "Calendars that are present on the user's calendar list.", +"items": { +"$ref": "CalendarListEntry" +}, +"type": "array" +}, +"kind": { +"default": "calendar#calendarList", +"description": "Type of the collection (\"calendar#calendarList\").", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.", +"type": "string" +}, +"nextSyncToken": { +"description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.", +"type": "string" +} +}, +"type": "object" +}, +"CalendarListEntry": { +"id": "CalendarListEntry", +"properties": { +"accessRole": { +"description": "The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", +"type": "string" +}, +"autoAcceptInvitations": { +"description": "Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.", +"type": "boolean" +}, +"backgroundColor": { +"description": "The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.", +"type": "string" +}, +"colorId": { +"description": "The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.", +"type": "string" +}, +"conferenceProperties": { +"$ref": "ConferenceProperties", +"description": "Conferencing properties for this calendar, for example what types of conferences are allowed." +}, +"dataOwner": { +"description": "The email of the owner of the calendar. Set only for secondary calendars. Read-only.", +"type": "string" +}, +"defaultReminders": { +"description": "The default reminders that the authenticated user has for this calendar.", +"items": { +"$ref": "EventReminder" +}, +"type": "array" +}, +"deleted": { +"default": "false", +"description": "Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.", +"type": "boolean" +}, +"description": { +"description": "Description of the calendar. Optional. Read-only.", +"type": "string" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"foregroundColor": { +"description": "The foreground color of the calendar in the hexadecimal format \"#ffffff\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.", +"type": "string" +}, +"hidden": { +"default": "false", +"description": "Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.", +"type": "boolean" +}, +"id": { +"annotations": { +"required": [ +"calendar.calendarList.insert" +] +}, +"description": "Identifier of the calendar.", +"type": "string" +}, +"kind": { +"default": "calendar#calendarListEntry", +"description": "Type of the resource (\"calendar#calendarListEntry\").", +"type": "string" +}, +"location": { +"description": "Geographic location of the calendar as free-form text. Optional. Read-only.", +"type": "string" +}, +"notificationSettings": { +"description": "The notifications that the authenticated user is receiving for this calendar.", +"properties": { +"notifications": { +"description": "The list of notifications set for this calendar.", +"items": { +"$ref": "CalendarNotification" +}, +"type": "array" +} +}, +"type": "object" +}, +"primary": { +"default": "false", +"description": "Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.", +"type": "boolean" +}, +"selected": { +"default": "false", +"description": "Whether the calendar content shows up in the calendar UI. Optional. The default is False.", +"type": "boolean" +}, +"summary": { +"description": "Title of the calendar. Read-only.", +"type": "string" +}, +"summaryOverride": { +"description": "The summary that the authenticated user has set for this calendar. Optional.", +"type": "string" +}, +"timeZone": { +"description": "The time zone of the calendar. Optional. Read-only.", +"type": "string" +} +}, +"type": "object" +}, +"CalendarNotification": { +"id": "CalendarNotification", +"properties": { +"method": { +"description": "The method used to deliver the notification. The possible value is: \n- \"email\" - Notifications are sent via email. \nRequired when adding a notification.", +"type": "string" +}, +"type": { +"description": "The type of notification. Possible values are: \n- \"eventCreation\" - Notification sent when a new event is put on the calendar. \n- \"eventChange\" - Notification sent when an event is changed. \n- \"eventCancellation\" - Notification sent when an event is cancelled. \n- \"eventResponse\" - Notification sent when an attendee responds to the event invitation. \n- \"agenda\" - An agenda with the events of the day (sent out in the morning). \nRequired when adding a notification.", +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"id": "Channel", +"properties": { +"address": { +"description": "The address where notifications are delivered for this channel.", +"type": "string" +}, +"expiration": { +"description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "A UUID or similar unique string that identifies this channel.", +"type": "string" +}, +"kind": { +"default": "api#channel", +"description": "Identifies this as a notification channel used to watch for changes to a resource, which is \"api#channel\".", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Declares a new parameter by name.", +"type": "string" +}, +"description": "Additional parameters controlling delivery channel behavior. Optional.", +"type": "object" +}, +"payload": { +"description": "A Boolean value to indicate whether payload is wanted. Optional.", +"type": "boolean" +}, +"resourceId": { +"description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.", +"type": "string" +}, +"resourceUri": { +"description": "A version-specific identifier for the watched resource.", +"type": "string" +}, +"token": { +"description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.", +"type": "string" +}, +"type": { +"description": "The type of delivery mechanism used for this channel. Valid values are \"web_hook\" (or \"webhook\"). Both values refer to a channel where Http requests are used to deliver messages.", +"type": "string" +} +}, +"type": "object" +}, +"ColorDefinition": { +"id": "ColorDefinition", +"properties": { +"background": { +"description": "The background color associated with this color definition.", +"type": "string" +}, +"foreground": { +"description": "The foreground color that can be used to write on top of a background with 'background' color.", +"type": "string" +} +}, +"type": "object" +}, +"Colors": { +"id": "Colors", +"properties": { +"calendar": { +"additionalProperties": { +"$ref": "ColorDefinition", +"description": "A calendar color definition." +}, +"description": "A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only.", +"type": "object" +}, +"event": { +"additionalProperties": { +"$ref": "ColorDefinition", +"description": "An event color definition." +}, +"description": "A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only.", +"type": "object" +}, +"kind": { +"default": "calendar#colors", +"description": "Type of the resource (\"calendar#colors\").", +"type": "string" +}, +"updated": { +"description": "Last modification time of the color palette (as a RFC3339 timestamp). Read-only.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"ConferenceData": { +"id": "ConferenceData", +"properties": { +"conferenceId": { +"description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nThe ID value is formed differently for each conference solution type: \n- eventHangout: ID is not set. (This conference type is deprecated.)\n- eventNamedHangout: ID is the name of the Hangout. (This conference type is deprecated.)\n- hangoutsMeet: ID is the 10-letter meeting code, for example aaa-bbbb-ccc.\n- addOn: ID is defined by the third-party provider. Optional.", +"type": "string" +}, +"conferenceSolution": { +"$ref": "ConferenceSolution", +"description": "The conference solution, such as Google Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required." +}, +"createRequest": { +"$ref": "CreateConferenceRequest", +"description": "A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.\nEither conferenceSolution and at least one entryPoint, or createRequest is required." +}, +"entryPoints": { +"description": "Information about individual conference entry points, such as URLs or phone numbers.\nAll of them must belong to the same conference.\nEither conferenceSolution and at least one entryPoint, or createRequest is required.", +"items": { +"$ref": "EntryPoint" +}, +"type": "array" +}, +"notes": { +"description": "Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional.", +"type": "string" +}, +"parameters": { +"$ref": "ConferenceParameters", +"description": "Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming." +}, +"signature": { +"description": "The signature of the conference data.\nGenerated on server side.\nUnset for a conference with a failed create request.\nOptional for a conference with a pending create request.", +"type": "string" +} +}, +"type": "object" +}, +"ConferenceParameters": { +"id": "ConferenceParameters", +"properties": { +"addOnParameters": { +"$ref": "ConferenceParametersAddOnParameters", +"description": "Additional add-on specific data." +} +}, +"type": "object" +}, +"ConferenceParametersAddOnParameters": { +"id": "ConferenceParametersAddOnParameters", +"properties": { +"parameters": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"ConferenceProperties": { +"id": "ConferenceProperties", +"properties": { +"allowedConferenceSolutionTypes": { +"description": "The types of conference solutions that are supported for this calendar.\nThe possible values are: \n- \"eventHangout\" \n- \"eventNamedHangout\" \n- \"hangoutsMeet\" Optional.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConferenceRequestStatus": { +"id": "ConferenceRequestStatus", +"properties": { +"statusCode": { +"description": "The current status of the conference create request. Read-only.\nThe possible values are: \n- \"pending\": the conference create request is still being processed.\n- \"success\": the conference create request succeeded, the entry points are populated.\n- \"failure\": the conference create request failed, there are no entry points.", +"type": "string" +} +}, +"type": "object" +}, +"ConferenceSolution": { +"id": "ConferenceSolution", +"properties": { +"iconUri": { +"description": "The user-visible icon for this solution.", +"type": "string" +}, +"key": { +"$ref": "ConferenceSolutionKey", +"description": "The key which can uniquely identify the conference solution for this event." +}, +"name": { +"description": "The user-visible name of this solution. Not localized.", +"type": "string" +} +}, +"type": "object" +}, +"ConferenceSolutionKey": { +"id": "ConferenceSolutionKey", +"properties": { +"type": { +"description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created)\n- \"eventNamedHangout\" for classic Hangouts for Google Workspace users (deprecated; existing events may show this conference solution type but new conferences cannot be created)\n- \"hangoutsMeet\" for Google Meet (http://meet.google.com)\n- \"addOn\" for 3P conference providers", +"type": "string" +} +}, +"type": "object" +}, +"CreateConferenceRequest": { +"id": "CreateConferenceRequest", +"properties": { +"conferenceSolutionKey": { +"$ref": "ConferenceSolutionKey", +"description": "The conference solution, such as Hangouts or Google Meet." +}, +"requestId": { +"description": "The client-generated unique ID for this request.\nClients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored.", +"type": "string" +}, +"status": { +"$ref": "ConferenceRequestStatus", +"description": "The status of the conference create request." +} +}, +"type": "object" +}, +"EntryPoint": { +"id": "EntryPoint", +"properties": { +"accessCode": { +"description": "The access code to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional.", +"type": "string" +}, +"entryPointFeatures": { +"description": "Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.", +"items": { +"type": "string" +}, +"type": "array" +}, +"entryPointType": { +"description": "The type of the conference entry point.\nPossible values are: \n- \"video\" - joining a conference over HTTP. A conference can have zero or one video entry point.\n- \"phone\" - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.\n- \"sip\" - joining a conference over SIP. A conference can have zero or one sip entry point.\n- \"more\" - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference.", +"type": "string" +}, +"label": { +"description": "The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.\nExamples: \n- for video: meet.google.com/aaa-bbbb-ccc\n- for phone: +1 123 268 2601\n- for sip: 12345678@altostrat.com\n- for more: should not be filled \nOptional.", +"type": "string" +}, +"meetingCode": { +"description": "The meeting code to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional.", +"type": "string" +}, +"passcode": { +"description": "The passcode to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.", +"type": "string" +}, +"password": { +"description": "The password to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional.", +"type": "string" +}, +"pin": { +"description": "The PIN to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional.", +"type": "string" +}, +"regionCode": { +"description": "The CLDR/ISO 3166 region code for the country associated with this phone access. Example: \"SE\" for Sweden.\nCalendar backend will populate this field only for EntryPointType.PHONE.", +"type": "string" +}, +"uri": { +"description": "The URI of the entry point. The maximum length is 1300 characters.\nFormat: \n- for video, http: or https: schema is required.\n- for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).\n- for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.\n- for more, http: or https: schema is required.", +"type": "string" +} +}, +"type": "object" +}, +"Error": { +"id": "Error", +"properties": { +"domain": { +"description": "Domain, or broad category, of the error.", +"type": "string" +}, +"reason": { +"description": "Specific reason for the error. Some of the possible values are: \n- \"groupTooBig\" - The group of users requested is too large for a single query. \n- \"tooManyCalendarsRequested\" - The number of calendars requested is too large for a single query. \n- \"notFound\" - The requested resource was not found. \n- \"internalError\" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully handle additional error statuses not included in this list.", +"type": "string" +} +}, +"type": "object" +}, +"Event": { +"id": "Event", +"properties": { +"anyoneCanAddSelf": { +"default": "false", +"description": "Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.", +"type": "boolean" +}, +"attachments": { +"description": "File attachments for the event.\nIn order to modify attachments the supportsAttachments request parameter should be set to true.\nThere can be at most 25 attachments per event,", +"items": { +"$ref": "EventAttachment" +}, +"type": "array" +}, +"attendees": { +"description": "The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.", +"items": { +"$ref": "EventAttendee" +}, +"type": "array" +}, +"attendeesOmitted": { +"default": "false", +"description": "Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.", +"type": "boolean" +}, +"birthdayProperties": { +"$ref": "EventBirthdayProperties", +"description": "Birthday or special event data. Used if eventType is \"birthday\". Immutable." +}, +"colorId": { +"description": "The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional.", +"type": "string" +}, +"conferenceData": { +"$ref": "ConferenceData", +"description": "The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests. Warning: Reusing Google Meet conference data across different events can cause access issues and expose meeting details to unintended users. To help ensure meeting privacy, always generate a unique conference for each event by using the createRequest field." +}, +"created": { +"description": "Creation time of the event (as a RFC3339 timestamp). Read-only.", +"format": "date-time", +"type": "string" +}, +"creator": { +"description": "The creator of the event. Read-only.", +"properties": { +"displayName": { +"description": "The creator's name, if available.", +"type": "string" +}, +"email": { +"description": "The creator's email address, if available.", +"type": "string" +}, +"id": { +"description": "The creator's Profile ID, if available.", +"type": "string" +}, +"self": { +"default": "false", +"description": "Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.", +"type": "boolean" +} +}, +"type": "object" +}, +"description": { +"description": "Description of the event. Can contain HTML. Optional.", +"type": "string" +}, +"end": { +"$ref": "EventDateTime", +"annotations": { +"required": [ +"calendar.events.import", +"calendar.events.insert", +"calendar.events.update" +] +}, +"description": "The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance." +}, +"endTimeUnspecified": { +"default": "false", +"description": "Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.", +"type": "boolean" +}, +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"eventType": { +"default": "default", +"description": "Specific type of the event. This cannot be modified after the event is created. Possible values are: \n- \"birthday\" - A special all-day event with an annual recurrence. \n- \"default\" - A regular event or not further specified. \n- \"focusTime\" - A focus-time event. \n- \"fromGmail\" - An event from Gmail. This type of event cannot be created. \n- \"outOfOffice\" - An out-of-office event. \n- \"workingLocation\" - A working location event.", +"type": "string" +}, +"extendedProperties": { +"description": "Extended properties of the event.", +"properties": { +"private": { +"additionalProperties": { +"description": "The name of the private property and the corresponding value.", +"type": "string" +}, +"description": "Properties that are private to the copy of the event that appears on this calendar.", +"type": "object" +}, +"shared": { +"additionalProperties": { +"description": "The name of the shared property and the corresponding value.", +"type": "string" +}, +"description": "Properties that are shared between copies of the event on other attendees' calendars.", +"type": "object" +} +}, +"type": "object" +}, +"focusTimeProperties": { +"$ref": "EventFocusTimeProperties", +"description": "Focus Time event data. Used if eventType is focusTime." +}, +"gadget": { +"description": "A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.", +"properties": { +"display": { +"description": "The gadget's display mode. Deprecated. Possible values are: \n- \"icon\" - The gadget displays next to the event's title in the calendar view. \n- \"chip\" - The gadget displays when the event is clicked.", +"type": "string" +}, +"height": { +"description": "The gadget's height in pixels. The height must be an integer greater than 0. Optional. Deprecated.", +"format": "int32", +"type": "integer" +}, +"iconLink": { +"description": "The gadget's icon URL. The URL scheme must be HTTPS. Deprecated.", +"type": "string" +}, +"link": { +"description": "The gadget's URL. The URL scheme must be HTTPS. Deprecated.", +"type": "string" +}, +"preferences": { +"additionalProperties": { +"description": "The preference name and corresponding value.", +"type": "string" +}, +"description": "Preferences.", +"type": "object" +}, +"title": { +"description": "The gadget's title. Deprecated.", +"type": "string" +}, +"type": { +"description": "The gadget's type. Deprecated.", +"type": "string" +}, +"width": { +"description": "The gadget's width in pixels. The width must be an integer greater than 0. Optional. Deprecated.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"guestsCanInviteOthers": { +"default": "true", +"description": "Whether attendees other than the organizer can invite others to the event. Optional. The default is True.", +"type": "boolean" +}, +"guestsCanModify": { +"default": "false", +"description": "Whether attendees other than the organizer can modify the event. Optional. The default is False.", +"type": "boolean" +}, +"guestsCanSeeOtherGuests": { +"default": "true", +"description": "Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.", +"type": "boolean" +}, +"hangoutLink": { +"description": "An absolute link to the Google Hangout associated with this event. Read-only.", +"type": "string" +}, +"htmlLink": { +"description": "An absolute link to this event in the Google Calendar Web UI. Read-only.", +"type": "string" +}, +"iCalUID": { +"annotations": { +"required": [ +"calendar.events.import" +] +}, +"description": "Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method.\nNote that the iCalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same iCalUIDs. To retrieve an event using its iCalUID, call the events.list method using the iCalUID parameter. To retrieve an event using its id, call the events.get method.", +"type": "string" +}, +"id": { +"description": "Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: \n- characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 \n- the length of the ID must be between 5 and 1024 characters \n- the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.\nIf you do not specify an ID, it will be automatically generated by the server.\nNote that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.", +"type": "string" +}, +"kind": { +"default": "calendar#event", +"description": "Type of the resource (\"calendar#event\").", +"type": "string" +}, +"location": { +"description": "Geographic location of the event as free-form text. Optional.", +"type": "string" +}, +"locked": { +"default": "false", +"description": "Whether this is a locked event copy where no changes can be made to the main event fields \"summary\", \"description\", \"location\", \"start\", \"end\" or \"recurrence\". The default is False. Read-Only.", +"type": "boolean" +}, +"organizer": { +"description": "The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.", +"properties": { +"displayName": { +"description": "The organizer's name, if available.", +"type": "string" +}, +"email": { +"description": "The organizer's email address, if available. It must be a valid email address as per RFC5322.", +"type": "string" +}, +"id": { +"description": "The organizer's Profile ID, if available.", +"type": "string" +}, +"self": { +"default": "false", +"description": "Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.", +"type": "boolean" +} +}, +"type": "object" +}, +"originalStartTime": { +"$ref": "EventDateTime", +"description": "For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable." +}, +"outOfOfficeProperties": { +"$ref": "EventOutOfOfficeProperties", +"description": "Out of office event data. Used if eventType is outOfOffice." +}, +"privateCopy": { +"default": "false", +"description": "If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.", +"type": "boolean" +}, +"recurrence": { +"description": "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.", +"items": { +"type": "string" +}, +"type": "array" +}, +"recurringEventId": { +"description": "For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.", +"type": "string" +}, +"reminders": { +"description": "Information about the event's reminders for the authenticated user. Note that changing reminders does not also change the updated property of the enclosing event.", +"properties": { +"overrides": { +"description": "If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.", +"items": { +"$ref": "EventReminder" +}, +"type": "array" +}, +"useDefault": { +"description": "Whether the default reminders of the calendar apply to the event.", +"type": "boolean" +} +}, +"type": "object" +}, +"sequence": { +"description": "Sequence number as per iCalendar.", +"format": "int32", +"type": "integer" +}, +"source": { +"description": "Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.", +"properties": { +"title": { +"description": "Title of the source; for example a title of a web page or an email subject.", +"type": "string" +}, +"url": { +"description": "URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.", +"type": "string" +} +}, +"type": "object" +}, +"start": { +"$ref": "EventDateTime", +"annotations": { +"required": [ +"calendar.events.import", +"calendar.events.insert", +"calendar.events.update" +] +}, +"description": "The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance." +}, +"status": { +"description": "Status of the event. Optional. Possible values are: \n- \"confirmed\" - The event is confirmed. This is the default status. \n- \"tentative\" - The event is tentatively confirmed. \n- \"cancelled\" - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.\nA cancelled status represents two different states depending on the event type: \n- Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.\nCancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty. \n- All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.\nDeleted events are only guaranteed to have the id field populated. On the organizer's calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.\nIf an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated.", +"type": "string" +}, +"summary": { +"description": "Title of the event.", +"type": "string" +}, +"transparency": { +"default": "opaque", +"description": "Whether the event blocks time on the calendar. Optional. Possible values are: \n- \"opaque\" - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI. \n- \"transparent\" - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI.", +"type": "string" +}, +"updated": { +"description": "Last modification time of the main event data (as a RFC3339 timestamp). Updating event reminders will not cause this to change. Read-only.", +"format": "date-time", +"type": "string" +}, +"visibility": { +"default": "default", +"description": "Visibility of the event. Optional. Possible values are: \n- \"default\" - Uses the default visibility for events on the calendar. This is the default value. \n- \"public\" - The event is public and event details are visible to all readers of the calendar. \n- \"private\" - The event is private and only event attendees may view event details. \n- \"confidential\" - The event is private. This value is provided for compatibility reasons.", +"type": "string" +}, +"workingLocationProperties": { +"$ref": "EventWorkingLocationProperties", +"description": "Working location event data." +} +}, +"type": "object" +}, +"EventAttachment": { +"id": "EventAttachment", +"properties": { +"fileId": { +"description": "ID of the attached file. Read-only.\nFor Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.", +"type": "string" +}, +"fileUrl": { +"description": "URL link to the attachment.\nFor adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.\nRequired when adding an attachment.", +"type": "string" +}, +"iconLink": { +"description": "URL link to the attachment's icon. This field can only be modified for custom third-party attachments.", +"type": "string" +}, +"mimeType": { +"description": "Internet media type (MIME type) of the attachment.", +"type": "string" +}, +"title": { +"description": "Attachment title.", +"type": "string" +} +}, +"type": "object" +}, +"EventAttendee": { +"id": "EventAttendee", +"properties": { +"additionalGuests": { +"default": "0", +"description": "Number of additional guests. Optional. The default is 0.", +"format": "int32", +"type": "integer" +}, +"comment": { +"description": "The attendee's response comment. Optional.", +"type": "string" +}, +"displayName": { +"description": "The attendee's name, if available. Optional.", +"type": "string" +}, +"email": { +"description": "The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.\nRequired when adding an attendee.", +"type": "string" +}, +"id": { +"description": "The attendee's Profile ID, if available.", +"type": "string" +}, +"optional": { +"default": "false", +"description": "Whether this is an optional attendee. Optional. The default is False.", +"type": "boolean" +}, +"organizer": { +"description": "Whether the attendee is the organizer of the event. Read-only. The default is False.", +"type": "boolean" +}, +"resource": { +"default": "false", +"description": "Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.", +"type": "boolean" +}, +"responseStatus": { +"description": "The attendee's response status. Possible values are: \n- \"needsAction\" - The attendee has not responded to the invitation (recommended for new events). \n- \"declined\" - The attendee has declined the invitation. \n- \"tentative\" - The attendee has tentatively accepted the invitation. \n- \"accepted\" - The attendee has accepted the invitation. Warning: If you add an event using the values declined, tentative, or accepted, attendees with the \"Add invitations to my calendar\" setting set to \"When I respond to invitation in email\" or \"Only if the sender is known\" might have their response reset to needsAction and won't see an event in their calendar unless they change their response in the event invitation email. Furthermore, if more than 200 guests are invited to the event, response status is not propagated to the guests.", +"type": "string" +}, +"self": { +"default": "false", +"description": "Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False.", +"type": "boolean" +} +}, +"type": "object" +}, +"EventBirthdayProperties": { +"id": "EventBirthdayProperties", +"properties": { +"contact": { +"description": "Resource name of the contact this birthday event is linked to. This can be used to fetch contact details from People API. Format: \"people/c12345\". Read-only.", +"type": "string" +}, +"customTypeName": { +"description": "Custom type label specified for this event. This is populated if birthdayProperties.type is set to \"custom\". Read-only.", +"type": "string" +}, +"type": { +"default": "birthday", +"description": "Type of birthday or special event. Possible values are: \n- \"anniversary\" - An anniversary other than birthday. Always has a contact. \n- \"birthday\" - A birthday event. This is the default value. \n- \"custom\" - A special date whose label is further specified in the customTypeName field. Always has a contact. \n- \"other\" - A special date which does not fall into the other categories, and does not have a custom label. Always has a contact. \n- \"self\" - Calendar owner's own birthday. Cannot have a contact. The Calendar API only supports creating events with the type \"birthday\". The type cannot be changed after the event is created.", +"type": "string" +} +}, +"type": "object" +}, +"EventDateTime": { +"id": "EventDateTime", +"properties": { +"date": { +"description": "The date, in the format \"yyyy-mm-dd\", if this is an all-day event.", +"format": "date", +"type": "string" +}, +"dateTime": { +"description": "The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.", +"format": "date-time", +"type": "string" +}, +"timeZone": { +"description": "The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. \"Europe/Zurich\".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.", +"type": "string" +} +}, +"type": "object" +}, +"EventFocusTimeProperties": { +"id": "EventFocusTimeProperties", +"properties": { +"autoDeclineMode": { +"description": "Whether to decline meeting invitations which overlap Focus Time events. Valid values are declineNone, meaning that no meeting invitations are declined; declineAllConflictingInvitations, meaning that all conflicting meeting invitations that conflict with the event are declined; and declineOnlyNewConflictingInvitations, meaning that only new conflicting meeting invitations which arrive while the Focus Time event is present are to be declined.", +"type": "string" +}, +"chatStatus": { +"description": "The status to mark the user in Chat and related products. This can be available or doNotDisturb.", +"type": "string" +}, +"declineMessage": { +"description": "Response message to set if an existing event or new invitation is automatically declined by Calendar.", +"type": "string" +} +}, +"type": "object" +}, +"EventOutOfOfficeProperties": { +"id": "EventOutOfOfficeProperties", +"properties": { +"autoDeclineMode": { +"description": "Whether to decline meeting invitations which overlap Out of office events. Valid values are declineNone, meaning that no meeting invitations are declined; declineAllConflictingInvitations, meaning that all conflicting meeting invitations that conflict with the event are declined; and declineOnlyNewConflictingInvitations, meaning that only new conflicting meeting invitations which arrive while the Out of office event is present are to be declined.", +"type": "string" +}, +"declineMessage": { +"description": "Response message to set if an existing event or new invitation is automatically declined by Calendar.", +"type": "string" +} +}, +"type": "object" +}, +"EventReminder": { +"id": "EventReminder", +"properties": { +"method": { +"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"popup\" - Reminders are sent via a UI popup. \nRequired when adding a reminder.", +"type": "string" +}, +"minutes": { +"description": "Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).\nRequired when adding a reminder.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EventWorkingLocationProperties": { +"id": "EventWorkingLocationProperties", +"properties": { +"customLocation": { +"description": "If present, specifies that the user is working from a custom location.", +"properties": { +"label": { +"description": "An optional extra label for additional information.", +"type": "string" +} +}, +"type": "object" +}, +"homeOffice": { +"description": "If present, specifies that the user is working at home.", +"type": "any" +}, +"officeLocation": { +"description": "If present, specifies that the user is working from an office.", +"properties": { +"buildingId": { +"description": "An optional building identifier. This should reference a building ID in the organization's Resources database.", +"type": "string" +}, +"deskId": { +"description": "An optional desk identifier.", +"type": "string" +}, +"floorId": { +"description": "An optional floor identifier.", +"type": "string" +}, +"floorSectionId": { +"description": "An optional floor section identifier.", +"type": "string" +}, +"label": { +"description": "The office name that's displayed in Calendar Web and Mobile clients. We recommend you reference a building name in the organization's Resources database.", +"type": "string" +} +}, +"type": "object" +}, +"type": { +"description": "Type of the working location. Possible values are: \n- \"homeOffice\" - The user is working at home. \n- \"officeLocation\" - The user is working from an office. \n- \"customLocation\" - The user is working from a custom location. Any details are specified in a sub-field of the specified name, but this field may be missing if empty. Any other fields are ignored.\nRequired when adding working location properties.", +"type": "string" +} +}, +"type": "object" +}, +"Events": { +"id": "Events", +"properties": { +"accessRole": { +"description": "The user's access role for this calendar. Read-only. Possible values are: \n- \"none\" - The user has no access. \n- \"freeBusyReader\" - The user has read access to free/busy information. \n- \"reader\" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - The user has manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", +"type": "string" +}, +"defaultReminders": { +"description": "The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True).", +"items": { +"$ref": "EventReminder" +}, +"type": "array" +}, +"description": { +"description": "Description of the calendar. Read-only.", +"type": "string" +}, +"etag": { +"description": "ETag of the collection.", +"type": "string" +}, +"items": { +"description": "List of events on the calendar.", +"items": { +"$ref": "Event" +}, +"type": "array" +}, +"kind": { +"default": "calendar#events", +"description": "Type of the collection (\"calendar#events\").", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.", +"type": "string" +}, +"nextSyncToken": { +"description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.", +"type": "string" +}, +"summary": { +"description": "Title of the calendar. Read-only.", +"type": "string" +}, +"timeZone": { +"description": "The time zone of the calendar. Read-only.", +"type": "string" +}, +"updated": { +"description": "Last modification time of the calendar (as a RFC3339 timestamp). Read-only.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"FreeBusyCalendar": { +"id": "FreeBusyCalendar", +"properties": { +"busy": { +"description": "List of time ranges during which this calendar should be regarded as busy.", +"items": { +"$ref": "TimePeriod" +}, +"type": "array" +}, +"errors": { +"description": "Optional error(s) (if computation for the calendar failed).", +"items": { +"$ref": "Error" +}, +"type": "array" +} +}, +"type": "object" +}, +"FreeBusyGroup": { +"id": "FreeBusyGroup", +"properties": { +"calendars": { +"description": "List of calendars' identifiers within a group.", +"items": { +"type": "string" +}, +"type": "array" +}, +"errors": { +"description": "Optional error(s) (if computation for the group failed).", +"items": { +"$ref": "Error" +}, +"type": "array" +} +}, +"type": "object" +}, +"FreeBusyRequest": { +"id": "FreeBusyRequest", +"properties": { +"calendarExpansionMax": { +"description": "Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum value is 50.", +"format": "int32", +"type": "integer" +}, +"groupExpansionMax": { +"description": "Maximal number of calendar identifiers to be provided for a single group. Optional. An error is returned for a group with more members than this value. Maximum value is 100.", +"format": "int32", +"type": "integer" +}, +"items": { +"description": "List of calendars and/or groups to query.", +"items": { +"$ref": "FreeBusyRequestItem" +}, +"type": "array" +}, +"timeMax": { +"description": "The end of the interval for the query formatted as per RFC3339.", +"format": "date-time", +"type": "string" +}, +"timeMin": { +"description": "The start of the interval for the query formatted as per RFC3339.", +"format": "date-time", +"type": "string" +}, +"timeZone": { +"default": "UTC", +"description": "Time zone used in the response. Optional. The default is UTC.", +"type": "string" +} +}, +"type": "object" +}, +"FreeBusyRequestItem": { +"id": "FreeBusyRequestItem", +"properties": { +"id": { +"description": "The identifier of a calendar or a group.", +"type": "string" +} +}, +"type": "object" +}, +"FreeBusyResponse": { +"id": "FreeBusyResponse", +"properties": { +"calendars": { +"additionalProperties": { +"$ref": "FreeBusyCalendar", +"description": "Free/busy expansions for a single calendar." +}, +"description": "List of free/busy information for calendars.", +"type": "object" +}, +"groups": { +"additionalProperties": { +"$ref": "FreeBusyGroup", +"description": "List of calendars that are members of this group." +}, +"description": "Expansion of groups.", +"type": "object" +}, +"kind": { +"default": "calendar#freeBusy", +"description": "Type of the resource (\"calendar#freeBusy\").", +"type": "string" +}, +"timeMax": { +"description": "The end of the interval.", +"format": "date-time", +"type": "string" +}, +"timeMin": { +"description": "The start of the interval.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +}, +"Setting": { +"id": "Setting", +"properties": { +"etag": { +"description": "ETag of the resource.", +"type": "string" +}, +"id": { +"description": "The id of the user setting.", +"type": "string" +}, +"kind": { +"default": "calendar#setting", +"description": "Type of the resource (\"calendar#setting\").", +"type": "string" +}, +"value": { +"description": "Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"Settings": { +"id": "Settings", +"properties": { +"etag": { +"description": "Etag of the collection.", +"type": "string" +}, +"items": { +"description": "List of user settings.", +"items": { +"$ref": "Setting" +}, +"type": "array" +}, +"kind": { +"default": "calendar#settings", +"description": "Type of the collection (\"calendar#settings\").", +"type": "string" +}, +"nextPageToken": { +"description": "Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.", +"type": "string" +}, +"nextSyncToken": { +"description": "Token used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.", +"type": "string" +} +}, +"type": "object" +}, +"TimePeriod": { +"id": "TimePeriod", +"properties": { +"end": { +"description": "The (exclusive) end of the time period.", +"format": "date-time", +"type": "string" +}, +"start": { +"description": "The (inclusive) start of the time period.", +"format": "date-time", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "calendar/v3/", +"title": "Calendar API", +"version": "v3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ces.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ces.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f9a66d03b76a6ba4e8a7a5aa7b9d5e363e85c379 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ces.v1.json @@ -0,0 +1,6885 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/ces": { +"description": "Create, update, delete, and manage your Next Gen Agents" +}, +"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://ces.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Customer Engagement Suite", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://ces.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://ces.eu.rep.googleapis.com/", +"location": "eu" +} +], +"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": "ces:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://ces.mtls.googleapis.com/", +"name": "ces", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "ces.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"apps": { +"methods": { +"create": { +"description": "Creates a new app in the given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appId": { +"description": "Optional. The ID to use for the app, which will become the final component of the app's resource name. If not provided, a unique ID will be automatically assigned for the app.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to create an app in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"request": { +"$ref": "App" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the app. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the app to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeTool": { +"description": "Executes the given tool with the given arguments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}:executeTool", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.executeTool", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:executeTool", +"request": { +"$ref": "ExecuteToolRequest" +}, +"response": { +"$ref": "ExecuteToolResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportApp": { +"description": "Exports the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}:exportApp", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.exportApp", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the app to export.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:exportApp", +"request": { +"$ref": "ExportAppRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the app to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "App" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importApp": { +"description": "Imports the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps:importApp", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.importApp", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name with the location of the app to import.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps:importApp", +"request": { +"$ref": "ImportAppRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists apps in the given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the apps. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListApps call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the location to list apps from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/apps", +"response": { +"$ref": "ListAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the app. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "App" +}, +"response": { +"$ref": "App" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveToolSchema": { +"description": "Retrieve the schema of the given tool. The schema is computed on the fly for the given instance of the tool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}:retrieveToolSchema", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.retrieveToolSchema", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the app which the tool/toolset belongs to. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:retrieveToolSchema", +"request": { +"$ref": "RetrieveToolSchemaRequest" +}, +"response": { +"$ref": "RetrieveToolSchemaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"agents": { +"methods": { +"create": { +"description": "Creates a new agent in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/agents", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.agents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"agentId": { +"description": "Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to create an agent in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/agents", +"request": { +"$ref": "Agent" +}, +"response": { +"$ref": "Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified agent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/agents/{agentsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.agents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the agent. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the agent, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Indicates whether to forcefully delete the agent, even if it is still referenced by other app/agents/examples. * If `force = false`, the deletion fails if other agents/examples reference it. * If `force = true`, delete the agent and remove it from all referencing apps/agents/examples.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the agent to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified agent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/agents/{agentsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.agents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the agent to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists agents in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/agents", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.agents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the agents. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListAgents call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list agents from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/agents", +"response": { +"$ref": "ListAgentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified agent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/agents/{agentsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.agents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/agents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Agent" +}, +"response": { +"$ref": "Agent" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"changelogs": { +"methods": { +"get": { +"description": "Gets the specified changelog.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/changelogs/{changelogsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.changelogs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the changelog to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/changelogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Changelog" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the changelogs of the specified app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/changelogs", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.changelogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the changelogs. See https://google.aip.dev/160 for more details. The filter string can be used to filter by `action`, `resource_type`, `resource_name`, `author`, and `create_time`. The `:` comparator can be used for case-insensitive partial matching on string fields, while `=` performs an exact case-sensitive match. Examples: * `action:update` (case-insensitive partial match) * `action=\"Create\"` (case-sensitive exact match) * `resource_type:agent` * `resource_name:my-agent` * `author:me@example.com` * `create_time > \"2025-01-01T00:00:00Z\"` * `create_time <= \"2025-01-01T00:00:00Z\" AND resource_type:tool`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListChangelogs call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list changelogs from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/changelogs", +"response": { +"$ref": "ListChangelogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"conversations": { +"methods": { +"batchDelete": { +"description": "Batch deletes the specified conversations.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/conversations:batchDelete", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.conversations.batchDelete", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the app to delete conversations from. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations:batchDelete", +"request": { +"$ref": "BatchDeleteConversationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/conversations/{conversationsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.conversations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the conversation to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +}, +"source": { +"deprecated": true, +"description": "Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LIVE", +"SIMULATOR", +"EVAL" +], +"enumDescriptions": [ +"Unspecified source.", +"The conversation is from the live end user.", +"The conversation is from the simulator.", +"The conversation is from the evaluation." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified conversation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/conversations/{conversationsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.conversations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the conversation to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/conversations/[^/]+$", +"required": true, +"type": "string" +}, +"source": { +"deprecated": true, +"description": "Optional. Indicate the source of the conversation. If not set, all source will be searched.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LIVE", +"SIMULATOR", +"EVAL" +], +"enumDescriptions": [ +"Unspecified source.", +"The conversation is from the live end user.", +"The conversation is from the simulator.", +"The conversation is from the evaluation." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Conversation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists conversations in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/conversations", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.conversations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the conversations. See https://google.aip.dev/160 for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListConversations call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list conversations from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"source": { +"description": "Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LIVE", +"SIMULATOR", +"EVAL" +], +"enumDescriptions": [ +"Unspecified source.", +"The conversation is from the live end user.", +"The conversation is from the simulator.", +"The conversation is from the evaluation." +], +"location": "query", +"type": "string" +}, +"sources": { +"description": "Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LIVE", +"SIMULATOR", +"EVAL" +], +"enumDescriptions": [ +"Unspecified source.", +"The conversation is from the live end user.", +"The conversation is from the simulator.", +"The conversation is from the evaluation." +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+parent}/conversations", +"response": { +"$ref": "ListConversationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"deployments": { +"methods": { +"create": { +"description": "Creates a new deployment in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/deployments", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"deploymentId": { +"description": "Optional. The ID to use for the deployment, which will become the final component of the deployment's resource name. If not provided, a unique ID will be automatically assigned for the deployment.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent app. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/deployments/{deploymentsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.deployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag of the deployment. If an etag is provided and does not match the current etag of the deployment, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the deployment to delete. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists deployments in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/deployments", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of deployments to return. The service may return fewer than this value. If unspecified, at most 50 deployments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDeployments` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent app. Format: `projects/{project}/locations/{location}/apps/{app}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/deployments/{deploymentsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.deployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"examples": { +"methods": { +"create": { +"description": "Creates a new example in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.examples.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"exampleId": { +"description": "Optional. The ID to use for the example, which will become the final component of the example's resource name. If not provided, a unique ID will be automatically assigned for the example.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to create an example in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/examples", +"request": { +"$ref": "Example" +}, +"response": { +"$ref": "Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified example.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples/{examplesId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.examples.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the example. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the example, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the example to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified example.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples/{examplesId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.examples.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the example to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists examples in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.examples.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the examples. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListExamples call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list examples from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/examples", +"response": { +"$ref": "ListExamplesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified example.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/examples/{examplesId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.examples.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the example. Format: `projects/{project}/locations/{location}/apps/{app}/examples/{example}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/examples/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Example" +}, +"response": { +"$ref": "Example" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"guardrails": { +"methods": { +"create": { +"description": "Creates a new guardrail in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/guardrails", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.guardrails.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"guardrailId": { +"description": "Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to create a guardrail in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/guardrails", +"request": { +"$ref": "Guardrail" +}, +"response": { +"$ref": "Guardrail" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified guardrail.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/guardrails/{guardrailsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.guardrails.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the guardrail. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the guardrail, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Indicates whether to forcefully delete the guardrail, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any apps/agents still reference the guardrail. * If `force = true`, all existing references from apps/agents will be removed and the guardrail will be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the guardrail to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/guardrails/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified guardrail.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/guardrails/{guardrailsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.guardrails.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the guardrail to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/guardrails/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Guardrail" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists guardrails in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/guardrails", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.guardrails.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the guardrails. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListGuardrails call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list guardrails from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/guardrails", +"response": { +"$ref": "ListGuardrailsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified guardrail.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/guardrails/{guardrailsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.guardrails.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the guardrail. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/guardrails/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Guardrail" +}, +"response": { +"$ref": "Guardrail" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sessions": { +"methods": { +"generateChatToken": { +"description": "Generates a session scoped token for chat widget to authenticate with Session APIs.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/sessions/{sessionsId}:generateChatToken", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.sessions.generateChatToken", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:generateChatToken", +"request": { +"$ref": "GenerateChatTokenRequest" +}, +"response": { +"$ref": "GenerateChatTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"runSession": { +"description": "Initiates a single turn interaction with the CES agent within a session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/sessions/{sessionsId}:runSession", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.sessions.runSession", +"parameterOrder": [ +"session" +], +"parameters": { +"session": { +"description": "Required. The unique identifier of the session. Format: `projects/{project}/locations/{location}/apps/{app}/sessions/{session}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+session}:runSession", +"request": { +"$ref": "RunSessionRequest" +}, +"response": { +"$ref": "RunSessionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"tools": { +"methods": { +"create": { +"description": "Creates a new tool in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.tools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the app to create a tool in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"toolId": { +"description": "Optional. The ID to use for the tool, which will become the final component of the tool's resource name. If not provided, a unique ID will be automatically assigned for the tool.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/tools", +"request": { +"$ref": "Tool" +}, +"response": { +"$ref": "Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified tool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools/{toolsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.tools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by agents/examples. * If `force = false`, the deletion will fail if any agents still reference the tool. * If `force = true`, all existing references from agents will be removed and the tool will be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the tool to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified tool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools/{toolsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.tools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the tool to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists tools in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.tools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the tools. Use \"include_system_tools=true\" to include system tools in the response. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListTools call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list tools from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/tools", +"response": { +"$ref": "ListToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified tool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/tools/{toolsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.tools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the tool. Format: - `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone tools. `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}` for tools retrieved from a toolset. These tools are dynamic and output-only, they cannot be referenced directly where a tool is expected.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/tools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Tool" +}, +"response": { +"$ref": "Tool" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"toolsets": { +"methods": { +"create": { +"description": "Creates a new toolset in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.toolsets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the app to create a toolset in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +}, +"toolsetId": { +"description": "Optional. The ID to use for the toolset, which will become the final component of the toolset's resource name. If not provided, a unique ID will be automatically assigned for the toolset.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/toolsets", +"request": { +"$ref": "Toolset" +}, +"response": { +"$ref": "Toolset" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified toolset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets/{toolsetsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.toolsets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the toolset. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the toolset, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. Indicates whether to forcefully delete the toolset, even if it is still referenced by app/agents. * If `force = false`, the deletion fails if any agents still reference the toolset. * If `force = true`, all existing references from agents will be removed and the toolset will be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the toolset to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/toolsets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified toolset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets/{toolsetsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.toolsets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the toolset to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/toolsets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Toolset" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists toolsets in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.toolsets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the toolsets. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListToolsets call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list toolsets from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/toolsets", +"response": { +"$ref": "ListToolsetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified toolset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets/{toolsetsId}", +"httpMethod": "PATCH", +"id": "ces.projects.locations.apps.toolsets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The unique identifier of the toolset. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/toolsets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Toolset" +}, +"response": { +"$ref": "Toolset" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveTools": { +"description": "Retrieve the list of tools included in the specified toolset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/toolsets/{toolsetsId}:retrieveTools", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.toolsets.retrieveTools", +"parameterOrder": [ +"toolset" +], +"parameters": { +"toolset": { +"description": "Required. The name of the toolset to retrieve the tools for. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/toolsets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+toolset}:retrieveTools", +"request": { +"$ref": "RetrieveToolsRequest" +}, +"response": { +"$ref": "RetrieveToolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"versions": { +"methods": { +"create": { +"description": "Creates a new app version in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/versions", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"appVersionId": { +"description": "Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to create an app version in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "AppVersion" +}, +"response": { +"$ref": "AppVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified app version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.apps.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The current etag of the app version. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the app version, deletion will be blocked and an ABORTED error will be returned.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the app version to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of the specified app version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the app version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AppVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all app versions in the given app.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/versions", +"httpMethod": "GET", +"id": "ces.projects.locations.apps.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter to be applied when listing the app versions. See https://google.aip.dev/160 for more details.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to sort by. Only \"name\" and \"create_time\" is supported. See https://google.aip.dev/132#ordering for more details.", +"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. The next_page_token value returned from a previous list AgentService.ListAppVersions call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the app to list app versions from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "ListAppVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restores the specified app version. This will create a new app version from the current draft app and overwrite the current draft with the specified app version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apps/{appsId}/versions/{versionsId}:restore", +"httpMethod": "POST", +"id": "ces.projects.locations.apps.versions.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the app version to restore.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restore", +"request": { +"$ref": "RestoreAppVersionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "ces.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "ces.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "ces.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "ces.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ces", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260218", +"rootUrl": "https://ces.googleapis.com/", +"schemas": { +"Action": { +"description": "Configuration of an Action for the tool to use. Note: This can be either an Action or an Operation. See https://cloud.google.com/integration-connectors/docs/entities-operation-action for details.", +"id": "Action", +"properties": { +"connectionActionId": { +"description": "ID of a Connection action for the tool to use.", +"type": "string" +}, +"entityOperation": { +"$ref": "ActionEntityOperation", +"description": "Entity operation configuration for the tool to use." +}, +"inputFields": { +"description": "Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputFields": { +"description": "Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActionEntityOperation": { +"description": "Entity CRUD operation specification.", +"id": "ActionEntityOperation", +"properties": { +"entityId": { +"description": "Required. ID of the entity.", +"type": "string" +}, +"operation": { +"description": "Required. Operation to perform on the entity.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"LIST", +"GET", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"Operation type unspecified. Invalid, ConnectorTool create/update will fail.", +"List operation.", +"Get operation.", +"Create operation.", +"Update operation.", +"Delete operation." +], +"type": "string" +} +}, +"type": "object" +}, +"Agent": { +"description": "An agent acts as the fundamental building block that provides instructions to the Large Language Model (LLM) for executing specific tasks.", +"id": "Agent", +"properties": { +"afterAgentCallbacks": { +"description": "Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"afterModelCallbacks": { +"description": "Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"afterToolCallbacks": { +"description": "Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"beforeAgentCallbacks": { +"description": "Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"beforeModelCallbacks": { +"description": "Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"beforeToolCallbacks": { +"description": "Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.", +"items": { +"$ref": "Callback" +}, +"type": "array" +}, +"childAgents": { +"description": "Optional. List of child agents in the agent tree. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when the agent was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Human-readable description of the agent.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the agent.", +"type": "string" +}, +"etag": { +"description": "Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"type": "string" +}, +"generatedSummary": { +"description": "Output only. If the agent is generated by the LLM assistant, this field contains a descriptive summary of the generation.", +"readOnly": true, +"type": "string" +}, +"guardrails": { +"description": "Optional. List of guardrails for the agent. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"instruction": { +"description": "Optional. Instructions for the LLM model to guide the agent's behavior.", +"type": "string" +}, +"llmAgent": { +"$ref": "AgentLlmAgent", +"description": "Optional. The default agent type." +}, +"modelSettings": { +"$ref": "ModelSettings", +"description": "Optional. Configurations for the LLM model." +}, +"name": { +"description": "Identifier. The unique identifier of the agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +}, +"remoteDialogflowAgent": { +"$ref": "AgentRemoteDialogflowAgent", +"description": "Optional. The remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored. Note: If the Dialogflow agent is in a different project from the app, you should grant `roles/dialogflow.client` to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`." +}, +"tools": { +"description": "Optional. List of available tools for the agent. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"toolsets": { +"description": "Optional. List of toolsets for the agent.", +"items": { +"$ref": "AgentAgentToolset" +}, +"type": "array" +}, +"transferRules": { +"description": "Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.", +"items": { +"$ref": "TransferRule" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp when the agent was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AgentAgentToolset": { +"description": "A toolset with a selection of its tools.", +"id": "AgentAgentToolset", +"properties": { +"toolIds": { +"description": "Optional. The tools IDs to filter the toolset.", +"items": { +"type": "string" +}, +"type": "array" +}, +"toolset": { +"description": "Required. The resource name of the toolset. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`", +"type": "string" +} +}, +"type": "object" +}, +"AgentLlmAgent": { +"description": "Default agent type. The agent uses instructions and callbacks specified in the agent to perform the task using a large language model.", +"id": "AgentLlmAgent", +"properties": {}, +"type": "object" +}, +"AgentRemoteDialogflowAgent": { +"description": "The agent which will transfer execution to a remote [Dialogflow CX](https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent. The Dialogflow agent will process subsequent user queries until the session ends or flow ends, and the control is transferred back to the parent CES agent.", +"id": "AgentRemoteDialogflowAgent", +"properties": { +"agent": { +"description": "Required. The [Dialogflow](https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent) agent resource name. Format: `projects/{project}/locations/{location}/agents/{agent}`", +"type": "string" +}, +"environmentId": { +"description": "Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used.", +"type": "string" +}, +"flowId": { +"description": "Optional. The flow ID of the flow in the Dialogflow agent.", +"type": "string" +}, +"inputVariableMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.", +"type": "object" +}, +"outputVariableMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.", +"type": "object" +}, +"respectResponseInterruptionSettings": { +"description": "Optional. Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings. * If true: only response messages with [`allow_playback_interruption`](https://docs.cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#text) set to true will be interruptable, all other messages follow the app-level barge-in settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"AgentTransfer": { +"description": "Represents an event indicating the transfer of a conversation to a different agent.", +"id": "AgentTransfer", +"properties": { +"displayName": { +"description": "Output only. Display name of the agent.", +"readOnly": true, +"type": "string" +}, +"targetAgent": { +"description": "Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +} +}, +"type": "object" +}, +"AmbientSoundConfig": { +"description": "Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation.", +"id": "AmbientSoundConfig", +"properties": { +"gcsUri": { +"description": "Optional. Ambient noise as a mono-channel, 16kHz WAV file stored in [Cloud Storage](https://cloud.google.com/storage). Note: Please make sure the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object.", +"type": "string" +}, +"prebuiltAmbientNoise": { +"deprecated": true, +"description": "Optional. Deprecated: `prebuilt_ambient_noise` is deprecated in favor of `prebuilt_ambient_sound`.", +"enum": [ +"PREBUILT_AMBIENT_NOISE_UNSPECIFIED", +"RETAIL_STORE", +"CONVENTION_HALL", +"OUTDOOR" +], +"enumDescriptions": [ +"Not specified.", +"Ambient noise of a retail store.", +"Ambient noise of a convention hall.", +"Ambient noise of a street." +], +"type": "string" +}, +"prebuiltAmbientSound": { +"description": "Optional. Name of the prebuilt ambient sound. Valid values are: - \"coffee_shop\" - \"keyboard\" - \"keypad\" - \"hum\" - \"office_1\" - \"office_2\" - \"office_3\" - \"room_1\" - \"room_2\" - \"room_3\" - \"room_4\" - \"room_5\" - \"air_conditioner\"", +"type": "string" +}, +"volumeGainDb": { +"description": "Optional. Volume gain (in dB) of the normal native volume supported by ambient noise, in the range [-96.0, 16.0]. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ApiAuthentication": { +"description": "Authentication information required for API calls.", +"id": "ApiAuthentication", +"properties": { +"apiKeyConfig": { +"$ref": "ApiKeyConfig", +"description": "Optional. Config for API key auth." +}, +"bearerTokenConfig": { +"$ref": "BearerTokenConfig", +"description": "Optional. Config for bearer token auth." +}, +"oauthConfig": { +"$ref": "OAuthConfig", +"description": "Optional. Config for OAuth." +}, +"serviceAccountAuthConfig": { +"$ref": "ServiceAccountAuthConfig", +"description": "Optional. Config for service account authentication." +}, +"serviceAgentIdTokenAuthConfig": { +"$ref": "ServiceAgentIdTokenAuthConfig", +"description": "Optional. Config for ID token auth generated from CES service agent." +} +}, +"type": "object" +}, +"ApiKeyConfig": { +"description": "Configurations for authentication with API key.", +"id": "ApiKeyConfig", +"properties": { +"apiKeySecretVersion": { +"description": "Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secret}/versions/{version}` Note: You should grant `roles/secretmanager.secretAccessor` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.", +"type": "string" +}, +"keyName": { +"description": "Required. The parameter name or the header name of the API key. E.g., If the API request is \"https://example.com/act?X-Api-Key=\", \"X-Api-Key\" would be the parameter name.", +"type": "string" +}, +"requestLocation": { +"description": "Required. Key location in the request.", +"enum": [ +"REQUEST_LOCATION_UNSPECIFIED", +"HEADER", +"QUERY_STRING" +], +"enumDescriptions": [ +"Unspecified. This value should not be used.", +"Represents the key in http header.", +"Represents the key in query string." +], +"type": "string" +} +}, +"type": "object" +}, +"App": { +"description": "An app serves as a top-level container for a group of agents, including the root agent and its sub-agents, along with their associated configurations. These agents work together to achieve specific goals within the app's context.", +"id": "App", +"properties": { +"audioProcessingConfig": { +"$ref": "AudioProcessingConfig", +"description": "Optional. Audio processing configuration of the app." +}, +"clientCertificateSettings": { +"$ref": "ClientCertificateSettings", +"description": "Optional. The default client certificate settings for the app." +}, +"createTime": { +"description": "Output only. Timestamp when the app was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStoreSettings": { +"$ref": "DataStoreSettings", +"description": "Optional. The data store settings for the app." +}, +"defaultChannelProfile": { +"$ref": "ChannelProfile", +"description": "Optional. The default channel profile used by the app." +}, +"deploymentCount": { +"description": "Output only. Number of deployments in the app.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"description": { +"description": "Optional. Human-readable description of the app.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the app.", +"type": "string" +}, +"etag": { +"description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"readOnly": true, +"type": "string" +}, +"evaluationMetricsThresholds": { +"$ref": "EvaluationMetricsThresholds", +"description": "Optional. The evaluation thresholds for the app." +}, +"globalInstruction": { +"description": "Optional. Instructions for all the agents in the app. You can use this instruction to set up a stable identity or personality across all the agents.", +"type": "string" +}, +"guardrails": { +"description": "Optional. List of guardrails for the app. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"languageSettings": { +"$ref": "LanguageSettings", +"description": "Optional. Language settings of the app." +}, +"locked": { +"description": "Optional. Indicates whether the app is locked for changes. If the app is locked, modifications to the app resources will be rejected.", +"type": "boolean" +}, +"loggingSettings": { +"$ref": "LoggingSettings", +"description": "Optional. Logging settings of the app." +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata about the app. This field can be used to store additional information relevant to the app's details or intended usages.", +"type": "object" +}, +"modelSettings": { +"$ref": "ModelSettings", +"description": "Optional. The default LLM model settings for the app. Individual resources (e.g. agents, guardrails) can override these configurations as needed." +}, +"name": { +"description": "Identifier. The unique identifier of the app. Format: `projects/{project}/locations/{location}/apps/{app}`", +"type": "string" +}, +"pinned": { +"description": "Optional. Whether the app is pinned in the app list.", +"type": "boolean" +}, +"predefinedVariableDeclarations": { +"description": "Output only. The declarations of predefined variables for the app.", +"items": { +"$ref": "AppVariableDeclaration" +}, +"readOnly": true, +"type": "array" +}, +"rootAgent": { +"description": "Optional. The root agent is the entry point of the app. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +}, +"timeZoneSettings": { +"$ref": "TimeZoneSettings", +"description": "Optional. TimeZone settings of the app." +}, +"toolExecutionMode": { +"description": "Optional. The tool execution mode for the app. If not provided, will default to PARALLEL.", +"enum": [ +"TOOL_EXECUTION_MODE_UNSPECIFIED", +"PARALLEL", +"SEQUENTIAL" +], +"enumDescriptions": [ +"Unspecified tool execution mode. Default to PARALLEL.", +"If there are multiple tools being selected, they will be executed in parallel, with the same [ToolContext](https://google.github.io/adk-docs/context/#the-different-types-of-context).", +"If there are multiple tools being selected, they will be executed sequentially. The next tool will only be executed after the previous tool completes and it can see updated [ToolContext](https://google.github.io/adk-docs/context/#the-different-types-of-context) from the previous tool." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the app was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"variableDeclarations": { +"description": "Optional. The declarations of the variables.", +"items": { +"$ref": "AppVariableDeclaration" +}, +"type": "array" +} +}, +"type": "object" +}, +"AppSnapshot": { +"description": "A snapshot of the app.", +"id": "AppSnapshot", +"properties": { +"agents": { +"description": "Optional. List of agents in the app.", +"items": { +"$ref": "Agent" +}, +"type": "array" +}, +"app": { +"$ref": "App", +"description": "Optional. The basic settings for the app." +}, +"examples": { +"description": "Optional. List of examples in the app.", +"items": { +"$ref": "Example" +}, +"type": "array" +}, +"guardrails": { +"description": "Optional. List of guardrails in the app.", +"items": { +"$ref": "Guardrail" +}, +"type": "array" +}, +"tools": { +"description": "Optional. List of tools in the app.", +"items": { +"$ref": "Tool" +}, +"type": "array" +}, +"toolsets": { +"description": "Optional. List of toolsets in the app.", +"items": { +"$ref": "Toolset" +}, +"type": "array" +} +}, +"type": "object" +}, +"AppVariableDeclaration": { +"description": "Defines the structure and metadata for a variable.", +"id": "AppVariableDeclaration", +"properties": { +"description": { +"description": "Required. The description of the variable.", +"type": "string" +}, +"name": { +"description": "Required. The name of the variable. The name must start with a letter or underscore and contain only letters, numbers, or underscores.", +"type": "string" +}, +"schema": { +"$ref": "Schema", +"description": "Required. The schema of the variable." +} +}, +"type": "object" +}, +"AppVersion": { +"description": "In Customer Engagement Suite (CES), an app version is a snapshot of the app at a specific point in time. It is immutable and cannot be modified once created.", +"id": "AppVersion", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the app version was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. Email of the user who created the app version.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the app version.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the app version.", +"type": "string" +}, +"etag": { +"description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The unique identifier of the app version. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`", +"type": "string" +}, +"snapshot": { +"$ref": "AppSnapshot", +"description": "Output only. The snapshot of the app when the version is created.", +"readOnly": true +} +}, +"type": "object" +}, +"AudioProcessingConfig": { +"description": "Configuration for how the input and output audio should be processed and delivered.", +"id": "AudioProcessingConfig", +"properties": { +"ambientSoundConfig": { +"$ref": "AmbientSoundConfig", +"description": "Optional. Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation." +}, +"bargeInConfig": { +"$ref": "BargeInConfig", +"description": "Optional. Configures the agent behavior for the user barge-in activities." +}, +"inactivityTimeout": { +"description": "Optional. The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.", +"format": "google-duration", +"type": "string" +}, +"synthesizeSpeechConfigs": { +"additionalProperties": { +"$ref": "SynthesizeSpeechConfig" +}, +"description": "Optional. Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig. If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains \"en-us\" and \"en\", and the specified language code is \"en-gb\", then \"en\" configuration will be used. Note: Language code is case-insensitive.", +"type": "object" +} +}, +"type": "object" +}, +"AudioRecordingConfig": { +"description": "Configuration for how the audio interactions should be recorded.", +"id": "AudioRecordingConfig", +"properties": { +"gcsBucket": { +"description": "Optional. The [Cloud Storage](https://cloud.google.com/storage) bucket to store the session audio recordings. The URI must start with \"gs://\". Please choose a bucket location that meets your data residency requirements. Note: If the Cloud Storage bucket is in a different project from the app, you should grant `storage.objects.create` permission to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.", +"type": "string" +}, +"gcsPathPrefix": { +"description": "Optional. The Cloud Storage path prefix for audio recordings. This prefix can include the following placeholders, which will be dynamically substituted at serving time: - $project: project ID - $location: app location - $app: app ID - $date: session date in YYYY-MM-DD format - $session: session ID If the path prefix is not specified, the default prefix `$project/$location/$app/$date/$session/` will be used.", +"type": "string" +} +}, +"type": "object" +}, +"BargeInConfig": { +"description": "Configuration for how the user barge-in activities should be handled.", +"id": "BargeInConfig", +"properties": { +"bargeInAwareness": { +"description": "Optional. If enabled, the agent will adapt its next response based on the assumption that the user hasn't heard the full preceding agent message. This should not be used in scenarios where agent responses are displayed visually.", +"type": "boolean" +}, +"disableBargeIn": { +"deprecated": true, +"description": "Optional. Disables user barge-in while the agent is speaking. If true, user input during agent response playback will be ignored. Deprecated: `disable_barge_in` is deprecated in favor of `disable_barge_in_control` in ChannelProfile.", +"type": "boolean" +} +}, +"type": "object" +}, +"BatchDeleteConversationsRequest": { +"description": "Request message for AgentService.BatchDeleteConversations.", +"id": "BatchDeleteConversationsRequest", +"properties": { +"conversations": { +"description": "Required. The resource names of the conversations to delete.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BearerTokenConfig": { +"description": "Configurations for authentication with a bearer token.", +"id": "BearerTokenConfig", +"properties": { +"token": { +"description": "Required. The bearer token. Must be in the format `$context.variables.`.", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryExportSettings": { +"description": "Settings to describe the BigQuery export behaviors for the app.", +"id": "BigQueryExportSettings", +"properties": { +"dataset": { +"description": "Optional. The BigQuery dataset to export the data to.", +"type": "string" +}, +"enabled": { +"description": "Optional. Indicates whether the BigQuery export is enabled.", +"type": "boolean" +}, +"project": { +"description": "Optional. The project ID of the BigQuery dataset to export the data to. Note: If the BigQuery dataset is in a different project from the app, you should grant `roles/bigquery.admin` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.", +"type": "string" +} +}, +"type": "object" +}, +"Blob": { +"description": "Represents a blob input or output in the conversation.", +"id": "Blob", +"properties": { +"data": { +"description": "Required. Raw bytes of the blob.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data.", +"type": "string" +} +}, +"type": "object" +}, +"Callback": { +"description": "A callback defines the custom logic to be executed at various stages of agent interaction.", +"id": "Callback", +"properties": { +"description": { +"description": "Optional. Human-readable description of the callback.", +"type": "string" +}, +"disabled": { +"description": "Optional. Whether the callback is disabled. Disabled callbacks are ignored by the agent.", +"type": "boolean" +}, +"proactiveExecutionEnabled": { +"description": "Optional. If enabled, the callback will also be executed on intermediate model outputs. This setting only affects after model callback. **ENABLE WITH CAUTION**. Typically after model callback only needs to be executed after receiving all model responses. Enabling proactive execution may have negative implication on the execution cost and latency, and should only be enabled in rare situations.", +"type": "boolean" +}, +"pythonCode": { +"description": "Required. The python code to execute for the callback.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Changelog": { +"description": "Changelogs represent a change made to the app or to an resource within the app.", +"id": "Changelog", +"properties": { +"action": { +"description": "Output only. The action that was performed on the resource.", +"readOnly": true, +"type": "string" +}, +"author": { +"description": "Output only. Email address of the change author.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the change was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependentResources": { +"description": "Output only. The dependent resources that were changed.", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"readOnly": true, +"type": "array" +}, +"description": { +"description": "Output only. Description of the change. which typically captures the changed fields in the resource.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. Display name of the change. It typically should be the display name of the resource that was changed.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The unique identifier of the changelog. Format: `projects/{project}/locations/{location}/apps/{app}/changelogs/{changelog}`", +"type": "string" +}, +"newResource": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The new resource after the change.", +"readOnly": true, +"type": "object" +}, +"originalResource": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. The original resource before the change.", +"readOnly": true, +"type": "object" +}, +"resource": { +"description": "Output only. The resource that was changed.", +"readOnly": true, +"type": "string" +}, +"resourceType": { +"description": "Output only. The type of the resource that was changed.", +"readOnly": true, +"type": "string" +}, +"sequenceNumber": { +"description": "Output only. The monotonically increasing sequence number of the changelog.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ChannelProfile": { +"description": "A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony.", +"id": "ChannelProfile", +"properties": { +"channelType": { +"description": "Optional. The type of the channel profile.", +"enum": [ +"UNKNOWN", +"WEB_UI", +"API", +"TWILIO", +"GOOGLE_TELEPHONY_PLATFORM", +"CONTACT_CENTER_AS_A_SERVICE", +"FIVE9", +"CONTACT_CENTER_INTEGRATION" +], +"enumDescriptions": [ +"Unknown channel type.", +"Web UI channel.", +"API channel.", +"Twilio channel.", +"Google Telephony Platform channel.", +"Contact Center as a Service (CCaaS) channel.", +"Five9 channel.", +"Third party contact center integration channel." +], +"type": "string" +}, +"disableBargeInControl": { +"description": "Optional. Whether to disable user barge-in control in the conversation. - **true**: User interruptions are disabled while the agent is speaking. - **false**: The agent retains automatic control over when the user can interrupt.", +"type": "boolean" +}, +"disableDtmf": { +"description": "Optional. Whether to disable DTMF (dual-tone multi-frequency).", +"type": "boolean" +}, +"noiseSuppressionLevel": { +"description": "Optional. The noise suppression level of the channel profile. Available values are \"low\", \"moderate\", \"high\", \"very_high\".", +"type": "string" +}, +"personaProperty": { +"$ref": "ChannelProfilePersonaProperty", +"description": "Optional. The persona property of the channel profile." +}, +"profileId": { +"description": "Optional. The unique identifier of the channel profile.", +"type": "string" +}, +"webWidgetConfig": { +"$ref": "ChannelProfileWebWidgetConfig", +"description": "Optional. The configuration for the web widget." +} +}, +"type": "object" +}, +"ChannelProfilePersonaProperty": { +"description": "Represents the persona property of a channel.", +"id": "ChannelProfilePersonaProperty", +"properties": { +"persona": { +"description": "Optional. The persona of the channel.", +"enum": [ +"UNKNOWN", +"CONCISE", +"CHATTY" +], +"enumDescriptions": [ +"UNKNOWN persona.", +"The agent keeps the responses concise and to the point", +"The agent provides additional context, explanations, and details" +], +"type": "string" +} +}, +"type": "object" +}, +"ChannelProfileWebWidgetConfig": { +"description": "Message for configuration for the web widget.", +"id": "ChannelProfileWebWidgetConfig", +"properties": { +"modality": { +"description": "Optional. The modality of the web widget.", +"enum": [ +"MODALITY_UNSPECIFIED", +"CHAT_AND_VOICE", +"VOICE_ONLY", +"CHAT_ONLY" +], +"enumDescriptions": [ +"Unknown modality.", +"Widget supports both chat and voice input.", +"Widget supports only voice input.", +"Widget supports only chat input." +], +"type": "string" +}, +"securitySettings": { +"$ref": "ChannelProfileWebWidgetConfigSecuritySettings", +"description": "Optional. The security settings of the web widget." +}, +"theme": { +"description": "Optional. The theme of the web widget.", +"enum": [ +"THEME_UNSPECIFIED", +"LIGHT", +"DARK" +], +"enumDescriptions": [ +"Unknown theme.", +"Light theme.", +"Dark theme." +], +"type": "string" +}, +"webWidgetTitle": { +"description": "Optional. The title of the web widget.", +"type": "string" +} +}, +"type": "object" +}, +"ChannelProfileWebWidgetConfigSecuritySettings": { +"description": "Security settings for the web widget.", +"id": "ChannelProfileWebWidgetConfigSecuritySettings", +"properties": { +"allowedOrigins": { +"description": "Optional. The origins that are allowed to host the web widget. An origin is defined by RFC 6454. If empty, all origins are allowed. A maximum of 100 origins is allowed. Example: \"https://example.com\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableOriginCheck": { +"description": "Optional. Indicates whether origin check for the web widget is enabled. If `true`, the web widget will check the origin of the website that loads the web widget and only allow it to be loaded in the same origin or any of the allowed origins.", +"type": "boolean" +}, +"enablePublicAccess": { +"description": "Optional. Indicates whether public access to the web widget is enabled. If `true`, the web widget will be publicly accessible. If `false`, the web widget must be integrated with your own authentication and authorization system to return valid credentials for accessing the CES agent.", +"type": "boolean" +}, +"enableRecaptcha": { +"description": "Optional. Indicates whether reCAPTCHA verification for the web widget is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"Chunk": { +"description": "A chunk of content within a message.", +"id": "Chunk", +"properties": { +"agentTransfer": { +"$ref": "AgentTransfer", +"description": "Optional. Agent transfer event." +}, +"defaultVariables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A struct represents default variables at the start of the conversation, keyed by variable names.", +"type": "object" +}, +"image": { +"$ref": "Image", +"description": "Optional. Image data." +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Custom payload data.", +"type": "object" +}, +"text": { +"description": "Optional. Text data.", +"type": "string" +}, +"toolCall": { +"$ref": "ToolCall", +"description": "Optional. Tool execution request." +}, +"toolResponse": { +"$ref": "ToolResponse", +"description": "Optional. Tool execution response." +}, +"transcript": { +"description": "Optional. Transcript associated with the audio.", +"type": "string" +}, +"updatedVariables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A struct represents variables that were updated in the conversation, keyed by variable names.", +"type": "object" +} +}, +"type": "object" +}, +"Citations": { +"description": "Citations associated with the agent response.", +"id": "Citations", +"properties": { +"citedChunks": { +"description": "List of cited pieces of information.", +"items": { +"$ref": "CitationsCitedChunk" +}, +"type": "array" +} +}, +"type": "object" +}, +"CitationsCitedChunk": { +"description": "Piece of cited information.", +"id": "CitationsCitedChunk", +"properties": { +"text": { +"description": "Text used for citation.", +"type": "string" +}, +"title": { +"description": "Title of the cited document.", +"type": "string" +}, +"uri": { +"description": "URI used for citation.", +"type": "string" +} +}, +"type": "object" +}, +"ClientCertificateSettings": { +"description": "Settings for custom client certificates.", +"id": "ClientCertificateSettings", +"properties": { +"passphrase": { +"description": "Optional. The name of the SecretManager secret version resource storing the passphrase to decrypt the private key. Should be left unset if the private key is not encrypted. Format: `projects/{project}/secrets/{secret}/versions/{version}`", +"type": "string" +}, +"privateKey": { +"description": "Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: `projects/{project}/secrets/{secret}/versions/{version}`", +"type": "string" +}, +"tlsCertificate": { +"description": "Required. The TLS certificate encoded in PEM format. This string must include the begin header and end footer lines.", +"type": "string" +} +}, +"type": "object" +}, +"ClientFunction": { +"description": "Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.", +"id": "ClientFunction", +"properties": { +"description": { +"description": "Optional. The function description.", +"type": "string" +}, +"name": { +"description": "Required. The function name.", +"type": "string" +}, +"parameters": { +"$ref": "Schema", +"description": "Optional. The schema of the function parameters." +}, +"response": { +"$ref": "Schema", +"description": "Optional. The schema of the function response." +} +}, +"type": "object" +}, +"CloudLoggingSettings": { +"description": "Settings to describe the Cloud Logging behaviors for the app.", +"id": "CloudLoggingSettings", +"properties": { +"enableCloudLogging": { +"description": "Optional. Whether to enable Cloud Logging for the sessions.", +"type": "boolean" +} +}, +"type": "object" +}, +"CodeBlock": { +"description": "A code block to be executed instead of a real tool call.", +"id": "CodeBlock", +"properties": { +"pythonCode": { +"description": "Required. Python code which will be invoked in tool fake mode. Expected Python function signature - To catch all tool calls: def fake_tool_call(tool: Tool, input: dict[str, Any], callback_context: CallbackContext) -> Optional[dict[str, Any]]: To catch a specific tool call: def fake_{tool_id}(tool: Tool, input: dict[str, Any], callback_context: CallbackContext) -> Optional[dict[str, Any]]: If the function returns None, the real tool will be invoked instead.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorTool": { +"description": "A ConnectorTool allows connections to different integrations. See: https://cloud.google.com/integration-connectors/docs/overview.", +"id": "ConnectorTool", +"properties": { +"action": { +"$ref": "Action", +"description": "Required. Action for the tool to use." +}, +"authConfig": { +"$ref": "EndUserAuthConfig", +"description": "Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. **Note**: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the ConnectorTool creation will fail. See https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override for details." +}, +"connection": { +"description": "Required. The full resource name of the referenced Integration Connectors Connection. Format: `projects/{project}/locations/{location}/connections/{connection}`", +"type": "string" +}, +"description": { +"description": "Optional. The description of the tool that can be used by the Agent to decide whether to call this ConnectorTool.", +"type": "string" +}, +"name": { +"description": "Optional. The name of the tool that can be used by the Agent to decide whether to call this ConnectorTool.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectorToolset": { +"description": "A toolset that generates tools from an Integration Connectors Connection.", +"id": "ConnectorToolset", +"properties": { +"authConfig": { +"$ref": "EndUserAuthConfig", +"description": "Optional. Configures how authentication is handled in Integration Connectors. By default, an admin authentication is passed in the Integration Connectors API requests. You can override it with a different end-user authentication config. **Note**: The Connection must have authentication override enabled in order to specify an EUC configuration here - otherwise, the Toolset creation will fail. See: https://cloud.google.com/application-integration/docs/configure-connectors-task#configure-authentication-override" +}, +"connection": { +"description": "Required. The full resource name of the referenced Integration Connectors Connection. Format: `projects/{project}/locations/{location}/connections/{connection}`", +"type": "string" +}, +"connectorActions": { +"description": "Required. The list of connector actions/entity operations to generate tools for.", +"items": { +"$ref": "Action" +}, +"type": "array" +} +}, +"type": "object" +}, +"Conversation": { +"description": "A conversation represents an interaction between an end user and the CES app.", +"id": "Conversation", +"properties": { +"appVersion": { +"description": "Output only. The version of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`", +"readOnly": true, +"type": "string" +}, +"channelType": { +"deprecated": true, +"description": "DEPRECATED. Please use input_types instead.", +"enum": [ +"CHANNEL_TYPE_UNSPECIFIED", +"TEXT", +"AUDIO", +"MULTIMODAL" +], +"enumDescriptions": [ +"Unspecified channel type.", +"The conversation only contains text messages between the end user and the agent.", +"The conversation contains audio messages between the end user and the agent.", +"The conversation multi-modal messages (e.g. image) between the end user and the agent." +], +"type": "string" +}, +"deployment": { +"description": "Output only. The deployment of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Timestamp when the conversation was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"entryAgent": { +"description": "Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"readOnly": true, +"type": "string" +}, +"inputTypes": { +"description": "Output only. The input types of the conversation.", +"items": { +"enum": [ +"INPUT_TYPE_UNSPECIFIED", +"INPUT_TYPE_TEXT", +"INPUT_TYPE_AUDIO", +"INPUT_TYPE_IMAGE", +"INPUT_TYPE_BLOB", +"INPUT_TYPE_TOOL_RESPONSE", +"INPUT_TYPE_VARIABLES" +], +"enumDescriptions": [ +"Unspecified input type.", +"The input message is text.", +"The input message is audio.", +"The input message is image.", +"The input message is blob file.", +"The input message is client function tool response.", +"The input message are variables." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"languageCode": { +"description": "Output only. The language code of the conversation.", +"readOnly": true, +"type": "string" +}, +"messages": { +"deprecated": true, +"description": "Deprecated. Use turns instead.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The unique identifier of the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`", +"type": "string" +}, +"source": { +"description": "Output only. Indicate the source of the conversation.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LIVE", +"SIMULATOR", +"EVAL" +], +"enumDescriptions": [ +"Unspecified source.", +"The conversation is from the live end user.", +"The conversation is from the simulator.", +"The conversation is from the evaluation." +], +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the conversation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"turnCount": { +"description": "Output only. The number of turns in the conversation.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"turns": { +"description": "Required. The turns in the conversation.", +"items": { +"$ref": "ConversationTurn" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConversationLoggingSettings": { +"description": "Settings to describe the conversation logging behaviors for the app.", +"id": "ConversationLoggingSettings", +"properties": { +"disableConversationLogging": { +"description": "Optional. Whether to disable conversation logging for the sessions.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConversationTurn": { +"description": "All information about a single turn in the conversation.", +"id": "ConversationTurn", +"properties": { +"messages": { +"description": "Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"rootSpan": { +"$ref": "Span", +"description": "Optional. The root span of the action processing." +} +}, +"type": "object" +}, +"DataStore": { +"description": "A DataStore resource in Vertex AI Search.", +"id": "DataStore", +"properties": { +"connectorConfig": { +"$ref": "DataStoreConnectorConfig", +"description": "Output only. The connector config for the data store connection.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Timestamp when the data store was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the data store.", +"readOnly": true, +"type": "string" +}, +"documentProcessingMode": { +"description": "Output only. The document processing mode for the data store connection. Only set for PUBLIC_WEB and UNSTRUCTURED data stores.", +"enum": [ +"DOCUMENT_PROCESSING_MODE_UNSPECIFIED", +"DOCUMENTS", +"CHUNKS" +], +"enumDescriptions": [ +"Not specified.", +"Documents are processed as documents.", +"Documents are converted to chunks." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. Full resource name of the DataStore. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`", +"type": "string" +}, +"type": { +"description": "Output only. The type of the data store. This field is readonly and populated by the server.", +"enum": [ +"DATA_STORE_TYPE_UNSPECIFIED", +"PUBLIC_WEB", +"UNSTRUCTURED", +"FAQ", +"CONNECTOR" +], +"enumDescriptions": [ +"Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", +"A data store that contains public web content.", +"A data store that contains unstructured private data.", +"A data store that contains structured data used as FAQ.", +"A data store that is a connector to a first-party or a third-party service." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataStoreConnectorConfig": { +"description": "The connector config for the data store connection.", +"id": "DataStoreConnectorConfig", +"properties": { +"collection": { +"description": "Resource name of the collection the data store belongs to.", +"type": "string" +}, +"collectionDisplayName": { +"description": "Display name of the collection the data store belongs to.", +"type": "string" +}, +"dataSource": { +"description": "The name of the data source. Example: `salesforce`, `jira`, `confluence`, `bigquery`.", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreSettings": { +"description": "Data store related settings for the app.", +"id": "DataStoreSettings", +"properties": { +"engines": { +"description": "Output only. The engines for the app.", +"items": { +"$ref": "DataStoreSettingsEngine" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DataStoreSettingsEngine": { +"description": "An engine to which the data stores are connected. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.", +"id": "DataStoreSettingsEngine", +"properties": { +"name": { +"description": "Output only. The resource name of the engine. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the engine.", +"enum": [ +"TYPE_UNSPECIFIED", +"ENGINE_TYPE_SEARCH", +"ENGINE_TYPE_CHAT" +], +"enumDescriptions": [ +"Unspecified engine type.", +"The SOLUTION_TYPE_SEARCH engine for the app. All connector data stores added to the app will be added to this engine.", +"Chat engine type. The SOLUTION_TYPE_CHAT engine for the app. All connector data stores added to the app will be added to this engine." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataStoreTool": { +"description": "Tool to retrieve from Vertex AI Search datastore or engine for grounding. Accepts either a datastore or an engine, but not both. See Vertex AI Search: https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction.", +"id": "DataStoreTool", +"properties": { +"boostSpecs": { +"description": "Optional. Boost specification to boost certain documents.", +"items": { +"$ref": "DataStoreToolBoostSpecs" +}, +"type": "array" +}, +"dataStoreSource": { +"$ref": "DataStoreToolDataStoreSource", +"description": "Optional. Search within a single specific DataStore." +}, +"description": { +"description": "Optional. The tool description.", +"type": "string" +}, +"engineSource": { +"$ref": "DataStoreToolEngineSource", +"description": "Optional. Search within an Engine (potentially across multiple DataStores)." +}, +"filterParameterBehavior": { +"description": "Optional. The filter parameter behavior.", +"enum": [ +"FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED", +"ALWAYS_INCLUDE", +"NEVER_INCLUDE" +], +"enumDescriptions": [ +"Default filter behavior. Include filter parameter for connector datastores. For the rest of the datastore types, the filter input parameter is omitted.", +"Always include filter parameter for all datastore types.", +"The filter parameter is never included in the list of tool parameters, regardless of the datastore type." +], +"type": "string" +}, +"modalityConfigs": { +"description": "Optional. The modality configs for the data store.", +"items": { +"$ref": "DataStoreToolModalityConfig" +}, +"type": "array" +}, +"name": { +"description": "Required. The data store tool name.", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolBoostSpec": { +"description": "Boost specification to boost certain documents.", +"id": "DataStoreToolBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Required. A list of boosting specifications.", +"items": { +"$ref": "DataStoreToolBoostSpecConditionBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataStoreToolBoostSpecConditionBoostSpec": { +"description": "Boost specification for a condition.", +"id": "DataStoreToolBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"boostControlSpec": { +"$ref": "DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec", +"description": "Optional. Complex specification for custom ranking based on customer defined attribute value." +}, +"condition": { +"description": "Required. An expression which specifies a boost condition. The syntax is the same as filter expression syntax. Currently, the only supported condition is a list of BCP-47 lang codes. Example: To boost suggestions in languages en or fr: (lang_code: ANY(\"en\", \"fr\"))", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec": { +"description": "Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.", +"id": "DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec", +"properties": { +"attributeType": { +"description": "Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value).", +"enum": [ +"ATTRIBUTE_TYPE_UNSPECIFIED", +"NUMERICAL", +"FRESHNESS" +], +"enumDescriptions": [ +"Unspecified AttributeType.", +"The value of the numerical field will be used to dynamically update the boost amount. In this case, the attribute_value (the x value) of the control point will be the actual value of the numerical field for which the boost_amount is specified.", +"For the freshness use case the attribute value will be the duration between the current time and the date in the datetime field specified. The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. E.g. `5D`, `3DT12H30M`, `T24H`." +], +"type": "string" +}, +"controlPoints": { +"description": "Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here.", +"items": { +"$ref": "DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint" +}, +"type": "array" +}, +"fieldName": { +"description": "Optional. The name of the field whose value will be used to determine the boost amount.", +"type": "string" +}, +"interpolationType": { +"description": "Optional. The interpolation type to be applied to connect the control points listed below.", +"enum": [ +"INTERPOLATION_TYPE_UNSPECIFIED", +"LINEAR" +], +"enumDescriptions": [ +"Interpolation type is unspecified. In this case, it defaults to Linear.", +"Piecewise linear interpolation will be applied." +], +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint": { +"description": "The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).", +"id": "DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint", +"properties": { +"attributeValue": { +"description": "Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`.", +"type": "string" +}, +"boostAmount": { +"description": "Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"DataStoreToolBoostSpecs": { +"description": "Boost specifications to boost certain documents. For more information, please refer to https://cloud.google.com/generative-ai-app-builder/docs/boosting.", +"id": "DataStoreToolBoostSpecs", +"properties": { +"dataStores": { +"description": "Required. The Data Store where the boosting configuration is applied. Full resource name of DataStore, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}.", +"items": { +"type": "string" +}, +"type": "array" +}, +"spec": { +"description": "Required. A list of boosting specifications.", +"items": { +"$ref": "DataStoreToolBoostSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataStoreToolDataStoreSource": { +"description": "Configuration for searching within a specific DataStore.", +"id": "DataStoreToolDataStoreSource", +"properties": { +"dataStore": { +"$ref": "DataStore", +"description": "Optional. The data store." +}, +"filter": { +"description": "Optional. Filter specification for the DataStore. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolEngineSource": { +"description": "Configuration for searching within an Engine, potentially targeting specific DataStores.", +"id": "DataStoreToolEngineSource", +"properties": { +"dataStoreSources": { +"description": "Optional. Use to target specific DataStores within the Engine. If empty, the search applies to all DataStores associated with the Engine.", +"items": { +"$ref": "DataStoreToolDataStoreSource" +}, +"type": "array" +}, +"engine": { +"description": "Required. Full resource name of the Engine. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", +"type": "string" +}, +"filter": { +"description": "Optional. A filter applied to the search across the Engine. Not relevant and not used if 'data_store_sources' is provided. See: https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolGroundingConfig": { +"description": "Grounding configuration.", +"id": "DataStoreToolGroundingConfig", +"properties": { +"disabled": { +"description": "Optional. Whether grounding is disabled.", +"type": "boolean" +}, +"groundingLevel": { +"description": "Optional. The groundedness threshold of the answer based on the retrieved sources. The value has a configurable range of [1, 5]. The level is used to threshold the groundedness of the answer, meaning that all responses with a groundedness score below the threshold will fall back to returning relevant snippets only. For example, a level of 3 means that the groundedness score must be 3 or higher for the response to be returned.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"DataStoreToolModalityConfig": { +"description": "If specified, will apply the given configuration for the specified modality.", +"id": "DataStoreToolModalityConfig", +"properties": { +"groundingConfig": { +"$ref": "DataStoreToolGroundingConfig", +"description": "Optional. The grounding configuration." +}, +"modalityType": { +"description": "Required. The modality type.", +"enum": [ +"MODALITY_TYPE_UNSPECIFIED", +"TEXT", +"AUDIO" +], +"enumDescriptions": [ +"Unspecified modality type.", +"Text modality.", +"Audio modality." +], +"type": "string" +}, +"rewriterConfig": { +"$ref": "DataStoreToolRewriterConfig", +"description": "Optional. The rewriter config." +}, +"summarizationConfig": { +"$ref": "DataStoreToolSummarizationConfig", +"description": "Optional. The summarization config." +} +}, +"type": "object" +}, +"DataStoreToolRewriterConfig": { +"description": "Rewriter configuration.", +"id": "DataStoreToolRewriterConfig", +"properties": { +"disabled": { +"description": "Optional. Whether the rewriter is disabled.", +"type": "boolean" +}, +"modelSettings": { +"$ref": "ModelSettings", +"description": "Required. Configurations for the LLM model." +}, +"prompt": { +"description": "Optional. The prompt definition. If not set, default prompt will be used.", +"type": "string" +} +}, +"type": "object" +}, +"DataStoreToolSummarizationConfig": { +"description": "Summarization configuration.", +"id": "DataStoreToolSummarizationConfig", +"properties": { +"disabled": { +"description": "Optional. Whether summarization is disabled.", +"type": "boolean" +}, +"modelSettings": { +"$ref": "ModelSettings", +"description": "Optional. Configurations for the LLM model." +}, +"prompt": { +"description": "Optional. The prompt definition. If not set, default prompt will be used.", +"type": "string" +} +}, +"type": "object" +}, +"Deployment": { +"description": "A deployment represents an immutable, queryable version of the app. It is used to deploy an app version with a specific channel profile.", +"id": "Deployment", +"properties": { +"appVersion": { +"description": "Required. The resource name of the app version to deploy. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}", +"type": "string" +}, +"channelProfile": { +"$ref": "ChannelProfile", +"description": "Required. The channel profile used in the deployment." +}, +"createTime": { +"description": "Output only. Timestamp when this deployment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the deployment.", +"type": "string" +}, +"etag": { +"description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the deployment. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this deployment was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EndSession": { +"description": "Indicates the session has terminated, due to either successful completion (e.g. user says \"Good bye!\" ) or an agent escalation. The agent will not process any further inputs after session is terminated and the client should half-close and disconnect after receiving all remaining responses from the agent.", +"id": "EndSession", +"properties": { +"metadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Provides additional information about the end session signal, such as the reason for ending the session.", +"type": "object" +} +}, +"type": "object" +}, +"EndUserAuthConfig": { +"description": "End-user authentication configuration used for Connection calls. The field values must be the names of context variables in the format `$context.variables.`.", +"id": "EndUserAuthConfig", +"properties": { +"oauth2AuthCodeConfig": { +"$ref": "EndUserAuthConfigOauth2AuthCodeConfig", +"description": "Oauth 2.0 Authorization Code authentication." +}, +"oauth2JwtBearerConfig": { +"$ref": "EndUserAuthConfigOauth2JwtBearerConfig", +"description": "JWT Profile Oauth 2.0 Authorization Grant authentication." +} +}, +"type": "object" +}, +"EndUserAuthConfigOauth2AuthCodeConfig": { +"description": "Oauth 2.0 Authorization Code authentication configuration.", +"id": "EndUserAuthConfigOauth2AuthCodeConfig", +"properties": { +"oauthToken": { +"description": "Required. Oauth token parameter name to pass through. Must be in the format `$context.variables.`.", +"type": "string" +} +}, +"type": "object" +}, +"EndUserAuthConfigOauth2JwtBearerConfig": { +"description": "JWT Profile Oauth 2.0 Authorization Grant authentication configuration.", +"id": "EndUserAuthConfigOauth2JwtBearerConfig", +"properties": { +"clientKey": { +"description": "Required. Client parameter name to pass through. Must be in the format `$context.variables.`.", +"type": "string" +}, +"issuer": { +"description": "Required. Issuer parameter name to pass through. Must be in the format `$context.variables.`.", +"type": "string" +}, +"subject": { +"description": "Required. Subject parameter name to pass through. Must be in the format `$context.variables.`.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluationMetricsThresholds": { +"description": "Threshold settings for metrics in an Evaluation.", +"id": "EvaluationMetricsThresholds", +"properties": { +"goldenEvaluationMetricsThresholds": { +"$ref": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds", +"description": "Optional. The golden evaluation metrics thresholds." +}, +"goldenHallucinationMetricBehavior": { +"description": "Optional. The hallucination metric behavior for golden evaluations.", +"enum": [ +"HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Unspecified hallucination metric behavior.", +"Disable hallucination metric.", +"Enable hallucination metric." +], +"type": "string" +}, +"hallucinationMetricBehavior": { +"deprecated": true, +"description": "Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead. The hallucination metric behavior is currently used for golden evaluations.", +"enum": [ +"HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Unspecified hallucination metric behavior.", +"Disable hallucination metric.", +"Enable hallucination metric." +], +"type": "string" +}, +"scenarioHallucinationMetricBehavior": { +"description": "Optional. The hallucination metric behavior for scenario evaluations.", +"enum": [ +"HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Unspecified hallucination metric behavior.", +"Disable hallucination metric.", +"Enable hallucination metric." +], +"type": "string" +} +}, +"type": "object" +}, +"EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds": { +"description": "Settings for golden evaluations.", +"id": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds", +"properties": { +"expectationLevelMetricsThresholds": { +"$ref": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds", +"description": "Optional. The expectation level metrics thresholds." +}, +"toolMatchingSettings": { +"$ref": "EvaluationMetricsThresholdsToolMatchingSettings", +"description": "Optional. The tool matching settings. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation." +}, +"turnLevelMetricsThresholds": { +"$ref": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds", +"description": "Optional. The turn level metrics thresholds." +} +}, +"type": "object" +}, +"EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds": { +"description": "Expectation level metrics thresholds.", +"id": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds", +"properties": { +"toolInvocationParameterCorrectnessThreshold": { +"description": "Optional. The success threshold for individual tool invocation parameter correctness. Must be a float between 0 and 1. Default is 1.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds": { +"description": "Turn level metrics thresholds.", +"id": "EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds", +"properties": { +"overallToolInvocationCorrectnessThreshold": { +"description": "Optional. The success threshold for overall tool invocation correctness. Must be a float between 0 and 1. Default is 1.0.", +"format": "float", +"type": "number" +}, +"semanticSimilarityChannel": { +"description": "Optional. The semantic similarity channel to use for evaluation.", +"enum": [ +"SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED", +"TEXT", +"AUDIO" +], +"enumDescriptions": [ +"Metric unspecified. Defaults to TEXT.", +"Use text semantic similarity.", +"Use audio semantic similarity." +], +"type": "string" +}, +"semanticSimilaritySuccessThreshold": { +"description": "Optional. The success threshold for semantic similarity. Must be an integer between 0 and 4. Default is >= 3.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EvaluationMetricsThresholdsToolMatchingSettings": { +"description": "Settings for matching tool calls.", +"id": "EvaluationMetricsThresholdsToolMatchingSettings", +"properties": { +"extraToolCallBehavior": { +"description": "Optional. Behavior for extra tool calls. Defaults to FAIL.", +"enum": [ +"EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED", +"FAIL", +"ALLOW" +], +"enumDescriptions": [ +"Unspecified behavior. Defaults to FAIL.", +"Fail the evaluation if an extra tool call is encountered.", +"Allow the extra tool call." +], +"type": "string" +} +}, +"type": "object" +}, +"Event": { +"description": "Event input.", +"id": "Event", +"properties": { +"event": { +"description": "Required. The name of the event.", +"type": "string" +} +}, +"type": "object" +}, +"Example": { +"description": "An example represents a sample conversation between the user and the agent(s).", +"id": "Example", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the example was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Human-readable description of the example.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the example.", +"type": "string" +}, +"entryAgent": { +"description": "Optional. The agent that initially handles the conversation. If not specified, the example represents a conversation that is handled by the root agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +}, +"etag": { +"description": "Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"type": "string" +}, +"invalid": { +"description": "Output only. The example may become invalid if referencing resources are deleted. Invalid examples will not be used as few-shot examples.", +"readOnly": true, +"type": "boolean" +}, +"messages": { +"description": "Optional. The collection of messages that make up the conversation.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The unique identifier of the example. Format: `projects/{project}/locations/{location}/apps/{app}/examples/{example}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the example was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExecuteToolRequest": { +"description": "Request message for ToolService.ExecuteTool.", +"id": "ExecuteToolRequest", +"properties": { +"args": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The input parameters and values for the tool in JSON object format.", +"type": "object" +}, +"tool": { +"description": "Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "Optional. The toolset tool to execute. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned." +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The variables that are available for the tool execution.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteToolResponse": { +"description": "Response message for ToolService.ExecuteTool.", +"id": "ExecuteToolResponse", +"properties": { +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The tool execution result in JSON object format. Use \"output\" key to specify tool response and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as tool execution result.", +"type": "object" +}, +"tool": { +"description": "The name of the tool that got executed. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "The toolset tool that got executed." +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The variable values at the end of the tool execution.", +"type": "object" +} +}, +"type": "object" +}, +"ExportAppRequest": { +"description": "Request message for AgentService.ExportApp.", +"id": "ExportAppRequest", +"properties": { +"exportFormat": { +"description": "Required. The format to export the app in.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"JSON", +"YAML" +], +"enumDescriptions": [ +"The export format is unspecified.", +"The export format is JSON.", +"The export format is YAML." +], +"type": "string" +}, +"gcsUri": { +"description": "Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to export the app. The format of this URI must be `gs:///`. The exported app archive will be written directly to the specified GCS object.", +"type": "string" +} +}, +"type": "object" +}, +"ExportAppResponse": { +"description": "Response message for AgentService.ExportApp.", +"id": "ExportAppResponse", +"properties": { +"appContent": { +"description": "App folder compressed as a zip file.", +"format": "byte", +"type": "string" +}, +"appUri": { +"description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which the app was exported.", +"type": "string" +} +}, +"type": "object" +}, +"ExpressionCondition": { +"description": "Expression condition based on session state.", +"id": "ExpressionCondition", +"properties": { +"expression": { +"description": "Required. The string representation of cloud.api.Expression condition.", +"type": "string" +} +}, +"type": "object" +}, +"FileSearchTool": { +"description": "The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.", +"id": "FileSearchTool", +"properties": { +"corpusType": { +"description": "Optional. The type of the corpus. Default is FULLY_MANAGED.", +"enum": [ +"CORPUS_TYPE_UNSPECIFIED", +"USER_OWNED", +"FULLY_MANAGED" +], +"enumDescriptions": [ +"Unspecified corpus type.", +"The corpus is created and owned by the user.", +"The corpus is created by the agent." +], +"type": "string" +}, +"description": { +"description": "Optional. The tool description.", +"type": "string" +}, +"fileCorpus": { +"description": "Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}", +"type": "string" +}, +"name": { +"description": "Required. The tool name.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateChatTokenRequest": { +"description": "Request message for WidgetService.GenerateChatToken.", +"id": "GenerateChatTokenRequest", +"properties": { +"deployment": { +"description": "Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}", +"type": "string" +}, +"recaptchaToken": { +"description": "Optional. The reCAPTCHA token generated by the client-side chat widget.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateChatTokenResponse": { +"description": "Response message for WidgetService.GenerateChatToken.", +"id": "GenerateChatTokenResponse", +"properties": { +"chatToken": { +"description": "The session scoped token for chat widget to authenticate with Session APIs.", +"type": "string" +}, +"expireTime": { +"description": "The time at which the chat token expires.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSearchSuggestions": { +"description": "Search suggestions from Google Search Tool.", +"id": "GoogleSearchSuggestions", +"properties": { +"htmls": { +"description": "Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by `@media(prefers-color-scheme)`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"webSearchQueries": { +"description": "List of queries used to perform the google search along with the search result URIs forming the search suggestions.", +"items": { +"$ref": "WebSearchQuery" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSearchTool": { +"description": "Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.", +"id": "GoogleSearchTool", +"properties": { +"contextUrls": { +"description": "Optional. Content will be fetched directly from these URLs for context and grounding. Example: \"https://example.com/path.html\". A maximum of 20 URLs are allowed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Optional. Description of the tool's purpose.", +"type": "string" +}, +"excludeDomains": { +"description": "Optional. List of domains to be excluded from the search results. Example: \"example.com\". A maximum of 2000 domains can be excluded.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the tool.", +"type": "string" +}, +"preferredDomains": { +"description": "Optional. Specifies domains to restrict search results to. Example: \"example.com\", \"another.site\". A maximum of 20 domains can be specified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"promptConfig": { +"$ref": "GoogleSearchToolPromptConfig", +"description": "Optional. Prompt instructions passed to planner on how the search results should be processed for text and voice." +} +}, +"type": "object" +}, +"GoogleSearchToolPromptConfig": { +"description": "Prompt settings used by the model when processing or summarizing the google search results.", +"id": "GoogleSearchToolPromptConfig", +"properties": { +"textPrompt": { +"description": "Optional. Defines the prompt used for the system instructions when interacting with the agent in chat conversations. If not set, default prompt will be used.", +"type": "string" +}, +"voicePrompt": { +"description": "Optional. Defines the prompt used for the system instructions when interacting with the agent in voice conversations. If not set, default prompt will be used.", +"type": "string" +} +}, +"type": "object" +}, +"Guardrail": { +"description": "Guardrail contains a list of checks and balances to keep the agents safe and secure.", +"id": "Guardrail", +"properties": { +"action": { +"$ref": "TriggerAction", +"description": "Optional. Action to take when the guardrail is triggered." +}, +"codeCallback": { +"$ref": "GuardrailCodeCallback", +"description": "Optional. Guardrail that potentially blocks the conversation based on the result of the callback execution." +}, +"contentFilter": { +"$ref": "GuardrailContentFilter", +"description": "Optional. Guardrail that bans certain content from being used in the conversation." +}, +"createTime": { +"description": "Output only. Timestamp when the guardrail was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the guardrail.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the guardrail.", +"type": "string" +}, +"enabled": { +"description": "Optional. Whether the guardrail is enabled.", +"type": "boolean" +}, +"etag": { +"description": "Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"type": "string" +}, +"llmPolicy": { +"$ref": "GuardrailLlmPolicy", +"description": "Optional. Guardrail that blocks the conversation if the LLM response is considered violating the policy based on the LLM classification." +}, +"llmPromptSecurity": { +"$ref": "GuardrailLlmPromptSecurity", +"description": "Optional. Guardrail that blocks the conversation if the prompt is considered unsafe based on the LLM classification." +}, +"modelSafety": { +"$ref": "GuardrailModelSafety", +"description": "Optional. Guardrail that blocks the conversation if the LLM response is considered unsafe based on the model safety settings." +}, +"name": { +"description": "Identifier. The unique identifier of the guardrail. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the guardrail was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuardrailCodeCallback": { +"description": "Guardrail that blocks the conversation based on the code callbacks provided.", +"id": "GuardrailCodeCallback", +"properties": { +"afterAgentCallback": { +"$ref": "Callback", +"description": "Optional. The callback to execute after the agent is called. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing." +}, +"afterModelCallback": { +"$ref": "Callback", +"description": "Optional. The callback to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing." +}, +"beforeAgentCallback": { +"$ref": "Callback", +"description": "Optional. The callback to execute before the agent is called. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing." +}, +"beforeModelCallback": { +"$ref": "Callback", +"description": "Optional. The callback to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. Each callback function is expected to return a structure (e.g., a dict or object) containing at least: - 'decision': Either 'OK' or 'TRIGGER'. - 'reason': A string explaining the decision. A 'TRIGGER' decision may halt further processing." +} +}, +"type": "object" +}, +"GuardrailContentFilter": { +"description": "Guardrail that bans certain content from being used in the conversation.", +"id": "GuardrailContentFilter", +"properties": { +"bannedContents": { +"description": "Optional. List of banned phrases. Applies to both user inputs and agent responses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bannedContentsInAgentResponse": { +"description": "Optional. List of banned phrases. Applies only to agent responses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bannedContentsInUserInput": { +"description": "Optional. List of banned phrases. Applies only to user inputs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disregardDiacritics": { +"description": "Optional. If true, diacritics are ignored during matching.", +"type": "boolean" +}, +"matchType": { +"description": "Required. Match type for the content filter.", +"enum": [ +"MATCH_TYPE_UNSPECIFIED", +"SIMPLE_STRING_MATCH", +"WORD_BOUNDARY_STRING_MATCH", +"REGEXP_MATCH" +], +"enumDescriptions": [ +"Match type is not specified.", +"Content is matched for substrings character by character.", +"Content only matches if the pattern found in the text is surrounded by word delimiters. Banned phrases can also contain word delimiters.", +"Content is matched using regular expression syntax." +], +"type": "string" +} +}, +"type": "object" +}, +"GuardrailLlmPolicy": { +"description": "Guardrail that blocks the conversation if the LLM response is considered violating the policy based on the LLM classification.", +"id": "GuardrailLlmPolicy", +"properties": { +"allowShortUtterance": { +"description": "Optional. By default, the LLM policy check is bypassed for short utterances. Enabling this setting applies the policy check to all utterances, including those that would normally be skipped.", +"type": "boolean" +}, +"failOpen": { +"description": "Optional. If an error occurs during the policy check, fail open and do not trigger the guardrail.", +"type": "boolean" +}, +"maxConversationMessages": { +"description": "Optional. When checking this policy, consider the last 'n' messages in the conversation. When not set a default value of 10 will be used.", +"format": "int32", +"type": "integer" +}, +"modelSettings": { +"$ref": "ModelSettings", +"description": "Optional. Model settings." +}, +"policyScope": { +"description": "Required. Defines when to apply the policy check during the conversation. If set to `POLICY_SCOPE_UNSPECIFIED`, the policy will be applied to the user input. When applying the policy to the agent response, additional latency will be introduced before the agent can respond.", +"enum": [ +"POLICY_SCOPE_UNSPECIFIED", +"USER_QUERY", +"AGENT_RESPONSE", +"USER_QUERY_AND_AGENT_RESPONSE" +], +"enumDescriptions": [ +"Policy scope is not specified.", +"Policy check is triggered on user input.", +"Policy check is triggered on agent response. Applying this policy scope will introduce additional latency before the agent can respond.", +"Policy check is triggered on both user input and agent response. Applying this policy scope will introduce additional latency before the agent can respond." +], +"type": "string" +}, +"prompt": { +"description": "Required. Policy prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GuardrailLlmPromptSecurity": { +"description": "Guardrail that blocks the conversation if the input is considered unsafe based on the LLM classification.", +"id": "GuardrailLlmPromptSecurity", +"properties": { +"customPolicy": { +"$ref": "GuardrailLlmPolicy", +"description": "Optional. Use a user-defined LlmPolicy to configure the security guardrail." +}, +"defaultSettings": { +"$ref": "GuardrailLlmPromptSecurityDefaultSecuritySettings", +"description": "Optional. Use the system's predefined default security settings. To select this mode, include an empty 'default_settings' message in the request. The 'default_prompt_template' field within will be populated by the server in the response." +}, +"failOpen": { +"description": "Optional. Determines the behavior when the guardrail encounters an LLM error. - If true: the guardrail is bypassed. - If false (default): the guardrail triggers/blocks. Note: If a custom policy is provided, this field is ignored in favor of the policy's 'fail_open' configuration.", +"type": "boolean" +} +}, +"type": "object" +}, +"GuardrailLlmPromptSecurityDefaultSecuritySettings": { +"description": "Configuration for default system security settings.", +"id": "GuardrailLlmPromptSecurityDefaultSecuritySettings", +"properties": { +"defaultPromptTemplate": { +"description": "Output only. The default prompt template used by the system. This field is for display purposes to show the user what prompt the system uses by default. It is OUTPUT_ONLY.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuardrailModelSafety": { +"description": "Model safety settings overrides. When this is set, it will override the default settings and trigger the guardrail if the response is considered unsafe.", +"id": "GuardrailModelSafety", +"properties": { +"safetySettings": { +"description": "Required. List of safety settings.", +"items": { +"$ref": "GuardrailModelSafetySafetySetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"GuardrailModelSafetySafetySetting": { +"description": "Safety setting.", +"id": "GuardrailModelSafetySafetySetting", +"properties": { +"category": { +"description": "Required. The harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content." +], +"type": "string" +}, +"threshold": { +"description": "Required. The harm block threshold.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"Unspecified harm block threshold.", +"Block low threshold and above (i.e. block more).", +"Block medium threshold and above.", +"Block only high threshold (i.e. block less).", +"Block none.", +"Turn off the safety filter." +], +"type": "string" +} +}, +"type": "object" +}, +"Image": { +"description": "Represents an image input or output in the conversation.", +"id": "Image", +"properties": { +"data": { +"description": "Required. Raw bytes of the image.", +"format": "byte", +"type": "string" +}, +"mimeType": { +"description": "Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp", +"type": "string" +} +}, +"type": "object" +}, +"ImportAppRequest": { +"description": "Request message for AgentService.ImportApp.", +"id": "ImportAppRequest", +"properties": { +"appContent": { +"description": "Raw bytes representing the compressed zip file with the app folder structure.", +"format": "byte", +"type": "string" +}, +"appId": { +"description": "Optional. The ID to use for the imported app. * If not specified, a unique ID will be automatically assigned for the app. * Otherwise, the imported app will use this ID as the final component of its resource name. If an app with the same ID already exists at the specified location in the project, the content of the existing app will be replaced.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the app to import. * If the app is created on import, and the display name is specified, the imported app will use this display name. If a conflict is detected with an existing app, a timestamp will be appended to the display name to make it unique. * If the app is a reimport, this field should not be set. Providing a display name during reimport will result in an INVALID_ARGUMENT error.", +"type": "string" +}, +"gcsUri": { +"description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI from which to import app. The format of this URI must be `gs:///`.", +"type": "string" +}, +"ignoreAppLock": { +"description": "Optional. Flag for overriding the app lock during import. If set to true, the import process will ignore the app lock.", +"type": "boolean" +}, +"importOptions": { +"$ref": "ImportAppRequestImportOptions", +"description": "Optional. Options governing the import process for the app." +} +}, +"type": "object" +}, +"ImportAppRequestImportOptions": { +"description": "Configuration options for the app import process. These options control how the import behaves, particularly when conflicts arise with existing app data.", +"id": "ImportAppRequestImportOptions", +"properties": { +"conflictResolutionStrategy": { +"description": "Optional. The strategy to use when resolving conflicts during import.", +"enum": [ +"CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", +"REPLACE", +"OVERWRITE" +], +"enumDescriptions": [ +"The conflict resolution strategy is unspecified.", +"Replace existing data with imported data. If an app with the same `app_id` already exists, its content will be updated based on the imported app. - Resources (App, Agents, Tools, Examples, Guardrails, Toolsets) in the imported app that have the same display name as existing resources will overwrite the existing ones. - Imported resources with new display names will be created. - Existing resources that do not have a matching display name in the imported app will remain untouched.", +"Overwrite existing data with imported data. If an app with the same `app_id` already exists, its content will be overwritten with the imported app. - Existing resources (Agents, Tools, Examples, Guardrails, Toolsets) in the app will be deleted. - Imported resources will be created as new resources." +], +"type": "string" +} +}, +"type": "object" +}, +"ImportAppResponse": { +"description": "Response message for AgentService.ImportApp.", +"id": "ImportAppResponse", +"properties": { +"name": { +"description": "The resource name of the app that was imported.", +"type": "string" +}, +"warnings": { +"description": "Warning messages generated during the import process. If errors occur for specific resources, they will not be included in the imported app and the error will be mentioned here.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InputAudioConfig": { +"description": "InputAudioConfig configures how the CES agent should interpret the incoming audio data.", +"id": "InputAudioConfig", +"properties": { +"audioEncoding": { +"description": "Required. The encoding of the input audio data.", +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"LINEAR16", +"MULAW", +"ALAW" +], +"enumDescriptions": [ +"Unspecified audio encoding.", +"16-bit linear PCM audio encoding.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law." +], +"type": "string" +}, +"noiseSuppressionLevel": { +"description": "Optional. Whether to enable noise suppression on the input audio. Available values are \"low\", \"moderate\", \"high\", \"very_high\".", +"type": "string" +}, +"sampleRateHertz": { +"description": "Required. The sample rate (in Hertz) of the input audio data.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LanguageSettings": { +"description": "Language settings of the app.", +"id": "LanguageSettings", +"properties": { +"defaultLanguageCode": { +"description": "Optional. The default language code of the app.", +"type": "string" +}, +"enableMultilingualSupport": { +"description": "Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.", +"type": "boolean" +}, +"fallbackAction": { +"description": "Optional. The action to perform when an agent receives input in an unsupported language. This can be a predefined action or a custom tool call. Valid values are: - A tool's full resource name, which triggers a specific tool execution. - A predefined system action, such as \"escalate\" or \"exit\", which triggers an EndSession signal with corresponding metadata to terminate the conversation.", +"type": "string" +}, +"supportedLanguageCodes": { +"description": "Optional. List of languages codes supported by the app, in addition to the `default_language_code`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAgentsResponse": { +"description": "Response message for AgentService.ListAgents.", +"id": "ListAgentsResponse", +"properties": { +"agents": { +"description": "The list of agents.", +"items": { +"$ref": "Agent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAppVersionsResponse": { +"description": "Response message for AgentService.ListAppVersions.", +"id": "ListAppVersionsResponse", +"properties": { +"appVersions": { +"description": "The list of app versions.", +"items": { +"$ref": "AppVersion" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListAppVersionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAppsResponse": { +"description": "Response message for AgentService.ListApps.", +"id": "ListAppsResponse", +"properties": { +"apps": { +"description": "The list of apps.", +"items": { +"$ref": "App" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListAppsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unordered list. Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListChangelogsResponse": { +"description": "Response message for AgentService.ListChangelogs.", +"id": "ListChangelogsResponse", +"properties": { +"changelogs": { +"description": "The list of changelogs.", +"items": { +"$ref": "Changelog" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListChangelogsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListConversationsResponse": { +"description": "Response message for AgentService.ListConversations.", +"id": "ListConversationsResponse", +"properties": { +"conversations": { +"description": "The list of conversations.", +"items": { +"$ref": "Conversation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListConversationsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListDeploymentsResponse": { +"description": "Response message for AgentService.ListDeployments.", +"id": "ListDeploymentsResponse", +"properties": { +"deployments": { +"description": "The list of deployments.", +"items": { +"$ref": "Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListExamplesResponse": { +"description": "Response message for AgentService.ListExamples.", +"id": "ListExamplesResponse", +"properties": { +"examples": { +"description": "The list of examples.", +"items": { +"$ref": "Example" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListGuardrailsResponse": { +"description": "Response message for AgentService.ListGuardrails.", +"id": "ListGuardrailsResponse", +"properties": { +"guardrails": { +"description": "The list of guardrails.", +"items": { +"$ref": "Guardrail" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListGuardrailsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListToolsResponse": { +"description": "Response message for AgentService.ListTools.", +"id": "ListToolsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as ListToolsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"tools": { +"description": "The list of tools.", +"items": { +"$ref": "Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListToolsetsResponse": { +"description": "Response message for AgentService.ListToolsets.", +"id": "ListToolsetsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as ListToolsetsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.", +"type": "string" +}, +"toolsets": { +"description": "The list of toolsets.", +"items": { +"$ref": "Toolset" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LoggingSettings": { +"description": "Settings to describe the logging behaviors for the app.", +"id": "LoggingSettings", +"properties": { +"audioRecordingConfig": { +"$ref": "AudioRecordingConfig", +"description": "Optional. Configuration for how audio interactions should be recorded." +}, +"bigqueryExportSettings": { +"$ref": "BigQueryExportSettings", +"description": "Optional. Settings to describe the BigQuery export behaviors for the app. The conversation data will be exported to BigQuery tables if it is enabled." +}, +"cloudLoggingSettings": { +"$ref": "CloudLoggingSettings", +"description": "Optional. Settings to describe the Cloud Logging behaviors for the app." +}, +"conversationLoggingSettings": { +"$ref": "ConversationLoggingSettings", +"description": "Optional. Settings to describe the conversation logging behaviors for the app." +}, +"evaluationAudioRecordingConfig": { +"$ref": "AudioRecordingConfig", +"description": "Optional. Configuration for how audio interactions should be recorded for the evaluation. By default, audio recording is not enabled for evaluation sessions." +}, +"metricAnalysisSettings": { +"$ref": "MetricAnalysisSettings", +"description": "Optional. Settings to describe the conversation data collection behaviors for the LLM analysis pipeline for the app." +}, +"redactionConfig": { +"$ref": "RedactionConfig", +"description": "Optional. Configuration for how sensitive data should be redacted." +} +}, +"type": "object" +}, +"McpTool": { +"description": "An MCP tool. See https://modelcontextprotocol.io/specification/2025-06-18/server/tools for more details.", +"id": "McpTool", +"properties": { +"apiAuthentication": { +"$ref": "ApiAuthentication", +"description": "Optional. Authentication information required to execute the tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication." +}, +"description": { +"description": "Optional. The description of the MCP tool.", +"type": "string" +}, +"inputSchema": { +"$ref": "Schema", +"description": "Optional. The schema of the input arguments of the MCP tool." +}, +"name": { +"description": "Required. The name of the MCP tool.", +"type": "string" +}, +"outputSchema": { +"$ref": "Schema", +"description": "Optional. The schema of the output arguments of the MCP tool." +}, +"serverAddress": { +"description": "Required. The server address of the MCP server, e.g., \"https://example.com/mcp/\". If the server is built with the MCP SDK, the url should be suffixed with \"/mcp/\". Only Streamable HTTP transport based servers are supported. This is the same as the server_address in the McpToolset. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.", +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter." +}, +"tlsConfig": { +"$ref": "TlsConfig", +"description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." +} +}, +"type": "object" +}, +"McpToolset": { +"description": "A toolset that contains a list of tools that are offered by the MCP server.", +"id": "McpToolset", +"properties": { +"apiAuthentication": { +"$ref": "ApiAuthentication", +"description": "Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication." +}, +"serverAddress": { +"description": "Required. The address of the MCP server, for example, \"https://example.com/mcp/\". If the server is built with the MCP SDK, the url should be suffixed with \"/mcp/\". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.", +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter." +}, +"tlsConfig": { +"$ref": "TlsConfig", +"description": "Optional. The TLS configuration. Includes the custom server certificates that the client should trust." +} +}, +"type": "object" +}, +"Message": { +"description": "A message within a conversation.", +"id": "Message", +"properties": { +"chunks": { +"description": "Optional. Content of the message as a series of chunks.", +"items": { +"$ref": "Chunk" +}, +"type": "array" +}, +"eventTime": { +"description": "Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an example.", +"format": "google-datetime", +"type": "string" +}, +"role": { +"description": "Optional. The role within the conversation, e.g., user, agent.", +"type": "string" +} +}, +"type": "object" +}, +"MetricAnalysisSettings": { +"description": "Settings to describe the conversation data collection behaviors for LLM analysis metrics pipeline.", +"id": "MetricAnalysisSettings", +"properties": { +"llmMetricsOptedOut": { +"description": "Optional. Whether to collect conversation data for llm analysis metrics. If true, conversation data will not be collected for llm analysis metrics; otherwise, conversation data will be collected.", +"type": "boolean" +} +}, +"type": "object" +}, +"ModelSettings": { +"description": "Model settings contains various configurations for the LLM model.", +"id": "ModelSettings", +"properties": { +"model": { +"description": "Optional. The LLM model that the agent should use. If not set, the agent will inherit the model from its parent agent.", +"type": "string" +}, +"temperature": { +"description": "Optional. If set, this temperature will be used for the LLM model. Temperature controls the randomness of the model's responses. Lower temperatures produce responses that are more predictable. Higher temperatures produce responses that are more creative.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"OAuthConfig": { +"description": "Configurations for authentication with OAuth.", +"id": "OAuthConfig", +"properties": { +"clientId": { +"description": "Required. The client ID from the OAuth provider.", +"type": "string" +}, +"clientSecretVersion": { +"description": "Required. The name of the SecretManager secret version resource storing the client secret. Format: `projects/{project}/secrets/{secret}/versions/{version}` Note: You should grant `roles/secretmanager.secretAccessor` role to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.", +"type": "string" +}, +"oauthGrantType": { +"description": "Required. OAuth grant types.", +"enum": [ +"OAUTH_GRANT_TYPE_UNSPECIFIED", +"CLIENT_CREDENTIAL" +], +"enumDescriptions": [ +"Unspecified. Defaults to CLIENT_CREDENTIAL.", +"Represents the [client credential flow](https://oauth.net/2/grant-types/client-credentials)." +], +"type": "string" +}, +"scopes": { +"description": "Optional. The OAuth scopes to grant.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tokenEndpoint": { +"description": "Required. The token endpoint in the OAuth provider to exchange for an access token.", +"type": "string" +} +}, +"type": "object" +}, +"Omnichannel": { +"description": "Represents an Omnichannel resource.", +"id": "Omnichannel", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the omnichannel resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Human-readable description of the omnichannel resource.", +"type": "string" +}, +"displayName": { +"description": "Required. Display name of the omnichannel resource.", +"type": "string" +}, +"etag": { +"description": "Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation.", +"readOnly": true, +"type": "string" +}, +"integrationConfig": { +"$ref": "OmnichannelIntegrationConfig", +"description": "Optional. The integration config for the omnichannel resource." +}, +"name": { +"description": "Identifier. The unique identifier of the omnichannel resource. Format: `projects/{project}/locations/{location}/omnichannels/{omnichannel}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the omnichannel resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfig": { +"description": "OmnichannelIntegrationConfig contains all App integration configs.", +"id": "OmnichannelIntegrationConfig", +"properties": { +"channelConfigs": { +"additionalProperties": { +"$ref": "OmnichannelIntegrationConfigChannelConfig" +}, +"description": "Optional. Various of configuration for handling App events.", +"type": "object" +}, +"routingConfigs": { +"additionalProperties": { +"$ref": "OmnichannelIntegrationConfigRoutingConfig" +}, +"description": "Optional. The key of routing_configs is a key of `app_configs`, value is a `RoutingConfig`, which contains subscriber's key.", +"type": "object" +}, +"subscriberConfigs": { +"additionalProperties": { +"$ref": "OmnichannelIntegrationConfigSubscriberConfig" +}, +"description": "Optional. Various of subscribers configs.", +"type": "object" +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfigCesAppConfig": { +"description": "Configs for CES app.", +"id": "OmnichannelIntegrationConfigCesAppConfig", +"properties": { +"app": { +"description": "The unique identifier of the CES app. Format: `projects/{project}/locations/{location}/apps/{app}`", +"type": "string" +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfigChannelConfig": { +"description": "ChannelConfig contains config for various of app integration.", +"id": "OmnichannelIntegrationConfigChannelConfig", +"properties": { +"whatsappConfig": { +"$ref": "OmnichannelIntegrationConfigWhatsappConfig", +"description": "WhatsApp config." +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfigRoutingConfig": { +"description": "Routing config specify how/who to route app events to a subscriber.", +"id": "OmnichannelIntegrationConfigRoutingConfig", +"properties": { +"subscriberKey": { +"description": "The key of the subscriber.", +"type": "string" +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfigSubscriberConfig": { +"description": "Configs of subscribers.", +"id": "OmnichannelIntegrationConfigSubscriberConfig", +"properties": { +"cesAppConfig": { +"$ref": "OmnichannelIntegrationConfigCesAppConfig", +"description": "Ces app config." +} +}, +"type": "object" +}, +"OmnichannelIntegrationConfigWhatsappConfig": { +"description": "How Omnichannel should receive/reply events from WhatsApp.", +"id": "OmnichannelIntegrationConfigWhatsappConfig", +"properties": { +"metaBusinessPortfolioId": { +"description": "The Meta Business Portfolio (MBP) ID. https://www.facebook.com/business/help/1710077379203657", +"type": "string" +}, +"phoneNumber": { +"description": "The phone number used for sending/receiving messages.", +"type": "string" +}, +"phoneNumberId": { +"description": "The Phone Number ID associated with the WhatsApp Business Account.", +"type": "string" +}, +"webhookVerifyToken": { +"description": "The verify token configured in the Meta App Dashboard for webhook verification.", +"type": "string" +}, +"whatsappBusinessAccountId": { +"description": "The customer's WhatsApp Business Account (WABA) ID.", +"type": "string" +}, +"whatsappBusinessToken": { +"description": "The access token for authenticating API calls to the WhatsApp Cloud API. https://developers.facebook.com/docs/whatsapp/business-management-api/get-started/#business-integration-system-user-access-tokens", +"type": "string" +} +}, +"type": "object" +}, +"OmnichannelOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OmnichannelOperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OpenApiTool": { +"description": "A remote API tool defined by an OpenAPI schema.", +"id": "OpenApiTool", +"properties": { +"apiAuthentication": { +"$ref": "ApiAuthentication", +"description": "Optional. Authentication information required by the API." +}, +"description": { +"description": "Optional. The description of the tool. If not provided, the description of the tool will be derived from the OpenAPI schema, from `operation.description` or `operation.summary`.", +"type": "string" +}, +"ignoreUnknownFields": { +"description": "Optional. If true, the agent will ignore unknown fields in the API response.", +"type": "boolean" +}, +"name": { +"description": "Optional. The name of the tool. If not provided, the name of the tool will be derived from the OpenAPI schema, from `operation.operationId`.", +"type": "string" +}, +"openApiSchema": { +"description": "Required. The OpenAPI schema in JSON or YAML format.", +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "Optional. Service Directory configuration." +}, +"tlsConfig": { +"$ref": "TlsConfig", +"description": "Optional. The TLS configuration. Includes the custom server certificates that the client will trust." +}, +"url": { +"description": "Optional. The server URL of the Open API schema. This field is only set in tools in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema.", +"type": "string" +} +}, +"type": "object" +}, +"OpenApiToolset": { +"description": "A toolset that contains a list of tools that are defined by an OpenAPI schema.", +"id": "OpenApiToolset", +"properties": { +"apiAuthentication": { +"$ref": "ApiAuthentication", +"description": "Optional. Authentication information required by the API." +}, +"ignoreUnknownFields": { +"description": "Optional. If true, the agent will ignore unknown fields in the API response for all operations defined in the OpenAPI schema.", +"type": "boolean" +}, +"openApiSchema": { +"description": "Required. The OpenAPI schema of the toolset.", +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "Optional. Service Directory configuration." +}, +"tlsConfig": { +"$ref": "TlsConfig", +"description": "Optional. The TLS configuration. Includes the custom server certificates" +}, +"url": { +"description": "Optional. The server URL of the Open API schema. This field is only set in toolsets in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OutputAudioConfig": { +"description": "OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.", +"id": "OutputAudioConfig", +"properties": { +"audioEncoding": { +"description": "Required. The encoding of the output audio data.", +"enum": [ +"AUDIO_ENCODING_UNSPECIFIED", +"LINEAR16", +"MULAW", +"ALAW" +], +"enumDescriptions": [ +"Unspecified audio encoding.", +"16-bit linear PCM audio encoding.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law." +], +"type": "string" +}, +"sampleRateHertz": { +"description": "Required. The sample rate (in Hertz) of the output audio data.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PythonCodeCondition": { +"description": "Python code block to evaluate the condition.", +"id": "PythonCodeCondition", +"properties": { +"pythonCode": { +"description": "Required. The python code to execute.", +"type": "string" +} +}, +"type": "object" +}, +"PythonFunction": { +"description": "A Python function tool.", +"id": "PythonFunction", +"properties": { +"description": { +"description": "Output only. The description of the Python function, parsed from the python code's docstring.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Optional. The name of the Python function to execute. Must match a Python function name defined in the python code. Case sensitive. If the name is not provided, the first function defined in the python code will be used.", +"type": "string" +}, +"pythonCode": { +"description": "Optional. The Python code to execute for the tool.", +"type": "string" +} +}, +"type": "object" +}, +"RedactionConfig": { +"description": "Configuration to instruct how sensitive data should be handled.", +"id": "RedactionConfig", +"properties": { +"deidentifyTemplate": { +"description": "Optional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name to instruct on how to de-identify content. Format: `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`", +"type": "string" +}, +"enableRedaction": { +"description": "Optional. If true, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording.", +"type": "boolean" +}, +"inspectTemplate": { +"description": "Optional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to configure detection of sensitive data types. Format: `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`", +"type": "string" +} +}, +"type": "object" +}, +"RestoreAppVersionRequest": { +"description": "Request message for AgentService.RestoreAppVersion", +"id": "RestoreAppVersionRequest", +"properties": {}, +"type": "object" +}, +"RetrieveToolSchemaRequest": { +"description": "Request message for ToolService.RetrieveToolSchema.", +"id": "RetrieveToolSchemaRequest", +"properties": { +"tool": { +"description": "Optional. The name of the tool to retrieve the schema for. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "Optional. The toolset tool to retrieve the schema for. Only one tool should match the predicate from the toolset. Otherwise, an error will be returned." +} +}, +"type": "object" +}, +"RetrieveToolSchemaResponse": { +"description": "Response message for ToolService.RetrieveToolSchema.", +"id": "RetrieveToolSchemaResponse", +"properties": { +"inputSchema": { +"$ref": "Schema", +"description": "The schema of the tool input parameters." +}, +"outputSchema": { +"$ref": "Schema", +"description": "The schema of the tool output parameters." +}, +"tool": { +"description": "The name of the tool that the schema is for. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "The toolset tool that the schema is for." +} +}, +"type": "object" +}, +"RetrieveToolsRequest": { +"description": "Request message for ToolService.RetrieveTools.", +"id": "RetrieveToolsRequest", +"properties": { +"toolIds": { +"description": "Optional. The identifiers of the tools to retrieve from the toolset. If empty, all tools in the toolset will be returned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveToolsResponse": { +"description": "Response message for ToolService.RetrieveTools.", +"id": "RetrieveToolsResponse", +"properties": { +"tools": { +"description": "The list of tools that are included in the specified toolset.", +"items": { +"$ref": "Tool" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunSessionRequest": { +"description": "Request message for SessionService.RunSession.", +"id": "RunSessionRequest", +"properties": { +"config": { +"$ref": "SessionConfig", +"description": "Required. The configuration for the session." +}, +"inputs": { +"description": "Required. Inputs for the session.", +"items": { +"$ref": "SessionInput" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunSessionResponse": { +"description": "Response message for SessionService.RunSession.", +"id": "RunSessionResponse", +"properties": { +"outputs": { +"description": "Outputs for the session.", +"items": { +"$ref": "SessionOutput" +}, +"type": "array" +} +}, +"type": "object" +}, +"Schema": { +"description": "Represents a select subset of an OpenAPI 3.0 schema object.", +"id": "Schema", +"properties": { +"additionalProperties": { +"$ref": "Schema", +"description": "Optional. Can either be a boolean or an object, controls the presence of additional properties." +}, +"anyOf": { +"description": "Optional. The value should be validated against any (one or more) of the subschemas in the list.", +"items": { +"$ref": "Schema" +}, +"type": "array" +}, +"default": { +"description": "Optional. Default value of the data.", +"type": "any" +}, +"defs": { +"additionalProperties": { +"$ref": "Schema" +}, +"description": "Optional. A map of definitions for use by `ref`. Only allowed at the root of the schema.", +"type": "object" +}, +"description": { +"description": "Optional. The description of the data.", +"type": "string" +}, +"enum": { +"description": "Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:[\"EAST\", NORTH\", \"SOUTH\", \"WEST\"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}", +"items": { +"type": "string" +}, +"type": "array" +}, +"items": { +"$ref": "Schema", +"description": "Optional. Schema of the elements of Type.ARRAY." +}, +"maxItems": { +"description": "Optional. Maximum number of the elements for Type.ARRAY.", +"format": "int64", +"type": "string" +}, +"maximum": { +"description": "Optional. Maximum value for Type.INTEGER and Type.NUMBER.", +"format": "double", +"type": "number" +}, +"minItems": { +"description": "Optional. Minimum number of the elements for Type.ARRAY.", +"format": "int64", +"type": "string" +}, +"minimum": { +"description": "Optional. Minimum value for Type.INTEGER and Type.NUMBER.", +"format": "double", +"type": "number" +}, +"nullable": { +"description": "Optional. Indicates if the value may be null.", +"type": "boolean" +}, +"prefixItems": { +"description": "Optional. Schemas of initial elements of Type.ARRAY.", +"items": { +"$ref": "Schema" +}, +"type": "array" +}, +"properties": { +"additionalProperties": { +"$ref": "Schema" +}, +"description": "Optional. Properties of Type.OBJECT.", +"type": "object" +}, +"ref": { +"description": "Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": ``` type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string ``` The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring.", +"type": "string" +}, +"required": { +"description": "Optional. Required properties of Type.OBJECT.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Optional. The title of the schema.", +"type": "string" +}, +"type": { +"description": "Required. The type of the data.", +"enum": [ +"TYPE_UNSPECIFIED", +"STRING", +"INTEGER", +"NUMBER", +"BOOLEAN", +"OBJECT", +"ARRAY" +], +"enumDescriptions": [ +"Type unspecified.", +"String type.", +"Integer type.", +"Number type.", +"Boolean type.", +"Object type.", +"Array type." +], +"type": "string" +}, +"uniqueItems": { +"description": "Optional. Indicate the items in the array must be unique. Only applies to TYPE.ARRAY.", +"type": "boolean" +} +}, +"type": "object" +}, +"ServiceAccountAuthConfig": { +"description": "Configurations for authentication using a custom service account.", +"id": "ServiceAccountAuthConfig", +"properties": { +"scopes": { +"description": "Optional. The OAuth scopes to grant. If not specified, the default scope `https://www.googleapis.com/auth/cloud-platform` is used.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccount": { +"description": "Required. The email address of the service account used for authentication. CES uses this service account to exchange an access token and the access token is then sent in the `Authorization` header of the request. The service account must have the `roles/iam.serviceAccountTokenCreator` role granted to the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAgentIdTokenAuthConfig": { +"description": "Configurations for authentication with [ID token](https://cloud.google.com/docs/authentication/token-types#id) generated from service agent.", +"id": "ServiceAgentIdTokenAuthConfig", +"properties": {}, +"type": "object" +}, +"ServiceDirectoryConfig": { +"description": "Configuration for tools using Service Directory.", +"id": "ServiceDirectoryConfig", +"properties": { +"service": { +"description": "Required. The name of [Service Directory](https://cloud.google.com/service-directory) service. Format: `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`. Location of the service directory must be the same as the location of the app.", +"type": "string" +} +}, +"type": "object" +}, +"SessionConfig": { +"description": "The configuration for the session.", +"id": "SessionConfig", +"properties": { +"deployment": { +"description": "Optional. The deployment of the app to use for the session. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`", +"type": "string" +}, +"entryAgent": { +"description": "Optional. The entry agent to handle the session. If not specified, the session will be handled by the root agent of the app. Format: `projects/{project}/locations/{location}/agents/{agent}`", +"type": "string" +}, +"historicalContexts": { +"description": "Optional. The historical context of the session, including user inputs, agent responses, and other messages. Typically, CES agent would manage session automatically so client doesn't need to explicitly populate this field. However, client can optionally override the historical contexts to force the session start from certain state.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"inputAudioConfig": { +"$ref": "InputAudioConfig", +"description": "Optional. Configuration for processing the input audio." +}, +"outputAudioConfig": { +"$ref": "OutputAudioConfig", +"description": "Optional. Configuration for generating the output audio." +}, +"remoteDialogflowQueryParameters": { +"$ref": "SessionConfigRemoteDialogflowQueryParameters", +"description": "Optional. [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters) to send to the remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent when the session control is transferred to the remote agent." +}, +"timeZone": { +"description": "Optional. The time zone of the user. If provided, the agent will use the time zone for date and time related variables. Otherwise, the agent will use the time zone specified in the App.time_zone_settings. The format is the IANA Time Zone Database time zone, e.g. \"America/Los_Angeles\".", +"type": "string" +} +}, +"type": "object" +}, +"SessionConfigRemoteDialogflowQueryParameters": { +"description": "[QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters) to send to the remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent when the session control is transferred to the remote agent.", +"id": "SessionConfigRemoteDialogflowQueryParameters", +"properties": { +"endUserMetadata": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The end user metadata to be sent in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).", +"type": "object" +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The payload to be sent in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).", +"type": "object" +}, +"webhookHeaders": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The HTTP headers to be sent as webhook_headers in [QueryParameters](https://cloud.google.com/dialogflow/cx/docs/reference/rpc/google.cloud.dialogflow.cx.v3#queryparameters).", +"type": "object" +} +}, +"type": "object" +}, +"SessionInput": { +"description": "Input for the session.", +"id": "SessionInput", +"properties": { +"audio": { +"description": "Optional. Audio data from the end user.", +"format": "byte", +"type": "string" +}, +"blob": { +"$ref": "Blob", +"description": "Optional. Blob data from the end user." +}, +"dtmf": { +"description": "Optional. DTMF digits from the end user.", +"type": "string" +}, +"event": { +"$ref": "Event", +"description": "Optional. Event input." +}, +"image": { +"$ref": "Image", +"description": "Optional. Image data from the end user." +}, +"text": { +"description": "Optional. Text data from the end user.", +"type": "string" +}, +"toolResponses": { +"$ref": "ToolResponses", +"description": "Optional. Execution results for the tool calls from the client." +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Contextual variables for the session, keyed by name. Only variables declared in the app will be used by the CES agent. Unrecognized variables will still be sent to the Dialogflow agent as additional session parameters.", +"type": "object" +}, +"willContinue": { +"description": "Optional. A flag to indicate if the current message is a fragment of a larger input in the bidi streaming session. When set to `true`, the agent defers processing until it receives a subsequent message where `will_continue` is `false`, or until the system detects an endpoint in the audio input. NOTE: This field does not apply to audio and DTMF inputs, as they are always processed automatically based on the endpointing signal.", +"type": "boolean" +} +}, +"type": "object" +}, +"SessionOutput": { +"description": "Output for the session.", +"id": "SessionOutput", +"properties": { +"audio": { +"description": "Output audio from the CES agent.", +"format": "byte", +"type": "string" +}, +"citations": { +"$ref": "Citations", +"description": "Citations that provide the source information for the agent's generated text." +}, +"diagnosticInfo": { +"$ref": "SessionOutputDiagnosticInfo", +"description": "Optional. Diagnostic information contains execution details during the processing of the input. Only populated in the last SessionOutput (with `turn_completed=true`) for each turn." +}, +"endSession": { +"$ref": "EndSession", +"description": "Indicates the session has ended." +}, +"googleSearchSuggestions": { +"$ref": "GoogleSearchSuggestions", +"description": "The suggestions returned from Google Search as a result of invoking the GoogleSearchTool." +}, +"payload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Custom payload with structured output from the CES agent.", +"type": "object" +}, +"text": { +"description": "Output text from the CES agent.", +"type": "string" +}, +"toolCalls": { +"$ref": "ToolCalls", +"description": "Request for the client to execute the tools." +}, +"turnCompleted": { +"description": "If true, the CES agent has detected the end of the current conversation turn and will provide no further output for this turn.", +"type": "boolean" +}, +"turnIndex": { +"description": "Indicates the sequential order of conversation turn to which this output belongs to, starting from 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SessionOutputDiagnosticInfo": { +"description": "Contains execution details during the processing.", +"id": "SessionOutputDiagnosticInfo", +"properties": { +"messages": { +"description": "List of the messages that happened during the processing.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"rootSpan": { +"$ref": "Span", +"description": "A trace of the entire request processing, represented as a root span. This span can contain nested child spans for specific operations." +} +}, +"type": "object" +}, +"Span": { +"description": "A span is a unit of work or a single operation during the request processing.", +"id": "Span", +"properties": { +"attributes": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Key-value attributes associated with the span.", +"readOnly": true, +"type": "object" +}, +"childSpans": { +"description": "Output only. The child spans that are nested under this span.", +"items": { +"$ref": "Span" +}, +"readOnly": true, +"type": "array" +}, +"duration": { +"description": "Output only. The duration of the span.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The end time of the span.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the span.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The start time of the span.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SynthesizeSpeechConfig": { +"description": "Configuration for how the agent response should be synthesized.", +"id": "SynthesizeSpeechConfig", +"properties": { +"speakingRate": { +"description": "Optional. The speaking rate/speed in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. Values outside of the range [0.25, 2.0] will return an error.", +"format": "double", +"type": "number" +}, +"voice": { +"description": "Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code. For the list of available voices, please refer to [Supported voices and languages](https://cloud.google.com/text-to-speech/docs/voices) from Cloud Text-to-Speech.", +"type": "string" +} +}, +"type": "object" +}, +"SystemTool": { +"description": "Pre-defined system tool.", +"id": "SystemTool", +"properties": { +"description": { +"description": "Output only. The description of the system tool.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The name of the system tool.", +"type": "string" +} +}, +"type": "object" +}, +"TimeZoneSettings": { +"description": "TimeZone settings of the app.", +"id": "TimeZoneSettings", +"properties": { +"timeZone": { +"description": "Optional. The time zone of the app from the [time zone database](https://www.iana.org/time-zones), e.g., America/Los_Angeles, Europe/Paris.", +"type": "string" +} +}, +"type": "object" +}, +"TlsConfig": { +"description": "The TLS configuration.", +"id": "TlsConfig", +"properties": { +"caCerts": { +"description": "Required. Specifies a list of allowed custom CA certificates for HTTPS verification.", +"items": { +"$ref": "TlsConfigCaCert" +}, +"type": "array" +} +}, +"type": "object" +}, +"TlsConfigCaCert": { +"description": "The CA certificate.", +"id": "TlsConfigCaCert", +"properties": { +"cert": { +"description": "Required. The allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, CES will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with \"subject alt name\". For instance a certificate can be self-signed using the following command, openssl x509 -req -days 200 -in example.com.csr \\ -signkey example.com.key \\ -out example.com.crt \\ -extfile <(printf \"\\nsubjectAltName='DNS:www.example.com'\")", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.", +"type": "string" +} +}, +"type": "object" +}, +"Tool": { +"description": "A tool represents an action that the CES agent can take to achieve certain goals.", +"id": "Tool", +"properties": { +"clientFunction": { +"$ref": "ClientFunction", +"description": "Optional. The client function." +}, +"connectorTool": { +"$ref": "ConnectorTool", +"description": "Optional. The Integration Connector tool." +}, +"createTime": { +"description": "Output only. Timestamp when the tool was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataStoreTool": { +"$ref": "DataStoreTool", +"description": "Optional. The data store tool." +}, +"displayName": { +"description": "Output only. The display name of the tool, derived based on the tool's type. For example, display name of a ClientFunction is derived from its `name` property.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"type": "string" +}, +"executionType": { +"description": "Optional. The execution type of the tool.", +"enum": [ +"EXECUTION_TYPE_UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"The execution type is unspecified. Defaults to `SYNCHRONOUS` if unspecified.", +"The tool is executed synchronously. The session is blocked until the tool returns.", +"The tool is executed asynchronously. The session will continue while the tool is executing." +], +"type": "string" +}, +"fileSearchTool": { +"$ref": "FileSearchTool", +"description": "Optional. The file search tool." +}, +"generatedSummary": { +"description": "Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation.", +"readOnly": true, +"type": "string" +}, +"googleSearchTool": { +"$ref": "GoogleSearchTool", +"description": "Optional. The google search tool." +}, +"mcpTool": { +"$ref": "McpTool", +"description": "Optional. The MCP tool. An MCP tool cannot be created or updated directly and is managed by the MCP toolset." +}, +"name": { +"description": "Identifier. The unique identifier of the tool. Format: - `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` for ## standalone tools. `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool}` for tools retrieved from a toolset. These tools are dynamic and output-only, they cannot be referenced directly where a tool is expected.", +"type": "string" +}, +"openApiTool": { +"$ref": "OpenApiTool", +"description": "Optional. The open API tool." +}, +"pythonFunction": { +"$ref": "PythonFunction", +"description": "Optional. The python function tool." +}, +"systemTool": { +"$ref": "SystemTool", +"description": "Optional. The system tool." +}, +"toolFakeConfig": { +"$ref": "ToolFakeConfig", +"description": "Optional. Configuration for tool behavior in fake mode." +}, +"updateTime": { +"description": "Output only. Timestamp when the tool was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"widgetTool": { +"$ref": "WidgetTool", +"description": "Optional. The widget tool." +} +}, +"type": "object" +}, +"ToolCall": { +"description": "Request for the client or the agent to execute the specified tool.", +"id": "ToolCall", +"properties": { +"args": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. The input parameters and values for the tool in JSON object format.", +"type": "object" +}, +"displayName": { +"description": "Output only. Display name of the tool.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.", +"type": "string" +}, +"tool": { +"description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "Optional. The toolset tool to execute." +} +}, +"type": "object" +}, +"ToolCalls": { +"description": "Request for the client to execute the tools and return the execution results before continuing the session.", +"id": "ToolCalls", +"properties": { +"toolCalls": { +"description": "Optional. The list of tool calls to execute.", +"items": { +"$ref": "ToolCall" +}, +"type": "array" +} +}, +"type": "object" +}, +"ToolFakeConfig": { +"description": "Configuration for tool behavior in fake mode.", +"id": "ToolFakeConfig", +"properties": { +"codeBlock": { +"$ref": "CodeBlock", +"description": "Optional. Code block which will be executed instead of a real tool call." +}, +"enableFakeMode": { +"description": "Optional. Whether the tool is using fake mode.", +"type": "boolean" +} +}, +"type": "object" +}, +"ToolResponse": { +"description": "The execution result of a specific tool from the client or the agent.", +"id": "ToolResponse", +"properties": { +"displayName": { +"description": "Output only. Display name of the tool.", +"readOnly": true, +"type": "string" +}, +"id": { +"description": "Optional. The matching ID of the tool call the response is for.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. The tool execution result in JSON object format. Use \"output\" key to specify tool response and \"error\" key to specify error details (if any). If \"output\" and \"error\" keys are not specified, then whole \"response\" is treated as tool execution result.", +"type": "object" +}, +"tool": { +"description": "Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`", +"type": "string" +}, +"toolsetTool": { +"$ref": "ToolsetTool", +"description": "Optional. The toolset tool that got executed." +} +}, +"type": "object" +}, +"ToolResponses": { +"description": "Execution results for the requested tool calls from the client.", +"id": "ToolResponses", +"properties": { +"toolResponses": { +"description": "Optional. The list of tool execution results.", +"items": { +"$ref": "ToolResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"Toolset": { +"description": "A toolset represents a group of dynamically managed tools that can be used by the agent.", +"id": "Toolset", +"properties": { +"connectorToolset": { +"$ref": "ConnectorToolset", +"description": "Optional. A toolset that generates tools from an Integration Connectors Connection." +}, +"createTime": { +"description": "Output only. Timestamp when the toolset was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the toolset.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the toolset. Must be unique within the same app.", +"type": "string" +}, +"etag": { +"description": "ETag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.", +"type": "string" +}, +"executionType": { +"description": "Optional. The execution type of the tools in the toolset.", +"enum": [ +"EXECUTION_TYPE_UNSPECIFIED", +"SYNCHRONOUS", +"ASYNCHRONOUS" +], +"enumDescriptions": [ +"The execution type is unspecified. Defaults to `SYNCHRONOUS` if unspecified.", +"The tool is executed synchronously. The session is blocked until the tool returns.", +"The tool is executed asynchronously. The session will continue while the tool is executing." +], +"type": "string" +}, +"mcpToolset": { +"$ref": "McpToolset", +"description": "Optional. A toolset that contains a list of tools that are offered by the MCP server." +}, +"name": { +"description": "Identifier. The unique identifier of the toolset. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`", +"type": "string" +}, +"openApiToolset": { +"$ref": "OpenApiToolset", +"description": "Optional. A toolset that contains a list of tools that are defined by an OpenAPI schema." +}, +"toolFakeConfig": { +"$ref": "ToolFakeConfig", +"description": "Optional. Configuration for tools behavior in fake mode." +}, +"updateTime": { +"description": "Output only. Timestamp when the toolset was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ToolsetTool": { +"description": "A tool that is created from a toolset.", +"id": "ToolsetTool", +"properties": { +"toolId": { +"description": "Optional. The tool ID to filter the tools to retrieve the schema for.", +"type": "string" +}, +"toolset": { +"description": "Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`", +"type": "string" +} +}, +"type": "object" +}, +"TransferRule": { +"description": "Rule for transferring to a specific agent.", +"id": "TransferRule", +"properties": { +"childAgent": { +"description": "Required. The resource name of the child agent the rule applies to. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +}, +"deterministicTransfer": { +"$ref": "TransferRuleDeterministicTransfer", +"description": "Optional. A rule that immediately transfers to the target agent when the condition is met." +}, +"direction": { +"description": "Required. The direction of the transfer.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"PARENT_TO_CHILD", +"CHILD_TO_PARENT" +], +"enumDescriptions": [ +"Unspecified direction.", +"Transfer from the parent agent to the child agent.", +"Transfer from the child agent to the parent agent." +], +"type": "string" +}, +"disablePlannerTransfer": { +"$ref": "TransferRuleDisablePlannerTransfer", +"description": "Optional. Rule that prevents the planner from transferring to the target agent." +} +}, +"type": "object" +}, +"TransferRuleDeterministicTransfer": { +"description": "Deterministic transfer rule. When the condition evaluates to true, the transfer occurs.", +"id": "TransferRuleDeterministicTransfer", +"properties": { +"expressionCondition": { +"$ref": "ExpressionCondition", +"description": "Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs." +}, +"pythonCodeCondition": { +"$ref": "PythonCodeCondition", +"description": "Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs." +} +}, +"type": "object" +}, +"TransferRuleDisablePlannerTransfer": { +"description": "A rule that prevents the planner from transferring to the target agent.", +"id": "TransferRuleDisablePlannerTransfer", +"properties": { +"expressionCondition": { +"$ref": "ExpressionCondition", +"description": "Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent." +} +}, +"type": "object" +}, +"TriggerAction": { +"description": "Action that is taken when a certain precondition is met.", +"id": "TriggerAction", +"properties": { +"generativeAnswer": { +"$ref": "TriggerActionGenerativeAnswer", +"description": "Optional. Respond with a generative answer." +}, +"respondImmediately": { +"$ref": "TriggerActionRespondImmediately", +"description": "Optional. Immediately respond with a preconfigured response." +}, +"transferAgent": { +"$ref": "TriggerActionTransferAgent", +"description": "Optional. Transfer the conversation to a different agent." +} +}, +"type": "object" +}, +"TriggerActionGenerativeAnswer": { +"description": "The agent will immediately respond with a generative answer.", +"id": "TriggerActionGenerativeAnswer", +"properties": { +"prompt": { +"description": "Required. The prompt to use for the generative answer.", +"type": "string" +} +}, +"type": "object" +}, +"TriggerActionRespondImmediately": { +"description": "The agent will immediately respond with a preconfigured response.", +"id": "TriggerActionRespondImmediately", +"properties": { +"responses": { +"description": "Required. The canned responses for the agent to choose from. The response is chosen randomly.", +"items": { +"$ref": "TriggerActionResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"TriggerActionResponse": { +"description": "Represents a response from the agent.", +"id": "TriggerActionResponse", +"properties": { +"disabled": { +"description": "Optional. Whether the response is disabled. Disabled responses are not used by the agent.", +"type": "boolean" +}, +"text": { +"description": "Required. Text for the agent to respond with.", +"type": "string" +} +}, +"type": "object" +}, +"TriggerActionTransferAgent": { +"description": "The agent will transfer the conversation to a different agent.", +"id": "TriggerActionTransferAgent", +"properties": { +"agent": { +"description": "Required. The name of the agent to transfer the conversation to. The agent must be in the same app as the current agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`", +"type": "string" +} +}, +"type": "object" +}, +"WebSearchQuery": { +"description": "Represents a single web search query and its associated search uri.", +"id": "WebSearchQuery", +"properties": { +"query": { +"description": "The search query text.", +"type": "string" +}, +"uri": { +"description": "The URI to the Google Search results page for the query.", +"type": "string" +} +}, +"type": "object" +}, +"WidgetTool": { +"description": "Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.", +"id": "WidgetTool", +"properties": { +"description": { +"description": "Optional. The description of the widget tool.", +"type": "string" +}, +"name": { +"description": "Required. The display name of the widget tool.", +"type": "string" +}, +"parameters": { +"$ref": "Schema", +"description": "Optional. The input parameters of the widget tool." +}, +"widgetType": { +"description": "Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.", +"enum": [ +"WIDGET_TYPE_UNSPECIFIED", +"CUSTOM", +"PRODUCT_CAROUSEL", +"PRODUCT_DETAILS", +"QUICK_ACTIONS", +"PRODUCT_COMPARISON", +"ADVANCED_PRODUCT_DETAILS", +"SHORT_FORM", +"OVERALL_SATISFACTION", +"ORDER_SUMMARY", +"APPOINTMENT_DETAILS", +"APPOINTMENT_SCHEDULER", +"CONTACT_FORM" +], +"enumDescriptions": [ +"Unspecified widget type.", +"Custom widget type.", +"Product carousel widget.", +"Product details widget.", +"Quick actions widget.", +"Product comparison widget.", +"Advanced product details widget.", +"Short form widget.", +"Overall satisfaction widget.", +"Order summary widget.", +"Appointment details widget.", +"Appointment scheduler widget.", +"Contact form widget." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Gemini Enterprise for Customer Experience API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chat.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chat.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b9b8f756f15b15c089a71f83f45d040b30150323 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chat.v1.json @@ -0,0 +1,5922 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/chat.admin.delete": { +"description": "Delete conversations and spaces owned by your organization and remove access to associated files in Google Chat" +}, +"https://www.googleapis.com/auth/chat.admin.memberships": { +"description": "View, add, update and remove members and managers in conversations owned by your organization" +}, +"https://www.googleapis.com/auth/chat.admin.memberships.readonly": { +"description": "View members and managers in conversations owned by your organization" +}, +"https://www.googleapis.com/auth/chat.admin.spaces": { +"description": "View or edit display name, description, and other metadata for all Google Chat conversations owned by your organization" +}, +"https://www.googleapis.com/auth/chat.admin.spaces.readonly": { +"description": "View display name, description, and other metadata for all Google Chat conversations owned by your organization" +}, +"https://www.googleapis.com/auth/chat.app.delete": { +"description": "On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files" +}, +"https://www.googleapis.com/auth/chat.app.memberships": { +"description": "On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces" +}, +"https://www.googleapis.com/auth/chat.app.messages.readonly": { +"description": "On their own behalf, apps in Google Chat can see all messages and their associated reactions and message content" +}, +"https://www.googleapis.com/auth/chat.app.spaces": { +"description": "On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings)" +}, +"https://www.googleapis.com/auth/chat.app.spaces.create": { +"description": "On their own behalf, apps in Google Chat can create conversations and spaces" +}, +"https://www.googleapis.com/auth/chat.bot": { +"description": "Private Service: https://www.googleapis.com/auth/chat.bot" +}, +"https://www.googleapis.com/auth/chat.customemojis": { +"description": "View, create, and delete custom emoji in Google Chat" +}, +"https://www.googleapis.com/auth/chat.customemojis.readonly": { +"description": "View custom emoji in Google Chat" +}, +"https://www.googleapis.com/auth/chat.delete": { +"description": "Delete conversations and spaces and remove access to associated files in Google Chat" +}, +"https://www.googleapis.com/auth/chat.import": { +"description": "Import spaces, messages, and memberships into Google Chat." +}, +"https://www.googleapis.com/auth/chat.memberships": { +"description": "See, add, update, and remove members from conversations and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/chat.memberships.app": { +"description": "Add and remove itself from conversations and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/chat.memberships.readonly": { +"description": "View members in Google Chat conversations." +}, +"https://www.googleapis.com/auth/chat.messages": { +"description": "See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages." +}, +"https://www.googleapis.com/auth/chat.messages.create": { +"description": "Compose and send messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.reactions": { +"description": "See, add, and delete reactions as well as their reaction content to messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.reactions.create": { +"description": "Add reactions to messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.reactions.readonly": { +"description": "View reactions as well as their reaction content to messages in Google Chat" +}, +"https://www.googleapis.com/auth/chat.messages.readonly": { +"description": "See messages as well as their reactions and message content in Google Chat" +}, +"https://www.googleapis.com/auth/chat.spaces": { +"description": "Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat" +}, +"https://www.googleapis.com/auth/chat.spaces.create": { +"description": "Create new conversations and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/chat.spaces.readonly": { +"description": "View chat and spaces in Google Chat" +}, +"https://www.googleapis.com/auth/chat.users.readstate": { +"description": "View and modify last read time for Google Chat conversations" +}, +"https://www.googleapis.com/auth/chat.users.readstate.readonly": { +"description": "View last read time for Google Chat conversations" +}, +"https://www.googleapis.com/auth/chat.users.spacesettings": { +"description": "Read and update your space settings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://chat.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Hangouts Chat", +"description": "The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/chat", +"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": "chat:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://chat.mtls.googleapis.com/", +"name": "chat", +"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": { +"customEmojis": { +"methods": { +"create": { +"description": "Creates a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis`", +"flatPath": "v1/customEmojis", +"httpMethod": "POST", +"id": "chat.customEmojis.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/customEmojis", +"request": { +"$ref": "CustomEmoji" +}, +"response": { +"$ref": "CustomEmoji" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.customemojis" +] +}, +"delete": { +"description": "Deletes a custom emoji. By default, users can only delete custom emoji they created. [Emoji managers](https://support.google.com/a/answer/12850085) assigned by the administrator can delete any custom emoji in the organization. See [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149). Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis`", +"flatPath": "v1/customEmojis/{customEmojisId}", +"httpMethod": "DELETE", +"id": "chat.customEmojis.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the custom emoji to delete. Format: `customEmojis/{customEmoji}` You can use the emoji name as an alias for `{customEmoji}`. For example, `customEmojis/:example-emoji:` where `:example-emoji:` is the emoji name for a custom emoji.", +"location": "path", +"pattern": "^customEmojis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.customemojis" +] +}, +"get": { +"description": "Returns details about a custom emoji. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis`", +"flatPath": "v1/customEmojis/{customEmojisId}", +"httpMethod": "GET", +"id": "chat.customEmojis.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the custom emoji. Format: `customEmojis/{customEmoji}` You can use the emoji name as an alias for `{customEmoji}`. For example, `customEmojis/:example-emoji:` where `:example-emoji:` is the emoji name for a custom emoji.", +"location": "path", +"pattern": "^customEmojis/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CustomEmoji" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.customemojis", +"https://www.googleapis.com/auth/chat.customemojis.readonly" +] +}, +"list": { +"description": "Lists custom emojis visible to the authenticated user. Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see [Learn about custom emojis in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage custom emoji permissions](https://support.google.com/a/answer/12850085). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.customemojis.readonly` - `https://www.googleapis.com/auth/chat.customemojis`", +"flatPath": "v1/customEmojis", +"httpMethod": "GET", +"id": "chat.customEmojis.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. A query filter. Supports filtering by creator. To filter by creator, you must specify a valid value. Currently only `creator(\"users/me\")` and `NOT creator(\"users/me\")` are accepted to filter custom emojis by whether they were created by the calling user or not. For example, the following query returns custom emojis created by the caller: ``` creator(\"users/me\") ``` Invalid queries are rejected with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of custom emojis returned. The service can return fewer custom emojis than this value. If unspecified, the default value is 25. The maximum value is 200; values above 200 are changed to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. (If resuming from a previous query.) A page token received from a previous list custom emoji call. Provide this to retrieve the subsequent page. When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/customEmojis", +"response": { +"$ref": "ListCustomEmojisResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.customemojis", +"https://www.googleapis.com/auth/chat.customemojis.readonly" +] +} +} +}, +"media": { +"methods": { +"download": { +"description": "Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`.", +"flatPath": "v1/media/{mediaId}", +"httpMethod": "GET", +"id": "chat.media.download", +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/media/{+resourceName}", +"response": { +"$ref": "Media" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.readonly" +], +"supportsMediaDownload": true +}, +"upload": { +"description": "Uploads an attachment. For an example, see [Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments). Requires user [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) You can upload attachments up to 200 MB. Certain file types aren't supported. For details, see [File types blocked by Google Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat).", +"flatPath": "v1/spaces/{spacesId}/attachments:upload", +"httpMethod": "POST", +"id": "chat.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "209715200", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/v1/{+parent}/attachments:upload" +}, +"simple": { +"multipart": true, +"path": "/upload/v1/{+parent}/attachments:upload" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the Chat space in which the attachment is uploaded. Format \"spaces/{space}\".", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attachments:upload", +"request": { +"$ref": "UploadAttachmentRequest" +}, +"response": { +"$ref": "UploadAttachmentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.create" +], +"supportsMediaUpload": true +} +} +}, +"spaces": { +"methods": { +"completeImport": { +"description": "Completes the [import process](https://developers.google.com/workspace/chat/import-data) for the specified space and makes it visible to users. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) and domain-wide delegation with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.import` For more information, see [Authorize Google Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import).", +"flatPath": "v1/spaces/{spacesId}:completeImport", +"httpMethod": "POST", +"id": "chat.spaces.completeImport", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the import mode space. Format: `spaces/{space}`", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:completeImport", +"request": { +"$ref": "CompleteImportSpaceRequest" +}, +"response": { +"$ref": "CompleteImportSpaceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.import" +] +}, +"create": { +"description": "Creates a space. Can be used to create a named space, or a group chat in `Import mode`. For an example, see [Create a space](https://developers.google.com/workspace/chat/create-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When authenticating as an app, the `space.customer` field must be set in the request. When authenticating as an app, the Chat app is added as a member of the space. However, unlike human authentication, the Chat app is not added as a space manager. By default, the Chat app can be removed from the space by all space members. To allow only space managers to remove the app from a space, set `space.permission_settings.manage_apps` to `managers_allowed`. Space membership upon creation depends on whether the space is created in `Import mode`: * **Import mode:** No members are created. * **All other modes:** The calling user is added as a member. This is: * The app itself when using app authentication. * The human user when using user authentication. If you receive the error message `ALREADY_EXISTS` when creating a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.", +"flatPath": "v1/spaces", +"httpMethod": "POST", +"id": "chat.spaces.create", +"parameterOrder": [], +"parameters": { +"requestId": { +"description": "Optional. A unique identifier for this request. A random UUID is recommended. Specifying an existing request ID returns the space created with that ID instead of creating a new space. Specifying an existing request ID from the same Chat app with a different authenticated user returns an error.", +"location": "query", +"type": "string" +} +}, +"path": "v1/spaces", +"request": { +"$ref": "Space" +}, +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.app.spaces.create", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.create" +] +}, +"delete": { +"description": "Deletes a named space. Always performs a cascading delete, which means that the space's child resources\u2014like messages posted in the space and memberships in the space\u2014are also deleted. For an example, see [Delete a space](https://developers.google.com/workspace/chat/delete-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.delete`", +"flatPath": "v1/spaces/{spacesId}", +"httpMethod": "DELETE", +"id": "chat.spaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the space to delete. Format: `spaces/{space}`", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.delete` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.delete", +"https://www.googleapis.com/auth/chat.app.delete", +"https://www.googleapis.com/auth/chat.delete", +"https://www.googleapis.com/auth/chat.import" +] +}, +"findDirectMessage": { +"description": "Returns the existing direct message with the specified user. If no direct message space is found, returns a `404 NOT_FOUND` error. For an example, see [Find a direct message](/chat/api/guides/v1/spaces/find-direct-message). With [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app), returns the direct message space between the specified user and the calling Chat app. With [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), returns the direct message space between the specified user and the authenticated user. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces`", +"flatPath": "v1/spaces:findDirectMessage", +"httpMethod": "GET", +"id": "chat.spaces.findDirectMessage", +"parameterOrder": [], +"parameters": { +"name": { +"description": "Required. Resource name of the user to find direct message with. Format: `users/{user}`, where `{user}` is either the `id` for the [person](https://developers.google.com/people/api/rest/v1/people) from the People API, or the `id` for the [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Directory API. For example, if the People API profile ID is `123456789`, you can find a direct message with that person by using `users/123456789` as the `name`. When [authenticated as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you can use the email as an alias for `{user}`. For example, `users/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.", +"location": "query", +"type": "string" +} +}, +"path": "v1/spaces:findDirectMessage", +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly" +] +}, +"get": { +"description": "Returns details about a space. For an example, see [Get details about a space](https://developers.google.com/workspace/chat/get-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.spaces` with [administrator approval](https://support.google.com/a?p=chat-app-auth) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has the following limitations: - `space.access_settings` is only populated when using the `chat.app.spaces` scope. - `space.predefind_permission_settings` and `space.permission_settings` are only populated when using the `chat.app.spaces` scope, and only for spaces the app created.", +"flatPath": "v1/spaces/{spacesId}", +"httpMethod": "GET", +"id": "chat.spaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the space, in the form `spaces/{space}`. Format: `spaces/{space}`", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` or `chat.admin.spaces.readonly` [OAuth 2.0 scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.spaces", +"https://www.googleapis.com/auth/chat.admin.spaces.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly" +] +}, +"list": { +"description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead.", +"flatPath": "v1/spaces", +"httpMethod": "GET", +"id": "chat.spaces.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. A query filter. You can filter spaces by the space type ([`space_type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#spacetype)). To filter by space type, you must specify valid enum value, such as `SPACE` or `GROUP_CHAT` (the `space_type` can't be `SPACE_TYPE_UNSPECIFIED`). To query for multiple space types, use the `OR` operator. For example, the following queries are valid: ``` space_type = \"SPACE\" spaceType = \"GROUP_CHAT\" OR spaceType = \"DIRECT_MESSAGE\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of spaces to return. The service might return fewer than this value. If unspecified, at most 100 spaces are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous list spaces call. Provide this parameter to retrieve the subsequent page. When paginating, the filter value should match the call that provided the page token. Passing a different value may lead to unexpected results.", +"location": "query", +"type": "string" +} +}, +"path": "v1/spaces", +"response": { +"$ref": "ListSpacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly" +] +}, +"patch": { +"description": "Updates a space. For an example, see [Update a space](https://developers.google.com/workspace/chat/update-spaces). If you're updating the `displayName` field and receive the error message `ALREADY_EXISTS`, try a different display name.. An existing space within the Google Workspace organization might already use this display name. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has the following limitations: - To update either `space.predefined_permission_settings` or `space.permission_settings`, the app must be the space creator. - Updating the `space.access_settings.audience` is not supported for app authentication.", +"flatPath": "v1/spaces/{spacesId}", +"httpMethod": "PATCH", +"id": "chat.spaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The updated field paths, comma separated if there are multiple. You can update the following fields for a space: `space_details`: Updates the space's description and guidelines. You must pass both description and guidelines in the update request as `SpaceDetails`. If you only want to update one of the fields, pass the existing value for the other field. `display_name`: Only supports updating the display name for spaces where `spaceType` field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different value. An existing space within the Google Workspace organization might already use this display name. `space_type`: Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error. `space_type` is not supported with `useAdminAccess`. `space_history_state`: Updates [space history settings](https://support.google.com/chat/answer/7664687) by turning history on or off for the space. Only supported if history settings are enabled for the Google Workspace organization. To update the space history state, you must omit all other field masks in your request. `space_history_state` is not supported with `useAdminAccess`. `access_settings.audience`: Updates the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the space, join the space, and preview the messages in named space where `spaceType` field is `SPACE`. If the existing space has a target audience, you can remove the audience and restrict space access by omitting a value for this field mask. To update access settings for a space, the authenticating user must be a space manager and omit all other field masks in your request. You can't update this field if the space is in [import mode](https://developers.google.com/workspace/chat/import-data-overview). To learn more, see [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience). `access_settings.audience` is not supported with `useAdminAccess`. `permission_settings`: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space. When updating permission settings, you can only specify `permissionSettings` field masks; you cannot update other field masks at the same time. The supported field masks include: - `permission_settings.manageMembersAndGroups` - `permission_settings.modifySpaceDetails` - `permission_settings.toggleHistory` - `permission_settings.useAtMentionAll` - `permission_settings.manageApps` - `permission_settings.manageWebhooks` - `permission_settings.replyMessages`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Some `FieldMask` values are not supported using admin access. For details, see the description of `update_mask`.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Space" +}, +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.spaces", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.spaces" +] +}, +"search": { +"description": "Returns a list of spaces in a Google Workspace organization based on an administrator's search. In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) and one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces`", +"flatPath": "v1/spaces:search", +"httpMethod": "GET", +"id": "chat.spaces.search", +"parameterOrder": [], +"parameters": { +"orderBy": { +"description": "Optional. How the list of spaces is ordered. Supported attributes to order by are: - `membership_count.joined_direct_human_user_count` \u2014 Denotes the count of human users that have directly joined a space. - `last_active_time` \u2014 Denotes the time when last eligible item is added to any topic of this space. - `create_time` \u2014 Denotes the time of the space creation. Valid ordering operation values are: - `ASC` for ascending. Default value. - `DESC` for descending. The supported syntax are: - `membership_count.joined_direct_human_user_count DESC` - `membership_count.joined_direct_human_user_count ASC` - `last_active_time DESC` - `last_active_time ASC` - `create_time DESC` - `create_time ASC`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of spaces to return. The service may return fewer than this value. If unspecified, at most 100 spaces are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token, received from the previous search spaces call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", +"location": "query", +"type": "string" +}, +"query": { +"description": "Required. A search query. You can search by using the following parameters: - `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `>`, `<=`, `>=`. `customer` is required and is used to indicate which customer to fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is prefix-matched case-insensitively and independently as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values from the [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across different fields, only `AND` operators are supported. A valid example is `space_type = \"SPACE\" AND display_name:\"Hello\"` and an invalid example is `space_type = \"SPACE\" OR display_name:\"Hello\"`. Among the same field, `space_type` doesn't support `AND` or `OR` operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an interval, such as `last_active_time < \"2022-01-01T00:00:00+00:00\" AND last_active_time > \"2023-01-01T00:00:00+00:00\"`. The following example queries are valid: ``` customer = \"customers/my_customer\" AND space_type = \"SPACE\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND display_name:\"Hello World\" customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (last_active_time < \"2020-01-01T00:00:00+00:00\" OR last_active_time > \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (display_name:\"Hello World\" OR display_name:\"Fun event\") AND (last_active_time > \"2020-01-01T00:00:00+00:00\" AND last_active_time < \"2022-01-01T00:00:00+00:00\") customer = \"customers/my_customer\" AND space_type = \"SPACE\" AND (create_time > \"2019-01-01T00:00:00+00:00\" AND create_time < \"2020-01-01T00:00:00+00:00\") AND (external_user_allowed = \"true\") AND (space_history_state = \"HISTORY_ON\" OR space_history_state = \"HISTORY_OFF\") ```", +"location": "query", +"type": "string" +}, +"useAdminAccess": { +"description": "When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires either the `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). This method currently only supports admin access, thus only `true` is accepted for this field.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/spaces:search", +"response": { +"$ref": "SearchSpacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.spaces", +"https://www.googleapis.com/auth/chat.admin.spaces.readonly" +] +}, +"setup": { +"description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. To specify the Google groups to add, add memberships with the appropriate `membership.group_member.name`. To add or invite a Google group, use `groups/{group}`, where `{group}` is the `id` for the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID `123456789` for group email `group@example.com`, then you can add the group to the space by setting the `membership.group_member.name` to `groups/123456789`. Group email is not supported, and Google groups can only be added as members in named spaces. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces`", +"flatPath": "v1/spaces:setup", +"httpMethod": "POST", +"id": "chat.spaces.setup", +"parameterOrder": [], +"parameters": {}, +"path": "v1/spaces:setup", +"request": { +"$ref": "SetUpSpaceRequest" +}, +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.create" +] +} +}, +"resources": { +"members": { +"methods": { +"create": { +"description": "Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships for other Chat apps isn't supported. When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to add the calling app to the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` App authentication is not supported for the following use cases: - Inviting users external to the Workspace organization that owns the space. - Adding a Google Group to a space. - Adding a Chat app to a space. For example usage, see: - [Invite or add a user to a space](https://developers.google.com/workspace/chat/create-members#create-user-membership). - [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-members#create-group-membership). - [Add the Chat app to a space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-api).", +"flatPath": "v1/spaces/{spacesId}/members", +"httpMethod": "POST", +"id": "chat.spaces.members.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the space for which to create the membership. Format: spaces/{space}", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Creating app memberships or creating memberships for users outside the administrator's Google Workspace organization isn't supported using admin access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/members", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.memberships", +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.app" +] +}, +"delete": { +"description": "Deletes a membership. For an example, see [Remove a user or a Google Chat app from a space](https://developers.google.com/workspace/chat/delete-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.memberships.app` (to remove the calling app from the space) - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships` App authentication is not supported for the following use cases: - Removing a Google Group from a space. - Removing a Chat app from a space. To delete memberships for space managers, the requester must be a space manager. If you're using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) the Chat app must be the space creator.", +"flatPath": "v1/spaces/{spacesId}/members/{membersId}", +"httpMethod": "DELETE", +"id": "chat.spaces.members.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the membership to delete. Chat apps can delete human users' or their own memberships. Chat apps can't delete other apps' memberships. When deleting a human membership, requires the `chat.memberships` scope with [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or the `chat.memberships.app` scope with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and the `spaces/{space}/members/{member}` format. You can use the email as an alias for `{member}`. For example, `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user. When deleting an app membership, requires the `chat.memberships.app` scope and `spaces/{space}/members/app` format. Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app`.", +"location": "path", +"pattern": "^spaces/[^/]+/members/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Deleting app memberships in a space isn't supported using admin access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.memberships", +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.app" +] +}, +"get": { +"description": "Returns details about a membership. For an example, see [Get details about a user's or Google Chat app's membership](https://developers.google.com/workspace/chat/get-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.memberships` (requires [administrator approval](https://support.google.com/a?p=chat-app-auth)) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships`", +"flatPath": "v1/spaces/{spacesId}/members/{membersId}", +"httpMethod": "GET", +"id": "chat.spaces.members.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the membership to retrieve. To get the app's own membership [by using user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), you can optionally use `spaces/{space}/members/app`. Format: `spaces/{space}/members/{member}` or `spaces/{space}/members/app` You can use the user's email as an alias for `{member}`. For example, `spaces/{space}/members/example@gmail.com` where `example@gmail.com` is the email of the Google Chat user.", +"location": "path", +"pattern": "^spaces/[^/]+/members/[^/]+$", +"required": true, +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` or `chat.admin.memberships.readonly` [OAuth 2.0 scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Getting app memberships in a space isn't supported when using admin access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.memberships", +"https://www.googleapis.com/auth/chat.admin.memberships.readonly", +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly" +] +}, +"list": { +"description": "Lists memberships in a space. For an example, see [List users and Google Chat apps in a space](https://developers.google.com/workspace/chat/list-members). Listing memberships with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) lists memberships in spaces that the authenticated user has access to. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.memberships` (requires [administrator approval](https://support.google.com/a?p=chat-app-auth)) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and one of the following authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.memberships`", +"flatPath": "v1/spaces/{spacesId}/members", +"httpMethod": "GET", +"id": "chat.spaces.members.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. You can also filter for `member.type` using the `!=` operator. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. Either `member.type = \"HUMAN\"` or `member.type != \"BOT\"` is required when `use_admin_access` is set to true. Other member type filters will be rejected. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" member.type != \"BOT\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of memberships to return. The service might return fewer than this value. If unspecified, at most 100 memberships are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call to list memberships. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the space for which to fetch a membership list. Format: spaces/{space}", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"showGroups": { +"description": "Optional. When `true`, also returns memberships associated with a Google Group, in addition to other types of memberships. If a filter is set, Google Group memberships that don't match the filter criteria aren't returned.", +"location": "query", +"type": "boolean" +}, +"showInvited": { +"description": "Optional. When `true`, also returns memberships associated with invited members, in addition to other types of memberships. If a filter is set, invited memberships that don't match the filter criteria aren't returned. Currently requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"location": "query", +"type": "boolean" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires either the `chat.admin.memberships.readonly` or `chat.admin.memberships` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). Listing app memberships in a space isn't supported when using admin access.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/members", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.memberships", +"https://www.googleapis.com/auth/chat.admin.memberships.readonly", +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly" +] +}, +"patch": { +"description": "Updates a membership. For an example, see [Update a user's membership in a space](https://developers.google.com/workspace/chat/update-members). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the app created) - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - User authentication grants administrator privileges when an administrator account authenticates, `use_admin_access` is `true`, and the following authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.memberships`", +"flatPath": "v1/spaces/{spacesId}/members/{membersId}", +"httpMethod": "PATCH", +"id": "chat.spaces.members.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the membership, assigned by the server. Format: `spaces/{space}/members/{member}`", +"location": "path", +"pattern": "^spaces/[^/]+/members/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `role`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"useAdminAccess": { +"description": "Optional. When `true`, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the [manage chat and spaces conversations privilege](https://support.google.com/a/answer/13369245). Requires the `chat.admin.memberships` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.admin.memberships", +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.memberships" +] +} +} +}, +"messages": { +"methods": { +"create": { +"description": "Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.create` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request.", +"flatPath": "v1/spaces/{spacesId}/messages", +"httpMethod": "POST", +"id": "chat.spaces.messages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"messageId": { +"description": "Optional. A custom ID for a message. Lets Chat apps get, update, or delete a message without needing to store the system-assigned ID in the message's resource name (represented in the message `name` field). The value for this field must meet the following requirements: * Begins with `client-`. For example, `client-custom-name` is a valid custom ID, but `custom-name` is not. * Contains up to 63 characters and only lowercase letters, numbers, and hyphens. * Is unique within a space. A Chat app can't use the same custom ID for different messages. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"location": "query", +"type": "string" +}, +"messageReplyOption": { +"description": "Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces. When [responding to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this field is ignored. For interactions within a thread, the reply is created in the same thread. Otherwise, the reply is created as a new thread.", +"enum": [ +"MESSAGE_REPLY_OPTION_UNSPECIFIED", +"REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD", +"REPLY_MESSAGE_OR_FAIL" +], +"enumDescriptions": [ +"Default. Starts a new thread. Using this option ignores any thread ID or `thread_key` that's included.", +"Creates the message as a reply to the thread specified by thread ID or `thread_key`. If it fails, the message starts a new thread instead.", +"Creates the message as a reply to the thread specified by thread ID or `thread_key`. If a new `thread_key` is used, a new thread is created. If the message creation fails, a `NOT_FOUND` error is returned instead." +], +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the space in which to create a message. Format: `spaces/{space}`", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", +"location": "query", +"type": "string" +}, +"threadKey": { +"deprecated": true, +"description": "Optional. Deprecated: Use thread.thread_key instead. ID for the thread. Supports up to 4000 characters. To start or add to a thread, create a message and specify a `threadKey` or the thread.name. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/messages", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.create" +] +}, +"delete": { +"description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/workspace/chat/delete-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only delete messages created by the calling Chat app.", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", +"httpMethod": "DELETE", +"id": "chat.spaces.messages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. When `true`, deleting a message also deletes its threaded replies. When `false`, if a message has threaded replies, deletion fails. Only applies when [authenticating as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Has no effect when [authenticating as a Chat app] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages" +] +}, +"get": { +"description": "Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`: When using this authorization scope, this method returns details about a message the Chat app has access to, like direct messages and [slash commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer Preview](https://developers.google.com/workspace/preview)). When using this authentication scope, this method returns details about a public message in a space. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` Note: Might return a message from a blocked member or space.", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", +"httpMethod": "GET", +"id": "chat.spaces.messages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the message. Format: `spaces/{space}/messages/{message}` If you've set a custom ID for your message, you can use the value from the `clientAssignedMessageId` field for `{message}`. For details, see [Name a message] (https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.readonly" +] +}, +"list": { +"description": "Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. System messages, like those announcing new space members, aren't included. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with the authorization scope: - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication scope, this method only returns public messages in a space. It doesn't include private messages. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", +"flatPath": "v1/spaces/{spacesId}/messages", +"httpMethod": "GET", +"id": "chat.spaces.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query filter. You can filter messages by date (`create_time`) and thread (`thread.name`). To filter messages by the date they were created, specify the `create_time` with a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and double quotation marks. For example, `\"2023-04-21T11:30:00-04:00\"`. You can use the greater than operator `>` to list messages that were created after a timestamp, or the less than operator `<` to list messages that were created before a timestamp. To filter messages within a time interval, use the `AND` operator between two timestamps. To filter by thread, specify the `thread.name`, formatted as `spaces/{space}/threads/{thread}`. You can only specify one `thread.name` per query. To filter by both thread and date, use the `AND` operator in your query. For example, the following queries are valid: ``` create_time > \"2012-04-21T11:30:00-04:00\" create_time > \"2012-04-21T11:30:00-04:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 create_time > \"2012-04-21T11:30:00+00:00\" AND create_time < \"2013-01-01T00:00:00+00:00\" AND thread.name = spaces/AAAAAAAAAAA/threads/123 thread.name = spaces/AAAAAAAAAAA/threads/123 ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. How the list of messages is ordered. Specify a value to order by an ordering operation. Valid ordering operation values are as follows: - `ASC` for ascending. - `DESC` for descending. The default ordering is `create_time ASC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of messages returned. The service might return fewer messages than this value. If unspecified, at most 25 are returned. The maximum value is 1000. If you use a value more than 1000, it's automatically changed to 1000. Negative values return an `INVALID_ARGUMENT` error.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous list messages call. Provide this parameter to retrieve the subsequent page. When paginating, all other parameters provided should match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the space to list messages from. Format: `spaces/{space}`", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. Whether to include deleted messages. Deleted messages include deleted time and metadata about their deletion, but message content is unavailable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/messages", +"response": { +"$ref": "ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.readonly" +] +}, +"patch": { +"description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app.", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", +"httpMethod": "PATCH", +"id": "chat.spaces.messages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message) or the request fails.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages" +] +}, +"update": { +"description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/workspace/chat/update-messages). Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When using app authentication, requests can only update messages created by the calling Chat app.", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", +"httpMethod": "PUT", +"id": "chat.spaces.messages.update", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If `true` and the message isn't found, a new message is created and `updateMask` is ignored. The specified message ID must be [client-assigned](https://developers.google.com/workspace/chat/create-messages#name_a_created_message) or the request fails.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field paths to update. Separate multiple values with commas or use `*` to update all field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot", +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages" +] +} +}, +"resources": { +"attachments": { +"methods": { +"get": { +"description": "Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.bot`", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/attachments/{attachmentsId}", +"httpMethod": "GET", +"id": "chat.spaces.messages.attachments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Attachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.bot" +] +} +} +}, +"reactions": { +"methods": { +"create": { +"description": "Creates a reaction and adds it to a message. For an example, see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.create` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions", +"httpMethod": "POST", +"id": "chat.spaces.messages.reactions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The message where the reaction is created. Format: `spaces/{space}/messages/{message}`", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reactions", +"request": { +"$ref": "Reaction" +}, +"response": { +"$ref": "Reaction" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.create" +] +}, +"delete": { +"description": "Deletes a reaction to a message. For an example, see [Delete a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions/{reactionsId}", +"httpMethod": "DELETE", +"id": "chat.spaces.messages.reactions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the reaction to delete. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+/reactions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.import", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions" +] +}, +"list": { +"description": "Lists reactions to a message. For an example, see [List reactions for a message](https://developers.google.com/workspace/chat/list-reactions). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages`", +"flatPath": "v1/spaces/{spacesId}/messages/{messagesId}/reactions", +"httpMethod": "GET", +"id": "chat.spaces.messages.reactions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A query filter. You can filter reactions by [emoji](https://developers.google.com/workspace/chat/api/reference/rest/v1/Emoji) (either `emoji.unicode` or `emoji.custom_emoji.uid`) and [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) (`user.name`). To filter reactions for multiple emojis or users, join similar fields with the `OR` operator, such as `emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\"` and `user.name = \"users/AAAAAA\" OR user.name = \"users/BBBBBB\"`. To filter reactions by emoji and user, use the `AND` operator, such as `emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/AAAAAA\"`. If your query uses both `AND` and `OR`, group them with parentheses. For example, the following queries are valid: ``` user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" AND user.name = \"users/{user}\" (emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\") AND user.name = \"users/{user}\" ``` The following queries are invalid: ``` emoji.unicode = \"\ud83d\ude42\" AND emoji.unicode = \"\ud83d\udc4d\" emoji.unicode = \"\ud83d\ude42\" AND emoji.custom_emoji.uid = \"{uid}\" emoji.unicode = \"\ud83d\ude42\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" OR user.name = \"users/{user}\" emoji.unicode = \"\ud83d\ude42\" OR emoji.custom_emoji.uid = \"{uid}\" AND user.name = \"users/{user}\" ``` Invalid queries are rejected with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of reactions returned. The service can return fewer reactions than this value. If unspecified, the default value is 25. The maximum value is 200; values above 200 are changed to 200.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. (If resuming from a previous query.) A page token received from a previous list reactions call. Provide this to retrieve the subsequent page. When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The message users reacted to. Format: `spaces/{space}/messages/{message}`", +"location": "path", +"pattern": "^spaces/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/reactions", +"response": { +"$ref": "ListReactionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly" +] +} +} +} +} +}, +"spaceEvents": { +"methods": { +"get": { +"description": "Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - `https://www.googleapis.com/auth/chat.app.messages.readonly` - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To get an event, the authenticated caller must be a member of the space. For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event).", +"flatPath": "v1/spaces/{spacesId}/spaceEvents/{spaceEventsId}", +"httpMethod": "GET", +"id": "chat.spaces.spaceEvents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the space event. Format: `spaces/{space}/spaceEvents/{spaceEvent}`", +"location": "path", +"pattern": "^spaces/[^/]+/spaceEvents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SpaceEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly" +] +}, +"list": { +"description": "Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - `https://www.googleapis.com/auth/chat.app.messages.readonly` - `https://www.googleapis.com/auth/chat.app.memberships` - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` To list events, the authenticated caller must be a member of the space. For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events).", +"flatPath": "v1/spaces/{spacesId}/spaceEvents", +"httpMethod": "GET", +"id": "chat.spaces.spaceEvents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Required. A query filter. You must specify at least one event type (`event_type`) using the has `:` operator. To filter by multiple event types, use the `OR` operator. Omit batch event types in your filter. The request automatically returns any related batch events. For example, if you filter by new reactions (`google.workspace.chat.reaction.v1.created`), the server also returns batch new reactions events (`google.workspace.chat.reaction.v1.batchCreated`). For a list of supported event types, see the [`SpaceEvents` reference documentation](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.event_type). Optionally, you can also filter by start time (`start_time`) and end time (`end_time`): * `start_time`: Exclusive timestamp from which to start listing space events. You can list events that occurred up to 28 days ago. If unspecified, lists space events from the past 28 days. * `end_time`: Inclusive timestamp until which space events are listed. If unspecified, lists events up to the time of the request. To specify a start or end time, use the equals `=` operator and format in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339). To filter by both `start_time` and `end_time`, use the `AND` operator. For example, the following queries are valid: ``` start_time=\"2023-08-23T19:20:33+00:00\" AND end_time=\"2023-08-23T19:21:54+00:00\" ``` ``` start_time=\"2023-08-23T19:20:33+00:00\" AND (event_types:\"google.workspace.chat.space.v1.updated\" OR event_types:\"google.workspace.chat.message.v1.created\") ``` The following queries are invalid: ``` start_time=\"2023-08-23T19:20:33+00:00\" OR end_time=\"2023-08-23T19:21:54+00:00\" ``` ``` event_types:\"google.workspace.chat.space.v1.updated\" AND event_types:\"google.workspace.chat.message.v1.created\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of space events returned. The service might return fewer than this value. Negative values return an `INVALID_ARGUMENT` error.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous list space events call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to list space events must match the call that provided the page token. Passing different values to the other parameters might lead to unexpected results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the [Google Chat space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) where the events occurred. Format: `spaces/{space}`.", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/spaceEvents", +"response": { +"$ref": "ListSpaceEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.app.memberships", +"https://www.googleapis.com/auth/chat.app.messages.readonly", +"https://www.googleapis.com/auth/chat.app.spaces", +"https://www.googleapis.com/auth/chat.memberships", +"https://www.googleapis.com/auth/chat.memberships.readonly", +"https://www.googleapis.com/auth/chat.messages", +"https://www.googleapis.com/auth/chat.messages.reactions", +"https://www.googleapis.com/auth/chat.messages.reactions.readonly", +"https://www.googleapis.com/auth/chat.messages.readonly", +"https://www.googleapis.com/auth/chat.spaces", +"https://www.googleapis.com/auth/chat.spaces.readonly" +] +} +} +} +} +}, +"users": { +"resources": { +"spaces": { +"methods": { +"getSpaceReadState": { +"description": "Returns details about a user's read state within a space, used to identify read and unread messages. For an example, see [Get details about a user's space read state](https://developers.google.com/workspace/chat/get-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate`", +"flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", +"httpMethod": "GET", +"id": "chat.users.spaces.getSpaceReadState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the space read state to retrieve. Only supports getting read state for the calling user. To refer to the calling user, set one of the following: - The `me` alias. For example, `users/me/spaces/{space}/spaceReadState`. - Their Workspace email address. For example, `users/user@example.com/spaces/{space}/spaceReadState`. - Their user id. For example, `users/123456789/spaces/{space}/spaceReadState`. Format: users/{user}/spaces/{space}/spaceReadState", +"location": "path", +"pattern": "^users/[^/]+/spaces/[^/]+/spaceReadState$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SpaceReadState" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.users.readstate", +"https://www.googleapis.com/auth/chat.users.readstate.readonly" +] +}, +"updateSpaceReadState": { +"description": "Updates a user's read state within a space, used to identify read and unread messages. For an example, see [Update a user's space read state](https://developers.google.com/workspace/chat/update-space-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate`", +"flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceReadState", +"httpMethod": "PATCH", +"id": "chat.users.spaces.updateSpaceReadState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the space read state. Format: `users/{user}/spaces/{space}/spaceReadState`", +"location": "path", +"pattern": "^users/[^/]+/spaces/[^/]+/spaceReadState$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field paths to update. Currently supported field paths: - `last_read_time` When the `last_read_time` is before the latest message create time, the space appears as unread in the UI. To mark the space as read, set `last_read_time` to any value later (larger) than the latest message create time. The `last_read_time` is coerced to match the latest message create time. Note that the space read state only affects the read state of messages that are visible in the space's top-level conversation. Replies in threads are unaffected by this timestamp, and instead rely on the thread read state.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SpaceReadState" +}, +"response": { +"$ref": "SpaceReadState" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.users.readstate" +] +} +}, +"resources": { +"spaceNotificationSetting": { +"methods": { +"get": { +"description": "Gets the space notification setting. For an example, see [Get the caller's space notification setting](https://developers.google.com/workspace/chat/get-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings`", +"flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting", +"httpMethod": "GET", +"id": "chat.users.spaces.spaceNotificationSetting.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: users/{user}/spaces/{space}/spaceNotificationSetting - `users/me/spaces/{space}/spaceNotificationSetting`, OR - `users/user@example.com/spaces/{space}/spaceNotificationSetting`, OR - `users/123456789/spaces/{space}/spaceNotificationSetting`. Note: Only the caller's user id or email is allowed in the path.", +"location": "path", +"pattern": "^users/[^/]+/spaces/[^/]+/spaceNotificationSetting$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SpaceNotificationSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.users.spacesettings" +] +}, +"patch": { +"description": "Updates the space notification setting. For an example, see [Update the caller's space notification setting](https://developers.google.com/workspace/chat/update-space-notification-setting). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.spacesettings`", +"flatPath": "v1/users/{usersId}/spaces/{spacesId}/spaceNotificationSetting", +"httpMethod": "PATCH", +"id": "chat.users.spaces.spaceNotificationSetting.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.", +"location": "path", +"pattern": "^users/[^/]+/spaces/[^/]+/spaceNotificationSetting$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Supported field paths: - `notification_setting` - `mute_setting`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SpaceNotificationSetting" +}, +"response": { +"$ref": "SpaceNotificationSetting" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.users.spacesettings" +] +} +} +}, +"threads": { +"methods": { +"getThreadReadState": { +"description": "Returns details about a user's read state within a thread, used to identify read and unread messages. For an example, see [Get details about a user's thread read state](https://developers.google.com/workspace/chat/get-thread-read-state). Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - `https://www.googleapis.com/auth/chat.users.readstate`", +"flatPath": "v1/users/{usersId}/spaces/{spacesId}/threads/{threadsId}/threadReadState", +"httpMethod": "GET", +"id": "chat.users.spaces.threads.getThreadReadState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the thread read state to retrieve. Only supports getting read state for the calling user. To refer to the calling user, set one of the following: - The `me` alias. For example, `users/me/spaces/{space}/threads/{thread}/threadReadState`. - Their Workspace email address. For example, `users/user@example.com/spaces/{space}/threads/{thread}/threadReadState`. - Their user id. For example, `users/123456789/spaces/{space}/threads/{thread}/threadReadState`. Format: users/{user}/spaces/{space}/threads/{thread}/threadReadState", +"location": "path", +"pattern": "^users/[^/]+/spaces/[^/]+/threads/[^/]+/threadReadState$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ThreadReadState" +}, +"scopes": [ +"https://www.googleapis.com/auth/chat.users.readstate", +"https://www.googleapis.com/auth/chat.users.readstate.readonly" +] +} +} +} +} +} +} +} +}, +"revision": "20260205", +"rootUrl": "https://chat.googleapis.com/", +"schemas": { +"AccessSettings": { +"description": "Represents the [access setting](https://support.google.com/chat/answer/11971020) of the space.", +"id": "AccessSettings", +"properties": { +"accessState": { +"description": "Output only. Indicates the access state of the space.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"PRIVATE", +"DISCOVERABLE" +], +"enumDescriptions": [ +"Access state is unknown or not supported in this API.", +"Only users or Google Groups that have been individually added or invited by other users or Google Workspace administrators can discover and access the space.", +"A space manager has granted a target audience access to the space. Users or Google Groups that have been individually added or invited to the space can also discover and access the space. To learn more, see [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience). Creating discoverable spaces requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)." +], +"readOnly": true, +"type": "string" +}, +"audience": { +"description": "Optional. The resource name of the [target audience](https://support.google.com/a/answer/9934697) who can discover the space, join the space, and preview the messages in the space. If unset, only users or Google Groups who have been individually invited or added to the space can access it. For details, see [Make a space discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-audience). Format: `audiences/{audience}` To use the default target audience for the Google Workspace organization, set to `audiences/default`. Reading the target audience supports: - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope. This field is not populated when using the `chat.bot` scope with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). Setting the target audience requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"type": "string" +} +}, +"type": "object" +}, +"AccessoryWidget": { +"description": "One or more interactive widgets that appear at the bottom of a message. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets).", +"id": "AccessoryWidget", +"properties": { +"buttonList": { +"$ref": "GoogleAppsCardV1ButtonList", +"description": "A list of buttons." +} +}, +"type": "object" +}, +"ActionParameter": { +"description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters.", +"id": "ActionParameter", +"properties": { +"key": { +"description": "The name of the parameter for the action script.", +"type": "string" +}, +"value": { +"description": "The value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"ActionResponse": { +"description": "Parameters that a Chat app can use to configure how its response is posted.", +"id": "ActionResponse", +"properties": { +"dialogAction": { +"$ref": "DialogAction", +"description": "Input only. A response to an interaction event related to a [dialog](https://developers.google.com/workspace/chat/dialogs). Must be accompanied by `ResponseType.Dialog`." +}, +"type": { +"description": "Input only. The type of Chat app response.", +"enum": [ +"TYPE_UNSPECIFIED", +"NEW_MESSAGE", +"UPDATE_MESSAGE", +"UPDATE_USER_MESSAGE_CARDS", +"REQUEST_CONFIG", +"DIALOG", +"UPDATE_WIDGET" +], +"enumDescriptions": [ +"Default type that's handled as `NEW_MESSAGE`.", +"Post as a new message in the topic.", +"Update the Chat app's message. This is only permitted on a `CARD_CLICKED` event where the message sender type is `BOT`.", +"Update the cards on a user's message. This is only permitted as a response to a `MESSAGE` event with a matched url, or a `CARD_CLICKED` event where the message sender type is `HUMAN`. Text is ignored.", +"Privately ask the user for additional authentication or configuration.", +"Presents a [dialog](https://developers.google.com/workspace/chat/dialogs).", +"Widget text autocomplete options query." +], +"type": "string" +}, +"updatedWidget": { +"$ref": "UpdatedWidget", +"description": "Input only. The response of the updated widget." +}, +"url": { +"description": "Input only. URL for users to authenticate or configure. (Only for `REQUEST_CONFIG` response types.)", +"type": "string" +} +}, +"type": "object" +}, +"ActionStatus": { +"description": "Represents the status for a request to either invoke or submit a [dialog](https://developers.google.com/workspace/chat/dialogs).", +"id": "ActionStatus", +"properties": { +"statusCode": { +"description": "The status code.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"userFacingMessage": { +"description": "The message to send users about the status of their request. If unset, a generic message based on the `status_code` is sent.", +"type": "string" +} +}, +"type": "object" +}, +"Annotation": { +"description": "Output only. Annotations can be associated with the plain-text body of the message or with chips that link to Google Workspace resources like Google Docs or Sheets with `start_index` and `length` of 0. To add basic formatting to a text message, see [Format text messages](https://developers.google.com/workspace/chat/format-messages). Example plain-text message body: ``` Hello @FooBot how are you!\" ``` The corresponding annotations metadata: ``` \"annotations\":[{ \"type\":\"USER_MENTION\", \"startIndex\":6, \"length\":7, \"userMention\": { \"user\": { \"name\":\"users/{user}\", \"displayName\":\"FooBot\", \"avatarUrl\":\"https://goo.gl/aeDtrS\", \"type\":\"BOT\" }, \"type\":\"MENTION\" } }] ```", +"id": "Annotation", +"properties": { +"customEmojiMetadata": { +"$ref": "CustomEmojiMetadata", +"description": "The metadata for a custom emoji." +}, +"length": { +"description": "Length of the substring in the plain-text message body this annotation corresponds to. If not present, indicates a length of 0.", +"format": "int32", +"type": "integer" +}, +"richLinkMetadata": { +"$ref": "RichLinkMetadata", +"description": "The metadata for a rich link." +}, +"slashCommand": { +"$ref": "SlashCommandMetadata", +"description": "The metadata for a slash command." +}, +"startIndex": { +"description": "Start index (0-based, inclusive) in the plain-text message body this annotation corresponds to.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The type of this annotation.", +"enum": [ +"ANNOTATION_TYPE_UNSPECIFIED", +"USER_MENTION", +"SLASH_COMMAND", +"RICH_LINK", +"CUSTOM_EMOJI" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"A user is mentioned.", +"A slash command is invoked.", +"A rich link annotation.", +"A custom emoji annotation." +], +"type": "string" +}, +"userMention": { +"$ref": "UserMentionMetadata", +"description": "The metadata of user mention." +} +}, +"type": "object" +}, +"AppCommandMetadata": { +"description": "Metadata about a [Chat app command](https://developers.google.com/workspace/chat/commands).", +"id": "AppCommandMetadata", +"properties": { +"appCommandId": { +"description": "The ID for the command specified in the Chat API configuration.", +"format": "int32", +"type": "integer" +}, +"appCommandType": { +"description": "The type of Chat app command.", +"enum": [ +"APP_COMMAND_TYPE_UNSPECIFIED", +"SLASH_COMMAND", +"QUICK_COMMAND" +], +"enumDescriptions": [ +"Default value. Unspecified.", +"A slash command. The user sends the command in a Chat message.", +"A quick command. The user selects the command from the Chat menu in the message reply area." +], +"type": "string" +} +}, +"type": "object" +}, +"AttachedGif": { +"description": "A GIF image that's specified by a URL.", +"id": "AttachedGif", +"properties": { +"uri": { +"description": "Output only. The URL that hosts the GIF image.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Attachment": { +"description": "An attachment in Google Chat.", +"id": "Attachment", +"properties": { +"attachmentDataRef": { +"$ref": "AttachmentDataRef", +"description": "Optional. A reference to the attachment data. This field is used to create or update messages with attachments, or with the media API to download the attachment data." +}, +"contentName": { +"description": "Output only. The original file name for the content, not the full path.", +"readOnly": true, +"type": "string" +}, +"contentType": { +"description": "Output only. The content type (MIME type) of the file.", +"readOnly": true, +"type": "string" +}, +"downloadUri": { +"description": "Output only. The download URL which should be used to allow a human user to download the attachment. Chat apps shouldn't use this URL to download attachment content.", +"readOnly": true, +"type": "string" +}, +"driveDataRef": { +"$ref": "DriveDataRef", +"description": "Output only. A reference to the Google Drive attachment. This field is used with the Google Drive API.", +"readOnly": true +}, +"name": { +"description": "Identifier. Resource name of the attachment. Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.", +"type": "string" +}, +"source": { +"description": "Output only. The source of the attachment.", +"enum": [ +"SOURCE_UNSPECIFIED", +"DRIVE_FILE", +"UPLOADED_CONTENT" +], +"enumDescriptions": [ +"Reserved.", +"The file is a Google Drive file.", +"The file is uploaded to Chat." +], +"readOnly": true, +"type": "string" +}, +"thumbnailUri": { +"description": "Output only. The thumbnail URL which should be used to preview the attachment to a human user. Chat apps shouldn't use this URL to download attachment content.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AttachmentDataRef": { +"description": "A reference to the attachment data.", +"id": "AttachmentDataRef", +"properties": { +"attachmentUploadToken": { +"description": "Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.", +"type": "string" +}, +"resourceName": { +"description": "Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.", +"type": "string" +} +}, +"type": "object" +}, +"Button": { +"description": "A button. Can be a text button or an image button.", +"id": "Button", +"properties": { +"imageButton": { +"$ref": "ImageButton", +"description": "A button with image and `onclick` action." +}, +"textButton": { +"$ref": "TextButton", +"description": "A button with text and `onclick` action." +} +}, +"type": "object" +}, +"CalendarEventLinkData": { +"description": "Data for Calendar event links.", +"id": "CalendarEventLinkData", +"properties": { +"calendarId": { +"description": "The [Calendar identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars) of the linked Calendar.", +"type": "string" +}, +"eventId": { +"description": "The [Event identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events) of the linked Calendar event.", +"type": "string" +} +}, +"type": "object" +}, +"Card": { +"description": "A card is a UI element that can contain UI widgets such as text and images.", +"id": "Card", +"properties": { +"cardActions": { +"description": "The actions of this card.", +"items": { +"$ref": "CardAction" +}, +"type": "array" +}, +"header": { +"$ref": "CardHeader", +"description": "The header of the card. A header usually contains a title and an image." +}, +"name": { +"description": "Name of the card.", +"type": "string" +}, +"sections": { +"description": "Sections are separated by a line divider.", +"items": { +"$ref": "Section" +}, +"type": "array" +} +}, +"type": "object" +}, +"CardAction": { +"description": "A card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser. Not supported by Google Chat apps.", +"id": "CardAction", +"properties": { +"actionLabel": { +"description": "The label used to be displayed in the action menu item.", +"type": "string" +}, +"onClick": { +"$ref": "OnClick", +"description": "The onclick action for this action item." +} +}, +"type": "object" +}, +"CardHeader": { +"id": "CardHeader", +"properties": { +"imageStyle": { +"description": "The image's type (for example, square border or circular border).", +"enum": [ +"IMAGE_STYLE_UNSPECIFIED", +"IMAGE", +"AVATAR" +], +"enumDescriptions": [ +"", +"Square border.", +"Circular border." +], +"type": "string" +}, +"imageUrl": { +"description": "The URL of the image in the card header.", +"type": "string" +}, +"subtitle": { +"description": "The subtitle of the card header.", +"type": "string" +}, +"title": { +"description": "The title must be specified. The header has a fixed height: if both a title and subtitle is specified, each takes up one line. If only the title is specified, it takes up both lines.", +"type": "string" +} +}, +"type": "object" +}, +"CardWithId": { +"description": "A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google Chat message. Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the message can't contain cards. [Card builder](https://addons.gsuite.google.com/uikit/builder)", +"id": "CardWithId", +"properties": { +"card": { +"$ref": "GoogleAppsCardV1Card", +"description": "A card. Maximum size is 32 KB." +}, +"cardId": { +"description": "Required if the message contains multiple cards. A unique identifier for a card in a message.", +"type": "string" +} +}, +"type": "object" +}, +"ChatAppLogEntry": { +"description": "JSON payload of error messages. If the Cloud Logging API is enabled, these error messages are logged to [Google Cloud Logging](https://cloud.google.com/logging/docs).", +"id": "ChatAppLogEntry", +"properties": { +"deployment": { +"description": "The deployment that caused the error. For Chat apps built in Apps Script, this is the deployment ID defined by Apps Script.", +"type": "string" +}, +"deploymentFunction": { +"description": "The unencrypted `callback_method` name that was running when the error was encountered.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "The error code and message." +} +}, +"type": "object" +}, +"ChatClientDataSourceMarkup": { +"description": "For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Chat. The data source populates selection items for the multiselect menu. For example, a user can select Google Chat spaces that they're a member of. [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "ChatClientDataSourceMarkup", +"properties": { +"spaceDataSource": { +"$ref": "SpaceDataSource", +"description": "Google Chat spaces that the user is a member of." +} +}, +"type": "object" +}, +"ChatSpaceLinkData": { +"description": "Data for Chat space links.", +"id": "ChatSpaceLinkData", +"properties": { +"message": { +"description": "The message of the linked Chat space resource. Format: `spaces/{space}/messages/{message}`", +"type": "string" +}, +"space": { +"description": "The space of the linked Chat space resource. Format: `spaces/{space}`", +"type": "string" +}, +"thread": { +"description": "The thread of the linked Chat space resource. Format: `spaces/{space}/threads/{thread}`", +"type": "string" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CommonEventObject": { +"description": "The common event object is the portion of the overall event object that carries general, host-independent information to the add-on from the user's client. This information includes details such as the user's locale, host app, and platform. In addition to homepage and contextual triggers, add-ons construct and pass event objects to [action callback functions](https://developers.google.com/workspace/add-ons/concepts/actions#callback_functions) when the user interacts with widgets. Your add-on's callback function can query the common event object to determine the contents of open widgets in the user's client. For example, your add-on can locate the text a user has entered into a [TextInput](https://developers.google.com/apps-script/reference/card-service/text-input) widget in the `eventObject.commentEventObject.formInputs` object. For Chat apps, the name of the function that the user invoked when interacting with a widget.", +"id": "CommonEventObject", +"properties": { +"formInputs": { +"additionalProperties": { +"$ref": "Inputs" +}, +"description": "A map containing the current values of the widgets in the displayed card. The map keys are the string IDs assigned with each widget. The structure of the map value object is dependent on the widget type: **Note**: The following examples are formatted for Apps Script's V8 runtime. If you're using Rhino runtime, you must add `[\"\"]` after the value. For example, instead of `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format the event object as `e.commonEventObject.formInputs.employeeName[\"\"].stringInputs.value[0]`. To learn more about runtimes in Apps Script, see the [V8 Runtime Overview](https://developers.google.com/apps-script/guides/v8-runtime). * Single-valued widgets (for example, a text box): a list of strings (only one element). **Example**: for a text input widget with `employeeName` as its ID, access the text input value with: `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`. * Multi-valued widgets (for example, checkbox groups): a list of strings. **Example**: for a multi-value widget with `participants` as its ID, access the value array with: `e.commonEventObject.formInputs.participants.stringInputs.value`. * **A date-time picker**: a [`DateTimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input). **Example**: For a picker with an ID of `myDTPicker`, access the [`DateTimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input) object using `e.commonEventObject.formInputs.myDTPicker.dateTimeInput`. * **A date-only picker**: a [`DateInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input). **Example**: For a picker with an ID of `myDatePicker`, access the [`DateInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input) object using `e.commonEventObject.formInputs.myDatePicker.dateInput`. * **A time-only picker**: a [`TimeInput object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input). **Example**: For a picker with an ID of `myTimePicker`, access the [`TimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input) object using `e.commonEventObject.formInputs.myTimePicker.timeInput`.", +"type": "object" +}, +"hostApp": { +"description": "Indicates the host app the add-on is active in when the event object is generated. Possible values include the following: * `GMAIL` * `CALENDAR` * `DRIVE` * `DOCS` * `SHEETS` * `SLIDES` * `CHAT`", +"enum": [ +"UNSPECIFIED_HOST_APP", +"GMAIL", +"CALENDAR", +"DRIVE", +"DEMO", +"DOCS", +"MEET", +"SHEETS", +"SLIDES", +"DRAWINGS", +"CHAT" +], +"enumDescriptions": [ +"Google can't identify a host app.", +"The add-on launches from Gmail.", +"The add-on launches from Google Calendar.", +"The add-on launches from Google Drive.", +"Not used.", +"The add-on launches from Google Docs.", +"The add-on launches from Google Meet.", +"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." +], +"type": "string" +}, +"invokedFunction": { +"description": "Name of the function to invoke. This field doesn't populate for Google Workspace Add-ons that extend Google Chat. Instead, to receive function data like identifiers, add-ons that extend Chat should use the `parameters` field. See [Build interactive interfaces for Chat apps](https://developers.google.com/workspace/add-ons/chat/build).", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Any additional parameters you supply to an action using [`actionParameters`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.Action.ActionParameter) or [`Action.setParameters()`](https://developers.google.com/apps-script/reference/card-service/action#setparametersparameters). **Developer Preview:** For [add-ons that extend Google Chat](https://developers.google.com/workspace/add-ons/chat), to suggest items based on what the users type in multiselect menus, use the value of the `\"autocomplete_widget_query\"` key (`event.commonEventObject.parameters[\"autocomplete_widget_query\"]`). You can use this value to query a database and suggest selectable items to users as they type. For details, see [Collect and process information from Google Chat users](https://developers.google.com/workspace/add-ons/chat/collect-information).", +"type": "object" +}, +"platform": { +"description": "The platform enum which indicates the platform where the event originates (`WEB`, `IOS`, or `ANDROID`). Not supported by Chat apps.", +"enum": [ +"UNKNOWN_PLATFORM", +"WEB", +"IOS", +"ANDROID" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "**Disabled by default.** The timezone ID and offset from Coordinated Universal Time (UTC). To turn on this field, you must set `addOns.common.useLocaleFromApp` to `true` in your add-on's manifest. Your add-on's scope list must also include `https://www.googleapis.com/auth/script.locale`. See [Accessing user locale and timezone](https://developers.google.com/workspace/add-ons/how-tos/access-user-locale) for more details. Only supported for the event types [`CARD_CLICKED`](https://developers.google.com/chat/api/reference/rest/v1/EventType#ENUM_VALUES.CARD_CLICKED) and [`SUBMIT_DIALOG`](https://developers.google.com/chat/api/reference/rest/v1/DialogEventType#ENUM_VALUES.SUBMIT_DIALOG)." +}, +"userLocale": { +"description": "**Disabled by default.** The user's language and country/region identifier in the format of [ISO 639](https://wikipedia.org/wiki/ISO_639_macrolanguage) language code-[ISO 3166](https://wikipedia.org/wiki/ISO_3166) country/region code. For example, `en-US`. To turn on this field, you must set `addOns.common.useLocaleFromApp` to `true` in your add-on's manifest. Your add-on's scope list must also include `https://www.googleapis.com/auth/script.locale`. See [Accessing user locale and timezone](https://developers.google.com/workspace/add-ons/how-tos/access-user-locale) for more details.", +"type": "string" +} +}, +"type": "object" +}, +"CompleteImportSpaceRequest": { +"description": "Request message for completing the import process for a space.", +"id": "CompleteImportSpaceRequest", +"properties": {}, +"type": "object" +}, +"CompleteImportSpaceResponse": { +"description": "Response message for completing the import process for a space.", +"id": "CompleteImportSpaceResponse", +"properties": { +"space": { +"$ref": "Space", +"description": "The import mode space." +} +}, +"type": "object" +}, +"CustomEmoji": { +"description": "Represents a [custom emoji](https://support.google.com/chat/answer/12800149).", +"id": "CustomEmoji", +"properties": { +"emojiName": { +"description": "Optional. Immutable. User-provided name for the custom emoji, which is unique within the organization. Required when the custom emoji is created, output only otherwise. Emoji names must start and end with colons, must be lowercase and can only contain alphanumeric characters, hyphens, and underscores. Hyphens and underscores should be used to separate words and cannot be used consecutively. Example: `:valid-emoji-name:`", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the custom emoji, assigned by the server. Format: `customEmojis/{customEmoji}`", +"type": "string" +}, +"payload": { +"$ref": "CustomEmojiPayload", +"description": "Optional. Input only. Payload data. Required when the custom emoji is created." +}, +"temporaryImageUri": { +"description": "Output only. A temporary image URL for the custom emoji, valid for at least 10 minutes. Note that this is not populated in the response when the custom emoji is created.", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. Unique key for the custom emoji resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomEmojiMetadata": { +"description": "Annotation metadata for custom emoji.", +"id": "CustomEmojiMetadata", +"properties": { +"customEmoji": { +"$ref": "CustomEmoji", +"description": "The custom emoji." +} +}, +"type": "object" +}, +"CustomEmojiPayload": { +"description": "Payload data for the custom emoji.", +"id": "CustomEmojiPayload", +"properties": { +"fileContent": { +"description": "Required. Input only. The image used for the custom emoji. The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.", +"format": "byte", +"type": "string" +}, +"filename": { +"description": "Required. Input only. The image file name. Supported file extensions: `.png`, `.jpg`, `.gif`.", +"type": "string" +} +}, +"type": "object" +}, +"DateInput": { +"description": "Date input values.", +"id": "DateInput", +"properties": { +"msSinceEpoch": { +"description": "Time since epoch time, in milliseconds.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DateTimeInput": { +"description": "Date and time input values.", +"id": "DateTimeInput", +"properties": { +"hasDate": { +"description": "Whether the `datetime` input includes a calendar date.", +"type": "boolean" +}, +"hasTime": { +"description": "Whether the `datetime` input includes a timestamp.", +"type": "boolean" +}, +"msSinceEpoch": { +"description": "Time since epoch time, in milliseconds.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DeletionMetadata": { +"description": "Information about a deleted message. A message is deleted when `delete_time` is set.", +"id": "DeletionMetadata", +"properties": { +"deletionType": { +"description": "Indicates who deleted the message.", +"enum": [ +"DELETION_TYPE_UNSPECIFIED", +"CREATOR", +"SPACE_OWNER", +"ADMIN", +"APP_MESSAGE_EXPIRY", +"CREATOR_VIA_APP", +"SPACE_OWNER_VIA_APP", +"SPACE_MEMBER" +], +"enumDescriptions": [ +"This value is unused.", +"User deleted their own message.", +"An owner or manager deleted the message.", +"A Google Workspace administrator deleted the message. Administrators can delete any message in the space, including messages sent by any space member or Chat app.", +"A Chat app deleted its own message when it expired.", +"A Chat app deleted the message on behalf of the creator (using user authentication).", +"A Chat app deleted the message on behalf of a space manager (using user authentication).", +"A member of the space deleted the message. Users can delete messages sent by apps." +], +"type": "string" +} +}, +"type": "object" +}, +"DeprecatedEvent": { +"description": " A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview). Note: This event is only used for [Chat interaction events](https://developers.google.com/workspace/chat/receive-respond-interactions). If your Chat app is built as a [Google Workspace add-on](https://developers.google.com/workspace/add-ons/chat/build), see [Chat event objects](https://developers.google.com/workspace/add-ons/concepts/event-objects#chat-event-object) in the add-ons documentation.", +"id": "DeprecatedEvent", +"properties": { +"action": { +"$ref": "FormAction", +"description": "For `CARD_CLICKED` interaction events, the form action data associated when a user clicks a card or dialog. To learn more, see [Read form data input by users on cards](https://developers.google.com/workspace/chat/read-form-data)." +}, +"appCommandMetadata": { +"$ref": "AppCommandMetadata", +"description": "Metadata about a Chat app command." +}, +"common": { +"$ref": "CommonEventObject", +"description": "Represents information about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card." +}, +"configCompleteRedirectUrl": { +"description": "This URL is populated for `MESSAGE`, `ADDED_TO_SPACE`, and `APP_COMMAND` interaction events. After completing an authorization or configuration flow outside of Google Chat, users must be redirected to this URL to signal to Google Chat that the authorization or configuration flow was successful. For more information, see [Connect a Chat app with other services and tools](https://developers.google.com/workspace/chat/connect-web-services-tools).", +"type": "string" +}, +"dialogEventType": { +"description": "The type of [dialog](https://developers.google.com/workspace/chat/dialogs) interaction event received.", +"enum": [ +"TYPE_UNSPECIFIED", +"REQUEST_DIALOG", +"SUBMIT_DIALOG", +"CANCEL_DIALOG" +], +"enumDescriptions": [ +"Default value. Unspecified.", +"A user opens a dialog.", +"A user clicks an interactive element of a dialog. For example, a user fills out information in a dialog and clicks a button to submit the information.", +"A user closes a dialog without submitting information. The Chat app only receives this interaction event when users click the close icon in the top right corner of the dialog. When the user closes the dialog by other means (such as refreshing the browser, clicking outside the dialog box, or pressing the escape key), no event is sent." +], +"type": "string" +}, +"eventTime": { +"description": "The timestamp indicating when the interaction event occurred.", +"format": "google-datetime", +"type": "string" +}, +"isDialogEvent": { +"description": "For `CARD_CLICKED` and `MESSAGE` interaction events, whether the user is interacting with or about to interact with a [dialog](https://developers.google.com/workspace/chat/dialogs).", +"type": "boolean" +}, +"message": { +"$ref": "Message", +"description": "For `ADDED_TO_SPACE`, `CARD_CLICKED`, and `MESSAGE` interaction events, the message that triggered the interaction event, if applicable." +}, +"space": { +"$ref": "Space", +"description": "The space in which the user interacted with the Chat app." +}, +"thread": { +"$ref": "Thread", +"description": "The thread in which the user interacted with the Chat app. This could be in a new thread created by a newly sent message. This field is populated if the interaction event is associated with a specific message or thread." +}, +"threadKey": { +"description": "The Chat app-defined key for the thread related to the interaction event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.", +"type": "string" +}, +"token": { +"description": "A secret value that legacy Chat apps can use to verify if a request is from Google. Google randomly generates the token, and its value remains static. You can obtain, revoke, or regenerate the token from the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat) in the Google Cloud Console. Modern Chat apps don't use this field. It is absent from API responses and the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat).", +"type": "string" +}, +"type": { +"description": "The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat app, such as `MESSAGE` or `ADDED_TO_SPACE`.", +"enum": [ +"UNSPECIFIED", +"MESSAGE", +"ADDED_TO_SPACE", +"REMOVED_FROM_SPACE", +"CARD_CLICKED", +"WIDGET_UPDATED", +"APP_COMMAND" +], +"enumDescriptions": [ +"Default value for the enum. DO NOT USE.", +"A user sends the Chat app a message, or invokes the Chat app in a space. Examples of message events include: * Any message in a direct message (DM) space with the Chat app. * A message in a multi-person space where a person @mentions the Chat app, or uses one of its [slash commands](https://developers.google.com/workspace/chat/commands#types). * If you've configured link previews for your Chat app, a user posts a message that contains a link that matches the configured URL pattern.", +"A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization. Chat apps typically respond to this interaction event by posting a welcome message in the space. When administrators install Chat apps, the `space.adminInstalled` field is set to `true` and users can't uninstall them. To learn about Chat apps installed by administrators, see Google Workspace Admin Help's documentation, [Install Marketplace apps in your domain](https://support.google.com/a/answer/172482).", +"A user removes the Chat app from a space, or a Google Workspace administrator uninstalls the Chat app for a user in their organization. Chat apps can't respond with messages to this event, because they have already been removed. When administrators uninstall Chat apps, the `space.adminInstalled` field is set to `false`. If a user installed the Chat app before the administrator, the Chat app remains installed for the user and the Chat app doesn't receive a `REMOVED_FROM_SPACE` interaction event.", +"A user clicks an interactive element of a card or dialog from a Chat app, such as a button. To receive an interaction event, the button must trigger another interaction with the Chat app. For example, a Chat app doesn't receive a `CARD_CLICKED` interaction event if a user clicks a button that opens a link to a website, but receives interaction events in the following examples: * The user clicks a `Send feedback` button on a card, which opens a dialog for the user to input information. * The user clicks a `Submit` button after inputting information into a card or dialog. If a user clicks a button to open, submit, or cancel a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType).", +"A user updates a widget in a card message or dialog. This event is triggered when a user interacts with a widget that has an associated action.", +"A user uses a Chat app [command](https://developers.google.com/workspace/chat/commands#types), including slash commands and quick commands." +], +"type": "string" +}, +"user": { +"$ref": "User", +"description": "The user that interacted with the Chat app." +} +}, +"type": "object" +}, +"Dialog": { +"description": "Wrapper around the card body of the dialog.", +"id": "Dialog", +"properties": { +"body": { +"$ref": "GoogleAppsCardV1Card", +"description": "Input only. Body of the dialog, which is rendered in a modal. Google Chat apps don't support the following card entities: `DateTimePicker`, `OnChangeAction`." +} +}, +"type": "object" +}, +"DialogAction": { +"description": "Contains a [dialog](https://developers.google.com/workspace/chat/dialogs) and request status code.", +"id": "DialogAction", +"properties": { +"actionStatus": { +"$ref": "ActionStatus", +"description": "Input only. Status for a request to either invoke or submit a [dialog](https://developers.google.com/workspace/chat/dialogs). Displays a status and message to users, if necessary. For example, in case of an error or success." +}, +"dialog": { +"$ref": "Dialog", +"description": "Input only. [Dialog](https://developers.google.com/workspace/chat/dialogs) for the request." +} +}, +"type": "object" +}, +"DriveDataRef": { +"description": "A reference to the data of a drive attachment.", +"id": "DriveDataRef", +"properties": { +"driveFileId": { +"description": "The ID for the drive file. Use with the Drive API.", +"type": "string" +} +}, +"type": "object" +}, +"DriveLinkData": { +"description": "Data for Google Drive links.", +"id": "DriveLinkData", +"properties": { +"driveDataRef": { +"$ref": "DriveDataRef", +"description": "A [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments#drivedataref) which references a Google Drive file." +}, +"mimeType": { +"description": "The mime type of the linked Google Drive resource.", +"type": "string" +} +}, +"type": "object" +}, +"Emoji": { +"description": "An emoji that is used as a reaction to a message.", +"id": "Emoji", +"properties": { +"customEmoji": { +"$ref": "CustomEmoji", +"description": "A custom emoji." +}, +"unicode": { +"description": "Optional. A basic emoji represented by a unicode string.", +"type": "string" +} +}, +"type": "object" +}, +"EmojiReactionSummary": { +"description": "The number of people who reacted to a message with a specific emoji.", +"id": "EmojiReactionSummary", +"properties": { +"emoji": { +"$ref": "Emoji", +"description": "Output only. Emoji associated with the reactions.", +"readOnly": true +}, +"reactionCount": { +"description": "Output only. The total number of reactions using the associated emoji.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"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" +}, +"FormAction": { +"description": "A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script to handle the form.", +"id": "FormAction", +"properties": { +"actionMethodName": { +"description": "The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.", +"type": "string" +}, +"parameters": { +"description": "List of action parameters.", +"items": { +"$ref": "ActionParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"ForwardedMetadata": { +"description": "Metadata about the source space from which a message was forwarded.", +"id": "ForwardedMetadata", +"properties": { +"space": { +"description": "Output only. The resource name of the source space. Format: spaces/{space}", +"readOnly": true, +"type": "string" +}, +"spaceDisplayName": { +"description": "Output only. The display name of the source space or DM at the time of forwarding. For `SPACE`, this is the space name. For `DIRECT_MESSAGE`, this is the other participant's name (e.g., \"User A\"). For `GROUP_CHAT`, this is a generated name based on members' first names, limited to 5 including the creator (e.g., \"User A, User B\").", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Action": { +"description": "An action that describes the behavior when the form is submitted. For example, you can invoke an Apps Script script to handle the form. If the action is triggered, the form values are sent to the server. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Action", +"properties": { +"allWidgetsAreRequired": { +"description": "Optional. If this is true, then all widgets are considered required by this action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"type": "boolean" +}, +"function": { +"description": "A custom function to invoke when the containing element is clicked or otherwise activated. For example usage, see [Read form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +}, +"interaction": { +"description": "Optional. Required when opening a [dialog](https://developers.google.com/workspace/chat/dialogs). What to do in response to an interaction with a user, such as a user clicking a button in a card message. If unspecified, the app responds by executing an `action`\u2014like opening a link or running a function\u2014as normal. By specifying an `interaction`, the app can respond in special interactive ways. For example, by setting `interaction` to `OPEN_DIALOG`, the app can open a [dialog](https://developers.google.com/workspace/chat/dialogs). When specified, a loading indicator isn't shown. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):", +"enum": [ +"INTERACTION_UNSPECIFIED", +"OPEN_DIALOG" +], +"enumDescriptions": [ +"Default value. The `action` executes as normal.", +"Opens a [dialog](https://developers.google.com/workspace/chat/dialogs), a windowed, card-based interface that Chat apps use to interact with users. Only supported by Chat apps in response to button-clicks on card messages. If specified for an add-on, the entire card is stripped and nothing is shown in the client. [Google Chat apps](https://developers.google.com/workspace/chat):" +], +"type": "string" +}, +"loadIndicator": { +"description": "Specifies the loading indicator that the action displays while making the call to the action.", +"enum": [ +"SPINNER", +"NONE" +], +"enumDescriptions": [ +"Displays a spinner to indicate that content is loading.", +"Nothing is displayed." +], +"type": "string" +}, +"parameters": { +"description": "List of action parameters.", +"items": { +"$ref": "GoogleAppsCardV1ActionParameter" +}, +"type": "array" +}, +"persistValues": { +"description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. To let the user make changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `NONE`. For [card messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/create#create) in Chat apps, you must also set the action's [`ResponseType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#responsetype) to `UPDATE_MESSAGE` and use the same [`card_id`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#CardWithId) from the card that contained the action. If `false`, the form values are cleared when the action is triggered. To prevent the user from making changes while the action is being processed, set [`LoadIndicator`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) to `SPINNER`.", +"type": "boolean" +}, +"requiredWidgets": { +"description": "Optional. Fill this list with the names of widgets that this Action needs for a valid submission. If the widgets listed here don't have a value when this Action is invoked, the form submission is aborted. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1ActionParameter": { +"description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, or snooze next week. You might use `action method = snooze()`, passing the snooze type and snooze time in the list of string parameters. To learn more, see [`CommonEventObject`](https://developers.google.com/workspace/chat/api/reference/rest/v1/Event#commoneventobject). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1ActionParameter", +"properties": { +"key": { +"description": "The name of the parameter for the action script.", +"type": "string" +}, +"value": { +"description": "The value of the parameter.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1BorderStyle": { +"description": "The style options for the border of a card or widget, including the border type and color. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1BorderStyle", +"properties": { +"cornerRadius": { +"description": "The corner radius for the border.", +"format": "int32", +"type": "integer" +}, +"strokeColor": { +"$ref": "Color", +"description": "The colors to use when the type is `BORDER_TYPE_STROKE`. To set the stroke color, specify a value for the `red`, `green`, and `blue` fields. The value must be a float number between 0 and 1 based on the RGB color value, where `0` (0/255) represents the absence of color and `1` (255/255) represents the maximum intensity of the color. For example, the following sets the color to red at its maximum intensity: ``` \"color\": { \"red\": 1, \"green\": 0, \"blue\": 0, } ``` The `alpha` field is unavailable for stroke color. If specified, this field is ignored." +}, +"type": { +"description": "The border type.", +"enum": [ +"BORDER_TYPE_UNSPECIFIED", +"NO_BORDER", +"STROKE" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"No border.", +"Default value. Outline." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Button": { +"description": "A text, icon, or text and icon button that users can click. For an example in Google Chat apps, see [Add a button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). To make an image a clickable button, specify an `Image` (not an `ImageComponent`) and set an `onClick` action. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Button", +"properties": { +"altText": { +"description": "The alternative text that's used for accessibility. Set descriptive text that lets users know what the button does. For example, if a button opens a hyperlink, you might write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat\".", +"type": "string" +}, +"color": { +"$ref": "Color", +"description": "Optional. The color of the button. If set, the button `type` is set to `FILLED` and the color of `text` and `icon` fields are set to a contrasting color for readability. For example, if the button color is set to blue, any text or icons in the button are set to white. To set the button color, specify a value for the `red`, `green`, and `blue` fields. The value must be a float number between 0 and 1 based on the RGB color value, where `0` (0/255) represents the absence of color and `1` (255/255) represents the maximum intensity of the color. For example, the following sets the color to red at its maximum intensity: ``` \"color\": { \"red\": 1, \"green\": 0, \"blue\": 0, } ``` The `alpha` field is unavailable for button color. If specified, this field is ignored." +}, +"disabled": { +"description": "If `true`, the button is displayed in an inactive state and doesn't respond to user actions.", +"type": "boolean" +}, +"icon": { +"$ref": "GoogleAppsCardV1Icon", +"description": "An icon displayed inside the button. If both `icon` and `text` are set, then the icon appears before the text." +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "Required. The action to perform when a user clicks the button, such as opening a hyperlink or running a custom function." +}, +"text": { +"description": "The text displayed inside the button.", +"type": "string" +}, +"type": { +"description": "Optional. The type of a button. If unset, button type defaults to `OUTLINED`. If the `color` field is set, the button type is forced to `FILLED` and any value set for this field is ignored.", +"enum": [ +"TYPE_UNSPECIFIED", +"OUTLINED", +"FILLED", +"FILLED_TONAL", +"BORDERLESS" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Outlined buttons are medium-emphasis buttons. They usually contain actions that are important, but aren\u2019t the primary action in a Chat app or an add-on.", +"A filled button has a container with a solid color. It has the most visual impact and is recommended for the important and primary action in a Chat app or an add-on.", +"A filled tonal button is an alternative middle ground between filled and outlined buttons. They\u2019re useful in contexts where a lower-priority button requires slightly more emphasis than an outline button would give.", +"A button does not have an invisible container in its default state. It is often used for the lowest priority actions, especially when presenting multiple options." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1ButtonList": { +"description": "A list of buttons layed out horizontally. For an example in Google Chat apps, see [Add a button](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_button). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1ButtonList", +"properties": { +"buttons": { +"description": "An array of buttons.", +"items": { +"$ref": "GoogleAppsCardV1Button" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Card": { +"description": "A card interface displayed in a Google Chat message or Google Workspace add-on. Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. [Card builder](https://addons.gsuite.google.com/uikit/builder) To learn how to build cards, see the following documentation: * For Google Chat apps, see [Design the components of a card or dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). Note: You can add up to 100 widgets per card. Any widgets beyond this limit are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the sample card message in Google Chat, use the following JSON: ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\" }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\" }, \"text\": \"sasha@example.com\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\" }, \"text\": \"Online\" } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\" }, \"text\": \"+1 (555) 555-1234\" } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ] } } } ] } } ] } ] } } ] } ```", +"id": "GoogleAppsCardV1Card", +"properties": { +"cardActions": { +"description": "The card's actions. Actions are added to the card's toolbar menu. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons): For example, the following JSON constructs a card action menu with `Settings` and `Send Feedback` options: ``` \"card_actions\": [ { \"actionLabel\": \"Settings\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```", +"items": { +"$ref": "GoogleAppsCardV1CardAction" +}, +"type": "array" +}, +"displayStyle": { +"description": "In Google Workspace add-ons, sets the display properties of the `peekCardHeader`. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):", +"enum": [ +"DISPLAY_STYLE_UNSPECIFIED", +"PEEK", +"REPLACE" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.", +"Default value. The card is shown by replacing the view of the top card in the card stack." +], +"type": "string" +}, +"expressionData": { +"description": "The expression data for the card. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"items": { +"$ref": "GoogleAppsCardV1ExpressionData" +}, +"type": "array" +}, +"fixedFooter": { +"$ref": "GoogleAppsCardV1CardFixedFooter", +"description": "The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/workspace/chat/dialogs), but not [card messages](https://developers.google.com/workspace/chat/create-messages#create). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):" +}, +"header": { +"$ref": "GoogleAppsCardV1CardHeader", +"description": "The header of the card. A header usually contains a leading image and a title. Headers always appear at the top of a card." +}, +"name": { +"description": "Name of the card. Used as a card identifier in card navigation. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):", +"type": "string" +}, +"peekCardHeader": { +"$ref": "GoogleAppsCardV1CardHeader", +"description": "When displaying contextual content, the peek card header acts as a placeholder so that the user can navigate forward between the homepage cards and the contextual cards. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):" +}, +"sectionDividerStyle": { +"description": "The divider style between the header, sections and footer.", +"enum": [ +"DIVIDER_STYLE_UNSPECIFIED", +"SOLID_DIVIDER", +"NO_DIVIDER" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default option. Render a solid divider.", +"If set, no divider is rendered. This style completely removes the divider from the layout. The result is equivalent to not adding a divider at all." +], +"type": "string" +}, +"sections": { +"description": "Contains a collection of widgets. Each section has its own, optional header. Sections are visually separated by a line divider. For an example in Google Chat apps, see [Define a section of a card](https://developers.google.com/workspace/chat/design-components-card-dialog#define_a_section_of_a_card).", +"items": { +"$ref": "GoogleAppsCardV1Section" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1CardAction": { +"description": "A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):", +"id": "GoogleAppsCardV1CardAction", +"properties": { +"actionLabel": { +"description": "The label that displays as the action menu item.", +"type": "string" +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "The `onClick` action for this action item." +} +}, +"type": "object" +}, +"GoogleAppsCardV1CardFixedFooter": { +"description": "A persistent (sticky) footer that that appears at the bottom of the card. Setting `fixedFooter` without specifying a `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed footers in [dialogs](https://developers.google.com/workspace/chat/dialogs), but not [card messages](https://developers.google.com/workspace/chat/create-messages#create). For an example in Google Chat apps, see [Add a persistent footer](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_persistent_footer). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1CardFixedFooter", +"properties": { +"primaryButton": { +"$ref": "GoogleAppsCardV1Button", +"description": "The primary button of the fixed footer. The button must be a text button with text and color set." +}, +"secondaryButton": { +"$ref": "GoogleAppsCardV1Button", +"description": "The secondary button of the fixed footer. The button must be a text button with text and color set. If `secondaryButton` is set, you must also set `primaryButton`." +} +}, +"type": "object" +}, +"GoogleAppsCardV1CardHeader": { +"description": "Represents a card header. For an example in Google Chat apps, see [Add a header](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_header). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1CardHeader", +"properties": { +"imageAltText": { +"description": "The alternative text of this image that's used for accessibility.", +"type": "string" +}, +"imageType": { +"description": "The shape used to crop the image. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"enum": [ +"SQUARE", +"CIRCLE" +], +"enumDescriptions": [ +"Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3.", +"Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3." +], +"type": "string" +}, +"imageUrl": { +"description": "The HTTPS URL of the image in the card header.", +"type": "string" +}, +"subtitle": { +"description": "The subtitle of the card header. If specified, appears on its own line below the `title`.", +"type": "string" +}, +"title": { +"description": "Required. The title of the card header. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Carousel": { +"description": "A carousel, also known as a slider, rotates and displays a list of widgets in a slideshow format, with buttons navigating to the previous or next widget. For example, this is a JSON representation of a carousel that contains three text paragraph widgets. ``` { \"carouselCards\": [ { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Second text paragraph in carousel\", } } ] }, { \"widgets\": [ { \"textParagraph\": { \"text\": \"Third text paragraph in carousel\", } } ] } ] } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "GoogleAppsCardV1Carousel", +"properties": { +"carouselCards": { +"description": "A list of cards included in the carousel.", +"items": { +"$ref": "GoogleAppsCardV1CarouselCard" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1CarouselCard": { +"description": "A card that can be displayed as a carousel item. [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "GoogleAppsCardV1CarouselCard", +"properties": { +"footerWidgets": { +"description": "A list of widgets displayed at the bottom of the carousel card. The widgets are displayed in the order that they are specified.", +"items": { +"$ref": "GoogleAppsCardV1NestedWidget" +}, +"type": "array" +}, +"widgets": { +"description": "A list of widgets displayed in the carousel card. The widgets are displayed in the order that they are specified.", +"items": { +"$ref": "GoogleAppsCardV1NestedWidget" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Chip": { +"description": "A text, icon, or text and icon chip that users can click. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Chip", +"properties": { +"altText": { +"description": "The alternative text that's used for accessibility. Set descriptive text that lets users know what the chip does. For example, if a chip opens a hyperlink, write: \"Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat\".", +"type": "string" +}, +"disabled": { +"description": "Whether the chip is in an inactive state and ignores user actions. Defaults to `false`.", +"type": "boolean" +}, +"enabled": { +"deprecated": true, +"description": "Whether the chip is in an active state and responds to user actions. Defaults to `true`. Deprecated. Use `disabled` instead.", +"type": "boolean" +}, +"icon": { +"$ref": "GoogleAppsCardV1Icon", +"description": "The icon image. If both `icon` and `text` are set, then the icon appears before the text." +}, +"label": { +"description": "The text displayed inside the chip.", +"type": "string" +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "Optional. The action to perform when a user clicks the chip, such as opening a hyperlink or running a custom function." +} +}, +"type": "object" +}, +"GoogleAppsCardV1ChipList": { +"description": "A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1ChipList", +"properties": { +"chips": { +"description": "An array of chips.", +"items": { +"$ref": "GoogleAppsCardV1Chip" +}, +"type": "array" +}, +"layout": { +"description": "Specified chip list layout.", +"enum": [ +"LAYOUT_UNSPECIFIED", +"WRAPPED", +"HORIZONTAL_SCROLLABLE" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. The chip list wraps to the next line if there isn't enough horizontal space.", +"The chips scroll horizontally if they don't fit in the available space." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1CollapseControl": { +"description": "Represent an expand and collapse control. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1CollapseControl", +"properties": { +"collapseButton": { +"$ref": "GoogleAppsCardV1Button", +"description": "Optional. Define a customizable button to collapse the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used." +}, +"expandButton": { +"$ref": "GoogleAppsCardV1Button", +"description": "Optional. Define a customizable button to expand the section. Both expand_button and collapse_button field must be set. Only one field set will not take into effect. If this field isn't set, the default button is used." +}, +"horizontalAlignment": { +"description": "The horizontal alignment of the expand and collapse button.", +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"START", +"CENTER", +"END" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.", +"Aligns widgets to the center of the column.", +"Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Column": { +"description": "A column. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend)", +"id": "GoogleAppsCardV1Column", +"properties": { +"horizontalAlignment": { +"description": "Specifies whether widgets align to the left, right, or center of a column.", +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"START", +"CENTER", +"END" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.", +"Aligns widgets to the center of the column.", +"Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left." +], +"type": "string" +}, +"horizontalSizeStyle": { +"description": "Specifies how a column fills the width of the card.", +"enum": [ +"HORIZONTAL_SIZE_STYLE_UNSPECIFIED", +"FILL_AVAILABLE_SPACE", +"FILL_MINIMUM_SPACE" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Column fills the available space, up to 70% of the card's width. If both columns are set to `FILL_AVAILABLE_SPACE`, each column fills 50% of the space.", +"Column fills the least amount of space possible and no more than 30% of the card's width." +], +"type": "string" +}, +"verticalAlignment": { +"description": "Specifies whether widgets align to the top, bottom, or center of a column.", +"enum": [ +"VERTICAL_ALIGNMENT_UNSPECIFIED", +"CENTER", +"TOP", +"BOTTOM" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Aligns widgets to the center of a column.", +"Aligns widgets to the top of a column.", +"Aligns widgets to the bottom of a column." +], +"type": "string" +}, +"widgets": { +"description": "An array of widgets included in a column. Widgets appear in the order that they are specified.", +"items": { +"$ref": "GoogleAppsCardV1Widgets" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Columns": { +"description": "The `Columns` widget displays up to 2 columns in a card or dialog. You can add widgets to each column; the widgets appear in the order that they are specified. For an example in Google Chat apps, see [Display cards and dialogs in columns](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_cards_and_dialogs_in_columns). The height of each column is determined by the taller column. For example, if the first column is taller than the second column, both columns have the height of the first column. Because each column can contain a different number of widgets, you can't define rows or align widgets between the columns. Columns are displayed side-by-side. You can customize the width of each column using the `HorizontalSizeStyle` field. If the user's screen width is too narrow, the second column wraps below the first: * On web, the second column wraps if the screen width is less than or equal to 480 pixels. * On iOS devices, the second column wraps if the screen width is less than or equal to 300 pt. * On Android devices, the second column wraps if the screen width is less than or equal to 320 dp. To include more than two columns, or to use rows, use the `Grid` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): The add-on UIs that support columns include: * The dialog displayed when users open the add-on from an email draft. * The dialog displayed when users open the add-on from the **Add attachment** menu in a Google Calendar event.", +"id": "GoogleAppsCardV1Columns", +"properties": { +"columnItems": { +"description": "An array of columns. You can include up to 2 columns in a card or dialog.", +"items": { +"$ref": "GoogleAppsCardV1Column" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1CommonWidgetAction": { +"description": "Represents an action that is not specific to a widget. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1CommonWidgetAction", +"properties": { +"updateVisibilityAction": { +"$ref": "GoogleAppsCardV1UpdateVisibilityAction", +"description": "The action to update the visibility of a widget." +} +}, +"type": "object" +}, +"GoogleAppsCardV1Condition": { +"description": "Represents a condition that can be used to trigger an action. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1Condition", +"properties": { +"actionRuleId": { +"description": "The unique identifier of the ActionRule.", +"type": "string" +}, +"expressionDataCondition": { +"$ref": "GoogleAppsCardV1ExpressionDataCondition", +"description": "The condition that is determined by the expression data." +} +}, +"type": "object" +}, +"GoogleAppsCardV1DataSourceConfig": { +"description": "A configuration object that helps configure the data sources for a widget. Available for Google Chat apps and Google Workspace add-ons that extend Google Workspace Studio.", +"id": "GoogleAppsCardV1DataSourceConfig", +"properties": { +"minCharactersTrigger": { +"description": "The minimum number of characters the user must enter before this data provider is triggered (i.e., before it starts returning results).", +"format": "int32", +"type": "integer" +}, +"platformDataSource": { +"$ref": "GoogleAppsCardV1PlatformDataSource", +"description": "The data is from a Google Workspace application." +}, +"remoteDataSource": { +"$ref": "GoogleAppsCardV1Action", +"description": "The data is from a remote data provider." +} +}, +"type": "object" +}, +"GoogleAppsCardV1DateTimePicker": { +"description": "Lets users input a date, a time, or both a date and a time. Supports form submission validation. When `Action.all_widgets_are_required` is set to `true` or this widget is specified in `Action.required_widgets`, the submission action is blocked unless a value is selected. For an example in Google Chat apps, see [Let a user pick a date and time](https://developers.google.com/workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time). Users can input text or use the picker to select dates and times. If users input an invalid date or time, the picker shows an error that prompts users to input the information correctly. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1DateTimePicker", +"properties": { +"hostAppDataSource": { +"$ref": "HostAppDataSourceMarkup", +"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps." +}, +"label": { +"description": "The text that prompts users to input a date, a time, or a date and time. For example, if users are scheduling an appointment, use a label such as `Appointment date` or `Appointment date and time`.", +"type": "string" +}, +"name": { +"description": "The name by which the `DateTimePicker` is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +}, +"onChangeAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "Triggered when the user clicks **Save** or **Clear** from the `DateTimePicker` interface." +}, +"timezoneOffsetDate": { +"description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If unset, the value defaults to the user's time zone setting.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "Whether the widget supports inputting a date, a time, or the date and time.", +"enum": [ +"DATE_AND_TIME", +"DATE_ONLY", +"TIME_ONLY" +], +"enumDescriptions": [ +"Users input a date and time.", +"Users input a date.", +"Users input a time." +], +"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`).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1DecoratedText": { +"description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget, or a button after the text. For an example in Google Chat apps, see [Display text with decorative text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#display_text_with_decorative_elements). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1DecoratedText", +"properties": { +"bottomLabel": { +"description": "The text that appears below `text`. Always wraps.", +"type": "string" +}, +"bottomLabelText": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "`TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for more complex formatting than `bottom_label`. [Google Chat apps](https://developers.google.com/workspace/chat):" +}, +"button": { +"$ref": "GoogleAppsCardV1Button", +"description": "A button that a user can click to trigger an action." +}, +"contentText": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "`TextParagraph` equivalent of `text`. Allows for more complex formatting than `text`. [Google Chat apps](https://developers.google.com/workspace/chat):" +}, +"endIcon": { +"$ref": "GoogleAppsCardV1Icon", +"description": "An icon displayed after the text. Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons." +}, +"icon": { +"$ref": "GoogleAppsCardV1Icon", +"deprecated": true, +"description": "Deprecated in favor of `startIcon`." +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "This action is triggered when users click `topLabel` or `bottomLabel`." +}, +"startIcon": { +"$ref": "GoogleAppsCardV1Icon", +"description": "The icon displayed in front of the text." +}, +"startIconVerticalAlignment": { +"description": "Optional. Vertical alignment of the start icon. If not set, the icon will be vertically centered. [Google Chat apps](https://developers.google.com/workspace/chat):", +"enum": [ +"VERTICAL_ALIGNMENT_UNSPECIFIED", +"TOP", +"MIDDLE", +"BOTTOM" +], +"enumDescriptions": [ +"Unspecified type. Do not use.", +"Alignment to the top position.", +"Alignment to the middle position.", +"Alignment to the bottom position." +], +"type": "string" +}, +"switchControl": { +"$ref": "GoogleAppsCardV1SwitchControl", +"description": "A switch widget that a user can click to change its state and trigger an action." +}, +"text": { +"description": "Required. The primary text. Supports simple formatting. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +}, +"topLabel": { +"description": "The text that appears above `text`. Always truncates.", +"type": "string" +}, +"topLabelText": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "`TextParagraph` equivalent of `top_label`. Always truncates. Allows for more complex formatting than `top_label`. [Google Chat apps](https://developers.google.com/workspace/chat):" +}, +"wrapText": { +"description": "The wrap text setting. If `true`, the text wraps and displays on multiple lines. Otherwise, the text is truncated. Only applies to `text`, not `topLabel` and `bottomLabel`.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Divider": { +"description": "Displays a divider between widgets as a horizontal line. For an example in Google Chat apps, see [Add a horizontal divider between widgets](https://developers.google.com/workspace/chat/format-structure-card-dialog#add_a_horizontal_divider_between_widgets). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a divider: ``` \"divider\": {} ```", +"id": "GoogleAppsCardV1Divider", +"properties": {}, +"type": "object" +}, +"GoogleAppsCardV1EventAction": { +"description": "Represents an actionthat can be performed on an ui element. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1EventAction", +"properties": { +"actionRuleId": { +"description": "The unique identifier of the ActionRule.", +"type": "string" +}, +"commonWidgetAction": { +"$ref": "GoogleAppsCardV1CommonWidgetAction", +"description": "Common widget action." +}, +"postEventTriggers": { +"description": "The list of triggers that will be triggered after the EventAction is executed.", +"items": { +"$ref": "GoogleAppsCardV1Trigger" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1ExpressionData": { +"description": "Represents the data that is used to evaluate an expression. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1ExpressionData", +"properties": { +"conditions": { +"description": "The list of conditions that are determined by the expression evaluation result.", +"items": { +"$ref": "GoogleAppsCardV1Condition" +}, +"type": "array" +}, +"eventActions": { +"description": "The list of actions that the ExpressionData can be used.", +"items": { +"$ref": "GoogleAppsCardV1EventAction" +}, +"type": "array" +}, +"expression": { +"description": "The uncompiled expression.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the ExpressionData.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1ExpressionDataCondition": { +"description": "Represents a condition that is evaluated using CEL. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1ExpressionDataCondition", +"properties": { +"conditionType": { +"description": "The type of the condition.", +"enum": [ +"CONDITION_TYPE_UNSPECIFIED", +"EXPRESSION_EVALUATION_SUCCESS", +"EXPRESSION_EVALUATION_FAILURE" +], +"enumDescriptions": [ +"Unspecified condition type.", +"The expression evaluation was successful.", +"The expression evaluation was unsuccessful." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Grid": { +"description": "Displays a grid with a collection of items. Items can only include text or images. For responsive columns, or to include more than text or images, use `Columns`. For an example in Google Chat apps, see [Display a Grid with a collection of items](https://developers.google.com/workspace/chat/format-structure-card-dialog#display_a_grid_with_a_collection_of_items). A grid supports any number of columns and items. The number of rows is determined by items divided by columns. A grid with 10 items and 2 columns has 5 rows. A grid with 11 items and 2 columns has 6 rows. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"columnCount\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4 }, \"items\": [ { \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" } ], \"onClick\": { \"openLink\": { \"url\": \"https://www.example.com\" } } } ```", +"id": "GoogleAppsCardV1Grid", +"properties": { +"borderStyle": { +"$ref": "GoogleAppsCardV1BorderStyle", +"description": "The border style to apply to each grid item." +}, +"columnCount": { +"description": "The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion).", +"format": "int32", +"type": "integer" +}, +"items": { +"description": "The items to display in the grid.", +"items": { +"$ref": "GoogleAppsCardV1GridItem" +}, +"type": "array" +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters." +}, +"title": { +"description": "The text that displays in the grid header.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1GridItem": { +"description": "Represents an item in a grid layout. Items can contain text, an image, or both text and an image. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1GridItem", +"properties": { +"id": { +"description": "A user-specified identifier for this grid item. This identifier is returned in the parent grid's `onClick` callback parameters.", +"type": "string" +}, +"image": { +"$ref": "GoogleAppsCardV1ImageComponent", +"description": "The image that displays in the grid item." +}, +"layout": { +"description": "The layout to use for the grid item.", +"enum": [ +"GRID_ITEM_LAYOUT_UNSPECIFIED", +"TEXT_BELOW", +"TEXT_ABOVE" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"The title and subtitle are shown below the grid item's image.", +"The title and subtitle are shown above the grid item's image." +], +"type": "string" +}, +"subtitle": { +"description": "The grid item's subtitle.", +"type": "string" +}, +"title": { +"description": "The grid item's title.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Icon": { +"description": "An icon displayed in a widget on a card. For an example in Google Chat apps, see [Add an icon](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_icon). Supports [built-in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and [custom](https://developers.google.com/workspace/chat/format-messages#customicons) icons. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Icon", +"properties": { +"altText": { +"description": "Optional. A description of the icon used for accessibility. If unspecified, the default value `Button` is provided. As a best practice, you should set a helpful description for what the icon displays, and if applicable, what it does. For example, `A user's account portrait`, or `Opens a new browser tab and navigates to the Google Chat developer documentation at https://developers.google.com/workspace/chat`. If the icon is set in a `Button`, the `altText` appears as helper text when the user hovers over the button. However, if the button also sets `text`, the icon's `altText` is ignored.", +"type": "string" +}, +"iconUrl": { +"description": "Display a custom icon hosted at an HTTPS URL. For example: ``` \"iconUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\" ``` Supported file types include `.png` and `.jpg`.", +"type": "string" +}, +"imageType": { +"description": "The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a built-in icon.", +"enum": [ +"SQUARE", +"CIRCLE" +], +"enumDescriptions": [ +"Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3.", +"Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3." +], +"type": "string" +}, +"knownIcon": { +"description": "Display one of the built-in icons provided by Google Workspace. For example, to display an airplane icon, specify `AIRPLANE`. For a bus, specify `BUS`. For a full list of supported icons, see [built-in icons](https://developers.google.com/workspace/chat/format-messages#builtinicons).", +"type": "string" +}, +"materialIcon": { +"$ref": "GoogleAppsCardV1MaterialIcon", +"description": "Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use ``` \"material_icon\": { \"name\": \"check_box\" } ``` [Google Chat apps](https://developers.google.com/workspace/chat):" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Image": { +"description": "An image that is specified by a URL and can have an `onClick` action. For an example, see [Add an image](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_image). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Image", +"properties": { +"altText": { +"description": "The alternative text of this image that's used for accessibility.", +"type": "string" +}, +"imageUrl": { +"description": "The HTTPS URL that hosts the image. For example: ``` https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png ```", +"type": "string" +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "When a user clicks the image, the click triggers this action." +} +}, +"type": "object" +}, +"GoogleAppsCardV1ImageComponent": { +"description": "Represents an image. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1ImageComponent", +"properties": { +"altText": { +"description": "The accessibility label for the image.", +"type": "string" +}, +"borderStyle": { +"$ref": "GoogleAppsCardV1BorderStyle", +"description": "The border style to apply to the image." +}, +"cropStyle": { +"$ref": "GoogleAppsCardV1ImageCropStyle", +"description": "The crop style to apply to the image." +}, +"imageUri": { +"description": "The image URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1ImageCropStyle": { +"description": "Represents the crop style applied to an image. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, here's how to apply a 16:9 aspect ratio: ``` cropStyle { \"type\": \"RECTANGLE_CUSTOM\", \"aspectRatio\": 16/9 } ```", +"id": "GoogleAppsCardV1ImageCropStyle", +"properties": { +"aspectRatio": { +"description": "The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`. For example, here's how to apply a 16:9 aspect ratio: ``` cropStyle { \"type\": \"RECTANGLE_CUSTOM\", \"aspectRatio\": 16/9 } ```", +"format": "double", +"type": "number" +}, +"type": { +"description": "The crop type.", +"enum": [ +"IMAGE_CROP_TYPE_UNSPECIFIED", +"SQUARE", +"CIRCLE", +"RECTANGLE_CUSTOM", +"RECTANGLE_4_3" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Applies a square crop.", +"Applies a circular crop.", +"Applies a rectangular crop with a custom aspect ratio. Set the custom aspect ratio with `aspectRatio`.", +"Applies a rectangular crop with a 4:3 aspect ratio." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1MaterialIcon": { +"description": "A [Google Material Icon](https://fonts.google.com/icons), which includes over 2500+ options. For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write the following: ``` { \"name\": \"check_box\", \"fill\": true, \"weight\": 300, \"grade\": -25 } ``` [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "GoogleAppsCardV1MaterialIcon", +"properties": { +"fill": { +"description": "Whether the icon renders as filled. Default value is false. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.", +"type": "boolean" +}, +"grade": { +"description": "Weight and grade affect a symbol\u2019s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The icon name defined in the [Google Material Icon](https://fonts.google.com/icons), for example, `check_box`. Any invalid names are abandoned and replaced with empty string and results in the icon failing to render.", +"type": "string" +}, +"weight": { +"description": "The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to [Google Font Icons](https://fonts.google.com/icons) and adjust the settings under **Customize**.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleAppsCardV1NestedWidget": { +"description": "A list of widgets that can be displayed in a containing layout, such as a `CarouselCard`. [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "GoogleAppsCardV1NestedWidget", +"properties": { +"buttonList": { +"$ref": "GoogleAppsCardV1ButtonList", +"description": "A button list widget." +}, +"image": { +"$ref": "GoogleAppsCardV1Image", +"description": "An image widget." +}, +"textParagraph": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "A text paragraph widget." +} +}, +"type": "object" +}, +"GoogleAppsCardV1OnClick": { +"description": "Represents how to respond when users click an interactive element on a card, such as a button. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1OnClick", +"properties": { +"action": { +"$ref": "GoogleAppsCardV1Action", +"description": "If specified, an action is triggered by this `onClick`." +}, +"card": { +"$ref": "GoogleAppsCardV1Card", +"description": "A new card is pushed to the card stack after clicking if specified. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):" +}, +"openDynamicLinkAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "An add-on triggers this action when the action needs to open a link. This differs from the `open_link` above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):" +}, +"openLink": { +"$ref": "GoogleAppsCardV1OpenLink", +"description": "If specified, this `onClick` triggers an open link action." +}, +"overflowMenu": { +"$ref": "GoogleAppsCardV1OverflowMenu", +"description": "If specified, this `onClick` opens an overflow menu." +} +}, +"type": "object" +}, +"GoogleAppsCardV1OpenLink": { +"description": "Represents an `onClick` event that opens a hyperlink. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1OpenLink", +"properties": { +"onClose": { +"description": "Whether the client forgets about a link after opening it, or observes it until the window closes. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):", +"enum": [ +"NOTHING", +"RELOAD" +], +"enumDescriptions": [ +"Default value. The card doesn't reload; nothing happens.", +"Reloads the card after the child window closes. If used in conjunction with [`OpenAs.OVERLAY`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), the child window acts as a modal dialog and the parent card is blocked until the child window closes." +], +"type": "string" +}, +"openAs": { +"description": "How to open a link. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):", +"enum": [ +"FULL_SIZE", +"OVERLAY" +], +"enumDescriptions": [ +"The link opens as a full-size window (if that's the frame used by the client).", +"The link opens as an overlay, such as a pop-up." +], +"type": "string" +}, +"url": { +"description": "The URL to open. HTTP URLs are converted to HTTPS.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1OverflowMenu": { +"description": "A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the `OnClick` action of widgets that support it. For example, in a `Button`. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1OverflowMenu", +"properties": { +"items": { +"description": "Required. The list of menu options.", +"items": { +"$ref": "GoogleAppsCardV1OverflowMenuItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1OverflowMenuItem": { +"description": "An option that users can invoke in an overflow menu. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1OverflowMenuItem", +"properties": { +"disabled": { +"description": "Whether the menu option is disabled. Defaults to false.", +"type": "boolean" +}, +"onClick": { +"$ref": "GoogleAppsCardV1OnClick", +"description": "Required. The action invoked when a menu option is selected. This `OnClick` cannot contain an `OverflowMenu`, any specified `OverflowMenu` is dropped and the menu item disabled." +}, +"startIcon": { +"$ref": "GoogleAppsCardV1Icon", +"description": "The icon displayed in front of the text." +}, +"text": { +"description": "Required. The text that identifies or describes the item to users.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1PlatformDataSource": { +"description": "For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Workspace. Used to populate items in a multiselect menu. [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "GoogleAppsCardV1PlatformDataSource", +"properties": { +"commonDataSource": { +"description": "A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.", +"enum": [ +"UNKNOWN", +"USER" +], +"enumDescriptions": [ +"Default value. Don't use.", +"Google Workspace users. The user can only view and select users from their Google Workspace organization." +], +"type": "string" +}, +"hostAppDataSource": { +"$ref": "HostAppDataSourceMarkup", +"description": "A data source that's unique to a Google Workspace host application, such spaces in Google Chat. This field supports the Google API Client Libraries but isn't available in the Cloud Client Libraries. To learn more, see [Install the client libraries](https://developers.google.com/workspace/chat/libraries)." +} +}, +"type": "object" +}, +"GoogleAppsCardV1Section": { +"description": "A section contains a collection of widgets that are rendered vertically in the order that they're specified. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Section", +"properties": { +"collapseControl": { +"$ref": "GoogleAppsCardV1CollapseControl", +"description": "Optional. Define the expand and collapse button of the section. This button will be shown only if the section is collapsible. If this field isn't set, the default button is used." +}, +"collapsible": { +"description": "Indicates whether this section is collapsible. Collapsible sections hide some or all widgets, but users can expand the section to reveal the hidden widgets by clicking **Show more**. Users can hide the widgets again by clicking **Show less**. To determine which widgets are hidden, specify `uncollapsibleWidgetsCount`.", +"type": "boolean" +}, +"header": { +"description": "Text that appears at the top of a section. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +}, +"id": { +"description": "A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"type": "string" +}, +"uncollapsibleWidgetsCount": { +"description": "The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`.", +"format": "int32", +"type": "integer" +}, +"widgets": { +"description": "All the widgets in the section. Must contain at least one widget.", +"items": { +"$ref": "GoogleAppsCardV1Widget" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1SelectionInput": { +"description": "A widget that creates one or more UI items that users can select. Supports form submission validation for `dropdown` and `multiselect` menus only. When `Action.all_widgets_are_required` is set to `true` or this widget is specified in `Action.required_widgets`, the submission action is blocked unless a value is selected. For example, a dropdown menu or checkboxes. You can use this widget to collect data that can be predicted or enumerated. For an example in Google Chat apps, see [Add selectable UI elements](/workspace/chat/design-interactive-card-dialog#add_selectable_ui_elements). Chat apps can process the value of items that users select or input. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). To collect undefined or abstract data from users, use the TextInput widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1SelectionInput", +"properties": { +"dataSourceConfigs": { +"description": "Optional. The data source configs for the selection control. This field provides more fine-grained control over the data source. If specified, the `multi_select_max_selected_items` field, `multi_select_min_query_length` field, `external_data_source` field and `platform_data_source` field are ignored. Available for Google Workspace add-ons that extend Google Workspace Studio. Available for the `Dropdown widget` in Google Chat apps. For the `Dropdown` widget in Google Chat apps, only one `DataSourceConfig` is supported. If multiple `DataSourceConfig`s are set, only the first one is used.", +"items": { +"$ref": "GoogleAppsCardV1DataSourceConfig" +}, +"type": "array" +}, +"externalDataSource": { +"$ref": "GoogleAppsCardV1Action", +"description": "An external data source, such as a relational database." +}, +"hintText": { +"description": "Optional. Text that appears below the selection input field meant to assist users by prompting them to enter a certain value. This text is always visible. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"type": "string" +}, +"items": { +"description": "An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.", +"items": { +"$ref": "GoogleAppsCardV1SelectionItem" +}, +"type": "array" +}, +"label": { +"description": "The text that appears above the selection input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if users are selecting the urgency of a work ticket from a drop-down menu, the label might be \"Urgency\" or \"Select urgency\".", +"type": "string" +}, +"multiSelectMaxSelectedItems": { +"description": "For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.", +"format": "int32", +"type": "integer" +}, +"multiSelectMinQueryLength": { +"description": "For multiselect menus, the number of text characters that a user inputs before the menu returns suggested selection items. If unset, the multiselect menu uses the following default values: * If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and immediately populates items from the array. * If the menu uses a dynamic data source (`multi_select_data_source`), defaults to 3 characters before querying the data source to return suggested items.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. The name that identifies the selection input in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +}, +"onChangeAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button that submits the form. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data)." +}, +"platformDataSource": { +"$ref": "GoogleAppsCardV1PlatformDataSource", +"description": "A data source from Google Workspace." +}, +"type": { +"description": "The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.", +"enum": [ +"CHECK_BOX", +"RADIO_BUTTON", +"SWITCH", +"DROPDOWN", +"MULTI_SELECT" +], +"enumDescriptions": [ +"A set of checkboxes. Users can select one or more checkboxes.", +"A set of radio buttons. Users can select one radio button.", +"A set of switches. Users can turn on one or more switches.", +"A dropdown menu. Users can select one item from the menu. For Google Chat apps, you can populate items using a dynamic data source and autosuggest items as users type in the menu. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To dynamically populate items for a dropdown menu, use one of the following types of data sources: * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement dropdown menus for Chat apps, see [Add a dropdown menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu) and [Dynamically populate drop-down menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"A menu with a text box. Users can type and select one or more items. For Google Workspace add-ons, you must populate items using a static array of `SelectionItem` objects. For Google Chat apps, you can also populate items using a dynamic data source and autosuggest items as users type in the menu. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To dynamically populate items for a multiselect menu, use one of the following types of data sources: * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus for Chat apps, see [Add a multiselect menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#multiselect-menu). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1SelectionItem": { +"description": "An item that users can select in a selection input, such as a checkbox or switch. Supports up to 100 items. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1SelectionItem", +"properties": { +"bottomText": { +"description": "For multiselect menus, a text description or label that's displayed below the item's `text` field.", +"type": "string" +}, +"selected": { +"description": "Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.", +"type": "boolean" +}, +"startIconUri": { +"type": "string" +}, +"text": { +"description": "The text that identifies or describes the item to users.", +"type": "string" +}, +"value": { +"description": "The value associated with this item. The client should use this as a form input value. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1SuggestionItem": { +"description": "One suggested value that users can enter in a text input field. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1SuggestionItem", +"properties": { +"text": { +"description": "The value of a suggested input to a text input field. This is equivalent to what users enter themselves.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Suggestions": { +"description": "Suggested values that users can enter. These values appear when users click inside the text input field. As users type, the suggested values dynamically filter to match what the users have typed. For example, a text input field for programming language might suggest Java, JavaScript, Python, and C++. When users start typing `Jav`, the list of suggestions filters to show `Java` and `JavaScript`. Suggested values help guide users to enter values that your app can make sense of. When referring to JavaScript, some users might enter `javascript` and others `java script`. Suggesting `JavaScript` can standardize how users interact with your app. When specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Suggestions", +"properties": { +"items": { +"description": "A list of suggestions used for autocomplete recommendations in text input fields.", +"items": { +"$ref": "GoogleAppsCardV1SuggestionItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAppsCardV1SwitchControl": { +"description": "Either a toggle-style switch or a checkbox inside a `decoratedText` widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): Only supported in the `decoratedText` widget.", +"id": "GoogleAppsCardV1SwitchControl", +"properties": { +"controlType": { +"description": "How the switch appears in the user interface. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"enum": [ +"SWITCH", +"CHECKBOX", +"CHECK_BOX" +], +"enumDescriptions": [ +"A toggle-style switch.", +"Deprecated in favor of `CHECK_BOX`.", +"A checkbox." +], +"type": "string" +}, +"name": { +"description": "The name by which the switch widget is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +}, +"onChangeAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "The action to perform when the switch state is changed, such as what function to run." +}, +"selected": { +"description": "When `true`, the switch is selected.", +"type": "boolean" +}, +"value": { +"description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1TextInput": { +"description": "A field in which users can enter text. Supports suggestions and on-change actions. Supports form submission validation. When `Action.all_widgets_are_required` is set to `true` or this widget is specified in `Action.required_widgets`, the submission action is blocked unless a value is entered. For an example in Google Chat apps, see [Add a field in which a user can enter text](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_field_in_which_a_user_can_enter_text). Chat apps receive and can process the value of entered text during form input events. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data). When you need to collect undefined or abstract data from users, use a text input. To collect defined or enumerated data from users, use the SelectionInput widget. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1TextInput", +"properties": { +"autoCompleteAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "Optional. Specify what action to take when the text input field provides suggestions to users who interact with it. If unspecified, the suggestions are set by `initialSuggestions` and are processed by the client. If specified, the app takes the action specified here, such as running a custom function. [Google Workspace add-ons](https://developers.google.com/workspace/add-ons):" +}, +"hintText": { +"description": "Text that appears below the text input field meant to assist users by prompting them to enter a certain value. This text is always visible. Required if `label` is unspecified. Otherwise, optional.", +"type": "string" +}, +"hostAppDataSource": { +"$ref": "HostAppDataSourceMarkup", +"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps." +}, +"initialSuggestions": { +"$ref": "GoogleAppsCardV1Suggestions", +"description": "Suggested values that users can enter. These values appear when users click inside the text input field. As users type, the suggested values dynamically filter to match what the users have typed. For example, a text input field for programming language might suggest Java, JavaScript, Python, and C++. When users start typing `Jav`, the list of suggestions filters to show just `Java` and `JavaScript`. Suggested values help guide users to enter values that your app can make sense of. When referring to JavaScript, some users might enter `javascript` and others `java script`. Suggesting `JavaScript` can standardize how users interact with your app. When specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set to `MULTIPLE_LINE`. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):" +}, +"label": { +"description": "The text that appears above the text input field in the user interface. Specify text that helps the user enter the information your app needs. For example, if you are asking someone's name, but specifically need their surname, write `surname` instead of `name`. Required if `hintText` is unspecified. Otherwise, optional.", +"type": "string" +}, +"name": { +"description": "The name by which the text input is identified in a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +}, +"onChangeAction": { +"$ref": "GoogleAppsCardV1Action", +"description": "What to do when a change occurs in the text input field. For example, a user adding to the field or deleting text. Examples of actions to take include running a custom function or opening a [dialog](https://developers.google.com/workspace/chat/dialogs) in Google Chat." +}, +"placeholderText": { +"description": "Text that appears in the text input field when the field is empty. Use this text to prompt users to enter a value. For example, `Enter a number from 0 to 100`. [Google Chat apps](https://developers.google.com/workspace/chat):", +"type": "string" +}, +"type": { +"description": "How a text input field appears in the user interface. For example, whether the field is single or multi-line.", +"enum": [ +"SINGLE_LINE", +"MULTIPLE_LINE" +], +"enumDescriptions": [ +"The text input field has a fixed height of one line.", +"The text input field has a fixed height of multiple lines." +], +"type": "string" +}, +"validation": { +"$ref": "GoogleAppsCardV1Validation", +"description": "Specify the input format validation necessary for this text field. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):" +}, +"value": { +"description": "The value entered by a user, returned as part of a form input event. For details about working with form inputs, see [Receive form data](https://developers.google.com/workspace/chat/read-form-data).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1TextParagraph": { +"description": "A paragraph of text that supports formatting. For an example in Google Chat apps, see [Add a paragraph of formatted text](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_a_paragraph_of_formatted_text). For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1TextParagraph", +"properties": { +"maxLines": { +"description": "The maximum number of lines of text that are displayed in the widget. If the text exceeds the specified maximum number of lines, the excess content is concealed behind a **show more** button. If the text is equal or shorter than the specified maximum number of lines, a **show more** button isn't displayed. The default value is 0, in which case all context is displayed. Negative values are ignored.", +"format": "int32", +"type": "integer" +}, +"text": { +"description": "The text that's shown in the widget.", +"type": "string" +}, +"textSyntax": { +"description": "The syntax of the text. If not set, the text is rendered as HTML. [Google Chat apps](https://developers.google.com/workspace/chat):", +"enum": [ +"TEXT_SYNTAX_UNSPECIFIED", +"HTML", +"MARKDOWN" +], +"enumDescriptions": [ +"The text is rendered as HTML if unspecified.", +"The text is rendered as HTML. This is the default value.", +"The text is rendered as Markdown." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Trigger": { +"description": "Represents a trigger. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1Trigger", +"properties": { +"actionRuleId": { +"description": "The unique identifier of the ActionRule.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1UpdateVisibilityAction": { +"description": "Represents an action that updates the visibility of a widget. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"id": "GoogleAppsCardV1UpdateVisibilityAction", +"properties": { +"visibility": { +"description": "The new visibility.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"VISIBLE", +"HIDDEN" +], +"enumDescriptions": [ +"Unspecified visibility. Do not use.", +"The UI element is visible.", +"The UI element is hidden." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Validation": { +"description": "Represents the necessary data for validating the widget it's attached to. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"id": "GoogleAppsCardV1Validation", +"properties": { +"characterLimit": { +"description": "Specify the character limit for text input widgets. Note that this is only used for text input and is ignored for other widgets. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"format": "int32", +"type": "integer" +}, +"inputType": { +"description": "Specify the type of the input widgets. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend):", +"enum": [ +"INPUT_TYPE_UNSPECIFIED", +"TEXT", +"INTEGER", +"FLOAT", +"EMAIL", +"EMOJI_PICKER" +], +"enumDescriptions": [ +"Unspecified type. Do not use.", +"Regular text that accepts all characters.", +"An integer value.", +"A float value.", +"An email address.", +"A emoji selected from system-provided emoji picker." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Widget": { +"description": "Each card is made up of widgets. A widget is a composite object that can represent one of text, images, buttons, and other object types.", +"id": "GoogleAppsCardV1Widget", +"properties": { +"buttonList": { +"$ref": "GoogleAppsCardV1ButtonList", +"description": "A list of buttons. For example, the following JSON creates two buttons. The first is a blue text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ { \"text\": \"Edit\", \"color\": { \"red\": 0, \"green\": 0, \"blue\": 1, }, \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" +}, +"carousel": { +"$ref": "GoogleAppsCardV1Carousel", +"description": "A carousel contains a collection of nested widgets. For example, this is a JSON representation of a carousel that contains two text paragraphs. ``` { \"widgets\": [ { \"textParagraph\": { \"text\": \"First text paragraph in the carousel.\" } }, { \"textParagraph\": { \"text\": \"Second text paragraph in the carousel.\" } } ] } ```" +}, +"chipList": { +"$ref": "GoogleAppsCardV1ChipList", +"description": "A list of chips. For example, the following JSON creates two chips. The first is a text chip and the second is an icon chip that opens a link: ``` \"chipList\": { \"chips\": [ { \"text\": \"Edit\", \"disabled\": true, }, { \"icon\": { \"knownIcon\": \"INVITE\", \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } } ] } ```" +}, +"columns": { +"$ref": "GoogleAppsCardV1Columns", +"description": "Displays up to 2 columns. To include more than 2 columns, or to use rows, use the `Grid` widget. For example, the following JSON creates 2 columns that each contain text paragraphs: ``` \"columns\": { \"columnItems\": [ { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\": \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"First column text paragraph\" } } ] }, { \"horizontalSizeStyle\": \"FILL_AVAILABLE_SPACE\", \"horizontalAlignment\": \"CENTER\", \"verticalAlignment\": \"CENTER\", \"widgets\": [ { \"textParagraph\": { \"text\": \"Second column text paragraph\" } } ] } ] } ```" +}, +"dateTimePicker": { +"$ref": "GoogleAppsCardV1DateTimePicker", +"description": "Displays a widget that lets users input a date, time, or date and time. For example, the following JSON creates a date time picker to schedule an appointment: ``` \"dateTimePicker\": { \"name\": \"appointment_time\", \"label\": \"Book your appointment at:\", \"type\": \"DATE_AND_TIME\", \"valueMsEpoch\": 796435200000 } ```" +}, +"decoratedText": { +"$ref": "GoogleAppsCardV1DecoratedText", +"description": "Displays a decorated text item. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"text\": \"sasha@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchControl\": { \"name\": \"has_send_welcome_email_to_sasha\", \"selected\": false, \"controlType\": \"CHECKBOX\" } } ```" +}, +"divider": { +"$ref": "GoogleAppsCardV1Divider", +"description": "Displays a horizontal line divider between widgets. For example, the following JSON creates a divider: ``` \"divider\": { } ```" +}, +"eventActions": { +"description": "Specifies the event actions that can be performed on the widget. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"items": { +"$ref": "GoogleAppsCardV1EventAction" +}, +"type": "array" +}, +"grid": { +"$ref": "GoogleAppsCardV1Grid", +"description": "Displays a grid with a collection of items. A grid supports any number of columns and items. The number of rows is determined by the upper bounds of the number items divided by the number of columns. A grid with 10 items and 2 columns has 5 rows. A grid with 11 items and 2 columns has 6 rows. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend): For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"columnCount\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4 }, \"items\": [ { \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" } ], \"onClick\": { \"openLink\": { \"url\": \"https://www.example.com\" } } } ```" +}, +"horizontalAlignment": { +"description": "Specifies whether widgets align to the left, right, or center of a column.", +"enum": [ +"HORIZONTAL_ALIGNMENT_UNSPECIFIED", +"START", +"CENTER", +"END" +], +"enumDescriptions": [ +"Don't use. Unspecified.", +"Default value. Aligns widgets to the start position of the column. For left-to-right layouts, aligns to the left. For right-to-left layouts, aligns to the right.", +"Aligns widgets to the center of the column.", +"Aligns widgets to the end position of the column. For left-to-right layouts, aligns widgets to the right. For right-to-left layouts, aligns widgets to the left." +], +"type": "string" +}, +"id": { +"description": "A unique ID assigned to the widget that's used to identify the widget to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"type": "string" +}, +"image": { +"$ref": "GoogleAppsCardV1Image", +"description": "Displays an image. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\", \"altText\": \"Chat app avatar\" } ```" +}, +"selectionInput": { +"$ref": "GoogleAppsCardV1SelectionInput", +"description": "Displays a selection control that lets users select items. Selection controls can be checkboxes, radio buttons, switches, or dropdown menus. For example, the following JSON creates a dropdown menu that lets users choose a size: ``` \"selectionInput\": { \"name\": \"size\", \"label\": \"Size\" \"type\": \"DROPDOWN\", \"items\": [ { \"text\": \"S\", \"value\": \"small\", \"selected\": false }, { \"text\": \"M\", \"value\": \"medium\", \"selected\": true }, { \"text\": \"L\", \"value\": \"large\", \"selected\": false }, { \"text\": \"XL\", \"value\": \"extra_large\", \"selected\": false } ] } ```" +}, +"textInput": { +"$ref": "GoogleAppsCardV1TextInput", +"description": "Displays a text box that users can type into. For example, the following JSON creates a text input for an email address: ``` \"textInput\": { \"name\": \"mailing_address\", \"label\": \"Mailing Address\" } ``` As another example, the following JSON creates a text input for a programming language with static suggestions: ``` \"textInput\": { \"name\": \"preferred_programing_language\", \"label\": \"Preferred Language\", \"initialSuggestions\": { \"items\": [ { \"text\": \"C++\" }, { \"text\": \"Java\" }, { \"text\": \"JavaScript\" }, { \"text\": \"Python\" } ] } } ```" +}, +"textParagraph": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "Displays a text paragraph. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```" +}, +"visibility": { +"description": "Specifies whether the widget is visible or hidden. The default value is `VISIBLE`. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.", +"enum": [ +"VISIBILITY_UNSPECIFIED", +"VISIBLE", +"HIDDEN" +], +"enumDescriptions": [ +"Unspecified visibility. Do not use.", +"The UI element is visible.", +"The UI element is hidden." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleAppsCardV1Widgets": { +"description": "The supported widgets that you can include in a column. [Google Workspace add-ons and Chat apps](https://developers.google.com/workspace/extend)", +"id": "GoogleAppsCardV1Widgets", +"properties": { +"buttonList": { +"$ref": "GoogleAppsCardV1ButtonList", +"description": "ButtonList widget." +}, +"chipList": { +"$ref": "GoogleAppsCardV1ChipList", +"description": "ChipList widget." +}, +"dateTimePicker": { +"$ref": "GoogleAppsCardV1DateTimePicker", +"description": "DateTimePicker widget." +}, +"decoratedText": { +"$ref": "GoogleAppsCardV1DecoratedText", +"description": "DecoratedText widget." +}, +"image": { +"$ref": "GoogleAppsCardV1Image", +"description": "Image widget." +}, +"selectionInput": { +"$ref": "GoogleAppsCardV1SelectionInput", +"description": "SelectionInput widget." +}, +"textInput": { +"$ref": "GoogleAppsCardV1TextInput", +"description": "TextInput widget." +}, +"textParagraph": { +"$ref": "GoogleAppsCardV1TextParagraph", +"description": "TextParagraph widget." +} +}, +"type": "object" +}, +"Group": { +"description": "A Google Group in Google Chat.", +"id": "Group", +"properties": { +"name": { +"description": "Resource name for a Google Group. Represents a [group](https://cloud.google.com/identity/docs/reference/rest/v1/groups) in Cloud Identity Groups API. Format: groups/{group}", +"type": "string" +} +}, +"type": "object" +}, +"HostAppDataSourceMarkup": { +"description": "A data source from a Google Workspace application. The data source populates available items for a widget.", +"id": "HostAppDataSourceMarkup", +"properties": { +"chatDataSource": { +"$ref": "ChatClientDataSourceMarkup", +"description": "A data source from Google Chat." +}, +"workflowDataSource": { +"$ref": "WorkflowDataSourceMarkup", +"description": "A data source from Google Workflow." +} +}, +"type": "object" +}, +"Image": { +"description": "An image that's specified by a URL and can have an `onclick` action.", +"id": "Image", +"properties": { +"aspectRatio": { +"description": "The aspect ratio of this image (width and height). This field lets you reserve the right height for the image while waiting for it to load. It's not meant to override the built-in aspect ratio of the image. If unset, the server fills it by prefetching the image.", +"format": "double", +"type": "number" +}, +"imageUrl": { +"description": "The URL of the image.", +"type": "string" +}, +"onClick": { +"$ref": "OnClick", +"description": "The `onclick` action." +} +}, +"type": "object" +}, +"ImageButton": { +"description": "An image button with an `onclick` action.", +"id": "ImageButton", +"properties": { +"icon": { +"description": "The icon specified by an `enum` that indices to an icon provided by Chat API.", +"enum": [ +"ICON_UNSPECIFIED", +"AIRPLANE", +"BOOKMARK", +"BUS", +"CAR", +"CLOCK", +"CONFIRMATION_NUMBER_ICON", +"DOLLAR", +"DESCRIPTION", +"EMAIL", +"EVENT_PERFORMER", +"EVENT_SEAT", +"FLIGHT_ARRIVAL", +"FLIGHT_DEPARTURE", +"HOTEL", +"HOTEL_ROOM_TYPE", +"INVITE", +"MAP_PIN", +"MEMBERSHIP", +"MULTIPLE_PEOPLE", +"OFFER", +"PERSON", +"PHONE", +"RESTAURANT_ICON", +"SHOPPING_CART", +"STAR", +"STORE", +"TICKET", +"TRAIN", +"VIDEO_CAMERA", +"VIDEO_PLAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"iconUrl": { +"description": "The icon specified by a URL.", +"type": "string" +}, +"name": { +"description": "The name of this `image_button` that's used for accessibility. Default value is provided if this name isn't specified.", +"type": "string" +}, +"onClick": { +"$ref": "OnClick", +"description": "The `onclick` action." +} +}, +"type": "object" +}, +"Inputs": { +"description": "Types of data that users can [input on cards or dialogs](https://developers.google.com/chat/ui/read-form-data). The input type depends on the type of values that the widget accepts.", +"id": "Inputs", +"properties": { +"dateInput": { +"$ref": "DateInput", +"description": "Date input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts date values." +}, +"dateTimeInput": { +"$ref": "DateTimeInput", +"description": "Date and time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that accepts both a date and time." +}, +"stringInputs": { +"$ref": "StringInputs", +"description": "A list of strings that represent the values that the user inputs in a widget. If the widget only accepts one value, such as a [`TextInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#TextInput) widget, the list contains one string object. If the widget accepts multiple values, such as a [`SelectionInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#selectioninput) widget of checkboxes, the list contains a string object for each value that the user inputs or selects." +}, +"timeInput": { +"$ref": "TimeInput", +"description": "Time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts time values." +} +}, +"type": "object" +}, +"KeyValue": { +"description": "A UI element contains a key (label) and a value (content). This element can also contain some actions such as `onclick` button.", +"id": "KeyValue", +"properties": { +"bottomLabel": { +"description": "The text of the bottom label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +}, +"button": { +"$ref": "Button", +"description": "A button that can be clicked to trigger an action." +}, +"content": { +"description": "The text of the content. Formatted text supported and always required. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +}, +"contentMultiline": { +"description": "If the content should be multiline.", +"type": "boolean" +}, +"icon": { +"description": "An enum value that's replaced by the Chat API with the corresponding icon image.", +"enum": [ +"ICON_UNSPECIFIED", +"AIRPLANE", +"BOOKMARK", +"BUS", +"CAR", +"CLOCK", +"CONFIRMATION_NUMBER_ICON", +"DOLLAR", +"DESCRIPTION", +"EMAIL", +"EVENT_PERFORMER", +"EVENT_SEAT", +"FLIGHT_ARRIVAL", +"FLIGHT_DEPARTURE", +"HOTEL", +"HOTEL_ROOM_TYPE", +"INVITE", +"MAP_PIN", +"MEMBERSHIP", +"MULTIPLE_PEOPLE", +"OFFER", +"PERSON", +"PHONE", +"RESTAURANT_ICON", +"SHOPPING_CART", +"STAR", +"STORE", +"TICKET", +"TRAIN", +"VIDEO_CAMERA", +"VIDEO_PLAY" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"iconUrl": { +"description": "The icon specified by a URL.", +"type": "string" +}, +"onClick": { +"$ref": "OnClick", +"description": "The `onclick` action. Only the top label, bottom label, and content region are clickable." +}, +"topLabel": { +"description": "The text of the top label. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomEmojisResponse": { +"description": "A response to list custom emojis.", +"id": "ListCustomEmojisResponse", +"properties": { +"customEmojis": { +"description": "Unordered list. List of custom emojis.", +"items": { +"$ref": "CustomEmoji" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that you can send as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "Response to list memberships of the space.", +"id": "ListMembershipsResponse", +"properties": { +"memberships": { +"description": "Unordered list. List of memberships in the requested (or first) page.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that you can send as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListMessagesResponse": { +"description": "Response message for listing messages.", +"id": "ListMessagesResponse", +"properties": { +"messages": { +"description": "List of messages.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"nextPageToken": { +"description": "You can send a token as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListReactionsResponse": { +"description": "Response to a list reactions request.", +"id": "ListReactionsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to retrieve the next page of results. It's empty for the last page of results.", +"type": "string" +}, +"reactions": { +"description": "List of reactions in the requested (or first) page.", +"items": { +"$ref": "Reaction" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSpaceEventsResponse": { +"description": "Response message for listing space events.", +"id": "ListSpaceEventsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to fetch more events. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"spaceEvents": { +"description": "Results are returned in chronological order (oldest event first). Note: The `permissionSettings` field is not returned in the Space object for list requests.", +"items": { +"$ref": "SpaceEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSpacesResponse": { +"description": "The response for a list spaces request.", +"id": "ListSpacesResponse", +"properties": { +"nextPageToken": { +"description": "You can send a token as `pageToken` to retrieve the next page of results. If empty, there are no subsequent pages.", +"type": "string" +}, +"spaces": { +"description": "List of spaces in the requested (or first) page. Note: The `permissionSettings` field is not returned in the Space object for list requests.", +"items": { +"$ref": "Space" +}, +"type": "array" +} +}, +"type": "object" +}, +"MatchedUrl": { +"description": "A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see [Preview links](https://developers.google.com/chat/how-tos/preview-links).", +"id": "MatchedUrl", +"properties": { +"url": { +"description": "Output only. The URL that was matched.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Media": { +"description": "Media resource.", +"id": "Media", +"properties": { +"resourceName": { +"description": "Name of the media resource.", +"type": "string" +} +}, +"type": "object" +}, +"MeetSpaceLinkData": { +"description": "Data for Meet space links.", +"id": "MeetSpaceLinkData", +"properties": { +"huddleStatus": { +"description": "Optional. Output only. If the Meet is a Huddle, indicates the status of the huddle. Otherwise, this is unset.", +"enum": [ +"HUDDLE_STATUS_UNSPECIFIED", +"STARTED", +"ENDED", +"MISSED" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"The huddle has started.", +"The huddle has ended. In this case the Meet space URI and identifiers will no longer be valid.", +"The huddle has been missed. In this case the Meet space URI and identifiers will no longer be valid." +], +"readOnly": true, +"type": "string" +}, +"meetingCode": { +"description": "Meeting code of the linked Meet space.", +"type": "string" +}, +"type": { +"description": "Indicates the type of the Meet space.", +"enum": [ +"TYPE_UNSPECIFIED", +"MEETING", +"HUDDLE" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"The Meet space is a meeting.", +"The Meet space is a huddle." +], +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space.", +"id": "Membership", +"properties": { +"createTime": { +"description": "Optional. Immutable. The creation time of the membership, such as when a member joined or was invited to join a space. This field is output only, except when used to import historical memberships in import mode spaces.", +"format": "google-datetime", +"type": "string" +}, +"deleteTime": { +"description": "Optional. Immutable. The deletion time of the membership, such as when a member left or was removed from a space. This field is output only, except when used to import historical memberships in import mode spaces.", +"format": "google-datetime", +"type": "string" +}, +"groupMember": { +"$ref": "Group", +"description": "Optional. The Google Group the membership corresponds to. Reading or mutating memberships for Google Groups requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)." +}, +"member": { +"$ref": "User", +"description": "Optional. The Google Chat user or app the membership corresponds to. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) `name` and `type`." +}, +"name": { +"description": "Identifier. Resource name of the membership, assigned by the server. Format: `spaces/{space}/members/{member}`", +"type": "string" +}, +"role": { +"description": "Optional. User's role within a Chat space, which determines their permitted actions in the space. This field can only be used as input in `UpdateMembership`.", +"enum": [ +"MEMBERSHIP_ROLE_UNSPECIFIED", +"ROLE_MEMBER", +"ROLE_MANAGER", +"ROLE_ASSISTANT_MANAGER" +], +"enumDescriptions": [ +"Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).", +"A member of the space. In the Chat UI, this role is called Member. The user has basic permissions, like sending messages to the space. Managers and owners can grant members additional permissions in a space, including: - Add or remove members. - Modify space details. - Turn history on or off. - Mention everyone in the space with `@all`. - Manage Chat apps and webhooks installed in the space. In direct messages and unnamed group conversations, everyone has this role.", +"A space owner. In the Chat UI, this role is called Owner. The user has the complete set of space permissions to manage the space, including: - Change the role of other members in the space to member, manager, or owner. - Delete the space. Only supported in SpaceType.SPACE (named spaces). To learn more, see [Learn more about your role as a space owner or manager](https://support.google.com/chat/answer/11833441).", +"A space manager. In the Chat UI, this role is called Manager. The user has all basic permissions of `ROLE_MEMBER`, and can be granted a subset of administrative permissions by an owner. By default, managers have all the permissions of an owner except for the ability to: - Delete the space. - Make another space member an owner. - Change an owner's role. By default, managers permissions include but aren't limited to: - Make another member a manager. - Delete messages in the space. - Manage space permissions. - Receive notifications for requests to join the space if the manager has the \"manage members\" permission in the space settings. - Make a space discoverable. Only supported in SpaceType.SPACE (named spaces). To learn more, see [Manage space settings](https://support.google.com/chat/answer/13340792)." +], +"type": "string" +}, +"state": { +"description": "Output only. State of the membership.", +"enum": [ +"MEMBERSHIP_STATE_UNSPECIFIED", +"JOINED", +"INVITED", +"NOT_A_MEMBER" +], +"enumDescriptions": [ +"Default value. Don't use.", +"The user is added to the space, and can participate in the space.", +"The user is invited to join the space, but hasn't joined it.", +"The user doesn't belong to the space and doesn't have a pending invitation to join the space." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBatchCreatedEventData": { +"description": "Event payload for multiple new memberships. Event type: `google.workspace.chat.membership.v1.batchCreated`", +"id": "MembershipBatchCreatedEventData", +"properties": { +"memberships": { +"description": "A list of new memberships.", +"items": { +"$ref": "MembershipCreatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MembershipBatchDeletedEventData": { +"description": "Event payload for multiple deleted memberships. Event type: `google.workspace.chat.membership.v1.batchDeleted`", +"id": "MembershipBatchDeletedEventData", +"properties": { +"memberships": { +"description": "A list of deleted memberships.", +"items": { +"$ref": "MembershipDeletedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MembershipBatchUpdatedEventData": { +"description": "Event payload for multiple updated memberships. Event type: `google.workspace.chat.membership.v1.batchUpdated`", +"id": "MembershipBatchUpdatedEventData", +"properties": { +"memberships": { +"description": "A list of updated memberships.", +"items": { +"$ref": "MembershipUpdatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MembershipCount": { +"description": "Represents the count of memberships of a space, grouped into categories.", +"id": "MembershipCount", +"properties": { +"joinedDirectHumanUserCount": { +"description": "Output only. Count of human users that have directly joined the space, not counting users joined by having membership in a joined group.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"joinedGroupCount": { +"description": "Output only. Count of all groups that have directly joined the space.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"MembershipCreatedEventData": { +"description": "Event payload for a new membership. Event type: `google.workspace.chat.membership.v1.created`.", +"id": "MembershipCreatedEventData", +"properties": { +"membership": { +"$ref": "Membership", +"description": "The new membership." +} +}, +"type": "object" +}, +"MembershipDeletedEventData": { +"description": "Event payload for a deleted membership. Event type: `google.workspace.chat.membership.v1.deleted`", +"id": "MembershipDeletedEventData", +"properties": { +"membership": { +"$ref": "Membership", +"description": "The deleted membership. Only the `name` and `state` fields are populated." +} +}, +"type": "object" +}, +"MembershipUpdatedEventData": { +"description": "Event payload for an updated membership. Event type: `google.workspace.chat.membership.v1.updated`", +"id": "MembershipUpdatedEventData", +"properties": { +"membership": { +"$ref": "Membership", +"description": "The updated membership." +} +}, +"type": "object" +}, +"Message": { +"description": "A message in a Google Chat space.", +"id": "Message", +"properties": { +"accessoryWidgets": { +"description": "Optional. One or more interactive widgets that appear at the bottom of a message. You can add accessory widgets to messages that contain text, cards, or both text and cards. Not supported for messages that contain dialogs. For details, see [Add interactive widgets at the bottom of a message](https://developers.google.com/workspace/chat/create-messages#add-accessory-widgets). Creating a message with accessory widgets requires [app authentication] (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).", +"items": { +"$ref": "AccessoryWidget" +}, +"type": "array" +}, +"actionResponse": { +"$ref": "ActionResponse", +"description": "Input only. Parameters that a Chat app can use to configure how its response is posted." +}, +"annotations": { +"description": "Output only. Annotations can be associated with the plain-text body of the message or with chips that link to Google Workspace resources like Google Docs or Sheets with `start_index` and `length` of 0.", +"items": { +"$ref": "Annotation" +}, +"readOnly": true, +"type": "array" +}, +"argumentText": { +"description": "Output only. Plain-text body of the message with all Chat app mentions stripped out.", +"readOnly": true, +"type": "string" +}, +"attachedGifs": { +"description": "Output only. GIF images that are attached to the message.", +"items": { +"$ref": "AttachedGif" +}, +"readOnly": true, +"type": "array" +}, +"attachment": { +"description": "Optional. User-uploaded attachment.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +}, +"cards": { +"deprecated": true, +"description": "Deprecated: Use `cards_v2` instead. Rich, formatted, and interactive cards that you can use to display UI elements such as: formatted texts, buttons, and clickable images. Cards are normally displayed below the plain-text body of the message. `cards` and `cards_v2` can have a maximum size of 32 KB.", +"items": { +"$ref": "Card" +}, +"type": "array" +}, +"cardsV2": { +"description": "Optional. An array of [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat apps can create cards. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the messages can't contain cards. To learn how to create a message that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card builder](https://addons.gsuite.google.com/uikit/builder)", +"items": { +"$ref": "CardWithId" +}, +"type": "array" +}, +"clientAssignedMessageId": { +"description": "Optional. A custom ID for the message. You can use field to identify a message, or to get, delete, or update a message. To set a custom ID, specify the [`messageId`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#body.QUERY_PARAMETERS.message_id) field when you create the message. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"type": "string" +}, +"createTime": { +"description": "Optional. Immutable. For spaces created in Chat, the time at which the message was created. This field is output only, except when used in import mode spaces. For import mode spaces, set this field to the historical timestamp at which the message was created in the source in order to preserve the original creation time.", +"format": "google-datetime", +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which the message was deleted in Google Chat. If the message is never deleted, this field is empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deletionMetadata": { +"$ref": "DeletionMetadata", +"description": "Output only. Information about a deleted message. A message is deleted when `delete_time` is set.", +"readOnly": true +}, +"emojiReactionSummaries": { +"description": "Output only. The list of emoji reaction summaries on the message.", +"items": { +"$ref": "EmojiReactionSummary" +}, +"readOnly": true, +"type": "array" +}, +"fallbackText": { +"description": "Optional. A plain-text description of the message's cards, used when the actual cards can't be displayed\u2014for example, mobile notifications.", +"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\u2014for example, ``. * Custom emoji using the format `:{emoji_name}:`\u2014for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)\u2014for 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" +}, +"lastUpdateTime": { +"description": "Output only. The time at which the message was last edited by a user. If the message has never been edited, this field is empty.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"matchedUrl": { +"$ref": "MatchedUrl", +"description": "Output only. A URL in `spaces.messages.text` that matches a link preview pattern. For more information, see [Preview links](https://developers.google.com/workspace/chat/preview-links).", +"readOnly": true +}, +"name": { +"description": "Identifier. Resource name of the message. Format: `spaces/{space}/messages/{message}` Where `{space}` is the ID of the space where the message is posted and `{message}` is a system-assigned ID for the message. For example, `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB`. If you set a custom ID when you create a message, you can use this ID to specify the message in a request by replacing `{message}` with the value from the `clientAssignedMessageId` field. For example, `spaces/AAAAAAAAAAA/messages/client-custom-name`. For details, see [Name a message](https://developers.google.com/workspace/chat/create-messages#name_a_created_message).", +"type": "string" +}, +"privateMessageViewer": { +"$ref": "User", +"description": "Optional. Immutable. Input for creating a message, otherwise output only. The user that can view the message. When set, the message is private and only visible to the specified user and the Chat app. To include this field in your request, you must call the Chat API using [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments) For details, see [Send a message privately](https://developers.google.com/workspace/chat/create-messages#private)." +}, +"quotedMessageMetadata": { +"$ref": "QuotedMessageMetadata", +"description": "Optional. Information about a message that another message quotes. When you create a message, you can quote messages within the same thread, or quote a root message to create a new root message. However, you can't quote a message reply from a different thread. When you update a message, you can't add or replace the `quotedMessageMetadata` field, but you can remove it. For example usage, see [Quote another message](https://developers.google.com/workspace/chat/create-messages#quote-a-message)." +}, +"sender": { +"$ref": "User", +"description": "Output only. The user who created the message. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output populates the [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User) `name` and `type`.", +"readOnly": true +}, +"slashCommand": { +"$ref": "SlashCommand", +"description": "Output only. Slash command information, if applicable.", +"readOnly": true +}, +"space": { +"$ref": "Space", +"description": "Output only. If your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output only populates the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces) `name`.", +"readOnly": true +}, +"text": { +"description": "Optional. Plain-text body of the message. The first link to an image, video, or web page generates a [preview chip](https://developers.google.com/workspace/chat/preview-links). You can also [@mention a Google Chat user](https://developers.google.com/workspace/chat/format-messages#messages-@mention), or everyone in the space. To learn about creating text messages, see [Send a message](https://developers.google.com/workspace/chat/create-messages).", +"type": "string" +}, +"thread": { +"$ref": "Thread", +"description": "The thread the message belongs to. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread)." +}, +"threadReply": { +"description": "Output only. When `true`, the message is a response in a reply thread. When `false`, the message is visible in the space's top-level conversation as either the first message of a thread or a message with no threaded replies. If the space doesn't support reply in threads, this field is always `false`.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"MessageBatchCreatedEventData": { +"description": "Event payload for multiple new messages. Event type: `google.workspace.chat.message.v1.batchCreated`", +"id": "MessageBatchCreatedEventData", +"properties": { +"messages": { +"description": "A list of new messages.", +"items": { +"$ref": "MessageCreatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessageBatchDeletedEventData": { +"description": "Event payload for multiple deleted messages. Event type: `google.workspace.chat.message.v1.batchDeleted`", +"id": "MessageBatchDeletedEventData", +"properties": { +"messages": { +"description": "A list of deleted messages.", +"items": { +"$ref": "MessageDeletedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessageBatchUpdatedEventData": { +"description": "Event payload for multiple updated messages. Event type: `google.workspace.chat.message.v1.batchUpdated`", +"id": "MessageBatchUpdatedEventData", +"properties": { +"messages": { +"description": "A list of updated messages.", +"items": { +"$ref": "MessageUpdatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessageCreatedEventData": { +"description": "Event payload for a new message. Event type: `google.workspace.chat.message.v1.created`", +"id": "MessageCreatedEventData", +"properties": { +"message": { +"$ref": "Message", +"description": "The new message." +} +}, +"type": "object" +}, +"MessageDeletedEventData": { +"description": "Event payload for a deleted message. Event type: `google.workspace.chat.message.v1.deleted`", +"id": "MessageDeletedEventData", +"properties": { +"message": { +"$ref": "Message", +"description": "The deleted message. Only the `name`, `createTime`, and `deletionMetadata` fields are populated." +} +}, +"type": "object" +}, +"MessageUpdatedEventData": { +"description": "Event payload for an updated message. Event type: `google.workspace.chat.message.v1.updated`", +"id": "MessageUpdatedEventData", +"properties": { +"message": { +"$ref": "Message", +"description": "The updated message." +} +}, +"type": "object" +}, +"OnClick": { +"description": "An `onclick` action (for example, open a link).", +"id": "OnClick", +"properties": { +"action": { +"$ref": "FormAction", +"description": "A form action is triggered by this `onclick` action if specified." +}, +"openLink": { +"$ref": "OpenLink", +"description": "This `onclick` action triggers an open link action if specified." +} +}, +"type": "object" +}, +"OpenLink": { +"description": "A link that opens a new window.", +"id": "OpenLink", +"properties": { +"url": { +"description": "The URL to open.", +"type": "string" +} +}, +"type": "object" +}, +"PermissionSetting": { +"description": "Represents a space permission setting.", +"id": "PermissionSetting", +"properties": { +"assistantManagersAllowed": { +"description": "Optional. Whether space managers `ROLE_ASSISTANT_MANAGER`) have this permission.", +"type": "boolean" +}, +"managersAllowed": { +"description": "Optional. Whether space owners (`ROLE_MANAGER`) have this permission.", +"type": "boolean" +}, +"membersAllowed": { +"description": "Optional. Whether basic space members (`ROLE_MEMBER`) have this permission.", +"type": "boolean" +} +}, +"type": "object" +}, +"PermissionSettings": { +"description": "[Permission settings](https://support.google.com/chat/answer/13340792) that you can specify when updating an existing named space. To set permission settings when creating a space, specify the `PredefinedPermissionSettings` field in your request.", +"id": "PermissionSettings", +"properties": { +"manageApps": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for managing apps in a space." +}, +"manageMembersAndGroups": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for managing members and groups in a space." +}, +"manageWebhooks": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for managing webhooks in a space." +}, +"modifySpaceDetails": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for updating space name, avatar, description and guidelines." +}, +"postMessages": { +"$ref": "PermissionSetting", +"description": "Output only. Setting for posting messages in a space.", +"readOnly": true +}, +"replyMessages": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for replying to messages in a space." +}, +"toggleHistory": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for toggling space history on and off." +}, +"useAtMentionAll": { +"$ref": "PermissionSetting", +"description": "Optional. Setting for using @all in a space." +} +}, +"type": "object" +}, +"QuotedMessageMetadata": { +"description": "Information about a message that another message quotes. When you create a message, you can quote messages within the same thread, or quote a root message to create a new root message. However, you can't quote a message reply from a different thread. When you update a message, you can't add or replace the `quotedMessageMetadata` field, but you can remove it. For example usage, see [Quote another message](https://developers.google.com/workspace/chat/create-messages#quote-a-message).", +"id": "QuotedMessageMetadata", +"properties": { +"forwardedMetadata": { +"$ref": "ForwardedMetadata", +"description": "Output only. Metadata about the source space of the quoted message. Populated only for FORWARD quote type.", +"readOnly": true +}, +"lastUpdateTime": { +"description": "Required. The timestamp when the quoted message was created or when the quoted message was last updated. If the message was edited, use this field, `last_update_time`. If the message was never edited, use `create_time`. If `last_update_time` doesn't match the latest version of the quoted message, the request fails.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the message that is quoted. Format: `spaces/{space}/messages/{message}`", +"type": "string" +}, +"quoteType": { +"description": "Optional. Specifies the quote type. If not set, defaults to REPLY in the message read/write path for backward compatibility.", +"enum": [ +"QUOTE_TYPE_UNSPECIFIED", +"REPLY" +], +"enumDescriptions": [ +"Reserved. This value is unused.", +"If quote_type is `REPLY`, you can do the following: * If you're replying in a thread, you can quote another message in that thread. * If you're creating a root message, you can quote another root message in that space. You can't quote a message reply from a different thread." +], +"type": "string" +}, +"quotedMessageSnapshot": { +"$ref": "QuotedMessageSnapshot", +"description": "Output only. A snapshot of the quoted message's content.", +"readOnly": true +} +}, +"type": "object" +}, +"QuotedMessageSnapshot": { +"description": "Provides a snapshot of the content of the quoted message at the time of quoting or forwarding", +"id": "QuotedMessageSnapshot", +"properties": { +"annotations": { +"description": "Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.", +"items": { +"$ref": "Annotation" +}, +"readOnly": true, +"type": "array" +}, +"attachments": { +"description": "Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.", +"items": { +"$ref": "Attachment" +}, +"readOnly": true, +"type": "array" +}, +"formattedText": { +"description": "Output only. Contains the quoted message `text` with markups added to support rich formatting like hyperlinks,custom emojis, markup, etc. Populated only for FORWARD quote type.", +"readOnly": true, +"type": "string" +}, +"sender": { +"description": "Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types.", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Output only. Snapshot of the quoted message's text content.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Reaction": { +"description": "A reaction to a message.", +"id": "Reaction", +"properties": { +"emoji": { +"$ref": "Emoji", +"description": "Required. The emoji used in the reaction." +}, +"name": { +"description": "Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`", +"type": "string" +}, +"user": { +"$ref": "User", +"description": "Output only. The user who created the reaction.", +"readOnly": true +} +}, +"type": "object" +}, +"ReactionBatchCreatedEventData": { +"description": "Event payload for multiple new reactions. Event type: `google.workspace.chat.reaction.v1.batchCreated`", +"id": "ReactionBatchCreatedEventData", +"properties": { +"reactions": { +"description": "A list of new reactions.", +"items": { +"$ref": "ReactionCreatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReactionBatchDeletedEventData": { +"description": "Event payload for multiple deleted reactions. Event type: `google.workspace.chat.reaction.v1.batchDeleted`", +"id": "ReactionBatchDeletedEventData", +"properties": { +"reactions": { +"description": "A list of deleted reactions.", +"items": { +"$ref": "ReactionDeletedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReactionCreatedEventData": { +"description": "Event payload for a new reaction. Event type: `google.workspace.chat.reaction.v1.created`", +"id": "ReactionCreatedEventData", +"properties": { +"reaction": { +"$ref": "Reaction", +"description": "The new reaction." +} +}, +"type": "object" +}, +"ReactionDeletedEventData": { +"description": "Event payload for a deleted reaction. Type: `google.workspace.chat.reaction.v1.deleted`", +"id": "ReactionDeletedEventData", +"properties": { +"reaction": { +"$ref": "Reaction", +"description": "The deleted reaction." +} +}, +"type": "object" +}, +"RichLinkMetadata": { +"description": "A rich link to a resource. Rich links can be associated with the plain-text body of the message or represent chips that link to Google Workspace resources like Google Docs or Sheets with `start_index` and `length` of 0.", +"id": "RichLinkMetadata", +"properties": { +"calendarEventLinkData": { +"$ref": "CalendarEventLinkData", +"description": "Data for a Calendar event link." +}, +"chatSpaceLinkData": { +"$ref": "ChatSpaceLinkData", +"description": "Data for a chat space link." +}, +"driveLinkData": { +"$ref": "DriveLinkData", +"description": "Data for a drive link." +}, +"meetSpaceLinkData": { +"$ref": "MeetSpaceLinkData", +"description": "Data for a Meet space link." +}, +"richLinkType": { +"description": "The rich link type.", +"enum": [ +"RICH_LINK_TYPE_UNSPECIFIED", +"DRIVE_FILE", +"CHAT_SPACE", +"GMAIL_MESSAGE", +"MEET_SPACE", +"CALENDAR_EVENT" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"A Google Drive rich link type.", +"A Chat space rich link type. For example, a space smart chip.", +"A Gmail message rich link type. Specifically, a Gmail chip from [Share to Chat](https://support.google.com/chat?p=chat_gmail). The API only supports reading messages with GMAIL_MESSAGE rich links.", +"A Meet message rich link type. For example, a Meet chip.", +"A Calendar message rich link type. For example, a Calendar chip." +], +"type": "string" +}, +"uri": { +"description": "The URI of this link.", +"type": "string" +} +}, +"type": "object" +}, +"SearchSpacesResponse": { +"description": "Response with a list of spaces corresponding to the search spaces request.", +"id": "SearchSpacesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be used to retrieve the next page. If this field is empty, there are no subsequent pages.", +"type": "string" +}, +"spaces": { +"description": "A page of the requested spaces.", +"items": { +"$ref": "Space" +}, +"type": "array" +}, +"totalSize": { +"description": "The total number of spaces that match the query, across all pages. If the result is over 10,000 spaces, this value is an estimate.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Section": { +"description": "A section contains a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there's currently no need for layout properties (for example, float).", +"id": "Section", +"properties": { +"header": { +"description": "The header of the section. Formatted text is supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"type": "string" +}, +"widgets": { +"description": "A section must contain at least one widget.", +"items": { +"$ref": "WidgetMarkup" +}, +"type": "array" +} +}, +"type": "object" +}, +"SelectionItems": { +"description": "List of widget autocomplete results.", +"id": "SelectionItems", +"properties": { +"items": { +"description": "An array of the SelectionItem objects.", +"items": { +"$ref": "GoogleAppsCardV1SelectionItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetUpSpaceRequest": { +"description": "Request to create a space and add specified users to it.", +"id": "SetUpSpaceRequest", +"properties": { +"memberships": { +"description": "Optional. The Google Chat users or groups to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 49 memberships (in addition to the caller). For human membership, the `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/example@gmail.com`. To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. For Google group membership, the `Membership.group_member` field must contain a `group` with `name` populated (format `groups/{group}`). You can only add Google groups when setting `Space.spaceType` to `SPACE`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. A random UUID is recommended. Specifying an existing request ID returns the space created with that ID instead of creating a new space. Specifying an existing request ID from the same Chat app with a different authenticated user returns an error.", +"type": "string" +}, +"space": { +"$ref": "Space", +"description": "Required. The `Space.spaceType` field is required. To create a space, set `Space.spaceType` to `SPACE` and set `Space.displayName`. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. To create a group chat, set `Space.spaceType` to `GROUP_CHAT`. Don't set `Space.displayName`. To create a 1:1 conversation between humans, set `Space.spaceType` to `DIRECT_MESSAGE` and set `Space.singleUserBotDm` to `false`. Don't set `Space.displayName` or `Space.spaceDetails`. To create an 1:1 conversation between a human and the calling Chat app, set `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`. Don't set `Space.displayName` or `Space.spaceDetails`. If a `DIRECT_MESSAGE` space already exists, that space is returned instead of creating a new space." +} +}, +"type": "object" +}, +"SlashCommand": { +"description": "Metadata about a [slash command](https://developers.google.com/workspace/chat/commands) in Google Chat.", +"id": "SlashCommand", +"properties": { +"commandId": { +"description": "The ID of the slash command.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SlashCommandMetadata": { +"description": "Annotation metadata for slash commands (/).", +"id": "SlashCommandMetadata", +"properties": { +"bot": { +"$ref": "User", +"description": "The Chat app whose command was invoked." +}, +"commandId": { +"description": "The command ID of the invoked slash command.", +"format": "int64", +"type": "string" +}, +"commandName": { +"description": "The name of the invoked slash command.", +"type": "string" +}, +"triggersDialog": { +"description": "Indicates whether the slash command is for a dialog.", +"type": "boolean" +}, +"type": { +"description": "The type of slash command.", +"enum": [ +"TYPE_UNSPECIFIED", +"ADD", +"INVOKE" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"Add Chat app to space.", +"Invoke slash command in space." +], +"type": "string" +} +}, +"type": "object" +}, +"Space": { +"description": "A space in Google Chat. Spaces are conversations between two or more users or 1:1 messages between a user and a Chat app.", +"id": "Space", +"properties": { +"accessSettings": { +"$ref": "AccessSettings", +"description": "Optional. Specifies the [access setting](https://support.google.com/chat/answer/11971020) of the space. Only populated when the `space_type` is `SPACE`." +}, +"adminInstalled": { +"description": "Output only. For direct message (DM) spaces with a Chat app, whether the space was created by a Google Workspace administrator. Administrators can install and set up a direct message with a Chat app on behalf of users in their organization. To support admin install, your Chat app must feature direct messaging.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Optional. Immutable. For spaces created in Chat, the time the space was created. This field is output only, except when used in import mode spaces. For import mode spaces, set this field to the historical timestamp at which the space was created in the source in order to preserve the original creation time. Only populated in the output when `spaceType` is `GROUP_CHAT` or `SPACE`.", +"format": "google-datetime", +"type": "string" +}, +"customer": { +"description": "Optional. Immutable. The customer id of the domain of the space. Required only when creating a space with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`, otherwise should not be set. In the format `customers/{customer}`, where `customer` is the `id` from the [Admin SDK customer resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as the app. This field isn't populated for direct messages (DMs) or when the space is created by non-Google Workspace users.", +"type": "string" +}, +"displayName": { +"description": "Optional. The space's display name. Required when [creating a space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS` when creating a space or updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. For direct messages, this field might be empty. Supports up to 128 characters.", +"type": "string" +}, +"externalUserAllowed": { +"description": "Optional. Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. For existing spaces, this field is output only.", +"type": "boolean" +}, +"importMode": { +"description": "Optional. Whether this space is created in `Import Mode` as part of a data migration into Google Workspace. While spaces are being imported, they aren't visible to users until the import is complete. Creating a space in `Import Mode`requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", +"type": "boolean" +}, +"importModeExpireTime": { +"description": "Output only. The time when the space will be automatically deleted by the system if it remains in import mode. Each space created in import mode must exit this mode before this expire time using `spaces.completeImport`. This field is only populated for spaces that were created with import mode.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastActiveTime": { +"description": "Output only. Timestamp of the last message in the space.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"membershipCount": { +"$ref": "MembershipCount", +"description": "Output only. The count of joined memberships grouped by member type. Populated when the `space_type` is `SPACE`, `DIRECT_MESSAGE` or `GROUP_CHAT`.", +"readOnly": true +}, +"name": { +"description": "Identifier. Resource name of the space. Format: `spaces/{space}` Where `{space}` represents the system-assigned ID for the space. You can obtain the space ID by calling the [`spaces.list()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list) method or from the space URL. For example, if the space URL is `https://mail.google.com/mail/u/0/#chat/space/AAAAAAAAA`, the space ID is `AAAAAAAAA`.", +"type": "string" +}, +"permissionSettings": { +"$ref": "PermissionSettings", +"description": "Optional. Space permission settings for existing spaces. Input for updating exact space permission settings, where existing permission settings are replaced. Output lists current permission settings. Reading and updating permission settings supports: - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope. Only populated and settable when the Chat app created the space. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)" +}, +"predefinedPermissionSettings": { +"description": "Optional. Input only. Predefined space permission settings, input only when creating a space. If the field is not set, a collaboration space is created. After you create the space, settings are populated in the `PermissionSettings` field. Setting predefined permission settings supports: - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` or `chat.app.spaces.create` scopes. - [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)", +"enum": [ +"PREDEFINED_PERMISSION_SETTINGS_UNSPECIFIED", +"COLLABORATION_SPACE", +"ANNOUNCEMENT_SPACE" +], +"enumDescriptions": [ +"Unspecified. Don't use.", +"Setting to make the space a collaboration space where all members can post messages.", +"Setting to make the space an announcement space where only space managers can post messages." +], +"type": "string" +}, +"singleUserBotDm": { +"description": "Optional. Whether the space is a DM between a Chat app and a single human.", +"type": "boolean" +}, +"spaceDetails": { +"$ref": "SpaceDetails", +"description": "Optional. Details about the space including description and rules." +}, +"spaceHistoryState": { +"description": "Optional. The message history state for messages and threads in this space.", +"enum": [ +"HISTORY_STATE_UNSPECIFIED", +"HISTORY_OFF", +"HISTORY_ON" +], +"enumDescriptions": [ +"Default value. Do not use.", +"History off. [Messages and threads are kept for 24 hours](https://support.google.com/chat/answer/7664687).", +"History on. The organization's [Vault retention rules](https://support.google.com/vault/answer/7657597) specify for how long messages and threads are kept." +], +"type": "string" +}, +"spaceThreadingState": { +"description": "Output only. The threading state in the Chat space.", +"enum": [ +"SPACE_THREADING_STATE_UNSPECIFIED", +"THREADED_MESSAGES", +"GROUPED_MESSAGES", +"UNTHREADED_MESSAGES" +], +"enumDescriptions": [ +"Reserved.", +"Spaces that support message threads. When users respond to a message, they can reply in-thread, which keeps their response in the context of the original message.", +"Named spaces where the conversation is organized by topic. Topics and their replies are grouped together.", +"Spaces that don't support message threading. This space threading state is only used for special cases including: * Continuous meeting chat where threading is intentionally turned off. * Legacy group conversations that were created prior to 2022." +], +"readOnly": true, +"type": "string" +}, +"spaceType": { +"description": "Optional. The type of space. Required when creating a space or updating the space type of a space. Output only for other usage.", +"enum": [ +"SPACE_TYPE_UNSPECIFIED", +"SPACE", +"GROUP_CHAT", +"DIRECT_MESSAGE" +], +"enumDescriptions": [ +"Reserved.", +"A place where people send messages, share files, and collaborate. A `SPACE` can include Chat apps.", +"Group conversations between 3 or more people. A `GROUP_CHAT` can include Chat apps.", +"1:1 messages between two humans or a human and a Chat app." +], +"type": "string" +}, +"spaceUri": { +"description": "Output only. The URI for a user to access the space.", +"readOnly": true, +"type": "string" +}, +"threaded": { +"deprecated": true, +"description": "Output only. Deprecated: Use `spaceThreadingState` instead. Whether messages are threaded in this space.", +"readOnly": true, +"type": "boolean" +}, +"type": { +"deprecated": true, +"description": "Output only. Deprecated: Use `space_type` instead. The type of a space.", +"enum": [ +"TYPE_UNSPECIFIED", +"ROOM", +"DM" +], +"enumDescriptions": [ +"Reserved.", +"Conversations between two or more humans.", +"1:1 Direct Message between a human and a Chat app, where all messages are flat. Note that this doesn't include direct messages between two humans." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpaceBatchUpdatedEventData": { +"description": "Event payload for multiple updates to a space. Event type: `google.workspace.chat.space.v1.batchUpdated`", +"id": "SpaceBatchUpdatedEventData", +"properties": { +"spaces": { +"description": "A list of updated spaces.", +"items": { +"$ref": "SpaceUpdatedEventData" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpaceDataSource": { +"description": "A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of. [Google Chat apps](https://developers.google.com/workspace/chat):", +"id": "SpaceDataSource", +"properties": { +"defaultToCurrentSpace": { +"description": "If set to `true`, the multiselect menu selects the current Google Chat space as an item by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"SpaceDetails": { +"description": "Details about the space including description and rules.", +"id": "SpaceDetails", +"properties": { +"description": { +"description": "Optional. A description of the space. For example, describe the space's discussion topic, functional purpose, or participants. Supports up to 150 characters.", +"type": "string" +}, +"guidelines": { +"description": "Optional. The space's rules, expectations, and etiquette. Supports up to 5,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"SpaceEvent": { +"description": "An event that represents a change or activity in a Google Chat space. To learn more, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview).", +"id": "SpaceEvent", +"properties": { +"eventTime": { +"description": "Time when the event occurred.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of space event. Each event type has a batch version, which represents multiple instances of the event type that occur in a short period of time. For `spaceEvents.list()` requests, omit batch event types in your query filter. By default, the server returns both event type and its batch version. Supported event types for [messages](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages): * New message: `google.workspace.chat.message.v1.created` * Updated message: `google.workspace.chat.message.v1.updated` * Deleted message: `google.workspace.chat.message.v1.deleted` * Multiple new messages: `google.workspace.chat.message.v1.batchCreated` * Multiple updated messages: `google.workspace.chat.message.v1.batchUpdated` * Multiple deleted messages: `google.workspace.chat.message.v1.batchDeleted` Supported event types for [memberships](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members): * New membership: `google.workspace.chat.membership.v1.created` * Updated membership: `google.workspace.chat.membership.v1.updated` * Deleted membership: `google.workspace.chat.membership.v1.deleted` * Multiple new memberships: `google.workspace.chat.membership.v1.batchCreated` * Multiple updated memberships: `google.workspace.chat.membership.v1.batchUpdated` * Multiple deleted memberships: `google.workspace.chat.membership.v1.batchDeleted` Supported event types for [reactions](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions): * New reaction: `google.workspace.chat.reaction.v1.created` * Deleted reaction: `google.workspace.chat.reaction.v1.deleted` * Multiple new reactions: `google.workspace.chat.reaction.v1.batchCreated` * Multiple deleted reactions: `google.workspace.chat.reaction.v1.batchDeleted` Supported event types about the [space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces): * Updated space: `google.workspace.chat.space.v1.updated` * Multiple space updates: `google.workspace.chat.space.v1.batchUpdated`", +"type": "string" +}, +"membershipBatchCreatedEventData": { +"$ref": "MembershipBatchCreatedEventData", +"description": "Event payload for multiple new memberships. Event type: `google.workspace.chat.membership.v1.batchCreated`" +}, +"membershipBatchDeletedEventData": { +"$ref": "MembershipBatchDeletedEventData", +"description": "Event payload for multiple deleted memberships. Event type: `google.workspace.chat.membership.v1.batchDeleted`" +}, +"membershipBatchUpdatedEventData": { +"$ref": "MembershipBatchUpdatedEventData", +"description": "Event payload for multiple updated memberships. Event type: `google.workspace.chat.membership.v1.batchUpdated`" +}, +"membershipCreatedEventData": { +"$ref": "MembershipCreatedEventData", +"description": "Event payload for a new membership. Event type: `google.workspace.chat.membership.v1.created`" +}, +"membershipDeletedEventData": { +"$ref": "MembershipDeletedEventData", +"description": "Event payload for a deleted membership. Event type: `google.workspace.chat.membership.v1.deleted`" +}, +"membershipUpdatedEventData": { +"$ref": "MembershipUpdatedEventData", +"description": "Event payload for an updated membership. Event type: `google.workspace.chat.membership.v1.updated`" +}, +"messageBatchCreatedEventData": { +"$ref": "MessageBatchCreatedEventData", +"description": "Event payload for multiple new messages. Event type: `google.workspace.chat.message.v1.batchCreated`" +}, +"messageBatchDeletedEventData": { +"$ref": "MessageBatchDeletedEventData", +"description": "Event payload for multiple deleted messages. Event type: `google.workspace.chat.message.v1.batchDeleted`" +}, +"messageBatchUpdatedEventData": { +"$ref": "MessageBatchUpdatedEventData", +"description": "Event payload for multiple updated messages. Event type: `google.workspace.chat.message.v1.batchUpdated`" +}, +"messageCreatedEventData": { +"$ref": "MessageCreatedEventData", +"description": "Event payload for a new message. Event type: `google.workspace.chat.message.v1.created`" +}, +"messageDeletedEventData": { +"$ref": "MessageDeletedEventData", +"description": "Event payload for a deleted message. Event type: `google.workspace.chat.message.v1.deleted`" +}, +"messageUpdatedEventData": { +"$ref": "MessageUpdatedEventData", +"description": "Event payload for an updated message. Event type: `google.workspace.chat.message.v1.updated`" +}, +"name": { +"description": "Resource name of the space event. Format: `spaces/{space}/spaceEvents/{spaceEvent}`", +"type": "string" +}, +"reactionBatchCreatedEventData": { +"$ref": "ReactionBatchCreatedEventData", +"description": "Event payload for multiple new reactions. Event type: `google.workspace.chat.reaction.v1.batchCreated`" +}, +"reactionBatchDeletedEventData": { +"$ref": "ReactionBatchDeletedEventData", +"description": "Event payload for multiple deleted reactions. Event type: `google.workspace.chat.reaction.v1.batchDeleted`" +}, +"reactionCreatedEventData": { +"$ref": "ReactionCreatedEventData", +"description": "Event payload for a new reaction. Event type: `google.workspace.chat.reaction.v1.created`" +}, +"reactionDeletedEventData": { +"$ref": "ReactionDeletedEventData", +"description": "Event payload for a deleted reaction. Event type: `google.workspace.chat.reaction.v1.deleted`" +}, +"spaceBatchUpdatedEventData": { +"$ref": "SpaceBatchUpdatedEventData", +"description": "Event payload for multiple updates to a space. Event type: `google.workspace.chat.space.v1.batchUpdated`" +}, +"spaceUpdatedEventData": { +"$ref": "SpaceUpdatedEventData", +"description": "Event payload for a space update. Event type: `google.workspace.chat.space.v1.updated`" +} +}, +"type": "object" +}, +"SpaceNotificationSetting": { +"description": "The notification setting of a user in a space.", +"id": "SpaceNotificationSetting", +"properties": { +"muteSetting": { +"description": "The space notification mute setting.", +"enum": [ +"MUTE_SETTING_UNSPECIFIED", +"UNMUTED", +"MUTED" +], +"enumDescriptions": [ +"Reserved.", +"The user will receive notifications for the space based on the notification setting.", +"The user will not receive any notifications for the space, regardless of the notification setting." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`.", +"type": "string" +}, +"notificationSetting": { +"description": "The notification setting.", +"enum": [ +"NOTIFICATION_SETTING_UNSPECIFIED", +"ALL", +"MAIN_CONVERSATIONS", +"FOR_YOU", +"OFF" +], +"enumDescriptions": [ +"Reserved.", +"Notifications are triggered by @mentions, followed threads, first message of new threads. All new threads are automatically followed, unless manually unfollowed by the user.", +"The notification is triggered by @mentions, followed threads, first message of new threads. Not available for 1:1 direct messages.", +"The notification is triggered by @mentions, followed threads. Not available for 1:1 direct messages.", +"Notification is off." +], +"type": "string" +} +}, +"type": "object" +}, +"SpaceReadState": { +"description": "A user's read state within a space, used to identify read and unread messages.", +"id": "SpaceReadState", +"properties": { +"lastReadTime": { +"description": "Optional. The time when the user's space read state was updated. Usually this corresponds with either the timestamp of the last read message, or a timestamp specified by the user to mark the last read position in a space.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Resource name of the space read state. Format: `users/{user}/spaces/{space}/spaceReadState`", +"type": "string" +} +}, +"type": "object" +}, +"SpaceUpdatedEventData": { +"description": "Event payload for an updated space. Event type: `google.workspace.chat.space.v1.updated`", +"id": "SpaceUpdatedEventData", +"properties": { +"space": { +"$ref": "Space", +"description": "The updated space." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StringInputs": { +"description": "Input parameter for regular widgets. For single-valued widgets, it is a single value list. For multi-valued widgets, such as checkbox, all the values are presented.", +"id": "StringInputs", +"properties": { +"value": { +"description": "An list of strings entered by the user.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TextButton": { +"description": "A button with text and `onclick` action.", +"id": "TextButton", +"properties": { +"onClick": { +"$ref": "OnClick", +"description": "The `onclick` action of the button." +}, +"text": { +"description": "The text of the button.", +"type": "string" +} +}, +"type": "object" +}, +"TextParagraph": { +"description": "A paragraph of text. Formatted text supported. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace Add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting).", +"id": "TextParagraph", +"properties": { +"text": { +"type": "string" +} +}, +"type": "object" +}, +"Thread": { +"description": "A thread in a Google Chat space. For example usage, see [Start or reply to a message thread](https://developers.google.com/workspace/chat/create-messages#create-message-thread). If you specify a thread when creating a message, you can set the [`messageReplyOption`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create#messagereplyoption) field to determine what happens if no matching thread is found.", +"id": "Thread", +"properties": { +"name": { +"description": "Identifier. Resource name of the thread. Example: `spaces/{space}/threads/{thread}`", +"type": "string" +}, +"threadKey": { +"description": "Optional. Input for creating or updating a thread. Otherwise, output only. ID for the thread. Supports up to 4000 characters. This ID is unique to the Chat app that sets it. For example, if multiple Chat apps create a message using the same thread key, the messages are posted in different threads. To reply in a thread created by a person or another Chat app, specify the thread `name` field instead.", +"type": "string" +} +}, +"type": "object" +}, +"ThreadReadState": { +"description": "A user's read state within a thread, used to identify read and unread messages.", +"id": "ThreadReadState", +"properties": { +"lastReadTime": { +"description": "The time when the user's thread read state was updated. Usually this corresponds with the timestamp of the last read message in a thread.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Resource name of the thread read state. Format: `users/{user}/spaces/{space}/threads/{thread}/threadReadState`", +"type": "string" +} +}, +"type": "object" +}, +"TimeInput": { +"description": "Time input values.", +"id": "TimeInput", +"properties": { +"hours": { +"description": "The hour on a 24-hour clock.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "The number of minutes past the hour. Valid values are 0 to 59.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "The timezone ID and offset from Coordinated Universal Time (UTC). Only supported for the event types [`CARD_CLICKED`](https://developers.google.com/chat/api/reference/rest/v1/EventType#ENUM_VALUES.CARD_CLICKED) and [`SUBMIT_DIALOG`](https://developers.google.com/chat/api/reference/rest/v1/DialogEventType#ENUM_VALUES.SUBMIT_DIALOG).", +"id": "TimeZone", +"properties": { +"id": { +"description": "The [IANA TZ](https://www.iana.org/time-zones) time zone database code, such as \"America/Toronto\".", +"type": "string" +}, +"offset": { +"description": "The user timezone offset, in milliseconds, from Coordinated Universal Time (UTC).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UpdatedWidget": { +"description": "For `selectionInput` widgets, returns autocomplete suggestions for a multiselect menu.", +"id": "UpdatedWidget", +"properties": { +"suggestions": { +"$ref": "SelectionItems", +"description": "List of widget autocomplete results" +}, +"widget": { +"description": "The ID of the updated widget. The ID must match the one for the widget that triggered the update request.", +"type": "string" +} +}, +"type": "object" +}, +"UploadAttachmentRequest": { +"description": "Request to upload an attachment.", +"id": "UploadAttachmentRequest", +"properties": { +"filename": { +"description": "Required. The filename of the attachment, including the file extension.", +"type": "string" +} +}, +"type": "object" +}, +"UploadAttachmentResponse": { +"description": "Response of uploading an attachment.", +"id": "UploadAttachmentResponse", +"properties": { +"attachmentDataRef": { +"$ref": "AttachmentDataRef", +"description": "Reference to the uploaded attachment." +} +}, +"type": "object" +}, +"User": { +"description": "A user in Google Chat. When returned as an output from a request, if your Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the output for a `User` resource only populates the user's `name` and `type`.", +"id": "User", +"properties": { +"displayName": { +"description": "Output only. The user's display name.", +"readOnly": true, +"type": "string" +}, +"domainId": { +"description": "Unique identifier of the user's Google Workspace domain.", +"type": "string" +}, +"isAnonymous": { +"description": "Output only. When `true`, the user is deleted or their profile is not visible.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Resource name for a Google Chat user. Format: `users/{user}`. `users/app` can be used as an alias for the calling app bot user. For human users, `{user}` is the same user identifier as: - the `id` for the [Person](https://developers.google.com/people/api/rest/v1/people) in the People API. For example, `users/123456789` in Chat API represents the same person as the `123456789` Person profile ID in People API. - the `id` for a [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Admin SDK Directory API. - the user's email address can be used as an alias for `{user}` in API requests. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can use `users/user@example.com` as an alias to reference `users/123456789`. Only the canonical resource name (for example `users/123456789`) will be returned from the API.", +"type": "string" +}, +"type": { +"description": "User type.", +"enum": [ +"TYPE_UNSPECIFIED", +"HUMAN", +"BOT" +], +"enumDescriptions": [ +"Default value for the enum. DO NOT USE.", +"Human user.", +"Chat app user." +], +"type": "string" +} +}, +"type": "object" +}, +"UserMentionMetadata": { +"description": "Annotation metadata for user mentions (@).", +"id": "UserMentionMetadata", +"properties": { +"type": { +"description": "The type of user mention.", +"enum": [ +"TYPE_UNSPECIFIED", +"ADD", +"MENTION" +], +"enumDescriptions": [ +"Default value for the enum. Don't use.", +"Add user to space.", +"Mention user in space." +], +"type": "string" +}, +"user": { +"$ref": "User", +"description": "The user mentioned." +} +}, +"type": "object" +}, +"WidgetMarkup": { +"description": "A widget is a UI element that presents text and images.", +"id": "WidgetMarkup", +"properties": { +"buttons": { +"description": "A list of buttons. Buttons is also `oneof data` and only one of these fields should be set.", +"items": { +"$ref": "Button" +}, +"type": "array" +}, +"image": { +"$ref": "Image", +"description": "Display an image in this widget." +}, +"keyValue": { +"$ref": "KeyValue", +"description": "Display a key value item in this widget." +}, +"textParagraph": { +"$ref": "TextParagraph", +"description": "Display a text paragraph in this widget." +} +}, +"type": "object" +}, +"WorkflowDataSourceMarkup": { +"description": "* Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons. In a `TextInput` or `SelectionInput` widget with MULTI_SELECT type or a `DateTimePicker`, provide data source from Google.", +"id": "WorkflowDataSourceMarkup", +"properties": { +"includeVariables": { +"description": "Whether to include variables from the previous step in the data source.", +"type": "boolean" +}, +"type": { +"description": "The type of data source.", +"enum": [ +"UNKNOWN", +"USER", +"SPACE", +"USER_WITH_FREE_FORM" +], +"enumDescriptions": [ +"Default value. Don't use.", +"Google Workspace users. The user can only view and select users from their Google Workspace organization.", +"Google Chat spaces that the user is a member of.", +"Users can choose to view and select existing members from their Google Workspace organization or manually enter an email address or a valid domain." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Chat API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromewebstore.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromewebstore.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..4f6a04793cb47a44ee10720f39f3dc2aa75b8089 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/chromewebstore.v2.json @@ -0,0 +1,550 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/chromewebstore": { +"description": "See, edit, update, or publish your Chrome Web Store extensions, themes, apps, and licences you have access to" +}, +"https://www.googleapis.com/auth/chromewebstore.readonly": { +"description": "See and download your Chrome Web Store extensions and apps, and see licenses you have access to" +} +} +} +}, +"basePath": "", +"baseUrl": "https://chromewebstore.googleapis.com/", +"batchPath": "batch", +"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/docs/webstore/api", +"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": "chromewebstore:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://chromewebstore.mtls.googleapis.com/", +"name": "chromewebstore", +"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": { +"media": { +"methods": { +"upload": { +"description": "Upload a new package to an existing item.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:upload", +"httpMethod": "POST", +"id": "chromewebstore.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "2147483648", +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v2/{+name}:upload" +} +} +}, +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item to upload the new package to in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:upload", +"request": { +"$ref": "UploadItemPackageRequest" +}, +"response": { +"$ref": "UploadItemPackageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore" +], +"supportsMediaUpload": true +} +} +}, +"publishers": { +"resources": { +"items": { +"methods": { +"cancelSubmission": { +"description": "Cancel the current active submission of an item if present. This can be used to cancel the review of a pending submission.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:cancelSubmission", +"httpMethod": "POST", +"id": "chromewebstore.publishers.items.cancelSubmission", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item to cancel the submission of in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:cancelSubmission", +"request": { +"$ref": "CancelSubmissionRequest" +}, +"response": { +"$ref": "CancelSubmissionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore" +] +}, +"fetchStatus": { +"description": "Fetch the status of an item.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:fetchStatus", +"httpMethod": "GET", +"id": "chromewebstore.publishers.items.fetchStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item to retrieve the status of in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:fetchStatus", +"response": { +"$ref": "FetchItemStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore", +"https://www.googleapis.com/auth/chromewebstore.readonly" +] +}, +"publish": { +"description": "Submit the item to be published in the store. The item will be submitted for review unless `skip_review` is set to true, or the item is staged from a previous submission with `publish_type` set to `STAGED_PUBLISH`.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:publish", +"httpMethod": "POST", +"id": "chromewebstore.publishers.items.publish", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:publish", +"request": { +"$ref": "PublishItemRequest" +}, +"response": { +"$ref": "PublishItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore" +] +}, +"setPublishedDeployPercentage": { +"description": "Set a higher target deploy percentage for the item's published revision. This will be updated without the item being submitted for review. This is only available to items with over 10,000 seven-day active users.", +"flatPath": "v2/publishers/{publishersId}/items/{itemsId}:setPublishedDeployPercentage", +"httpMethod": "POST", +"id": "chromewebstore.publishers.items.setPublishedDeployPercentage", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the item to update the published revision of in the form `publishers/{publisherId}/items/{itemId}`", +"location": "path", +"pattern": "^publishers/[^/]+/items/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:setPublishedDeployPercentage", +"request": { +"$ref": "SetPublishedDeployPercentageRequest" +}, +"response": { +"$ref": "SetPublishedDeployPercentageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/chromewebstore" +] +} +} +} +} +} +}, +"revision": "20251026", +"rootUrl": "https://chromewebstore.googleapis.com/", +"schemas": { +"CancelSubmissionRequest": { +"description": "Request message for CancelSubmission.", +"id": "CancelSubmissionRequest", +"properties": {}, +"type": "object" +}, +"CancelSubmissionResponse": { +"description": "Response message for `CancelSubmission`.", +"id": "CancelSubmissionResponse", +"properties": {}, +"type": "object" +}, +"DeployInfo": { +"description": "Deployment information for a specific release channel. Used in requests to update deployment parameters.", +"id": "DeployInfo", +"properties": { +"deployPercentage": { +"description": "Required. The current deploy percentage for the release channel (nonnegative number between 0 and 100).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DistributionChannel": { +"description": "Deployment information for a specific release channel", +"id": "DistributionChannel", +"properties": { +"crxVersion": { +"description": "The extension version provided in the manifest of the uploaded package.", +"type": "string" +}, +"deployPercentage": { +"description": "The current deploy percentage for the release channel (nonnegative number between 0 and 100).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"FetchItemStatusResponse": { +"description": "Response message for `FetchItemStatus`.", +"id": "FetchItemStatusResponse", +"properties": { +"itemId": { +"description": "Output only. The ID of the item.", +"readOnly": true, +"type": "string" +}, +"lastAsyncUploadState": { +"description": "Output only. The state of the last async upload for an item. Only set when there has been an async upload for the item in the past 24 hours.", +"enum": [ +"UPLOAD_STATE_UNSPECIFIED", +"SUCCEEDED", +"IN_PROGRESS", +"FAILED", +"NOT_FOUND" +], +"enumDescriptions": [ +"The default value.", +"The upload succeeded.", +"The upload is currently being processed.", +"The upload failed.", +"Used as the value of `lastAsyncUploadState` in a `fetchStatus` response indicating that an upload attempt was not found." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the requested item.", +"type": "string" +}, +"publicKey": { +"description": "The public key of the item, which may be generated by the store.", +"type": "string" +}, +"publishedItemRevisionStatus": { +"$ref": "ItemRevisionStatus", +"description": "Output only. Status of the current published revision of the item. Will be unset if the item is not published.", +"readOnly": true +}, +"submittedItemRevisionStatus": { +"$ref": "ItemRevisionStatus", +"description": "Status of the item revision submitted to be published. Will be unset if the item has not been submitted for publishing since the last successful publish." +}, +"takenDown": { +"description": "If true, the item has been taken down for a policy violation. Check the developer dashboard for details.", +"type": "boolean" +}, +"warned": { +"description": "If true, the item has been warned for a policy violation and will be taken down if not resolved. Check the developer dashboard for details.", +"type": "boolean" +} +}, +"type": "object" +}, +"ItemRevisionStatus": { +"description": "Details on the status of an item revision.", +"id": "ItemRevisionStatus", +"properties": { +"distributionChannels": { +"description": "Details on the package of the item", +"items": { +"$ref": "DistributionChannel" +}, +"type": "array" +}, +"state": { +"description": "Output only. Current state of the item", +"enum": [ +"ITEM_STATE_UNSPECIFIED", +"PENDING_REVIEW", +"STAGED", +"PUBLISHED", +"PUBLISHED_TO_TESTERS", +"REJECTED", +"CANCELLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The item is pending review.", +"The item has been approved and is ready to be published.", +"The item is published publicly.", +"The item is published to trusted testers.", +"The item has been rejected for publishing.", +"The item submission has been cancelled." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PublishItemRequest": { +"description": "Request message for PublishItem.", +"id": "PublishItemRequest", +"properties": { +"deployInfos": { +"description": "Optional. Additional deploy information including the desired initial percentage rollout. Defaults to the current value saved in the developer dashboard if unset.", +"items": { +"$ref": "DeployInfo" +}, +"type": "array" +}, +"publishType": { +"description": "Optional. Use this to control if the item is published immediately on approval or staged for publishing in the future. Defaults to `DEFAULT_PUBLISH` if unset.", +"enum": [ +"PUBLISH_TYPE_UNSPECIFIED", +"DEFAULT_PUBLISH", +"STAGED_PUBLISH" +], +"enumDescriptions": [ +"Default value. This is the same as DEFAULT_PUBLISH.", +"The submission will be published immediately after being approved.", +"After approval the submission will be staged and can then be published by the developer." +], +"type": "string" +}, +"skipReview": { +"description": "Optional. Whether to attempt to skip item review. The API will validate if the item qualifies and return a validation error if the item requires review. Defaults to `false` if unset.", +"type": "boolean" +} +}, +"type": "object" +}, +"PublishItemResponse": { +"description": "Response message for `PublishItem`.", +"id": "PublishItemResponse", +"properties": { +"itemId": { +"description": "Output only. The ID of the item.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the item that was submitted", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the submission.", +"enum": [ +"ITEM_STATE_UNSPECIFIED", +"PENDING_REVIEW", +"STAGED", +"PUBLISHED", +"PUBLISHED_TO_TESTERS", +"REJECTED", +"CANCELLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The item is pending review.", +"The item has been approved and is ready to be published.", +"The item is published publicly.", +"The item is published to trusted testers.", +"The item has been rejected for publishing.", +"The item submission has been cancelled." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SetPublishedDeployPercentageRequest": { +"description": "Request message for SetPublishedDeployPercentage.", +"id": "SetPublishedDeployPercentageRequest", +"properties": { +"deployPercentage": { +"description": "Required. Unscaled percentage value for the publised revision (nonnegative number between 0 and 100). It must be larger than the existing target percentage.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SetPublishedDeployPercentageResponse": { +"description": "Response message for `SetPublishedDeployPercentage`.", +"id": "SetPublishedDeployPercentageResponse", +"properties": {}, +"type": "object" +}, +"UploadItemPackageRequest": { +"description": "Request message for UploadItemPackage.", +"id": "UploadItemPackageRequest", +"properties": {}, +"type": "object" +}, +"UploadItemPackageResponse": { +"description": "Response message for `UploadItemPackage`.", +"id": "UploadItemPackageResponse", +"properties": { +"crxVersion": { +"description": "The extension version provided in the manifest of the uploaded package. This will not be set if the upload is still in progress (`upload_state` is `UPLOAD_IN_PROGRESS`).", +"type": "string" +}, +"itemId": { +"description": "Output only. The ID of the item the package was uploaded to.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The name of the item the package was uploaded to.", +"type": "string" +}, +"uploadState": { +"description": "Output only. The state of the upload. If `upload_state` is `UPLOAD_IN_PROGRESS`, you can poll for updates using the fetchStatus method.", +"enum": [ +"UPLOAD_STATE_UNSPECIFIED", +"SUCCEEDED", +"IN_PROGRESS", +"FAILED", +"NOT_FOUND" +], +"enumDescriptions": [ +"The default value.", +"The upload succeeded.", +"The upload is currently being processed.", +"The upload failed.", +"Used as the value of `lastAsyncUploadState` in a `fetchStatus` response indicating that an upload attempt was not found." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Chrome Web Store API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..3011ebb9642d296d94abf957c7c98adab5100eb8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudbuild.v1.json @@ -0,0 +1,5998 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudbuild.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Build", +"description": "Creates and manages builds on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/cloud-build/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://cloudbuild.us-west8.rep.googleapis.com/", +"location": "us-west8" +} +], +"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": "cloudbuild:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudbuild.mtls.googleapis.com/", +"name": "cloudbuild", +"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": { +"githubDotComWebhook": { +"methods": { +"receive": { +"description": "ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.", +"flatPath": "v1/githubDotComWebhook:receive", +"httpMethod": "POST", +"id": "cloudbuild.githubDotComWebhook.receive", +"parameterOrder": [], +"parameters": { +"webhookKey": { +"description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/githubDotComWebhook:receive", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Empty" +} +} +} +}, +"locations": { +"methods": { +"regionalWebhook": { +"description": "ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.", +"flatPath": "v1/locations/{locationsId}/regionalWebhook", +"httpMethod": "POST", +"id": "cloudbuild.locations.regionalWebhook", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location where the webhook should be sent.", +"location": "path", +"pattern": "^locations/[^/]+$", +"required": true, +"type": "string" +}, +"webhookKey": { +"description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+location}/regionalWebhook", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Empty" +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "cloudbuild.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudbuild.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"builds": { +"methods": { +"approve": { +"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", +"flatPath": "v1/projects/{projectsId}/builds/{buildsId}:approve", +"httpMethod": "POST", +"id": "cloudbuild.projects.builds.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the target build. For example: \"projects/{$project_id}/builds/{$build_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "ApproveBuildRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancel": { +"description": "Cancels a build in progress.", +"flatPath": "v1/projects/{projectId}/builds/{id}:cancel", +"httpMethod": "POST", +"id": "cloudbuild.projects.builds.cancel", +"parameterOrder": [ +"projectId", +"id" +], +"parameters": { +"id": { +"description": "Required. ID of the build.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/builds/{id}:cancel", +"request": { +"$ref": "CancelBuildRequest" +}, +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).", +"flatPath": "v1/projects/{projectId}/builds", +"httpMethod": "POST", +"id": "cloudbuild.projects.builds.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"parent": { +"description": "The parent resource where this build will be created. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/builds", +"request": { +"$ref": "Build" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.", +"flatPath": "v1/projects/{projectId}/builds/{id}", +"httpMethod": "GET", +"id": "cloudbuild.projects.builds.get", +"parameterOrder": [ +"projectId", +"id" +], +"parameters": { +"id": { +"description": "Required. ID of the build.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name of the `Build` to retrieve. Format: `projects/{project}/locations/{location}/builds/{build}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/builds/{id}", +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.", +"flatPath": "v1/projects/{projectId}/builds", +"httpMethod": "GET", +"id": "cloudbuild.projects.builds.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"filter": { +"description": "The raw filter text to constrain the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/builds", +"response": { +"$ref": "ListBuildsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retry": { +"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.", +"flatPath": "v1/projects/{projectId}/builds/{id}:retry", +"httpMethod": "POST", +"id": "cloudbuild.projects.builds.retry", +"parameterOrder": [ +"projectId", +"id" +], +"parameters": { +"id": { +"description": "Required. Build ID of the original build.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/builds/{id}:retry", +"request": { +"$ref": "RetryBuildRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"githubEnterpriseConfigs": { +"methods": { +"create": { +"description": "Create an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs", +"httpMethod": "POST", +"id": "cloudbuild.projects.githubEnterpriseConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"gheConfigId": { +"description": "Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/githubEnterpriseConfigs", +"request": { +"$ref": "GitHubEnterpriseConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.githubEnterpriseConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"configId": { +"deprecated": true, +"description": "Unique identifier of the `GitHubEnterpriseConfig`", +"location": "query", +"type": "string" +}, +"name": { +"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a GitHubEnterpriseConfig.", +"flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.githubEnterpriseConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"configId": { +"deprecated": true, +"description": "Unique identifier of the `GitHubEnterpriseConfig`", +"location": "query", +"type": "string" +}, +"name": { +"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GitHubEnterpriseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all GitHubEnterpriseConfigs for a given project.", +"flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs", +"httpMethod": "GET", +"id": "cloudbuild.projects.githubEnterpriseConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/githubEnterpriseConfigs", +"response": { +"$ref": "ListGithubEnterpriseConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.githubEnterpriseConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GitHubEnterpriseConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"methods": { +"getDefaultServiceAccount": { +"description": "Returns the `DefaultServiceAccount` used by the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/defaultServiceAccount", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.getDefaultServiceAccount", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `DefaultServiceAccount` to retrieve. Format: `projects/{project}/locations/{location}/defaultServiceAccount`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/defaultServiceAccount$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DefaultServiceAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bitbucketServerConfigs": { +"methods": { +"create": { +"description": "Creates a new `BitbucketServerConfig`. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"bitbucketServerConfigId": { +"description": "Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bitbucketServerConfigs", +"request": { +"$ref": "BitbucketServerConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a `BitbucketServerConfig`. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a `BitbucketServerConfig`. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BitbucketServerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all `BitbucketServerConfigs` for a given project. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBitbucketServerConfigsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBitbucketServerConfigsRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/bitbucketServerConfigs", +"response": { +"$ref": "ListBitbucketServerConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `BitbucketServerConfig`. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the config.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "BitbucketServerConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeBitbucketServerConnectedRepository": { +"description": "Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}:removeBitbucketServerConnectedRepository", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.removeBitbucketServerConnectedRepository", +"parameterOrder": [ +"config" +], +"parameters": { +"config": { +"description": "Required. The name of the `BitbucketServerConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+config}:removeBitbucketServerConnectedRepository", +"request": { +"$ref": "RemoveBitbucketServerConnectedRepositoryRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectedRepositories": { +"methods": { +"batchCreate": { +"description": "Batch connecting Bitbucket Server repositories to Cloud Build.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/connectedRepositories:batchCreate", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.connectedRepositories.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectedRepositories:batchCreate", +"request": { +"$ref": "BatchCreateBitbucketServerConnectedRepositoriesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"repos": { +"methods": { +"list": { +"description": "List all repositories for a given `BitbucketServerConfig`. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/repos", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.bitbucketServerConfigs.repos.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListBitbucketServerRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBitbucketServerConfigsRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/bitbucketServerConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repos", +"response": { +"$ref": "ListBitbucketServerRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"builds": { +"methods": { +"approve": { +"description": "Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:approve", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.builds.approve", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the target build. For example: \"projects/{$project_id}/builds/{$build_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:approve", +"request": { +"$ref": "ApproveBuildRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancel": { +"description": "Cancels a build in progress.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:cancel", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.builds.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `Build` to cancel. Format: `projects/{project}/locations/{location}/builds/{build}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelBuildRequest" +}, +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.builds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent resource where this build will be created. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/builds", +"request": { +"$ref": "Build" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.builds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"id": { +"description": "Required. ID of the build.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the `Build` to retrieve. Format: `projects/{project}/locations/{location}/builds/{build}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.builds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The raw filter text to constrain the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/builds", +"response": { +"$ref": "ListBuildsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retry": { +"description": "Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:retry", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.builds.retry", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:retry", +"request": { +"$ref": "RetryBuildRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"gitLabConfigs": { +"methods": { +"create": { +"description": "Creates a new `GitLabConfig`. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.gitLabConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"gitlabConfigId": { +"description": "Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig\u2019s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/gitLabConfigs", +"request": { +"$ref": "GitLabConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a `GitLabConfig`. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.gitLabConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves a `GitLabConfig`. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.gitLabConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GitLabConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all `GitLabConfigs` for a given project. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.gitLabConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000;, values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous \u2018ListGitlabConfigsRequest\u2019 call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to \u2018ListGitlabConfigsRequest\u2019 must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/gitLabConfigs", +"response": { +"$ref": "ListGitLabConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing `GitLabConfig`. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.gitLabConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the config.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GitLabConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeGitLabConnectedRepository": { +"description": "Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}:removeGitLabConnectedRepository", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.gitLabConfigs.removeGitLabConnectedRepository", +"parameterOrder": [ +"config" +], +"parameters": { +"config": { +"description": "Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+config}:removeGitLabConnectedRepository", +"request": { +"$ref": "RemoveGitLabConnectedRepositoryRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectedRepositories": { +"methods": { +"batchCreate": { +"description": "Batch connecting GitLab repositories to Cloud Build. This API is experimental.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/connectedRepositories:batchCreate", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.gitLabConfigs.connectedRepositories.batchCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectedRepositories:batchCreate", +"request": { +"$ref": "BatchCreateGitLabConnectedRepositoriesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"repos": { +"methods": { +"list": { +"description": "List all repositories for a given `GitLabConfig`. This API is experimental", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/repos", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.gitLabConfigs.repos.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of repositories to return. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous ListGitLabRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGitLabRepositoriesRequest` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/repos", +"response": { +"$ref": "ListGitLabRepositoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"githubEnterpriseConfigs": { +"methods": { +"create": { +"description": "Create an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.githubEnterpriseConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"gheConfigId": { +"description": "Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/githubEnterpriseConfigs", +"request": { +"$ref": "GitHubEnterpriseConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.githubEnterpriseConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"configId": { +"deprecated": true, +"description": "Unique identifier of the `GitHubEnterpriseConfig`", +"location": "query", +"type": "string" +}, +"name": { +"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a GitHubEnterpriseConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.githubEnterpriseConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"configId": { +"deprecated": true, +"description": "Unique identifier of the `GitHubEnterpriseConfig`", +"location": "query", +"type": "string" +}, +"name": { +"description": "This field should contain the name of the enterprise config resource. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GitHubEnterpriseConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all GitHubEnterpriseConfigs for a given project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.githubEnterpriseConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "ID of the project", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/githubEnterpriseConfigs", +"response": { +"$ref": "ListGithubEnterpriseConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update an association between a GCP project and a GitHub Enterprise server.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.githubEnterpriseConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GitHubEnterpriseConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Creates a new `BuildTrigger`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.triggers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent resource where this trigger will be created. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project for which to configure automatic builds.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/triggers", +"request": { +"$ref": "BuildTrigger" +}, +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.triggers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to delete. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "query", +"type": "string" +}, +"triggerId": { +"description": "Required. ID of the `BuildTrigger` to delete.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a `BuildTrigger`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.triggers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "query", +"type": "string" +}, +"triggerId": { +"description": "Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists existing `BuildTrigger`s.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.triggers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent of the collection of `Triggers`. Format: `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project for which to list BuildTriggers.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/triggers", +"response": { +"$ref": "ListBuildTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `BuildTrigger` by its project ID and trigger ID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.triggers.patch", +"parameterOrder": [ +"resourceName" +], +"parameters": { +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "query", +"type": "string" +}, +"resourceName": { +"description": "The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. ID of the `BuildTrigger` to update.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+resourceName}", +"request": { +"$ref": "BuildTrigger" +}, +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:run", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.triggers.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to run. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:run", +"request": { +"$ref": "RunBuildTriggerRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"webhook": { +"description": "ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:webhook", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.triggers.webhook", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Project in which the specified trigger lives", +"location": "query", +"type": "string" +}, +"secret": { +"description": "Secret token used for authorization if an OAuth token isn't provided.", +"location": "query", +"type": "string" +}, +"trigger": { +"description": "Name of the trigger to run the payload against", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:webhook", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "ReceiveTriggerWebhookResponse" +} +} +} +}, +"workerPools": { +"methods": { +"create": { +"description": "Creates a `WorkerPool`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workerPools", +"httpMethod": "POST", +"id": "cloudbuild.projects.locations.workerPools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this worker pool will be created. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request and preview the response, but do not actually post it.", +"location": "query", +"type": "boolean" +}, +"workerPoolId": { +"description": "Required. Immutable. The ID to use for the `WorkerPool`, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workerPools", +"request": { +"$ref": "WorkerPool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `WorkerPool`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.locations.workerPools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the `WorkerPool` is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the `WorkerPool` to delete. Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request and preview the response, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns details of a `WorkerPool`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.workerPools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `WorkerPool` to retrieve. Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkerPool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists `WorkerPool`s.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workerPools", +"httpMethod": "GET", +"id": "cloudbuild.projects.locations.workerPools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `WorkerPool`s to return. The service may return fewer than this value. If omitted, the server will use a sensible default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListWorkerPools` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the collection of `WorkerPools`. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workerPools", +"response": { +"$ref": "ListWorkerPoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `WorkerPool`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.locations.workerPools.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workerPools/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. A mask specifying which fields in `worker_pool` to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "If set, validate the request and preview the response, but do not actually post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "WorkerPool" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Creates a new `BuildTrigger`.", +"flatPath": "v1/projects/{projectId}/triggers", +"httpMethod": "POST", +"id": "cloudbuild.projects.triggers.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"parent": { +"description": "The parent resource where this trigger will be created. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project for which to configure automatic builds.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers", +"request": { +"$ref": "BuildTrigger" +}, +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `BuildTrigger` by its project ID and trigger ID.", +"flatPath": "v1/projects/{projectId}/triggers/{triggerId}", +"httpMethod": "DELETE", +"id": "cloudbuild.projects.triggers.delete", +"parameterOrder": [ +"projectId", +"triggerId" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to delete. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. ID of the `BuildTrigger` to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers/{triggerId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns information about a `BuildTrigger`.", +"flatPath": "v1/projects/{projectId}/triggers/{triggerId}", +"httpMethod": "GET", +"id": "cloudbuild.projects.triggers.get", +"parameterOrder": [ +"projectId", +"triggerId" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers/{triggerId}", +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists existing `BuildTrigger`s.", +"flatPath": "v1/projects/{projectId}/triggers", +"httpMethod": "GET", +"id": "cloudbuild.projects.triggers.list", +"parameterOrder": [ +"projectId" +], +"parameters": { +"pageSize": { +"description": "Number of results to return in the list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token to provide to skip to a particular spot in the list.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent of the collection of `Triggers`. Format: `projects/{project}/locations/{location}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project for which to list BuildTriggers.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers", +"response": { +"$ref": "ListBuildTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `BuildTrigger` by its project ID and trigger ID.", +"flatPath": "v1/projects/{projectId}/triggers/{triggerId}", +"httpMethod": "PATCH", +"id": "cloudbuild.projects.triggers.patch", +"parameterOrder": [ +"projectId", +"triggerId" +], +"parameters": { +"projectId": { +"description": "Required. ID of the project that owns the trigger.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. ID of the `BuildTrigger` to update.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers/{triggerId}", +"request": { +"$ref": "BuildTrigger" +}, +"response": { +"$ref": "BuildTrigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.", +"flatPath": "v1/projects/{projectId}/triggers/{triggerId}:run", +"httpMethod": "POST", +"id": "cloudbuild.projects.triggers.run", +"parameterOrder": [ +"projectId", +"triggerId" +], +"parameters": { +"name": { +"description": "The name of the `Trigger` to run. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"location": "path", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. ID of the trigger.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers/{triggerId}:run", +"request": { +"$ref": "RepoSource" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"webhook": { +"description": "ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.", +"flatPath": "v1/projects/{projectId}/triggers/{trigger}:webhook", +"httpMethod": "POST", +"id": "cloudbuild.projects.triggers.webhook", +"parameterOrder": [ +"projectId", +"trigger" +], +"parameters": { +"name": { +"description": "The name of the `ReceiveTriggerWebhook` to retrieve. Format: `projects/{project}/locations/{location}/triggers/{trigger}`", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Project in which the specified trigger lives", +"location": "path", +"required": true, +"type": "string" +}, +"secret": { +"description": "Secret token used for authorization if an OAuth token isn't provided.", +"location": "query", +"type": "string" +}, +"trigger": { +"description": "Name of the trigger to run the payload against", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/triggers/{trigger}:webhook", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "ReceiveTriggerWebhookResponse" +} +} +} +} +} +}, +"v1": { +"methods": { +"webhook": { +"description": "ReceiveWebhook is called when the API receives a GitHub webhook.", +"flatPath": "v1/webhook", +"httpMethod": "POST", +"id": "cloudbuild.webhook", +"parameterOrder": [], +"parameters": { +"webhookKey": { +"description": "For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/webhook", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Empty" +} +} +} +} +}, +"revision": "20260106", +"rootUrl": "https://cloudbuild.googleapis.com/", +"schemas": { +"ApprovalConfig": { +"description": "ApprovalConfig describes configuration for manual approval of a build.", +"id": "ApprovalConfig", +"properties": { +"approvalRequired": { +"description": "Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApprovalResult": { +"description": "ApprovalResult describes the decision and associated metadata of a manual approval of a build.", +"id": "ApprovalResult", +"properties": { +"approvalTime": { +"description": "Output only. The time when the approval decision was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"approverAccount": { +"description": "Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.", +"readOnly": true, +"type": "string" +}, +"comment": { +"description": "Optional. An optional comment for this manual approval result.", +"type": "string" +}, +"decision": { +"description": "Required. The decision of this manual approval.", +"enum": [ +"DECISION_UNSPECIFIED", +"APPROVED", +"REJECTED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build is approved.", +"Build is rejected." +], +"type": "string" +}, +"url": { +"description": "Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.", +"type": "string" +} +}, +"type": "object" +}, +"ApproveBuildRequest": { +"description": "Request to approve or reject a pending build.", +"id": "ApproveBuildRequest", +"properties": { +"approvalResult": { +"$ref": "ApprovalResult", +"description": "Approval decision and metadata." +} +}, +"type": "object" +}, +"ArtifactObjects": { +"description": "Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.", +"id": "ArtifactObjects", +"properties": { +"location": { +"description": "Cloud Storage bucket and optional object path, in the form \"gs://bucket/path/to/somewhere/\". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.", +"type": "string" +}, +"paths": { +"description": "Path globs used to match files in the build's workspace.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timing": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing all artifact objects.", +"readOnly": true +} +}, +"type": "object" +}, +"ArtifactResult": { +"description": "An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.", +"id": "ArtifactResult", +"properties": { +"fileHash": { +"description": "The file hash of the artifact.", +"items": { +"$ref": "FileHashes" +}, +"type": "array" +}, +"location": { +"description": "The path of an artifact in a Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`.", +"type": "string" +} +}, +"type": "object" +}, +"Artifacts": { +"description": "Artifacts produced by a build that should be uploaded upon successful completion of all build steps.", +"id": "Artifacts", +"properties": { +"goModules": { +"description": "Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "GoModule" +}, +"type": "array" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "MavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "NpmPackage" +}, +"type": "array" +}, +"objects": { +"$ref": "ArtifactObjects", +"description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE." +}, +"pythonPackages": { +"description": "A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.", +"items": { +"$ref": "PythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateBitbucketServerConnectedRepositoriesRequest": { +"description": "RPC request object accepted by BatchCreateBitbucketServerConnectedRepositories RPC method.", +"id": "BatchCreateBitbucketServerConnectedRepositoriesRequest", +"properties": { +"requests": { +"description": "Required. Requests to connect Bitbucket Server repositories.", +"items": { +"$ref": "CreateBitbucketServerConnectedRepositoryRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateBitbucketServerConnectedRepositoriesResponse": { +"description": "Response of BatchCreateBitbucketServerConnectedRepositories RPC method including all successfully connected Bitbucket Server repositories.", +"id": "BatchCreateBitbucketServerConnectedRepositoriesResponse", +"properties": { +"bitbucketServerConnectedRepositories": { +"description": "The connected Bitbucket Server repositories.", +"items": { +"$ref": "BitbucketServerConnectedRepository" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata": { +"description": "Metadata for `BatchCreateBitbucketServerConnectedRepositories` operation.", +"id": "BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"config": { +"description": "The name of the `BitbucketServerConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BatchCreateGitLabConnectedRepositoriesRequest": { +"description": "RPC request object accepted by BatchCreateGitLabConnectedRepositories RPC method.", +"id": "BatchCreateGitLabConnectedRepositoriesRequest", +"properties": { +"requests": { +"description": "Required. Requests to connect GitLab repositories.", +"items": { +"$ref": "CreateGitLabConnectedRepositoryRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateGitLabConnectedRepositoriesResponse": { +"description": "Response of BatchCreateGitLabConnectedRepositories RPC method.", +"id": "BatchCreateGitLabConnectedRepositoriesResponse", +"properties": { +"gitlabConnectedRepositories": { +"description": "The GitLab connected repository requests' responses.", +"items": { +"$ref": "GitLabConnectedRepository" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchCreateGitLabConnectedRepositoriesResponseMetadata": { +"description": "Metadata for `BatchCreateGitLabConnectedRepositories` operation.", +"id": "BatchCreateGitLabConnectedRepositoriesResponseMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"config": { +"description": "The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BitbucketServerConfig": { +"description": "BitbucketServerConfig represents the configuration for a Bitbucket Server.", +"id": "BitbucketServerConfig", +"properties": { +"apiKey": { +"description": "Required. Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.", +"type": "string" +}, +"connectedRepositories": { +"description": "Output only. Connected Bitbucket Server repositories for this config.", +"items": { +"$ref": "BitbucketServerRepositoryId" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Time when the config was created.", +"format": "google-datetime", +"type": "string" +}, +"hostUri": { +"description": "Required. Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.", +"type": "string" +}, +"name": { +"description": "The resource name for the config.", +"type": "string" +}, +"peeredNetwork": { +"description": "Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.", +"type": "string" +}, +"peeredNetworkIpRange": { +"description": "Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set.", +"type": "string" +}, +"secrets": { +"$ref": "BitbucketServerSecrets", +"description": "Required. Secret Manager secrets needed by the config." +}, +"sslCa": { +"description": "Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.", +"type": "string" +}, +"username": { +"description": "Username of the account Cloud Build will use on Bitbucket Server.", +"type": "string" +}, +"webhookKey": { +"description": "Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BitbucketServerConnectedRepository": { +"description": "/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository.", +"id": "BitbucketServerConnectedRepository", +"properties": { +"parent": { +"description": "The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", +"type": "string" +}, +"repo": { +"$ref": "BitbucketServerRepositoryId", +"description": "The Bitbucket Server repositories to connect." +}, +"status": { +"$ref": "Status", +"description": "Output only. The status of the repo connection request.", +"readOnly": true +} +}, +"type": "object" +}, +"BitbucketServerRepository": { +"description": "BitbucketServerRepository represents a repository hosted on a Bitbucket Server.", +"id": "BitbucketServerRepository", +"properties": { +"browseUri": { +"description": "Link to the browse repo page on the Bitbucket Server instance.", +"type": "string" +}, +"description": { +"description": "Description of the repository.", +"type": "string" +}, +"displayName": { +"description": "Display name of the repository.", +"type": "string" +}, +"name": { +"description": "The resource name of the repository.", +"type": "string" +}, +"repoId": { +"$ref": "BitbucketServerRepositoryId", +"description": "Identifier for a repository hosted on a Bitbucket Server." +} +}, +"type": "object" +}, +"BitbucketServerRepositoryId": { +"description": "BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.", +"id": "BitbucketServerRepositoryId", +"properties": { +"projectKey": { +"description": "Required. Identifier for the project storing the repository.", +"type": "string" +}, +"repoSlug": { +"description": "Required. Identifier for the repository.", +"type": "string" +}, +"webhookId": { +"description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"BitbucketServerSecrets": { +"description": "BitbucketServerSecrets represents the secrets in Secret Manager for a Bitbucket Server.", +"id": "BitbucketServerSecrets", +"properties": { +"adminAccessTokenVersionName": { +"description": "Required. The resource name for the admin access token's secret version.", +"type": "string" +}, +"readAccessTokenVersionName": { +"description": "Required. The resource name for the read access token's secret version.", +"type": "string" +}, +"webhookSecretVersionName": { +"description": "Required. Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.", +"type": "string" +} +}, +"type": "object" +}, +"BitbucketServerTriggerConfig": { +"description": "BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.", +"id": "BitbucketServerTriggerConfig", +"properties": { +"bitbucketServerConfig": { +"$ref": "BitbucketServerConfig", +"description": "Output only. The BitbucketServerConfig specified in the bitbucket_server_config_resource field.", +"readOnly": true +}, +"bitbucketServerConfigResource": { +"description": "Required. The Bitbucket server config resource that this trigger config maps to.", +"type": "string" +}, +"projectKey": { +"description": "Required. Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is \"TEST\".", +"type": "string" +}, +"pullRequest": { +"$ref": "PullRequestFilter", +"description": "Filter to match changes in pull requests." +}, +"push": { +"$ref": "PushFilter", +"description": "Filter to match changes in refs like branches, tags." +}, +"repoSlug": { +"description": "Required. Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.", +"type": "string" +} +}, +"type": "object" +}, +"Build": { +"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.", +"id": "Build", +"properties": { +"approval": { +"$ref": "BuildApproval", +"description": "Output only. Describes this build's approval configuration, status, and result.", +"readOnly": true +}, +"artifacts": { +"$ref": "Artifacts", +"description": "Artifacts produced by the build that should be uploaded upon successful completion of all build steps." +}, +"availableSecrets": { +"$ref": "Secrets", +"description": "Secrets and secret environment variables." +}, +"buildTriggerId": { +"description": "Output only. The ID of the `BuildTrigger` that triggered this build, if it was triggered automatically.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time at which the request to create the build was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dependencies": { +"description": "Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.", +"items": { +"$ref": "Dependency" +}, +"type": "array" +}, +"failureInfo": { +"$ref": "FailureInfo", +"description": "Output only. Contains information about the build when status=FAILURE.", +"readOnly": true +}, +"finishTime": { +"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"gitConfig": { +"$ref": "GitConfig", +"description": "Optional. Configuration for git operations." +}, +"id": { +"description": "Output only. Unique identifier of the build.", +"readOnly": true, +"type": "string" +}, +"images": { +"description": "A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the `Build` resource's results field. If any of the images fail to be pushed, the build status is marked `FAILURE`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logUrl": { +"description": "Output only. URL to logs for this build in Google Cloud Console.", +"readOnly": true, +"type": "string" +}, +"logsBucket": { +"description": "Cloud Storage bucket where logs should be written (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`.", +"type": "string" +}, +"name": { +"description": "Output only. The 'Build' name with format: `projects/{project}/locations/{location}/builds/{build}`, where {build} is a unique identifier generated by the service.", +"readOnly": true, +"type": "string" +}, +"options": { +"$ref": "BuildOptions", +"description": "Special options for this build." +}, +"projectId": { +"description": "Output only. ID of the project.", +"readOnly": true, +"type": "string" +}, +"queueTtl": { +"description": "TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be `EXPIRED`. The TTL starts ticking from create_time.", +"format": "google-duration", +"type": "string" +}, +"results": { +"$ref": "Results", +"description": "Output only. Results of the build.", +"readOnly": true +}, +"secrets": { +"description": "Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use `available_secrets` to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets", +"items": { +"$ref": "Secret" +}, +"type": "array" +}, +"serviceAccount": { +"description": "IAM service account whose credentials will be used at build runtime. Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. ACCOUNT can be email address or uniqueId of the service account. ", +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "Optional. The location of the source files to build." +}, +"sourceProvenance": { +"$ref": "SourceProvenance", +"description": "Output only. A permanent fixed identifier for source.", +"readOnly": true +}, +"startTime": { +"description": "Output only. Time at which execution of the build was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. Status of the build.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Customer-readable message about the current status.", +"readOnly": true, +"type": "string" +}, +"steps": { +"description": "Required. The operations to be performed on the workspace.", +"items": { +"$ref": "BuildStep" +}, +"type": "array" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Substitutions data for `Build` resource.", +"type": "object" +}, +"tags": { +"description": "Tags for annotation of a `Build`. These are not docker tags.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeout": { +"description": "Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default time is 60 minutes.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"additionalProperties": { +"$ref": "TimeSpan" +}, +"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.", +"readOnly": true, +"type": "object" +}, +"warnings": { +"description": "Output only. Non-fatal problems encountered during the execution of the build.", +"items": { +"$ref": "Warning" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"BuildApproval": { +"description": "BuildApproval describes a build's approval configuration, state, and result.", +"id": "BuildApproval", +"properties": { +"config": { +"$ref": "ApprovalConfig", +"description": "Output only. Configuration for manual approval of this build.", +"readOnly": true +}, +"result": { +"$ref": "ApprovalResult", +"description": "Output only. Result of manual approval for this Build.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of this build's approval.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"APPROVED", +"REJECTED", +"CANCELLED" +], +"enumDescriptions": [ +"Default enum type. This should not be used.", +"Build approval is pending.", +"Build approval has been approved.", +"Build approval has been rejected.", +"Build was cancelled while it was still pending approval." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BuildOperationMetadata": { +"description": "Metadata for build operations.", +"id": "BuildOperationMetadata", +"properties": { +"build": { +"$ref": "Build", +"description": "The build that the operation is tracking." +} +}, +"type": "object" +}, +"BuildOptions": { +"description": "Optional arguments to enable specific features of builds.", +"id": "BuildOptions", +"properties": { +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for all build steps.", +"type": "boolean" +}, +"defaultLogsBucketBehavior": { +"description": "Optional. Option to specify how default logs buckets are setup.", +"enum": [ +"DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", +"REGIONAL_USER_OWNED_BUCKET", +"LEGACY_BUCKET" +], +"enumDescriptions": [ +"Unspecified.", +"Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to Cloud Storage buckets in the build project.", +"Bucket is located in a Google-owned project and is not regionalized." +], +"type": "string" +}, +"diskSizeGb": { +"description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.", +"format": "int64", +"type": "string" +}, +"dynamicSubstitutions": { +"description": "Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.", +"type": "boolean" +}, +"enableStructuredLogging": { +"description": "Optional. Option to specify whether structured logging is enabled. If true, JSON-formatted logs are parsed as structured logs.", +"type": "boolean" +}, +"env": { +"description": "A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"logStreamingOption": { +"description": "Option to define build log streaming behavior to Cloud Storage.", +"enum": [ +"STREAM_DEFAULT", +"STREAM_ON", +"STREAM_OFF" +], +"enumDescriptions": [ +"Service may automatically determine build log streaming behavior.", +"Build logs should be streamed to Cloud Storage.", +"Build logs should not be streamed to Cloud Storage; they will be written when the build is completed." +], +"type": "string" +}, +"logging": { +"description": "Option to specify the logging mode, which determines if and where build logs are stored.", +"enum": [ +"LOGGING_UNSPECIFIED", +"LEGACY", +"GCS_ONLY", +"STACKDRIVER_ONLY", +"CLOUD_LOGGING_ONLY", +"NONE" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false +], +"enumDescriptions": [ +"The service determines the logging mode. The default is `LEGACY`. Do not rely on the default logging behavior as it may change in the future.", +"Build logs are stored in Cloud Logging and Cloud Storage.", +"Build logs are stored in Cloud Storage.", +"This option is the same as CLOUD_LOGGING_ONLY.", +"Build logs are stored in Cloud Logging. Selecting this option will not allow [logs streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log).", +"Turn off all logging. No build logs will be captured." +], +"type": "string" +}, +"machineType": { +"description": "Compute Engine machine type on which to run the build.", +"enum": [ +"UNSPECIFIED", +"N1_HIGHCPU_8", +"N1_HIGHCPU_32", +"E2_HIGHCPU_8", +"E2_HIGHCPU_32", +"E2_MEDIUM" +], +"enumDeprecated": [ +false, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Standard machine type.", +"Highcpu machine with 8 CPUs.", +"Highcpu machine with 32 CPUs.", +"Highcpu e2 machine with 8 CPUs.", +"Highcpu e2 machine with 32 CPUs.", +"E2 machine with 1 CPU." +], +"type": "string" +}, +"pool": { +"$ref": "PoolOption", +"description": "Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information." +}, +"pubsubTopic": { +"description": "Optional. Option to specify the Pub/Sub topic to receive build status updates.", +"type": "string" +}, +"requestedVerifyOption": { +"description": "Requested verifiability options.", +"enum": [ +"NOT_VERIFIED", +"VERIFIED" +], +"enumDescriptions": [ +"Not a verifiable build (the default).", +"Build must be verified." +], +"type": "string" +}, +"secretEnv": { +"description": "A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceProvenanceHash": { +"description": "Requested hash for SourceProvenance.", +"items": { +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"type": "array" +}, +"substitutionOption": { +"description": "Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.", +"enum": [ +"MUST_MATCH", +"ALLOW_LOOSE" +], +"enumDescriptions": [ +"Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.", +"Do not fail the build if error in substitutions checks." +], +"type": "string" +}, +"volumes": { +"description": "Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"workerPool": { +"deprecated": true, +"description": "This field deprecated; please use `pool.name` instead.", +"type": "string" +} +}, +"type": "object" +}, +"BuildStep": { +"description": "A step in the build pipeline.", +"id": "BuildStep", +"properties": { +"allowExitCodes": { +"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"allowFailure": { +"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.", +"type": "boolean" +}, +"args": { +"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.", +"items": { +"type": "string" +}, +"type": "array" +}, +"automapSubstitutions": { +"description": "Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.", +"type": "boolean" +}, +"dir": { +"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.", +"type": "string" +}, +"entrypoint": { +"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.", +"type": "string" +}, +"env": { +"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"exitCode": { +"description": "Output only. Return code from running the step.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"id": { +"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.", +"type": "string" +}, +"pullTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pulling this build step's builder image only.", +"readOnly": true +}, +"script": { +"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.", +"type": "string" +}, +"secretEnv": { +"description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.", +"enum": [ +"STATUS_UNKNOWN", +"PENDING", +"QUEUED", +"WORKING", +"SUCCESS", +"FAILURE", +"INTERNAL_ERROR", +"TIMEOUT", +"CANCELLED", +"EXPIRED" +], +"enumDescriptions": [ +"Status of the build is unknown.", +"Build has been created and is pending execution and queuing. It has not been queued.", +"Build or step is queued; work has not yet begun.", +"Build or step is being executed.", +"Build or step finished successfully.", +"Build or step failed to complete successfully.", +"Build or step failed due to an internal cause.", +"Build or step took longer than was allowed.", +"Build or step was canceled by a user.", +"Build was enqueued for longer than the value of `queue_ttl`." +], +"readOnly": true, +"type": "string" +}, +"timeout": { +"description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.", +"format": "google-duration", +"type": "string" +}, +"timing": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for executing this build step.", +"readOnly": true +}, +"volumes": { +"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.", +"items": { +"$ref": "Volume" +}, +"type": "array" +}, +"waitFor": { +"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuildTrigger": { +"description": "Configuration for an automated build in response to source repository changes.", +"id": "BuildTrigger", +"properties": { +"approvalConfig": { +"$ref": "ApprovalConfig", +"description": "Configuration for manual approval to start a build invocation of this BuildTrigger." +}, +"autodetect": { +"description": "Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.", +"type": "boolean" +}, +"bitbucketServerTriggerConfig": { +"$ref": "BitbucketServerTriggerConfig", +"description": "BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received." +}, +"build": { +"$ref": "Build", +"description": "Contents of the build template." +}, +"createTime": { +"description": "Output only. Time when the trigger was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Human-readable description of this trigger.", +"type": "string" +}, +"developerConnectEventConfig": { +"$ref": "DeveloperConnectEventConfig", +"description": "Optional. The configuration of a trigger that creates a build whenever an event from the DeveloperConnect API is received." +}, +"disabled": { +"description": "If true, the trigger will never automatically execute a build.", +"type": "boolean" +}, +"eventType": { +"description": "EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"REPO", +"WEBHOOK", +"PUBSUB", +"MANUAL" +], +"enumDescriptions": [ +"EVENT_TYPE_UNSPECIFIED event_types are ignored.", +"REPO corresponds to the supported VCS integrations.", +"WEBHOOK corresponds to webhook triggers.", +"PUBSUB corresponds to pubsub triggers.", +"MANUAL corresponds to manual-only invoked triggers." +], +"type": "string" +}, +"filename": { +"description": "Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).", +"type": "string" +}, +"filter": { +"description": "A Common Expression Language string.", +"type": "string" +}, +"gitFileSource": { +"$ref": "GitFileSource", +"description": "The file source describing the local or remote Build template." +}, +"github": { +"$ref": "GitHubEventsConfig", +"description": "GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with `trigger_template`." +}, +"gitlabEnterpriseEventsConfig": { +"$ref": "GitLabEventsConfig", +"description": "GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received." +}, +"id": { +"description": "Output only. Unique identifier of the trigger.", +"readOnly": true, +"type": "string" +}, +"ignoredFiles": { +"description": "ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for \"**\". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeBuildLogs": { +"description": "If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.", +"enum": [ +"INCLUDE_BUILD_LOGS_UNSPECIFIED", +"INCLUDE_BUILD_LOGS_WITH_STATUS" +], +"enumDescriptions": [ +"Build logs will not be shown on GitHub.", +"Build logs will be shown on GitHub." +], +"type": "string" +}, +"includedFiles": { +"description": "If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.", +"type": "string" +}, +"pubsubConfig": { +"$ref": "PubsubConfig", +"description": "PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published." +}, +"repositoryEventConfig": { +"$ref": "RepositoryEventConfig", +"description": "The configuration of a trigger that creates a build whenever an event from Repo API is received." +}, +"resourceName": { +"description": "The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.", +"type": "string" +}, +"serviceAccount": { +"description": "The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set and the legacy Cloud Build service account ([PROJECT_NUM]@cloudbuild.gserviceaccount.com) is the default for the project then it will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`", +"type": "string" +}, +"sourceToBuild": { +"$ref": "GitRepoSource", +"description": "The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers." +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Substitutions for Build resource. The keys must match the following regular expression: `^_[A-Z0-9_]+$`.", +"type": "object" +}, +"tags": { +"description": "Tags for annotation of a `BuildTrigger`", +"items": { +"type": "string" +}, +"type": "array" +}, +"triggerTemplate": { +"$ref": "RepoSource", +"description": "Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with `github`." +}, +"webhookConfig": { +"$ref": "WebhookConfig", +"description": "WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL." +} +}, +"type": "object" +}, +"BuiltImage": { +"description": "An image built by the pipeline.", +"id": "BuiltImage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"digest": { +"description": "Docker Registry 2.0 digest.", +"type": "string" +}, +"name": { +"description": "Name used to push the container image to Google Container Registry, as presented to `docker push`.", +"type": "string" +}, +"pushTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing the specified image.", +"readOnly": true +} +}, +"type": "object" +}, +"CancelBuildRequest": { +"description": "Request to cancel an ongoing build.", +"id": "CancelBuildRequest", +"properties": { +"id": { +"description": "Required. ID of the build.", +"type": "string" +}, +"name": { +"description": "The name of the `Build` to cancel. Format: `projects/{project}/locations/{location}/builds/{build}`", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ConnectedRepository": { +"description": "Location of the source in a 2nd-gen Google Cloud Build repository resource.", +"id": "ConnectedRepository", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"repository": { +"description": "Required. Name of the Google Cloud Build repository, formatted as `projects/*/locations/*/connections/*/repositories/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"CreateBitbucketServerConfigOperationMetadata": { +"description": "Metadata for `CreateBitbucketServerConfig` operation.", +"id": "CreateBitbucketServerConfigOperationMetadata", +"properties": { +"bitbucketServerConfig": { +"description": "The resource name of the BitbucketServerConfig to be created. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", +"type": "string" +}, +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CreateBitbucketServerConnectedRepositoryRequest": { +"description": "Request to connect a repository from a connected Bitbucket Server host.", +"id": "CreateBitbucketServerConnectedRepositoryRequest", +"properties": { +"bitbucketServerConnectedRepository": { +"$ref": "BitbucketServerConnectedRepository", +"description": "Required. The Bitbucket Server repository to connect." +}, +"parent": { +"description": "Required. The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`", +"type": "string" +} +}, +"type": "object" +}, +"CreateGitHubEnterpriseConfigOperationMetadata": { +"description": "Metadata for `CreateGithubEnterpriseConfig` operation.", +"id": "CreateGitHubEnterpriseConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateGitLabConfigOperationMetadata": { +"description": "Metadata for `CreateGitLabConfig` operation.", +"id": "CreateGitLabConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"gitlabConfig": { +"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CreateGitLabConnectedRepositoryRequest": { +"description": "Request to connect a repository from a connected GitLab host.", +"id": "CreateGitLabConnectedRepositoryRequest", +"properties": { +"gitlabConnectedRepository": { +"$ref": "GitLabConnectedRepository", +"description": "Required. The GitLab repository to connect." +}, +"parent": { +"description": "Required. The name of the `GitLabConfig` that adds connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", +"type": "string" +} +}, +"type": "object" +}, +"CreateWorkerPoolOperationMetadata": { +"description": "Metadata for the `CreateWorkerPool` operation.", +"id": "CreateWorkerPoolOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"workerPool": { +"description": "The resource name of the `WorkerPool` to create. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", +"type": "string" +} +}, +"type": "object" +}, +"DefaultServiceAccount": { +"description": "The default service account used for `Builds`.", +"id": "DefaultServiceAccount", +"properties": { +"name": { +"description": "Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount`.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "Output only. The email address of the service account identity that will be used for a build by default. This is returned in the format `projects/{project}/serviceAccounts/{service_account}` where `{service_account}` could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com. If no service account will be used by default, this will be empty.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeleteBitbucketServerConfigOperationMetadata": { +"description": "Metadata for `DeleteBitbucketServerConfig` operation.", +"id": "DeleteBitbucketServerConfigOperationMetadata", +"properties": { +"bitbucketServerConfig": { +"description": "The resource name of the BitbucketServerConfig to be deleted. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", +"type": "string" +}, +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DeleteGitHubEnterpriseConfigOperationMetadata": { +"description": "Metadata for `DeleteGitHubEnterpriseConfig` operation.", +"id": "DeleteGitHubEnterpriseConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteGitLabConfigOperationMetadata": { +"description": "Metadata for `DeleteGitLabConfig` operation.", +"id": "DeleteGitLabConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"gitlabConfig": { +"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteWorkerPoolOperationMetadata": { +"description": "Metadata for the `DeleteWorkerPool` operation.", +"id": "DeleteWorkerPoolOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"workerPool": { +"description": "The resource name of the `WorkerPool` being deleted. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", +"type": "string" +} +}, +"type": "object" +}, +"Dependency": { +"description": "A dependency that the Cloud Build worker will fetch before executing user steps.", +"id": "Dependency", +"properties": { +"empty": { +"description": "If set to true disable all dependency fetching (ignoring the default source as well).", +"type": "boolean" +}, +"gitSource": { +"$ref": "GitSourceDependency", +"description": "Represents a git repository as a build dependency." +} +}, +"type": "object" +}, +"DeveloperConnectConfig": { +"description": "This config defines the location of a source through Developer Connect.", +"id": "DeveloperConnectConfig", +"properties": { +"dir": { +"description": "Required. Directory, relative to the source root, in which to run the build.", +"type": "string" +}, +"gitRepositoryLink": { +"description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", +"type": "string" +}, +"revision": { +"description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", +"type": "string" +} +}, +"type": "object" +}, +"DeveloperConnectEventConfig": { +"description": "The configuration of a trigger that creates a build whenever an event from the DeveloperConnect API is received.", +"id": "DeveloperConnectEventConfig", +"properties": { +"gitRepositoryLink": { +"description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", +"type": "string" +}, +"gitRepositoryLinkType": { +"description": "Output only. The type of DeveloperConnect GitRepositoryLink.", +"enum": [ +"GIT_REPOSITORY_LINK_TYPE_UNSPECIFIED", +"GITHUB", +"GITHUB_ENTERPRISE", +"GITLAB", +"GITLAB_ENTERPRISE", +"BITBUCKET_DATA_CENTER", +"BITBUCKET_CLOUD" +], +"enumDescriptions": [ +"If unspecified, GitRepositoryLinkType defaults to GITHUB.", +"The SCM repo is GITHUB.", +"The SCM repo is GITHUB_ENTERPRISE.", +"The SCM repo is GITLAB.", +"The SCM repo is GITLAB_ENTERPRISE.", +"The SCM repo is BITBUCKET_DATA_CENTER.", +"The SCM repo is BITBUCKET_CLOUD." +], +"readOnly": true, +"type": "string" +}, +"pullRequest": { +"$ref": "PullRequestFilter", +"description": "Filter to match changes in pull requests." +}, +"push": { +"$ref": "PushFilter", +"description": "Filter to match changes in refs like branches and tags." +} +}, +"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" +}, +"FailureInfo": { +"description": "A fatal problem encountered during the execution of the build.", +"id": "FailureInfo", +"properties": { +"detail": { +"description": "Explains the failure issue in more detail using hard-coded text.", +"type": "string" +}, +"type": { +"description": "The name of the failure.", +"enum": [ +"FAILURE_TYPE_UNSPECIFIED", +"PUSH_FAILED", +"PUSH_IMAGE_NOT_FOUND", +"PUSH_NOT_AUTHORIZED", +"LOGGING_FAILURE", +"USER_BUILD_STEP", +"FETCH_SOURCE_FAILED" +], +"enumDescriptions": [ +"Type unspecified", +"Unable to push the image to the repository.", +"Final image not found.", +"Unauthorized push of the final image.", +"Backend logging failures. Should retry.", +"A build step has failed.", +"The source fetching has failed." +], +"type": "string" +} +}, +"type": "object" +}, +"FileHashes": { +"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", +"id": "FileHashes", +"properties": { +"fileHash": { +"description": "Collection of file hashes.", +"items": { +"$ref": "Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"GitConfig": { +"description": "GitConfig is a configuration for git operations.", +"id": "GitConfig", +"properties": { +"http": { +"$ref": "HttpConfig", +"description": "Configuration for HTTP related git operations." +} +}, +"type": "object" +}, +"GitFileSource": { +"description": "GitFileSource describes a file within a (possibly remote) code repository.", +"id": "GitFileSource", +"properties": { +"bitbucketServerConfig": { +"description": "The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.", +"type": "string" +}, +"path": { +"description": "The path of the file, with the repo root as the root of the path.", +"type": "string" +}, +"repoType": { +"description": "See RepoType above.", +"enum": [ +"UNKNOWN", +"CLOUD_SOURCE_REPOSITORIES", +"GITHUB", +"BITBUCKET_SERVER", +"GITLAB", +"BITBUCKET_CLOUD" +], +"enumDescriptions": [ +"The default, unknown repo type. Don't use it, instead use one of the other repo types.", +"A Google Cloud Source Repositories-hosted repo.", +"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).", +"A Bitbucket Server-hosted repo.", +"A GitLab-hosted repo.", +"A Bitbucket Cloud-hosted repo." +], +"type": "string" +}, +"repository": { +"description": "The fully qualified resource name of the Repos API repository. Either URI or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.", +"type": "string" +}, +"revision": { +"description": "The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.", +"type": "string" +}, +"uri": { +"description": "The URI of the repo. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.", +"type": "string" +} +}, +"type": "object" +}, +"GitHubEnterpriseConfig": { +"description": "GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.", +"id": "GitHubEnterpriseConfig", +"properties": { +"appId": { +"description": "Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.", +"format": "int64", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the installation was associated with the project.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Name to display for this config.", +"type": "string" +}, +"hostUrl": { +"description": "The URL of the github enterprise host the configuration is for.", +"type": "string" +}, +"name": { +"description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"type": "string" +}, +"peeredNetwork": { +"description": "Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.", +"type": "string" +}, +"secrets": { +"$ref": "GitHubEnterpriseSecrets", +"description": "Optional. Names of secrets in Secret Manager." +}, +"sslCa": { +"description": "Optional. SSL certificate to use for requests to GitHub Enterprise.", +"type": "string" +}, +"webhookKey": { +"description": "The key that should be attached to webhook calls to the ReceiveWebhook endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"GitHubEnterpriseSecrets": { +"description": "GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.", +"id": "GitHubEnterpriseSecrets", +"properties": { +"oauthClientIdName": { +"deprecated": true, +"description": "The resource name for the OAuth client ID secret in Secret Manager.", +"type": "string" +}, +"oauthClientIdVersionName": { +"description": "The resource name for the OAuth client ID secret version in Secret Manager.", +"type": "string" +}, +"oauthSecretName": { +"deprecated": true, +"description": "The resource name for the OAuth secret in Secret Manager.", +"type": "string" +}, +"oauthSecretVersionName": { +"description": "The resource name for the OAuth secret secret version in Secret Manager.", +"type": "string" +}, +"privateKeyName": { +"deprecated": true, +"description": "The resource name for the private key secret.", +"type": "string" +}, +"privateKeyVersionName": { +"description": "The resource name for the private key secret version.", +"type": "string" +}, +"webhookSecretName": { +"deprecated": true, +"description": "The resource name for the webhook secret in Secret Manager.", +"type": "string" +}, +"webhookSecretVersionName": { +"description": "The resource name for the webhook secret secret version in Secret Manager.", +"type": "string" +} +}, +"type": "object" +}, +"GitHubEventsConfig": { +"description": "GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.", +"id": "GitHubEventsConfig", +"properties": { +"enterpriseConfigResourceName": { +"description": "The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", +"type": "string" +}, +"installationId": { +"deprecated": true, +"description": "The installationID that emits the GitHub event.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is \"cloud-builders\".", +"type": "string" +}, +"owner": { +"description": "Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is \"googlecloudplatform\".", +"type": "string" +}, +"pullRequest": { +"$ref": "PullRequestFilter", +"description": "filter to match changes in pull requests." +}, +"push": { +"$ref": "PushFilter", +"description": "filter to match changes in refs like branches, tags." +} +}, +"type": "object" +}, +"GitLabConfig": { +"description": "GitLabConfig represents the configuration for a GitLab integration.", +"id": "GitLabConfig", +"properties": { +"connectedRepositories": { +"description": "Connected GitLab.com or GitLabEnterprise repositories for this config.", +"items": { +"$ref": "GitLabRepositoryId" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when the config was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"enterpriseConfig": { +"$ref": "GitLabEnterpriseConfig", +"description": "Optional. GitLabEnterprise config." +}, +"name": { +"description": "The resource name for the config.", +"type": "string" +}, +"secrets": { +"$ref": "GitLabSecrets", +"description": "Required. Secret Manager secrets needed by the config." +}, +"username": { +"description": "Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.", +"type": "string" +}, +"webhookKey": { +"description": "Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GitLabConnectedRepository": { +"description": "GitLabConnectedRepository represents a GitLab connected repository request response.", +"id": "GitLabConnectedRepository", +"properties": { +"parent": { +"description": "The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`", +"type": "string" +}, +"repo": { +"$ref": "GitLabRepositoryId", +"description": "The GitLab repositories to connect." +}, +"status": { +"$ref": "Status", +"description": "Output only. The status of the repo connection request.", +"readOnly": true +} +}, +"type": "object" +}, +"GitLabEnterpriseConfig": { +"description": "GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration.", +"id": "GitLabEnterpriseConfig", +"properties": { +"hostUri": { +"description": "Immutable. The URI of the GitlabEnterprise host.", +"type": "string" +}, +"serviceDirectoryConfig": { +"$ref": "ServiceDirectoryConfig", +"description": "The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance." +}, +"sslCa": { +"description": "The SSL certificate to use in requests to GitLab Enterprise instances.", +"type": "string" +} +}, +"type": "object" +}, +"GitLabEventsConfig": { +"description": "GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received.", +"id": "GitLabEventsConfig", +"properties": { +"gitlabConfig": { +"$ref": "GitLabConfig", +"description": "Output only. The GitLabConfig specified in the gitlab_config_resource field.", +"readOnly": true +}, +"gitlabConfigResource": { +"description": "The GitLab config resource that this trigger config maps to.", +"type": "string" +}, +"projectNamespace": { +"description": "Namespace of the GitLab project.", +"type": "string" +}, +"pullRequest": { +"$ref": "PullRequestFilter", +"description": "Filter to match changes in pull requests." +}, +"push": { +"$ref": "PushFilter", +"description": "Filter to match changes in refs like branches, tags." +} +}, +"type": "object" +}, +"GitLabRepository": { +"description": "Proto Representing a GitLabRepository", +"id": "GitLabRepository", +"properties": { +"browseUri": { +"description": "Link to the browse repo page on the GitLab instance", +"type": "string" +}, +"description": { +"description": "Description of the repository", +"type": "string" +}, +"displayName": { +"description": "Display name of the repository", +"type": "string" +}, +"name": { +"description": "The resource name of the repository", +"type": "string" +}, +"repositoryId": { +"$ref": "GitLabRepositoryId", +"description": "Identifier for a repository" +} +}, +"type": "object" +}, +"GitLabRepositoryId": { +"description": "GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise", +"id": "GitLabRepositoryId", +"properties": { +"id": { +"description": "Required. Identifier for the repository. example: \"namespace/project-slug\", namespace is usually the username or group ID", +"type": "string" +}, +"webhookId": { +"description": "Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GitLabSecrets": { +"description": "GitLabSecrets represents the secrets in Secret Manager for a GitLab integration.", +"id": "GitLabSecrets", +"properties": { +"apiAccessTokenVersion": { +"description": "Required. The resource name for the api access token\u2019s secret version", +"type": "string" +}, +"apiKeyVersion": { +"description": "Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.", +"type": "string" +}, +"readAccessTokenVersion": { +"description": "Required. The resource name for the read access token\u2019s secret version", +"type": "string" +}, +"webhookSecretVersion": { +"description": "Required. Immutable. The resource name for the webhook secret\u2019s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.", +"type": "string" +} +}, +"type": "object" +}, +"GitRepoSource": { +"description": "GitRepoSource describes a repo and ref of a code repository.", +"id": "GitRepoSource", +"properties": { +"bitbucketServerConfig": { +"description": "The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.", +"type": "string" +}, +"ref": { +"description": "The branch or tag to use. Must start with \"refs/\" (required).", +"type": "string" +}, +"repoType": { +"description": "See RepoType below.", +"enum": [ +"UNKNOWN", +"CLOUD_SOURCE_REPOSITORIES", +"GITHUB", +"BITBUCKET_SERVER", +"GITLAB", +"BITBUCKET_CLOUD" +], +"enumDescriptions": [ +"The default, unknown repo type. Don't use it, instead use one of the other repo types.", +"A Google Cloud Source Repositories-hosted repo.", +"A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise).", +"A Bitbucket Server-hosted repo.", +"A GitLab-hosted repo.", +"A Bitbucket Cloud-hosted repo." +], +"type": "string" +}, +"repository": { +"description": "The connected repository resource name, in the format `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or `repository` can be specified and is required.", +"type": "string" +}, +"uri": { +"description": "The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `repository` can be specified and is required.", +"type": "string" +} +}, +"type": "object" +}, +"GitSource": { +"description": "Location of the source in any accessible Git repository.", +"id": "GitSource", +"properties": { +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"revision": { +"description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", +"type": "string" +}, +"url": { +"description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", +"type": "string" +} +}, +"type": "object" +}, +"GitSourceDependency": { +"description": "Represents a git repository as a build dependency.", +"id": "GitSourceDependency", +"properties": { +"depth": { +"description": "Optional. How much history should be fetched for the build (default 1, -1 for all history).", +"format": "int64", +"type": "string" +}, +"destPath": { +"description": "Required. Where should the files be placed on the worker.", +"type": "string" +}, +"recurseSubmodules": { +"description": "Optional. True if submodules should be fetched too (default false).", +"type": "boolean" +}, +"repository": { +"$ref": "GitSourceRepository", +"description": "Required. The kind of repo (url or dev connect)." +}, +"revision": { +"description": "Required. The revision that we will fetch the repo at.", +"type": "string" +} +}, +"type": "object" +}, +"GitSourceRepository": { +"description": "A repository for a git source.", +"id": "GitSourceRepository", +"properties": { +"developerConnect": { +"description": "The Developer Connect Git repository link formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`", +"type": "string" +}, +"url": { +"description": "Location of the Git repository.", +"type": "string" +} +}, +"type": "object" +}, +"GoModule": { +"description": "Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.", +"id": "GoModule", +"properties": { +"modulePath": { +"description": "Optional. The Go module's \"module path\". e.g. example.com/foo/v2", +"type": "string" +}, +"moduleVersion": { +"description": "Optional. The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1 Pre-release identifiers can also be added by appending a dash and dot separated ASCII alphanumeric characters and hyphens. e.g. v0.2.3-alpha.x.12m.5", +"type": "string" +}, +"repositoryLocation": { +"description": "Optional. Location of the Artifact Registry repository. i.e. us-east1 Defaults to the build\u2019s location.", +"type": "string" +}, +"repositoryName": { +"description": "Optional. Artifact Registry repository name. Specified Go modules will be zipped and uploaded to Artifact Registry with this location as a prefix. e.g. my-go-repo", +"type": "string" +}, +"repositoryProjectId": { +"description": "Optional. Project ID of the Artifact Registry repository. Defaults to the build project.", +"type": "string" +}, +"sourcePath": { +"description": "Optional. Source path of the go.mod file in the build's workspace. If not specified, this will default to the current directory. e.g. ~/code/go/mypackage", +"type": "string" +} +}, +"type": "object" +}, +"Hash": { +"description": "Container message for hash values.", +"id": "Hash", +"properties": { +"type": { +"description": "The type of hash that was performed.", +"enum": [ +"NONE", +"SHA256", +"MD5", +"GO_MODULE_H1", +"SHA512" +], +"enumDescriptions": [ +"No hash requested.", +"Use a sha256 hash.", +"Use a md5 hash.", +"Dirhash of a Go module's source code which is then hex-encoded.", +"Use a sha512 hash." +], +"type": "string" +}, +"value": { +"description": "The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpConfig": { +"description": "HttpConfig is a configuration for HTTP related git operations.", +"id": "HttpConfig", +"properties": { +"proxySecretVersionName": { +"description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", +"type": "string" +} +}, +"type": "object" +}, +"InlineSecret": { +"description": "Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.", +"id": "InlineSecret", +"properties": { +"envMap": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +}, +"kmsKeyName": { +"description": "Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects/*/locations/*/keyRings/*/cryptoKeys/*", +"type": "string" +} +}, +"type": "object" +}, +"ListBitbucketServerConfigsResponse": { +"description": "RPC response object returned by ListBitbucketServerConfigs RPC method.", +"id": "ListBitbucketServerConfigsResponse", +"properties": { +"bitbucketServerConfigs": { +"description": "A list of BitbucketServerConfigs", +"items": { +"$ref": "BitbucketServerConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListBitbucketServerRepositoriesResponse": { +"description": "RPC response object returned by the ListBitbucketServerRepositories RPC method.", +"id": "ListBitbucketServerRepositoriesResponse", +"properties": { +"bitbucketServerRepositories": { +"description": "List of Bitbucket Server repositories.", +"items": { +"$ref": "BitbucketServerRepository" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListBuildTriggersResponse": { +"description": "Response containing existing `BuildTriggers`.", +"id": "ListBuildTriggersResponse", +"properties": { +"nextPageToken": { +"description": "Token to receive the next page of results.", +"type": "string" +}, +"triggers": { +"description": "`BuildTriggers` for the project, sorted by `create_time` descending.", +"items": { +"$ref": "BuildTrigger" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBuildsResponse": { +"description": "Response including listed builds.", +"id": "ListBuildsResponse", +"properties": { +"builds": { +"description": "Builds will be sorted by `create_time`, descending.", +"items": { +"$ref": "Build" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to receive the next page of results. This will be absent if the end of the response list has been reached.", +"type": "string" +} +}, +"type": "object" +}, +"ListGitLabConfigsResponse": { +"description": "RPC response object returned by ListGitLabConfigs RPC method.", +"id": "ListGitLabConfigsResponse", +"properties": { +"gitlabConfigs": { +"description": "A list of GitLabConfigs", +"items": { +"$ref": "GitLabConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListGitLabRepositoriesResponse": { +"description": "RPC response object returned by the ListGitLabRepositories RPC method.", +"id": "ListGitLabRepositoriesResponse", +"properties": { +"gitlabRepositories": { +"description": "List of GitLab repositories", +"items": { +"$ref": "GitLabRepository" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListGithubEnterpriseConfigsResponse": { +"description": "RPC response object returned by ListGithubEnterpriseConfigs RPC method.", +"id": "ListGithubEnterpriseConfigsResponse", +"properties": { +"configs": { +"description": "A list of GitHubEnterpriseConfigs", +"items": { +"$ref": "GitHubEnterpriseConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkerPoolsResponse": { +"description": "Response containing existing `WorkerPools`.", +"id": "ListWorkerPoolsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results.", +"type": "string" +}, +"workerPools": { +"description": "`WorkerPools` for the specified project.", +"items": { +"$ref": "WorkerPool" +}, +"type": "array" +} +}, +"type": "object" +}, +"MavenArtifact": { +"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.", +"id": "MavenArtifact", +"properties": { +"artifactId": { +"description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"deployFolder": { +"description": "Optional. Path to a folder containing the files to upload to Artifact Registry. This can be either an absolute path, e.g. `/workspace/my-app/target/`, or a relative path from /workspace, e.g. `my-app/target/`. This field is mutually exclusive with the `path` field.", +"type": "string" +}, +"groupId": { +"description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.", +"type": "string" +}, +"path": { +"description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +}, +"version": { +"description": "Maven `version` value used when uploading the artifact to Artifact Registry.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Defines the network configuration for the pool.", +"id": "NetworkConfig", +"properties": { +"egressOption": { +"description": "Option to configure network egress for the workers.", +"enum": [ +"EGRESS_OPTION_UNSPECIFIED", +"NO_PUBLIC_EGRESS", +"PUBLIC_EGRESS" +], +"enumDescriptions": [ +"If set, defaults to PUBLIC_EGRESS.", +"If set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured.", +"If set, workers are created with a public address which allows for public internet egress." +], +"type": "string" +}, +"peeredNetwork": { +"description": "Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/build/docs/private-pools/set-up-private-pool-environment)", +"type": "string" +}, +"peeredNetworkIpRange": { +"description": "Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.", +"type": "string" +} +}, +"type": "object" +}, +"NpmPackage": { +"description": "Npm package to upload to Artifact Registry upon successful completion of all build steps.", +"id": "NpmPackage", +"properties": { +"packagePath": { +"description": "Optional. Path to the package.json. e.g. workspace/path/to/package Only one of `archive` or `package_path` can be specified.", +"type": "string" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY\" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PoolOption": { +"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.", +"id": "PoolOption", +"properties": { +"name": { +"description": "The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}", +"type": "string" +} +}, +"type": "object" +}, +"PrivatePoolV1Config": { +"description": "Configuration for a V1 `PrivatePool`.", +"id": "PrivatePoolV1Config", +"properties": { +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Network configuration for the pool." +}, +"privateServiceConnect": { +"$ref": "PrivateServiceConnect", +"description": "Immutable. Private Service Connect(PSC) Network configuration for the pool." +}, +"workerConfig": { +"$ref": "WorkerConfig", +"description": "Machine configuration for the workers in the pool." +} +}, +"type": "object" +}, +"PrivateServiceConnect": { +"description": "Defines the Private Service Connect network configuration for the pool.", +"id": "PrivateServiceConnect", +"properties": { +"networkAttachment": { +"description": "Required. Immutable. The network attachment that the worker network interface is peered to. Must be in the format `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. The region of network attachment must be the same as the worker pool. See [Network Attachments](https://cloud.google.com/vpc/docs/about-network-attachments)", +"type": "string" +}, +"publicIpAddressDisabled": { +"description": "Required. Immutable. Disable public IP on the primary network interface. If true, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured. If false, workers are created with a public address which allows for public internet egress. The public address only applies to traffic through the primary network interface. If `route_all_traffic` is set to true, all traffic will go through the non-primary network interface, this boolean has no effect.", +"type": "boolean" +}, +"routeAllTraffic": { +"description": "Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route RFC 1918 (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) and RFC 6598 (100.64.0.0/10) through PSC interface.", +"type": "boolean" +} +}, +"type": "object" +}, +"ProcessAppManifestCallbackOperationMetadata": { +"description": "Metadata for `ProcessAppManifestCallback` operation.", +"id": "ProcessAppManifestCallbackOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"PubsubConfig": { +"description": "PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.", +"id": "PubsubConfig", +"properties": { +"serviceAccountEmail": { +"description": "Service account that will make the push request.", +"type": "string" +}, +"state": { +"description": "Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.", +"enum": [ +"STATE_UNSPECIFIED", +"OK", +"SUBSCRIPTION_DELETED", +"TOPIC_DELETED", +"SUBSCRIPTION_MISCONFIGURED" +], +"enumDescriptions": [ +"The subscription configuration has not been checked.", +"The Pub/Sub subscription is properly configured.", +"The subscription has been deleted.", +"The topic has been deleted.", +"Some of the subscription's field are misconfigured." +], +"type": "string" +}, +"subscription": { +"description": "Output only. Name of the subscription. Format is `projects/{project}/subscriptions/{subscription}`.", +"readOnly": true, +"type": "string" +}, +"topic": { +"description": "Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`.", +"type": "string" +} +}, +"type": "object" +}, +"PullRequestFilter": { +"description": "PullRequestFilter contains filter properties for matching GitHub Pull Requests.", +"id": "PullRequestFilter", +"properties": { +"branch": { +"description": "Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"commentControl": { +"description": "If CommentControl is enabled, depending on the setting, builds may not fire until a repository writer comments `/gcbrun` on a pull request or `/gcbrun` is in the pull request description. Only PR comments that contain `/gcbrun` will trigger builds. If CommentControl is set to disabled, comments with `/gcbrun` from a user with repository write permission or above will still trigger builds to run.", +"enum": [ +"COMMENTS_DISABLED", +"COMMENTS_ENABLED", +"COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY" +], +"enumDescriptions": [ +"Do not require `/gcbrun` comments from a user with repository write permission or above on pull requests before builds are triggered. Comments that contain `/gcbrun` will still fire builds so this should be thought of as comments not required.", +"Builds will only fire in response to pull requests if: 1. The pull request author has repository write permission or above and `/gcbrun` is in the PR description. 2. A user with repository writer permissions or above comments `/gcbrun` on a pull request authored by any user.", +"Builds will only fire in response to pull requests if: 1. The pull request author is a repository writer or above. 2. If the author does not have write permissions, a user with write permissions or above must comment `/gcbrun` in order to fire a build." +], +"type": "string" +}, +"invertRegex": { +"description": "If true, branches that do NOT match the git_ref will trigger a build.", +"type": "boolean" +} +}, +"type": "object" +}, +"PushFilter": { +"description": "Push contains filter properties for matching GitHub git pushes.", +"id": "PushFilter", +"properties": { +"branch": { +"description": "Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"invertRegex": { +"description": "When true, only trigger a build if the revision regex does NOT match the git_ref regex.", +"type": "boolean" +}, +"tag": { +"description": "Regexes matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +} +}, +"type": "object" +}, +"PythonPackage": { +"description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.", +"id": "PythonPackage", +"properties": { +"paths": { +"description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.", +"items": { +"type": "string" +}, +"type": "array" +}, +"repository": { +"description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.", +"type": "string" +} +}, +"type": "object" +}, +"ReceiveTriggerWebhookResponse": { +"description": "ReceiveTriggerWebhookResponse [Experimental] is the response object for the ReceiveTriggerWebhook method.", +"id": "ReceiveTriggerWebhookResponse", +"properties": {}, +"type": "object" +}, +"RemoveBitbucketServerConnectedRepositoryRequest": { +"description": "RPC request object accepted by RemoveBitbucketServerConnectedRepository RPC method.", +"id": "RemoveBitbucketServerConnectedRepositoryRequest", +"properties": { +"connectedRepository": { +"$ref": "BitbucketServerRepositoryId", +"description": "The connected repository to remove." +} +}, +"type": "object" +}, +"RemoveGitLabConnectedRepositoryRequest": { +"description": "RPC request object accepted by RemoveGitLabConnectedRepository RPC method.", +"id": "RemoveGitLabConnectedRepositoryRequest", +"properties": { +"connectedRepository": { +"$ref": "GitLabRepositoryId", +"description": "The connected repository to remove." +} +}, +"type": "object" +}, +"RepoSource": { +"description": "Location of the source in a Google Cloud Source Repository.", +"id": "RepoSource", +"properties": { +"branchName": { +"description": "Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +}, +"commitSha": { +"description": "Explicit commit SHA to build.", +"type": "string" +}, +"dir": { +"description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", +"type": "string" +}, +"invertRegex": { +"description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", +"type": "boolean" +}, +"projectId": { +"description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", +"type": "string" +}, +"repoName": { +"description": "Required. Name of the Cloud Source Repository.", +"type": "string" +}, +"substitutions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", +"type": "object" +}, +"tagName": { +"description": "Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax", +"type": "string" +} +}, +"type": "object" +}, +"RepositoryEventConfig": { +"description": "The configuration of a trigger that creates a build whenever an event from Repo API is received.", +"id": "RepositoryEventConfig", +"properties": { +"pullRequest": { +"$ref": "PullRequestFilter", +"description": "Filter to match changes in pull requests." +}, +"push": { +"$ref": "PushFilter", +"description": "Filter to match changes in refs like branches, tags." +}, +"repository": { +"description": "The resource name of the Repo API resource.", +"type": "string" +}, +"repositoryType": { +"description": "Output only. The type of the SCM vendor the repository points to.", +"enum": [ +"REPOSITORY_TYPE_UNSPECIFIED", +"GITHUB", +"GITHUB_ENTERPRISE", +"GITLAB_ENTERPRISE", +"BITBUCKET_DATA_CENTER", +"BITBUCKET_CLOUD" +], +"enumDescriptions": [ +"If unspecified, RepositoryType defaults to GITHUB.", +"The SCM repo is GITHUB.", +"The SCM repo is GITHUB Enterprise.", +"The SCM repo is GITLAB Enterprise.", +"The SCM repo is BITBUCKET Data Center.", +"The SCM repo is BITBUCKET Cloud." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Results": { +"description": "Artifacts created by the build pipeline.", +"id": "Results", +"properties": { +"artifactManifest": { +"description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"type": "string" +}, +"artifactTiming": { +"$ref": "TimeSpan", +"description": "Time to push all non-container artifacts to Cloud Storage." +}, +"buildStepImages": { +"description": "List of build step digests, in the order corresponding to build step indices.", +"items": { +"type": "string" +}, +"type": "array" +}, +"buildStepOutputs": { +"description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"goModules": { +"description": "Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "UploadedGoModule" +}, +"type": "array" +}, +"images": { +"description": "Container images that were built as a part of the build.", +"items": { +"$ref": "BuiltImage" +}, +"type": "array" +}, +"mavenArtifacts": { +"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "UploadedMavenArtifact" +}, +"type": "array" +}, +"npmPackages": { +"description": "Npm packages uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "UploadedNpmPackage" +}, +"type": "array" +}, +"numArtifacts": { +"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.", +"format": "int64", +"type": "string" +}, +"pythonPackages": { +"description": "Python artifacts uploaded to Artifact Registry at the end of the build.", +"items": { +"$ref": "UploadedPythonPackage" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetryBuildRequest": { +"description": "Specifies a build to retry.", +"id": "RetryBuildRequest", +"properties": { +"id": { +"description": "Required. Build ID of the original build.", +"type": "string" +}, +"name": { +"description": "The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}`", +"type": "string" +}, +"projectId": { +"description": "Required. ID of the project.", +"type": "string" +} +}, +"type": "object" +}, +"RunBuildTriggerRequest": { +"description": "Specifies a build trigger to run and the source to use.", +"id": "RunBuildTriggerRequest", +"properties": { +"projectId": { +"description": "Required. ID of the project.", +"type": "string" +}, +"source": { +"$ref": "RepoSource", +"description": "Source to build against this trigger. Branch and tag names cannot consist of regular expressions." +}, +"triggerId": { +"description": "Required. ID of the trigger.", +"type": "string" +} +}, +"type": "object" +}, +"Secret": { +"description": "Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.", +"id": "Secret", +"properties": { +"kmsKeyName": { +"description": "Cloud KMS key name to use to decrypt these envs.", +"type": "string" +}, +"secretEnv": { +"additionalProperties": { +"format": "byte", +"type": "string" +}, +"description": "Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.", +"type": "object" +} +}, +"type": "object" +}, +"SecretManagerSecret": { +"description": "Pairs a secret environment variable with a SecretVersion in Secret Manager.", +"id": "SecretManagerSecret", +"properties": { +"env": { +"description": "Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.", +"type": "string" +}, +"versionName": { +"description": "Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*", +"type": "string" +} +}, +"type": "object" +}, +"Secrets": { +"description": "Secrets and secret environment variables.", +"id": "Secrets", +"properties": { +"inline": { +"description": "Secrets encrypted with KMS key and the associated secret environment variable.", +"items": { +"$ref": "InlineSecret" +}, +"type": "array" +}, +"secretManager": { +"description": "Secrets in Secret Manager and associated secret environment variable.", +"items": { +"$ref": "SecretManagerSecret" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceDirectoryConfig": { +"description": "ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection.", +"id": "ServiceDirectoryConfig", +"properties": { +"service": { +"description": "The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.", +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Location of the source in a supported storage service.", +"id": "Source", +"properties": { +"connectedRepository": { +"$ref": "ConnectedRepository", +"description": "Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource." +}, +"developerConnectConfig": { +"$ref": "DeveloperConnectConfig", +"description": "If provided, get the source from this Developer Connect config." +}, +"gitSource": { +"$ref": "GitSource", +"description": "If provided, get the source from this Git repository." +}, +"repoSource": { +"$ref": "RepoSource", +"description": "If provided, get the source from this location in a Cloud Source Repository." +}, +"storageSource": { +"$ref": "StorageSource", +"description": "If provided, get the source from this location in Cloud Storage." +}, +"storageSourceManifest": { +"$ref": "StorageSourceManifest", +"description": "If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher)." +} +}, +"type": "object" +}, +"SourceProvenance": { +"description": "Provenance of the source. Ways to find the original source, or verify that some source was used for this build.", +"id": "SourceProvenance", +"properties": { +"fileHashes": { +"additionalProperties": { +"$ref": "FileHashes" +}, +"description": "Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file.", +"readOnly": true, +"type": "object" +}, +"resolvedConnectedRepository": { +"$ref": "ConnectedRepository", +"description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedGitSource": { +"$ref": "GitSource", +"description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", +"readOnly": true +}, +"resolvedRepoSource": { +"$ref": "RepoSource", +"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." +}, +"resolvedStorageSource": { +"$ref": "StorageSource", +"description": "A copy of the build's `source.storage_source`, if exists, with any generations resolved." +}, +"resolvedStorageSourceManifest": { +"$ref": "StorageSourceManifest", +"description": "A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview." +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageSource": { +"description": "Location of the source in an archive file in Cloud Storage.", +"id": "StorageSource", +"properties": { +"bucket": { +"description": "Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", +"type": "string" +}, +"sourceFetcher": { +"description": "Optional. Option to specify the tool to fetch the source file for the build.", +"enum": [ +"SOURCE_FETCHER_UNSPECIFIED", +"GSUTIL", +"GCS_FETCHER" +], +"enumDescriptions": [ +"Unspecified defaults to GSUTIL.", +"Use the \"gsutil\" tool to download the source file.", +"Use the Cloud Storage Fetcher tool to download the source file." +], +"type": "string" +} +}, +"type": "object" +}, +"StorageSourceManifest": { +"description": "Location of the source manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).", +"id": "StorageSourceManifest", +"properties": { +"bucket": { +"description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", +"type": "string" +}, +"generation": { +"description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", +"format": "int64", +"type": "string" +}, +"object": { +"description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", +"type": "string" +} +}, +"type": "object" +}, +"TimeSpan": { +"description": "Start and end times for a build execution phase.", +"id": "TimeSpan", +"properties": { +"endTime": { +"description": "End of time span.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time span.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateBitbucketServerConfigOperationMetadata": { +"description": "Metadata for `UpdateBitbucketServerConfig` operation.", +"id": "UpdateBitbucketServerConfigOperationMetadata", +"properties": { +"bitbucketServerConfig": { +"description": "The resource name of the BitbucketServerConfig to be updated. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.", +"type": "string" +}, +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UpdateGitHubEnterpriseConfigOperationMetadata": { +"description": "Metadata for `UpdateGitHubEnterpriseConfig` operation.", +"id": "UpdateGitHubEnterpriseConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"githubEnterpriseConfig": { +"description": "The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateGitLabConfigOperationMetadata": { +"description": "Metadata for `UpdateGitLabConfig` operation.", +"id": "UpdateGitLabConfigOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"gitlabConfig": { +"description": "The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateWorkerPoolOperationMetadata": { +"description": "Metadata for the `UpdateWorkerPool` operation.", +"id": "UpdateWorkerPoolOperationMetadata", +"properties": { +"completeTime": { +"description": "Time the operation was completed.", +"format": "google-datetime", +"type": "string" +}, +"createTime": { +"description": "Time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"workerPool": { +"description": "The resource name of the `WorkerPool` being updated. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`.", +"type": "string" +} +}, +"type": "object" +}, +"UploadedGoModule": { +"description": "A Go module artifact uploaded to Artifact Registry using the GoModule directive.", +"id": "UploadedGoModule", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "FileHashes", +"description": "Hash types and values of the Go Module Artifact." +}, +"pushTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"UploadedMavenArtifact": { +"description": "A Maven artifact uploaded using the MavenArtifact directive.", +"id": "UploadedMavenArtifact", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "FileHashes", +"description": "Hash types and values of the Maven Artifact." +}, +"pushTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"UploadedNpmPackage": { +"description": "An npm package uploaded to Artifact Registry using the NpmPackage directive.", +"id": "UploadedNpmPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "FileHashes", +"description": "Hash types and values of the npm package." +}, +"pushTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded npm package.", +"type": "string" +} +}, +"type": "object" +}, +"UploadedPythonPackage": { +"description": "Artifact uploaded using the PythonPackage directive.", +"id": "UploadedPythonPackage", +"properties": { +"artifactRegistryPackage": { +"description": "Output only. Path to the artifact in Artifact Registry.", +"readOnly": true, +"type": "string" +}, +"fileHashes": { +"$ref": "FileHashes", +"description": "Hash types and values of the Python Artifact." +}, +"pushTiming": { +"$ref": "TimeSpan", +"description": "Output only. Stores timing information for pushing the specified artifact.", +"readOnly": true +}, +"uri": { +"description": "URI of the uploaded artifact.", +"type": "string" +} +}, +"type": "object" +}, +"Volume": { +"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.", +"id": "Volume", +"properties": { +"name": { +"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.", +"type": "string" +}, +"path": { +"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.", +"type": "string" +} +}, +"type": "object" +}, +"Warning": { +"description": "A non-fatal problem encountered during the execution of the build.", +"id": "Warning", +"properties": { +"priority": { +"description": "The priority for this warning.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"INFO", +"WARNING", +"ALERT" +], +"enumDescriptions": [ +"Should not be used.", +"e.g. deprecation warnings and alternative feature highlights.", +"e.g. automated detection of possible issues with the build.", +"e.g. alerts that a feature used in the build is pending removal" +], +"type": "string" +}, +"text": { +"description": "Explanation of the warning generated.", +"type": "string" +} +}, +"type": "object" +}, +"WebhookConfig": { +"description": "WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.", +"id": "WebhookConfig", +"properties": { +"secret": { +"description": "Required. Resource name for the secret required as a URL parameter.", +"type": "string" +}, +"state": { +"description": "Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.", +"enum": [ +"STATE_UNSPECIFIED", +"OK", +"SECRET_DELETED" +], +"enumDescriptions": [ +"The webhook auth configuration not been checked.", +"The auth configuration is properly setup.", +"The secret provided in auth_method has been deleted." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkerConfig": { +"description": "Defines the configuration to be used for creating workers in the pool.", +"id": "WorkerConfig", +"properties": { +"diskSizeGb": { +"description": "Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 4000. If `0` is specified, Cloud Build will use a standard disk size.", +"format": "int64", +"type": "string" +}, +"enableNestedVirtualization": { +"description": "Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.", +"type": "boolean" +}, +"machineType": { +"description": "Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default.", +"type": "string" +} +}, +"type": "object" +}, +"WorkerPool": { +"description": "Configuration for a `WorkerPool`. Cloud Build owns and maintains a pool of workers for general use and have no access to a project's private network. By default, builds submitted to Cloud Build will use a worker from this pool. If your build needs access to resources on a private network, create and use a `WorkerPool` to run your builds. Private `WorkerPool`s give your builds access to any single VPC network that you administer, including any on-prem resources connected to that VPC network. For an overview of private pools, see [Private pools overview](https://cloud.google.com/build/docs/private-pools/private-pools-overview).", +"id": "WorkerPool", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", +"type": "object" +}, +"createTime": { +"description": "Output only. Time at which the request to create the `WorkerPool` was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the request to delete the `WorkerPool` was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.", +"type": "string" +}, +"etag": { +"description": "Output only. Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed.", +"readOnly": true, +"type": "string" +}, +"privatePoolV1Config": { +"$ref": "PrivatePoolV1Config", +"description": "Private Pool configuration." +}, +"state": { +"description": "Output only. `WorkerPool` state.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"RUNNING", +"DELETING", +"DELETED", +"UPDATING" +], +"enumDescriptions": [ +"State of the `WorkerPool` is unknown.", +"`WorkerPool` is being created.", +"`WorkerPool` is running.", +"`WorkerPool` is being deleted: cancelling builds and draining workers.", +"`WorkerPool` is deleted.", +"`WorkerPool` is being updated; new builds cannot be run." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. A unique identifier for the `WorkerPool`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the request to update the `WorkerPool` was received.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Build API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..8ae6c19e268b7b19014d38df8463b5b6a89d534b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json @@ -0,0 +1,1289 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudresourcemanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Resource Manager", +"description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/resource-manager", +"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": "cloudresourcemanager:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudresourcemanager.mtls.googleapis.com/", +"name": "cloudresourcemanager", +"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": { +"organizations": { +"methods": { +"get": { +"description": "Fetches an Organization resource identified by the specified resource name.", +"flatPath": "v1beta1/organizations/{organizationsId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.organizations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the Organization to fetch. This is the organization's relative path in the API, formatted as \"organizations/[organizationId]\". For example, \"organizations/1234\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"organizationId": { +"deprecated": true, +"description": "The id of the Organization resource to fetch. This field is deprecated and will be removed in v1. Use name instead.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for an Organization resource. May be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", +"flatPath": "v1beta1/organizations/{organizationsId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.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": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the list.", +"flatPath": "v1beta1/organizations", +"httpMethod": "GET", +"id": "cloudresourcemanager.organizations.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "An optional query string used to filter the Organizations to return in the response. Filter rules are case-insensitive. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`, where the domain is a verified G Suite domain, for example: * Filter `owner.directorycustomerid:123456789` returns Organization resources with `owner.directory_customer_id` equal to `123456789`. * Filter `domain:google.com` returns Organization resources corresponding to the domain `google.com`. This field is optional.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Organizations to return in the response. This field is optional.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to `ListOrganizations` that indicates from where listing should continue. This field is optional.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/organizations", +"response": { +"$ref": "ListOrganizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", +"flatPath": "v1beta1/organizations/{organizationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.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": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified Organization. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", +"flatPath": "v1beta1/organizations/{organizationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.organizations.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"update": { +"deprecated": true, +"description": "Updates an Organization resource identified by the specified resource name.", +"flatPath": "v1beta1/organizations/{organizationsId}", +"httpMethod": "PUT", +"id": "cloudresourcemanager.organizations.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Organization" +}, +"response": { +"$ref": "Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"methods": { +"create": { +"description": "Creates a Project resource. Initially, the Project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the Project. Several APIs are activated automatically for the Project, including Google Cloud Storage. The parent is identified by a specified ResourceId, which must include both an ID and a type, such as project, folder, or organization. This method does not associate the new project with a billing account. You can set or update the billing account associated with a project using the [`projects.updateBillingInfo`] (/billing/reference/rest/v1/projects/updateBillingInfo) method.", +"flatPath": "v1beta1/projects", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.create", +"parameterOrder": [], +"parameters": { +"useLegacyStack": { +"description": "A now unused experiment opt-out option.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/projects", +"request": { +"$ref": "Project" +}, +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Marks the Project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the Project if it has a lifecycle state of ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time, at which point the project is no longer accessible. Until the deletion completes, you can check the lifecycle state checked by retrieving the Project with GetProject, and the Project remains visible to ListProjects. However, you cannot update the project. After the deletion completes, the Project is not retrievable by the GetProject and ListProjects methods. The caller must have delete permissions for this Project.", +"flatPath": "v1beta1/projects/{projectId}", +"httpMethod": "DELETE", +"id": "cloudresourcemanager.projects.delete", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "The Project ID (for example, `foo-bar-123`).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.", +"flatPath": "v1beta1/projects/{projectId}", +"httpMethod": "GET", +"id": "cloudresourcemanager.projects.get", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The Project ID (for example, `my-project-123`).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}", +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getAncestry": { +"description": "Gets a list of ancestors in the resource hierarchy for the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.", +"flatPath": "v1beta1/projects/{projectId}:getAncestry", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.getAncestry", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The Project ID (for example, `my-project-123`).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}:getAncestry", +"request": { +"$ref": "GetAncestryRequest" +}, +"response": { +"$ref": "GetAncestryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Returns the IAM access control policy for the specified Project. Permission is denied if the policy or the resource does not exist. For additional information about resource structure and identification, see [Resource Names](/apis/design/resource_names).", +"flatPath": "v1beta1/projects/{resource}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.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", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "Lists Projects that the caller has the `resourcemanager.projects.get` permission on and satisfy the specified filter. This method returns Projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method. NOTE: If the request filter contains a `parent.type` and `parent.id` and the caller has the `resourcemanager.projects.list` permission on the parent, the results will be drawn from an alternate index which provides more consistent results. In future versions of this API, this List method will be split into List and Search to properly capture the behavioral difference.", +"flatPath": "v1beta1/projects", +"httpMethod": "GET", +"id": "cloudresourcemanager.projects.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "An expression for filtering the results of the request. Filter rules are case insensitive. If multiple fields are included in a filter query, the query will return results that match any of the fields. Some eligible fields for filtering are: + `name` + `id` + `labels.` (where *key* is the name of a label) + `parent.type` + `parent.id` Some examples of using labels as filters: | Filter | Description | |------------------|-----------------------------------------------------| | name:how* | The project's name starts with \"how\". | | name:Howl | The project's name is `Howl` or `howl`. | | name:HOWL | Equivalent to above. | | NAME:howl | Equivalent to above. | | labels.color:* | The project has the label `color`. | | labels.color:red | The project's label `color` has the value `red`. | | labels.color:red labels.size:big | The project's label `color` has the value `red` or its label `size` has the value `big`. | If no filter is specified, the call will return projects for which the user has the `resourcemanager.projects.get` permission. NOTE: To perform a by-parent query (eg., what projects are directly in a Folder), the caller must have the `resourcemanager.projects.list` permission on the parent and the filter must contain both a `parent.type` and a `parent.id` restriction (example: \"parent.type:folder parent.id:123\"). In this case an alternate search index is used which provides more consistent results. Optional.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of Projects to return in the response. The server can return fewer Projects than requested. If unspecified, server picks an appropriate default. Optional.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListProjects that indicates from where listing should continue. Optional.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/projects", +"response": { +"$ref": "ListProjectsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"setIamPolicy": { +"description": "Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project", +"flatPath": "v1beta1/projects/{resource}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.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", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified Project.", +"flatPath": "v1beta1/projects/{resource}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.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", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"undelete": { +"description": "Restores the Project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot be restored. The caller must have undelete permissions for this Project.", +"flatPath": "v1beta1/projects/{projectId}:undelete", +"httpMethod": "POST", +"id": "cloudresourcemanager.projects.undelete", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "Required. The project ID (for example, `foo-bar-123`).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}:undelete", +"request": { +"$ref": "UndeleteProjectRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the attributes of the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this Project.", +"flatPath": "v1beta1/projects/{projectId}", +"httpMethod": "PUT", +"id": "cloudresourcemanager.projects.update", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "The project ID (for example, `my-project-123`).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/projects/{projectId}", +"request": { +"$ref": "Project" +}, +"response": { +"$ref": "Project" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20251103", +"rootUrl": "https://cloudresourcemanager.googleapis.com/", +"schemas": { +"Ancestor": { +"description": "Identifying information for a single ancestor of a project.", +"id": "Ancestor", +"properties": { +"resourceId": { +"$ref": "ResourceId", +"description": "Resource id of the ancestor." +} +}, +"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" +}, +"CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"CreateFolderMetadata": { +"description": "Metadata pertaining to the Folder creation process.", +"id": "CreateFolderMetadata", +"properties": { +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"parent": { +"description": "The resource name of the folder or organization we are creating the folder under.", +"type": "string" +} +}, +"type": "object" +}, +"CreateProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.", +"id": "CreateProjectMetadata", +"properties": { +"createTime": { +"description": "Creation time of the project creation workflow.", +"format": "google-datetime", +"type": "string" +}, +"gettable": { +"description": "True if the project can be retrieved using `GetProject`. No other operations on the project are guaranteed to work until the project creation is complete.", +"type": "boolean" +}, +"ready": { +"description": "True if the project creation process is complete.", +"type": "boolean" +} +}, +"type": "object" +}, +"CreateTagBindingMetadata": { +"description": "Runtime operation information for creating a TagValue.", +"id": "CreateTagBindingMetadata", +"properties": {}, +"type": "object" +}, +"CreateTagKeyMetadata": { +"description": "Runtime operation information for creating a TagKey.", +"id": "CreateTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"CreateTagValueMetadata": { +"description": "Runtime operation information for creating a TagValue.", +"id": "CreateTagValueMetadata", +"properties": {}, +"type": "object" +}, +"DeleteFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the `Operation` returned by `DeleteFolder`.", +"id": "DeleteFolderMetadata", +"properties": {}, +"type": "object" +}, +"DeleteOrganizationMetadata": { +"description": "A status object which is used as the `metadata` field for the operation returned by DeleteOrganization.", +"id": "DeleteOrganizationMetadata", +"properties": {}, +"type": "object" +}, +"DeleteProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by `DeleteProject`.", +"id": "DeleteProjectMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagBindingMetadata": { +"description": "Runtime operation information for deleting a TagBinding.", +"id": "DeleteTagBindingMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagKeyMetadata": { +"description": "Runtime operation information for deleting a TagKey.", +"id": "DeleteTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"DeleteTagValueMetadata": { +"description": "Runtime operation information for deleting a TagValue.", +"id": "DeleteTagValueMetadata", +"properties": {}, +"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" +}, +"FolderOperation": { +"description": "Metadata describing a long running folder operation", +"id": "FolderOperation", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"operationType": { +"description": "The type of this operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"MOVE" +], +"enumDescriptions": [ +"Operation type not specified.", +"A create folder operation.", +"A move folder operation." +], +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", +"type": "string" +} +}, +"type": "object" +}, +"FolderOperationError": { +"description": "A classification of the Folder Operation error.", +"id": "FolderOperationError", +"properties": { +"errorMessageId": { +"description": "The type of operation error experienced.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"ACTIVE_FOLDER_HEIGHT_VIOLATION", +"MAX_CHILD_FOLDERS_VIOLATION", +"FOLDER_NAME_UNIQUENESS_VIOLATION", +"RESOURCE_DELETED_VIOLATION", +"PARENT_DELETED_VIOLATION", +"CYCLE_INTRODUCED_VIOLATION", +"FOLDER_BEING_MOVED_VIOLATION", +"FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", +"DELETED_FOLDER_HEIGHT_VIOLATION", +"FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" +], +"enumDescriptions": [ +"The error type was unrecognized or unspecified.", +"The attempted action would violate the max folder depth constraint.", +"The attempted action would violate the max child folders constraint.", +"The attempted action would violate the locally-unique folder display_name constraint.", +"The resource being moved has been deleted.", +"The resource a folder was being added to has been deleted.", +"The attempted action would introduce cycle in resource path.", +"The attempted action would move a folder that is already being moved.", +"The folder the caller is trying to delete contains active resources.", +"The attempted action would violate the max deleted folder depth constraint.", +"The folder being deleted has a configured capability." +], +"type": "string" +} +}, +"type": "object" +}, +"GetAncestryRequest": { +"description": "The request sent to the [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetAncestry] method.", +"id": "GetAncestryRequest", +"properties": {}, +"type": "object" +}, +"GetAncestryResponse": { +"description": "Response from the projects.getAncestry method.", +"id": "GetAncestryResponse", +"properties": { +"ancestor": { +"description": "Ancestors are ordered from bottom to top of the resource hierarchy. The first ancestor is the project itself, followed by the project's parent, etc.", +"items": { +"$ref": "Ancestor" +}, +"type": "array" +} +}, +"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" +}, +"ListOrganizationsResponse": { +"description": "The response returned from the `ListOrganizations` method.", +"id": "ListOrganizationsResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.", +"type": "string" +}, +"organizations": { +"description": "The list of Organizations that matched the list query, possibly paginated.", +"items": { +"$ref": "Organization" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProjectsResponse": { +"description": "A page of the response received from the ListProjects method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.", +"id": "ListProjectsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", +"type": "string" +}, +"projects": { +"description": "The list of Projects that matched the list filter. This list can be paginated.", +"items": { +"$ref": "Project" +}, +"type": "array" +} +}, +"type": "object" +}, +"MoveFolderMetadata": { +"description": "Metadata pertaining to the folder move process.", +"id": "MoveFolderMetadata", +"properties": { +"destinationParent": { +"description": "The resource name of the folder or organization to move the folder to.", +"type": "string" +}, +"displayName": { +"description": "The display name of the folder.", +"type": "string" +}, +"sourceParent": { +"description": "The resource name of the folder's parent.", +"type": "string" +} +}, +"type": "object" +}, +"MoveProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by MoveProject.", +"id": "MoveProjectMetadata", +"properties": {}, +"type": "object" +}, +"Organization": { +"description": "The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.", +"id": "Organization", +"properties": { +"creationTime": { +"description": "Timestamp when the Organization was created. Assigned by the server.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "A human-readable string that refers to the Organization in the Google Cloud console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the G Suite customer that owns the organization.", +"type": "string" +}, +"lifecycleState": { +"description": "The organization's current lifecycle state. Assigned by the server.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED" +], +"enumDescriptions": [ +"Unspecified state. This is only useful for distinguishing unset values.", +"The normal and active state.", +"The organization has been marked for deletion by the user." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".", +"type": "string" +}, +"organizationId": { +"deprecated": true, +"description": "An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.", +"type": "string" +}, +"owner": { +"$ref": "OrganizationOwner", +"description": "The owner of this Organization. The owner should be specified on creation. Once set, it cannot be changed. This field is required." +} +}, +"type": "object" +}, +"OrganizationOwner": { +"description": "The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the `OrganizationOwner`. If the `OrganizationOwner` is deleted, the Organization and all its descendants will be deleted.", +"id": "OrganizationOwner", +"properties": { +"directoryCustomerId": { +"description": "The G Suite customer id used in the Directory API.", +"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" +}, +"Project": { +"description": "A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.", +"id": "Project", +"properties": { +"configuredCapabilities": { +"description": "Output only. If this project is a Management Project, list of capabilities configured on the parent folder. Note, presence of any capability implies that this is a Management Project. Example: `folders/123/capabilities/app-management`. OUTPUT ONLY.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Creation time. Read-only.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: a-z{0,62}. Label values must be between 0 and 63 characters long and must conform to the regular expression [a-z0-9_-]{0,63}. A label value can be empty. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: `\"environment\" : \"dev\"` Read-write.", +"type": "object" +}, +"lifecycleState": { +"description": "The Project lifecycle state. Read-only.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"ACTIVE", +"DELETE_REQUESTED", +"DELETE_IN_PROGRESS" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"The project has been marked for deletion by the user (by invoking DeleteProject) or by the system (Google Cloud Platform). This can generally be reversed by invoking UndeleteProject.", +"This lifecycle state is no longer used and is not returned by the API." +], +"type": "string" +}, +"name": { +"description": "The optional user-assigned display name of the Project. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `My Project` Read-write.", +"type": "string" +}, +"parent": { +"$ref": "ResourceId", +"description": "An optional reference to a parent Resource. Supported parent types include \"organization\" and \"folder\". Once set, the parent cannot be cleared. The `parent` can be set on creation or using the `UpdateProject` method; the end user must have the `resourcemanager.projects.create` permission on the parent. Read-write." +}, +"projectId": { +"description": "The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: `tokyo-rain-123` Read-only after creation.", +"type": "string" +}, +"projectNumber": { +"description": "The number uniquely identifying the project. Example: `415104041262` Read-only.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProjectCreationStatus": { +"description": "A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.", +"id": "ProjectCreationStatus", +"properties": { +"createTime": { +"description": "Creation time of the project creation workflow.", +"format": "google-datetime", +"type": "string" +}, +"gettable": { +"description": "True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.", +"type": "boolean" +}, +"ready": { +"description": "True if the project creation process is complete.", +"type": "boolean" +} +}, +"type": "object" +}, +"ResourceId": { +"description": "A container to reference an id for any resource type. A `resource` in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.", +"id": "ResourceId", +"properties": { +"id": { +"description": "Required field for the type-specific id. This should correspond to the id used in the type-specific API's.", +"type": "string" +}, +"type": { +"description": "Required field representing the resource type this id is for. At present, the valid types are \"project\", \"folder\", and \"organization\".", +"type": "string" +} +}, +"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" +}, +"UndeleteFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the `Operation` returned by `UndeleteFolder`.", +"id": "UndeleteFolderMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteOrganizationMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UndeleteOrganization.", +"id": "UndeleteOrganizationMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by `UndeleteProject`.", +"id": "UndeleteProjectMetadata", +"properties": {}, +"type": "object" +}, +"UndeleteProjectRequest": { +"description": "The request sent to the UndeleteProject method.", +"id": "UndeleteProjectRequest", +"properties": {}, +"type": "object" +}, +"UpdateFolderMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UpdateFolder.", +"id": "UpdateFolderMetadata", +"properties": {}, +"type": "object" +}, +"UpdateProjectMetadata": { +"description": "A status object which is used as the `metadata` field for the Operation returned by UpdateProject.", +"id": "UpdateProjectMetadata", +"properties": {}, +"type": "object" +}, +"UpdateTagKeyMetadata": { +"description": "Runtime operation information for updating a TagKey.", +"id": "UpdateTagKeyMetadata", +"properties": {}, +"type": "object" +}, +"UpdateTagValueMetadata": { +"description": "Runtime operation information for updating a TagValue.", +"id": "UpdateTagValueMetadata", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Resource Manager API", +"version": "v1beta1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudshell.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudshell.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..cc43416307849600ffc7da9fd5a7b7471c68438d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudshell.v1alpha1.json @@ -0,0 +1,578 @@ +{ + "batchPath": "batch", + "icons": { + "x32": "http://www.google.com/images/icons/product/search-32.gif", + "x16": "http://www.google.com/images/icons/product/search-16.gif" + }, + "ownerDomain": "google.com", + "resources": { + "users": { + "resources": { + "environments": { + "methods": { + "patch": { + "id": "cloudshell.users.environments.patch", + "parameters": { + "name": { + "description": "Name of the resource to be updated, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", + "pattern": "^users/[^/]+/environments/[^/]+$", + "location": "path", + "required": true, + "type": "string" + }, + "updateMask": { + "type": "string", + "format": "google-fieldmask", + "description": "Mask specifying which fields in the environment should be updated.", + "location": "query" + } + }, + "request": { + "$ref": "Environment" + }, + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}", + "path": "v1alpha1/{+name}", + "parameterOrder": [ + "name" + ], + "description": "Updates an existing environment.", + "response": { + "$ref": "Environment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "httpMethod": "PATCH" + }, + "get": { + "response": { + "$ref": "Environment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameters": { + "name": { + "pattern": "^users/[^/]+/environments/[^/]+$", + "location": "path", + "required": true, + "description": "Name of the requested resource, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", + "type": "string" + } + }, + "parameterOrder": [ + "name" + ], + "path": "v1alpha1/{+name}", + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}", + "description": "Gets an environment. Returns NOT_FOUND if the environment does not exist.", + "httpMethod": "GET", + "id": "cloudshell.users.environments.get" + }, + "start": { + "request": { + "$ref": "StartEnvironmentRequest" + }, + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}:start", + "parameters": { + "name": { + "location": "path", + "required": true, + "pattern": "^users/[^/]+/environments/[^/]+$", + "type": "string", + "description": "Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`." + } + }, + "description": "Starts an existing environment, allowing clients to connect to it. The returned operation will contain an instance of StartEnvironmentMetadata in its metadata field. Users can wait for the environment to start by polling this operation via GetOperation. Once the environment has finished starting and is ready to accept connections, the operation will contain a StartEnvironmentResponse in its response field.", + "path": "v1alpha1/{+name}:start", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "response": { + "$ref": "Operation" + }, + "id": "cloudshell.users.environments.start", + "parameterOrder": [ + "name" + ], + "httpMethod": "POST" + }, + "authorize": { + "id": "cloudshell.users.environments.authorize", + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}:authorize", + "parameters": { + "name": { + "description": "Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.", + "type": "string", + "required": true, + "pattern": "^users/[^/]+/environments/[^/]+$", + "location": "path" + } + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "path": "v1alpha1/{+name}:authorize", + "description": "Sends OAuth credentials to a running environment on behalf of a user. When this completes, the environment will be authorized to run various Google Cloud command line tools without requiring the user to manually authenticate.", + "request": { + "$ref": "AuthorizeEnvironmentRequest" + }, + "httpMethod": "POST", + "parameterOrder": [ + "name" + ] + } + }, + "resources": { + "publicKeys": { + "methods": { + "create": { + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}/publicKeys", + "response": { + "$ref": "PublicKey" + }, + "httpMethod": "POST", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "pattern": "^users/[^/]+/environments/[^/]+$", + "required": true, + "location": "path", + "type": "string", + "description": "Parent resource name, e.g. `users/me/environments/default`." + } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "path": "v1alpha1/{+parent}/publicKeys", + "id": "cloudshell.users.environments.publicKeys.create", + "request": { + "$ref": "CreatePublicKeyRequest" + }, + "description": "Adds a public SSH key to an environment, allowing clients with the corresponding private key to connect to that environment via SSH. If a key with the same format and content already exists, this will return the existing key." + }, + "delete": { + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "parameterOrder": [ + "name" + ], + "path": "v1alpha1/{+name}", + "id": "cloudshell.users.environments.publicKeys.delete", + "parameters": { + "name": { + "location": "path", + "type": "string", + "required": true, + "pattern": "^users/[^/]+/environments/[^/]+/publicKeys/[^/]+$", + "description": "Name of the resource to be deleted, e.g. `users/me/environments/default/publicKeys/my-key`." + } + }, + "flatPath": "v1alpha1/users/{usersId}/environments/{environmentsId}/publicKeys/{publicKeysId}", + "httpMethod": "DELETE", + "description": "Removes a public SSH key from an environment. Clients will no longer be able to connect to the environment using the corresponding private key." + } + } + } + } + } + } + } + }, + "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud. ", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "basePath": "", + "documentationLink": "https://cloud.google.com/shell/docs/", + "rootUrl": "https://cloudshell.googleapis.com/", + "id": "cloudshell:v1alpha1", + "fullyEncodeReservedExpansion": true, + "title": "Cloud Shell API", + "protocol": "rest", + "version_module": true, + "discoveryVersion": "v1", + "version": "v1alpha1", + "canonicalName": "Cloud Shell", + "revision": "20200803", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://cloudshell.mtls.googleapis.com/", + "ownerName": "Google", + "servicePath": "", + "baseUrl": "https://cloudshell.googleapis.com/", + "parameters": { + "fields": { + "location": "query", + "description": "Selector specifying which fields to include in a partial response.", + "type": "string" + }, + "alt": { + "description": "Data format for response.", + "default": "json", + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "enum": [ + "json", + "media", + "proto" + ], + "type": "string", + "location": "query" + }, + "uploadType": { + "type": "string", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query" + }, + "upload_protocol": { + "location": "query", + "type": "string", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." + }, + "access_token": { + "type": "string", + "description": "OAuth access token.", + "location": "query" + }, + "callback": { + "type": "string", + "description": "JSONP", + "location": "query" + }, + "key": { + "location": "query", + "type": "string", + "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." + }, + "quotaUser": { + "location": "query", + "type": "string", + "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." + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "type": "string", + "location": "query" + }, + "$.xgafv": { + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "enum": [ + "1", + "2" + ], + "description": "V1 error format.", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "type": "boolean", + "description": "Returns response with indentations and line breaks.", + "location": "query" + } + }, + "schemas": { + "CreatePublicKeyRequest": { + "properties": { + "key": { + "description": "Key that should be added to the environment.", + "$ref": "PublicKey" + } + }, + "type": "object", + "id": "CreatePublicKeyRequest", + "description": "Request message for CreatePublicKey." + }, + "StartEnvironmentMetadata": { + "properties": { + "state": { + "enumDescriptions": [ + "The environment's start state is unknown.", + "The environment is in the process of being started, but no additional details are available.", + "Startup is waiting for the user's disk to be unarchived. This can happen when the user returns to Cloud Shell after not having used it for a while, and suggests that startup will take longer than normal.", + "Startup is waiting for a VM to be assigned to the environment. This should normally happen very quickly, but an environment might stay in this state for an extended period of time if the system is experiencing heavy load.", + "Startup is waiting for compute resources to be assigned to the environment. This should normally happen very quickly, but an environment might stay in this state for an extended period of time if the system is experiencing heavy load.", + "Startup has completed. If the start operation was successful, the user should be able to establish an SSH connection to their environment. Otherwise, the operation will contain details of the failure." + ], + "type": "string", + "description": "Current state of the environment being started.", + "enum": [ + "STATE_UNSPECIFIED", + "STARTING", + "UNARCHIVING_DISK", + "AWAITING_VM", + "AWAITING_COMPUTE_RESOURCES", + "FINISHED" + ] + } + }, + "description": "Message included in the metadata field of operations returned from StartEnvironment.", + "id": "StartEnvironmentMetadata", + "type": "object" + }, + "PublicKey": { + "id": "PublicKey", + "description": "A public SSH key, corresponding to a private SSH key held by the client.", + "properties": { + "name": { + "type": "string", + "description": "Output only. Full name of this resource, in the format `users/{owner_email}/environments/{environment_id}/publicKeys/{key_id}`. `{owner_email}` is the email address of the user to whom the key belongs. `{environment_id}` is the identifier of the environment to which the key grants access. `{key_id}` is the unique identifier of the key. For example, `users/someone@example.com/environments/default/publicKeys/myKey`." + }, + "key": { + "type": "string", + "description": "Required. Content of this key.", + "format": "byte" + }, + "format": { + "type": "string", + "description": "Required. Format of this key's content.", + "enumDescriptions": [ + "Unknown format. Do not use.", + "`ssh-dss` key format (see RFC4253).", + "`ssh-rsa` key format (see RFC4253).", + "`ecdsa-sha2-nistp256` key format (see RFC5656).", + "`ecdsa-sha2-nistp384` key format (see RFC5656).", + "`ecdsa-sha2-nistp521` key format (see RFC5656)." + ], + "enum": [ + "FORMAT_UNSPECIFIED", + "SSH_DSS", + "SSH_RSA", + "ECDSA_SHA2_NISTP256", + "ECDSA_SHA2_NISTP384", + "ECDSA_SHA2_NISTP521" + ] + } + }, + "type": "object" + }, + "Status": { + "id": "Status", + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client." + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + } + }, + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use." + }, + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "type": "integer", + "format": "int32" + } + }, + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors)." + }, + "Operation": { + "id": "Operation", + "description": "This resource represents a long-running operation that is the result of a network API call.", + "type": "object", + "properties": { + "done": { + "type": "boolean", + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available." + }, + "response": { + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + }, + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + } + } + }, + "Environment": { + "type": "object", + "id": "Environment", + "properties": { + "sshPort": { + "type": "integer", + "format": "int32", + "description": "Output only. Port to which clients can connect to initiate SSH sessions with the environment." + }, + "webHost": { + "type": "string", + "description": "Output only. Host to which clients can connect to initiate HTTPS or WSS connections with the environment." + }, + "sshUsername": { + "description": "Output only. Username that clients should use when initiating SSH sessions with the environment.", + "type": "string" + }, + "dockerImage": { + "type": "string", + "description": "Required. Full path to the Docker image used to run this environment, e.g. \"gcr.io/dev-con/cloud-devshell:latest\"." + }, + "name": { + "description": "Output only. Full name of this resource, in the format `users/{owner_email}/environments/{environment_id}`. `{owner_email}` is the email address of the user to whom this environment belongs, and `{environment_id}` is the identifier of this environment. For example, `users/someone@example.com/environments/default`.", + "type": "string" + }, + "size": { + "type": "string", + "description": "Indicates the size of the backing VM running the environment. If set to something other than DEFAULT, it will be reverted to the default VM size after vm_size_expire_time.", + "enum": [ + "VM_SIZE_UNSPECIFIED", + "DEFAULT", + "BOOSTED" + ], + "enumDescriptions": [ + "The VM size is unknown.", + "The default VM size.", + "The boosted VM size." + ] + }, + "state": { + "enumDescriptions": [ + "The environment's states is unknown.", + "The environment is not running and can't be connected to. Starting the environment will transition it to the STARTING state.", + "The environment is being started but is not yet ready to accept connections.", + "The environment is running and ready to accept connections. It will automatically transition back to DISABLED after a period of inactivity or if another environment is started.", + "The environment is being deleted and can't be connected to." + ], + "enum": [ + "STATE_UNSPECIFIED", + "DISABLED", + "STARTING", + "RUNNING", + "DELETING" + ], + "description": "Output only. Current execution state of this environment.", + "type": "string" + }, + "webPorts": { + "description": "Output only. Ports to which clients can connect to initiate HTTPS or WSS connections with the environment.", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + } + }, + "sshHost": { + "type": "string", + "description": "Output only. Host to which clients can connect to initiate SSH sessions with the environment." + }, + "id": { + "description": "Output only. The environment's identifier, unique among the user's environments.", + "type": "string" + }, + "publicKeys": { + "items": { + "$ref": "PublicKey" + }, + "type": "array", + "description": "Output only. Public keys associated with the environment. Clients can connect to this environment via SSH only if they possess a private key corresponding to at least one of these public keys. Keys can be added to or removed from the environment using the CreatePublicKey and DeletePublicKey methods." + }, + "vmSizeExpireTime": { + "description": "Output only. The time when the Environment will expire back to the default VM size.", + "format": "google-datetime", + "type": "string" + } + }, + "description": "A Cloud Shell environment, which is defined as the combination of a Docker image specifying what is installed on the environment and a home directory containing the user's data that will remain across sessions. Each user has a single environment with the ID \"default\"." + }, + "StartEnvironmentResponse": { + "id": "StartEnvironmentResponse", + "properties": { + "environment": { + "$ref": "Environment", + "description": "Environment that was started." + } + }, + "type": "object", + "description": "Message included in the response field of operations returned from StartEnvironment once the operation is complete." + }, + "StartEnvironmentRequest": { + "type": "object", + "id": "StartEnvironmentRequest", + "properties": { + "publicKeys": { + "items": { + "$ref": "PublicKey" + }, + "description": "Public keys that should be added to the environment before it is started.", + "type": "array" + }, + "accessToken": { + "type": "string", + "description": "The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment." + } + }, + "description": "Request message for StartEnvironment." + }, + "AuthorizeEnvironmentRequest": { + "description": "Request message for AuthorizeEnvironment.", + "properties": { + "expireTime": { + "type": "string", + "format": "google-datetime", + "description": "The time when the credentials expire. If not set, defaults to one hour from when the server received the request." + }, + "idToken": { + "type": "string", + "description": "The OAuth ID token that should be sent to the environment." + }, + "accessToken": { + "description": "The OAuth access token that should be sent to the environment.", + "type": "string" + } + }, + "type": "object", + "id": "AuthorizeEnvironmentRequest" + }, + "Empty": { + "properties": {}, + "id": "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); } The JSON representation for `Empty` is empty JSON object `{}`.", + "type": "object" + } + }, + "name": "cloudshell" +} diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..e4e3bed110df8b0d63826ba929c6e6e7d2887436 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2.json @@ -0,0 +1,1367 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudsupport.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Support", +"description": "Manages Google Cloud technical support cases for Customer Care support offerings. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/support/docs/apis", +"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": "cloudsupport:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudsupport.mtls.googleapis.com/", +"name": "cloudsupport", +"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": { +"caseClassifications": { +"methods": { +"search": { +"description": "Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `\" > \"`. For example, `\"Technical Issue > Compute > Compute Engine\"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:\"*Compute%20Engine*\"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=\"v2\", discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version=v2\", ) request = supportApiService.caseClassifications().search( query='display_name:\"*Compute Engine*\"' ) print(request.execute()) ```", +"flatPath": "v2/caseClassifications:search", +"httpMethod": "GET", +"id": "cloudsupport.caseClassifications.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of classifications fetched with each request.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"query": { +"description": "An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.", +"location": "query", +"type": "string" +} +}, +"path": "v2/caseClassifications:search", +"response": { +"$ref": "SearchCaseClassificationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"cases": { +"methods": { +"close": { +"description": "Close a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case:close\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().close( name=\"projects/some-project/cases/43595344\" ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}:close", +"httpMethod": "POST", +"id": "cloudsupport.cases.close", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the case to close.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:close", +"request": { +"$ref": "CloseCaseRequest" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"display_name\": \"Test case created by me.\", \"description\": \"a random test case, feel free to close\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, \"time_zone\": \"-07:00\", \"subscriber_email_addresses\": [ \"foo@domain.com\", \"bar@domain.com\" ], \"testCase\": true, \"priority\": \"P3\" }' \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().create( parent=\"projects/some-project\", body={ \"displayName\": \"A Test Case\", \"description\": \"This is a test case.\", \"testCase\": True, \"priority\": \"P2\", \"classification\": { \"id\": \"100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8\" }, }, ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases", +"httpMethod": "POST", +"id": "cloudsupport.cases.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent under which the case should be created.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/cases", +"request": { +"$ref": "Case" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"escalate": { +"description": "Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\" } }' \\ \"https://cloudsupport.googleapis.com/v2/$case:escalate\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().escalate( name=\"projects/some-project/cases/43595344\", body={ \"escalation\": { \"reason\": \"BUSINESS_IMPACT\", \"justification\": \"This is a test escalation.\", }, }, ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}:escalate", +"httpMethod": "POST", +"id": "cloudsupport.cases.escalate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the case to be escalated.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:escalate", +"request": { +"$ref": "EscalateCaseRequest" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/16033687\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().get( name=\"projects/some-project/cases/43595344\", ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}", +"httpMethod": "GET", +"id": "cloudsupport.cases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full name of a case to be retrieved.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().list(parent=\"projects/some-project\") print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases", +"httpMethod": "GET", +"id": "cloudsupport.cases.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression used to filter cases. If it's an empty string, then no filtering happens. Otherwise, the endpoint returns the cases that match the filter. Expressions use the following fields separated by `AND` and specified with `=`: - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. EXAMPLES: - `state=CLOSED` - `state=OPEN AND creator.email=\"tester@example.com\"` - `state=OPEN AND (priority=P0 OR priority=P1)`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of cases fetched with each request. Defaults to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of a parent to list cases under.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/cases", +"response": { +"$ref": "ListCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --request PATCH \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header \"Content-Type: application/json\" \\ --data '{ \"priority\": \"P1\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case?updateMask=priority\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().patch( name=\"projects/some-project/cases/43112854\", body={ \"displayName\": \"This is Now a New Title\", \"priority\": \"P2\", }, ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}", +"httpMethod": "PATCH", +"id": "cloudsupport.cases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name for the case.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A list of attributes of the case that should be updated. Supported values are `priority`, `display_name`, and `subscriber_email_addresses`. If no fields are specified, all supported fields are updated. Be careful - if you do not provide a field mask, then you might accidentally clear some fields. For example, if you leave the field mask empty and do not provide a value for `subscriber_email_addresses`, then `subscriber_email_addresses` is updated to empty.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Case" +}, +"response": { +"$ref": "Case" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Search for cases using a query. EXAMPLES: cURL: ```shell parent=\"projects/some-project\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$parent/cases:search\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.cases().search( parent=\"projects/some-project\", query=\"state=OPEN\" ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases:search", +"httpMethod": "GET", +"id": "cloudsupport.cases.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of cases fetched with each request. The default page size is 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The name of the parent resource to search for cases under.", +"location": "path", +"pattern": "^[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "An expression used to filter cases. Expressions use the following fields separated by `AND` and specified with `=`: - `organization`: An organization name in the form `organizations/`. - `project`: A project name in the form `projects/`. - `state`: Can be `OPEN` or `CLOSED`. - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You can specify multiple values for priority using the `OR` operator. For example, `priority=P1 OR priority=P2`. - `creator.email`: The email address of the case creator. You must specify either `organization` or `project`. To search across `displayName`, `description`, and comments, use a global restriction with no keyword or operator. For example, `\"my search\"`. To search only cases updated after a certain date, use `update_time` restricted with that particular date, time, and timezone in ISO datetime format. For example, `update_time>\"2020-01-01T00:00:00-05:00\"`. `update_time` only supports the greater than operator (`>`). Examples: - `organization=\"organizations/123456789\"` - `project=\"projects/my-project-id\"` - `project=\"projects/123456789\"` - `organization=\"organizations/123456789\" AND state=CLOSED` - `project=\"projects/my-project-id\" AND creator.email=\"tester@example.com\"` - `project=\"projects/my-project-id\" AND (priority=P0 OR priority=P1)`", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/cases:search", +"response": { +"$ref": "SearchCasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attachments": { +"methods": { +"list": { +"description": "List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/23598314\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/attachments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .attachments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments", +"httpMethod": "GET", +"id": "cloudsupport.cases.attachments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of attachments fetched with each request. If not provided, the default is 10. The maximum page size that will be returned is 100. The size of each page can be smaller than the requested page size and can include zero. For example, you could request 100 attachments on one page, receive 0, and then on the next page, receive 90.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is retrieved.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the case for which attachments should be listed.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/attachments", +"response": { +"$ref": "ListAttachmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"comments": { +"methods": { +"create": { +"description": "Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43591344\" curl \\ --request POST \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --header 'Content-Type: application/json' \\ --data '{ \"body\": \"This is a test comment.\" }' \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .create( parent=\"projects/some-project/cases/43595344\", body={\"body\": \"This is a test comment.\"}, ) ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/comments", +"httpMethod": "POST", +"id": "cloudsupport.cases.comments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the case to which the comment should be added.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/comments", +"request": { +"$ref": "Comment" +}, +"response": { +"$ref": "Comment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List all the comments associated with a case. EXAMPLES: cURL: ```shell case=\"projects/some-project/cases/43595344\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$case/comments\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = ( supportApiService.cases() .comments() .list(parent=\"projects/some-project/cases/43595344\") ) print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/comments", +"httpMethod": "GET", +"id": "cloudsupport.cases.comments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of comments to fetch. Defaults to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. If unspecified, the first page is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the case for which to list comments.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/comments", +"response": { +"$ref": "ListCommentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"media": { +"methods": { +"download": { +"description": "Download a file attached to a case. When this endpoint is called, no \"response body\" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append \"?alt=media\" to the URL. EXAMPLES: cURL: ```shell name=\"projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ \"https://cloudsupport.googleapis.com/v2/$name:download?alt=media\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) request = supportApiService.media().download( name=\"projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR\" ) request.uri = request.uri.split(\"?\")[0] + \"?alt=media\" print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments/{attachmentsId}:download", +"httpMethod": "GET", +"id": "cloudsupport.media.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the file attachment to download.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:download", +"response": { +"$ref": "Media" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaDownload": true, +"useMediaDownloadService": true +}, +"upload": { +"description": "Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo \"This text is in a file I'm uploading using CSAPI.\" \\ > \"./example_file.txt\" case=\"projects/some-project/cases/43594844\" curl \\ --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\ --data-binary @\"./example_file.txt\" \\ \"https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt\" ``` Python: ```python import googleapiclient.discovery api_version = \"v2\" supportApiService = googleapiclient.discovery.build( serviceName=\"cloudsupport\", version=api_version, discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\", ) file_path = \"./example_file.txt\" with open(file_path, \"w\") as file: file.write( \"This text is inside a file I'm going to upload using the Cloud Support API.\", ) request = supportApiService.media().upload( parent=\"projects/some-project/cases/43595344\", media_body=file_path ) request.uri = request.uri.split(\"?\")[0] + \"?attachment.filename=uploaded_via_python.txt\" print(request.execute()) ```", +"flatPath": "v2/{v2Id}/{v2Id1}/cases/{casesId}/attachments", +"httpMethod": "POST", +"id": "cloudsupport.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v2/{+parent}/attachments" +} +} +}, +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the case or Cloud resource to which the attachment should be attached.", +"location": "path", +"pattern": "^[^/]+/[^/]+/cases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/attachments", +"request": { +"$ref": "CreateAttachmentRequest" +}, +"response": { +"$ref": "Attachment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +], +"supportsMediaUpload": true +} +} +} +}, +"revision": "20260113", +"rootUrl": "https://cloudsupport.googleapis.com/", +"schemas": { +"Actor": { +"description": "An Actor represents an entity that performed an action. For example, an actor could be a user who posted a comment on a support case, a user who uploaded an attachment, or a service account that created a support case.", +"id": "Actor", +"properties": { +"displayName": { +"description": "The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.", +"type": "string" +}, +"email": { +"deprecated": true, +"description": "The email address of the actor. If not provided, it is inferred from the credentials supplied during case creation. When a name is provided, an email must also be provided. If the user is a Google Support agent, this is obfuscated. This field is deprecated. Use `username` instead.", +"type": "string" +}, +"googleSupport": { +"description": "Output only. Whether the actor is a Google support actor.", +"readOnly": true, +"type": "boolean" +}, +"username": { +"description": "Output only. The username of the actor. It may look like an email or other format provided by the identity provider. If not provided, it is inferred from the credentials supplied. When a name is provided, a username must also be provided. If the user is a Google Support agent, this will not be set.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Attachment": { +"description": "An Attachment contains metadata about a file that was uploaded to a case - it is NOT a file itself. That being said, the name of an Attachment object can be used to download its accompanying file through the `media.download` endpoint. While attachments can be uploaded in the console at the same time as a comment, they're associated on a \"case\" level, not a \"comment\" level.", +"id": "Attachment", +"properties": { +"createTime": { +"description": "Output only. The time at which the attachment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "Output only. The user who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.", +"readOnly": true +}, +"filename": { +"description": "The filename of the attachment (e.g. `\"graph.jpg\"`).", +"type": "string" +}, +"mimeType": { +"description": "Output only. The MIME type of the attachment (e.g. text/plain).", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the attachment.", +"readOnly": true, +"type": "string" +}, +"sizeBytes": { +"description": "Output only. The size of the attachment in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Blobstore2Info": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "Blobstore2Info", +"properties": { +"blobGeneration": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"blobId": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"downloadExternalReadToken": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"downloadReadHandle": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"readToken": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"uploadFragmentListCreationInfo": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"uploadMetadataContainer": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Case": { +"description": "A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time. A case is parented by a Google Cloud organization or project. Organizations are identified by a number, so the name of a case parented by an organization would look like this: ``` organizations/123/cases/456 ``` Projects have two unique identifiers, an ID and a number, and they look like this: ``` projects/abc/cases/456 ``` ``` projects/123/cases/456 ``` You can use either of them when calling the API. To learn more about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).", +"id": "Case", +"properties": { +"classification": { +"$ref": "CaseClassification", +"description": "The issue classification applicable to this case." +}, +"contactEmail": { +"description": "A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time this case was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support." +}, +"description": { +"description": "A broad description of the issue.", +"type": "string" +}, +"displayName": { +"description": "The short summary of the issue reported in this case.", +"type": "string" +}, +"escalated": { +"description": "Whether the case is currently escalated.", +"type": "boolean" +}, +"languageCode": { +"description": "The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `\"en\"`, `\"zh-CN\"`, `\"zh-TW\"`, `\"ja\"`, `\"ko\"`). If no language or an unsupported language is specified, this field defaults to English (en). Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name for the case.", +"type": "string" +}, +"priority": { +"description": "The priority of this case.", +"enum": [ +"PRIORITY_UNSPECIFIED", +"P0", +"P1", +"P2", +"P3", +"P4" +], +"enumDescriptions": [ +"Priority is undefined or has not been set yet.", +"Extreme impact on a production service. Service is hard down.", +"Critical impact on a production service. Service is currently unusable.", +"Severe impact on a production service. Service is usable but greatly impaired.", +"Medium impact on a production service. Service is available, but moderately impaired.", +"General questions or minor issues. Production service is fully available." +], +"type": "string" +}, +"state": { +"description": "Output only. The current status of the support case.", +"enum": [ +"STATE_UNSPECIFIED", +"NEW", +"IN_PROGRESS_GOOGLE_SUPPORT", +"ACTION_REQUIRED", +"SOLUTION_PROVIDED", +"CLOSED" +], +"enumDescriptions": [ +"Case is in an unknown state.", +"The case has been created but no one is assigned to work on it yet.", +"The case is currently being handled by Google support.", +"Google is waiting for a response.", +"A solution has been offered for the case, but it isn't yet closed.", +"The case has been resolved." +], +"readOnly": true, +"type": "string" +}, +"subscriberEmailAddresses": { +"description": "The email addresses to receive updates on this case.", +"items": { +"type": "string" +}, +"type": "array" +}, +"testCase": { +"description": "Whether this case was created for internal API testing and should not be acted on by the support team.", +"type": "boolean" +}, +"timeZone": { +"description": "The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time this case was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CaseClassification": { +"description": "A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they're used to route your cases to specialists who can help you. A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.", +"id": "CaseClassification", +"properties": { +"displayName": { +"description": "A display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the `CaseClassification.id` field.", +"type": "string" +}, +"id": { +"description": "The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use `caseClassifications.search`. Classification IDs returned by `caseClassifications.search` are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, `case.create` requests using the classification ID will fail.", +"type": "string" +} +}, +"type": "object" +}, +"CloseCaseRequest": { +"description": "The request message for the CloseCase endpoint.", +"id": "CloseCaseRequest", +"properties": {}, +"type": "object" +}, +"Comment": { +"description": "A comment associated with a support case. Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.", +"id": "Comment", +"properties": { +"body": { +"description": "The full comment body. Maximum of 12800 characters.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the comment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"$ref": "Actor", +"description": "Output only. The user or Google Support agent who created the comment.", +"readOnly": true +}, +"name": { +"description": "Output only. Identifier. The resource name of the comment.", +"readOnly": true, +"type": "string" +}, +"plainTextBody": { +"deprecated": true, +"description": "Output only. DEPRECATED. DO NOT USE. A duplicate of the `body` field. This field is only present for legacy reasons.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CompositeMedia": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "CompositeMedia", +"properties": { +"blobRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "# gdata.* are outside protos with mising documentation" +}, +"cosmoBinaryReference": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint32", +"type": "integer" +}, +"inline": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"length": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "# gdata.* are outside protos with mising documentation" +}, +"path": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"referenceType": { +"description": "# gdata.* are outside protos with mising documentation", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"BIGSTORE_REF", +"COSMO_BINARY_REFERENCE" +], +"enumDescriptions": [ +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation" +], +"type": "string" +}, +"sha1Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ContentTypeInfo": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "ContentTypeInfo", +"properties": { +"bestGuess": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromFileName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromHeader": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"fromUrlPath": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"CreateAttachmentRequest": { +"description": "The request message for the CreateAttachment endpoint.", +"id": "CreateAttachmentRequest", +"properties": { +"attachment": { +"$ref": "Attachment", +"description": "Required. The attachment to be created." +} +}, +"type": "object" +}, +"DiffChecksumsResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffChecksumsResponse", +"properties": { +"checksumsLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"chunkSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DiffDownloadResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffDownloadResponse", +"properties": { +"objectLocation": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +} +}, +"type": "object" +}, +"DiffUploadRequest": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffUploadRequest", +"properties": { +"checksumsInfo": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectInfo": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DiffUploadResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffUploadResponse", +"properties": { +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"originalObject": { +"$ref": "CompositeMedia", +"description": "# gdata.* are outside protos with mising documentation" +} +}, +"type": "object" +}, +"DiffVersionResponse": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DiffVersionResponse", +"properties": { +"objectSizeBytes": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectVersion": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"DownloadParameters": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "DownloadParameters", +"properties": { +"allowGzipCompression": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"ignoreRange": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +} +}, +"type": "object" +}, +"EscalateCaseRequest": { +"description": "The request message for the EscalateCase endpoint.", +"id": "EscalateCaseRequest", +"properties": { +"escalation": { +"$ref": "Escalation", +"description": "The escalation information to be sent with the escalation request." +} +}, +"type": "object" +}, +"Escalation": { +"description": "An escalation of a support case.", +"id": "Escalation", +"properties": { +"justification": { +"description": "Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated.", +"type": "string" +}, +"reason": { +"description": "Required. The reason why the Case is being escalated.", +"enum": [ +"REASON_UNSPECIFIED", +"RESOLUTION_TIME", +"TECHNICAL_EXPERTISE", +"BUSINESS_IMPACT" +], +"enumDescriptions": [ +"The escalation reason is in an unknown state or has not been specified.", +"The case is taking too long to resolve.", +"The support agent does not have the expertise required to successfully resolve the issue.", +"The issue is having a significant business impact." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAttachmentsResponse": { +"description": "The response message for the ListAttachments endpoint.", +"id": "ListAttachmentsResponse", +"properties": { +"attachments": { +"description": "The list of attachments associated with a case.", +"items": { +"$ref": "Attachment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.attachments.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ListCasesResponse": { +"description": "The response message for the ListCases endpoint.", +"id": "ListCasesResponse", +"properties": { +"cases": { +"description": "The list of cases associated with the parent after any filters have been applied.", +"items": { +"$ref": "Case" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"ListCommentsResponse": { +"description": "The response message for the ListComments endpoint.", +"id": "ListCommentsResponse", +"properties": { +"comments": { +"description": "List of the comments associated with the case.", +"items": { +"$ref": "Comment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.comments.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"Media": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "Media", +"properties": { +"algorithm": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"bigstoreObjectRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobRef": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"blobstore2Info": { +"$ref": "Blobstore2Info", +"description": "# gdata.* are outside protos with mising documentation" +}, +"compositeMedia": { +"description": "# gdata.* are outside protos with mising documentation", +"items": { +"$ref": "CompositeMedia" +}, +"type": "array" +}, +"contentType": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"contentTypeInfo": { +"$ref": "ContentTypeInfo", +"description": "# gdata.* are outside protos with mising documentation" +}, +"cosmoBinaryReference": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"crc32cHash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint32", +"type": "integer" +}, +"diffChecksumsResponse": { +"$ref": "DiffChecksumsResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffDownloadResponse": { +"$ref": "DiffDownloadResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffUploadRequest": { +"$ref": "DiffUploadRequest", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffUploadResponse": { +"$ref": "DiffUploadResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"diffVersionResponse": { +"$ref": "DiffVersionResponse", +"description": "# gdata.* are outside protos with mising documentation" +}, +"downloadParameters": { +"$ref": "DownloadParameters", +"description": "# gdata.* are outside protos with mising documentation" +}, +"filename": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"hash": { +"deprecated": true, +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"hashVerified": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"inline": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"isPotentialRetry": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "boolean" +}, +"length": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"md5Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"mediaId": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"objectId": { +"$ref": "ObjectId", +"description": "# gdata.* are outside protos with mising documentation" +}, +"path": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"referenceType": { +"description": "# gdata.* are outside protos with mising documentation", +"enum": [ +"PATH", +"BLOB_REF", +"INLINE", +"GET_MEDIA", +"COMPOSITE_MEDIA", +"BIGSTORE_REF", +"DIFF_VERSION_RESPONSE", +"DIFF_CHECKSUMS_RESPONSE", +"DIFF_DOWNLOAD_RESPONSE", +"DIFF_UPLOAD_REQUEST", +"DIFF_UPLOAD_RESPONSE", +"COSMO_BINARY_REFERENCE", +"ARBITRARY_BYTES" +], +"enumDescriptions": [ +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation", +"# gdata.* are outside protos with mising documentation" +], +"type": "string" +}, +"sha1Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"sha256Hash": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "byte", +"type": "string" +}, +"timestamp": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "uint64", +"type": "string" +}, +"token": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"ObjectId": { +"description": "# gdata.* are outside protos with mising documentation", +"id": "ObjectId", +"properties": { +"bucketName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +}, +"generation": { +"description": "# gdata.* are outside protos with mising documentation", +"format": "int64", +"type": "string" +}, +"objectName": { +"description": "# gdata.* are outside protos with mising documentation", +"type": "string" +} +}, +"type": "object" +}, +"SearchCaseClassificationsResponse": { +"description": "The response message for SearchCaseClassifications endpoint.", +"id": "SearchCaseClassificationsResponse", +"properties": { +"caseClassifications": { +"description": "The classifications retrieved.", +"items": { +"$ref": "CaseClassification" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `caseClassifications.list` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +}, +"SearchCasesResponse": { +"description": "The response message for the SearchCases endpoint.", +"id": "SearchCasesResponse", +"properties": { +"cases": { +"description": "The list of cases associated with the parent after any filters have been applied.", +"items": { +"$ref": "Case" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.search` requests. If unspecified, there are no more results to retrieve.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Cloud Support API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..5005dd28e62881a4045abb92c40cd44bd254f219 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2.json @@ -0,0 +1,1696 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudtasks.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Tasks", +"description": "Manages the execution of large numbers of distributed requests.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/tasks/", +"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": "cloudtasks:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudtasks.mtls.googleapis.com/", +"name": "cloudtasks", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCmekConfig": { +"description": "Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.getCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v2/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCmekConfig": { +"description": "Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "PATCH", +"id": "cloudtasks.projects.locations.updateCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "CmekConfig" +}, +"response": { +"$ref": "CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"queues": { +"methods": { +"create": { +"description": "Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/queues", +"request": { +"$ref": "Queue" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note: If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "DELETE", +"id": "cloudtasks.projects.locations.queues.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a queue.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the queue. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy`", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists queues. Queues are returned in lexicographical order.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "`filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as described in [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). Sample filter \"state: PAUSED\". Note that using filters might cause fewer queues than the requested page_size to be returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the next_page_token in the response to determine if more queues exist.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListQueues method. It is an error to switch the value of the filter while iterating through pages.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/queues", +"response": { +"$ref": "ListQueuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "PATCH", +"id": "cloudtasks.projects.locations.queues.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Queue" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses the queue. If a queue is paused then the system will stop dispatching tasks until the queue is resumed via ResumeQueue. Tasks can still be added when the queue is paused. A queue is paused if its state is PAUSED.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:pause", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:pause", +"request": { +"$ref": "PauseQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purges a queue by deleting all of its tasks. All tasks created before this method is called are permanently deleted. Purge operations can take up to one minute to take effect. Tasks might be dispatched before the purge takes effect. A purge is irreversible.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:purge", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.purge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:purge", +"request": { +"$ref": "PurgeQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is stored in the queue's state; after calling this method it will be set to RUNNING. WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If you are resuming high-QPS queues, follow the 500/50/5 pattern described in [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:resume", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:resume", +"request": { +"$ref": "ResumeQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy`", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tasks": { +"methods": { +"buffer": { +"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.buffer", +"parameterOrder": [ +"queue", +"taskId" +], +"parameters": { +"queue": { +"description": "Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"taskId": { +"description": "Optional. Task ID for the task being created. If not provided, Cloud Tasks generates an ID for the task.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v2/{+queue}/tasks/{taskId}:buffer", +"request": { +"$ref": "BufferTaskRequest" +}, +"response": { +"$ref": "BufferTaskResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * The maximum task size is 100KB.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/tasks", +"request": { +"$ref": "CreateTaskRequest" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has executed successfully or permanently failed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}", +"httpMethod": "DELETE", +"id": "cloudtasks.projects.locations.queues.tasks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted. A `GetTask` request for a deleted task returns a `NOT_FOUND` error.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.tasks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +}, +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations; response_view controls the subset of information which is returned. The tasks may be returned in any order. The ordering may change at any time.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.tasks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"location": "query", +"type": "string" +} +}, +"path": "v2/{+parent}/tasks", +"response": { +"$ref": "ListTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Forces a task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task is already running, the queue has reached its RateLimits or is PAUSED. This command is meant to be used for manual debugging. For example, RunTask can be used to retry a failed task after a fix has been made or to manually force a task to be dispatched now. If Cloud Tasks receives a successful response from the task's target, then the task will be deleted; otherwise the task's schedule_time will be reset to the time that RunTask was called plus the retry delay specified in the queue's RetryConfig. RunTask returns NOT_FOUND when it is called on a task that has already succeeded or permanently failed.", +"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}:run", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:run", +"request": { +"$ref": "RunTaskRequest" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20251021", +"rootUrl": "https://cloudtasks.googleapis.com/", +"schemas": { +"AppEngineHttpRequest": { +"description": "App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks are not run as any user, they cannot be dispatched to URIs restricted with [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.", +"id": "AppEngineHttpRequest", +"properties": { +"appEngineRouting": { +"$ref": "AppEngineRouting", +"description": "Task-level setting for App Engine routing. * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing." +}, +"body": { +"description": "HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.", +"format": "byte", +"type": "string" +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `\"AppEngine-Google; (+http://code.google.com/appengine)\"`. This header can be modified, but Cloud Tasks will append `\"AppEngine-Google; (+http://code.google.com/appengine)\"` to the modified `User-Agent`. If the task has a body, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `\"application/octet-stream\"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `\"application/json\"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers when the task is dispatched, such as headers containing information about the task; see [request headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_request_headers). These headers are set only when the task is dispatched, so they are not visible when the task is returned in a Cloud Tasks response. Although there is no specific limit for the maximum number of headers or the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.", +"type": "object" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"relativeUri": { +"description": "The relative URI. The relative URI must begin with \"/\" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path \"/\" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineRouting": { +"description": "App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). Using AppEngineRouting requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`", +"id": "AppEngineRouting", +"properties": { +"host": { +"description": "Output only. The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).", +"type": "string" +}, +"instance": { +"description": "App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).", +"type": "string" +}, +"service": { +"description": "App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.", +"type": "string" +}, +"version": { +"description": "App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.", +"type": "string" +} +}, +"type": "object" +}, +"Attempt": { +"description": "The status of a task attempt.", +"id": "Attempt", +"properties": { +"dispatchTime": { +"description": "Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"responseStatus": { +"$ref": "Status", +"description": "Output only. The response from the worker for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field is meaningless." +}, +"responseTime": { +"description": "Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"scheduleTime": { +"description": "Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"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" +}, +"BufferTaskRequest": { +"description": "Request message for BufferTask.", +"id": "BufferTaskRequest", +"properties": { +"body": { +"$ref": "HttpBody", +"description": "Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task]." +} +}, +"type": "object" +}, +"BufferTaskResponse": { +"description": "Response message for BufferTask.", +"id": "BufferTaskResponse", +"properties": { +"task": { +"$ref": "Task", +"description": "The created task." +} +}, +"type": "object" +}, +"CmekConfig": { +"description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.", +"id": "CmekConfig", +"properties": { +"kmsKey": { +"description": "Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.", +"type": "string" +}, +"name": { +"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CreateTaskRequest": { +"description": "Request message for CreateTask.", +"id": "CreateTaskRequest", +"properties": { +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"type": "string" +}, +"task": { +"$ref": "Task", +"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. The IDs of deleted tasks are not immediately available for reuse. It can take up to 24 hours (or 9 days if the task's queue was created using a queue.yaml or queue.xml) for the task ID to be released and made available again. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently." +} +}, +"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" +}, +"Header": { +"description": "Defines a header message. A header can have a key and a value.", +"id": "Header", +"properties": { +"key": { +"description": "The Key of the header.", +"type": "string" +}, +"value": { +"description": "The Value of the header.", +"type": "string" +} +}, +"type": "object" +}, +"HeaderOverride": { +"description": "Wraps the Header object.", +"id": "HeaderOverride", +"properties": { +"header": { +"$ref": "Header", +"description": "Header embodying a key and a value. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the [Service Specific Terms](https://cloud.google.com/terms/service-terms)." +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRequest": { +"description": "HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).", +"id": "HttpRequest", +"properties": { +"body": { +"description": "HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod.", +"format": "byte", +"type": "string" +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `\"Google-Cloud-Tasks\"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `\"application/octet-stream\"` or `\"application/json\"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB.", +"type": "object" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. The default is POST.", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"oauthToken": { +"$ref": "OAuthToken", +"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself." +}, +"url": { +"description": "Required. The full url path that the request will be sent to. This string must begin with either \"http://\" or \"https://\". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.", +"type": "string" +} +}, +"type": "object" +}, +"HttpTarget": { +"description": "HTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target.", +"id": "HttpTarget", +"properties": { +"headerOverrides": { +"description": "HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with \"X-CloudTasks-\", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example,`Content-Type` can be set to `\"application/octet-stream\"` or `\"application/json\"`. The default value is set to \"application/json\"`. * User-Agent: This will be set to `\"Google-Cloud-Tasks\"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the [Service Specific Terms](https://cloud.google.com/terms/service-terms).", +"items": { +"$ref": "HeaderOverride" +}, +"type": "array" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time.", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"oauthToken": { +"$ref": "OAuthToken", +"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override." +}, +"uriOverride": { +"$ref": "UriOverride", +"description": "URI override. When specified, overrides the execution URI for all the tasks in the queue." +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListQueuesResponse": { +"description": "Response message for ListQueues.", +"id": "ListQueuesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. To return the next page of results, call ListQueues with this value as the page_token. If the next_page_token is empty, there are no more results. The page token is valid for only 2 hours.", +"type": "string" +}, +"queues": { +"description": "The list of queues.", +"items": { +"$ref": "Queue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTasksResponse": { +"description": "Response message for listing tasks using ListTasks.", +"id": "ListTasksResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.", +"type": "string" +}, +"tasks": { +"description": "The list of tasks.", +"items": { +"$ref": "Task" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"OAuthToken": { +"description": "Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.", +"id": "OAuthToken", +"properties": { +"scope": { +"description": "OAuth scope to be used for generating OAuth access token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\" will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.", +"type": "string" +} +}, +"type": "object" +}, +"OidcToken": { +"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.", +"id": "OidcToken", +"properties": { +"audience": { +"description": "Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.", +"type": "string" +} +}, +"type": "object" +}, +"PathOverride": { +"description": "PathOverride. Path message defines path override for HTTP targets.", +"id": "PathOverride", +"properties": { +"path": { +"description": "The URI path (e.g., /users/1234). Default is an empty string.", +"type": "string" +} +}, +"type": "object" +}, +"PauseQueueRequest": { +"description": "Request message for PauseQueue.", +"id": "PauseQueueRequest", +"properties": {}, +"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": { +"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" +}, +"PurgeQueueRequest": { +"description": "Request message for PurgeQueue.", +"id": "PurgeQueueRequest", +"properties": {}, +"type": "object" +}, +"QueryOverride": { +"description": "QueryOverride. Query message defines query override for HTTP targets.", +"id": "QueryOverride", +"properties": { +"queryParams": { +"description": "The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.", +"type": "string" +} +}, +"type": "object" +}, +"Queue": { +"description": "A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, queue types, and others.", +"id": "Queue", +"properties": { +"appEngineRoutingOverride": { +"$ref": "AppEngineRouting", +"description": "Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing." +}, +"httpTarget": { +"$ref": "HttpTarget", +"description": "Modifies HTTP target for HTTP tasks." +}, +"name": { +"description": "Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.", +"type": "string" +}, +"purgeTime": { +"description": "Output only. The last time this queue was purged. All tasks that were created before this time were purged. A queue can be purged using PurgeQueue, the [App Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest microsecond. Purge time will be unset if the queue has never been purged.", +"format": "google-datetime", +"type": "string" +}, +"rateLimits": { +"$ref": "RateLimits", +"description": "Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts. However they control task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes." +}, +"retryConfig": { +"$ref": "RetryConfig", +"description": "Settings that determine the retry behavior. * For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud Tasks. Retry settings cannot be set on individual tasks. * For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not have retry settings explicitly set on the task and were created by the App Engine SDK. See [App Engine documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks)." +}, +"stackdriverLoggingConfig": { +"$ref": "StackdriverLoggingConfig", +"description": "Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written." +}, +"state": { +"description": "Output only. The state of the queue. `state` can only be changed by calling PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified state.", +"The queue is running. Tasks can be dispatched. If the queue was created using Cloud Tasks and the queue has had no activity (method calls or task dispatches) for 30 days, the queue may take a few minutes to re-activate. Some method calls may return NOT_FOUND and tasks may not be dispatched for a few minutes until the queue has been re-activated.", +"Tasks are paused by the user. If the queue is paused then Cloud Tasks will stop delivering tasks from it, but more tasks can still be added to it by the user.", +"The queue is disabled. A queue becomes `DISABLED` when [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded which does not contain the queue. You cannot directly disable a queue. When a queue is disabled, tasks can still be added to a queue but the tasks are not dispatched. To permanently delete this queue and all of its tasks, call DeleteQueue." +], +"type": "string" +} +}, +"type": "object" +}, +"RateLimits": { +"description": "Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.", +"id": "RateLimits", +"properties": { +"maxBurstSize": { +"description": "Output only. The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated. ", +"format": "int32", +"type": "integer" +}, +"maxConcurrentDispatches": { +"description": "The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).", +"format": "int32", +"type": "integer" +}, +"maxDispatchesPerSecond": { +"description": "The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * The maximum allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ResumeQueueRequest": { +"description": "Request message for ResumeQueue.", +"id": "ResumeQueueRequest", +"properties": {}, +"type": "object" +}, +"RetryConfig": { +"description": "Retry config. These settings determine when a failed task attempt is retried.", +"id": "RetryConfig", +"properties": { +"maxAttempts": { +"description": "Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). Note: Cloud Tasks stops retrying only when `max_attempts` and `max_retry_duration` are both satisfied. When the task has been attempted `max_attempts` times and when the `max_retry_duration` time has passed, no further attempts are made, and the task is deleted. If you want your task to retry infinitely, you must set `max_attempts` to -1 and `max_retry_duration` to 0.", +"format": "int32", +"type": "integer" +}, +"maxBackoff": { +"description": "A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_backoff` will be truncated to the nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +}, +"maxDoublings": { +"description": "The time between retries will double `max_doublings` times. A task's retry interval starts at min_backoff, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff up to max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s, and `max_doublings` is 3, then the a task will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the task will retry at intervals of max_backoff until the task has been attempted max_attempts times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "int32", +"type": "integer" +}, +"maxRetryDuration": { +"description": "If positive, `max_retry_duration` specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once `max_retry_duration` time has passed *and* the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For the maximum possible value or the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_retry_duration` will be truncated to the nearest second. This field has the same meaning as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +}, +"minBackoff": { +"description": "A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `min_backoff` will be truncated to the nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RunTaskRequest": { +"description": "Request message for forcing a task to run now using RunTask.", +"id": "RunTaskRequest", +"properties": { +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"type": "string" +} +}, +"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." +} +}, +"type": "object" +}, +"StackdriverLoggingConfig": { +"description": "Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).", +"id": "StackdriverLoggingConfig", +"properties": { +"samplingRatio": { +"description": "Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Task": { +"description": "A unit of scheduled work.", +"id": "Task", +"properties": { +"appEngineHttpRequest": { +"$ref": "AppEngineHttpRequest", +"description": "HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set." +}, +"createTime": { +"description": "Output only. The time that the task was created. `create_time` will be truncated to the nearest second.", +"format": "google-datetime", +"type": "string" +}, +"dispatchCount": { +"description": "Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.", +"format": "int32", +"type": "integer" +}, +"dispatchDeadline": { +"description": "The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline.", +"format": "google-duration", +"type": "string" +}, +"firstAttempt": { +"$ref": "Attempt", +"description": "Output only. The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks." +}, +"httpRequest": { +"$ref": "HttpRequest", +"description": "HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set." +}, +"lastAttempt": { +"$ref": "Attempt", +"description": "Output only. The status of the task's last attempt." +}, +"name": { +"description": "Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the task's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.", +"type": "string" +}, +"responseCount": { +"description": "Output only. The number of attempts which have received a response.", +"format": "int32", +"type": "integer" +}, +"scheduleTime": { +"description": "The time when the task is scheduled to be attempted or retried. `schedule_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"view": { +"description": "Output only. The view specifies which subset of the Task has been returned.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"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" +}, +"UriOverride": { +"description": "URI Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values.", +"id": "UriOverride", +"properties": { +"host": { +"description": "Host override. When specified, replaces the host part of the task URL. For example, if the task URL is \"https://www.google.com,\" and host value is set to \"example.net\", the overridden URI will be changed to \"https://example.net.\" Host value cannot be an empty string (INVALID_ARGUMENT).", +"type": "string" +}, +"pathOverride": { +"$ref": "PathOverride", +"description": "URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment." +}, +"port": { +"description": "Port override. When specified, replaces the port part of the task URI. For instance, for a URI \"https://www.example.com/example\" and port=123, the overridden URI becomes \"https://www.example.com:123/example\". Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.", +"format": "int64", +"type": "string" +}, +"queryOverride": { +"$ref": "QueryOverride", +"description": "URI query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment." +}, +"scheme": { +"description": "Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).", +"enum": [ +"SCHEME_UNSPECIFIED", +"HTTP", +"HTTPS" +], +"enumDescriptions": [ +"Scheme unspecified. Defaults to HTTPS.", +"Convert the scheme to HTTP, e.g., \"https://www.example.com\" will change to \"http://www.example.com\".", +"Convert the scheme to HTTPS, e.g., \"http://www.example.com\" will change to \"https://www.example.com\"." +], +"type": "string" +}, +"uriOverrideEnforceMode": { +"description": "URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.", +"enum": [ +"URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", +"IF_NOT_EXISTS", +"ALWAYS" +], +"enumDescriptions": [ +"UriOverrideEnforceMode Unspecified. Defaults to ALWAYS.", +"In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.", +"In the ALWAYS mode, queue-level configuration overrides all task-level configuration" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Tasks API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json new file mode 100644 index 0000000000000000000000000000000000000000..2dfad75f6eedbd99cd484d854587e613c5d6f603 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json @@ -0,0 +1,1805 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudtasks.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Tasks", +"description": "Manages the execution of large numbers of distributed requests.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/tasks/", +"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": "cloudtasks:v2beta3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudtasks.mtls.googleapis.com/", +"name": "cloudtasks", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCmekConfig": { +"description": "Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.getCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The config resource name. For example: projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v2beta3/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCmekConfig": { +"description": "Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/cmekConfig", +"httpMethod": "PATCH", +"id": "cloudtasks.projects.locations.updateCmekConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated in this request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"request": { +"$ref": "CmekConfig" +}, +"response": { +"$ref": "CmekConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"queues": { +"methods": { +"create": { +"description": "Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of allowed locations can be obtained by calling Cloud Tasks' implementation of ListLocations.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+parent}/queues", +"request": { +"$ref": "Queue" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a queue. This command will delete the queue even if it has tasks in it. Note : If you delete a queue, you may be prevented from creating a new queue with the same name as the deleted queue for a tombstone window of up to 3 days. During this window, the CreateQueue operation may appear to recreate the queue, but this can be misleading. If you attempt to create a queue with the same name as one that is in the tombstone window, run GetQueue to confirm that the queue creation was successful. If GetQueue returns 200 response code, your queue was successfully created with the name of the previously deleted queue. Otherwise, your queue did not successfully recreate. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "DELETE", +"id": "cloudtasks.projects.locations.queues.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a queue.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the queue. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats] will be returned only if it was explicitly specified in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy`", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:getIamPolicy", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists queues. Queues are returned in lexicographical order.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "`filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as described in [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). Sample filter \"state: PAUSED\". Note that using filters might cause fewer queues than the requested page_size to be returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the next_page_token in the response to determine if more queues exist.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListQueues method. It is an error to switch the value of the filter while iterating through pages.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats] will be returned only if it was explicitly specified in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+parent}/queues", +"response": { +"$ref": "ListQueuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}", +"httpMethod": "PATCH", +"id": "cloudtasks.projects.locations.queues.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"request": { +"$ref": "Queue" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses the queue. If a queue is paused then the system will stop dispatching tasks until the queue is resumed via ResumeQueue. Tasks can still be added when the queue is paused. A queue is paused if its state is PAUSED.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:pause", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}:pause", +"request": { +"$ref": "PauseQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Purges a queue by deleting all of its tasks. All tasks created before this method is called are permanently deleted. Purge operations can take up to one minute to take effect. Tasks might be dispatched before the purge takes effect. A purge is irreversible.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:purge", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.purge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}:purge", +"request": { +"$ref": "PurgeQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resume a queue. This method resumes a queue after it has been PAUSED or DISABLED. The state of a queue is stored in the queue's state; after calling this method it will be set to RUNNING. WARNING: Resuming many high-QPS queues at the same time can lead to target overloading. If you are resuming high-QPS queues, follow the 500/50/5 pattern described in [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:resume", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}:resume", +"request": { +"$ref": "ResumeQueueRequest" +}, +"response": { +"$ref": "Queue" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy`", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:setIamPolicy", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}:testIamPermissions", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.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/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tasks": { +"methods": { +"buffer": { +"description": "Creates and buffers a new task without the need to explicitly define a Task message. The queue must have HTTP target. To create the task with a custom ID, use the following format and set TASK_ID to your desired ID: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer To create the task with an automatically generated ID, use the following format: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{taskId}:buffer", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.buffer", +"parameterOrder": [ +"queue", +"taskId" +], +"parameters": { +"queue": { +"description": "Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"taskId": { +"description": "Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+queue}/tasks/{taskId}:buffer", +"request": { +"$ref": "BufferTaskRequest" +}, +"response": { +"$ref": "BufferTaskResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * The maximum task size is 100KB.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+parent}/tasks", +"request": { +"$ref": "CreateTaskRequest" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has executed successfully or permanently failed.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}", +"httpMethod": "DELETE", +"id": "cloudtasks.projects.locations.queues.tasks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a task. After a task is successfully executed or has exhausted its retry attempts, the task is deleted. A `GetTask` request for a deleted task returns a `NOT_FOUND` error.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.tasks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +}, +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+name}", +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations; response_view controls the subset of information which is returned. The tasks may be returned in any order. The ordering may change at any time.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks", +"httpMethod": "GET", +"id": "cloudtasks.projects.locations.queues.tasks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page size is 1000. If unspecified, the page size will be the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+$", +"required": true, +"type": "string" +}, +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"location": "query", +"type": "string" +} +}, +"path": "v2beta3/{+parent}/tasks", +"response": { +"$ref": "ListTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"run": { +"description": "Forces a task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task is already running, the queue has reached its RateLimits or is PAUSED. This command is meant to be used for manual debugging. For example, RunTask can be used to retry a failed task after a fix has been made or to manually force a task to be dispatched now. The dispatched task is returned. That is, the task that is returned contains the status after the task is dispatched but before the task is received by its target. If Cloud Tasks receives a successful response from the task's target, then the task will be deleted; otherwise the task's schedule_time will be reset to the time that RunTask was called plus the retry delay specified in the queue's RetryConfig. RunTask returns NOT_FOUND when it is called on a task that has already succeeded or permanently failed.", +"flatPath": "v2beta3/projects/{projectsId}/locations/{locationsId}/queues/{queuesId}/tasks/{tasksId}:run", +"httpMethod": "POST", +"id": "cloudtasks.projects.locations.queues.tasks.run", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/queues/[^/]+/tasks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta3/{+name}:run", +"request": { +"$ref": "RunTaskRequest" +}, +"response": { +"$ref": "Task" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260115", +"rootUrl": "https://cloudtasks.googleapis.com/", +"schemas": { +"AppEngineHttpQueue": { +"description": "App Engine HTTP queue. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpQueue and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpQueue requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform`", +"id": "AppEngineHttpQueue", +"properties": { +"appEngineRoutingOverride": { +"$ref": "AppEngineRouting", +"description": "Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing." +} +}, +"type": "object" +}, +"AppEngineHttpRequest": { +"description": "App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks are not run as any user, they cannot be dispatched to URIs restricted with [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue.", +"id": "AppEngineHttpRequest", +"properties": { +"appEngineRouting": { +"$ref": "AppEngineRouting", +"description": "Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing." +}, +"body": { +"description": "HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod.", +"format": "byte", +"type": "string" +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `\"AppEngine-Google; (+http://code.google.com/appengine)\"`. This header can be modified, but Cloud Tasks will append `\"AppEngine-Google; (+http://code.google.com/appengine)\"` to the modified `User-Agent`. If the task has a body, Cloud Tasks sets the following headers: * `Content-Type`: By default, the `Content-Type` header is set to `\"application/octet-stream\"`. The default can be overridden by explicitly setting `Content-Type` to a particular media type when the task is created. For example, `Content-Type` can be set to `\"application/json\"`. * `Content-Length`: This is computed by Cloud Tasks. This value is output only. It cannot be changed. The headers below cannot be set or overridden: * `Host` * `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers when the task is dispatched, such as headers containing information about the task; see [request headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_request_headers). These headers are set only when the task is dispatched, so they are not visible when the task is returned in a Cloud Tasks response. Although there is no specific limit for the maximum number of headers or the size, there is a limit on the maximum size of the Task. For more information, see the CreateTask documentation.", +"type": "object" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"relativeUri": { +"description": "The relative URI. The relative URI must begin with \"/\" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then the root path \"/\" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.", +"type": "string" +} +}, +"type": "object" +}, +"AppEngineRouting": { +"description": "App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).", +"id": "AppEngineRouting", +"properties": { +"host": { +"description": "Output only. The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).", +"type": "string" +}, +"instance": { +"description": "App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).", +"type": "string" +}, +"service": { +"description": "App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.", +"type": "string" +}, +"version": { +"description": "App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.", +"type": "string" +} +}, +"type": "object" +}, +"Attempt": { +"description": "The status of a task attempt.", +"id": "Attempt", +"properties": { +"dispatchTime": { +"description": "Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"responseStatus": { +"$ref": "Status", +"description": "Output only. The response from the worker for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field is meaningless." +}, +"responseTime": { +"description": "Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"scheduleTime": { +"description": "Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"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" +}, +"BufferTaskRequest": { +"description": "Request message for BufferTask.", +"id": "BufferTaskRequest", +"properties": { +"body": { +"$ref": "HttpBody", +"description": "Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task]." +} +}, +"type": "object" +}, +"BufferTaskResponse": { +"description": "Response message for BufferTask.", +"id": "BufferTaskResponse", +"properties": { +"task": { +"$ref": "Task", +"description": "The created task." +} +}, +"type": "object" +}, +"CmekConfig": { +"description": "Describes the customer-managed encryption key (CMEK) configuration associated with a project and location.", +"id": "CmekConfig", +"properties": { +"kmsKey": { +"description": "Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.", +"type": "string" +}, +"name": { +"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CreateTaskRequest": { +"description": "Request message for CreateTask.", +"id": "CreateTaskRequest", +"properties": { +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"type": "string" +}, +"task": { +"$ref": "Task", +"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. The IDs of deleted tasks are not immediately available for reuse. It can take up to 24 hours (or 9 days if the task's queue was created using a queue.yaml or queue.xml) for the task ID to be released and made available again. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently." +} +}, +"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" +}, +"Header": { +"description": "Defines a header message. A header can have a key and a value.", +"id": "Header", +"properties": { +"key": { +"description": "The Key of the header.", +"type": "string" +}, +"value": { +"description": "The Value of the header.", +"type": "string" +} +}, +"type": "object" +}, +"HeaderOverride": { +"description": "Wraps the Header object.", +"id": "HeaderOverride", +"properties": { +"header": { +"$ref": "Header", +"description": "Header embodying a key and a value. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the [Service Specific Terms](https://cloud.google.com/terms/service-terms)." +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRequest": { +"description": "HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time).", +"id": "HttpRequest", +"properties": { +"body": { +"description": "HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod.", +"format": "byte", +"type": "string" +}, +"headers": { +"additionalProperties": { +"type": "string" +}, +"description": "HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Any header that is prefixed with \"X-CloudTasks-\" will be treated as service header. Service headers define properties of the task and are predefined in Cloud Tasks. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `\"Google-Cloud-Tasks\"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `\"application/octet-stream\"` or `\"application/json\"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB.", +"type": "object" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. The default is POST.", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"oauthToken": { +"$ref": "OAuthToken", +"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself." +}, +"url": { +"description": "Required. The full url path that the request will be sent to. This string must begin with either \"http://\" or \"https://\". Some examples are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location` header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.", +"type": "string" +} +}, +"type": "object" +}, +"HttpTarget": { +"description": "HTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target.", +"id": "HttpTarget", +"properties": { +"headerOverrides": { +"description": "HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with \"X-CloudTasks-\", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example,`Content-Type` can be set to `\"application/octet-stream\"` or `\"application/json\"`. The default value is set to `\"application/json\"`. * User-Agent: This will be set to `\"Google-Cloud-Tasks\"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the [Service Specific Terms](https://cloud.google.com/terms/service-terms).", +"items": { +"$ref": "HeaderOverride" +}, +"type": "array" +}, +"httpMethod": { +"description": "The HTTP method to use for the request. When specified, it overrides HttpRequest.http_method for the task. Note that if the value is set to HttpMethod.GET the HttpRequest.body of the task will be ignored at execution time.", +"enum": [ +"HTTP_METHOD_UNSPECIFIED", +"POST", +"GET", +"HEAD", +"PUT", +"DELETE", +"PATCH", +"OPTIONS" +], +"enumDescriptions": [ +"HTTP method unspecified", +"HTTP POST", +"HTTP GET", +"HTTP HEAD", +"HTTP PUT", +"HTTP DELETE", +"HTTP PATCH", +"HTTP OPTIONS" +], +"type": "string" +}, +"oauthToken": { +"$ref": "OAuthToken", +"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override." +}, +"oidcToken": { +"$ref": "OidcToken", +"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override." +}, +"uriOverride": { +"$ref": "UriOverride", +"description": "URI override. When specified, overrides the execution URI for all the tasks in the queue." +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListQueuesResponse": { +"description": "Response message for ListQueues.", +"id": "ListQueuesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. To return the next page of results, call ListQueues with this value as the page_token. If the next_page_token is empty, there are no more results. The page token is valid for only 2 hours.", +"type": "string" +}, +"queues": { +"description": "The list of queues.", +"items": { +"$ref": "Queue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTasksResponse": { +"description": "Response message for listing tasks using ListTasks.", +"id": "ListTasksResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more results.", +"type": "string" +}, +"tasks": { +"description": "The list of tasks.", +"items": { +"$ref": "Task" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"OAuthToken": { +"description": "Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.", +"id": "OAuthToken", +"properties": { +"scope": { +"description": "OAuth scope to be used for generating OAuth access token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\" will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.", +"type": "string" +} +}, +"type": "object" +}, +"OidcToken": { +"description": "Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.", +"id": "OidcToken", +"properties": { +"audience": { +"description": "Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.", +"type": "string" +}, +"serviceAccountEmail": { +"description": "[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.", +"type": "string" +} +}, +"type": "object" +}, +"PathOverride": { +"description": "PathOverride. Path message defines path override for HTTP targets.", +"id": "PathOverride", +"properties": { +"path": { +"description": "The URI path (e.g., /users/1234). Default is an empty string.", +"type": "string" +} +}, +"type": "object" +}, +"PauseQueueRequest": { +"description": "Request message for PauseQueue.", +"id": "PauseQueueRequest", +"properties": {}, +"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": { +"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" +}, +"PullMessage": { +"description": "Pull Message. This proto can only be used for tasks in a queue which has PULL type. It currently exists for backwards compatibility with the App Engine Task Queue SDK. This message type maybe returned with methods list and get, when the response view is FULL.", +"id": "PullMessage", +"properties": { +"payload": { +"description": "A data payload consumed by the worker to execute the task.", +"format": "byte", +"type": "string" +}, +"tag": { +"description": "The tasks's tag. The tag is less than 500 characters. SDK compatibility: Although the SDK allows tags to be either string or [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the task is returned by Cloud Tasks.", +"type": "string" +} +}, +"type": "object" +}, +"PurgeQueueRequest": { +"description": "Request message for PurgeQueue.", +"id": "PurgeQueueRequest", +"properties": {}, +"type": "object" +}, +"QueryOverride": { +"description": "QueryOverride. Query message defines query override for HTTP targets.", +"id": "QueryOverride", +"properties": { +"queryParams": { +"description": "The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string.", +"type": "string" +} +}, +"type": "object" +}, +"Queue": { +"description": "A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, queue types, and others.", +"id": "Queue", +"properties": { +"appEngineHttpQueue": { +"$ref": "AppEngineHttpQueue", +"description": "AppEngineHttpQueue settings apply only to App Engine tasks in this queue. Http tasks are not affected by this proto." +}, +"httpTarget": { +"$ref": "HttpTarget", +"description": "Modifies HTTP target for HTTP tasks." +}, +"name": { +"description": "Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.", +"type": "string" +}, +"purgeTime": { +"description": "Output only. The last time this queue was purged. All tasks that were created before this time were purged. A queue can be purged using PurgeQueue, the [App Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest microsecond. Purge time will be unset if the queue has never been purged.", +"format": "google-datetime", +"type": "string" +}, +"rateLimits": { +"$ref": "RateLimits", +"description": "Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts. However they control task attempts in different ways: * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). * retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc). The queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes." +}, +"retryConfig": { +"$ref": "RetryConfig", +"description": "Settings that determine the retry behavior. * For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud Tasks. Retry settings cannot be set on individual tasks. * For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not have retry settings explicitly set on the task and were created by the App Engine SDK. See [App Engine documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks)." +}, +"stackdriverLoggingConfig": { +"$ref": "StackdriverLoggingConfig", +"description": "Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written." +}, +"state": { +"description": "Output only. The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified state.", +"The queue is running. Tasks can be dispatched. If the queue was created using Cloud Tasks and the queue has had no activity (method calls or task dispatches) for 30 days, the queue may take a few minutes to re-activate. Some method calls may return NOT_FOUND and tasks may not be dispatched for a few minutes until the queue has been re-activated.", +"Tasks are paused by the user. If the queue is paused then Cloud Tasks will stop delivering tasks from it, but more tasks can still be added to it by the user.", +"The queue is disabled. A queue becomes `DISABLED` when [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref) or [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref) is uploaded which does not contain the queue. You cannot directly disable a queue. When a queue is disabled, tasks can still be added to a queue but the tasks are not dispatched. To permanently delete this queue and all of its tasks, call DeleteQueue." +], +"type": "string" +}, +"stats": { +"$ref": "QueueStats", +"description": "Output only. The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask.", +"readOnly": true +}, +"taskTtl": { +"description": "The maximum amount of time that a task will be retained in this queue. After a task has lived for `task_ttl`, the task will be deleted regardless of whether it was dispatched or not. The minimum value is 10 days. The maximum value is 10 years. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). Queues created by Cloud Tasks have a default `task_ttl` of 31 days. . Queues created by queue.yaml/xml have a fixed `task_ttl` of the maximum duration, because there is a [storage quota](https://docs.cloud.google.com/appengine/docs/standard/quotas#Task_Queue) for these queues.", +"format": "google-duration", +"type": "string" +}, +"tombstoneTtl": { +"description": "The task tombstone time to live (TTL). After a task is deleted or executed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation for CreateTaskRequest. The minimum value is 1 hour. The maximum value is 9 days. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Immutable. The type of a queue (push or pull). `Queue.type` is an immutable property of the queue that is set at the queue creation time. When left unspecified, the default value of `PUSH` is selected.", +"enum": [ +"TYPE_UNSPECIFIED", +"PULL", +"PUSH" +], +"enumDescriptions": [ +"Default value.", +"A pull queue.", +"A push queue." +], +"type": "string" +} +}, +"type": "object" +}, +"QueueStats": { +"description": "Statistics for a queue.", +"id": "QueueStats", +"properties": { +"concurrentDispatchesCount": { +"description": "Output only. The number of requests that the queue has dispatched but has not received a reply for yet.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"effectiveExecutionRate": { +"description": "Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this value could be less to avoid overloading the endpoints tasks in the queue are targeting.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"executedLastMinuteCount": { +"description": "Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"oldestEstimatedArrivalTime": { +"description": "Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"tasksCount": { +"description": "Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but has not yet received a reply for, and the failed tasks that the queue is retrying.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RateLimits": { +"description": "Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.", +"id": "RateLimits", +"properties": { +"maxBurstSize": { +"description": "The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. ", +"format": "int32", +"type": "integer" +}, +"maxConcurrentDispatches": { +"description": "The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).", +"format": "int32", +"type": "integer" +}, +"maxDispatchesPerSecond": { +"description": "The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ResumeQueueRequest": { +"description": "Request message for ResumeQueue.", +"id": "ResumeQueueRequest", +"properties": {}, +"type": "object" +}, +"RetryConfig": { +"description": "Retry config. These settings determine when a failed task attempt is retried.", +"id": "RetryConfig", +"properties": { +"maxAttempts": { +"description": "Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). Note: Cloud Tasks stops retrying only when `max_attempts` and `max_retry_duration` are both satisfied. When the task has been attempted `max_attempts` times and when the `max_retry_duration` time has passed, no further attempts are made, and the task is deleted. If you want your task to retry infinitely, you must set `max_attempts` to -1 and `max_retry_duration` to 0.", +"format": "int32", +"type": "integer" +}, +"maxBackoff": { +"description": "A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_backoff` will be truncated to the nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +}, +"maxDoublings": { +"description": "The time between retries will double `max_doublings` times. A task's retry interval starts at min_backoff, then doubles `max_doublings` times, then increases linearly, and finally retries at intervals of max_backoff up to max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s, and `max_doublings` is 3, then the a task will first be retried in 10s. The retry interval will double three times, and then increase linearly by 2^3 * 10s. Finally, the task will retry at intervals of max_backoff until the task has been attempted max_attempts times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is created, Cloud Tasks will pick the default. This field has the same meaning as [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "int32", +"type": "integer" +}, +"maxRetryDuration": { +"description": "If positive, `max_retry_duration` specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once `max_retry_duration` time has passed *and* the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For the maximum possible value or the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_retry_duration` will be truncated to the nearest second. This field has the same meaning as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +}, +"minBackoff": { +"description": "A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `min_backoff` will be truncated to the nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"RunTaskRequest": { +"description": "Request message for forcing a task to run now using RunTask.", +"id": "RunTaskRequest", +"properties": { +"responseView": { +"description": "The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"type": "string" +} +}, +"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." +} +}, +"type": "object" +}, +"StackdriverLoggingConfig": { +"description": "Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/).", +"id": "StackdriverLoggingConfig", +"properties": { +"samplingRatio": { +"description": "Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Task": { +"description": "A unit of scheduled work.", +"id": "Task", +"properties": { +"appEngineHttpRequest": { +"$ref": "AppEngineHttpRequest", +"description": "HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set." +}, +"createTime": { +"description": "Output only. The time that the task was created. `create_time` will be truncated to the nearest second.", +"format": "google-datetime", +"type": "string" +}, +"dispatchCount": { +"description": "Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.", +"format": "int32", +"type": "integer" +}, +"dispatchDeadline": { +"description": "The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the worker stops processing depends on the worker. For example, if the worker is stuck, it may not react to cancelled requests. The default and maximum values depend on the type of request: * For HTTP tasks, the default is 10 minutes. The deadline must be in the interval [15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request has the default deadline. The default deadline depends on the [scaling type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) of the service: 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for \"seconds\"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an approximate deadline.", +"format": "google-duration", +"type": "string" +}, +"firstAttempt": { +"$ref": "Attempt", +"description": "Output only. The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks." +}, +"httpRequest": { +"$ref": "HttpRequest", +"description": "HTTP request that is sent to the task's target. An HTTP task is a task that has HttpRequest set." +}, +"lastAttempt": { +"$ref": "Attempt", +"description": "Output only. The status of the task's last attempt." +}, +"name": { +"description": "Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the task's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum length is 500 characters.", +"type": "string" +}, +"pullMessage": { +"$ref": "PullMessage", +"description": "Pull Message contained in a task in a PULL queue type. This payload type cannot be explicitly set through Cloud Tasks API. Its purpose, currently is to provide backward compatibility with App Engine Task Queue [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/) queues to provide a way to inspect contents of pull tasks through the CloudTasks.GetTask." +}, +"responseCount": { +"description": "Output only. The number of attempts which have received a response.", +"format": "int32", +"type": "integer" +}, +"scheduleTime": { +"description": "The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. `schedule_time` will be truncated to the nearest microsecond.", +"format": "google-datetime", +"type": "string" +}, +"view": { +"description": "Output only. The view specifies which subset of the Task has been returned.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Unspecified. Defaults to BASIC.", +"The basic view omits fields which can be large or can contain sensitive data. This view does not include the body in AppEngineHttpRequest. Bodies are desirable to return only when needed, because they can be large and because of the sensitivity of the data that you choose to store in it.", +"All information is returned. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Queue resource." +], +"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" +}, +"UriOverride": { +"description": "URI Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values.", +"id": "UriOverride", +"properties": { +"host": { +"description": "Host override. When specified, replaces the host part of the task URL. For example, if the task URL is \"https://www.google.com,\" and host value is set to \"example.net\", the overridden URI will be changed to \"https://example.net.\" Host value cannot be an empty string (INVALID_ARGUMENT).", +"type": "string" +}, +"pathOverride": { +"$ref": "PathOverride", +"description": "URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment." +}, +"port": { +"description": "Port override. When specified, replaces the port part of the task URI. For instance, for a URI \"https://www.example.com/example\" and port=123, the overridden URI becomes \"https://www.example.com:123/example\". Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.", +"format": "int64", +"type": "string" +}, +"queryOverride": { +"$ref": "QueryOverride", +"description": "URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment." +}, +"scheme": { +"description": "Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).", +"enum": [ +"SCHEME_UNSPECIFIED", +"HTTP", +"HTTPS" +], +"enumDescriptions": [ +"Scheme unspecified. Defaults to HTTPS.", +"Convert the scheme to HTTP, e.g., \"https://www.example.com\" will change to \"http://www.example.com\".", +"Convert the scheme to HTTPS, e.g., \"http://www.example.com\" will change to \"https://www.example.com\"." +], +"type": "string" +}, +"uriOverrideEnforceMode": { +"description": "URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.", +"enum": [ +"URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", +"IF_NOT_EXISTS", +"ALWAYS" +], +"enumDescriptions": [ +"OverrideMode Unspecified. Defaults to ALWAYS.", +"In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.", +"In the ALWAYS mode, queue-level configuration overrides all task-level configuration" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Tasks API", +"version": "v2beta3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..2838ec1f15e3488857ea73e3d67f4c5abbc16a2d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json @@ -0,0 +1,339 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/trace.append": { +"description": "Write Trace data for a project or application" +}, +"https://www.googleapis.com/auth/trace.readonly": { +"description": "Read Trace data for a project or application" +} +} +} +}, +"basePath": "", +"baseUrl": "https://cloudtrace.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Trace", +"description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/trace/", +"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": "cloudtrace:v2beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://cloudtrace.mtls.googleapis.com/", +"name": "cloudtrace", +"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": { +"traceSinks": { +"methods": { +"create": { +"description": "Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's `writer_identity` is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent').", +"flatPath": "v2beta1/projects/{projectsId}/traceSinks", +"httpMethod": "POST", +"id": "cloudtrace.projects.traceSinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource in which to create the sink (currently only project sinks are supported): \"projects/[PROJECT_ID]\" Examples: `\"projects/my-trace-project\"`, `\"projects/123456789\"`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/traceSinks", +"request": { +"$ref": "TraceSink" +}, +"response": { +"$ref": "TraceSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.append" +] +}, +"delete": { +"description": "Deletes a sink.", +"flatPath": "v2beta1/projects/{projectsId}/traceSinks/{traceSinksId}", +"httpMethod": "DELETE", +"id": "cloudtrace.projects.traceSinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: \"projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]\" Example: `\"projects/12345/traceSinks/my-sink-id\"`.", +"location": "path", +"pattern": "^projects/[^/]+/traceSinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.append" +] +}, +"get": { +"description": "Get a trace sink by name under the parent resource (GCP project).", +"flatPath": "v2beta1/projects/{projectsId}/traceSinks/{traceSinksId}", +"httpMethod": "GET", +"id": "cloudtrace.projects.traceSinks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the sink: \"projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]\" Example: `\"projects/12345/traceSinks/my-sink-id\"`.", +"location": "path", +"pattern": "^projects/[^/]+/traceSinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"response": { +"$ref": "TraceSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.readonly" +] +}, +"list": { +"description": "List all sinks for the parent resource (GCP project).", +"flatPath": "v2beta1/projects/{projectsId}/traceSinks", +"httpMethod": "GET", +"id": "cloudtrace.projects.traceSinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource whose sinks are to be listed (currently only project parent resources are supported): \"projects/[PROJECT_ID]\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta1/{+parent}/traceSinks", +"response": { +"$ref": "ListTraceSinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.readonly" +] +}, +"patch": { +"description": "Updates a sink. This method updates fields in the existing sink according to the provided update mask. The sink's name cannot be changed nor any output-only fields (e.g. the writer_identity).", +"flatPath": "v2beta1/projects/{projectsId}/traceSinks/{traceSinksId}", +"httpMethod": "PATCH", +"id": "cloudtrace.projects.traceSinks.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifier: \"projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]\" Example: `\"projects/12345/traceSinks/my-sink-id\"`.", +"location": "path", +"pattern": "^projects/[^/]+/traceSinks/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask that specifies the fields in `trace_sink` that are to be updated. A sink field is overwritten if, and only if, it is in the update mask. `name` and `writer_identity` fields cannot be updated. An empty `update_mask` is considered an error. For a detailed `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask Example: `updateMask=output_config`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta1/{+name}", +"request": { +"$ref": "TraceSink" +}, +"response": { +"$ref": "TraceSink" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/trace.append" +] +} +} +} +} +} +}, +"revision": "20251003", +"rootUrl": "https://cloudtrace.googleapis.com/", +"schemas": { +"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" +}, +"ListTraceSinksResponse": { +"description": "Result returned from `ListTraceSinks`.", +"id": "ListTraceSinksResponse", +"properties": { +"nextPageToken": { +"description": "A paginated response where more pages might be available has `next_page_token` set. To get the next set of results, call the same method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"sinks": { +"description": "A list of sinks.", +"items": { +"$ref": "TraceSink" +}, +"type": "array" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "OutputConfig contains a destination for writing trace data.", +"id": "OutputConfig", +"properties": { +"destination": { +"description": "Required. The destination for writing trace data. Supported formats include: \"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]\"", +"type": "string" +} +}, +"type": "object" +}, +"TraceSink": { +"description": "Describes a sink used to export traces to a BigQuery dataset. The sink must be created within a project.", +"id": "TraceSink", +"properties": { +"name": { +"description": "Identifier. The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `\"projects/12345/traceSinks/my-project-trace-sink\"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.", +"type": "string" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. The export destination." +}, +"writerIdentity": { +"description": "Output only. A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see [Granting access for a resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). To create tables and to write data, this account needs the `dataEditor` role. Read more about roles in the [BigQuery documentation](https://cloud.google.com/bigquery/docs/access-control). E.g.: \"service-00000001@00000002.iam.gserviceaccount.com\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Trace API", +"version": "v2beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/config.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/config.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f098ead3f5409986683dfb0d5b102f8672da46bf --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/config.v1.json @@ -0,0 +1,3252 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://config.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Config", +"description": "Creates and manages Google Cloud Platform resources and infrastructure.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/infrastructure-manager/docs", +"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": "config:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://config.mtls.googleapis.com/", +"name": "config", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "config.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAutoMigrationConfig": { +"description": "Get the AutoMigrationConfig for a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoMigrationConfig", +"httpMethod": "GET", +"id": "config.projects.locations.getAutoMigrationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AutoMigrationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "config.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAutoMigrationConfig": { +"description": "Updates the AutoMigrationConfig for a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoMigrationConfig", +"httpMethod": "PATCH", +"id": "config.projects.locations.updateAutoMigrationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/autoMigrationConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applies to the resource. See google.protobuf.FieldMask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AutoMigrationConfig" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"deployments": { +"methods": { +"create": { +"description": "Creates a Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"deploymentId": { +"description": "Required. The Deployment ID.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the Deployment is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", +"httpMethod": "DELETE", +"id": "config.projects.locations.deployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"deletePolicy": { +"description": "Optional. Policy on how resources actuated by the deployment should be deleted. If unspecified, the default behavior is to delete the underlying resources.", +"enum": [ +"DELETE_POLICY_UNSPECIFIED", +"DELETE", +"ABANDON" +], +"enumDescriptions": [ +"Unspecified policy, resources will be deleted.", +"Deletes resources actuated by the deployment.", +"Abandons resources and only deletes the deployment and its metadata." +], +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any revisions for this deployment will also be deleted. (Otherwise, the request will only work if the deployment has no revisions.)", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the Deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteState": { +"description": "Deletes Terraform state file in a given deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:deleteState", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.deleteState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deleteState", +"request": { +"$ref": "DeleteStatefileRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportLock": { +"description": "Exports the lock info on a locked deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:exportLock", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.exportLock", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:exportLock", +"response": { +"$ref": "LockInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportState": { +"description": "Exports Terraform state file from a given deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:exportState", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.exportState", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:exportState", +"request": { +"$ref": "ExportDeploymentStatefileRequest" +}, +"response": { +"$ref": "Statefile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Deployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:getIamPolicy", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importState": { +"description": "Imports Terraform state file in a given deployment. The state file does not take effect until the Deployment has been unlocked.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:importState", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.importState", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:importState", +"request": { +"$ref": "ImportStatefileRequest" +}, +"response": { +"$ref": "Statefile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Deployments in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the Deployments are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deployments", +"response": { +"$ref": "ListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"lock": { +"description": "Locks a deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:lock", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.lock", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:lock", +"request": { +"$ref": "LockDeploymentRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}", +"httpMethod": "PATCH", +"id": "config.projects.locations.deployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"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 used to specify the fields to be overwritten in the Deployment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Deployment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:setIamPolicy", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.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/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:testIamPermissions", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.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/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"unlock": { +"description": "Unlocks a locked deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}:unlock", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.unlock", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:unlock", +"request": { +"$ref": "UnlockDeploymentRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"revisions": { +"methods": { +"exportState": { +"description": "Exports Terraform state file from a given revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}:exportState", +"httpMethod": "POST", +"id": "config.projects.locations.deployments.revisions.exportState", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:exportState", +"request": { +"$ref": "ExportRevisionStatefileRequest" +}, +"response": { +"$ref": "Statefile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.revisions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Revision" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Revisions of a deployment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.revisions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Revisions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Revisions in CREATING state. state=CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a page of resources, `page_size` specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to 'ListRevisions' which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/revisions", +"response": { +"$ref": "ListRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"resources": { +"methods": { +"get": { +"description": "Gets details about a Resource deployed by Infra Manager.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}/resources/{resourcesId}", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.revisions.resources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Resource in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+/resources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Resource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Resources in a given revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployments/{deploymentsId}/revisions/{revisionsId}/resources", +"httpMethod": "GET", +"id": "config.projects.locations.deployments.revisions.resources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/deployments/[^/]+/revisions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resources", +"response": { +"$ref": "ListResourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "config.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "config.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "config.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "config.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"previews": { +"methods": { +"create": { +"description": "Creates a Preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews", +"httpMethod": "POST", +"id": "config.projects.locations.previews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"previewId": { +"description": "Optional. The preview ID.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/previews", +"request": { +"$ref": "Preview" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}", +"httpMethod": "DELETE", +"id": "config.projects.locations.previews.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Export Preview results.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}:export", +"httpMethod": "POST", +"id": "config.projects.locations.previews.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:export", +"request": { +"$ref": "ExportPreviewResultRequest" +}, +"response": { +"$ref": "ExportPreviewResultResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}", +"httpMethod": "GET", +"id": "config.projects.locations.previews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Preview" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Previews in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews", +"httpMethod": "GET", +"id": "config.projects.locations.previews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the Deployments that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/deployments/bar - Filter by labels: - Resources that have a key called 'foo' labels.foo:* - Resources that have a key called 'foo' whose value is 'bar' labels.foo = bar - Filter by state: - Deployments in CREATING state. state=CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to 'ListDeployments' which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/previews", +"response": { +"$ref": "ListPreviewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"resourceChanges": { +"methods": { +"get": { +"description": "Get a ResourceChange for a given preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}/resourceChanges/{resourceChangesId}", +"httpMethod": "GET", +"id": "config.projects.locations.previews.resourceChanges.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+/resourceChanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ResourceChange" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ResourceChanges for a given preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}/resourceChanges", +"httpMethod": "GET", +"id": "config.projects.locations.previews.resourceChanges.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the resource changes that match the filter expression. A filter expression filters the resource changes listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/previews/dep/resourceChanges/baz", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a page of resource changes, 'page_size' specifies number of resource changes to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to 'ListResourceChanges' which specifies the position in the list from where to continue listing the resource changes.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourceChanges", +"response": { +"$ref": "ListResourceChangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"resourceDrifts": { +"methods": { +"get": { +"description": "Get a ResourceDrift for a given preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}/resourceDrifts/{resourceDriftsId}", +"httpMethod": "GET", +"id": "config.projects.locations.previews.resourceDrifts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+/resourceDrifts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ResourceDrift" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List ResourceDrifts for a given preview.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/previews/{previewsId}/resourceDrifts", +"httpMethod": "GET", +"id": "config.projects.locations.previews.resourceDrifts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the resource drifts that match the filter expression. A filter expression filters the resource drifts listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a page of resource drifts, 'page_size' specifies number of resource drifts to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to 'ListResourceDrifts' which specifies the position in the list from where to continue listing the resource drifts.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/previews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/resourceDrifts", +"response": { +"$ref": "ListResourceDriftsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"terraformVersions": { +"methods": { +"get": { +"description": "Gets details about a TerraformVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/terraformVersions/{terraformVersionsId}", +"httpMethod": "GET", +"id": "config.projects.locations.terraformVersions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the TerraformVersion. Format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/terraformVersions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TerraformVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists TerraformVersions in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/terraformVersions", +"httpMethod": "GET", +"id": "config.projects.locations.terraformVersions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists the TerraformVersions that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field to use to sort the list.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a page of terraform versions, 'page_size' specifies number of terraform versions to return. If unspecified, at most 500 will be returned. The maximum value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to 'ListTerraformVersions' which specifies the position in the list from where to continue listing the terraform versions.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent in whose context the TerraformVersions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/terraformVersions", +"response": { +"$ref": "ListTerraformVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://config.googleapis.com/", +"schemas": { +"ApplyResults": { +"description": "Outputs and artifacts from applying a deployment.", +"id": "ApplyResults", +"properties": { +"artifacts": { +"description": "Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`", +"type": "string" +}, +"content": { +"description": "Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`", +"type": "string" +}, +"outputs": { +"additionalProperties": { +"$ref": "TerraformOutput" +}, +"description": "Map of output name to output info.", +"type": "object" +} +}, +"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" +}, +"AutoMigrationConfig": { +"description": "AutoMigrationConfig contains the automigration configuration for a project.", +"id": "AutoMigrationConfig", +"properties": { +"autoMigrationEnabled": { +"description": "Optional. Whether the auto migration is enabled for the project.", +"type": "boolean" +}, +"name": { +"description": "Identifier. The name of the AutoMigrationConfig. Format: 'projects/{project_id}/locations/{location}/AutoMigrationConfig'.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the AutoMigrationConfig was last updated.", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"DeleteStatefileRequest": { +"description": "A request to delete a state file passed to a 'DeleteStatefile' call.", +"id": "DeleteStatefileRequest", +"properties": { +"lockId": { +"description": "Required. Lock ID of the lock file to verify that the user who is deleting the state file previously locked the Deployment.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Deployment": { +"description": "A Deployment is a group of resources and configs managed and provisioned by Infra Manager.", +"id": "Deployment", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", +"type": "object" +}, +"artifactsGcsBucket": { +"description": "Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the deployment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteBuild": { +"description": "Output only. Cloud Build instance UUID associated with deleting this deployment.", +"readOnly": true, +"type": "string" +}, +"deleteLogs": { +"description": "Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.", +"readOnly": true, +"type": "string" +}, +"deleteResults": { +"$ref": "ApplyResults", +"description": "Output only. Location of artifacts from a DeleteDeployment operation.", +"readOnly": true +}, +"errorCode": { +"description": "Output only. Error code describing errors that may have occurred.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"REVISION_FAILED", +"CLOUD_BUILD_PERMISSION_DENIED", +"DELETE_BUILD_API_FAILED", +"DELETE_BUILD_RUN_FAILED", +"BUCKET_CREATION_PERMISSION_DENIED", +"BUCKET_CREATION_FAILED", +"EXTERNAL_VALUE_SOURCE_IMPORT_FAILED" +], +"enumDescriptions": [ +"No error code was specified.", +"The revision failed. See Revision for more details.", +"Cloud Build failed due to a permission issue.", +"Cloud Build job associated with a deployment deletion could not be started.", +"Cloud Build job associated with a deployment deletion was started but failed.", +"Cloud Storage bucket creation failed due to a permission issue.", +"Cloud Storage bucket creation failed due to an issue unrelated to permissions.", +"Failed to import values from an external source." +], +"readOnly": true, +"type": "string" +}, +"errorLogs": { +"description": "Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.", +"readOnly": true, +"type": "string" +}, +"importExistingResources": { +"description": "By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined metadata for the deployment.", +"type": "object" +}, +"latestRevision": { +"description": "Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`", +"readOnly": true, +"type": "string" +}, +"lockState": { +"description": "Output only. Current lock state of the deployment.", +"enum": [ +"LOCK_STATE_UNSPECIFIED", +"LOCKED", +"UNLOCKED", +"LOCKING", +"UNLOCKING", +"LOCK_FAILED", +"UNLOCK_FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the lock state is omitted.", +"The deployment is locked.", +"The deployment is unlocked.", +"The deployment is being locked.", +"The deployment is being unlocked.", +"The deployment has failed to lock.", +"The deployment has failed to unlock." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`", +"type": "string" +}, +"providerConfig": { +"$ref": "ProviderConfig", +"description": "Optional. This field specifies the provider configurations." +}, +"quotaValidation": { +"description": "Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.", +"enum": [ +"QUOTA_VALIDATION_UNSPECIFIED", +"ENABLED", +"ENFORCED" +], +"enumDescriptions": [ +"The default value. QuotaValidation on terraform configuration files will be disabled in this case.", +"Enable computing quotas for resources in terraform configuration files to get visibility on resources with insufficient quotas.", +"Enforce quota checks so deployment fails if there isn't sufficient quotas available to deploy resources in terraform configuration files." +], +"type": "string" +}, +"serviceAccount": { +"description": "Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`", +"type": "string" +}, +"state": { +"description": "Output only. Current state of the deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING", +"FAILED", +"SUSPENDED", +"DELETED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The deployment is being created.", +"The deployment is healthy.", +"The deployment is being updated.", +"The deployment is being deleted.", +"The deployment has encountered an unexpected error.", +"The deployment is no longer being actively reconciled. This may be the result of recovering the project after deletion.", +"The deployment has been deleted." +], +"readOnly": true, +"type": "string" +}, +"stateDetail": { +"description": "Output only. Additional information regarding the current state.", +"readOnly": true, +"type": "string" +}, +"terraformBlueprint": { +"$ref": "TerraformBlueprint", +"description": "A blueprint described using Terraform's HashiCorp Configuration Language as a root module." +}, +"tfErrors": { +"description": "Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.", +"items": { +"$ref": "TerraformError" +}, +"readOnly": true, +"type": "array" +}, +"tfVersion": { +"description": "Output only. The current Terraform version set on the deployment. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".", +"readOnly": true, +"type": "string" +}, +"tfVersionConstraint": { +"description": "Optional. The user-specified Terraform version constraint. Example: \"=1.3.10\".", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the deployment was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workerPool": { +"description": "Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.", +"type": "string" +} +}, +"type": "object" +}, +"DeploymentOperationMetadata": { +"description": "Ephemeral metadata content describing the state of a deployment operation.", +"id": "DeploymentOperationMetadata", +"properties": { +"applyResults": { +"$ref": "ApplyResults", +"description": "Outputs and artifacts from applying a deployment." +}, +"build": { +"description": "Output only. Cloud Build instance UUID associated with this operation.", +"readOnly": true, +"type": "string" +}, +"logs": { +"description": "Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.", +"readOnly": true, +"type": "string" +}, +"step": { +"description": "The current step the deployment operation is running.", +"enum": [ +"DEPLOYMENT_STEP_UNSPECIFIED", +"PREPARING_STORAGE_BUCKET", +"DOWNLOADING_BLUEPRINT", +"RUNNING_TF_INIT", +"RUNNING_TF_PLAN", +"RUNNING_TF_APPLY", +"RUNNING_TF_DESTROY", +"RUNNING_TF_VALIDATE", +"UNLOCKING_DEPLOYMENT", +"SUCCEEDED", +"FAILED", +"VALIDATING_REPOSITORY", +"RUNNING_QUOTA_VALIDATION" +], +"enumDescriptions": [ +"Unspecified deployment step", +"Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the deployment and revision", +"Downloading the blueprint onto the Google Cloud Storage bucket", +"Initializing Terraform using `terraform init`", +"Running `terraform plan`", +"Actuating resources using Terraform using `terraform apply`", +"Destroying resources using Terraform using `terraform destroy`", +"Validating the uploaded TF state file when unlocking a deployment", +"Unlocking a deployment", +"Operation was successful", +"Operation failed", +"Validating the provided repository.", +"Running quota validation" +], +"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" +}, +"ExportDeploymentStatefileRequest": { +"description": "A request to export a state file passed to a 'ExportDeploymentStatefile' call.", +"id": "ExportDeploymentStatefileRequest", +"properties": { +"draft": { +"description": "Optional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.", +"type": "boolean" +} +}, +"type": "object" +}, +"ExportPreviewResultRequest": { +"description": "A request to export preview results.", +"id": "ExportPreviewResultRequest", +"properties": {}, +"type": "object" +}, +"ExportPreviewResultResponse": { +"description": "A response to `ExportPreviewResult` call. Contains preview results.", +"id": "ExportPreviewResultResponse", +"properties": { +"result": { +"$ref": "PreviewResult", +"description": "Output only. Signed URLs for accessing the plan files.", +"readOnly": true +} +}, +"type": "object" +}, +"ExportRevisionStatefileRequest": { +"description": "A request to export a state file passed to a 'ExportRevisionStatefile' call.", +"id": "ExportRevisionStatefileRequest", +"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" +}, +"GitSource": { +"description": "A set of files in a Git repository.", +"id": "GitSource", +"properties": { +"directory": { +"description": "Optional. Subdirectory inside the repository. Example: 'staging/my-package'", +"type": "string" +}, +"ref": { +"description": "Optional. Git reference (e.g. branch or tag).", +"type": "string" +}, +"repo": { +"description": "Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'", +"type": "string" +} +}, +"type": "object" +}, +"ImportStatefileRequest": { +"description": "A request to import a state file passed to a 'ImportStatefile' call.", +"id": "ImportStatefileRequest", +"properties": { +"lockId": { +"description": "Required. Lock ID of the lock file to verify that the user who is importing the state file previously locked the Deployment.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ListDeploymentsResponse": { +"id": "ListDeploymentsResponse", +"properties": { +"deployments": { +"description": "List of Deployments.", +"items": { +"$ref": "Deployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to be supplied to the next ListDeployments request via `page_token` to obtain the next set of results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPreviewsResponse": { +"description": "A response to a `ListPreviews` call. Contains a list of Previews.", +"id": "ListPreviewsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be supplied to the next ListPreviews request via `page_token` to obtain the next set of results.", +"type": "string" +}, +"previews": { +"description": "List of Previews.", +"items": { +"$ref": "Preview" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListResourceChangesResponse": { +"description": "A response to a 'ListResourceChanges' call. Contains a list of ResourceChanges.", +"id": "ListResourceChangesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the 'ListResourceChanges' method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resourceChanges": { +"description": "List of ResourceChanges.", +"items": { +"$ref": "ResourceChange" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListResourceDriftsResponse": { +"description": "A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.", +"id": "ListResourceDriftsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the 'ListResourceDrifts' method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resourceDrifts": { +"description": "List of ResourceDrifts.", +"items": { +"$ref": "ResourceDrift" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListResourcesResponse": { +"description": "A response to a 'ListResources' call. Contains a list of Resources.", +"id": "ListResourcesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "List of Resources.", +"items": { +"$ref": "Resource" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRevisionsResponse": { +"description": "A response to a 'ListRevisions' call. Contains a list of Revisions.", +"id": "ListRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the 'ListRevisions' method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"revisions": { +"description": "List of Revisions.", +"items": { +"$ref": "Revision" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTerraformVersionsResponse": { +"description": "The response message for the `ListTerraformVersions` method.", +"id": "ListTerraformVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results.", +"type": "string" +}, +"terraformVersions": { +"description": "List of TerraformVersions.", +"items": { +"$ref": "TerraformVersion" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LockDeploymentRequest": { +"description": "A request to lock a deployment passed to a 'LockDeployment' call.", +"id": "LockDeploymentRequest", +"properties": {}, +"type": "object" +}, +"LockInfo": { +"description": "Details about the lock which locked the deployment.", +"id": "LockInfo", +"properties": { +"createTime": { +"description": "Time that the lock was taken.", +"format": "google-datetime", +"type": "string" +}, +"info": { +"description": "Extra information to store with the lock, provided by the caller.", +"type": "string" +}, +"lockId": { +"description": "Unique ID for the lock to be overridden with generation ID in the backend.", +"format": "int64", +"type": "string" +}, +"operation": { +"description": "Terraform operation, provided by the caller.", +"type": "string" +}, +"version": { +"description": "Terraform version", +"type": "string" +}, +"who": { +"description": "user@hostname when available", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deploymentMetadata": { +"$ref": "DeploymentOperationMetadata", +"description": "Output only. Metadata about the deployment operation state.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Time when the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"previewMetadata": { +"$ref": "PreviewOperationMetadata", +"description": "Output only. Metadata about the preview operation state.", +"readOnly": true +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"Preview": { +"description": "A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.", +"id": "Preview", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.", +"type": "object" +}, +"artifactsGcsBucket": { +"description": "Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.", +"type": "string" +}, +"build": { +"description": "Output only. Cloud Build instance UUID associated with this preview.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time the preview was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deployment": { +"description": "Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.", +"type": "string" +}, +"errorCode": { +"description": "Output only. Code describing any errors that may have occurred.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"CLOUD_BUILD_PERMISSION_DENIED", +"BUCKET_CREATION_PERMISSION_DENIED", +"BUCKET_CREATION_FAILED", +"DEPLOYMENT_LOCK_ACQUIRE_FAILED", +"PREVIEW_BUILD_API_FAILED", +"PREVIEW_BUILD_RUN_FAILED", +"EXTERNAL_VALUE_SOURCE_IMPORT_FAILED" +], +"enumDescriptions": [ +"No error code was specified.", +"Cloud Build failed due to a permissions issue.", +"Cloud Storage bucket failed to create due to a permissions issue.", +"Cloud Storage bucket failed for a non-permissions-related issue.", +"Acquiring lock on provided deployment reference failed.", +"Preview encountered an error when trying to access Cloud Build API.", +"Preview created a build but build failed and logs were generated.", +"Failed to import values from an external source." +], +"readOnly": true, +"type": "string" +}, +"errorLogs": { +"description": "Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`.", +"readOnly": true, +"type": "string" +}, +"errorStatus": { +"$ref": "Status", +"description": "Output only. Additional information regarding the current state.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels for the preview.", +"type": "object" +}, +"logs": { +"description": "Output only. Location of preview logs in `gs://{bucket}/{object}` format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}`", +"type": "string" +}, +"previewArtifacts": { +"$ref": "PreviewArtifacts", +"description": "Output only. Artifacts from preview.", +"readOnly": true +}, +"previewMode": { +"description": "Optional. Current mode of preview.", +"enum": [ +"PREVIEW_MODE_UNSPECIFIED", +"DEFAULT", +"DELETE" +], +"enumDescriptions": [ +"Unspecified policy, default mode will be used.", +"DEFAULT mode generates an execution plan for reconciling current resource state into expected resource state.", +"DELETE mode generates as execution plan for destroying current resources." +], +"type": "string" +}, +"providerConfig": { +"$ref": "ProviderConfig", +"description": "Optional. This field specifies the provider configurations." +}, +"serviceAccount": { +"description": "Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`", +"type": "string" +}, +"state": { +"description": "Output only. Current state of the preview.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"SUCCEEDED", +"APPLYING", +"STALE", +"DELETING", +"FAILED", +"DELETED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is unknown.", +"The preview is being created.", +"The preview has succeeded.", +"The preview is being applied.", +"The preview is stale. A preview can become stale if a revision has been applied after this preview was created.", +"The preview is being deleted.", +"The preview has encountered an unexpected error.", +"The preview has been deleted." +], +"readOnly": true, +"type": "string" +}, +"terraformBlueprint": { +"$ref": "TerraformBlueprint", +"description": "The terraform blueprint to preview." +}, +"tfErrors": { +"description": "Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.", +"items": { +"$ref": "TerraformError" +}, +"readOnly": true, +"type": "array" +}, +"tfVersion": { +"description": "Output only. The current Terraform version set on the preview. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".", +"readOnly": true, +"type": "string" +}, +"tfVersionConstraint": { +"description": "Optional. The user-specified Terraform version constraint. Example: \"=1.3.10\".", +"type": "string" +}, +"workerPool": { +"description": "Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.", +"type": "string" +} +}, +"type": "object" +}, +"PreviewArtifacts": { +"description": "Artifacts created by preview.", +"id": "PreviewArtifacts", +"properties": { +"artifacts": { +"description": "Output only. Location of artifacts in Google Cloud Storage. Format: `gs://{bucket}/{object}`", +"readOnly": true, +"type": "string" +}, +"content": { +"description": "Output only. Location of a blueprint copy and other content in Google Cloud Storage. Format: `gs://{bucket}/{object}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PreviewOperationMetadata": { +"description": "Ephemeral metadata content describing the state of a preview operation.", +"id": "PreviewOperationMetadata", +"properties": { +"build": { +"description": "Output only. Cloud Build instance UUID associated with this preview.", +"readOnly": true, +"type": "string" +}, +"logs": { +"description": "Output only. Location of preview logs in `gs://{bucket}/{object}` format.", +"readOnly": true, +"type": "string" +}, +"previewArtifacts": { +"$ref": "PreviewArtifacts", +"description": "Artifacts from preview." +}, +"step": { +"description": "The current step the preview operation is running.", +"enum": [ +"PREVIEW_STEP_UNSPECIFIED", +"PREPARING_STORAGE_BUCKET", +"DOWNLOADING_BLUEPRINT", +"RUNNING_TF_INIT", +"RUNNING_TF_PLAN", +"FETCHING_DEPLOYMENT", +"LOCKING_DEPLOYMENT", +"UNLOCKING_DEPLOYMENT", +"SUCCEEDED", +"FAILED", +"VALIDATING_REPOSITORY" +], +"enumDescriptions": [ +"Unspecified preview step.", +"Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.", +"Downloading the blueprint onto the Google Cloud Storage bucket.", +"Initializing Terraform using `terraform init`.", +"Running `terraform plan`.", +"Fetching a deployment.", +"Locking a deployment.", +"Unlocking a deployment.", +"Operation was successful.", +"Operation failed.", +"Validating the provided repository." +], +"type": "string" +} +}, +"type": "object" +}, +"PreviewResult": { +"description": "Contains a signed Cloud Storage URLs.", +"id": "PreviewResult", +"properties": { +"binarySignedUri": { +"description": "Output only. Plan binary signed URL", +"readOnly": true, +"type": "string" +}, +"jsonSignedUri": { +"description": "Output only. Plan JSON signed URL", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PropertyChange": { +"description": "A property change represents a change to a property in the state file.", +"id": "PropertyChange", +"properties": { +"after": { +"description": "Output only. Representations of the object value after the actions.", +"readOnly": true, +"type": "any" +}, +"afterSensitivePaths": { +"description": "Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"before": { +"description": "Output only. Representations of the object value before the actions.", +"readOnly": true, +"type": "any" +}, +"beforeSensitivePaths": { +"description": "Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"path": { +"description": "Output only. The path of the property change.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PropertyDrift": { +"description": "A property drift represents a drift to a property in the state file.", +"id": "PropertyDrift", +"properties": { +"after": { +"description": "Output only. Representations of the object value after the actions.", +"readOnly": true, +"type": "any" +}, +"afterSensitivePaths": { +"description": "Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"before": { +"description": "Output only. Representations of the object value before the actions.", +"readOnly": true, +"type": "any" +}, +"beforeSensitivePaths": { +"description": "Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"path": { +"description": "Output only. The path of the property drift.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ProviderConfig": { +"description": "ProviderConfig contains the provider configurations.", +"id": "ProviderConfig", +"properties": { +"sourceType": { +"description": "Optional. ProviderSource specifies the source type of the provider.", +"enum": [ +"PROVIDER_SOURCE_UNSPECIFIED", +"SERVICE_MAINTAINED" +], +"enumDescriptions": [ +"Unspecified source type, default to public sources.", +"Service maintained provider source type." +], +"type": "string" +} +}, +"type": "object" +}, +"Resource": { +"description": "Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.", +"id": "Resource", +"properties": { +"caiAssets": { +"additionalProperties": { +"$ref": "ResourceCAIInfo" +}, +"description": "Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types", +"readOnly": true, +"type": "object" +}, +"intent": { +"description": "Output only. Intent of the resource.", +"enum": [ +"INTENT_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"RECREATE", +"UNCHANGED" +], +"enumDescriptions": [ +"The default value. This value is used if the intent is omitted.", +"Infra Manager will create this Resource.", +"Infra Manager will update this Resource.", +"Infra Manager will delete this Resource.", +"Infra Manager will destroy and recreate this Resource.", +"Infra Manager will leave this Resource untouched." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"PLANNED", +"IN_PROGRESS", +"RECONCILED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"Resource has been planned for reconcile.", +"Resource is actively reconciling into the intended state.", +"Resource has reconciled to intended state.", +"Resource failed to reconcile." +], +"readOnly": true, +"type": "string" +}, +"terraformInfo": { +"$ref": "ResourceTerraformInfo", +"description": "Output only. Terraform-specific info if this resource was created using Terraform.", +"readOnly": true +} +}, +"type": "object" +}, +"ResourceCAIInfo": { +"description": "CAI info of a Resource.", +"id": "ResourceCAIInfo", +"properties": { +"fullResourceName": { +"description": "CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +} +}, +"type": "object" +}, +"ResourceChange": { +"description": "A resource change represents a change to a resource in the state file.", +"id": "ResourceChange", +"properties": { +"intent": { +"description": "Output only. The intent of the resource change.", +"enum": [ +"INTENT_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"RECREATE", +"UNCHANGED" +], +"enumDescriptions": [ +"The default value.", +"The resource will be created.", +"The resource will be updated.", +"The resource will be deleted.", +"The resource will be recreated.", +"The resource will be untouched." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.", +"type": "string" +}, +"propertyChanges": { +"description": "Output only. The property changes of the resource change.", +"items": { +"$ref": "PropertyChange" +}, +"readOnly": true, +"type": "array" +}, +"terraformInfo": { +"$ref": "ResourceChangeTerraformInfo", +"description": "Output only. Terraform info of the resource change.", +"readOnly": true +} +}, +"type": "object" +}, +"ResourceChangeTerraformInfo": { +"description": "Terraform info of a ResourceChange.", +"id": "ResourceChangeTerraformInfo", +"properties": { +"actions": { +"description": "Output only. TF resource actions.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"address": { +"description": "Output only. TF resource address that uniquely identifies the resource.", +"readOnly": true, +"type": "string" +}, +"provider": { +"description": "Output only. TF resource provider.", +"readOnly": true, +"type": "string" +}, +"resourceName": { +"description": "Output only. TF resource name.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. TF resource type.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceDrift": { +"description": "A resource drift represents a drift to a resource in the state file.", +"id": "ResourceDrift", +"properties": { +"name": { +"description": "Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.", +"type": "string" +}, +"propertyDrifts": { +"description": "Output only. The property drifts of the resource drift.", +"items": { +"$ref": "PropertyDrift" +}, +"readOnly": true, +"type": "array" +}, +"terraformInfo": { +"$ref": "ResourceDriftTerraformInfo", +"description": "Output only. Terraform info of the resource drift.", +"readOnly": true +} +}, +"type": "object" +}, +"ResourceDriftTerraformInfo": { +"description": "Terraform info of a ResourceChange.", +"id": "ResourceDriftTerraformInfo", +"properties": { +"address": { +"description": "Output only. The address of the drifted resource.", +"readOnly": true, +"type": "string" +}, +"provider": { +"description": "Output only. The provider of the drifted resource.", +"readOnly": true, +"type": "string" +}, +"resourceName": { +"description": "Output only. TF resource name.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of the drifted resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceTerraformInfo": { +"description": "Terraform info of a Resource.", +"id": "ResourceTerraformInfo", +"properties": { +"address": { +"description": "TF resource address that uniquely identifies this resource within this deployment.", +"type": "string" +}, +"id": { +"description": "ID attribute of the TF resource", +"type": "string" +}, +"type": { +"description": "TF resource type", +"type": "string" +} +}, +"type": "object" +}, +"Revision": { +"description": "A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.", +"id": "Revision", +"properties": { +"action": { +"description": "Output only. The action which created this revision", +"enum": [ +"ACTION_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"The default value. This value is used if the action is omitted.", +"The revision was generated by creating a deployment.", +"The revision was generated by updating a deployment.", +"The revision was deleted." +], +"readOnly": true, +"type": "string" +}, +"applyResults": { +"$ref": "ApplyResults", +"description": "Output only. Outputs and artifacts from applying a deployment.", +"readOnly": true +}, +"build": { +"description": "Output only. Cloud Build instance UUID associated with this revision.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"errorCode": { +"description": "Output only. Code describing any errors that may have occurred.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"CLOUD_BUILD_PERMISSION_DENIED", +"APPLY_BUILD_API_FAILED", +"APPLY_BUILD_RUN_FAILED", +"QUOTA_VALIDATION_FAILED", +"EXTERNAL_VALUE_SOURCE_IMPORT_FAILED" +], +"enumDescriptions": [ +"No error code was specified.", +"Cloud Build failed due to a permission issue.", +"Cloud Build job associated with creating or updating a deployment could not be started.", +"Cloud Build job associated with creating or updating a deployment was started but failed.", +"quota validation failed for one or more resources in terraform configuration files.", +"Failed to import values from an external source." +], +"readOnly": true, +"type": "string" +}, +"errorLogs": { +"description": "Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.", +"readOnly": true, +"type": "string" +}, +"importExistingResources": { +"description": "Output only. By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.", +"readOnly": true, +"type": "boolean" +}, +"logs": { +"description": "Output only. Location of Revision operation logs in `gs://{bucket}/{object}` format.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Revision name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`", +"type": "string" +}, +"providerConfig": { +"$ref": "ProviderConfig", +"description": "Output only. This field specifies the provider configurations.", +"readOnly": true +}, +"quotaValidation": { +"description": "Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.", +"enum": [ +"QUOTA_VALIDATION_UNSPECIFIED", +"ENABLED", +"ENFORCED" +], +"enumDescriptions": [ +"The default value. QuotaValidation on terraform configuration files will be disabled in this case.", +"Enable computing quotas for resources in terraform configuration files to get visibility on resources with insufficient quotas.", +"Enforce quota checks so deployment fails if there isn't sufficient quotas available to deploy resources in terraform configuration files." +], +"type": "string" +}, +"quotaValidationResults": { +"description": "Output only. Cloud Storage path containing quota validation results. This field is set when a user sets Deployment.quota_validation field to ENABLED or ENFORCED. Format: `gs://{bucket}/{object}`.", +"readOnly": true, +"type": "string" +}, +"serviceAccount": { +"description": "Output only. User-specified Service Account (SA) to be used as credential to manage resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the revision.", +"enum": [ +"STATE_UNSPECIFIED", +"APPLYING", +"APPLIED", +"FAILED" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The revision is being applied.", +"The revision was applied successfully.", +"The revision could not be applied successfully." +], +"readOnly": true, +"type": "string" +}, +"stateDetail": { +"description": "Output only. Additional info regarding the current state.", +"readOnly": true, +"type": "string" +}, +"terraformBlueprint": { +"$ref": "TerraformBlueprint", +"description": "Output only. A blueprint described using Terraform's HashiCorp Configuration Language as a root module.", +"readOnly": true +}, +"tfErrors": { +"description": "Output only. Errors encountered when creating or updating this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.", +"items": { +"$ref": "TerraformError" +}, +"readOnly": true, +"type": "array" +}, +"tfVersion": { +"description": "Output only. The version of Terraform used to create the Revision. It is in the format of \"Major.Minor.Patch\", for example, \"1.3.10\".", +"readOnly": true, +"type": "string" +}, +"tfVersionConstraint": { +"description": "Output only. The user-specified Terraform version constraint. Example: \"=1.3.10\".", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the revision was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"workerPool": { +"description": "Output only. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"Statefile": { +"description": "Contains info about a Terraform state file", +"id": "Statefile", +"properties": { +"signedUri": { +"description": "Output only. Cloud Storage signed URI used for downloading or uploading the state file.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TerraformBlueprint": { +"description": "TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.", +"id": "TerraformBlueprint", +"properties": { +"gcsSource": { +"description": "URI of an object in Google Cloud Storage. Format: `gs://{bucket}/{object}` URI may also specify an object version for zipped objects. Format: `gs://{bucket}/{object}#{version}`", +"type": "string" +}, +"gitSource": { +"$ref": "GitSource", +"description": "URI of a public Git repo." +}, +"inputValues": { +"additionalProperties": { +"$ref": "TerraformVariable" +}, +"description": "Optional. Input variable values for the Terraform blueprint.", +"type": "object" +} +}, +"type": "object" +}, +"TerraformError": { +"description": "Errors encountered during actuation using Terraform", +"id": "TerraformError", +"properties": { +"error": { +"$ref": "Status", +"description": "Output only. Original error response from underlying Google API, if available.", +"readOnly": true +}, +"errorDescription": { +"description": "A human-readable error description.", +"type": "string" +}, +"httpResponseCode": { +"description": "HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.", +"format": "int32", +"type": "integer" +}, +"resourceAddress": { +"description": "Address of the resource associated with the error, e.g. `google_compute_network.vpc_network`.", +"type": "string" +} +}, +"type": "object" +}, +"TerraformOutput": { +"description": "Describes a Terraform output.", +"id": "TerraformOutput", +"properties": { +"sensitive": { +"description": "Identifies whether Terraform has set this output as a potential sensitive value.", +"type": "boolean" +}, +"value": { +"description": "Value of output.", +"type": "any" +} +}, +"type": "object" +}, +"TerraformVariable": { +"description": "A Terraform input variable.", +"id": "TerraformVariable", +"properties": { +"inputValue": { +"description": "Optional. Input variable value.", +"type": "any" +} +}, +"type": "object" +}, +"TerraformVersion": { +"description": "A TerraformVersion represents the support state the corresponding Terraform version.", +"id": "TerraformVersion", +"properties": { +"deprecateTime": { +"description": "Output only. When the version is deprecated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The version name is in the format: 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.", +"type": "string" +}, +"obsoleteTime": { +"description": "Output only. When the version is obsolete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DEPRECATED", +"OBSOLETE" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The version is actively supported.", +"The version is deprecated.", +"The version is obsolete." +], +"readOnly": true, +"type": "string" +}, +"supportTime": { +"description": "Output only. When the version is supported.", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"UnlockDeploymentRequest": { +"description": "A request to unlock a state file passed to a 'UnlockDeployment' call.", +"id": "UnlockDeploymentRequest", +"properties": { +"lockId": { +"description": "Required. Lock ID of the lock file to be unlocked.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Infrastructure Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..34d0d944e82c813dea5a6148db016469fb705418 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/container.v1.json @@ -0,0 +1,9906 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://container.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Container", +"description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/kubernetes-engine/docs/", +"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": "container:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://container.mtls.googleapis.com/", +"name": "container", +"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": { +"aggregated": { +"resources": { +"usableSubnetworks": { +"methods": { +"list": { +"description": "Lists subnetworks that are usable for creating clusters in a project.", +"flatPath": "v1/projects/{projectsId}/aggregated/usableSubnetworks", +"httpMethod": "GET", +"id": "container.projects.aggregated.usableSubnetworks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filtering currently only supports equality on the networkProjectId and must be in the form: \"networkProjectId=[PROJECTID]\", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent project where subnetworks are usable. Specified in the format `projects/*`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/aggregated/usableSubnetworks", +"response": { +"$ref": "ListUsableSubnetworksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"locations": { +"methods": { +"getServerConfig": { +"description": "Returns configuration info about the Google Kubernetes Engine service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serverConfig", +"httpMethod": "GET", +"id": "container.projects.locations.getServerConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/serverConfig", +"response": { +"$ref": "ServerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"checkAutopilotCompatibility": { +"description": "Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:checkAutopilotCompatibility", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.checkAutopilotCompatibility", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:checkAutopilotCompatibility", +"response": { +"$ref": "CheckAutopilotCompatibilityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeIpRotation": { +"description": "Completes master IP rotation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeIpRotation", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.completeIpRotation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:completeIpRotation", +"request": { +"$ref": "CompleteIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"request": { +"$ref": "CreateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "DELETE", +"id": "container.projects.locations.clusters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchClusterUpgradeInfo": { +"description": "Fetch upgrade information of a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:fetchClusterUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.fetchClusterUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchClusterUpgradeInfo", +"response": { +"$ref": "ClusterUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getJwks": { +"description": "Gets the public component of the cluster signing keys in JSON Web Key format.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/jwks", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.getJwks", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The cluster (project, location, cluster name) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jwks", +"response": { +"$ref": "GetJSONWebKeysResponse" +} +}, +"list": { +"description": "Lists all clusters owned by a project in either the specified zone or all zones.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAddons": { +"description": "Sets the addons for a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setAddons", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setAddons", +"request": { +"$ref": "SetAddonsConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLegacyAbac": { +"description": "Enables or disables the ABAC authorization mechanism on a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLegacyAbac", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLegacyAbac", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setLegacyAbac", +"request": { +"$ref": "SetLegacyAbacRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLocations": { +"deprecated": true, +"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) instead.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLocations", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setLocations", +"request": { +"$ref": "SetLocationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLogging": { +"description": "Sets the logging service for a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setLogging", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setLogging", +"request": { +"$ref": "SetLoggingServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMaintenancePolicy": { +"description": "Sets the maintenance policy for a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMaintenancePolicy", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMaintenancePolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMaintenancePolicy", +"request": { +"$ref": "SetMaintenancePolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMasterAuth": { +"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMasterAuth", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMasterAuth", +"request": { +"$ref": "SetMasterAuthRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMonitoring": { +"description": "Sets the monitoring service for a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setMonitoring", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMonitoring", +"request": { +"$ref": "SetMonitoringServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setNetworkPolicy": { +"description": "Enables or disables Network Policy for a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setNetworkPolicy", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setNetworkPolicy", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setNetworkPolicy", +"request": { +"$ref": "SetNetworkPolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setResourceLabels": { +"description": "Sets labels on a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setResourceLabels", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.setResourceLabels", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setResourceLabels", +"request": { +"$ref": "SetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startIpRotation": { +"description": "Starts master IP rotation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:startIpRotation", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.startIpRotation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:startIpRotation", +"request": { +"$ref": "StartIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the settings of a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}", +"httpMethod": "PUT", +"id": "container.projects.locations.clusters.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMaster": { +"description": "Updates the master for a specific cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.updateMaster", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:updateMaster", +"request": { +"$ref": "UpdateMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodePools": { +"methods": { +"completeUpgrade": { +"description": "CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:completeUpgrade", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.completeUpgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:completeUpgrade", +"request": { +"$ref": "CompleteNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a node pool for a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/nodePools", +"request": { +"$ref": "CreateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a node pool from a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "DELETE", +"id": "container.projects.locations.clusters.nodePools.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchNodePoolUpgradeInfo": { +"description": "Fetch upgrade information of a specific nodepool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.fetchNodePoolUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchNodePoolUpgradeInfo", +"response": { +"$ref": "NodePoolUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the requested node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.get", +"parameterOrder": [ +"name" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the node pools for a cluster.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.nodePools.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/nodePools", +"response": { +"$ref": "ListNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:rollback", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "RollbackNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAutoscaling": { +"description": "Sets the autoscaling settings for the specified node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setAutoscaling", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setAutoscaling", +"request": { +"$ref": "SetNodePoolAutoscalingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setManagement": { +"description": "Sets the NodeManagement options for a node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setManagement", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setManagement", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setManagement", +"request": { +"$ref": "SetNodePoolManagementRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setSize": { +"description": "Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize", +"httpMethod": "POST", +"id": "container.projects.locations.clusters.nodePools.setSize", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setSize", +"request": { +"$ref": "SetNodePoolSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the version and/or image type for the specified node pool.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}", +"httpMethod": "PUT", +"id": "container.projects.locations.clusters.nodePools.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"well-known": { +"methods": { +"getOpenid-configuration": { +"description": "Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/.well-known/openid-configuration", +"httpMethod": "GET", +"id": "container.projects.locations.clusters.well-known.getOpenid-configuration", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The cluster (project, location, cluster name) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/.well-known/openid-configuration", +"response": { +"$ref": "GetOpenIDConfigResponse" +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels the specified operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "container.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified operation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "container.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"operationId": { +"deprecated": true, +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all operations in a project in a specific zone or all zones.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "container.projects.locations.operations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"zones": { +"methods": { +"getServerconfig": { +"description": "Returns configuration info about the Google Kubernetes Engine service.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/serverconfig", +"httpMethod": "GET", +"id": "container.projects.zones.getServerconfig", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"name": { +"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/serverconfig", +"response": { +"$ref": "ServerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"clusters": { +"methods": { +"addons": { +"description": "Sets the addons for a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.addons", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons", +"request": { +"$ref": "SetAddonsConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeIpRotation": { +"description": "Completes master IP rotation.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.completeIpRotation", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation", +"request": { +"$ref": "CompleteIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.create", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters", +"request": { +"$ref": "CreateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "DELETE", +"id": "container.projects.zones.clusters.delete", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchClusterUpgradeInfo": { +"description": "Fetch upgrade information of a specific cluster.", +"flatPath": "v1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}:fetchClusterUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.fetchClusterUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchClusterUpgradeInfo", +"response": { +"$ref": "ClusterUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.get", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"legacyAbac": { +"description": "Enables or disables the ABAC authorization mechanism on a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.legacyAbac", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac", +"request": { +"$ref": "SetLegacyAbacRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all clusters owned by a project in either the specified zone or all zones.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.list", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"locations": { +"deprecated": true, +"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) instead.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.locations", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations", +"request": { +"$ref": "SetLocationsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"logging": { +"description": "Sets the logging service for a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.logging", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging", +"request": { +"$ref": "SetLoggingServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"master": { +"description": "Updates the master for a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.master", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master", +"request": { +"$ref": "UpdateMasterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"monitoring": { +"description": "Sets the monitoring service for a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.monitoring", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring", +"request": { +"$ref": "SetMonitoringServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resourceLabels": { +"description": "Sets labels on a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.resourceLabels", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels", +"request": { +"$ref": "SetLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMaintenancePolicy": { +"description": "Sets the maintenance policy for a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setMaintenancePolicy", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Required. The name of the cluster to update.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy", +"request": { +"$ref": "SetMaintenancePolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMasterAuth": { +"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setMasterAuth", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth", +"request": { +"$ref": "SetMasterAuthRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setNetworkPolicy": { +"description": "Enables or disables Network Policy for a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.setNetworkPolicy", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy", +"request": { +"$ref": "SetNetworkPolicyRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startIpRotation": { +"description": "Starts master IP rotation.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.startIpRotation", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation", +"request": { +"$ref": "StartIPRotationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the settings of a specific cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"httpMethod": "PUT", +"id": "container.projects.zones.clusters.update", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", +"request": { +"$ref": "UpdateClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodePools": { +"methods": { +"autoscaling": { +"description": "Sets the autoscaling settings for the specified node pool.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.autoscaling", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", +"request": { +"$ref": "SetNodePoolAutoscalingRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a node pool for a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.create", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"request": { +"$ref": "CreateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a node pool from a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"httpMethod": "DELETE", +"id": "container.projects.zones.clusters.nodePools.delete", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "query", +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"fetchNodePoolUpgradeInfo": { +"description": "Fetch upgrade information of a specific nodepool.", +"flatPath": "v1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.fetchNodePoolUpgradeInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.", +"location": "path", +"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+/nodePools/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "API request version that initiates this operation.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:fetchNodePoolUpgradeInfo", +"response": { +"$ref": "NodePoolUpgradeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the requested node pool.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.get", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"location": "query", +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", +"response": { +"$ref": "NodePool" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the node pools for a cluster.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"httpMethod": "GET", +"id": "container.projects.zones.clusters.nodePools.list", +"parameterOrder": [ +"projectId", +"zone", +"clusterId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools", +"response": { +"$ref": "ListNodePoolsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.rollback", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", +"request": { +"$ref": "RollbackNodePoolUpgradeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setManagement": { +"description": "Sets the NodeManagement options for a node pool.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.setManagement", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", +"request": { +"$ref": "SetNodePoolManagementRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setSize": { +"description": "Sets the size for a specific node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.setSize", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", +"request": { +"$ref": "SetNodePoolSizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the version and/or image type for the specified node pool.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", +"httpMethod": "POST", +"id": "container.projects.zones.clusters.nodePools.update", +"parameterOrder": [ +"projectId", +"zone", +"clusterId", +"nodePoolId" +], +"parameters": { +"clusterId": { +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"nodePoolId": { +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", +"request": { +"$ref": "UpdateNodePoolRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Cancels the specified operation.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", +"httpMethod": "POST", +"id": "container.projects.zones.operations.cancel", +"parameterOrder": [ +"projectId", +"zone", +"operationId" +], +"parameters": { +"operationId": { +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified operation.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}", +"httpMethod": "GET", +"id": "container.projects.zones.operations.get", +"parameterOrder": [ +"projectId", +"zone", +"operationId" +], +"parameters": { +"name": { +"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.", +"location": "query", +"type": "string" +}, +"operationId": { +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all operations in a project in a specific zone or all zones.", +"flatPath": "v1/projects/{projectId}/zones/{zone}/operations", +"httpMethod": "GET", +"id": "container.projects.zones.operations.list", +"parameterOrder": [ +"projectId", +"zone" +], +"parameters": { +"parent": { +"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +}, +"zone": { +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/zones/{zone}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260209", +"rootUrl": "https://container.googleapis.com/", +"schemas": { +"AcceleratorConfig": { +"description": "AcceleratorConfig represents a Hardware Accelerator request.", +"id": "AcceleratorConfig", +"properties": { +"acceleratorCount": { +"description": "The number of the accelerator cards exposed to an instance.", +"format": "int64", +"type": "string" +}, +"acceleratorType": { +"description": "The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)", +"type": "string" +}, +"gpuDriverInstallationConfig": { +"$ref": "GPUDriverInstallationConfig", +"description": "The configuration for auto installation of GPU driver." +}, +"gpuPartitionSize": { +"description": "Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).", +"type": "string" +}, +"gpuSharingConfig": { +"$ref": "GPUSharingConfig", +"description": "The configuration for GPU sharing options." +} +}, +"type": "object" +}, +"AdditionalIPRangesConfig": { +"description": "AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster", +"id": "AdditionalIPRangesConfig", +"properties": { +"podIpv4RangeNames": { +"description": "List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "Draining status of the additional subnet.", +"enum": [ +"STATUS_UNSPECIFIED", +"ACTIVE", +"DRAINING" +], +"enumDescriptions": [ +"Not set, same as ACTIVE.", +"ACTIVE status indicates that the subnet is available for new node pool creation.", +"DRAINING status indicates that the subnet is not used for new node pool creation." +], +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalNodeNetworkConfig": { +"description": "AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message", +"id": "AdditionalNodeNetworkConfig", +"properties": { +"network": { +"description": "Name of the VPC where the additional interface belongs", +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork where the additional interface belongs", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalPodNetworkConfig": { +"description": "AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message", +"id": "AdditionalPodNetworkConfig", +"properties": { +"maxPodsPerNode": { +"$ref": "MaxPodsConstraint", +"description": "The maximum number of pods per node which use this pod network." +}, +"networkAttachment": { +"description": "The name of the network attachment for pods to communicate to; cannot be specified along with subnetwork or secondary_pod_range.", +"type": "string" +}, +"secondaryPodRange": { +"description": "The name of the secondary range on the subnet which provides IP address for this pod range.", +"type": "string" +}, +"subnetwork": { +"description": "Name of the subnetwork where the additional pod network belongs.", +"type": "string" +} +}, +"type": "object" +}, +"AdditionalPodRangesConfig": { +"description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.", +"id": "AdditionalPodRangesConfig", +"properties": { +"podRangeInfo": { +"description": "Output only. Information for additional pod range.", +"items": { +"$ref": "RangeInfo" +}, +"readOnly": true, +"type": "array" +}, +"podRangeNames": { +"description": "Name for pod secondary ipv4 range which has the actual range defined ahead.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddonsConfig": { +"description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.", +"id": "AddonsConfig", +"properties": { +"cloudRunConfig": { +"$ref": "CloudRunConfig", +"description": "Configuration for the Cloud Run addon, which allows the user to use a managed Knative service." +}, +"configConnectorConfig": { +"$ref": "ConfigConnectorConfig", +"description": "Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google Cloud services through the Kubernetes API." +}, +"dnsCacheConfig": { +"$ref": "DnsCacheConfig", +"description": "Configuration for NodeLocalDNS, a dns cache running on cluster nodes" +}, +"gcePersistentDiskCsiDriverConfig": { +"$ref": "GcePersistentDiskCsiDriverConfig", +"description": "Configuration for the Compute Engine Persistent Disk CSI driver." +}, +"gcpFilestoreCsiDriverConfig": { +"$ref": "GcpFilestoreCsiDriverConfig", +"description": "Configuration for the Filestore CSI driver." +}, +"gcsFuseCsiDriverConfig": { +"$ref": "GcsFuseCsiDriverConfig", +"description": "Configuration for the Cloud Storage Fuse CSI driver." +}, +"gkeBackupAgentConfig": { +"$ref": "GkeBackupAgentConfig", +"description": "Configuration for the Backup for GKE agent addon." +}, +"highScaleCheckpointingConfig": { +"$ref": "HighScaleCheckpointingConfig", +"description": "Configuration for the High Scale Checkpointing add-on." +}, +"horizontalPodAutoscaling": { +"$ref": "HorizontalPodAutoscaling", +"description": "Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods." +}, +"httpLoadBalancing": { +"$ref": "HttpLoadBalancing", +"description": "Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster." +}, +"kubernetesDashboard": { +"$ref": "KubernetesDashboard", +"deprecated": true, +"description": "Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards" +}, +"lustreCsiDriverConfig": { +"$ref": "LustreCsiDriverConfig", +"description": "Configuration for the Lustre CSI driver." +}, +"networkPolicyConfig": { +"$ref": "NetworkPolicyConfig", +"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes." +}, +"parallelstoreCsiDriverConfig": { +"$ref": "ParallelstoreCsiDriverConfig", +"description": "Configuration for the Cloud Storage Parallelstore CSI driver." +}, +"rayOperatorConfig": { +"$ref": "RayOperatorConfig", +"description": "Optional. Configuration for Ray Operator addon." +}, +"sliceControllerConfig": { +"$ref": "SliceControllerConfig", +"description": "Optional. Configuration for the slice controller add-on." +}, +"statefulHaConfig": { +"$ref": "StatefulHAConfig", +"description": "Optional. Configuration for the StatefulHA add-on." +} +}, +"type": "object" +}, +"AdvancedDatapathObservabilityConfig": { +"description": "AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.", +"id": "AdvancedDatapathObservabilityConfig", +"properties": { +"enableMetrics": { +"description": "Expose flow metrics on nodes", +"type": "boolean" +}, +"enableRelay": { +"description": "Enable Relay component", +"type": "boolean" +}, +"relayMode": { +"description": "Method used to make Relay available", +"enum": [ +"RELAY_MODE_UNSPECIFIED", +"DISABLED", +"INTERNAL_VPC_LB", +"EXTERNAL_LB" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"disabled", +"exposed via internal load balancer", +"exposed via external load balancer" +], +"type": "string" +} +}, +"type": "object" +}, +"AdvancedMachineFeatures": { +"description": "Specifies options for controlling advanced machine features.", +"id": "AdvancedMachineFeatures", +"properties": { +"enableNestedVirtualization": { +"description": "Whether or not to enable nested virtualization (defaults to false).", +"type": "boolean" +}, +"performanceMonitoringUnit": { +"description": "Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.", +"enum": [ +"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", +"ARCHITECTURAL", +"STANDARD", +"ENHANCED" +], +"enumDescriptions": [ +"PMU not enabled.", +"Architecturally defined non-LLC events.", +"Most documented core/L2 events.", +"Most documented core/L2 and LLC events." +], +"type": "string" +}, +"threadsPerCore": { +"description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AnonymousAuthenticationConfig": { +"description": "AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.", +"id": "AnonymousAuthenticationConfig", +"properties": { +"mode": { +"description": "Defines the mode of limiting anonymous access in the cluster.", +"enum": [ +"MODE_UNSPECIFIED", +"ENABLED", +"LIMITED" +], +"enumDescriptions": [ +"Default value not specified.", +"Anonymous authentication is allowed for all endpoints.", +"Anonymous authentication is allowed for only health check endpoints." +], +"type": "string" +} +}, +"type": "object" +}, +"AuthenticatorGroupsConfig": { +"description": "Configuration for returning group information from authenticators.", +"id": "AuthenticatorGroupsConfig", +"properties": { +"enabled": { +"description": "Whether this cluster should return group membership lookups during authentication using a group of security groups.", +"type": "boolean" +}, +"securityGroup": { +"description": "The name of the security group-of-groups to be used. Only relevant if enabled = true.", +"type": "string" +} +}, +"type": "object" +}, +"AutoIpamConfig": { +"description": "AutoIpamConfig contains all information related to Auto IPAM", +"id": "AutoIpamConfig", +"properties": { +"enabled": { +"description": "The flag that enables Auto IPAM on this cluster", +"type": "boolean" +} +}, +"type": "object" +}, +"AutoMonitoringConfig": { +"description": "AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.", +"id": "AutoMonitoringConfig", +"properties": { +"scope": { +"description": "Scope for GKE Workload Auto-Monitoring.", +"enum": [ +"SCOPE_UNSPECIFIED", +"ALL", +"NONE" +], +"enumDescriptions": [ +"Not set.", +"Auto-Monitoring is enabled for all supported applications.", +"Disable Auto-Monitoring." +], +"type": "string" +} +}, +"type": "object" +}, +"AutoUpgradeOptions": { +"description": "AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.", +"id": "AutoUpgradeOptions", +"properties": { +"autoUpgradeStartTime": { +"description": "Output only. This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. This field is set when upgrades are about to commence with the description of the upgrade.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Autopilot": { +"description": "Autopilot is the configuration for Autopilot settings on the cluster.", +"id": "Autopilot", +"properties": { +"enabled": { +"description": "Enable Autopilot", +"type": "boolean" +}, +"privilegedAdmissionConfig": { +"$ref": "PrivilegedAdmissionConfig", +"description": "PrivilegedAdmissionConfig is the configuration related to privileged admission control." +}, +"workloadPolicyConfig": { +"$ref": "WorkloadPolicyConfig", +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" +} +}, +"type": "object" +}, +"AutopilotCompatibilityIssue": { +"description": "AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.", +"id": "AutopilotCompatibilityIssue", +"properties": { +"constraintType": { +"description": "The constraint type of the issue.", +"type": "string" +}, +"description": { +"description": "The description of the issue.", +"type": "string" +}, +"documentationUrl": { +"description": "A URL to a public documentation, which addresses resolving this issue.", +"type": "string" +}, +"incompatibilityType": { +"description": "The incompatibility type of this issue.", +"enum": [ +"UNSPECIFIED", +"INCOMPATIBILITY", +"ADDITIONAL_CONFIG_REQUIRED", +"PASSED_WITH_OPTIONAL_CONFIG" +], +"enumDescriptions": [ +"Default value, should not be used.", +"Indicates that the issue is a known incompatibility between the cluster and Autopilot mode.", +"Indicates the issue is an incompatibility if customers take no further action to resolve.", +"Indicates the issue is not an incompatibility, but depending on the workloads business logic, there is a potential that they won't work on Autopilot." +], +"type": "string" +}, +"lastObservation": { +"description": "The last time when this issue was observed.", +"format": "google-datetime", +"type": "string" +}, +"subjects": { +"description": "The name of the resources which are subject to this issue.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AutopilotConfig": { +"description": "AutopilotConfig contains configuration of autopilot feature for this nodepool.", +"id": "AutopilotConfig", +"properties": { +"enabled": { +"description": "Denotes that nodes belonging to this node pool are Autopilot nodes.", +"type": "boolean" +} +}, +"type": "object" +}, +"AutoprovisioningNodePoolDefaults": { +"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.", +"id": "AutoprovisioningNodePoolDefaults", +"properties": { +"bootDiskKmsKey": { +"description": "The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption", +"type": "string" +}, +"diskSizeGb": { +"description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", +"type": "string" +}, +"imageType": { +"description": "The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"insecureKubeletReadonlyPortEnabled": { +"description": "DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.", +"type": "boolean" +}, +"management": { +"$ref": "NodeManagement", +"description": "Specifies the node management options for NAP created node-pools." +}, +"minCpuPlatform": { +"deprecated": true, +"description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", +"type": "string" +}, +"oauthScopes": { +"description": "Scopes that are used by NAP when creating node pools.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccount": { +"description": "The Google Cloud Platform Service Account to be used by the node VMs.", +"type": "string" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Shielded Instance options." +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Specifies the upgrade settings for NAP created node pools" +} +}, +"type": "object" +}, +"AutoscaledRolloutPolicy": { +"description": "Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.", +"id": "AutoscaledRolloutPolicy", +"properties": { +"waitForDrainDuration": { +"description": "Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"BestEffortProvisioning": { +"description": "Best effort provisioning.", +"id": "BestEffortProvisioning", +"properties": { +"enabled": { +"description": "When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes", +"type": "boolean" +}, +"minProvisionNodes": { +"description": "Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "Parameters for using BigQuery as the destination of resource usage export.", +"id": "BigQueryDestination", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorization": { +"description": "Configuration for Binary Authorization.", +"id": "BinaryAuthorization", +"properties": { +"enabled": { +"deprecated": true, +"description": "This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.", +"type": "boolean" +}, +"evaluationMode": { +"description": "Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"PROJECT_SINGLETON_POLICY_ENFORCE" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true." +], +"type": "string" +} +}, +"type": "object" +}, +"BlueGreenInfo": { +"description": "Information relevant to blue-green upgrade.", +"id": "BlueGreenInfo", +"properties": { +"blueInstanceGroupUrls": { +"description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"bluePoolDeletionStartTime": { +"description": "Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"type": "string" +}, +"greenInstanceGroupUrls": { +"description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"greenPoolVersion": { +"description": "Version of green pool.", +"type": "string" +}, +"phase": { +"description": "Current blue-green upgrade phase.", +"enum": [ +"PHASE_UNSPECIFIED", +"UPDATE_STARTED", +"CREATING_GREEN_POOL", +"CORDONING_BLUE_POOL", +"DRAINING_BLUE_POOL", +"NODE_POOL_SOAKING", +"DELETING_BLUE_POOL", +"ROLLBACK_STARTED" +], +"enumDescriptions": [ +"Unspecified phase.", +"blue-green upgrade has been initiated.", +"Start creating green pool nodes.", +"Start cordoning blue pool nodes.", +"Start draining blue pool nodes.", +"Start soaking time after draining entire blue pool.", +"Start deleting blue nodes.", +"Rollback has been initiated." +], +"type": "string" +} +}, +"type": "object" +}, +"BlueGreenSettings": { +"description": "Settings for blue-green upgrade.", +"id": "BlueGreenSettings", +"properties": { +"autoscaledRolloutPolicy": { +"$ref": "AutoscaledRolloutPolicy", +"description": "Autoscaled policy for cluster autoscaler enabled blue-green upgrade." +}, +"nodePoolSoakDuration": { +"description": "Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.", +"format": "google-duration", +"type": "string" +}, +"standardRolloutPolicy": { +"$ref": "StandardRolloutPolicy", +"description": "Standard policy for the blue-green upgrade." +} +}, +"type": "object" +}, +"BootDisk": { +"description": "BootDisk specifies the boot disk configuration for nodepools.", +"id": "BootDisk", +"properties": { +"diskType": { +"description": "Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)", +"type": "string" +}, +"provisionedIops": { +"description": "For Hyperdisk-Balanced only, the provisioned IOPS config value.", +"format": "int64", +"type": "string" +}, +"provisionedThroughput": { +"description": "For Hyperdisk-Balanced only, the provisioned throughput config value.", +"format": "int64", +"type": "string" +}, +"sizeGb": { +"description": "Disk size in GB. Replaces NodeConfig.disk_size_gb", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BootDiskProfile": { +"description": "Swap on the node's boot disk.", +"id": "BootDiskProfile", +"properties": { +"swapSizeGib": { +"description": "Specifies the size of the swap space in gibibytes (GiB).", +"format": "int64", +"type": "string" +}, +"swapSizePercent": { +"description": "Specifies the size of the swap space as a percentage of the boot disk size.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "CancelOperationRequest cancels a single operation.", +"id": "CancelOperationRequest", +"properties": { +"name": { +"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.", +"type": "string" +}, +"operationId": { +"deprecated": true, +"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"CertificateAuthorityDomainConfig": { +"description": "CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.", +"id": "CertificateAuthorityDomainConfig", +"properties": { +"fqdns": { +"description": "List of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"items": { +"type": "string" +}, +"type": "array" +}, +"gcpSecretManagerCertificateConfig": { +"$ref": "GCPSecretManagerCertificateConfig", +"description": "Secret Manager certificate configuration." +} +}, +"type": "object" +}, +"CertificateConfig": { +"description": "CertificateConfig configures certificate for the registry.", +"id": "CertificateConfig", +"properties": { +"gcpSecretManagerSecretUri": { +"description": "The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\" for global secret or \"projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION\" for regional secret. Version can be fixed (e.g. \"2\") or \"latest\"", +"type": "string" +} +}, +"type": "object" +}, +"CertificateConfigPair": { +"description": "CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.", +"id": "CertificateConfigPair", +"properties": { +"cert": { +"$ref": "CertificateConfig", +"description": "Cert configures the client certificate." +}, +"key": { +"$ref": "CertificateConfig", +"description": "Key configures the client private key. Optional." +} +}, +"type": "object" +}, +"CheckAutopilotCompatibilityResponse": { +"description": "CheckAutopilotCompatibilityResponse has a list of compatibility issues.", +"id": "CheckAutopilotCompatibilityResponse", +"properties": { +"issues": { +"description": "The list of issues for the given operation.", +"items": { +"$ref": "AutopilotCompatibilityIssue" +}, +"type": "array" +}, +"summary": { +"description": "The summary of the autopilot compatibility response.", +"type": "string" +} +}, +"type": "object" +}, +"CidrBlock": { +"description": "CidrBlock contains an optional name and one CIDR block.", +"id": "CidrBlock", +"properties": { +"cidrBlock": { +"description": "cidr_block must be specified in CIDR notation.", +"type": "string" +}, +"displayName": { +"description": "display_name is an optional field for users to identify CIDR blocks.", +"type": "string" +} +}, +"type": "object" +}, +"ClientCertificateConfig": { +"description": "Configuration for client certificates on the cluster.", +"id": "ClientCertificateConfig", +"properties": { +"issueClientCertificate": { +"description": "Issue a client certificate.", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudRunConfig": { +"description": "Configuration options for the Cloud Run feature.", +"id": "CloudRunConfig", +"properties": { +"disabled": { +"description": "Whether Cloud Run addon is enabled for this cluster.", +"type": "boolean" +}, +"loadBalancerType": { +"description": "Which load balancer type is installed for Cloud Run.", +"enum": [ +"LOAD_BALANCER_TYPE_UNSPECIFIED", +"LOAD_BALANCER_TYPE_EXTERNAL", +"LOAD_BALANCER_TYPE_INTERNAL" +], +"enumDescriptions": [ +"Load balancer type for Cloud Run is unspecified.", +"Install external load balancer for Cloud Run.", +"Install internal load balancer for Cloud Run." +], +"type": "string" +} +}, +"type": "object" +}, +"Cluster": { +"description": "A Google Kubernetes Engine cluster.", +"id": "Cluster", +"properties": { +"addonsConfig": { +"$ref": "AddonsConfig", +"description": "Configurations for the various addons available to run in the cluster." +}, +"alphaClusterFeatureGates": { +"description": "The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. \"featureX=true\" or \"featureX=false\")", +"items": { +"type": "string" +}, +"type": "array" +}, +"anonymousAuthenticationConfig": { +"$ref": "AnonymousAuthenticationConfig", +"description": "Configuration for limiting anonymous access to all endpoints except the health checks." +}, +"authenticatorGroupsConfig": { +"$ref": "AuthenticatorGroupsConfig", +"description": "Configuration controlling RBAC group membership information." +}, +"autopilot": { +"$ref": "Autopilot", +"description": "Autopilot configuration for the cluster." +}, +"autoscaling": { +"$ref": "ClusterAutoscaling", +"description": "Cluster-level autoscaling configuration." +}, +"binaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "Configuration for Binary Authorization." +}, +"clusterIpv4Cidr": { +"description": "The IP address range of the container pods in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.", +"type": "string" +}, +"compliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster." +}, +"conditions": { +"description": "Which conditions caused the current cluster state.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled." +}, +"controlPlaneEndpointsConfig": { +"$ref": "ControlPlaneEndpointsConfig", +"description": "Configuration for all cluster's control plane endpoints." +}, +"costManagementConfig": { +"$ref": "CostManagementConfig", +"description": "Configuration for the fine-grained cost management feature." +}, +"createTime": { +"description": "Output only. The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"currentMasterVersion": { +"description": "Output only. The current software version of the master endpoint.", +"readOnly": true, +"type": "string" +}, +"currentNodeCount": { +"deprecated": true, +"description": "Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"currentNodeVersion": { +"deprecated": true, +"description": "Output only. Deprecated, use [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.", +"readOnly": true, +"type": "string" +}, +"databaseEncryption": { +"$ref": "DatabaseEncryption", +"description": "Configuration of etcd encryption." +}, +"defaultMaxPodsConstraint": { +"$ref": "MaxPodsConstraint", +"description": "The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support." +}, +"description": { +"description": "An optional description of this cluster.", +"type": "string" +}, +"enableK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Beta APIs Config" +}, +"enableKubernetesAlpha": { +"description": "Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.", +"type": "boolean" +}, +"enableTpu": { +"deprecated": true, +"description": "Enable the ability to use Cloud TPUs in this cluster. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.", +"readOnly": true, +"type": "string" +}, +"enterpriseConfig": { +"$ref": "EnterpriseConfig", +"deprecated": true, +"description": "GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier." +}, +"etag": { +"description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"expireTime": { +"description": "Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"fleet": { +"$ref": "Fleet", +"description": "Fleet information for the cluster." +}, +"gkeAutoUpgradeConfig": { +"$ref": "GkeAutoUpgradeConfig", +"description": "Configuration for GKE auto upgrades." +}, +"id": { +"description": "Output only. Unique id for the cluster.", +"readOnly": true, +"type": "string" +}, +"identityServiceConfig": { +"$ref": "IdentityServiceConfig", +"description": "Configuration for Identity Service component." +}, +"initialClusterVersion": { +"description": "The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"\",\"-\": picks the default Kubernetes version", +"type": "string" +}, +"initialNodeCount": { +"deprecated": true, +"description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"node_config\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.", +"format": "int32", +"type": "integer" +}, +"instanceGroupUrls": { +"deprecated": true, +"description": "Output only. Deprecated. Use node_pools.instance_group_urls.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"ipAllocationPolicy": { +"$ref": "IPAllocationPolicy", +"description": "Configuration for cluster IP allocation." +}, +"labelFingerprint": { +"description": "The fingerprint of the set of labels for this cluster.", +"type": "string" +}, +"legacyAbac": { +"$ref": "LegacyAbac", +"description": "Configuration for the legacy ABAC authorization mode." +}, +"location": { +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.", +"readOnly": true, +"type": "string" +}, +"locations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Logging configuration for the cluster." +}, +"loggingService": { +"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Configure the maintenance policy for this cluster." +}, +"managedOpentelemetryConfig": { +"$ref": "ManagedOpenTelemetryConfig", +"description": "Configuration for Managed OpenTelemetry pipeline." +}, +"masterAuth": { +"$ref": "MasterAuth", +"description": "The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to \"admin\", a random password will be generated, and a client certificate will be issued." +}, +"masterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"deprecated": true, +"description": "The configuration options for master authorized networks feature. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead." +}, +"meshCertificates": { +"$ref": "MeshCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Monitoring configuration for the cluster." +}, +"monitoringService": { +"description": "The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.", +"type": "string" +}, +"network": { +"description": "The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Configuration for cluster networking." +}, +"networkPolicy": { +"$ref": "NetworkPolicy", +"description": "Configuration options for the NetworkPolicy feature." +}, +"nodeConfig": { +"$ref": "NodeConfig", +"deprecated": true, +"description": "Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"initial_node_count\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead." +}, +"nodeIpv4CidrSize": { +"description": "Output only. The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodePoolAutoConfig": { +"$ref": "NodePoolAutoConfig", +"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"nodePoolDefaults": { +"$ref": "NodePoolDefaults", +"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object." +}, +"nodePools": { +"description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are specified.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"description": "Notification configuration of the cluster." +}, +"parentProductConfig": { +"$ref": "ParentProductConfig", +"description": "The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster." +}, +"podAutoscaling": { +"$ref": "PodAutoscaling", +"description": "The config for pod autoscaling." +}, +"privateClusterConfig": { +"$ref": "PrivateClusterConfig", +"description": "Configuration for private cluster." +}, +"rbacBindingConfig": { +"$ref": "RBACBindingConfig", +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created." +}, +"releaseChannel": { +"$ref": "ReleaseChannel", +"description": "Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version." +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for the cluster to use to annotate any related Google Compute Engine resources.", +"type": "object" +}, +"resourceUsageExportConfig": { +"$ref": "ResourceUsageExportConfig", +"description": "Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified." +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"secretManagerConfig": { +"$ref": "SecretManagerConfig", +"description": "Secret CSI driver configuration." +}, +"securityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Optional. Enable/Disable Security Posture API features for the cluster." +}, +"selfLink": { +"description": "Output only. Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"servicesIpv4Cidr": { +"description": "Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.", +"readOnly": true, +"type": "string" +}, +"shieldedNodes": { +"$ref": "ShieldedNodes", +"description": "Shielded Nodes configuration." +}, +"status": { +"description": "Output only. The current status of this cluster.", +"enum": [ +"STATUS_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RECONCILING", +"STOPPING", +"ERROR", +"DEGRADED" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the cluster is being created.", +"The RUNNING state indicates the cluster has been created and is fully usable.", +"The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the `statusMessage` field.", +"The STOPPING state indicates the cluster is being deleted.", +"The ERROR state indicates the cluster is unusable. It will be automatically deleted. Details can be found in the `statusMessage` field.", +"The DEGRADED state indicates the cluster requires user action to restore full functionality. Details can be found in the `statusMessage` field." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected.", +"type": "string" +}, +"tpuIpv4CidrBlock": { +"deprecated": true, +"description": "Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"readOnly": true, +"type": "string" +}, +"userManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"description": "The Custom keys configuration for the cluster." +}, +"verticalPodAutoscaling": { +"$ref": "VerticalPodAutoscaling", +"description": "Cluster-level Vertical Pod Autoscaling configuration." +}, +"workloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig", +"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies." +}, +"zone": { +"deprecated": true, +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterAutoscaling": { +"description": "ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.", +"id": "ClusterAutoscaling", +"properties": { +"autopilotGeneralProfile": { +"description": "Autopilot general profile for the cluster, which defines the configuration for the cluster.", +"enum": [ +"AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", +"NO_PERFORMANCE", +"NONE" +], +"enumDescriptions": [ +"Use default configuration.", +"Avoid extra IP consumption.", +"Use default configuration." +], +"type": "string" +}, +"autoprovisioningLocations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.", +"items": { +"type": "string" +}, +"type": "array" +}, +"autoprovisioningNodePoolDefaults": { +"$ref": "AutoprovisioningNodePoolDefaults", +"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP." +}, +"autoscalingProfile": { +"description": "Defines autoscaling behaviour.", +"enum": [ +"PROFILE_UNSPECIFIED", +"OPTIMIZE_UTILIZATION", +"BALANCED" +], +"enumDescriptions": [ +"No change to autoscaling configuration.", +"Prioritize optimizing utilization of resources.", +"Use default (balanced) autoscaling configuration." +], +"type": "string" +}, +"defaultComputeClassConfig": { +"$ref": "DefaultComputeClassConfig", +"description": "Default compute class is a configuration for default compute class." +}, +"enableNodeAutoprovisioning": { +"description": "Enables automatic node pool creation and deletion.", +"type": "boolean" +}, +"resourceLimits": { +"description": "Contains global constraints regarding minimum and maximum amount of resources in the cluster.", +"items": { +"$ref": "ResourceLimit" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterNetworkPerformanceConfig": { +"description": "Configuration of network bandwidth tiers", +"id": "ClusterNetworkPerformanceConfig", +"properties": { +"totalEgressBandwidthTier": { +"description": "Specifies the total network bandwidth tier for NodePools in the cluster.", +"enum": [ +"TIER_UNSPECIFIED", +"TIER_1" +], +"enumDescriptions": [ +"Default value", +"Higher bandwidth, actual values based on VM size." +], +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpdate": { +"description": "ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.", +"id": "ClusterUpdate", +"properties": { +"additionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs." +}, +"desiredAdditionalIpRangesConfig": { +"$ref": "DesiredAdditionalIPRangesConfig", +"description": "The desired config for additional subnetworks attached to the cluster." +}, +"desiredAddonsConfig": { +"$ref": "AddonsConfig", +"description": "Configurations for the various addons available to run in the cluster." +}, +"desiredAnonymousAuthenticationConfig": { +"$ref": "AnonymousAuthenticationConfig", +"description": "Configuration for limiting anonymous access to all endpoints except the health checks." +}, +"desiredAuthenticatorGroupsConfig": { +"$ref": "AuthenticatorGroupsConfig", +"description": "The desired authenticator groups config for the cluster." +}, +"desiredAutoIpamConfig": { +"$ref": "AutoIpamConfig", +"description": "AutoIpamConfig contains all information related to Auto IPAM" +}, +"desiredAutopilotWorkloadPolicyConfig": { +"$ref": "WorkloadPolicyConfig", +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy" +}, +"desiredBinaryAuthorization": { +"$ref": "BinaryAuthorization", +"description": "The desired configuration options for the Binary Authorization feature." +}, +"desiredClusterAutoscaling": { +"$ref": "ClusterAutoscaling", +"description": "Cluster-level autoscaling configuration." +}, +"desiredCompliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster." +}, +"desiredContainerdConfig": { +"$ref": "ContainerdConfig", +"description": "The desired containerd config for the cluster." +}, +"desiredControlPlaneEndpointsConfig": { +"$ref": "ControlPlaneEndpointsConfig", +"description": "Control plane endpoints configuration." +}, +"desiredCostManagementConfig": { +"$ref": "CostManagementConfig", +"description": "The desired configuration for the fine-grained cost management feature." +}, +"desiredDatabaseEncryption": { +"$ref": "DatabaseEncryption", +"description": "Configuration of etcd encryption." +}, +"desiredDatapathProvider": { +"description": "The desired datapath provider for the cluster.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +], +"type": "string" +}, +"desiredDefaultEnablePrivateNodes": { +"description": "Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes", +"type": "boolean" +}, +"desiredDefaultSnatStatus": { +"$ref": "DefaultSnatStatus", +"description": "The desired status of whether to disable default sNAT for this cluster." +}, +"desiredDisableL4LbFirewallReconciliation": { +"description": "Enable/Disable L4 LB VPC firewall reconciliation for the cluster.", +"type": "boolean" +}, +"desiredDnsConfig": { +"$ref": "DNSConfig", +"description": "DNSConfig contains clusterDNS config for this cluster." +}, +"desiredEnableCiliumClusterwideNetworkPolicy": { +"description": "Enable/Disable Cilium Clusterwide Network Policy for the cluster.", +"type": "boolean" +}, +"desiredEnableFqdnNetworkPolicy": { +"description": "Enable/Disable FQDN Network Policy for the cluster.", +"type": "boolean" +}, +"desiredEnableMultiNetworking": { +"description": "Enable/Disable Multi-Networking for the cluster", +"type": "boolean" +}, +"desiredEnablePrivateEndpoint": { +"deprecated": true, +"description": "Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.", +"type": "boolean" +}, +"desiredEnterpriseConfig": { +"$ref": "DesiredEnterpriseConfig", +"deprecated": true, +"description": "The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are now available without an Enterprise tier." +}, +"desiredFleet": { +"$ref": "Fleet", +"description": "The desired fleet configuration for the cluster." +}, +"desiredGatewayApiConfig": { +"$ref": "GatewayAPIConfig", +"description": "The desired config of Gateway API on this cluster." +}, +"desiredGcfsConfig": { +"$ref": "GcfsConfig", +"description": "The desired GCFS config for the cluster" +}, +"desiredIdentityServiceConfig": { +"$ref": "IdentityServiceConfig", +"description": "The desired Identity Service component configuration." +}, +"desiredImageType": { +"description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.", +"type": "string" +}, +"desiredInTransitEncryptionConfig": { +"description": "Specify the details of in-transit encryption.", +"enum": [ +"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", +"IN_TRANSIT_ENCRYPTION_DISABLED", +"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" +], +"enumDescriptions": [ +"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.", +"In-transit encryption is disabled.", +"Data in-transit is encrypted using inter-node transparent encryption." +], +"type": "string" +}, +"desiredIntraNodeVisibilityConfig": { +"$ref": "IntraNodeVisibilityConfig", +"description": "The desired config of Intra-node visibility." +}, +"desiredK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Desired Beta APIs to be enabled for cluster." +}, +"desiredL4ilbSubsettingConfig": { +"$ref": "ILBSubsettingConfig", +"description": "The desired L4 Internal Load Balancer Subsetting configuration." +}, +"desiredLocations": { +"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"desiredLoggingConfig": { +"$ref": "LoggingConfig", +"description": "The desired logging configuration." +}, +"desiredLoggingService": { +"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"desiredManagedOpentelemetryConfig": { +"$ref": "ManagedOpenTelemetryConfig", +"description": "The desired managed open telemetry configuration." +}, +"desiredMasterAuthorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"deprecated": true, +"description": "The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead." +}, +"desiredMasterVersion": { +"description": "The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version", +"type": "string" +}, +"desiredMeshCertificates": { +"$ref": "MeshCertificates", +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." +}, +"desiredMonitoringConfig": { +"$ref": "MonitoringConfig", +"description": "The desired monitoring configuration." +}, +"desiredMonitoringService": { +"description": "The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"desiredNetworkPerformanceConfig": { +"$ref": "ClusterNetworkPerformanceConfig", +"description": "The desired network performance config." +}, +"desiredNetworkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "The desired network tier configuration for the cluster." +}, +"desiredNodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "The desired node kubelet config for the cluster." +}, +"desiredNodePoolAutoConfigKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoConfigLinuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here." +}, +"desiredNodePoolAutoConfigNetworkTags": { +"$ref": "NetworkTags", +"description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoConfigResourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." +}, +"desiredNodePoolAutoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." +}, +"desiredNodePoolId": { +"description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_node_pool_autoscaling\" is specified and there is more than one node pool on the cluster.", +"type": "string" +}, +"desiredNodePoolLoggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "The desired node pool logging configuration defaults for the cluster." +}, +"desiredNodeVersion": { +"description": "The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", +"type": "string" +}, +"desiredNotificationConfig": { +"$ref": "NotificationConfig", +"description": "The desired notification configuration." +}, +"desiredParentProductConfig": { +"$ref": "ParentProductConfig", +"description": "The desired parent product config for the cluster." +}, +"desiredPodAutoscaling": { +"$ref": "PodAutoscaling", +"description": "The desired config for pod autoscaling." +}, +"desiredPrivateClusterConfig": { +"$ref": "PrivateClusterConfig", +"deprecated": true, +"description": "The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead." +}, +"desiredPrivateIpv6GoogleAccess": { +"description": "The desired state of IPv6 connectivity to Google Services.", +"enum": [ +"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", +"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", +"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", +"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" +], +"enumDescriptions": [ +"Default value. Same as DISABLED", +"No private access to or from Google Services", +"Enables private IPv6 access to Google Services from GKE", +"Enables private IPv6 access to and from Google Services" +], +"type": "string" +}, +"desiredPrivilegedAdmissionConfig": { +"$ref": "PrivilegedAdmissionConfig", +"description": "The desired privileged admission config for the cluster." +}, +"desiredRbacBindingConfig": { +"$ref": "RBACBindingConfig", +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created." +}, +"desiredReleaseChannel": { +"$ref": "ReleaseChannel", +"description": "The desired release channel configuration." +}, +"desiredResourceUsageExportConfig": { +"$ref": "ResourceUsageExportConfig", +"description": "The desired configuration for exporting resource usage." +}, +"desiredSecretManagerConfig": { +"$ref": "SecretManagerConfig", +"description": "Enable/Disable Secret Manager Config." +}, +"desiredSecurityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Enable/Disable Security Posture API features for the cluster." +}, +"desiredServiceExternalIpsConfig": { +"$ref": "ServiceExternalIPsConfig", +"description": "ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field." +}, +"desiredShieldedNodes": { +"$ref": "ShieldedNodes", +"description": "Configuration for Shielded Nodes." +}, +"desiredStackType": { +"description": "The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.", +"enum": [ +"STACK_TYPE_UNSPECIFIED", +"IPV4", +"IPV4_IPV6" +], +"enumDescriptions": [ +"Default value, will be defaulted as IPV4 only", +"Cluster is IPV4 only", +"Cluster can use both IPv4 and IPv6" +], +"type": "string" +}, +"desiredUserManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"description": "The desired user managed keys config for the cluster." +}, +"desiredVerticalPodAutoscaling": { +"$ref": "VerticalPodAutoscaling", +"description": "Cluster-level Vertical Pod Autoscaling configuration." +}, +"desiredWorkloadIdentityConfig": { +"$ref": "WorkloadIdentityConfig", +"description": "Configuration for Workload Identity." +}, +"enableK8sBetaApis": { +"$ref": "K8sBetaAPIConfig", +"description": "Kubernetes open source beta apis enabled on the cluster. Only beta apis" +}, +"etag": { +"description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"gkeAutoUpgradeConfig": { +"$ref": "GkeAutoUpgradeConfig", +"description": "Configuration for GKE auto upgrade." +}, +"removedAdditionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument." +}, +"userManagedKeysConfig": { +"$ref": "UserManagedKeysConfig", +"deprecated": true, +"description": "The Custom keys configuration for the cluster. This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead." +} +}, +"type": "object" +}, +"ClusterUpgradeInfo": { +"description": "ClusterUpgradeInfo contains the upgrade information of a cluster.", +"id": "ClusterUpgradeInfo", +"properties": { +"autoUpgradeStatus": { +"description": "The auto upgrade status.", +"items": { +"enum": [ +"UNKNOWN", +"ACTIVE", +"MINOR_UPGRADE_PAUSED", +"UPGRADE_PAUSED" +], +"enumDescriptions": [ +"UNKNOWN indicates an unknown status.", +"ACTIVE indicates an active status.", +"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.", +"UPGRADE_PAUSED indicates the upgrade is paused." +], +"type": "string" +}, +"type": "array" +}, +"endOfExtendedSupportTimestamp": { +"description": "The cluster's current minor version's end of extended support timestamp.", +"type": "string" +}, +"endOfStandardSupportTimestamp": { +"description": "The cluster's current minor version's end of standard support timestamp.", +"type": "string" +}, +"minorTargetVersion": { +"description": "minor_target_version indicates the target version for minor upgrade.", +"type": "string" +}, +"patchTargetVersion": { +"description": "patch_target_version indicates the target version for patch upgrade.", +"type": "string" +}, +"pausedReason": { +"description": "The auto upgrade paused reason.", +"items": { +"enum": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", +"MAINTENANCE_WINDOW", +"MAINTENANCE_EXCLUSION_NO_UPGRADES", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", +"CLUSTER_DISRUPTION_BUDGET", +"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE", +"SYSTEM_CONFIG" +], +"enumDescriptions": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.", +"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.", +"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.", +"CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.", +"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.", +"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config." +], +"type": "string" +}, +"type": "array" +}, +"upgradeDetails": { +"description": "The list of past auto upgrades.", +"items": { +"$ref": "UpgradeDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompleteIPRotationRequest": { +"description": "CompleteIPRotationRequest moves the cluster master back into single-IP mode.", +"id": "CompleteIPRotationRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"CompleteNodePoolUpgradeRequest": { +"description": "CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.", +"id": "CompleteNodePoolUpgradeRequest", +"properties": {}, +"type": "object" +}, +"CompliancePostureConfig": { +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.", +"id": "CompliancePostureConfig", +"properties": { +"complianceStandards": { +"description": "List of enabled compliance standards.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"mode": { +"description": "Defines the enablement mode for Compliance Posture.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Compliance Posture features on the cluster.", +"Enables Compliance Posture features on the cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"ComplianceStandard": { +"description": "Defines the details of a compliance standard.", +"id": "ComplianceStandard", +"properties": { +"standard": { +"description": "Name of the compliance standard.", +"type": "string" +} +}, +"type": "object" +}, +"ConfidentialNodes": { +"description": "ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.", +"id": "ConfidentialNodes", +"properties": { +"confidentialInstanceType": { +"description": "Defines the type of technology used by the confidential node.", +"enum": [ +"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", +"SEV", +"SEV_SNP", +"TDX" +], +"enumDescriptions": [ +"No type specified. Do not use this value.", +"AMD Secure Encrypted Virtualization.", +"AMD Secure Encrypted Virtualization - Secure Nested Paging.", +"Intel Trust Domain eXtension." +], +"type": "string" +}, +"enabled": { +"description": "Whether Confidential Nodes feature is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigConnectorConfig": { +"description": "Configuration options for the Config Connector add-on.", +"id": "ConfigConnectorConfig", +"properties": { +"enabled": { +"description": "Whether Cloud Connector is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConsumptionMeteringConfig": { +"description": "Parameters for controlling consumption metering.", +"id": "ConsumptionMeteringConfig", +"properties": { +"enabled": { +"description": "Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.", +"type": "boolean" +} +}, +"type": "object" +}, +"ContainerdConfig": { +"description": "ContainerdConfig contains configuration to customize containerd.", +"id": "ContainerdConfig", +"properties": { +"privateRegistryAccessConfig": { +"$ref": "PrivateRegistryAccessConfig", +"description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries." +}, +"registryHosts": { +"description": "RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed.", +"items": { +"$ref": "RegistryHostConfig" +}, +"type": "array" +}, +"writableCgroups": { +"$ref": "WritableCgroups", +"description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool." +} +}, +"type": "object" +}, +"ControlPlaneEndpointsConfig": { +"description": "Configuration for all of the cluster's control plane endpoints.", +"id": "ControlPlaneEndpointsConfig", +"properties": { +"dnsEndpointConfig": { +"$ref": "DNSEndpointConfig", +"description": "DNS endpoint configuration." +}, +"ipEndpointsConfig": { +"$ref": "IPEndpointsConfig", +"description": "IP endpoints configuration." +} +}, +"type": "object" +}, +"CostManagementConfig": { +"description": "Configuration for fine-grained cost management feature.", +"id": "CostManagementConfig", +"properties": { +"enabled": { +"description": "Whether the feature is enabled or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"CrashLoopBackOffConfig": { +"description": "Contains config to modify node-level parameters for container restart behavior.", +"id": "CrashLoopBackOffConfig", +"properties": { +"maxContainerRestartPeriod": { +"description": "Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum. 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 \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.", +"type": "string" +} +}, +"type": "object" +}, +"CreateClusterRequest": { +"description": "CreateClusterRequest creates a cluster.", +"id": "CreateClusterRequest", +"properties": { +"cluster": { +"$ref": "Cluster", +"description": "Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)" +}, +"parent": { +"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"type": "string" +} +}, +"type": "object" +}, +"CreateNodePoolRequest": { +"description": "CreateNodePoolRequest creates a node pool for a cluster.", +"id": "CreateNodePoolRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"nodePool": { +"$ref": "NodePool", +"description": "Required. The node pool to create." +}, +"parent": { +"description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.", +"type": "string" +} +}, +"type": "object" +}, +"DNSConfig": { +"description": "DNSConfig contains the desired set of options for configuring clusterDNS.", +"id": "DNSConfig", +"properties": { +"additiveVpcScopeDnsDomain": { +"description": "Optional. The domain used in Additive VPC scope.", +"type": "string" +}, +"clusterDns": { +"description": "cluster_dns indicates which in-cluster DNS provider should be used.", +"enum": [ +"PROVIDER_UNSPECIFIED", +"PLATFORM_DEFAULT", +"CLOUD_DNS", +"KUBE_DNS" +], +"enumDescriptions": [ +"Default value", +"Use GKE default DNS provider(kube-dns) for DNS resolution.", +"Use CloudDNS for DNS resolution.", +"Use KubeDNS for DNS resolution." +], +"type": "string" +}, +"clusterDnsDomain": { +"description": "cluster_dns_domain is the suffix used for all cluster service records.", +"type": "string" +}, +"clusterDnsScope": { +"description": "cluster_dns_scope indicates the scope of access to cluster DNS records.", +"enum": [ +"DNS_SCOPE_UNSPECIFIED", +"CLUSTER_SCOPE", +"VPC_SCOPE" +], +"enumDescriptions": [ +"Default value, will be inferred as cluster scope.", +"DNS records are accessible from within the cluster.", +"DNS records are accessible from within the VPC." +], +"type": "string" +} +}, +"type": "object" +}, +"DNSEndpointConfig": { +"description": "Describes the configuration of a DNS endpoint.", +"id": "DNSEndpointConfig", +"properties": { +"allowExternalTraffic": { +"description": "Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.", +"type": "boolean" +}, +"enableK8sCertsViaDns": { +"description": "Controls whether the k8s certs auth is allowed via DNS.", +"type": "boolean" +}, +"enableK8sTokensViaDns": { +"description": "Controls whether the k8s token auth is allowed via DNS.", +"type": "boolean" +}, +"endpoint": { +"description": "Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DailyMaintenanceWindow": { +"description": "Time window specified for daily maintenance operations.", +"id": "DailyMaintenanceWindow", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format \"PTnHnMnS\".", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Time within the maintenance window to start the maintenance operations. Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format \"HH:MM\", where HH : [00-23] and MM : [00-59] GMT.", +"type": "string" +} +}, +"type": "object" +}, +"DatabaseEncryption": { +"description": "Configuration of etcd encryption.", +"id": "DatabaseEncryption", +"properties": { +"currentState": { +"description": "Output only. The current state of etcd encryption.", +"enum": [ +"CURRENT_STATE_UNSPECIFIED", +"CURRENT_STATE_ENCRYPTED", +"CURRENT_STATE_DECRYPTED", +"CURRENT_STATE_ENCRYPTION_PENDING", +"CURRENT_STATE_ENCRYPTION_ERROR", +"CURRENT_STATE_DECRYPTION_PENDING", +"CURRENT_STATE_DECRYPTION_ERROR" +], +"enumDescriptions": [ +"Should never be set", +"Secrets in etcd are encrypted.", +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.", +"Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.", +"Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.", +"De-crypting Secrets to plain text in etcd is in progress.", +"De-crypting Secrets to plain text in etcd encountered an error." +], +"readOnly": true, +"type": "string" +}, +"decryptionKeys": { +"description": "Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"keyName": { +"description": "Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key", +"type": "string" +}, +"lastOperationErrors": { +"description": "Output only. Records errors seen during DatabaseEncryption update operations.", +"items": { +"$ref": "OperationError" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "The desired state of etcd encryption.", +"enum": [ +"UNKNOWN", +"ENCRYPTED", +"DECRYPTED" +], +"enumDescriptions": [ +"Should never be set", +"Secrets in etcd are encrypted.", +"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption." +], +"type": "string" +} +}, +"type": "object" +}, +"DedicatedLocalSsdProfile": { +"description": "Provisions a new, separate local NVMe SSD exclusively for swap.", +"id": "DedicatedLocalSsdProfile", +"properties": { +"diskCount": { +"description": "The number of physical local NVMe SSD disks to attach.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DefaultComputeClassConfig": { +"description": "DefaultComputeClassConfig defines default compute class configuration.", +"id": "DefaultComputeClassConfig", +"properties": { +"enabled": { +"description": "Enables default compute class.", +"type": "boolean" +} +}, +"type": "object" +}, +"DefaultSnatStatus": { +"description": "DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.", +"id": "DefaultSnatStatus", +"properties": { +"disabled": { +"description": "Disables cluster default sNAT rules.", +"type": "boolean" +} +}, +"type": "object" +}, +"DesiredAdditionalIPRangesConfig": { +"description": "DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.", +"id": "DesiredAdditionalIPRangesConfig", +"properties": { +"additionalIpRangesConfigs": { +"description": "List of additional IP ranges configs where each AdditionalIPRangesConfig corresponds to one subnetwork's IP ranges", +"items": { +"$ref": "AdditionalIPRangesConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"DesiredEnterpriseConfig": { +"deprecated": true, +"description": "DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. Deprecated: GKE Enterprise features are now available without an Enterprise tier.", +"id": "DesiredEnterpriseConfig", +"properties": { +"desiredTier": { +"description": "desired_tier specifies the desired tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"DisruptionBudget": { +"description": "DisruptionBudget defines the upgrade disruption budget for the cluster control plane.", +"id": "DisruptionBudget", +"properties": { +"lastDisruptionTime": { +"description": "Output only. The last time a disruption was performed on the control plane.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastMinorVersionDisruptionTime": { +"description": "Output only. The last time a minor version upgrade was performed on the control plane.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"minorVersionDisruptionInterval": { +"description": "Optional. The minimum duration between two minor version upgrades of the control plane.", +"format": "google-duration", +"type": "string" +}, +"patchVersionDisruptionInterval": { +"description": "Optional. The minimum duration between two patch version upgrades of the control plane.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DisruptionEvent": { +"description": "DisruptionEvent is a notification sent to customers about the disruption event of a resource.", +"id": "DisruptionEvent", +"properties": { +"disruptionType": { +"description": "The type of the disruption event.", +"enum": [ +"DISRUPTION_TYPE_UNSPECIFIED", +"POD_NOT_ENOUGH_PDB", +"POD_PDB_VIOLATION" +], +"enumDescriptions": [ +"DISRUPTION_TYPE_UNSPECIFIED indicates the disruption type is unspecified.", +"POD_NOT_ENOUGH_PDB indicates there are still running pods on the node during node drain because their evictions are blocked by PDB.", +"POD_PDB_VIOLATION indicates that there are force pod evictions during node drain which violate the PDB." +], +"type": "string" +}, +"pdbBlockedNode": { +"description": "The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.", +"type": "string" +}, +"pdbBlockedPod": { +"description": "The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.", +"items": { +"$ref": "PdbBlockedPod" +}, +"type": "array" +}, +"pdbViolationTimeout": { +"description": "The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DnsCacheConfig": { +"description": "Configuration for NodeLocal DNSCache", +"id": "DnsCacheConfig", +"properties": { +"enabled": { +"description": "Whether NodeLocal DNSCache is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "Defines encryption settings for the swap space.", +"id": "EncryptionConfig", +"properties": { +"disabled": { +"description": "Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).", +"type": "boolean" +} +}, +"type": "object" +}, +"EnterpriseConfig": { +"deprecated": true, +"description": "EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.", +"id": "EnterpriseConfig", +"properties": { +"clusterTier": { +"description": "Output only. cluster_tier indicates the effective tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"readOnly": true, +"type": "string" +}, +"desiredTier": { +"description": "desired_tier specifies the desired tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.", +"STANDARD indicates a standard GKE cluster.", +"ENTERPRISE indicates a GKE Enterprise cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"EphemeralLocalSsdProfile": { +"description": "Swap on the local SSD shared with pod ephemeral storage.", +"id": "EphemeralLocalSsdProfile", +"properties": { +"swapSizeGib": { +"description": "Specifies the size of the swap space in gibibytes (GiB).", +"format": "int64", +"type": "string" +}, +"swapSizePercent": { +"description": "Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EphemeralStorageLocalSsdConfig": { +"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.", +"id": "EphemeralStorageLocalSsdConfig", +"properties": { +"dataCacheCount": { +"description": "Number of local SSDs to use for GKE Data Cache.", +"format": "int32", +"type": "integer" +}, +"localSsdCount": { +"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EvictionGracePeriod": { +"description": "Eviction grace periods are grace periods for each eviction signal.", +"id": "EvictionGracePeriod", +"properties": { +"imagefsAvailable": { +"description": "Optional. Grace period for eviction due to imagefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Grace period for eviction due to memory available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Grace period for eviction due to nodefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Grace period for eviction due to pid available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"EvictionMinimumReclaim": { +"description": "Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.", +"id": "EvictionMinimumReclaim", +"properties": { +"imagefsAvailable": { +"description": "Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"EvictionSignals": { +"description": "Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.", +"id": "EvictionSignals", +"properties": { +"imagefsAvailable": { +"description": "Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of \"imagefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: \"30%\". Must be >= 15% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"imagefsInodesFree": { +"description": "Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of \"imagefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: \"30%\". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"memoryAvailable": { +"description": "Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of \"memory.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsAvailable": { +"description": "Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: \"30%\". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"nodefsInodesFree": { +"description": "Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: \"30%\". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +}, +"pidAvailable": { +"description": "Optional. Amount of PID available for pod allocation. Defines the amount of \"pid.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: \"30%\". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals", +"type": "string" +} +}, +"type": "object" +}, +"FastSocket": { +"description": "Configuration of Fast Socket feature.", +"id": "FastSocket", +"properties": { +"enabled": { +"description": "Whether Fast Socket features are enabled in the node pool.", +"type": "boolean" +} +}, +"type": "object" +}, +"Filter": { +"description": "Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent", +"id": "Filter", +"properties": { +"eventType": { +"description": "Event types to allowlist.", +"items": { +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"UPGRADE_AVAILABLE_EVENT", +"UPGRADE_EVENT", +"SECURITY_BULLETIN_EVENT", +"UPGRADE_INFO_EVENT" +], +"enumDescriptions": [ +"Not set, will be ignored.", +"Corresponds with UpgradeAvailableEvent.", +"Corresponds with UpgradeEvent.", +"Corresponds with SecurityBulletinEvent.", +"Corresponds with UpgradeInfoEvent." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet is the fleet configuration for the cluster.", +"id": "Fleet", +"properties": { +"membership": { +"description": "Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "The type of the cluster's fleet membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"type": "string" +}, +"preRegistered": { +"description": "Output only. Whether the cluster has been registered through the fleet API.", +"readOnly": true, +"type": "boolean" +}, +"project": { +"description": "The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered.", +"type": "string" +} +}, +"type": "object" +}, +"GCPSecretManagerCertificateConfig": { +"description": "GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](https://cloud.google.com/secret-manager).", +"id": "GCPSecretManagerCertificateConfig", +"properties": { +"secretUri": { +"description": "Secret URI, in the form \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\". Version can be fixed (e.g. \"2\") or \"latest\"", +"type": "string" +} +}, +"type": "object" +}, +"GPUDirectConfig": { +"description": "GPUDirectConfig specifies the GPU direct strategy on the node pool.", +"id": "GPUDirectConfig", +"properties": { +"gpuDirectStrategy": { +"description": "The type of GPU direct strategy to enable on the node pool.", +"enum": [ +"GPU_DIRECT_STRATEGY_UNSPECIFIED", +"RDMA" +], +"enumDescriptions": [ +"Default value. No GPU Direct strategy is enabled on the node.", +"GPUDirect-RDMA on A3 Ultra, and A4 machine types" +], +"type": "string" +} +}, +"type": "object" +}, +"GPUDriverInstallationConfig": { +"description": "GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.", +"id": "GPUDriverInstallationConfig", +"properties": { +"gpuDriverVersion": { +"description": "Mode for how the GPU driver is installed.", +"enum": [ +"GPU_DRIVER_VERSION_UNSPECIFIED", +"INSTALLATION_DISABLED", +"DEFAULT", +"LATEST" +], +"enumDescriptions": [ +"Default value is to not install any GPU driver.", +"Disable GPU driver auto installation and needs manual installation", +"\"Default\" GPU driver in COS and Ubuntu.", +"\"Latest\" GPU driver in COS." +], +"type": "string" +} +}, +"type": "object" +}, +"GPUSharingConfig": { +"description": "GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.", +"id": "GPUSharingConfig", +"properties": { +"gpuSharingStrategy": { +"description": "The type of GPU sharing strategy to enable on the GPU node.", +"enum": [ +"GPU_SHARING_STRATEGY_UNSPECIFIED", +"TIME_SHARING", +"MPS" +], +"enumDescriptions": [ +"Default value.", +"GPUs are time-shared between containers.", +"GPUs are shared between containers with NVIDIA MPS." +], +"type": "string" +}, +"maxSharedClientsPerGpu": { +"description": "The max number of containers that can share a physical GPU.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GatewayAPIConfig": { +"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.", +"id": "GatewayAPIConfig", +"properties": { +"channel": { +"description": "The Gateway API release channel to use for Gateway API.", +"enum": [ +"CHANNEL_UNSPECIFIED", +"CHANNEL_DISABLED", +"CHANNEL_EXPERIMENTAL", +"CHANNEL_STANDARD" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value.", +"Gateway API support is disabled", +"Deprecated: use CHANNEL_STANDARD instead. Gateway API support is enabled, experimental CRDs are installed", +"Gateway API support is enabled, standard CRDs are installed" +], +"type": "string" +} +}, +"type": "object" +}, +"GcePersistentDiskCsiDriverConfig": { +"description": "Configuration for the Compute Engine PD CSI driver.", +"id": "GcePersistentDiskCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Compute Engine PD CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcfsConfig": { +"description": "GcfsConfig contains configurations of Google Container File System (image streaming).", +"id": "GcfsConfig", +"properties": { +"enabled": { +"description": "Whether to use GCFS.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcpFilestoreCsiDriverConfig": { +"description": "Configuration for the Filestore CSI driver.", +"id": "GcpFilestoreCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Filestore CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GcsFuseCsiDriverConfig": { +"description": "Configuration for the Cloud Storage Fuse CSI driver.", +"id": "GcsFuseCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"GetJSONWebKeysResponse": { +"description": "GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517", +"id": "GetJSONWebKeysResponse", +"properties": { +"cacheHeader": { +"$ref": "HttpCacheControlResponseHeader", +"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header." +}, +"keys": { +"description": "The public component of the keys used by the cluster to sign token requests.", +"items": { +"$ref": "Jwk" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetOpenIDConfigResponse": { +"description": "GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.", +"id": "GetOpenIDConfigResponse", +"properties": { +"cacheHeader": { +"$ref": "HttpCacheControlResponseHeader", +"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header." +}, +"claims_supported": { +"description": "Supported claims.", +"items": { +"type": "string" +}, +"type": "array" +}, +"grant_types": { +"description": "Supported grant types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id_token_signing_alg_values_supported": { +"description": "supported ID Token signing Algorithms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"issuer": { +"description": "OIDC Issuer.", +"type": "string" +}, +"jwks_uri": { +"description": "JSON Web Key uri.", +"type": "string" +}, +"response_types_supported": { +"description": "Supported response types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subject_types_supported": { +"description": "Supported subject types.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GkeAutoUpgradeConfig": { +"description": "GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.", +"id": "GkeAutoUpgradeConfig", +"properties": { +"patchMode": { +"description": "PatchMode specifies how auto upgrade patch builds should be selected.", +"enum": [ +"PATCH_MODE_UNSPECIFIED", +"ACCELERATED" +], +"enumDescriptions": [ +"PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the channel's patch upgrade targets as the upgrade target for the version.", +"ACCELERATED denotes that the latest patch build in the channel should be used as the upgrade target for the version." +], +"type": "string" +} +}, +"type": "object" +}, +"GkeBackupAgentConfig": { +"description": "Configuration for the Backup for GKE Agent.", +"id": "GkeBackupAgentConfig", +"properties": { +"enabled": { +"description": "Whether the Backup for GKE agent is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"HighScaleCheckpointingConfig": { +"description": "Configuration for the High Scale Checkpointing.", +"id": "HighScaleCheckpointingConfig", +"properties": { +"enabled": { +"description": "Whether the High Scale Checkpointing is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"HorizontalPodAutoscaling": { +"description": "Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.", +"id": "HorizontalPodAutoscaling", +"properties": { +"disabled": { +"description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.", +"type": "boolean" +} +}, +"type": "object" +}, +"HostConfig": { +"description": "HostConfig configures the registry host under a given Server.", +"id": "HostConfig", +"properties": { +"ca": { +"description": "CA configures the registry host certificate.", +"items": { +"$ref": "CertificateConfig" +}, +"type": "array" +}, +"capabilities": { +"description": "Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.", +"items": { +"enum": [ +"HOST_CAPABILITY_UNSPECIFIED", +"HOST_CAPABILITY_PULL", +"HOST_CAPABILITY_RESOLVE", +"HOST_CAPABILITY_PUSH" +], +"enumDescriptions": [ +"UNKNOWN should never be set.", +"Pull represents the capability to fetch manifests and blobs by digest.", +"Resolve represents the capability to fetch manifests by name.", +"Push represents the capability to push blobs and manifests." +], +"type": "string" +}, +"type": "array" +}, +"client": { +"description": "Client configures the registry host client certificate and key.", +"items": { +"$ref": "CertificateConfigPair" +}, +"type": "array" +}, +"dialTimeout": { +"description": "Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.", +"format": "google-duration", +"type": "string" +}, +"header": { +"description": "Header configures the registry host headers.", +"items": { +"$ref": "RegistryHeader" +}, +"type": "array" +}, +"host": { +"description": "Host configures the registry host/mirror. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"type": "string" +}, +"overridePath": { +"description": "OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.", +"type": "boolean" +} +}, +"type": "object" +}, +"HttpCacheControlResponseHeader": { +"description": "RFC-2616: cache control support", +"id": "HttpCacheControlResponseHeader", +"properties": { +"age": { +"description": "14.6 response cache age, in seconds since the response is generated", +"format": "int64", +"type": "string" +}, +"directive": { +"description": "14.9 request and response directives", +"type": "string" +}, +"expires": { +"description": "14.21 response cache expires, in RFC 1123 date format", +"type": "string" +} +}, +"type": "object" +}, +"HttpLoadBalancing": { +"description": "Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.", +"id": "HttpLoadBalancing", +"properties": { +"disabled": { +"description": "Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.", +"type": "boolean" +} +}, +"type": "object" +}, +"HugepagesConfig": { +"description": "Hugepages amount in both 2m and 1g size", +"id": "HugepagesConfig", +"properties": { +"hugepageSize1g": { +"description": "Optional. Amount of 1G hugepages", +"format": "int32", +"type": "integer" +}, +"hugepageSize2m": { +"description": "Optional. Amount of 2M hugepages", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ILBSubsettingConfig": { +"description": "ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.", +"id": "ILBSubsettingConfig", +"properties": { +"enabled": { +"description": "Enables l4 ILB subsetting for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"IPAllocationPolicy": { +"description": "Configuration for controlling how IPs are allocated in the cluster.", +"id": "IPAllocationPolicy", +"properties": { +"additionalIpRangesConfigs": { +"description": "Output only. The additional IP ranges that are added to the cluster. These IP ranges can be used by new node pools to allocate node and pod IPs automatically. Each AdditionalIPRangesConfig corresponds to a single subnetwork. Once a range is removed it will not show up in IPAllocationPolicy.", +"items": { +"$ref": "AdditionalIPRangesConfig" +}, +"readOnly": true, +"type": "array" +}, +"additionalPodRangesConfig": { +"$ref": "AdditionalPodRangesConfig", +"description": "Output only. The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.", +"readOnly": true +}, +"autoIpamConfig": { +"$ref": "AutoIpamConfig", +"description": "Optional. AutoIpamConfig contains all information related to Auto IPAM" +}, +"clusterIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use cluster_ipv4_cidr_block.", +"type": "string" +}, +"clusterIpv4CidrBlock": { +"description": "The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"clusterSecondaryRangeName": { +"description": "The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.", +"type": "string" +}, +"createSubnetwork": { +"description": "Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.", +"type": "boolean" +}, +"defaultPodIpv4RangeUtilization": { +"description": "Output only. The utilization of the cluster default IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"ipv6AccessType": { +"description": "The ipv6 access type (internal or external) when create_subnetwork is true", +"enum": [ +"IPV6_ACCESS_TYPE_UNSPECIFIED", +"INTERNAL", +"EXTERNAL" +], +"enumDescriptions": [ +"Default value, will be defaulted as type external.", +"Access type internal (all v6 addresses are internal IPs)", +"Access type external (all v6 addresses are external IPs)" +], +"type": "string" +}, +"networkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "Cluster-level network tier configuration is used to determine the default network tier for external IP addresses on cluster resources, such as node pools and load balancers." +}, +"nodeIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use node_ipv4_cidr_block.", +"type": "string" +}, +"nodeIpv4CidrBlock": { +"description": "The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"podCidrOverprovisionConfig": { +"$ref": "PodCIDROverprovisionConfig", +"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." +}, +"servicesIpv4Cidr": { +"deprecated": true, +"description": "This field is deprecated, use services_ipv4_cidr_block.", +"type": "string" +}, +"servicesIpv4CidrBlock": { +"description": "The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", +"type": "string" +}, +"servicesIpv6CidrBlock": { +"description": "Output only. The services IPv6 CIDR block for the cluster.", +"readOnly": true, +"type": "string" +}, +"servicesSecondaryRangeName": { +"description": "The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.", +"type": "string" +}, +"stackType": { +"description": "The IP stack type of the cluster", +"enum": [ +"STACK_TYPE_UNSPECIFIED", +"IPV4", +"IPV4_IPV6" +], +"enumDescriptions": [ +"Default value, will be defaulted as IPV4 only", +"Cluster is IPV4 only", +"Cluster can use both IPv4 and IPv6" +], +"type": "string" +}, +"subnetIpv6CidrBlock": { +"description": "Output only. The subnet's IPv6 CIDR block used by nodes and pods.", +"readOnly": true, +"type": "string" +}, +"subnetworkName": { +"description": "A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.", +"type": "string" +}, +"tpuIpv4CidrBlock": { +"deprecated": true, +"description": "The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.", +"type": "string" +}, +"useIpAliases": { +"description": "Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode", +"type": "boolean" +}, +"useRoutes": { +"description": "Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode", +"type": "boolean" +} +}, +"type": "object" +}, +"IPEndpointsConfig": { +"description": "IP endpoints configuration.", +"id": "IPEndpointsConfig", +"properties": { +"authorizedNetworksConfig": { +"$ref": "MasterAuthorizedNetworksConfig", +"description": "Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both Cluster.masterAuthorizedNetworksConfig and this field at the same time." +}, +"enablePublicEndpoint": { +"description": "Controls whether the control plane allows access through a public IP. It is invalid to specify both PrivateClusterConfig.enablePrivateEndpoint and this field at the same time.", +"type": "boolean" +}, +"enabled": { +"description": "Controls whether to allow direct IP access.", +"type": "boolean" +}, +"globalAccess": { +"description": "Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.", +"type": "boolean" +}, +"privateEndpoint": { +"description": "Output only. The internal IP address of this cluster's control plane. Only populated if enabled.", +"readOnly": true, +"type": "string" +}, +"privateEndpointSubnetwork": { +"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both PrivateClusterConfig.privateEndpointSubnetwork and this field at the same time.", +"type": "string" +}, +"publicEndpoint": { +"description": "Output only. The external IP address of this cluster's control plane. Only populated if enabled.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceConfig": { +"description": "IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API", +"id": "IdentityServiceConfig", +"properties": { +"enabled": { +"description": "Whether to enable the Identity Service component", +"type": "boolean" +} +}, +"type": "object" +}, +"IntraNodeVisibilityConfig": { +"description": "IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.", +"id": "IntraNodeVisibilityConfig", +"properties": { +"enabled": { +"description": "Enables intra node visibility for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Jwk": { +"description": "Jwk is a JSON Web Key as specified in RFC 7517", +"id": "Jwk", +"properties": { +"alg": { +"description": "Algorithm.", +"type": "string" +}, +"crv": { +"description": "Used for ECDSA keys.", +"type": "string" +}, +"e": { +"description": "Used for RSA keys.", +"type": "string" +}, +"kid": { +"description": "Key ID.", +"type": "string" +}, +"kty": { +"description": "Key Type.", +"type": "string" +}, +"n": { +"description": "Used for RSA keys.", +"type": "string" +}, +"use": { +"description": "Permitted uses for the public keys.", +"type": "string" +}, +"x": { +"description": "Used for ECDSA keys.", +"type": "string" +}, +"y": { +"description": "Used for ECDSA keys.", +"type": "string" +} +}, +"type": "object" +}, +"K8sBetaAPIConfig": { +"description": "K8sBetaAPIConfig , configuration for beta APIs", +"id": "K8sBetaAPIConfig", +"properties": { +"enabledApis": { +"description": "Enabled k8s beta APIs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"KubernetesDashboard": { +"description": "Configuration for the Kubernetes Dashboard.", +"id": "KubernetesDashboard", +"properties": { +"disabled": { +"description": "Whether the Kubernetes Dashboard is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"LegacyAbac": { +"description": "Configuration for the legacy Attribute Based Access Control authorization mode.", +"id": "LegacyAbac", +"properties": { +"enabled": { +"description": "Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.", +"type": "boolean" +} +}, +"type": "object" +}, +"LinuxNodeConfig": { +"description": "Parameters that can be configured on Linux nodes.", +"id": "LinuxNodeConfig", +"properties": { +"cgroupMode": { +"description": "cgroup_mode specifies the cgroup mode to be used on the node.", +"enum": [ +"CGROUP_MODE_UNSPECIFIED", +"CGROUP_MODE_V1", +"CGROUP_MODE_V2" +], +"enumDescriptions": [ +"CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.", +"CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.", +"CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image." +], +"type": "string" +}, +"hugepages": { +"$ref": "HugepagesConfig", +"description": "Optional. Amounts for 2M and 1G hugepages" +}, +"nodeKernelModuleLoading": { +"$ref": "NodeKernelModuleLoading", +"description": "Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification." +}, +"swapConfig": { +"$ref": "SwapConfig", +"description": "Optional. Enables and configures swap space on nodes. If omitted, swap is disabled." +}, +"sysctls": { +"additionalProperties": { +"type": "string" +}, +"description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", +"type": "object" +}, +"transparentHugepageDefrag": { +"description": "Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.", +"enum": [ +"TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", +"TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS", +"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER", +"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE", +"TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE", +"TRANSPARENT_HUGEPAGE_DEFRAG_NEVER" +], +"enumDescriptions": [ +"Default value. GKE will not modify the kernel configuration.", +"It means that an application requesting THP will stall on allocation failure and directly reclaim pages and compact memory in an effort to allocate a THP immediately.", +"It means that an application will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future. It's the responsibility of khugepaged to then install the THP pages later.", +"It means that an application will enter direct reclaim and compaction like always, but only for regions that have used madvise(MADV_HUGEPAGE); all other regions will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future.", +"It means that an application will enter direct reclaim like always but only for regions that are have used madvise(MADV_HUGEPAGE). This is the default kernel configuration.", +"It means that an application will never enter direct reclaim or compaction." +], +"type": "string" +}, +"transparentHugepageEnabled": { +"description": "Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.", +"enum": [ +"TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED", +"TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS", +"TRANSPARENT_HUGEPAGE_ENABLED_MADVISE", +"TRANSPARENT_HUGEPAGE_ENABLED_NEVER" +], +"enumDescriptions": [ +"Default value. GKE will not modify the kernel configuration.", +"Transparent hugepage support for anonymous memory is enabled system wide.", +"Transparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions. This is the default kernel configuration.", +"Transparent hugepage support for anonymous memory is disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "ListClustersResponse is the result of ListClustersRequest.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "A list of clusters in the project in the specified zone, or across all ones.", +"items": { +"$ref": "Cluster" +}, +"type": "array" +}, +"missingZones": { +"description": "If any zones are listed here, the list of clusters returned may be missing those zones.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListNodePoolsResponse": { +"description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.", +"id": "ListNodePoolsResponse", +"properties": { +"nodePools": { +"description": "A list of node pools for a cluster.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "ListOperationsResponse is the result of ListOperationsRequest.", +"id": "ListOperationsResponse", +"properties": { +"missingZones": { +"description": "If any zones are listed here, the list of operations returned may be missing the operations from those zones.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operations": { +"description": "A list of operations in the project in the specified zone.", +"items": { +"$ref": "Operation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsableSubnetworksResponse": { +"description": "ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.", +"id": "ListUsableSubnetworksResponse", +"properties": { +"nextPageToken": { +"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `page_size`, use the `next_page_token` as a value for the query parameter `page_token` in the next request. The value will become empty when there are no more pages.", +"type": "string" +}, +"subnetworks": { +"description": "A list of usable subnetworks in the specified network project.", +"items": { +"$ref": "UsableSubnetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalNvmeSsdBlockConfig": { +"description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs", +"id": "LocalNvmeSsdBlockConfig", +"properties": { +"localSsdCount": { +"description": "Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LoggingComponentConfig": { +"description": "LoggingComponentConfig is cluster logging component configuration.", +"id": "LoggingComponentConfig", +"properties": { +"enableComponents": { +"description": "Select components to collect logs. An empty set would disable all logging.", +"items": { +"enum": [ +"COMPONENT_UNSPECIFIED", +"SYSTEM_COMPONENTS", +"WORKLOADS", +"APISERVER", +"SCHEDULER", +"CONTROLLER_MANAGER", +"KCP_SSHD", +"KCP_CONNECTION", +"KCP_HPA" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"system components", +"workloads", +"kube-apiserver", +"kube-scheduler", +"kube-controller-manager", +"kcp-sshd", +"kcp connection logs", +"horizontal pod autoscaler decision logs" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "LoggingConfig is cluster logging configuration.", +"id": "LoggingConfig", +"properties": { +"componentConfig": { +"$ref": "LoggingComponentConfig", +"description": "Logging components configuration" +} +}, +"type": "object" +}, +"LoggingVariantConfig": { +"description": "LoggingVariantConfig specifies the behaviour of the logging component.", +"id": "LoggingVariantConfig", +"properties": { +"variant": { +"description": "Logging variant deployed on nodes.", +"enum": [ +"VARIANT_UNSPECIFIED", +"DEFAULT", +"MAX_THROUGHPUT" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"default logging variant.", +"maximum logging throughput variant." +], +"type": "string" +} +}, +"type": "object" +}, +"LustreCsiDriverConfig": { +"description": "Configuration for the Lustre CSI driver.", +"id": "LustreCsiDriverConfig", +"properties": { +"enableLegacyLustrePort": { +"deprecated": true, +"description": "If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.", +"type": "boolean" +}, +"enabled": { +"description": "Whether the Lustre CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaintenanceExclusionOptions": { +"description": "Represents the Maintenance exclusion option.", +"id": "MaintenanceExclusionOptions", +"properties": { +"endTimeBehavior": { +"description": "EndTimeBehavior specifies the behavior of the exclusion end time.", +"enum": [ +"END_TIME_BEHAVIOR_UNSPECIFIED", +"UNTIL_END_OF_SUPPORT" +], +"enumDescriptions": [ +"END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed end time.", +"UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end of the support of the cluster's current version." +], +"type": "string" +}, +"scope": { +"description": "Scope specifies the upgrade scope which upgrades are blocked by the exclusion.", +"enum": [ +"NO_UPGRADES", +"NO_MINOR_UPGRADES", +"NO_MINOR_OR_NODE_UPGRADES" +], +"enumDescriptions": [ +"NO_UPGRADES excludes all upgrades, including patch upgrades and minor upgrades across control planes and nodes. This is the default exclusion behavior.", +"NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only patches are allowed.", +"NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster, and also exclude all node pool upgrades. Only control plane patches are allowed." +], +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.", +"id": "MaintenancePolicy", +"properties": { +"disruptionBudget": { +"$ref": "DisruptionBudget", +"description": "Optional. The upgrade disruption budget for the cluster control plane." +}, +"resourceVersion": { +"description": "A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.", +"type": "string" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Specifies the maintenance window in which maintenance may be performed." +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow defines the maintenance window to be used for the cluster.", +"id": "MaintenanceWindow", +"properties": { +"dailyMaintenanceWindow": { +"$ref": "DailyMaintenanceWindow", +"description": "DailyMaintenanceWindow specifies a daily maintenance operation window." +}, +"maintenanceExclusions": { +"additionalProperties": { +"$ref": "TimeWindow" +}, +"description": "Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.", +"type": "object" +}, +"recurringWindow": { +"$ref": "RecurringTimeWindow", +"description": "RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time." +} +}, +"type": "object" +}, +"ManagedOpenTelemetryConfig": { +"description": "ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.", +"id": "ManagedOpenTelemetryConfig", +"properties": { +"scope": { +"description": "Scope of the Managed OpenTelemetry pipeline.", +"enum": [ +"SCOPE_UNSPECIFIED", +"NONE", +"COLLECTION_AND_INSTRUMENTATION_COMPONENTS" +], +"enumDescriptions": [ +"SCOPE_UNSPECIFIED is when the scope is not set.", +"NONE is used to disable the Managed OpenTelemetry pipeline.", +"COLLECTION_AND_INSTRUMENTATION_COMPONENTS is used to enable the Managed OpenTelemetry pipeline for collection and instrumentation components." +], +"type": "string" +} +}, +"type": "object" +}, +"ManagedPrometheusConfig": { +"description": "ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.", +"id": "ManagedPrometheusConfig", +"properties": { +"autoMonitoringConfig": { +"$ref": "AutoMonitoringConfig", +"description": "GKE Workload Auto-Monitoring Configuration." +}, +"enabled": { +"description": "Enable Managed Collection.", +"type": "boolean" +} +}, +"type": "object" +}, +"MasterAuth": { +"description": "The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.", +"id": "MasterAuth", +"properties": { +"clientCertificate": { +"description": "Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.", +"readOnly": true, +"type": "string" +}, +"clientCertificateConfig": { +"$ref": "ClientCertificateConfig", +"description": "Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued." +}, +"clientKey": { +"description": "Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.", +"readOnly": true, +"type": "string" +}, +"clusterCaCertificate": { +"description": "Output only. Base64-encoded public certificate that is the root of trust for the cluster.", +"readOnly": true, +"type": "string" +}, +"password": { +"deprecated": true, +"description": "The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication", +"type": "string" +}, +"username": { +"deprecated": true, +"description": "The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication", +"type": "string" +} +}, +"type": "object" +}, +"MasterAuthorizedNetworksConfig": { +"description": "Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.", +"id": "MasterAuthorizedNetworksConfig", +"properties": { +"cidrBlocks": { +"description": "cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.", +"items": { +"$ref": "CidrBlock" +}, +"type": "array" +}, +"enabled": { +"description": "Whether or not master authorized networks is enabled.", +"type": "boolean" +}, +"gcpPublicCidrsAccessEnabled": { +"description": "Whether master is accessible via Google Compute Engine Public IP addresses.", +"type": "boolean" +}, +"privateEndpointEnforcementEnabled": { +"description": "Whether master authorized networks is enforced on private endpoint or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"MaxPodsConstraint": { +"description": "Constraints applied to pods.", +"id": "MaxPodsConstraint", +"properties": { +"maxPodsPerNode": { +"description": "Constraint enforced on the max num of pods per node.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MemoryManager": { +"description": "The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).", +"id": "MemoryManager", +"properties": { +"policy": { +"description": "Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * \"none\" * \"static\" The default value is 'none' if unspecified.", +"type": "string" +} +}, +"type": "object" +}, +"MeshCertificates": { +"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", +"id": "MeshCertificates", +"properties": { +"enableCertificates": { +"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).", +"type": "boolean" +} +}, +"type": "object" +}, +"Metric": { +"description": "Progress metric is (string, int|float|string) pair.", +"id": "Metric", +"properties": { +"doubleValue": { +"description": "For metrics with floating point value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "For metrics with integer value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. Metric name, e.g., \"nodes total\", \"percent done\".", +"type": "string" +}, +"stringValue": { +"description": "For metrics with custom values (ratios, visual progress, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"MonitoringComponentConfig": { +"description": "MonitoringComponentConfig is cluster monitoring component configuration.", +"id": "MonitoringComponentConfig", +"properties": { +"enableComponents": { +"description": "Select components to collect metrics. An empty set would disable all monitoring.", +"items": { +"enum": [ +"COMPONENT_UNSPECIFIED", +"SYSTEM_COMPONENTS", +"APISERVER", +"SCHEDULER", +"CONTROLLER_MANAGER", +"STORAGE", +"HPA", +"POD", +"DAEMONSET", +"DEPLOYMENT", +"STATEFULSET", +"CADVISOR", +"KUBELET", +"DCGM", +"JOBSET" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"system components", +"kube-apiserver", +"kube-scheduler", +"kube-controller-manager", +"Storage", +"Horizontal Pod Autoscaling", +"Pod", +"DaemonSet", +"Deployment", +"Statefulset", +"CADVISOR", +"KUBELET", +"NVIDIA Data Center GPU Manager (DCGM)", +"JobSet" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig is cluster monitoring configuration.", +"id": "MonitoringConfig", +"properties": { +"advancedDatapathObservabilityConfig": { +"$ref": "AdvancedDatapathObservabilityConfig", +"description": "Configuration of Advanced Datapath Observability features." +}, +"componentConfig": { +"$ref": "MonitoringComponentConfig", +"description": "Monitoring components configuration" +}, +"managedPrometheusConfig": { +"$ref": "ManagedPrometheusConfig", +"description": "Enable Google Cloud Managed Service for Prometheus in the cluster." +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "NetworkConfig reports the relative names of network & subnetwork.", +"id": "NetworkConfig", +"properties": { +"datapathProvider": { +"description": "The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.", +"enum": [ +"DATAPATH_PROVIDER_UNSPECIFIED", +"LEGACY_DATAPATH", +"ADVANCED_DATAPATH" +], +"enumDescriptions": [ +"Default value.", +"Use the IPTables implementation based on kube-proxy.", +"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more." +], +"type": "string" +}, +"defaultEnablePrivateNodes": { +"description": "Controls whether by default nodes have private IP addresses only. It is invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes", +"type": "boolean" +}, +"defaultSnatStatus": { +"$ref": "DefaultSnatStatus", +"description": "Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic." +}, +"disableL4LbFirewallReconciliation": { +"description": "Disable L4 load balancer VPC firewalls to enable firewall policies.", +"type": "boolean" +}, +"dnsConfig": { +"$ref": "DNSConfig", +"description": "DNSConfig contains clusterDNS config for this cluster." +}, +"enableCiliumClusterwideNetworkPolicy": { +"description": "Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.", +"type": "boolean" +}, +"enableFqdnNetworkPolicy": { +"description": "Whether FQDN Network Policy is enabled on this cluster.", +"type": "boolean" +}, +"enableIntraNodeVisibility": { +"description": "Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.", +"type": "boolean" +}, +"enableL4ilbSubsetting": { +"description": "Whether L4ILB Subsetting is enabled for this cluster.", +"type": "boolean" +}, +"enableMultiNetworking": { +"description": "Whether multi-networking is enabled for this cluster.", +"type": "boolean" +}, +"gatewayApiConfig": { +"$ref": "GatewayAPIConfig", +"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster." +}, +"inTransitEncryptionConfig": { +"description": "Specify the details of in-transit encryption. Now named inter-node transparent encryption.", +"enum": [ +"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED", +"IN_TRANSIT_ENCRYPTION_DISABLED", +"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT" +], +"enumDescriptions": [ +"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.", +"In-transit encryption is disabled.", +"Data in-transit is encrypted using inter-node transparent encryption." +], +"type": "string" +}, +"network": { +"description": "Output only. The relative name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network", +"readOnly": true, +"type": "string" +}, +"networkPerformanceConfig": { +"$ref": "ClusterNetworkPerformanceConfig", +"description": "Network bandwidth tier configuration." +}, +"privateIpv6GoogleAccess": { +"description": "The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)", +"enum": [ +"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", +"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED", +"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", +"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" +], +"enumDescriptions": [ +"Default value. Same as DISABLED", +"No private access to or from Google Services", +"Enables private IPv6 access to Google Services from GKE", +"Enables private IPv6 access to and from Google Services" +], +"type": "string" +}, +"serviceExternalIpsConfig": { +"$ref": "ServiceExternalIPsConfig", +"description": "ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not." +}, +"subnetwork": { +"description": "Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkPerformanceConfig": { +"description": "Configuration of all network bandwidth tiers", +"id": "NetworkPerformanceConfig", +"properties": { +"totalEgressBandwidthTier": { +"description": "Specifies the total network bandwidth tier for the NodePool.", +"enum": [ +"TIER_UNSPECIFIED", +"TIER_1" +], +"enumDescriptions": [ +"Default value", +"Higher bandwidth, actual values based on VM size." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicy": { +"description": "Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/", +"id": "NetworkPolicy", +"properties": { +"enabled": { +"description": "Whether network policy is enabled on the cluster.", +"type": "boolean" +}, +"provider": { +"description": "The selected network policy provider.", +"enum": [ +"PROVIDER_UNSPECIFIED", +"CALICO" +], +"enumDescriptions": [ +"Not set", +"Tigera (Calico Felix)." +], +"type": "string" +} +}, +"type": "object" +}, +"NetworkPolicyConfig": { +"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.", +"id": "NetworkPolicyConfig", +"properties": { +"disabled": { +"description": "Whether NetworkPolicy is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"NetworkTags": { +"description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.", +"id": "NetworkTags", +"properties": { +"tags": { +"description": "List of network tags.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NetworkTierConfig": { +"description": "NetworkTierConfig contains network tier information.", +"id": "NetworkTierConfig", +"properties": { +"networkTier": { +"description": "Network tier configuration.", +"enum": [ +"NETWORK_TIER_UNSPECIFIED", +"NETWORK_TIER_DEFAULT", +"NETWORK_TIER_PREMIUM", +"NETWORK_TIER_STANDARD" +], +"enumDescriptions": [ +"By default, use project-level configuration. When unspecified, the behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this implies no action (no-op).", +"Default network tier. Use project-level configuration. User can specify this value, meaning they want to keep the same behaviour as before cluster level network tier configuration is introduced. This field ensures backward compatibility for the network tier of cluster resources, such as node pools and load balancers, for their external IP addresses.", +"Premium network tier.", +"Standard network tier." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeAffinity": { +"description": "Specifies the NodeAffinity key, values, and affinity operator according to [shared sole tenant node group affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).", +"id": "NodeAffinity", +"properties": { +"key": { +"description": "Key for NodeAffinity.", +"type": "string" +}, +"operator": { +"description": "Operator for NodeAffinity.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"IN", +"NOT_IN" +], +"enumDescriptions": [ +"Invalid or unspecified affinity operator.", +"Affinity operator.", +"Anti-affinity operator." +], +"type": "string" +}, +"values": { +"description": "Values for NodeAffinity.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeConfig": { +"description": "Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead.", +"id": "NodeConfig", +"properties": { +"accelerators": { +"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"advancedMachineFeatures": { +"$ref": "AdvancedMachineFeatures", +"description": "Advanced features for the Compute Engine VM." +}, +"bootDisk": { +"$ref": "BootDisk", +"description": "The boot disk configuration for the node pool." +}, +"bootDiskKmsKey": { +"description": " The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption", +"type": "string" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled." +}, +"consolidationDelay": { +"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.", +"format": "google-duration", +"type": "string" +}, +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "Parameters for containerd customization." +}, +"diskSizeGb": { +"description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'", +"type": "string" +}, +"effectiveCgroupMode": { +"description": "Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.", +"enum": [ +"EFFECTIVE_CGROUP_MODE_UNSPECIFIED", +"EFFECTIVE_CGROUP_MODE_V1", +"EFFECTIVE_CGROUP_MODE_V2" +], +"enumDescriptions": [ +"EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the node pool is unspecified, i.e. the node pool is a Windows node pool.", +"CGROUP_MODE_V1 means the node pool is configured to use cgroupv1 for the cgroup configuration.", +"CGROUP_MODE_V2 means the node pool is configured to use cgroupv2 for the cgroup configuration." +], +"readOnly": true, +"type": "string" +}, +"enableConfidentialStorage": { +"description": "Optional. Reserved for future use.", +"type": "boolean" +}, +"ephemeralStorageLocalSsdConfig": { +"$ref": "EphemeralStorageLocalSsdConfig", +"description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk." +}, +"fastSocket": { +"$ref": "FastSocket", +"description": "Enable or disable NCCL fast socket for the node pool." +}, +"flexStart": { +"description": "Flex Start flag for enabling Flex Start VM.", +"type": "boolean" +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "Google Container File System (image streaming) configs." +}, +"gpuDirectConfig": { +"$ref": "GPUDirectConfig", +"description": "The configuration for GPU Direct" +}, +"gvnic": { +"$ref": "VirtualNIC", +"description": "Enable or disable gvnic in the node pool." +}, +"imageType": { +"description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"kubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "Node kubelet configs." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", +"type": "object" +}, +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Parameters that can be configured on Linux nodes." +}, +"localNvmeSsdBlockConfig": { +"$ref": "LocalNvmeSsdBlockConfig", +"description": "Parameters for using raw-block Local NVMe SSDs." +}, +"localSsdCount": { +"description": "The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.", +"format": "int32", +"type": "integer" +}, +"localSsdEncryptionMode": { +"description": "Specifies which method should be used for encrypting the Local SSDs attached to the node.", +"enum": [ +"LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED", +"STANDARD_ENCRYPTION", +"EPHEMERAL_KEY_ENCRYPTION" +], +"enumDescriptions": [ +"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", +"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.", +"The given node will opt-in for using ephemeral key for encryption of Local SSDs. The Local SSDs will not be able to recover data in case of node crash." +], +"type": "string" +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration." +}, +"machineType": { +"description": "The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types) If unspecified, the default machine type is `e2-medium`.", +"type": "string" +}, +"maxRunDuration": { +"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.", +"format": "google-duration", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - \"cluster-location\" - \"cluster-name\" - \"cluster-uid\" - \"configure-sh\" - \"containerd-configure-sh\" - \"enable-os-login\" - \"gci-ensure-gke-docker\" - \"gci-metrics-enabled\" - \"gci-update-strategy\" - \"instance-template\" - \"kube-env\" - \"startup-script\" - \"user-data\" - \"disable-address-manager\" - \"windows-startup-script-ps1\" - \"common-psm1\" - \"k8s-node-setup-psm1\" - \"install-ssh-psm1\" - \"user-profile-psm1\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.", +"type": "object" +}, +"minCpuPlatform": { +"description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"Intel Haswell\"` or `minCpuPlatform: \"Intel Sandy Bridge\"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)", +"type": "string" +}, +"nodeGroup": { +"description": "Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).", +"type": "string" +}, +"oauthScopes": { +"description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.", +"items": { +"type": "string" +}, +"type": "array" +}, +"preemptible": { +"description": "Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.", +"type": "boolean" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool." +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.", +"type": "object" +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "A map of resource manager tag keys and values to be attached to the nodes." +}, +"sandboxConfig": { +"$ref": "SandboxConfig", +"description": "Sandbox configuration for this node." +}, +"secondaryBootDiskUpdateStrategy": { +"$ref": "SecondaryBootDiskUpdateStrategy", +"description": "Secondary boot disk update strategy." +}, +"secondaryBootDisks": { +"description": "List of secondary boot disks attached to the nodes.", +"items": { +"$ref": "SecondaryBootDisk" +}, +"type": "array" +}, +"serviceAccount": { +"description": "The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.", +"type": "string" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Shielded Instance options." +}, +"soleTenantConfig": { +"$ref": "SoleTenantConfig", +"description": "Parameters for node pools to be backed by shared sole tenant node groups." +}, +"spot": { +"description": "Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.", +"type": "boolean" +}, +"storagePools": { +"description": "List of Storage Pools where boot disks are provisioned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.", +"items": { +"type": "string" +}, +"type": "array" +}, +"taints": { +"description": "List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +}, +"windowsNodeConfig": { +"$ref": "WindowsNodeConfig", +"description": "Parameters that can be configured on Windows nodes." +}, +"workloadMetadataConfig": { +"$ref": "WorkloadMetadataConfig", +"description": "The workload metadata configuration for this node." +} +}, +"type": "object" +}, +"NodeConfigDefaults": { +"description": "Subset of NodeConfig message that has defaults.", +"id": "NodeConfigDefaults", +"properties": { +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "Parameters for containerd customization." +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "GCFS (Google Container File System, also known as Riptide) options." +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration for node pools." +}, +"nodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." +} +}, +"type": "object" +}, +"NodeDrainConfig": { +"description": "NodeDrainConfig contains the node drain related configurations for this nodepool.", +"id": "NodeDrainConfig", +"properties": { +"respectPdbDuringNodePoolDeletion": { +"description": "Whether to respect PDB during node pool deletion.", +"type": "boolean" +} +}, +"type": "object" +}, +"NodeKernelModuleLoading": { +"description": "Configuration for kernel module loading on nodes.", +"id": "NodeKernelModuleLoading", +"properties": { +"policy": { +"description": "Set the node module loading policy for nodes in the node pool.", +"enum": [ +"POLICY_UNSPECIFIED", +"ENFORCE_SIGNED_MODULES", +"DO_NOT_ENFORCE_SIGNED_MODULES" +], +"enumDescriptions": [ +"Default behavior. GKE selects the image based on node type. For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not.", +"Enforced signature verification: Node pools will use a Container-Optimized OS image configured to allow loading of *Google-signed* external kernel modules. Loadpin is enabled but configured to exclude modules, and kernel module signature checking is enforced.", +"Mirrors existing DEFAULT behavior: For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not." +], +"type": "string" +} +}, +"type": "object" +}, +"NodeKubeletConfig": { +"description": "Node kubelet configs.", +"id": "NodeKubeletConfig", +"properties": { +"allowedUnsafeSysctls": { +"description": "Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerLogMaxFiles": { +"description": "Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.", +"format": "int32", +"type": "integer" +}, +"containerLogMaxSize": { +"description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.", +"type": "string" +}, +"cpuCfsQuota": { +"description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.", +"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 \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.", +"type": "string" +}, +"cpuManagerPolicy": { +"description": "Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * \"none\": the default, which represents the existing scheduling behavior. * \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.", +"type": "string" +}, +"crashLoopBackOff": { +"$ref": "CrashLoopBackOffConfig", +"description": "Optional. Contains configuration options to modify node-level parameters for container restart behavior." +}, +"evictionMaxPodGracePeriodSeconds": { +"description": "Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300].", +"format": "int32", +"type": "integer" +}, +"evictionMinimumReclaim": { +"$ref": "EvictionMinimumReclaim", +"description": "Optional. eviction_minimum_reclaim is a map of signal names to quantities that defines minimum reclaims, which describe the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction while that resource is under pressure." +}, +"evictionSoft": { +"$ref": "EvictionSignals", +"description": "Optional. eviction_soft is a map of signal names to quantities that defines soft eviction thresholds. Each signal is compared to its corresponding threshold to determine if a pod eviction should occur." +}, +"evictionSoftGracePeriod": { +"$ref": "EvictionGracePeriod", +"description": "Optional. eviction_soft_grace_period is a map of signal names to quantities that defines grace periods for each soft eviction signal. The grace period is the amount of time that a pod must be under pressure before an eviction occurs." +}, +"imageGcHighThresholdPercent": { +"description": "Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified.", +"format": "int32", +"type": "integer" +}, +"imageGcLowThresholdPercent": { +"description": "Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified.", +"format": "int32", +"type": "integer" +}, +"imageMaximumGcAge": { +"description": "Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration greater than image_minimum_gc_age or \"0s\". The default value is \"0s\" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.", +"type": "string" +}, +"imageMinimumGcAge": { +"description": "Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration less than or equal to 2 minutes. The default value is \"2m0s\" if unspecified.", +"type": "string" +}, +"insecureKubeletReadonlyPortEnabled": { +"description": "Enable or disable Kubelet read only port.", +"type": "boolean" +}, +"maxParallelImagePulls": { +"description": "Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details.", +"format": "int32", +"type": "integer" +}, +"memoryManager": { +"$ref": "MemoryManager", +"description": "Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/" +}, +"podPidsLimit": { +"description": "Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.", +"format": "int64", +"type": "string" +}, +"shutdownGracePeriodCriticalPodsSeconds": { +"description": "Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].", +"format": "int32", +"type": "integer" +}, +"shutdownGracePeriodSeconds": { +"description": "Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.", +"format": "int32", +"type": "integer" +}, +"singleProcessOomKill": { +"description": "Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.", +"type": "boolean" +}, +"topologyManager": { +"$ref": "TopologyManager", +"description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/" +} +}, +"type": "object" +}, +"NodeLabels": { +"description": "Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).", +"id": "NodeLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of node label keys and node label values.", +"type": "object" +} +}, +"type": "object" +}, +"NodeManagement": { +"description": "NodeManagement defines the set of node management services turned on for the node pool.", +"id": "NodeManagement", +"properties": { +"autoRepair": { +"description": "A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.", +"type": "boolean" +}, +"autoUpgrade": { +"description": "A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.", +"type": "boolean" +}, +"upgradeOptions": { +"$ref": "AutoUpgradeOptions", +"description": "Specifies the Auto Upgrade knobs for the node pool." +} +}, +"type": "object" +}, +"NodeNetworkConfig": { +"description": "Parameters for node pool-level network config.", +"id": "NodeNetworkConfig", +"properties": { +"additionalNodeNetworkConfigs": { +"description": "We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface", +"items": { +"$ref": "AdditionalNodeNetworkConfig" +}, +"type": "array" +}, +"additionalPodNetworkConfigs": { +"description": "We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node", +"items": { +"$ref": "AdditionalPodNetworkConfig" +}, +"type": "array" +}, +"createPodRange": { +"description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "boolean" +}, +"enablePrivateNodes": { +"description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes", +"type": "boolean" +}, +"networkPerformanceConfig": { +"$ref": "NetworkPerformanceConfig", +"description": "Network bandwidth tier configuration." +}, +"networkTierConfig": { +"$ref": "NetworkTierConfig", +"description": "Output only. The network tier configuration for the node pool inherits from the cluster-level configuration and remains immutable throughout the node pool's lifecycle, including during upgrades.", +"readOnly": true +}, +"podCidrOverprovisionConfig": { +"$ref": "PodCIDROverprovisionConfig", +"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." +}, +"podIpv4CidrBlock": { +"description": "The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "string" +}, +"podIpv4RangeUtilization": { +"description": "Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"podRange": { +"description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", +"type": "string" +}, +"subnetwork": { +"description": "Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable.", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.", +"id": "NodePool", +"properties": { +"autopilotConfig": { +"$ref": "AutopilotConfig", +"description": "Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler." +}, +"autoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present." +}, +"bestEffortProvisioning": { +"$ref": "BestEffortProvisioning", +"description": "Enable best effort provisioning for nodes" +}, +"conditions": { +"description": "Which conditions caused the current node pool state.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"config": { +"$ref": "NodeConfig", +"description": "The node configuration of the pool." +}, +"etag": { +"description": "This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"initialNodeCount": { +"description": "The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.", +"format": "int32", +"type": "integer" +}, +"instanceGroupUrls": { +"description": "Output only. The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"locations": { +"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.", +"items": { +"type": "string" +}, +"type": "array" +}, +"management": { +"$ref": "NodeManagement", +"description": "NodeManagement configuration for this NodePool." +}, +"maxPodsConstraint": { +"$ref": "MaxPodsConstraint", +"description": "The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool." +}, +"name": { +"description": "The name of the node pool.", +"type": "string" +}, +"networkConfig": { +"$ref": "NodeNetworkConfig", +"description": "Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults." +}, +"nodeDrainConfig": { +"$ref": "NodeDrainConfig", +"description": "Specifies the node drain configuration for this node pool." +}, +"placementPolicy": { +"$ref": "PlacementPolicy", +"description": "Specifies the node placement policy." +}, +"podIpv4CidrSize": { +"description": "Output only. The pod CIDR block size per node in this node pool.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"queuedProvisioning": { +"$ref": "QueuedProvisioning", +"description": "Specifies the configuration of queued provisioning." +}, +"selfLink": { +"description": "Output only. Server-defined URL for the resource.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The status of the nodes in this pool instance.", +"enum": [ +"STATUS_UNSPECIFIED", +"PROVISIONING", +"RUNNING", +"RUNNING_WITH_ERROR", +"RECONCILING", +"STOPPING", +"ERROR" +], +"enumDescriptions": [ +"Not set.", +"The PROVISIONING state indicates the node pool is being created.", +"The RUNNING state indicates the node pool has been created and is fully usable.", +"The RUNNING_WITH_ERROR state indicates the node pool has been created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update.", +"The RECONCILING state indicates that some work is actively being done on the node pool, such as upgrading node software. Details can be found in the `statusMessage` field.", +"The STOPPING state indicates the node pool is being deleted.", +"The ERROR state indicates the node pool may be unusable. Details can be found in the `statusMessage` field." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.", +"readOnly": true, +"type": "string" +}, +"updateInfo": { +"$ref": "UpdateInfo", +"description": "Output only. Update info contains relevant information during a node pool update.", +"readOnly": true +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Upgrade settings control disruption and speed of the upgrade." +}, +"version": { +"description": "The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).", +"type": "string" +} +}, +"type": "object" +}, +"NodePoolAutoConfig": { +"description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.", +"id": "NodePoolAutoConfig", +"properties": { +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Output only. Configuration options for Linux nodes.", +"readOnly": true +}, +"networkTags": { +"$ref": "NetworkTags", +"description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." +}, +"nodeKubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies." +} +}, +"type": "object" +}, +"NodePoolAutoscaling": { +"description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.", +"id": "NodePoolAutoscaling", +"properties": { +"autoprovisioned": { +"description": "Can this node pool be deleted automatically.", +"type": "boolean" +}, +"enabled": { +"description": "Is autoscaling enabled for this node pool.", +"type": "boolean" +}, +"locationPolicy": { +"description": "Location policy used when scaling up a nodepool.", +"enum": [ +"LOCATION_POLICY_UNSPECIFIED", +"BALANCED", +"ANY" +], +"enumDescriptions": [ +"Not set.", +"BALANCED is a best effort policy that aims to balance the sizes of different zones.", +"ANY policy picks zones that have the highest capacity available." +], +"type": "string" +}, +"maxNodeCount": { +"description": "Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.", +"format": "int32", +"type": "integer" +}, +"totalMaxNodeCount": { +"description": "Maximum number of nodes in the node pool. Must be greater than or equal to total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", +"format": "int32", +"type": "integer" +}, +"totalMinNodeCount": { +"description": "Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NodePoolDefaults": { +"description": "Subset of Nodepool message that has defaults.", +"id": "NodePoolDefaults", +"properties": { +"nodeConfigDefaults": { +"$ref": "NodeConfigDefaults", +"description": "Subset of NodeConfig message that has defaults." +} +}, +"type": "object" +}, +"NodePoolLoggingConfig": { +"description": "NodePoolLoggingConfig specifies logging configuration for nodepools.", +"id": "NodePoolLoggingConfig", +"properties": { +"variantConfig": { +"$ref": "LoggingVariantConfig", +"description": "Logging variant configuration." +} +}, +"type": "object" +}, +"NodePoolUpgradeInfo": { +"description": "NodePoolUpgradeInfo contains the upgrade information of a nodepool.", +"id": "NodePoolUpgradeInfo", +"properties": { +"autoUpgradeStatus": { +"description": "The auto upgrade status.", +"items": { +"enum": [ +"UNKNOWN", +"ACTIVE", +"MINOR_UPGRADE_PAUSED", +"UPGRADE_PAUSED" +], +"enumDescriptions": [ +"UNKNOWN indicates an unknown status.", +"ACTIVE indicates an active status.", +"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.", +"UPGRADE_PAUSED indicates the upgrade is paused." +], +"type": "string" +}, +"type": "array" +}, +"endOfExtendedSupportTimestamp": { +"description": "The nodepool's current minor version's end of extended support timestamp.", +"type": "string" +}, +"endOfStandardSupportTimestamp": { +"description": "The nodepool's current minor version's end of standard support timestamp.", +"type": "string" +}, +"minorTargetVersion": { +"description": "minor_target_version indicates the target version for minor upgrade.", +"type": "string" +}, +"patchTargetVersion": { +"description": "patch_target_version indicates the target version for patch upgrade.", +"type": "string" +}, +"pausedReason": { +"description": "The auto upgrade paused reason.", +"items": { +"enum": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED", +"MAINTENANCE_WINDOW", +"MAINTENANCE_EXCLUSION_NO_UPGRADES", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES", +"SYSTEM_CONFIG" +], +"enumDescriptions": [ +"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.", +"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.", +"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.", +"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.", +"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config." +], +"type": "string" +}, +"type": "array" +}, +"upgradeDetails": { +"description": "The list of past auto upgrades.", +"items": { +"$ref": "UpgradeDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeTaint": { +"description": "Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.", +"id": "NodeTaint", +"properties": { +"effect": { +"description": "Effect for taint.", +"enum": [ +"EFFECT_UNSPECIFIED", +"NO_SCHEDULE", +"PREFER_NO_SCHEDULE", +"NO_EXECUTE" +], +"enumDescriptions": [ +"Not set", +"NoSchedule", +"PreferNoSchedule", +"NoExecute" +], +"type": "string" +}, +"key": { +"description": "Key for taint.", +"type": "string" +}, +"value": { +"description": "Value for taint.", +"type": "string" +} +}, +"type": "object" +}, +"NodeTaints": { +"description": "Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).", +"id": "NodeTaints", +"properties": { +"taints": { +"description": "List of node taints.", +"items": { +"$ref": "NodeTaint" +}, +"type": "array" +} +}, +"type": "object" +}, +"NotificationConfig": { +"description": "NotificationConfig is the configuration of notifications.", +"id": "NotificationConfig", +"properties": { +"pubsub": { +"$ref": "PubSub", +"description": "Notification config for Pub/Sub." +} +}, +"type": "object" +}, +"Operation": { +"description": "This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.", +"id": "Operation", +"properties": { +"clusterConditions": { +"deprecated": true, +"description": "Which conditions caused the current cluster state. Deprecated. Use field error instead.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"detail": { +"description": "Output only. Detailed operation progress, if available.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure." +}, +"location": { +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The server-assigned ID for the operation.", +"readOnly": true, +"type": "string" +}, +"nodepoolConditions": { +"deprecated": true, +"description": "Which conditions caused the current node pool state. Deprecated. Use field error instead.", +"items": { +"$ref": "StatusCondition" +}, +"type": "array" +}, +"operationType": { +"description": "Output only. The operation type.", +"enum": [ +"TYPE_UNSPECIFIED", +"CREATE_CLUSTER", +"DELETE_CLUSTER", +"UPGRADE_MASTER", +"UPGRADE_NODES", +"REPAIR_CLUSTER", +"UPDATE_CLUSTER", +"CREATE_NODE_POOL", +"DELETE_NODE_POOL", +"SET_NODE_POOL_MANAGEMENT", +"AUTO_REPAIR_NODES", +"AUTO_UPGRADE_NODES", +"SET_LABELS", +"SET_MASTER_AUTH", +"SET_NODE_POOL_SIZE", +"SET_NETWORK_POLICY", +"SET_MAINTENANCE_POLICY", +"RESIZE_CLUSTER", +"FLEET_FEATURE_UPGRADE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +true, +true, +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Not set.", +"The cluster is being created. The cluster should be assumed to be unusable until the operation finishes. In the event of the operation failing, the cluster will enter the ERROR state and eventually be deleted.", +"The cluster is being deleted. The cluster should be assumed to be unusable as soon as this operation starts. In the event of the operation failing, the cluster will enter the ERROR state and the deletion will be automatically retried until completed.", +"The cluster version is being updated. Note that this includes \"upgrades\" to the same version, which are simply a recreation. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). For more details, see [documentation on cluster upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).", +"A node pool is being updated. Despite calling this an \"upgrade\", this includes most forms of updates to node pools. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). This operation sets the progress field and may be canceled. The upgrade strategy depends on [node pool configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). The nodes are generally still usable during this operation.", +"A problem has been detected with the control plane and is being repaired. This operation type is initiated by GKE. For more details, see [documentation on repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", +"The cluster is being updated. This is a broad category of operations and includes operations that only change metadata as well as those that must recreate the entire cluster. If the control plane must be recreated, this will cause temporary downtime for zonal clusters. Some features require recreating the nodes as well. Those will be recreated as separate operations and the update may not be completely functional until the node pools recreations finish. Node recreations will generally follow [maintenance policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). Some GKE-initiated operations use this type. This includes certain types of auto-upgrades and incident mitigations.", +"A node pool is being created. The node pool should be assumed to be unusable until this operation finishes. In the event of an error, the node pool may be partially created. If enabled, [node autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) may have automatically initiated such operations.", +"The node pool is being deleted. The node pool should be assumed to be unusable as soon as this operation starts.", +"The node pool's manamagent field is being updated. These operations only update metadata and may be concurrent with most other operations.", +"A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). This operation type is initiated by GKE, typically automatically. This operation may be concurrent with other operations and there may be multiple repairs occurring on the same node pool.", +"Unused. Automatic node upgrade uses UPGRADE_NODES.", +"Unused. Updating labels uses UPDATE_CLUSTER.", +"Unused. Updating master auth uses UPDATE_CLUSTER.", +"The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.", +"Unused. Updating network policy uses UPDATE_CLUSTER.", +"Unused. Updating maintenance policy uses UPDATE_CLUSTER.", +"The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", +"Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes." +], +"readOnly": true, +"type": "string" +}, +"progress": { +"$ref": "OperationProgress", +"description": "Output only. Progress information for an operation.", +"readOnly": true +}, +"selfLink": { +"description": "Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", +"readOnly": true, +"type": "string" +}, +"status": { +"description": "Output only. The current status of the operation.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE", +"ABORTING" +], +"enumDescriptions": [ +"Not set.", +"The operation has been created.", +"The operation is currently running.", +"The operation is done, either cancelled or completed.", +"The operation is aborting." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"deprecated": true, +"description": "Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.", +"readOnly": true, +"type": "string" +}, +"targetLink": { +"description": "Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`", +"readOnly": true, +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperationError": { +"description": "OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.", +"id": "OperationError", +"properties": { +"errorMessage": { +"description": "Description of the error seen during the operation.", +"type": "string" +}, +"keyName": { +"description": "CloudKMS key resource that had the error.", +"type": "string" +}, +"timestamp": { +"description": "Time when the CloudKMS error was seen.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"OperationProgress": { +"description": "Information about operation (or operation stage) progress.", +"id": "OperationProgress", +"properties": { +"metrics": { +"description": "Progress metric bundle, for example: metrics: [{name: \"nodes done\", int_value: 15}, {name: \"nodes total\", int_value: 32}] or metrics: [{name: \"progress\", double_value: 0.56}, {name: \"progress scale\", double_value: 1.0}]", +"items": { +"$ref": "Metric" +}, +"type": "array" +}, +"name": { +"description": "A non-parameterized string describing an operation stage. Unset for single-stage operations.", +"type": "string" +}, +"stages": { +"description": "Substages of an operation or a stage.", +"items": { +"$ref": "OperationProgress" +}, +"type": "array" +}, +"status": { +"description": "Status of an operation stage. Unset for single-stage operations.", +"enum": [ +"STATUS_UNSPECIFIED", +"PENDING", +"RUNNING", +"DONE", +"ABORTING" +], +"enumDescriptions": [ +"Not set.", +"The operation has been created.", +"The operation is currently running.", +"The operation is done, either cancelled or completed.", +"The operation is aborting." +], +"type": "string" +} +}, +"type": "object" +}, +"ParallelstoreCsiDriverConfig": { +"description": "Configuration for the Cloud Storage Parallelstore CSI driver.", +"id": "ParallelstoreCsiDriverConfig", +"properties": { +"enabled": { +"description": "Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ParentProductConfig": { +"description": "ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster.", +"id": "ParentProductConfig", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels contain the configuration of the parent product.", +"type": "object" +}, +"productName": { +"description": "Name of the parent product associated with the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"PdbBlockedPod": { +"description": "The namespace/name of the pod whose eviction is blocked by PDB.", +"id": "PdbBlockedPod", +"properties": { +"name": { +"description": "The name of the pod.", +"type": "string" +}, +"namespace": { +"description": "The namespace of the pod.", +"type": "string" +} +}, +"type": "object" +}, +"PlacementPolicy": { +"description": "PlacementPolicy defines the placement policy used by the node pool.", +"id": "PlacementPolicy", +"properties": { +"policyName": { +"description": "If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.", +"type": "string" +}, +"tpuTopology": { +"description": "Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies", +"type": "string" +}, +"type": { +"description": "The type of placement.", +"enum": [ +"TYPE_UNSPECIFIED", +"COMPACT" +], +"enumDescriptions": [ +"TYPE_UNSPECIFIED specifies no requirements on nodes placement.", +"COMPACT specifies node placement in the same availability domain to ensure low communication latency." +], +"type": "string" +} +}, +"type": "object" +}, +"PodAutoscaling": { +"description": "PodAutoscaling is used for configuration of parameters for workload autoscaling.", +"id": "PodAutoscaling", +"properties": { +"hpaProfile": { +"description": "Selected Horizontal Pod Autoscaling profile.", +"enum": [ +"HPA_PROFILE_UNSPECIFIED", +"NONE", +"PERFORMANCE" +], +"enumDescriptions": [ +"HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.", +"Customers explicitly opt-out of HPA profiles.", +"PERFORMANCE is used when customers opt-in to the performance HPA profile. In this profile we support a higher number of HPAs per cluster and faster metrics collection for workload autoscaling." +], +"type": "string" +} +}, +"type": "object" +}, +"PodCIDROverprovisionConfig": { +"description": "[PRIVATE FIELD] Config for pod CIDR size overprovisioning.", +"id": "PodCIDROverprovisionConfig", +"properties": { +"disable": { +"description": "Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateClusterConfig": { +"description": "Configuration options for private clusters.", +"id": "PrivateClusterConfig", +"properties": { +"enablePrivateEndpoint": { +"deprecated": true, +"description": "Whether the master's internal IP address is used as the cluster endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.", +"type": "boolean" +}, +"enablePrivateNodes": { +"deprecated": true, +"description": "Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Deprecated: Use NetworkConfig.default_enable_private_nodes instead.", +"type": "boolean" +}, +"masterGlobalAccessConfig": { +"$ref": "PrivateClusterMasterGlobalAccessConfig", +"deprecated": true, +"description": "Controls master global access settings. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access instead." +}, +"masterIpv4CidrBlock": { +"description": "The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.", +"type": "string" +}, +"peeringName": { +"description": "Output only. The peering name in the customer VPC used by this cluster.", +"readOnly": true, +"type": "string" +}, +"privateEndpoint": { +"deprecated": true, +"description": "Output only. The internal IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.", +"readOnly": true, +"type": "string" +}, +"privateEndpointSubnetwork": { +"deprecated": true, +"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.", +"type": "string" +}, +"publicEndpoint": { +"deprecated": true, +"description": "Output only. The external IP address of this cluster's master endpoint. Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PrivateClusterMasterGlobalAccessConfig": { +"description": "Configuration for controlling master global access settings.", +"id": "PrivateClusterMasterGlobalAccessConfig", +"properties": { +"enabled": { +"description": "Whenever master is accessible globally or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivateRegistryAccessConfig": { +"description": "PrivateRegistryAccessConfig contains access configuration for private container registries.", +"id": "PrivateRegistryAccessConfig", +"properties": { +"certificateAuthorityDomainConfig": { +"description": "Private registry access configuration.", +"items": { +"$ref": "CertificateAuthorityDomainConfig" +}, +"type": "array" +}, +"enabled": { +"description": "Private registry access is enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"PrivilegedAdmissionConfig": { +"description": "PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.", +"id": "PrivilegedAdmissionConfig", +"properties": { +"allowlistPaths": { +"description": "The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PubSub": { +"description": "Pub/Sub specific notification config.", +"id": "PubSub", +"properties": { +"enabled": { +"description": "Enable notifications for Pub/Sub.", +"type": "boolean" +}, +"filter": { +"$ref": "Filter", +"description": "Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent" +}, +"topic": { +"description": "The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.", +"type": "string" +} +}, +"type": "object" +}, +"QueuedProvisioning": { +"description": "QueuedProvisioning defines the queued provisioning used by the node pool.", +"id": "QueuedProvisioning", +"properties": { +"enabled": { +"description": "Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.", +"type": "boolean" +} +}, +"type": "object" +}, +"RBACBindingConfig": { +"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.", +"id": "RBACBindingConfig", +"properties": { +"enableInsecureBindingSystemAuthenticated": { +"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.", +"type": "boolean" +}, +"enableInsecureBindingSystemUnauthenticated": { +"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.", +"type": "boolean" +} +}, +"type": "object" +}, +"RangeInfo": { +"description": "RangeInfo contains the range name and the range utilization by this cluster.", +"id": "RangeInfo", +"properties": { +"rangeName": { +"description": "Output only. Name of a range.", +"readOnly": true, +"type": "string" +}, +"utilization": { +"description": "Output only. The utilization of the range.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"RayClusterLoggingConfig": { +"description": "RayClusterLoggingConfig specifies configuration of Ray logging.", +"id": "RayClusterLoggingConfig", +"properties": { +"enabled": { +"description": "Enable log collection for Ray clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"RayClusterMonitoringConfig": { +"description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.", +"id": "RayClusterMonitoringConfig", +"properties": { +"enabled": { +"description": "Enable metrics collection for Ray clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"RayOperatorConfig": { +"description": "Configuration options for the Ray Operator add-on.", +"id": "RayOperatorConfig", +"properties": { +"enabled": { +"description": "Whether the Ray Operator addon is enabled for this cluster.", +"type": "boolean" +}, +"rayClusterLoggingConfig": { +"$ref": "RayClusterLoggingConfig", +"description": "Optional. Logging configuration for Ray clusters." +}, +"rayClusterMonitoringConfig": { +"$ref": "RayClusterMonitoringConfig", +"description": "Optional. Monitoring configuration for Ray clusters." +} +}, +"type": "object" +}, +"RecurringTimeWindow": { +"description": "Represents an arbitrary window of time that recurs.", +"id": "RecurringTimeWindow", +"properties": { +"recurrence": { +"description": "An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.", +"type": "string" +}, +"window": { +"$ref": "TimeWindow", +"description": "The window of the first recurrence." +} +}, +"type": "object" +}, +"RegistryHeader": { +"description": "RegistryHeader configures headers for the registry.", +"id": "RegistryHeader", +"properties": { +"key": { +"description": "Key configures the header key.", +"type": "string" +}, +"value": { +"description": "Value configures the header value.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegistryHostConfig": { +"description": "RegistryHostConfig configures the top-level structure for a single containerd registry server's configuration, which represents one hosts.toml file on the node. It will override the same fqdns in PrivateRegistryAccessConfig.", +"id": "RegistryHostConfig", +"properties": { +"hosts": { +"description": "HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.", +"items": { +"$ref": "HostConfig" +}, +"type": "array" +}, +"server": { +"description": "Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000", +"type": "string" +} +}, +"type": "object" +}, +"ReleaseChannel": { +"description": "ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.", +"id": "ReleaseChannel", +"properties": { +"channel": { +"description": "channel specifies which release channel the cluster is subscribed to.", +"enum": [ +"UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE", +"EXTENDED" +], +"enumDescriptions": [ +"No channel specified.", +"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.", +"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.", +"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.", +"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production." +], +"type": "string" +} +}, +"type": "object" +}, +"ReleaseChannelConfig": { +"description": "ReleaseChannelConfig exposes configuration for a release channel.", +"id": "ReleaseChannelConfig", +"properties": { +"channel": { +"description": "The release channel this configuration applies to.", +"enum": [ +"UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE", +"EXTENDED" +], +"enumDescriptions": [ +"No channel specified.", +"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.", +"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.", +"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.", +"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production." +], +"type": "string" +}, +"defaultVersion": { +"description": "The default version for newly created clusters on the channel.", +"type": "string" +}, +"upgradeTargetVersion": { +"description": "The auto upgrade target version for clusters on the channel.", +"type": "string" +}, +"validVersions": { +"description": "List of valid versions for the channel.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Corresponds to the type of reservation consumption.", +"enum": [ +"UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Do not consume from any reserved capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"compute.googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.", +"type": "string" +}, +"values": { +"description": "Corresponds to the label value(s) of reservation resource(s).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourceLabels": { +"description": "Collection of [Resource Manager labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).", +"id": "ResourceLabels", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of node label keys and node label values.", +"type": "object" +} +}, +"type": "object" +}, +"ResourceLimit": { +"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.", +"id": "ResourceLimit", +"properties": { +"maximum": { +"description": "Maximum amount of the resource in the cluster.", +"format": "int64", +"type": "string" +}, +"minimum": { +"description": "Minimum amount of the resource in the cluster.", +"format": "int64", +"type": "string" +}, +"resourceType": { +"description": "Resource name \"cpu\", \"memory\" or gpu-specific string.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceManagerTags": { +"description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.", +"id": "ResourceManagerTags", +"properties": { +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`", +"type": "object" +} +}, +"type": "object" +}, +"ResourceUsageExportConfig": { +"description": "Configuration for exporting cluster resource usages.", +"id": "ResourceUsageExportConfig", +"properties": { +"bigqueryDestination": { +"$ref": "BigQueryDestination", +"description": "Configuration to use BigQuery as usage export destination." +}, +"consumptionMeteringConfig": { +"$ref": "ConsumptionMeteringConfig", +"description": "Configuration to enable resource consumption metering." +}, +"enableNetworkEgressMetering": { +"description": "Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.", +"type": "boolean" +} +}, +"type": "object" +}, +"RollbackNodePoolUpgradeRequest": { +"description": "RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.", +"id": "RollbackNodePoolUpgradeRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"respectPdb": { +"description": "Option for rollback to ignore the PodDisruptionBudget. Default value is false.", +"type": "boolean" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"RotationConfig": { +"description": "RotationConfig is config for secret manager auto rotation.", +"id": "RotationConfig", +"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" +}, +"SandboxConfig": { +"description": "SandboxConfig contains configurations of the sandbox to use for the node.", +"id": "SandboxConfig", +"properties": { +"type": { +"description": "Type of the sandbox to use for the node.", +"enum": [ +"UNSPECIFIED", +"GVISOR" +], +"enumDescriptions": [ +"Default value. This should not be used.", +"Run sandbox using gvisor." +], +"type": "string" +} +}, +"type": "object" +}, +"SecondaryBootDisk": { +"description": "SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.", +"id": "SecondaryBootDisk", +"properties": { +"diskImage": { +"description": "Fully-qualified resource ID for an existing disk image.", +"type": "string" +}, +"mode": { +"description": "Disk mode (container image cache, etc.)", +"enum": [ +"MODE_UNSPECIFIED", +"CONTAINER_IMAGE_CACHE" +], +"enumDescriptions": [ +"MODE_UNSPECIFIED is when mode is not set.", +"CONTAINER_IMAGE_CACHE is for using the secondary boot disk as a container image cache." +], +"type": "string" +} +}, +"type": "object" +}, +"SecondaryBootDiskUpdateStrategy": { +"description": "SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the future to define different options for updating secondary boot disks.", +"id": "SecondaryBootDiskUpdateStrategy", +"properties": {}, +"type": "object" +}, +"SecretManagerConfig": { +"description": "SecretManagerConfig is config for secret manager enablement.", +"id": "SecretManagerConfig", +"properties": { +"enabled": { +"description": "Enable/Disable Secret Manager Config.", +"type": "boolean" +}, +"rotationConfig": { +"$ref": "RotationConfig", +"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", +"properties": { +"affectedSupportedMinors": { +"description": "The GKE minor versions affected by this vulnerability.", +"items": { +"type": "string" +}, +"type": "array" +}, +"briefDescription": { +"description": "A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.", +"type": "string" +}, +"bulletinId": { +"description": "The ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"bulletinUri": { +"description": "The URI link to the bulletin on the website for more information.", +"type": "string" +}, +"cveIds": { +"description": "The CVEs associated with this bulletin.", +"items": { +"type": "string" +}, +"type": "array" +}, +"manualStepsRequired": { +"description": "If this field is specified, it means there are manual steps that the user must take to make their clusters safe.", +"type": "boolean" +}, +"mitigatedVersions": { +"description": "The GKE versions where this vulnerability is mitigated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"patchedVersions": { +"description": "The GKE versions where this vulnerability is patched.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceTypeAffected": { +"description": "The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects > 1 resource type.", +"type": "string" +}, +"severity": { +"description": "The severity of this bulletin as it relates to GKE.", +"type": "string" +}, +"suggestedUpgradeTarget": { +"description": "This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPostureConfig": { +"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", +"id": "SecurityPostureConfig", +"properties": { +"mode": { +"description": "Sets which mode to use for Security Posture features.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Security Posture features on the cluster.", +"Applies Security Posture features on the cluster.", +"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features." +], +"type": "string" +}, +"vulnerabilityMode": { +"description": "Sets which mode to use for vulnerability scanning.", +"enum": [ +"VULNERABILITY_MODE_UNSPECIFIED", +"VULNERABILITY_DISABLED", +"VULNERABILITY_BASIC", +"VULNERABILITY_ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value not specified.", +"Disables vulnerability scanning on the cluster.", +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", +"Applies the Security Posture's vulnerability on cluster Enterprise level features." +], +"type": "string" +} +}, +"type": "object" +}, +"ServerConfig": { +"description": "Kubernetes Engine service configuration.", +"id": "ServerConfig", +"properties": { +"channels": { +"description": "List of release channel configurations.", +"items": { +"$ref": "ReleaseChannelConfig" +}, +"type": "array" +}, +"defaultClusterVersion": { +"description": "Version of Kubernetes the service deploys by default.", +"type": "string" +}, +"defaultImageType": { +"description": "Default image type.", +"type": "string" +}, +"validImageTypes": { +"description": "List of valid image types.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validMasterVersions": { +"description": "List of valid master versions, in descending order.", +"items": { +"type": "string" +}, +"type": "array" +}, +"validNodeVersions": { +"description": "List of valid node upgrade target versions, in descending order.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceExternalIPsConfig": { +"description": "Config to block services with externalIPs field.", +"id": "ServiceExternalIPsConfig", +"properties": { +"enabled": { +"description": "Whether Services with ExternalIPs field are allowed or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"SetAddonsConfigRequest": { +"description": "SetAddonsConfigRequest sets the addons associated with the cluster.", +"id": "SetAddonsConfigRequest", +"properties": { +"addonsConfig": { +"$ref": "AddonsConfig", +"description": "Required. The desired configurations for the various addons available to run in the cluster." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLabelsRequest": { +"description": "SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster", +"id": "SetLabelsRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"labelFingerprint": { +"description": "Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a `get()` request to the resource to get the latest fingerprint.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"resourceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The labels to set for that cluster.", +"type": "object" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLegacyAbacRequest": { +"description": "SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.", +"id": "SetLegacyAbacRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"enabled": { +"description": "Required. Whether ABAC authorization will be enabled in the cluster.", +"type": "boolean" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLocationsRequest": { +"description": "SetLocationsRequest sets the locations of the cluster.", +"id": "SetLocationsRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"locations": { +"description": "Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetLoggingServiceRequest": { +"description": "SetLoggingServiceRequest sets the logging service of a cluster.", +"id": "SetLoggingServiceRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"loggingService": { +"description": "Required. The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetMaintenancePolicyRequest": { +"description": "SetMaintenancePolicyRequest sets the maintenance policy for a cluster.", +"id": "SetMaintenancePolicyRequest", +"properties": { +"clusterId": { +"description": "Required. The name of the cluster to update.", +"type": "string" +}, +"maintenancePolicy": { +"$ref": "MaintenancePolicy", +"description": "Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy." +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).", +"type": "string" +}, +"zone": { +"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.", +"type": "string" +} +}, +"type": "object" +}, +"SetMasterAuthRequest": { +"description": "SetMasterAuthRequest updates the admin password of a cluster.", +"id": "SetMasterAuthRequest", +"properties": { +"action": { +"description": "Required. The exact form of action to be taken on the master auth.", +"enum": [ +"UNKNOWN", +"SET_PASSWORD", +"GENERATE_PASSWORD", +"SET_USERNAME" +], +"enumDescriptions": [ +"Operation is unknown and will error out.", +"Set the password to a user generated value.", +"Generate a new password and set it to that.", +"Set the username. If an empty username is provided, basic authentication is disabled for the cluster. If a non-empty username is provided, basic authentication is enabled, with either a provided password or a generated one." +], +"type": "string" +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"update": { +"$ref": "MasterAuth", +"description": "Required. A description of the update." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetMonitoringServiceRequest": { +"description": "SetMonitoringServiceRequest sets the monitoring service of a cluster.", +"id": "SetMonitoringServiceRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"monitoringService": { +"description": "Required. The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNetworkPolicyRequest": { +"description": "SetNetworkPolicyRequest enables/disables network policy for a cluster.", +"id": "SetNetworkPolicyRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"networkPolicy": { +"$ref": "NetworkPolicy", +"description": "Required. Configuration options for the NetworkPolicy feature." +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolAutoscalingRequest": { +"description": "SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.", +"id": "SetNodePoolAutoscalingRequest", +"properties": { +"autoscaling": { +"$ref": "NodePoolAutoscaling", +"description": "Required. Autoscaling configuration for the node pool." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolManagementRequest": { +"description": "SetNodePoolManagementRequest sets the node management properties of a node pool.", +"id": "SetNodePoolManagementRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"management": { +"$ref": "NodeManagement", +"description": "Required. NodeManagement configuration for the node pool." +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"SetNodePoolSizeRequest": { +"description": "SetNodePoolSizeRequest sets the size of a node pool.", +"id": "SetNodePoolSizeRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodeCount": { +"description": "Required. The desired node count for the pool.", +"format": "int32", +"type": "integer" +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "A set of Shielded Instance options.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShieldedNodes": { +"description": "Configuration of Shielded Nodes feature.", +"id": "ShieldedNodes", +"properties": { +"enabled": { +"description": "Whether Shielded Nodes features are enabled on all nodes in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"SliceControllerConfig": { +"description": "Configuration for the Slice Controller.", +"id": "SliceControllerConfig", +"properties": { +"enabled": { +"description": "Optional. Indicates whether Slice Controller is enabled in the cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"SoleTenantConfig": { +"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.", +"id": "SoleTenantConfig", +"properties": { +"minNodeCpus": { +"description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.", +"format": "int32", +"type": "integer" +}, +"nodeAffinities": { +"description": "NodeAffinities used to match to a shared sole tenant node group.", +"items": { +"$ref": "NodeAffinity" +}, +"type": "array" +} +}, +"type": "object" +}, +"StandardRolloutPolicy": { +"description": "Standard rollout policy is the default policy for blue-green.", +"id": "StandardRolloutPolicy", +"properties": { +"batchNodeCount": { +"description": "Number of blue nodes to drain in a batch.", +"format": "int32", +"type": "integer" +}, +"batchPercentage": { +"description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].", +"format": "float", +"type": "number" +}, +"batchSoakDuration": { +"description": "Soak time after each batch gets drained. Default to zero.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"StartIPRotationRequest": { +"description": "StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.", +"id": "StartIPRotationRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"rotateCredentials": { +"description": "Whether to rotate credentials during IP rotation.", +"type": "boolean" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"StatefulHAConfig": { +"description": "Configuration for the Stateful HA add-on.", +"id": "StatefulHAConfig", +"properties": { +"enabled": { +"description": "Whether the Stateful HA add-on is enabled for this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusCondition": { +"description": "StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).", +"id": "StatusCondition", +"properties": { +"canonicalCode": { +"description": "Canonical code of the condition.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"code": { +"deprecated": true, +"description": "Machine-friendly representation of the condition Deprecated. Use canonical_code instead.", +"enum": [ +"UNKNOWN", +"GCE_STOCKOUT", +"GKE_SERVICE_ACCOUNT_DELETED", +"GCE_QUOTA_EXCEEDED", +"SET_BY_OPERATOR", +"CLOUD_KMS_KEY_ERROR", +"CA_EXPIRING", +"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS", +"CLOUD_KMS_KEY_DESTROYED" +], +"enumDescriptions": [ +"UNKNOWN indicates a generic condition.", +"GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.", +"GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.", +"Google Compute Engine quota was exceeded.", +"Cluster state was manually changed by an SRE due to a system logic error.", +"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.", +"Cluster CA is expiring soon.", +"Node service account is missing permissions.", +"Cloud KMS key version used for etcd level encryption has been destroyed. This is a permanent error." +], +"type": "string" +}, +"message": { +"description": "Human-friendly representation of the condition", +"type": "string" +} +}, +"type": "object" +}, +"SwapConfig": { +"description": "Configuration for swap memory on a node pool.", +"id": "SwapConfig", +"properties": { +"bootDiskProfile": { +"$ref": "BootDiskProfile", +"description": "Swap on the node's boot disk." +}, +"dedicatedLocalSsdProfile": { +"$ref": "DedicatedLocalSsdProfile", +"description": "Provisions a new, separate local NVMe SSD exclusively for swap." +}, +"enabled": { +"description": "Optional. Enables or disables swap for the node pool.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. If omitted, swap space is encrypted by default." +}, +"ephemeralLocalSsdProfile": { +"$ref": "EphemeralLocalSsdProfile", +"description": "Swap on the local SSD shared with pod ephemeral storage." +} +}, +"type": "object" +}, +"TimeWindow": { +"description": "Represents an arbitrary window of time.", +"id": "TimeWindow", +"properties": { +"endTime": { +"description": "The time that the window ends. The end time should take place after the start time.", +"format": "google-datetime", +"type": "string" +}, +"maintenanceExclusionOptions": { +"$ref": "MaintenanceExclusionOptions", +"description": "MaintenanceExclusionOptions provides maintenance exclusion related options." +}, +"startTime": { +"description": "The time that the window first starts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TopologyManager": { +"description": "TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/", +"id": "TopologyManager", +"properties": { +"policy": { +"description": "Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).", +"type": "string" +}, +"scope": { +"description": "The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes", +"type": "string" +} +}, +"type": "object" +}, +"UpdateClusterRequest": { +"description": "UpdateClusterRequest updates the settings of a cluster.", +"id": "UpdateClusterRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"update": { +"$ref": "ClusterUpdate", +"description": "Required. A description of the update." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateInfo": { +"description": "UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.", +"id": "UpdateInfo", +"properties": { +"blueGreenInfo": { +"$ref": "BlueGreenInfo", +"description": "Information of a blue-green upgrade." +} +}, +"type": "object" +}, +"UpdateMasterRequest": { +"description": "UpdateMasterRequest updates the master of the cluster.", +"id": "UpdateMasterRequest", +"properties": { +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"masterVersion": { +"description": "Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the default Kubernetes version", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpdateNodePoolRequest": { +"description": "UpdateNodePoolRequests update a node pool's image and/or version.", +"id": "UpdateNodePoolRequest", +"properties": { +"accelerators": { +"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"bootDisk": { +"$ref": "BootDisk", +"description": "The desired boot disk config for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified boot disk config." +}, +"clusterId": { +"deprecated": true, +"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"confidentialNodes": { +"$ref": "ConfidentialNodes", +"description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled." +}, +"consolidationDelay": { +"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.", +"format": "google-duration", +"type": "string" +}, +"containerdConfig": { +"$ref": "ContainerdConfig", +"description": "The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config." +}, +"diskSizeGb": { +"description": "Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.", +"type": "string" +}, +"etag": { +"description": "The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.", +"type": "string" +}, +"fastSocket": { +"$ref": "FastSocket", +"description": "Enable or disable NCCL fast socket for the node pool." +}, +"flexStart": { +"description": "Flex Start flag for enabling Flex Start VM.", +"type": "boolean" +}, +"gcfsConfig": { +"$ref": "GcfsConfig", +"description": "GCFS config." +}, +"gvnic": { +"$ref": "VirtualNIC", +"description": "Enable or disable gvnic on the node pool." +}, +"imageType": { +"description": "Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.", +"type": "string" +}, +"kubeletConfig": { +"$ref": "NodeKubeletConfig", +"description": "Node kubelet configs." +}, +"labels": { +"$ref": "NodeLabels", +"description": "The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be *replaced* with the provided labels." +}, +"linuxNodeConfig": { +"$ref": "LinuxNodeConfig", +"description": "Parameters that can be configured on Linux nodes." +}, +"locations": { +"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "NodePoolLoggingConfig", +"description": "Logging configuration." +}, +"machineType": { +"description": "Optional. The desired [Google Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.", +"type": "string" +}, +"maxRunDuration": { +"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.", +"format": "google-duration", +"type": "string" +}, +"name": { +"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.", +"type": "string" +}, +"nodeDrainConfig": { +"$ref": "NodeDrainConfig", +"description": "The desired node drain configuration for nodes in the node pool." +}, +"nodeNetworkConfig": { +"$ref": "NodeNetworkConfig", +"description": "Node network config." +}, +"nodePoolId": { +"deprecated": true, +"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"nodeVersion": { +"description": "Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version", +"type": "string" +}, +"projectId": { +"deprecated": true, +"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.", +"type": "string" +}, +"queuedProvisioning": { +"$ref": "QueuedProvisioning", +"description": "Specifies the configuration of queued provisioning." +}, +"resourceLabels": { +"$ref": "ResourceLabels", +"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources." +}, +"resourceManagerTags": { +"$ref": "ResourceManagerTags", +"description": "Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values." +}, +"storagePools": { +"description": "List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"$ref": "NetworkTags", +"description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags." +}, +"taints": { +"$ref": "NodeTaints", +"description": "The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be *replaced* with the provided taints." +}, +"upgradeSettings": { +"$ref": "UpgradeSettings", +"description": "Upgrade settings control disruption and speed of the upgrade." +}, +"windowsNodeConfig": { +"$ref": "WindowsNodeConfig", +"description": "Parameters that can be configured on Windows nodes." +}, +"workloadMetadataConfig": { +"$ref": "WorkloadMetadataConfig", +"description": "The desired workload metadata config for the node pool." +}, +"zone": { +"deprecated": true, +"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeAvailableEvent": { +"description": "UpgradeAvailableEvent is a notification sent to customers when a new available version is released.", +"id": "UpgradeAvailableEvent", +"properties": { +"releaseChannel": { +"$ref": "ReleaseChannel", +"description": "The release channel of the version. If empty, it means a non-channel release." +}, +"resource": { +"description": "Optional relative path to the resource. For example, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type of the release version.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"version": { +"description": "The release version available for upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeDetails": { +"description": "UpgradeDetails contains detailed information of each individual upgrade operation.", +"id": "UpgradeDetails", +"properties": { +"endTime": { +"description": "The end timestamp of the upgrade.", +"format": "google-datetime", +"type": "string" +}, +"initialVersion": { +"description": "The version before the upgrade.", +"type": "string" +}, +"startTime": { +"description": "The start timestamp of the upgrade.", +"format": "google-datetime", +"type": "string" +}, +"startType": { +"description": "The start type of the upgrade.", +"enum": [ +"START_TYPE_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Upgrade start type is unspecified.", +"Upgrade started automatically.", +"Upgrade started manually." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the upgrade.", +"enum": [ +"UNKNOWN", +"FAILED", +"SUCCEEDED", +"CANCELED", +"RUNNING" +], +"enumDescriptions": [ +"Upgrade state is unknown.", +"Upgrade has failed with an error.", +"Upgrade has succeeded.", +"Upgrade has been canceled.", +"Upgrade is running." +], +"readOnly": true, +"type": "string" +}, +"targetVersion": { +"description": "The version after the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeEvent": { +"description": "UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.", +"id": "UpgradeEvent", +"properties": { +"currentVersion": { +"description": "The current version before the upgrade.", +"type": "string" +}, +"operation": { +"description": "The operation associated with this upgrade.", +"type": "string" +}, +"operationStartTime": { +"description": "The time when the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"resource": { +"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type that is upgrading.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"targetVersion": { +"description": "The target version for the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInfoEvent": { +"description": "UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.", +"id": "UpgradeInfoEvent", +"properties": { +"currentVersion": { +"description": "The current version before the upgrade.", +"type": "string" +}, +"description": { +"description": "A brief description of the event.", +"type": "string" +}, +"disruptionEvent": { +"$ref": "DisruptionEvent", +"description": "The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT." +}, +"endTime": { +"description": "The time when the operation ended.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "The type of the event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"END_OF_SUPPORT", +"COS_MILESTONE_VERSION_UPDATE", +"UPGRADE_LIFECYCLE", +"DISRUPTION_EVENT" +], +"enumDescriptions": [ +"EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.", +"END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.", +"COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.", +"UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.", +"DISRUPTION_EVENT indicates the event is about the disruption." +], +"type": "string" +}, +"extendedSupportEndTime": { +"description": "The end of extended support timestamp.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation associated with this upgrade.", +"type": "string" +}, +"resource": { +"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.", +"type": "string" +}, +"resourceType": { +"description": "The resource type associated with the upgrade.", +"enum": [ +"UPGRADE_RESOURCE_TYPE_UNSPECIFIED", +"MASTER", +"NODE_POOL" +], +"enumDescriptions": [ +"Default value. This shouldn't be used.", +"Master / control plane", +"Node pool" +], +"type": "string" +}, +"standardSupportEndTime": { +"description": "The end of standard support timestamp.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time when the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The state of the upgrade.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"SUCCEEDED", +"FAILED", +"CANCELED" +], +"enumDescriptions": [ +"STATE_UNSPECIFIED indicates the state is unspecified.", +"STARTED indicates the upgrade has started.", +"SUCCEEDED indicates the upgrade has completed successfully.", +"FAILED indicates the upgrade has failed.", +"CANCELED indicates the upgrade has canceled." +], +"readOnly": true, +"type": "string" +}, +"targetVersion": { +"description": "The target version for the upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeSettings": { +"description": "These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.", +"id": "UpgradeSettings", +"properties": { +"blueGreenSettings": { +"$ref": "BlueGreenSettings", +"description": "Settings for blue-green upgrade strategy." +}, +"maxSurge": { +"description": "The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.", +"format": "int32", +"type": "integer" +}, +"maxUnavailable": { +"description": "The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.", +"format": "int32", +"type": "integer" +}, +"strategy": { +"description": "Update strategy of the node pool.", +"enum": [ +"NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", +"BLUE_GREEN", +"SURGE", +"SHORT_LIVED" +], +"enumDescriptions": [ +"Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.", +"blue-green upgrade.", +"SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.", +"SHORT_LIVED is the dedicated upgrade strategy for QueuedProvisioning and flex start nodepools scaled up only by enqueueing to the Dynamic Workload Scheduler (DWS)." +], +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetwork": { +"description": "UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.", +"id": "UsableSubnetwork", +"properties": { +"ipCidrRange": { +"description": "The range of internal addresses that are owned by this subnetwork.", +"type": "string" +}, +"network": { +"description": "Network Name. Example: projects/my-project/global/networks/my-network", +"type": "string" +}, +"secondaryIpRanges": { +"description": "Secondary IP ranges.", +"items": { +"$ref": "UsableSubnetworkSecondaryRange" +}, +"type": "array" +}, +"statusMessage": { +"description": "A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.", +"type": "string" +}, +"subnetwork": { +"description": "Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet", +"type": "string" +} +}, +"type": "object" +}, +"UsableSubnetworkSecondaryRange": { +"description": "Secondary IP range of a usable subnetwork.", +"id": "UsableSubnetworkSecondaryRange", +"properties": { +"ipCidrRange": { +"description": "The range of IP addresses belonging to this subnetwork secondary range.", +"type": "string" +}, +"rangeName": { +"description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.", +"type": "string" +}, +"status": { +"description": "This field is to determine the status of the secondary range programmably.", +"enum": [ +"UNKNOWN", +"UNUSED", +"IN_USE_SERVICE", +"IN_USE_SHAREABLE_POD", +"IN_USE_MANAGED_POD" +], +"enumDescriptions": [ +"UNKNOWN is the zero value of the Status enum. It's not a valid status.", +"UNUSED denotes that this range is unclaimed by any cluster.", +"IN_USE_SERVICE denotes that this range is claimed by cluster(s) for services. User-managed services range can be shared between clusters within the same subnetwork.", +"IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range.", +"IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters." +], +"type": "string" +} +}, +"type": "object" +}, +"UserManagedKeysConfig": { +"description": "UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and token that are used for communication within cluster.", +"id": "UserManagedKeysConfig", +"properties": { +"aggregationCa": { +"description": "The Certificate Authority Service caPool to use for the aggregation CA in this cluster.", +"type": "string" +}, +"clusterCa": { +"description": "The Certificate Authority Service caPool to use for the cluster CA in this cluster.", +"type": "string" +}, +"controlPlaneDiskEncryptionKey": { +"description": "The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.", +"type": "string" +}, +"controlPlaneDiskEncryptionKeyVersions": { +"description": "Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"etcdApiCa": { +"description": "Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.", +"type": "string" +}, +"etcdPeerCa": { +"description": "Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster.", +"type": "string" +}, +"gkeopsEtcdBackupEncryptionKey": { +"description": "Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.", +"type": "string" +}, +"serviceAccountSigningKeys": { +"description": "The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceAccountVerificationKeys": { +"description": "The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VerticalPodAutoscaling": { +"description": "VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.", +"id": "VerticalPodAutoscaling", +"properties": { +"enabled": { +"description": "Enables vertical pod autoscaling.", +"type": "boolean" +} +}, +"type": "object" +}, +"VirtualNIC": { +"description": "Configuration of gVNIC feature.", +"id": "VirtualNIC", +"properties": { +"enabled": { +"description": "Whether gVNIC features are enabled in the node pool.", +"type": "boolean" +} +}, +"type": "object" +}, +"WindowsNodeConfig": { +"description": "Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings.", +"id": "WindowsNodeConfig", +"properties": { +"osVersion": { +"description": "OSVersion specifies the Windows node config to be used on the node.", +"enum": [ +"OS_VERSION_UNSPECIFIED", +"OS_VERSION_LTSC2019", +"OS_VERSION_LTSC2022" +], +"enumDescriptions": [ +"When OSVersion is not specified.", +"LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image.", +"LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityConfig": { +"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies.", +"id": "WorkloadIdentityConfig", +"properties": { +"workloadPool": { +"description": "The workload pool to attach all Kubernetes service accounts to.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadMetadataConfig": { +"description": "WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.", +"id": "WorkloadMetadataConfig", +"properties": { +"mode": { +"description": "Mode is the configuration for how to expose metadata to workloads running on the node pool.", +"enum": [ +"MODE_UNSPECIFIED", +"GCE_METADATA", +"GKE_METADATA" +], +"enumDescriptions": [ +"Not set.", +"Expose all Compute Engine metadata to pods.", +"Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadPolicyConfig": { +"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy", +"id": "WorkloadPolicyConfig", +"properties": { +"allowNetAdmin": { +"description": "If true, workloads can use NET_ADMIN capability.", +"type": "boolean" +}, +"autopilotCompatibilityAuditingEnabled": { +"description": "If true, enables the GCW Auditor that audits workloads on standard clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"WritableCgroups": { +"description": "Defines writable cgroups configuration.", +"id": "WritableCgroups", +"properties": { +"enabled": { +"description": "Optional. Whether writable cgroups is enabled.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Kubernetes Engine API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/content.v2.1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/content.v2.1.json new file mode 100644 index 0000000000000000000000000000000000000000..d5ad78d48dfa3f53b63653d418df811897a451e7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/content.v2.1.json @@ -0,0 +1,13682 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "/content/v2.1/", +"baseUrl": "https://shoppingcontent.googleapis.com/content/v2.1/", +"batchPath": "batch", +"canonicalName": "Shopping Content", +"description": "This API is deprecated. Please use Merchant API instead: https://developers.google.com/merchant/api. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/shopping-content/v2/", +"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": "content:v2.1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://shoppingcontent.mtls.googleapis.com/", +"name": "content", +"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": { +"accounts": { +"methods": { +"authinfo": { +"description": "Returns information about the authenticated user.", +"flatPath": "accounts/authinfo", +"httpMethod": "GET", +"id": "content.accounts.authinfo", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/authinfo", +"response": { +"$ref": "AccountsAuthInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"claimwebsite": { +"description": "Claims the website of a Merchant Center sub-account. Merchant accounts with approved third-party CSSs aren't required to claim a website.", +"flatPath": "{merchantId}/accounts/{accountId}/claimwebsite", +"httpMethod": "POST", +"id": "content.accounts.claimwebsite", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account whose website is claimed.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"overwrite": { +"description": "Only available to selected merchants, for example multi-client accounts (MCAs) and their sub-accounts. When set to `True`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request.", +"location": "query", +"type": "boolean" +} +}, +"path": "{merchantId}/accounts/{accountId}/claimwebsite", +"response": { +"$ref": "AccountsClaimWebsiteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"custombatch": { +"description": "Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.", +"flatPath": "accounts/batch", +"httpMethod": "POST", +"id": "content.accounts.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "accounts/batch", +"request": { +"$ref": "AccountsCustomBatchRequest" +}, +"response": { +"$ref": "AccountsCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a Merchant Center sub-account.", +"flatPath": "{merchantId}/accounts/{accountId}", +"httpMethod": "DELETE", +"id": "content.accounts.delete", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"force": { +"default": "false", +"description": "Option to delete sub-accounts with products. The default value is false.", +"location": "query", +"type": "boolean" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a Merchant Center account.", +"flatPath": "{merchantId}/accounts/{accountId}", +"httpMethod": "GET", +"id": "content.accounts.get", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Controls which fields will be populated. Acceptable values are: \"merchant\" and \"css\". The default value is \"merchant\".", +"enum": [ +"MERCHANT", +"CSS" +], +"enumDescriptions": [ +"Default. View is populated with Merchant Center fields.", +"View is populated with Comparison Shopping Services fields." +], +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Creates a Merchant Center sub-account.", +"flatPath": "{merchantId}/accounts", +"httpMethod": "POST", +"id": "content.accounts.insert", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"link": { +"description": "Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.", +"flatPath": "{merchantId}/accounts/{accountId}/link", +"httpMethod": "POST", +"id": "content.accounts.link", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account that should be linked.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}/link", +"request": { +"$ref": "AccountsLinkRequest" +}, +"response": { +"$ref": "AccountsLinkResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the sub-accounts in your Merchant Center account.", +"flatPath": "{merchantId}/accounts", +"httpMethod": "GET", +"id": "content.accounts.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"label": { +"description": "If view is set to \"css\", only return accounts that are assigned label with given ID.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of accounts to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "If set, only the accounts with the given name (case sensitive) will be returned.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"view": { +"description": "Controls which fields will be populated. Acceptable values are: \"merchant\" and \"css\". The default value is \"merchant\".", +"enum": [ +"MERCHANT", +"CSS" +], +"enumDescriptions": [ +"Default. View is populated with Merchant Center fields.", +"View is populated with Comparison Shopping Services fields." +], +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/accounts", +"response": { +"$ref": "AccountsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"listlinks": { +"description": "Returns the list of accounts linked to your Merchant Center account.", +"flatPath": "{merchantId}/accounts/{accountId}/listlinks", +"httpMethod": "GET", +"id": "content.accounts.listlinks", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to list links.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of links to return in the response, used for pagination. The minimum allowed value is 5 results per page. If provided value is lower than 5, it will be automatically increased to 5.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}/listlinks", +"response": { +"$ref": "AccountsListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestphoneverification": { +"description": "Request verification code to start phone verification.", +"flatPath": "{merchantId}/accounts/{accountId}/requestphoneverification", +"httpMethod": "POST", +"id": "content.accounts.requestphoneverification", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}/requestphoneverification", +"request": { +"$ref": "RequestPhoneVerificationRequest" +}, +"response": { +"$ref": "RequestPhoneVerificationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.", +"flatPath": "{merchantId}/accounts/{accountId}", +"httpMethod": "PUT", +"id": "content.accounts.update", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updatelabels": { +"description": "Updates labels that are assigned to the Merchant Center account by CSS user.", +"flatPath": "{merchantId}/accounts/{accountId}/updatelabels", +"httpMethod": "POST", +"id": "content.accounts.updatelabels", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account whose labels are updated.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}/updatelabels", +"request": { +"$ref": "AccountsUpdateLabelsRequest" +}, +"response": { +"$ref": "AccountsUpdateLabelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"verifyphonenumber": { +"description": "Validates verification code to verify phone number for the account. If successful this will overwrite the value of `accounts.businessinformation.phoneNumber`. Only verified phone number will replace an existing verified phone number.", +"flatPath": "{merchantId}/accounts/{accountId}/verifyphonenumber", +"httpMethod": "POST", +"id": "content.accounts.verifyphonenumber", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounts/{accountId}/verifyphonenumber", +"request": { +"$ref": "VerifyPhoneNumberRequest" +}, +"response": { +"$ref": "VerifyPhoneNumberResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"credentials": { +"methods": { +"create": { +"description": "Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.", +"flatPath": "accounts/{accountId}/credentials", +"httpMethod": "POST", +"id": "content.accounts.credentials.create", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The merchant id of the account these credentials belong to.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/credentials", +"request": { +"$ref": "AccountCredentials" +}, +"response": { +"$ref": "AccountCredentials" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"labels": { +"methods": { +"create": { +"description": "Creates a new label, not assigned to any account.", +"flatPath": "accounts/{accountId}/labels", +"httpMethod": "POST", +"id": "content.accounts.labels.create", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The id of the account this label belongs to.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/labels", +"request": { +"$ref": "AccountLabel" +}, +"response": { +"$ref": "AccountLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a label and removes it from all accounts to which it was assigned.", +"flatPath": "accounts/{accountId}/labels/{labelId}", +"httpMethod": "DELETE", +"id": "content.accounts.labels.delete", +"parameterOrder": [ +"accountId", +"labelId" +], +"parameters": { +"accountId": { +"description": "Required. The id of the account that owns the label.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"labelId": { +"description": "Required. The id of the label to delete.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/labels/{labelId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the labels assigned to an account.", +"flatPath": "accounts/{accountId}/labels", +"httpMethod": "GET", +"id": "content.accounts.labels.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The account id for whose labels are to be listed.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of labels to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListAccountLabels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLabels` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "accounts/{accountId}/labels", +"response": { +"$ref": "ListAccountLabelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a label.", +"flatPath": "accounts/{accountId}/labels/{labelId}", +"httpMethod": "PATCH", +"id": "content.accounts.labels.patch", +"parameterOrder": [ +"accountId", +"labelId" +], +"parameters": { +"accountId": { +"description": "Required. The id of the account this label belongs to.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"labelId": { +"description": "Required. The id of the label to update.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/labels/{labelId}", +"request": { +"$ref": "AccountLabel" +}, +"response": { +"$ref": "AccountLabel" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"returncarrier": { +"methods": { +"create": { +"description": "Links return carrier to a merchant account.", +"flatPath": "accounts/{accountId}/returncarrier", +"httpMethod": "POST", +"id": "content.accounts.returncarrier.create", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/returncarrier", +"request": { +"$ref": "AccountReturnCarrier" +}, +"response": { +"$ref": "AccountReturnCarrier" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Delete a return carrier in the merchant account.", +"flatPath": "accounts/{accountId}/returncarrier/{carrierAccountId}", +"httpMethod": "DELETE", +"id": "content.accounts.returncarrier.delete", +"parameterOrder": [ +"accountId", +"carrierAccountId" +], +"parameters": { +"accountId": { +"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"carrierAccountId": { +"description": "Required. The Google-provided unique carrier ID, used to update the resource.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/returncarrier/{carrierAccountId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists available return carriers in the merchant account.", +"flatPath": "accounts/{accountId}/returncarrier", +"httpMethod": "GET", +"id": "content.accounts.returncarrier.list", +"parameterOrder": [ +"accountId" +], +"parameters": { +"accountId": { +"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/returncarrier", +"response": { +"$ref": "ListAccountReturnCarrierResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a return carrier in the merchant account.", +"flatPath": "accounts/{accountId}/returncarrier/{carrierAccountId}", +"httpMethod": "PATCH", +"id": "content.accounts.returncarrier.patch", +"parameterOrder": [ +"accountId", +"carrierAccountId" +], +"parameters": { +"accountId": { +"description": "Required. The Merchant Center Account Id under which the Return Carrier is to be linked.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"carrierAccountId": { +"description": "Required. The Google-provided unique carrier ID, used to update the resource.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "accounts/{accountId}/returncarrier/{carrierAccountId}", +"request": { +"$ref": "AccountReturnCarrier" +}, +"response": { +"$ref": "AccountReturnCarrier" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"accountstatuses": { +"methods": { +"custombatch": { +"description": "Retrieves multiple Merchant Center account statuses in a single request.", +"flatPath": "accountstatuses/batch", +"httpMethod": "POST", +"id": "content.accountstatuses.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "accountstatuses/batch", +"request": { +"$ref": "AccountstatusesCustomBatchRequest" +}, +"response": { +"$ref": "AccountstatusesCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.", +"flatPath": "{merchantId}/accountstatuses/{accountId}", +"httpMethod": "GET", +"id": "content.accountstatuses.get", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"location": "query", +"repeated": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accountstatuses/{accountId}", +"response": { +"$ref": "AccountStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the statuses of the sub-accounts in your Merchant Center account.", +"flatPath": "{merchantId}/accountstatuses", +"httpMethod": "GET", +"id": "content.accountstatuses.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of account statuses to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"name": { +"description": "If set, only the accounts with the given name (case sensitive) will be returned.", +"location": "query", +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/accountstatuses", +"response": { +"$ref": "AccountstatusesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"accounttax": { +"methods": { +"custombatch": { +"description": "Retrieves and updates tax settings of multiple accounts in a single request.", +"flatPath": "accounttax/batch", +"httpMethod": "POST", +"id": "content.accounttax.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "accounttax/batch", +"request": { +"$ref": "AccounttaxCustomBatchRequest" +}, +"response": { +"$ref": "AccounttaxCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the tax settings of the account.", +"flatPath": "{merchantId}/accounttax/{accountId}", +"httpMethod": "GET", +"id": "content.accounttax.get", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get/update account tax settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounttax/{accountId}", +"response": { +"$ref": "AccountTax" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the tax settings of the sub-accounts in your Merchant Center account.", +"flatPath": "{merchantId}/accounttax", +"httpMethod": "GET", +"id": "content.accounttax.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of tax settings to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/accounttax", +"response": { +"$ref": "AccounttaxListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.", +"flatPath": "{merchantId}/accounttax/{accountId}", +"httpMethod": "PUT", +"id": "content.accounttax.update", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get/update account tax settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/accounttax/{accountId}", +"request": { +"$ref": "AccountTax" +}, +"response": { +"$ref": "AccountTax" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"collections": { +"methods": { +"create": { +"description": "Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.", +"flatPath": "{merchantId}/collections", +"httpMethod": "POST", +"id": "content.collections.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/collections", +"request": { +"$ref": "Collection" +}, +"response": { +"$ref": "Collection" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a collection from your Merchant Center account.", +"flatPath": "{merchantId}/collections/{collectionId}", +"httpMethod": "DELETE", +"id": "content.collections.delete", +"parameterOrder": [ +"merchantId", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Required. The collectionId of the collection. CollectionId is the same as the REST ID of the collection.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/collections/{collectionId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a collection from your Merchant Center account.", +"flatPath": "{merchantId}/collections/{collectionId}", +"httpMethod": "GET", +"id": "content.collections.get", +"parameterOrder": [ +"merchantId", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Required. The REST ID of the collection.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/collections/{collectionId}", +"response": { +"$ref": "Collection" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the collections in your Merchant Center account. The response might contain fewer items than specified by page_size. Rely on next_page_token to determine if there are more items to be requested.", +"flatPath": "{merchantId}/collections", +"httpMethod": "GET", +"id": "content.collections.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of collections to return in the response, used for paging. Defaults to 50; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/collections", +"response": { +"$ref": "ListCollectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"collectionstatuses": { +"methods": { +"get": { +"description": "Gets the status of a collection from your Merchant Center account.", +"flatPath": "{merchantId}/collectionstatuses/{collectionId}", +"httpMethod": "GET", +"id": "content.collectionstatuses.get", +"parameterOrder": [ +"merchantId", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Required. The collectionId of the collection. CollectionId is the same as the REST ID of the collection.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/collectionstatuses/{collectionId}", +"response": { +"$ref": "CollectionStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the statuses of the collections in your Merchant Center account.", +"flatPath": "{merchantId}/collectionstatuses", +"httpMethod": "GET", +"id": "content.collectionstatuses.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that contains the collection. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of collection statuses to return in the response, used for paging. Defaults to 50; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/collectionstatuses", +"response": { +"$ref": "ListCollectionStatusesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"conversionsources": { +"methods": { +"create": { +"description": "Creates a new conversion source.", +"flatPath": "{merchantId}/conversionsources", +"httpMethod": "POST", +"id": "content.conversionsources.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/conversionsources", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.", +"flatPath": "{merchantId}/conversionsources/{conversionSourceId}", +"httpMethod": "DELETE", +"id": "content.conversionsources.delete", +"parameterOrder": [ +"merchantId", +"conversionSourceId" +], +"parameters": { +"conversionSourceId": { +"description": "Required. The ID of the conversion source to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/conversionsources/{conversionSourceId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Fetches a conversion source.", +"flatPath": "{merchantId}/conversionsources/{conversionSourceId}", +"httpMethod": "GET", +"id": "content.conversionsources.get", +"parameterOrder": [ +"merchantId", +"conversionSourceId" +], +"parameters": { +"conversionSourceId": { +"description": "Required. The REST ID of the collection.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/conversionsources/{conversionSourceId}", +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Retrieves the list of conversion sources the caller has access to.", +"flatPath": "{merchantId}/conversionsources", +"httpMethod": "GET", +"id": "content.conversionsources.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of conversion sources to return in a page. If no `page_size` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token.", +"location": "query", +"type": "string" +}, +"showDeleted": { +"description": "If true, also returns archived conversion sources.", +"location": "query", +"type": "boolean" +} +}, +"path": "{merchantId}/conversionsources", +"response": { +"$ref": "ListConversionSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates information of an existing conversion source.", +"flatPath": "{merchantId}/conversionsources/{conversionSourceId}", +"httpMethod": "PATCH", +"id": "content.conversionsources.patch", +"parameterOrder": [ +"merchantId", +"conversionSourceId" +], +"parameters": { +"conversionSourceId": { +"description": "Required. The ID of the conversion source to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. List of fields being updated. The following fields can be updated: `attribution_settings`, `display_name`, `currency_code`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/conversionsources/{conversionSourceId}", +"request": { +"$ref": "ConversionSource" +}, +"response": { +"$ref": "ConversionSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"undelete": { +"description": "Re-enables an archived conversion source.", +"flatPath": "{merchantId}/conversionsources/{conversionSourceId}:undelete", +"httpMethod": "POST", +"id": "content.conversionsources.undelete", +"parameterOrder": [ +"merchantId", +"conversionSourceId" +], +"parameters": { +"conversionSourceId": { +"description": "Required. The ID of the conversion source to be undeleted.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that owns the new conversion source.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/conversionsources/{conversionSourceId}:undelete", +"request": { +"$ref": "UndeleteConversionSourceRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"csses": { +"methods": { +"get": { +"description": "Retrieves a single CSS domain by ID.", +"flatPath": "{cssGroupId}/csses/{cssDomainId}", +"httpMethod": "GET", +"id": "content.csses.get", +"parameterOrder": [ +"cssGroupId", +"cssDomainId" +], +"parameters": { +"cssDomainId": { +"description": "Required. The ID of the CSS domain to return.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"cssGroupId": { +"description": "Required. The ID of the managing account. If this parameter is not the same as [cssDomainId](#cssDomainId), then this ID must be a CSS group ID and `cssDomainId` must be the ID of a CSS domain affiliated with this group.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{cssGroupId}/csses/{cssDomainId}", +"response": { +"$ref": "Css" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists CSS domains affiliated with a CSS group.", +"flatPath": "{cssGroupId}/csses", +"httpMethod": "GET", +"id": "content.csses.list", +"parameterOrder": [ +"cssGroupId" +], +"parameters": { +"cssGroupId": { +"description": "Required. The CSS group ID of CSS domains to be listed.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of CSS domains to return. The service may return fewer than this value. If unspecified, at most 50 CSS domains will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListCsses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCsses` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{cssGroupId}/csses", +"response": { +"$ref": "ListCssesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"updatelabels": { +"description": "Updates labels that are assigned to a CSS domain by its CSS group.", +"flatPath": "{cssGroupId}/csses/{cssDomainId}/updatelabels", +"httpMethod": "POST", +"id": "content.csses.updatelabels", +"parameterOrder": [ +"cssGroupId", +"cssDomainId" +], +"parameters": { +"cssDomainId": { +"description": "Required. The ID of the updated CSS domain.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"cssGroupId": { +"description": "Required. The CSS group ID of the updated CSS domain.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{cssGroupId}/csses/{cssDomainId}/updatelabels", +"request": { +"$ref": "LabelIds" +}, +"response": { +"$ref": "Css" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"datafeeds": { +"methods": { +"custombatch": { +"description": "Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.", +"flatPath": "datafeeds/batch", +"httpMethod": "POST", +"id": "content.datafeeds.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "datafeeds/batch", +"request": { +"$ref": "DatafeedsCustomBatchRequest" +}, +"response": { +"$ref": "DatafeedsCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a datafeed configuration from your Merchant Center account.", +"flatPath": "{merchantId}/datafeeds/{datafeedId}", +"httpMethod": "DELETE", +"id": "content.datafeeds.delete", +"parameterOrder": [ +"merchantId", +"datafeedId" +], +"parameters": { +"datafeedId": { +"description": "The ID of the datafeed.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeeds/{datafeedId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"fetchnow": { +"description": "Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the [Products service](https://developers.google.com/shopping-content/reference/rest/v2.1/products) to update your product data.", +"flatPath": "{merchantId}/datafeeds/{datafeedId}/fetchNow", +"httpMethod": "POST", +"id": "content.datafeeds.fetchnow", +"parameterOrder": [ +"merchantId", +"datafeedId" +], +"parameters": { +"datafeedId": { +"description": "The ID of the datafeed to be fetched.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeeds/{datafeedId}/fetchNow", +"response": { +"$ref": "DatafeedsFetchNowResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a datafeed configuration from your Merchant Center account.", +"flatPath": "{merchantId}/datafeeds/{datafeedId}", +"httpMethod": "GET", +"id": "content.datafeeds.get", +"parameterOrder": [ +"merchantId", +"datafeedId" +], +"parameters": { +"datafeedId": { +"description": "The ID of the datafeed.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeeds/{datafeedId}", +"response": { +"$ref": "Datafeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Registers a datafeed configuration with your Merchant Center account.", +"flatPath": "{merchantId}/datafeeds", +"httpMethod": "POST", +"id": "content.datafeeds.insert", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeeds", +"request": { +"$ref": "Datafeed" +}, +"response": { +"$ref": "Datafeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the configurations for datafeeds in your Merchant Center account.", +"flatPath": "{merchantId}/datafeeds", +"httpMethod": "GET", +"id": "content.datafeeds.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of products to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/datafeeds", +"response": { +"$ref": "DatafeedsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.", +"flatPath": "{merchantId}/datafeeds/{datafeedId}", +"httpMethod": "PUT", +"id": "content.datafeeds.update", +"parameterOrder": [ +"merchantId", +"datafeedId" +], +"parameters": { +"datafeedId": { +"description": "The ID of the datafeed.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeeds/{datafeedId}", +"request": { +"$ref": "Datafeed" +}, +"response": { +"$ref": "Datafeed" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"datafeedstatuses": { +"methods": { +"custombatch": { +"description": "Gets multiple Merchant Center datafeed statuses in a single request.", +"flatPath": "datafeedstatuses/batch", +"httpMethod": "POST", +"id": "content.datafeedstatuses.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "datafeedstatuses/batch", +"request": { +"$ref": "DatafeedstatusesCustomBatchRequest" +}, +"response": { +"$ref": "DatafeedstatusesCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the status of a datafeed from your Merchant Center account.", +"flatPath": "{merchantId}/datafeedstatuses/{datafeedId}", +"httpMethod": "GET", +"id": "content.datafeedstatuses.get", +"parameterOrder": [ +"merchantId", +"datafeedId" +], +"parameters": { +"country": { +"description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", +"location": "query", +"type": "string" +}, +"datafeedId": { +"description": "The ID of the datafeed.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"feedLabel": { +"description": "The feed label to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", +"location": "query", +"type": "string" +}, +"language": { +"description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/datafeedstatuses/{datafeedId}", +"response": { +"$ref": "DatafeedStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the statuses of the datafeeds in your Merchant Center account.", +"flatPath": "{merchantId}/datafeedstatuses", +"httpMethod": "GET", +"id": "content.datafeedstatuses.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of products to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/datafeedstatuses", +"response": { +"$ref": "DatafeedstatusesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"freelistingsprogram": { +"methods": { +"get": { +"description": "Retrieves the status and review eligibility for the free listing program. Returns errors and warnings if they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to view all issues for an account.", +"flatPath": "{merchantId}/freelistingsprogram", +"httpMethod": "GET", +"id": "content.freelistingsprogram.get", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/freelistingsprogram", +"response": { +"$ref": "FreeListingsProgramStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestreview": { +"description": "Requests a review of free listings in a specific region. This method deprecated. Use the `MerchantSupportService` to view product and account issues and request a review.", +"flatPath": "{merchantId}/freelistingsprogram/requestreview", +"httpMethod": "POST", +"id": "content.freelistingsprogram.requestreview", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/freelistingsprogram/requestreview", +"request": { +"$ref": "RequestReviewFreeListingsRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"checkoutsettings": { +"methods": { +"delete": { +"description": "Deletes `Checkout` settings and unenrolls merchant from `Checkout` program.", +"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings", +"httpMethod": "DELETE", +"id": "content.freelistingsprogram.checkoutsettings.delete", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/freelistingsprogram/checkoutsettings", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings.", +"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings", +"httpMethod": "GET", +"id": "content.freelistingsprogram.checkoutsettings.get", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/freelistingsprogram/checkoutsettings", +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Enrolls merchant in `Checkout` program.", +"flatPath": "{merchantId}/freelistingsprogram/checkoutsettings", +"httpMethod": "POST", +"id": "content.freelistingsprogram.checkoutsettings.insert", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/freelistingsprogram/checkoutsettings", +"request": { +"$ref": "InsertCheckoutSettingsRequest" +}, +"response": { +"$ref": "CheckoutSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +}, +"liasettings": { +"methods": { +"custombatch": { +"description": "Retrieves and/or updates the LIA settings of multiple accounts in a single request.", +"flatPath": "liasettings/batch", +"httpMethod": "POST", +"id": "content.liasettings.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "liasettings/batch", +"request": { +"$ref": "LiasettingsCustomBatchRequest" +}, +"response": { +"$ref": "LiasettingsCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the LIA settings of the account.", +"flatPath": "{merchantId}/liasettings/{accountId}", +"httpMethod": "GET", +"id": "content.liasettings.get", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get or update LIA settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}", +"response": { +"$ref": "LiaSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getaccessiblegmbaccounts": { +"description": "Retrieves the list of accessible Business Profiles.", +"flatPath": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts", +"httpMethod": "GET", +"id": "content.liasettings.getaccessiblegmbaccounts", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to retrieve accessible Business Profiles.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/accessiblegmbaccounts", +"response": { +"$ref": "LiasettingsGetAccessibleGmbAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the LIA settings of the sub-accounts in your Merchant Center account.", +"flatPath": "{merchantId}/liasettings", +"httpMethod": "GET", +"id": "content.liasettings.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of LIA settings to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/liasettings", +"response": { +"$ref": "LiasettingsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"listposdataproviders": { +"description": "Retrieves the list of POS data providers that have active settings for the all eiligible countries.", +"flatPath": "liasettings/posdataproviders", +"httpMethod": "GET", +"id": "content.liasettings.listposdataproviders", +"parameterOrder": [], +"parameters": {}, +"path": "liasettings/posdataproviders", +"response": { +"$ref": "LiasettingsListPosDataProvidersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestgmbaccess": { +"description": "Requests access to a specified Business Profile.", +"flatPath": "{merchantId}/liasettings/{accountId}/requestgmbaccess", +"httpMethod": "POST", +"id": "content.liasettings.requestgmbaccess", +"parameterOrder": [ +"merchantId", +"accountId", +"gmbEmail" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which Business Profile access is requested.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"gmbEmail": { +"description": "The email of the Business Profile.", +"location": "query", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/requestgmbaccess", +"response": { +"$ref": "LiasettingsRequestGmbAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestinventoryverification": { +"description": "Requests inventory validation for the specified country.", +"flatPath": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}", +"httpMethod": "POST", +"id": "content.liasettings.requestinventoryverification", +"parameterOrder": [ +"merchantId", +"accountId", +"country" +], +"parameters": { +"accountId": { +"description": "The ID of the account that manages the order. This cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"country": { +"description": "The country for which inventory validation is requested.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}", +"response": { +"$ref": "LiasettingsRequestInventoryVerificationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"setinventoryverificationcontact": { +"description": "Sets the inventory verification contact for the specified country.", +"flatPath": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact", +"httpMethod": "POST", +"id": "content.liasettings.setinventoryverificationcontact", +"parameterOrder": [ +"merchantId", +"accountId", +"country", +"language", +"contactName", +"contactEmail" +], +"parameters": { +"accountId": { +"description": "The ID of the account that manages the order. This cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"contactEmail": { +"description": "The email of the inventory verification contact.", +"location": "query", +"required": true, +"type": "string" +}, +"contactName": { +"description": "The name of the inventory verification contact.", +"location": "query", +"required": true, +"type": "string" +}, +"country": { +"description": "The country for which inventory verification is requested.", +"location": "query", +"required": true, +"type": "string" +}, +"language": { +"description": "The language for which inventory verification is requested.", +"location": "query", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/setinventoryverificationcontact", +"response": { +"$ref": "LiasettingsSetInventoryVerificationContactResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"setomnichannelexperience": { +"description": "Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles [about LFP](https://support.google.com/merchants/answer/7676652) and [how to get started](https://support.google.com/merchants/answer/7676578) with it.", +"flatPath": "{merchantId}/liasettings/{accountId}/setomnichannelexperience", +"httpMethod": "POST", +"id": "content.liasettings.setomnichannelexperience", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to retrieve accessible Business Profiles.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"country": { +"description": "The CLDR country code (for example, \"US\") for which the omnichannel experience is selected.", +"location": "query", +"type": "string" +}, +"lsfType": { +"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pickupTypes": { +"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/setomnichannelexperience", +"response": { +"$ref": "LiaOmnichannelExperience" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"setposdataprovider": { +"description": "Sets the POS data provider for the specified country.", +"flatPath": "{merchantId}/liasettings/{accountId}/setposdataprovider", +"httpMethod": "POST", +"id": "content.liasettings.setposdataprovider", +"parameterOrder": [ +"merchantId", +"accountId", +"country" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to retrieve accessible Business Profiles.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"country": { +"description": "The country for which the POS data provider is selected.", +"location": "query", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"posDataProviderId": { +"description": "The ID of POS data provider.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"posExternalAccountId": { +"description": "The account ID by which this merchant is known to the POS data provider.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}/setposdataprovider", +"response": { +"$ref": "LiasettingsSetPosDataProviderResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.", +"flatPath": "{merchantId}/liasettings/{accountId}", +"httpMethod": "PUT", +"id": "content.liasettings.update", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get or update LIA settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/liasettings/{accountId}", +"request": { +"$ref": "LiaSettings" +}, +"response": { +"$ref": "LiaSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"localinventory": { +"methods": { +"custombatch": { +"description": "Updates local inventory for multiple products or stores in a single request.", +"flatPath": "localinventory/batch", +"httpMethod": "POST", +"id": "content.localinventory.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "localinventory/batch", +"request": { +"$ref": "LocalinventoryCustomBatchRequest" +}, +"response": { +"$ref": "LocalinventoryCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Updates the local inventory of a product in your Merchant Center account.", +"flatPath": "{merchantId}/products/{productId}/localinventory", +"httpMethod": "POST", +"id": "content.localinventory.insert", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product for which to update local inventory.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/products/{productId}/localinventory", +"request": { +"$ref": "LocalInventory" +}, +"response": { +"$ref": "LocalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"merchantsupport": { +"methods": { +"renderaccountissues": { +"description": "Provide a list of merchant's issues with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "{merchantId}/merchantsupport/renderaccountissues", +"httpMethod": "POST", +"id": "content.merchantsupport.renderaccountissues", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize support content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account to fetch issues for.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in support content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/merchantsupport/renderaccountissues", +"request": { +"$ref": "RenderAccountIssuesRequestPayload" +}, +"response": { +"$ref": "RenderAccountIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"renderproductissues": { +"description": "Provide a list of issues for merchant's product with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.", +"flatPath": "{merchantId}/merchantsupport/renderproductissues/{productId}", +"httpMethod": "POST", +"id": "content.merchantsupport.renderproductissues", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"languageCode": { +"description": "Optional. The [IETF BCP-47](https://tools.ietf.org/html/bcp47) language code used to localize support content. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the product.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "Required. The [REST_ID](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.id) of the product to fetch issues for.", +"location": "path", +"required": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in support content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/merchantsupport/renderproductissues/{productId}", +"request": { +"$ref": "RenderProductIssuesRequestPayload" +}, +"response": { +"$ref": "RenderProductIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"triggeraction": { +"description": "Start an action. The action can be requested by merchants in third-party application. Before merchants can request the action, the third-party application needs to show them action specific content and display a user input form. You can request access using [Trigger action allowlist form](https://docs.google.com/forms/d/e/1FAIpQLSfeV_sBW9MBQv9BMTV6JZ1g11PGHLdHsrefca-9h0LmpU7CUg/viewform?usp=sharing). The action can be successfully started only once all `required` inputs are provided. If any `required` input is missing, or invalid value was provided, the service will return 400 error. Validation errors will contain Ids for all problematic field together with translated, human readable error messages that can be shown to the user.", +"flatPath": "{merchantId}/merchantsupport/triggeraction", +"httpMethod": "POST", +"id": "content.merchantsupport.triggeraction", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"languageCode": { +"description": "Optional. Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) used to localize the response. If not set, the result will be in default language `en-US`.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the merchant's account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/merchantsupport/triggeraction", +"request": { +"$ref": "TriggerActionPayload" +}, +"response": { +"$ref": "TriggerActionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"ordertrackingsignals": { +"methods": { +"create": { +"description": "Creates new order tracking signal.", +"flatPath": "{merchantId}/ordertrackingsignals", +"httpMethod": "POST", +"id": "content.ordertrackingsignals.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the merchant for which the order signal is created.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/ordertrackingsignals", +"request": { +"$ref": "OrderTrackingSignal" +}, +"response": { +"$ref": "OrderTrackingSignal" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"pos": { +"methods": { +"custombatch": { +"description": "Batches multiple POS-related calls in a single request.", +"flatPath": "pos/batch", +"httpMethod": "POST", +"id": "content.pos.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "pos/batch", +"request": { +"$ref": "PosCustomBatchRequest" +}, +"response": { +"$ref": "PosCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a store for the given merchant.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", +"httpMethod": "DELETE", +"id": "content.pos.delete", +"parameterOrder": [ +"merchantId", +"targetMerchantId", +"storeCode" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"storeCode": { +"description": "A store code that is unique per merchant.", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves information about the given store.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", +"httpMethod": "GET", +"id": "content.pos.get", +"parameterOrder": [ +"merchantId", +"targetMerchantId", +"storeCode" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"storeCode": { +"description": "A store code that is unique per merchant.", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/store/{storeCode}", +"response": { +"$ref": "PosStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Creates a store for the given merchant.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/store", +"httpMethod": "POST", +"id": "content.pos.insert", +"parameterOrder": [ +"merchantId", +"targetMerchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/store", +"request": { +"$ref": "PosStore" +}, +"response": { +"$ref": "PosStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"inventory": { +"description": "Submit inventory for the given merchant.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/inventory", +"httpMethod": "POST", +"id": "content.pos.inventory", +"parameterOrder": [ +"merchantId", +"targetMerchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/inventory", +"request": { +"$ref": "PosInventoryRequest" +}, +"response": { +"$ref": "PosInventoryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the stores of the target merchant.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/store", +"httpMethod": "GET", +"id": "content.pos.list", +"parameterOrder": [ +"merchantId", +"targetMerchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/store", +"response": { +"$ref": "PosListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"sale": { +"description": "Submit a sale event for the given merchant.", +"flatPath": "{merchantId}/pos/{targetMerchantId}/sale", +"httpMethod": "POST", +"id": "content.pos.sale", +"parameterOrder": [ +"merchantId", +"targetMerchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the POS or inventory data provider.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the target merchant.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pos/{targetMerchantId}/sale", +"request": { +"$ref": "PosSaleRequest" +}, +"response": { +"$ref": "PosSaleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"productdeliverytime": { +"methods": { +"create": { +"description": "Creates or updates the delivery time of a product.", +"flatPath": "{merchantId}/productdeliverytime", +"httpMethod": "POST", +"id": "content.productdeliverytime.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/productdeliverytime", +"request": { +"$ref": "ProductDeliveryTime" +}, +"response": { +"$ref": "ProductDeliveryTime" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes the delivery time of a product.", +"flatPath": "{merchantId}/productdeliverytime/{productId}", +"httpMethod": "DELETE", +"id": "content.productdeliverytime.delete", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/productdeliverytime/{productId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets `productDeliveryTime` by `productId`.", +"flatPath": "{merchantId}/productdeliverytime/{productId}", +"httpMethod": "GET", +"id": "content.productdeliverytime.get", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "Required. The Google merchant ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "Required. The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/productdeliverytime/{productId}", +"response": { +"$ref": "ProductDeliveryTime" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"products": { +"methods": { +"custombatch": { +"description": "Retrieves, inserts, and deletes multiple products in a single request.", +"flatPath": "products/batch", +"httpMethod": "POST", +"id": "content.products.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "products/batch", +"request": { +"$ref": "ProductsCustomBatchRequest" +}, +"response": { +"$ref": "ProductsCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a product from your Merchant Center account.", +"flatPath": "{merchantId}/products/{productId}", +"httpMethod": "DELETE", +"id": "content.products.delete", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"feedId": { +"description": "The Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/products/{productId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a product from your Merchant Center account.", +"flatPath": "{merchantId}/products/{productId}", +"httpMethod": "GET", +"id": "content.products.get", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/products/{productId}", +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.", +"flatPath": "{merchantId}/products", +"httpMethod": "POST", +"id": "content.products.insert", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"feedId": { +"description": "The Content API Supplemental Feed ID. If present then product insertion applies to the data in a supplemental feed.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/products", +"request": { +"$ref": "Product" +}, +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.", +"flatPath": "{merchantId}/products", +"httpMethod": "GET", +"id": "content.products.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of products to return in the response, used for paging. The default value is 25. The maximum value is 250.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the account that contains the products. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/products", +"response": { +"$ref": "ProductsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates an existing product in your Merchant Center account. Only updates attributes provided in the request.", +"flatPath": "{merchantId}/products/{productId}", +"httpMethod": "PATCH", +"id": "content.products.update", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product for which to update.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/products/{productId}", +"request": { +"$ref": "Product" +}, +"response": { +"$ref": "Product" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"productstatuses": { +"methods": { +"custombatch": { +"description": "Gets the statuses of multiple products in a single request.", +"flatPath": "productstatuses/batch", +"httpMethod": "POST", +"id": "content.productstatuses.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "productstatuses/batch", +"request": { +"$ref": "ProductstatusesCustomBatchRequest" +}, +"response": { +"$ref": "ProductstatusesCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets the status of a product from your Merchant Center account.", +"flatPath": "{merchantId}/productstatuses/{productId}", +"httpMethod": "GET", +"id": "content.productstatuses.get", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"location": "query", +"repeated": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/productstatuses/{productId}", +"response": { +"$ref": "ProductStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the statuses of the products in your Merchant Center account.", +"flatPath": "{merchantId}/productstatuses", +"httpMethod": "GET", +"id": "content.productstatuses.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of product statuses to return in the response, used for paging. The default value is 25. The maximum value is 250.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the account that contains the products. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/productstatuses", +"response": { +"$ref": "ProductstatusesListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"promotions": { +"methods": { +"create": { +"description": "Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead. To [end or delete] (https://developers.google.com/shopping-content/guides/promotions#end_a_promotion) a promotion update the time period of the promotion to a time that has already passed.", +"flatPath": "{merchantId}/promotions", +"httpMethod": "POST", +"id": "content.promotions.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that contains the collection.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/promotions", +"request": { +"$ref": "Promotion" +}, +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a promotion from your Merchant Center account.", +"flatPath": "{merchantId}/promotions/{id}", +"httpMethod": "GET", +"id": "content.promotions.get", +"parameterOrder": [ +"merchantId", +"id" +], +"parameters": { +"id": { +"description": "Required. REST ID of the promotion to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the collection.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/promotions/{id}", +"response": { +"$ref": "Promotion" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "List all promotions from your Merchant Center account.", +"flatPath": "{merchantId}/promotions", +"httpMethod": "GET", +"id": "content.promotions.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"countryCode": { +"description": "[CLDR country code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) (for example, \"US\"), used as a filter on promotions target country.", +"location": "query", +"type": "string" +}, +"languageCode": { +"description": "The two-letter ISO 639-1 language code associated with the promotions, used as a filter.", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account that contains the collection.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of promotions to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPromotion` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPromotion` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/promotions", +"response": { +"$ref": "ListPromotionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"pubsubnotificationsettings": { +"methods": { +"get": { +"description": "Retrieves a Merchant Center account's pubsub notification settings.", +"flatPath": "{merchantId}/pubsubnotificationsettings", +"httpMethod": "GET", +"id": "content.pubsubnotificationsettings.get", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account for which to get pubsub notification settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pubsubnotificationsettings", +"response": { +"$ref": "PubsubNotificationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't be provided as part of the request.", +"flatPath": "{merchantId}/pubsubnotificationsettings", +"httpMethod": "PUT", +"id": "content.pubsubnotificationsettings.update", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/pubsubnotificationsettings", +"request": { +"$ref": "PubsubNotificationSettings" +}, +"response": { +"$ref": "PubsubNotificationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"quotas": { +"methods": { +"list": { +"description": "Lists the daily call quota and usage per method for your Merchant Center account.", +"flatPath": "{merchantId}/quotas", +"httpMethod": "GET", +"id": "content.quotas.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that has quota. This account must be an admin.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/quotas", +"response": { +"$ref": "ListMethodQuotasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"recommendations": { +"methods": { +"generate": { +"description": "Generates recommendations for a merchant.", +"flatPath": "{merchantId}/recommendations/generate", +"httpMethod": "GET", +"id": "content.recommendations.generate", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"allowedTag": { +"description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types belong to. User can specify zero or more tags in this field to indicate what categories of recommendations they want to receive. Current list of supported tags: - TREND", +"location": "query", +"repeated": true, +"type": "string" +}, +"languageCode": { +"description": "Optional. Language code of the client. If not set, the result will be in default language (English). This language code affects all fields prefixed with \"localized\". This should be set to ISO 639-1 country code. List of currently verified supported language code: en, fr, cs, da, de, es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, id, hi", +"location": "query", +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account to fetch recommendations for.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/recommendations/generate", +"response": { +"$ref": "GenerateRecommendationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"reportInteraction": { +"description": "Reports an interaction on a recommendation for a merchant.", +"flatPath": "{merchantId}/recommendations/reportInteraction", +"httpMethod": "POST", +"id": "content.recommendations.reportInteraction", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account that wants to report an interaction.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/recommendations/reportInteraction", +"request": { +"$ref": "ReportInteractionRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"regionalinventory": { +"methods": { +"custombatch": { +"description": "Updates regional inventory for multiple products or regions in a single request.", +"flatPath": "regionalinventory/batch", +"httpMethod": "POST", +"id": "content.regionalinventory.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "regionalinventory/batch", +"request": { +"$ref": "RegionalinventoryCustomBatchRequest" +}, +"response": { +"$ref": "RegionalinventoryCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Updates the regional inventory of a product in your Merchant Center account. If a regional inventory with the same region ID already exists, this method updates that entry.", +"flatPath": "{merchantId}/products/{productId}/regionalinventory", +"httpMethod": "POST", +"id": "content.regionalinventory.insert", +"parameterOrder": [ +"merchantId", +"productId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account that contains the product. This account cannot be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"productId": { +"description": "The REST ID of the product for which to update the regional inventory.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/products/{productId}/regionalinventory", +"request": { +"$ref": "RegionalInventory" +}, +"response": { +"$ref": "RegionalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"regions": { +"methods": { +"create": { +"description": "Creates a region definition in your Merchant Center account.", +"flatPath": "{merchantId}/regions", +"httpMethod": "POST", +"id": "content.regions.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to create region definition.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The id of the region to create.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/regions", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a region definition from your Merchant Center account.", +"flatPath": "{merchantId}/regions/{regionId}", +"httpMethod": "DELETE", +"id": "content.regions.delete", +"parameterOrder": [ +"merchantId", +"regionId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to delete region definition.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The id of the region to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/regions/{regionId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves a region defined in your Merchant Center account.", +"flatPath": "{merchantId}/regions/{regionId}", +"httpMethod": "GET", +"id": "content.regions.get", +"parameterOrder": [ +"merchantId", +"regionId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve region definition.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The id of the region to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/regions/{regionId}", +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the regions in your Merchant Center account.", +"flatPath": "{merchantId}/regions", +"httpMethod": "GET", +"id": "content.regions.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to list region definitions.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRegions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegions` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/regions", +"response": { +"$ref": "ListRegionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates a region definition in your Merchant Center account.", +"flatPath": "{merchantId}/regions/{regionId}", +"httpMethod": "PATCH", +"id": "content.regions.patch", +"parameterOrder": [ +"merchantId", +"regionId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to update region definition.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"regionId": { +"description": "Required. The id of the region to update.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The comma-separated field mask indicating the fields to update. Example: `\"displayName,postalCodeArea.regionCode\"`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/regions/{regionId}", +"request": { +"$ref": "Region" +}, +"response": { +"$ref": "Region" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"reports": { +"methods": { +"search": { +"description": "Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions.", +"flatPath": "{merchantId}/reports/search", +"httpMethod": "POST", +"id": "content.reports.search", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. Id of the merchant making the call. Must be a standalone account or an MCA subaccount.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/reports/search", +"request": { +"$ref": "SearchRequest" +}, +"response": { +"$ref": "SearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"returnpolicyonline": { +"methods": { +"create": { +"description": "Creates a new return policy.", +"flatPath": "{merchantId}/returnpolicyonline", +"httpMethod": "POST", +"id": "content.returnpolicyonline.create", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve the return policy online object.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/returnpolicyonline", +"request": { +"$ref": "ReturnPolicyOnline" +}, +"response": { +"$ref": "ReturnPolicyOnline" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes an existing return policy.", +"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"httpMethod": "DELETE", +"id": "content.returnpolicyonline.delete", +"parameterOrder": [ +"merchantId", +"returnPolicyId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve the return policy online object.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"returnPolicyId": { +"description": "Required. The id of the return policy to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets an existing return policy.", +"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"httpMethod": "GET", +"id": "content.returnpolicyonline.get", +"parameterOrder": [ +"merchantId", +"returnPolicyId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve the return policy online object.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"returnPolicyId": { +"description": "Required. The id of the return policy to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"response": { +"$ref": "ReturnPolicyOnline" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists all existing return policies.", +"flatPath": "{merchantId}/returnpolicyonline", +"httpMethod": "GET", +"id": "content.returnpolicyonline.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve the return policy online object.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/returnpolicyonline", +"response": { +"$ref": "ListReturnPolicyOnlineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an existing return policy.", +"flatPath": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"httpMethod": "PATCH", +"id": "content.returnpolicyonline.patch", +"parameterOrder": [ +"merchantId", +"returnPolicyId" +], +"parameters": { +"merchantId": { +"description": "Required. The id of the merchant for which to retrieve the return policy online object.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"returnPolicyId": { +"description": "Required. The id of the return policy to update.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/returnpolicyonline/{returnPolicyId}", +"request": { +"$ref": "ReturnPolicyOnline" +}, +"response": { +"$ref": "ReturnPolicyOnline" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"shippingsettings": { +"methods": { +"custombatch": { +"description": "Retrieves and updates the shipping settings of multiple accounts in a single request.", +"flatPath": "shippingsettings/batch", +"httpMethod": "POST", +"id": "content.shippingsettings.custombatch", +"parameterOrder": [], +"parameters": {}, +"path": "shippingsettings/batch", +"request": { +"$ref": "ShippingsettingsCustomBatchRequest" +}, +"response": { +"$ref": "ShippingsettingsCustomBatchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the shipping settings of the account.", +"flatPath": "{merchantId}/shippingsettings/{accountId}", +"httpMethod": "GET", +"id": "content.shippingsettings.get", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get/update shipping settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/shippingsettings/{accountId}", +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getsupportedcarriers": { +"description": "Retrieves supported carriers and carrier services for an account.", +"flatPath": "{merchantId}/supportedCarriers", +"httpMethod": "GET", +"id": "content.shippingsettings.getsupportedcarriers", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account for which to retrieve the supported carriers.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/supportedCarriers", +"response": { +"$ref": "ShippingsettingsGetSupportedCarriersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getsupportedholidays": { +"description": "Retrieves supported holidays for an account.", +"flatPath": "{merchantId}/supportedHolidays", +"httpMethod": "GET", +"id": "content.shippingsettings.getsupportedholidays", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account for which to retrieve the supported holidays.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/supportedHolidays", +"response": { +"$ref": "ShippingsettingsGetSupportedHolidaysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"getsupportedpickupservices": { +"description": "Retrieves supported pickup services for an account.", +"flatPath": "{merchantId}/supportedPickupServices", +"httpMethod": "GET", +"id": "content.shippingsettings.getsupportedpickupservices", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "The ID of the account for which to retrieve the supported pickup services.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/supportedPickupServices", +"response": { +"$ref": "ShippingsettingsGetSupportedPickupServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the shipping settings of the sub-accounts in your Merchant Center account.", +"flatPath": "{merchantId}/shippingsettings", +"httpMethod": "GET", +"id": "content.shippingsettings.list", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"maxResults": { +"description": "The maximum number of shipping settings to return in the response, used for paging.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account. This must be a multi-client account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "{merchantId}/shippingsettings", +"response": { +"$ref": "ShippingsettingsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"update": { +"description": "Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.", +"flatPath": "{merchantId}/shippingsettings/{accountId}", +"httpMethod": "PUT", +"id": "content.shippingsettings.update", +"parameterOrder": [ +"merchantId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account for which to get/update shipping settings.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account.", +"format": "uint64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/shippingsettings/{accountId}", +"request": { +"$ref": "ShippingSettings" +}, +"response": { +"$ref": "ShippingSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"shoppingadsprogram": { +"methods": { +"get": { +"description": "Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to view all issues for an account.", +"flatPath": "{merchantId}/shoppingadsprogram", +"httpMethod": "GET", +"id": "content.shoppingadsprogram.get", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/shoppingadsprogram", +"response": { +"$ref": "ShoppingAdsProgramStatus" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"requestreview": { +"description": "Requests a review of Shopping ads in a specific region. This method deprecated. Use the `MerchantSupportService` to view product and account issues and request a review.", +"flatPath": "{merchantId}/shoppingadsprogram/requestreview", +"httpMethod": "POST", +"id": "content.shoppingadsprogram.requestreview", +"parameterOrder": [ +"merchantId" +], +"parameters": { +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "{merchantId}/shoppingadsprogram/requestreview", +"request": { +"$ref": "RequestReviewShoppingAdsRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +}, +"revision": "20260118", +"rootUrl": "https://shoppingcontent.googleapis.com/", +"schemas": { +"Account": { +"description": "Account data. After the creation of a new account it may take a few minutes before it's fully operational. The methods delete, insert, and update require the admin role.", +"id": "Account", +"properties": { +"accountManagement": { +"description": "Output only. How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ", +"readOnly": true, +"type": "string" +}, +"adsLinks": { +"description": "Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.", +"items": { +"$ref": "AccountAdsLink" +}, +"type": "array" +}, +"adultContent": { +"description": "Indicates whether the merchant sells adult content.", +"type": "boolean" +}, +"automaticImprovements": { +"$ref": "AccountAutomaticImprovements", +"description": "The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately." +}, +"automaticLabelIds": { +"description": "Automatically created label IDs that are assigned to the account by CSS Center.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +}, +"businessIdentity": { +"$ref": "AccountBusinessIdentity", +"description": "The business identity attributes can be used to self-declare attributes that let customers know more about your business." +}, +"businessInformation": { +"$ref": "AccountBusinessInformation", +"description": "The business information of the account." +}, +"conversionSettings": { +"$ref": "AccountConversionSettings", +"description": "Settings for conversion tracking." +}, +"cssId": { +"description": "ID of CSS the account belongs to.", +"format": "uint64", +"type": "string" +}, +"googleMyBusinessLink": { +"$ref": "AccountGoogleMyBusinessLink", +"description": "The Business Profile which is linked or in the process of being linked with the Merchant Center account." +}, +"id": { +"description": "Required. 64-bit Merchant Center account ID.", +"format": "uint64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#account`\".", +"type": "string" +}, +"labelIds": { +"description": "Manually created label IDs that are assigned to the account by CSS.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. Display name for the account.", +"type": "string" +}, +"sellerId": { +"description": "Client-specific, locally-unique, internal ID for the child account.", +"type": "string" +}, +"users": { +"description": "Users with access to the account. Every account (except for subaccounts) must have at least one admin user.", +"items": { +"$ref": "AccountUser" +}, +"type": "array" +}, +"websiteUrl": { +"description": "The merchant's website.", +"type": "string" +}, +"youtubeChannelLinks": { +"description": "Linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.", +"items": { +"$ref": "AccountYouTubeChannelLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountAddress": { +"id": "AccountAddress", +"properties": { +"country": { +"description": "CLDR country code (for example, \"US\"). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.", +"type": "string" +}, +"locality": { +"description": "City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).", +"type": "string" +}, +"postalCode": { +"description": "Postal code or ZIP (for example, \"94043\").", +"type": "string" +}, +"region": { +"description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", +"type": "string" +}, +"streetAddress": { +"description": "Street-level part of the address. Use `\\n` to add a second line.", +"type": "string" +} +}, +"type": "object" +}, +"AccountAdsLink": { +"id": "AccountAdsLink", +"properties": { +"adsId": { +"description": "Customer ID of the Ads account.", +"format": "uint64", +"type": "string" +}, +"status": { +"description": "Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - \"`active`\" - \"`pending`\" ", +"type": "string" +} +}, +"type": "object" +}, +"AccountAutomaticImprovements": { +"description": "The automatic improvements of the account can be used to automatically update items, improve images and shipping.", +"id": "AccountAutomaticImprovements", +"properties": { +"imageImprovements": { +"$ref": "AccountImageImprovements", +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided." +}, +"itemUpdates": { +"$ref": "AccountItemUpdates", +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown. This field is only updated (cleared) if provided." +}, +"shippingImprovements": { +"$ref": "AccountShippingImprovements", +"description": "Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided." +} +}, +"type": "object" +}, +"AccountBusinessIdentity": { +"description": "The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business.", +"id": "AccountBusinessIdentity", +"properties": { +"blackOwned": { +"$ref": "AccountIdentityType", +"description": "Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." +}, +"includeForPromotions": { +"description": "Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won't affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.", +"type": "boolean" +}, +"latinoOwned": { +"$ref": "AccountIdentityType", +"description": "Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." +}, +"smallBusiness": { +"$ref": "AccountIdentityType", +"description": "Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to \"US\". It is also not allowed for marketplaces, but it is allowed to marketplace sellers." +}, +"veteranOwned": { +"$ref": "AccountIdentityType", +"description": "Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." +}, +"womenOwned": { +"$ref": "AccountIdentityType", +"description": "Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." +} +}, +"type": "object" +}, +"AccountBusinessInformation": { +"id": "AccountBusinessInformation", +"properties": { +"address": { +"$ref": "AccountAddress", +"description": "The address of the business. Use `\\n` to add a second address line." +}, +"customerService": { +"$ref": "AccountCustomerService", +"description": "The customer service information of the business." +}, +"koreanBusinessRegistrationNumber": { +"description": "The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.", +"type": "string" +}, +"phoneNumber": { +"description": "The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.", +"type": "string" +}, +"phoneVerificationStatus": { +"description": "Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - \"`verified`\" - \"`unverified`\" ", +"type": "string" +} +}, +"type": "object" +}, +"AccountConversionSettings": { +"description": "Settings for conversion tracking.", +"id": "AccountConversionSettings", +"properties": { +"freeListingsAutoTaggingEnabled": { +"description": "When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountCredentials": { +"description": "Credentials allowing Google to call a partner's API on behalf of a merchant.", +"id": "AccountCredentials", +"properties": { +"accessToken": { +"description": "An OAuth access token.", +"type": "string" +}, +"expiresIn": { +"description": "The amount of time, in seconds, after which the access token is no longer valid.", +"format": "int64", +"type": "string" +}, +"purpose": { +"description": "Indicates to Google how Google should use these OAuth tokens.", +"enum": [ +"ACCOUNT_CREDENTIALS_PURPOSE_UNSPECIFIED", +"SHOPIFY_ORDER_MANAGEMENT", +"SHOPIFY_INTEGRATION" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown purpose.", +"The credentials allow Google to manage Shopify orders on behalf of the merchant (deprecated).", +"The credentials allow Google to manage Shopify integration on behalf of the merchant." +], +"type": "string" +} +}, +"type": "object" +}, +"AccountCustomerService": { +"id": "AccountCustomerService", +"properties": { +"email": { +"description": "Customer service email.", +"type": "string" +}, +"phoneNumber": { +"description": "Customer service phone number.", +"type": "string" +}, +"url": { +"description": "Customer service URL.", +"type": "string" +} +}, +"type": "object" +}, +"AccountGoogleMyBusinessLink": { +"id": "AccountGoogleMyBusinessLink", +"properties": { +"gmbAccountId": { +"description": "The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.", +"type": "string" +}, +"gmbEmail": { +"description": "The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.", +"type": "string" +}, +"status": { +"description": "Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - \"`active`\" - \"`pending`\" ", +"type": "string" +} +}, +"type": "object" +}, +"AccountIdentifier": { +"id": "AccountIdentifier", +"properties": { +"aggregatorId": { +"description": "The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).", +"format": "uint64", +"type": "string" +}, +"merchantId": { +"description": "The merchant account ID, set for individual accounts and subaccounts.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"AccountIdentityType": { +"description": "The account identity type used to specify attributes.", +"id": "AccountIdentityType", +"properties": { +"selfIdentified": { +"description": "Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountImageImprovements": { +"description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)", +"id": "AccountImageImprovements", +"properties": { +"accountImageImprovementsSettings": { +"$ref": "AccountImageImprovementsSettings", +"description": "Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAutomaticImageImprovements": { +"description": "Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AccountImageImprovementsSettings": { +"description": "Settings for the Automatic Image Improvements.", +"id": "AccountImageImprovementsSettings", +"properties": { +"allowAutomaticImageImprovements": { +"description": "Enables automatic image improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountIssue": { +"description": "An issue affecting specific merchant.", +"id": "AccountIssue", +"properties": { +"actions": { +"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when merchant disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to merchant when they expand the issue.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"impact": { +"$ref": "AccountIssueImpact", +"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps merchants to quickly understand the impact of the issue. The detailed breakdown helps the merchant to fully understand the impact of the issue. It can be rendered as dialog that opens when the merchant mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." +}, +"prerenderedContent": { +"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", +"type": "string" +}, +"prerenderedOutOfCourtDisputeSettlement": { +"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that merchant may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for merchants to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.", +"type": "string" +}, +"title": { +"description": "Title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"AccountIssueImpact": { +"description": "Overall impact of the issue.", +"id": "AccountIssueImpact", +"properties": { +"breakdowns": { +"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the merchant. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"message": { +"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the merchant. For example: \"Disapproves 90k offers in 25 countries\"", +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.", +"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.", +"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required." +], +"type": "string" +} +}, +"type": "object" +}, +"AccountItemUpdates": { +"description": "Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.", +"id": "AccountItemUpdates", +"properties": { +"accountItemUpdatesSettings": { +"$ref": "AccountItemUpdatesSettings", +"description": "Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator." +}, +"effectiveAllowAvailabilityUpdates": { +"description": "Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowConditionUpdates": { +"description": "Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowPriceUpdates": { +"description": "Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +}, +"effectiveAllowStrictAvailabilityUpdates": { +"description": "Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"AccountItemUpdatesSettings": { +"description": "Settings for the Automatic Item Updates.", +"id": "AccountItemUpdatesSettings", +"properties": { +"allowAvailabilityUpdates": { +"description": "If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer\u2019s page.", +"type": "boolean" +}, +"allowConditionUpdates": { +"description": "If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.", +"type": "boolean" +}, +"allowPriceUpdates": { +"description": "If price updates are enabled, Google always updates the active price with the crawled information.", +"type": "boolean" +}, +"allowStrictAvailabilityUpdates": { +"description": "If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also allow availability updates.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountLabel": { +"description": "Label assigned by CSS domain or CSS group to one of its sub-accounts.", +"id": "AccountLabel", +"properties": { +"accountId": { +"description": "Immutable. The ID of account this label belongs to.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "The description of this label.", +"type": "string" +}, +"labelId": { +"description": "Output only. The ID of the label.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"labelType": { +"description": "Output only. The type of this label.", +"enum": [ +"LABEL_TYPE_UNSPECIFIED", +"MANUAL", +"AUTOMATIC" +], +"enumDescriptions": [ +"Unknown label type.", +"Indicates that the label was created manually.", +"Indicates that the label was created automatically by CSS Center." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The display name of this label.", +"type": "string" +} +}, +"type": "object" +}, +"AccountReturnCarrier": { +"description": " The return carrier information. This service is designed for merchants enrolled in the Buy on Google program. ", +"id": "AccountReturnCarrier", +"properties": { +"carrierAccountId": { +"description": "Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"carrierAccountName": { +"description": "Name of the carrier account.", +"type": "string" +}, +"carrierAccountNumber": { +"description": "Number of the carrier account.", +"type": "string" +}, +"carrierCode": { +"description": "The carrier code enum. Accepts the values FEDEX or UPS.", +"enum": [ +"CARRIER_CODE_UNSPECIFIED", +"FEDEX", +"UPS" +], +"enumDescriptions": [ +"Carrier not specified", +"FedEx carrier", +"UPS carrier" +], +"type": "string" +} +}, +"type": "object" +}, +"AccountShippingImprovements": { +"description": "Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data", +"id": "AccountShippingImprovements", +"properties": { +"allowShippingImprovements": { +"description": "Enables automatic shipping improvements.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountStatus": { +"description": "The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time.", +"id": "AccountStatus", +"properties": { +"accountId": { +"description": "The ID of the account for which the status is reported.", +"type": "string" +}, +"accountLevelIssues": { +"description": "A list of account level issues.", +"items": { +"$ref": "AccountStatusAccountLevelIssue" +}, +"type": "array" +}, +"accountManagement": { +"description": "How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"", +"type": "string" +}, +"products": { +"description": "List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.", +"items": { +"$ref": "AccountStatusProducts" +}, +"type": "array" +}, +"websiteClaimed": { +"description": "Whether the account's website is claimed or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountStatusAccountLevelIssue": { +"id": "AccountStatusAccountLevelIssue", +"properties": { +"country": { +"description": "Country for which this issue is reported.", +"type": "string" +}, +"destination": { +"description": "The destination the issue applies to. If this field is empty then the issue applies to all available destinations.", +"type": "string" +}, +"detail": { +"description": "Additional details about the issue.", +"type": "string" +}, +"documentation": { +"description": "The URL of a web page to help resolving this issue.", +"type": "string" +}, +"id": { +"description": "Issue identifier.", +"type": "string" +}, +"severity": { +"description": "Severity of the issue. Acceptable values are: - \"`critical`\" - \"`error`\" - \"`suggestion`\" ", +"type": "string" +}, +"title": { +"description": "Short description of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"AccountStatusItemLevelIssue": { +"id": "AccountStatusItemLevelIssue", +"properties": { +"attributeName": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentation": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"numItems": { +"description": "Number of items with this issue.", +"format": "int64", +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the merchant.", +"type": "string" +}, +"servability": { +"description": "How this issue affects serving of the offer.", +"type": "string" +} +}, +"type": "object" +}, +"AccountStatusProducts": { +"id": "AccountStatusProducts", +"properties": { +"channel": { +"description": "The channel the data applies to. Acceptable values are: - \"`local`\" - \"`online`\" ", +"type": "string" +}, +"country": { +"description": "The country the data applies to.", +"type": "string" +}, +"destination": { +"description": "The destination the data applies to.", +"type": "string" +}, +"itemLevelIssues": { +"description": "List of item-level issues.", +"items": { +"$ref": "AccountStatusItemLevelIssue" +}, +"type": "array" +}, +"statistics": { +"$ref": "AccountStatusStatistics", +"description": "Aggregated product statistics." +} +}, +"type": "object" +}, +"AccountStatusStatistics": { +"id": "AccountStatusStatistics", +"properties": { +"active": { +"description": "Number of active offers.", +"format": "int64", +"type": "string" +}, +"disapproved": { +"description": "Number of disapproved offers.", +"format": "int64", +"type": "string" +}, +"expiring": { +"description": "Number of expiring offers.", +"format": "int64", +"type": "string" +}, +"pending": { +"description": "Number of pending offers.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountTax": { +"description": "The tax settings of a merchant account. All methods require the admin role.", +"id": "AccountTax", +"properties": { +"accountId": { +"description": "Required. The ID of the account to which these account tax settings belong.", +"format": "uint64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountTax`\".", +"type": "string" +}, +"rules": { +"description": "Tax rules. Updating the tax rules will enable \"US\" taxes (not reversible). Defining no rules is equivalent to not charging tax at all.", +"items": { +"$ref": "AccountTaxTaxRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountTaxTaxRule": { +"description": "Tax calculation rule to apply in a state or province (US only).", +"id": "AccountTaxTaxRule", +"properties": { +"country": { +"description": "Country code in which tax is applicable.", +"type": "string" +}, +"locationId": { +"description": "Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).", +"format": "uint64", +"type": "string" +}, +"ratePercent": { +"description": "Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.", +"type": "string" +}, +"shippingTaxed": { +"description": "If true, shipping charges are also taxed.", +"type": "boolean" +}, +"useGlobalRate": { +"description": "Whether the tax rate is taken from a global tax table or specified explicitly.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountUser": { +"id": "AccountUser", +"properties": { +"admin": { +"description": "Whether user is an admin.", +"type": "boolean" +}, +"emailAddress": { +"description": "User's email address.", +"type": "string" +}, +"orderManager": { +"deprecated": true, +"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.", +"type": "boolean" +}, +"paymentsAnalyst": { +"deprecated": true, +"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.", +"type": "boolean" +}, +"paymentsManager": { +"deprecated": true, +"description": "This role is deprecated and can no longer be assigned. Any value set will be ignored.", +"type": "boolean" +}, +"readOnly": { +"description": "Optional. Whether user has standard read-only access.", +"type": "boolean" +}, +"reportingManager": { +"description": "Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.", +"type": "boolean" +} +}, +"type": "object" +}, +"AccountYouTubeChannelLink": { +"id": "AccountYouTubeChannelLink", +"properties": { +"channelId": { +"description": "Channel ID.", +"type": "string" +}, +"status": { +"description": "Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.", +"type": "string" +} +}, +"type": "object" +}, +"AccountsAuthInfoResponse": { +"id": "AccountsAuthInfoResponse", +"properties": { +"accountIdentifiers": { +"description": "The account identifiers corresponding to the authenticated user. - For an individual account: only the merchant ID is defined - For an aggregator: only the aggregator ID is defined - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined. ", +"items": { +"$ref": "AccountIdentifier" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsAuthInfoResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountsClaimWebsiteResponse": { +"id": "AccountsClaimWebsiteResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsClaimWebsiteResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountsCustomBatchRequest": { +"id": "AccountsCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "AccountsCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountsCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch accounts request.", +"id": "AccountsCustomBatchRequestEntry", +"properties": { +"account": { +"$ref": "Account", +"description": "The account to create or update. Only defined if the method is `insert` or `update`." +}, +"accountId": { +"description": "The ID of the targeted account. Only defined if the method is not `insert`.", +"format": "uint64", +"type": "string" +}, +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"force": { +"description": "Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.", +"type": "boolean" +}, +"labelIds": { +"description": "Label IDs for the 'updatelabels' request.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +}, +"linkRequest": { +"$ref": "AccountsCustomBatchRequestEntryLinkRequest", +"description": "Details about the `link` request." +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`claimWebsite`\" - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`link`\" - \"`update`\" ", +"type": "string" +}, +"overwrite": { +"description": "Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.", +"type": "boolean" +}, +"view": { +"description": "Controls which fields are visible. Only applicable if the method is 'get'.", +"type": "string" +} +}, +"type": "object" +}, +"AccountsCustomBatchRequestEntryLinkRequest": { +"id": "AccountsCustomBatchRequestEntryLinkRequest", +"properties": { +"action": { +"description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ", +"type": "string" +}, +"linkType": { +"description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" - \"`paymentServiceProvider`\" - \"`localProductManager`\" ", +"type": "string" +}, +"linkedAccountId": { +"description": "The ID of the linked account.", +"type": "string" +}, +"services": { +"description": "Provided services. Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" - \"`paymentProcessing`\" - \"`localProductManagement`\" ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountsCustomBatchResponse": { +"id": "AccountsCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "AccountsCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountsCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch accounts response.", +"id": "AccountsCustomBatchResponseEntry", +"properties": { +"account": { +"$ref": "Account", +"description": "The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`." +}, +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsCustomBatchResponseEntry`\"", +"type": "string" +} +}, +"type": "object" +}, +"AccountsLinkRequest": { +"id": "AccountsLinkRequest", +"properties": { +"action": { +"description": "Action to perform for this link. The `\"request\"` action is only available to select merchants. Acceptable values are: - \"`approve`\" - \"`remove`\" - \"`request`\" ", +"type": "string" +}, +"eCommercePlatformLinkInfo": { +"$ref": "ECommercePlatformLinkInfo", +"description": "Additional information required for `eCommercePlatform` link type." +}, +"linkType": { +"description": "Type of the link between the two accounts. Acceptable values are: - \"`channelPartner`\" - \"`eCommercePlatform`\" - \"`paymentServiceProvider`\" ", +"type": "string" +}, +"linkedAccountId": { +"description": "The ID of the linked account.", +"type": "string" +}, +"paymentServiceProviderLinkInfo": { +"$ref": "PaymentServiceProviderLinkInfo", +"description": "Additional information required for `paymentServiceProvider` link type." +}, +"services": { +"description": " Acceptable values are: - \"`shoppingAdsProductManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingActionsOrderManagement`\" - \"`paymentProcessing`\" ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountsLinkResponse": { +"id": "AccountsLinkResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsLinkResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountsListLinksResponse": { +"id": "AccountsListLinksResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsListLinksResponse`\".", +"type": "string" +}, +"links": { +"description": "The list of available links.", +"items": { +"$ref": "LinkedAccount" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of links.", +"type": "string" +} +}, +"type": "object" +}, +"AccountsListResponse": { +"id": "AccountsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of accounts.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "Account" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountsUpdateLabelsRequest": { +"id": "AccountsUpdateLabelsRequest", +"properties": { +"labelIds": { +"description": "The IDs of labels that should be assigned to the account.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountsUpdateLabelsResponse": { +"id": "AccountsUpdateLabelsResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountsUpdateLabelsResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountstatusesCustomBatchRequest": { +"id": "AccountstatusesCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "AccountstatusesCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccountstatusesCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch accountstatuses request.", +"id": "AccountstatusesCustomBatchRequestEntry", +"properties": { +"accountId": { +"description": "The ID of the (sub-)account whose status to get.", +"format": "uint64", +"type": "string" +}, +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"items": { +"type": "string" +}, +"type": "array" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", +"type": "string" +} +}, +"type": "object" +}, +"AccountstatusesCustomBatchResponse": { +"id": "AccountstatusesCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "AccountstatusesCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountstatusesCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccountstatusesCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch accountstatuses response.", +"id": "AccountstatusesCustomBatchResponseEntry", +"properties": { +"accountStatus": { +"$ref": "AccountStatus", +"description": "The requested account status. Defined if and only if the request was successful." +}, +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +} +}, +"type": "object" +}, +"AccountstatusesListResponse": { +"id": "AccountstatusesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountstatusesListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of account statuses.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "AccountStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccounttaxCustomBatchRequest": { +"id": "AccounttaxCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "AccounttaxCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AccounttaxCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch accounttax request.", +"id": "AccounttaxCustomBatchRequestEntry", +"properties": { +"accountId": { +"description": "The ID of the account for which to get/update account tax settings.", +"format": "uint64", +"type": "string" +}, +"accountTax": { +"$ref": "AccountTax", +"description": "The account tax settings to update. Only defined if the method is `update`." +}, +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ", +"type": "string" +} +}, +"type": "object" +}, +"AccounttaxCustomBatchResponse": { +"id": "AccounttaxCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "AccounttaxCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"AccounttaxCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch accounttax response.", +"id": "AccounttaxCustomBatchResponseEntry", +"properties": { +"accountTax": { +"$ref": "AccountTax", +"description": "The retrieved or updated account tax settings." +}, +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxCustomBatchResponseEntry`\"", +"type": "string" +} +}, +"type": "object" +}, +"AccounttaxListResponse": { +"id": "AccounttaxListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accounttaxListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of account tax settings.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "AccountTax" +}, +"type": "array" +} +}, +"type": "object" +}, +"Action": { +"description": "An actionable step that can be executed to solve the issue.", +"id": "Action", +"properties": { +"builtinSimpleAction": { +"$ref": "BuiltInSimpleAction", +"description": "Action implemented and performed in (your) third-party application. The application should point the merchant to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available." +}, +"builtinUserInputAction": { +"$ref": "BuiltInUserInputAction", +"description": "Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the merchant as specified for given action. They can trigger the action only when they provided all required inputs." +}, +"buttonLabel": { +"description": "Label of the action button.", +"type": "string" +}, +"externalAction": { +"$ref": "ExternalAction", +"description": "Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the merchant to the external location where they can perform the action." +}, +"isAvailable": { +"description": "Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.", +"type": "boolean" +}, +"reasons": { +"description": "List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.", +"items": { +"$ref": "ActionReason" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActionFlow": { +"description": "Flow that can be selected for an action. When merchant selects a flow, application should open a dialog with more information and input form.", +"id": "ActionFlow", +"properties": { +"dialogButtonLabel": { +"description": "Label for the button to trigger the action from the action dialog. For example: \"Request review\"", +"type": "string" +}, +"dialogCallout": { +"$ref": "Callout", +"description": "Important message to be highlighted in the request dialog. For example: \"You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review.\"" +}, +"dialogMessage": { +"$ref": "TextWithTooltip", +"description": "Message displayed in the request dialog. For example: \"Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review\". There may be an more information to be shown in a tooltip." +}, +"dialogTitle": { +"description": "Title of the request dialog. For example: \"Before you request a review\"", +"type": "string" +}, +"id": { +"description": "Not for display but need to be sent back for the selected action flow.", +"type": "string" +}, +"inputs": { +"description": "A list of input fields.", +"items": { +"$ref": "InputField" +}, +"type": "array" +}, +"label": { +"description": "Text value describing the intent for the action flow. It can be used as an input label if merchant needs to pick one of multiple flows. For example: \"I disagree with the issue\"", +"type": "string" +} +}, +"type": "object" +}, +"ActionInput": { +"description": "Input provided by the merchant.", +"id": "ActionInput", +"properties": { +"actionFlowId": { +"description": "Required. Id of the selected action flow.", +"type": "string" +}, +"inputValues": { +"description": "Required. Values for input fields.", +"items": { +"$ref": "InputValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ActionReason": { +"description": "A single reason why the action is not available.", +"id": "ActionReason", +"properties": { +"action": { +"$ref": "Action", +"description": "Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once merchant configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action." +}, +"detail": { +"description": "Detailed explanation of the reason. Should be displayed as a hint if present.", +"type": "string" +}, +"message": { +"description": "Messages summarizing the reason, why the action is not available. For example: \"Review requested on Jan 03. Review requests can take a few days to complete.\"", +"type": "string" +} +}, +"type": "object" +}, +"Address": { +"id": "Address", +"properties": { +"administrativeArea": { +"description": "Required. Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", +"type": "string" +}, +"city": { +"description": "Required. City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).", +"type": "string" +}, +"country": { +"description": "Required. [CLDR country code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) (for example, \"US\").", +"type": "string" +}, +"postalCode": { +"description": "Required. Postal code or ZIP (for example, \"94043\").", +"type": "string" +}, +"streetAddress": { +"description": "Street-level part of the address. Use `\\n` to add a second line.", +"type": "string" +} +}, +"type": "object" +}, +"AlternateDisputeResolution": { +"description": "The Alternate Dispute Resolution (ADR) that may be available to merchants in some regions. If present, the link should be shown on the same page as the list of issues.", +"id": "AlternateDisputeResolution", +"properties": { +"label": { +"description": "The label for the alternate dispute resolution link.", +"type": "string" +}, +"uri": { +"description": "The URL pointing to a page, where merchant can request alternative dispute resolution with an [external body](https://support.google.com/european-union-digital-services-act-redress-options/answer/13535501).", +"type": "string" +} +}, +"type": "object" +}, +"AttributionSettings": { +"description": "Represents attribution settings for conversion sources receiving pre-attribution data.", +"id": "AttributionSettings", +"properties": { +"attributionLookbackWindowInDays": { +"description": "Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.", +"format": "int32", +"type": "integer" +}, +"attributionModel": { +"enum": [ +"ATTRIBUTION_MODEL_UNSPECIFIED", +"CROSS_CHANNEL_LAST_CLICK", +"ADS_PREFERRED_LAST_CLICK", +"CROSS_CHANNEL_DATA_DRIVEN", +"CROSS_CHANNEL_FIRST_CLICK", +"CROSS_CHANNEL_LINEAR", +"CROSS_CHANNEL_POSITION_BASED", +"CROSS_CHANNEL_TIME_DECAY" +], +"enumDescriptions": [ +"", +"Cross-channel Last Click model.", +"Ads-preferred Last Click model.", +"Cross-channel Data Driven model.", +"Cross-channel First Click model.", +"Cross-channel Linear model.", +"Cross-channel Position Based model.", +"Cross-channel Time Decay model." +], +"type": "string" +}, +"conversionType": { +"description": "Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard \"purchase\" type will be automatically created if this list is empty at creation time.", +"items": { +"$ref": "AttributionSettingsConversionType" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttributionSettingsConversionType": { +"description": "Message representing a types of conversion events", +"id": "AttributionSettingsConversionType", +"properties": { +"includeInReporting": { +"description": "Output only. Option indicating if the type should be included in Merchant Center reporting.", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. Conversion event name, as it'll be reported by the client.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BestSellers": { +"description": "Fields related to the [Best sellers reports](https://support.google.com/merchants/answer/9488679).", +"id": "BestSellers", +"properties": { +"categoryId": { +"description": "Google product category ID to calculate the ranking for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). If a `WHERE` condition on `best_sellers.category_id` is not specified in the query, rankings for all top-level categories are returned.", +"format": "int64", +"type": "string" +}, +"countryCode": { +"description": "Country where the ranking is calculated. A `WHERE` condition on `best_sellers.country_code` is required in the query.", +"type": "string" +}, +"previousRank": { +"description": "Popularity rank in the previous week or month.", +"format": "int64", +"type": "string" +}, +"previousRelativeDemand": { +"description": "Estimated demand in relation to the item with the highest popularity rank in the same category and country in the previous week or month.", +"enum": [ +"RELATIVE_DEMAND_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Relative demand is unknown.", +"Demand is 0-5% of the demand of the highest ranked product clusters or brands.", +"Demand is 6-10% of the demand of the highest ranked product clusters or brands.", +"Demand is 11-20% of the demand of the highest ranked product clusters or brands.", +"Demand is 21-50% of the demand of the highest ranked product clusters or brands.", +"Demand is 51-100% of the demand of the highest ranked product clusters or brands." +], +"type": "string" +}, +"rank": { +"description": "Popularity on Shopping ads and free listings, in the selected category and country, based on the estimated number of units sold.", +"format": "int64", +"type": "string" +}, +"relativeDemand": { +"description": "Estimated demand in relation to the item with the highest popularity rank in the same category and country.", +"enum": [ +"RELATIVE_DEMAND_UNSPECIFIED", +"VERY_LOW", +"LOW", +"MEDIUM", +"HIGH", +"VERY_HIGH" +], +"enumDescriptions": [ +"Relative demand is unknown.", +"Demand is 0-5% of the demand of the highest ranked product clusters or brands.", +"Demand is 6-10% of the demand of the highest ranked product clusters or brands.", +"Demand is 11-20% of the demand of the highest ranked product clusters or brands.", +"Demand is 21-50% of the demand of the highest ranked product clusters or brands.", +"Demand is 51-100% of the demand of the highest ranked product clusters or brands." +], +"type": "string" +}, +"relativeDemandChange": { +"description": "Change in the estimated demand. Whether it rose, sank or remained flat.", +"enum": [ +"RELATIVE_DEMAND_CHANGE_TYPE_UNSPECIFIED", +"SINKER", +"FLAT", +"RISER" +], +"enumDescriptions": [ +"Relative demand change is unknown.", +"Relative demand is lower than previous time period.", +"Relative demand is equal to previous time period.", +"Relative demand is higher than the previous time period." +], +"type": "string" +}, +"reportDate": { +"$ref": "Date", +"description": "Report date. The value of this field can only be one of the following: * The first day of the week (Monday) for weekly reports. * The first day of the month for monthly reports. If a `WHERE` condition on `best_sellers.report_date` is not specified in the query, the latest available weekly or monthly report is returned." +}, +"reportGranularity": { +"description": "Granularity of the report. The ranking can be done over a week or a month timeframe. A `WHERE` condition on `best_sellers.report_granularity` is required in the query.", +"enum": [ +"REPORT_GRANULARITY_UNSPECIFIED", +"WEEKLY", +"MONTHLY" +], +"enumDescriptions": [ +"Report granularity is unknown.", +"Ranking is done over a week timeframe.", +"Ranking is done over a month timeframe." +], +"type": "string" +} +}, +"type": "object" +}, +"Brand": { +"description": "Brand fields. Values are only set for fields requested explicitly in the request's search query.", +"id": "Brand", +"properties": { +"name": { +"description": "Name of the brand.", +"type": "string" +} +}, +"type": "object" +}, +"Breakdown": { +"description": "A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.", +"id": "Breakdown", +"properties": { +"details": { +"description": "Human readable, localized description of issue's effect on different targets. Should be rendered as a list. For example: * \"Products not showing in ads\" * \"Products not showing organically\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"regions": { +"description": "Lists of regions. Should be rendered as a title for this group of details. The full list should be shown to merchant. If the list is too long, it is recommended to make it expandable.", +"items": { +"$ref": "BreakdownRegion" +}, +"type": "array" +} +}, +"type": "object" +}, +"BreakdownRegion": { +"description": "Region with code and localized name.", +"id": "BreakdownRegion", +"properties": { +"code": { +"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml)", +"type": "string" +}, +"name": { +"description": "The localized name of the region. For region with code='001' the value is 'All countries' or the equivalent in other languages.", +"type": "string" +} +}, +"type": "object" +}, +"BuiltInSimpleAction": { +"description": "Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to merchant and will help them with resolving the issue. The application should point the merchant to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to merchant and provide them with instructions how to solve the issue.", +"id": "BuiltInSimpleAction", +"properties": { +"additionalContent": { +"$ref": "BuiltInSimpleActionAdditionalContent", +"description": "Long text from an external source that should be available to the merchant. Present when the type is `SHOW_ADDITIONAL_CONTENT`." +}, +"attributeCode": { +"description": "The attribute that needs to be updated. Present when the type is `EDIT_ITEM_ATTRIBUTE`. This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes [here](https://support.google.com/merchants/answer/7052112).", +"type": "string" +}, +"type": { +"description": "The type of action that represents a functionality that is expected to be available in third-party application.", +"enum": [ +"BUILT_IN_SIMPLE_ACTION_TYPE_UNSPECIFIED", +"VERIFY_PHONE", +"CLAIM_WEBSITE", +"ADD_PRODUCTS", +"ADD_CONTACT_INFO", +"LINK_ADS_ACCOUNT", +"ADD_BUSINESS_REGISTRATION_NUMBER", +"EDIT_ITEM_ATTRIBUTE", +"FIX_ACCOUNT_ISSUE", +"SHOW_ADDITIONAL_CONTENT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect merchant to the part of your application where they can verify their phone.", +"Redirect merchant to the part of your application where they can claim their website.", +"Redirect merchant to the part of your application where they can add products.", +"Open a form where the merchant can edit their contact information.", +"Redirect merchant to the part of your application where they can link ads account.", +"Open a form where the merchant can add their business registration number.", +"Open a form where the merchant can edit an attribute. The attribute that needs to be updated is specified in attribute_code field of the action.", +"Redirect merchant from the product issues to the diagnostic page with their account issues in your application. This action will be returned only for product issues that are caused by an account issue and thus merchant should resolve the problem on the account level.", +"Show additional content to the merchant. This action will be used for example to deliver a justification from national authority." +], +"type": "string" +} +}, +"type": "object" +}, +"BuiltInSimpleActionAdditionalContent": { +"description": "Long text from external source.", +"id": "BuiltInSimpleActionAdditionalContent", +"properties": { +"paragraphs": { +"description": "Long text organized into paragraphs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Title of the additional content;", +"type": "string" +} +}, +"type": "object" +}, +"BuiltInUserInputAction": { +"description": "Action that is implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the merchant. They can start the action only when they provided all required inputs. The application will request processing of the action by calling the [triggeraction method](https://developers.google.com/shopping-content/reference/rest/v2.1/merchantsupport/triggeraction).", +"id": "BuiltInUserInputAction", +"properties": { +"actionContext": { +"description": "Internal details. Not for display but need to be sent back when triggering the action.", +"type": "string" +}, +"flows": { +"description": "Actions may provide multiple different flows. Merchant selects one that fits best to their intent. Selecting the flow is the first step in user's interaction with the action. It affects what input fields will be available and required and also how the request will be processed.", +"items": { +"$ref": "ActionFlow" +}, +"type": "array" +} +}, +"type": "object" +}, +"BusinessDayConfig": { +"id": "BusinessDayConfig", +"properties": { +"businessDays": { +"description": "Regular business days, such as '\"monday\"'. May not be empty.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Callout": { +"description": "An important message that should be highlighted. Usually displayed as a banner.", +"id": "Callout", +"properties": { +"fullMessage": { +"$ref": "TextWithTooltip", +"description": "A full message that needs to be shown to the merchant." +}, +"styleHint": { +"description": "Can be used to render messages with different severity in different styles. Snippets off all types contain important information that should be displayed to merchants.", +"enum": [ +"CALLOUT_STYLE_HINT_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"The most important type of information highlighting problems, like an unsuccessful outcome of previously requested actions.", +"Information warning about pending problems, risks or deadlines.", +"Default severity for important information like pending status of previously requested action or cooldown for re-review." +], +"type": "string" +} +}, +"type": "object" +}, +"CarrierRate": { +"id": "CarrierRate", +"properties": { +"carrierName": { +"description": "Carrier service, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved through the `getSupportedCarriers` method. Required.", +"type": "string" +}, +"carrierService": { +"description": "Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved through the `getSupportedCarriers` method. Required.", +"type": "string" +}, +"flatAdjustment": { +"$ref": "Price", +"description": "Additive shipping rate modifier. Can be negative. For example `{ \"value\": \"1\", \"currency\" : \"USD\" }` adds $1 to the rate, `{ \"value\": \"-3\", \"currency\" : \"USD\" }` removes $3 from the rate. Optional." +}, +"name": { +"description": "Name of the carrier rate. Must be unique per rate group. Required.", +"type": "string" +}, +"originPostalCode": { +"description": "Shipping origin for this carrier rate. Required.", +"type": "string" +}, +"percentageAdjustment": { +"description": "Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example `\"5.4\"` increases the rate by 5.4%, `\"-3\"` decreases the rate by 3%. Optional.", +"type": "string" +} +}, +"type": "object" +}, +"CarriersCarrier": { +"id": "CarriersCarrier", +"properties": { +"country": { +"description": "The CLDR country code of the carrier (for example, \"US\"). Always present.", +"type": "string" +}, +"eddServices": { +"description": "A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the carrier (for example, `\"UPS\"`). Always present.", +"type": "string" +}, +"services": { +"description": "A list of supported services (for example, `\"ground\"`) for that carrier. Contains at least one service. This is the list of valid values for CarrierRate.carrierService.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CheckoutSettings": { +"description": "`CheckoutSettings` for a specific merchant ID.", +"id": "CheckoutSettings", +"properties": { +"effectiveEnrollmentState": { +"description": "Output only. The effective value of enrollment state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.", +"enum": [ +"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPT_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the feature.", +"Merchant has enrolled into the feature by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the feature." +], +"readOnly": true, +"type": "string" +}, +"effectiveReviewState": { +"description": "Output only. The effective value of review state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account.", +"enum": [ +"CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"effectiveUriSettings": { +"$ref": "UrlSettings", +"description": "The effective value of `url_settings` for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account." +}, +"enrollmentState": { +"description": "Output only. Reflects the merchant enrollment state in `Checkout` feature.", +"enum": [ +"CHECKOUT_ON_MERCHANT_ENROLLMENT_STATE_UNSPECIFIED", +"INACTIVE", +"ENROLLED", +"OPT_OUT" +], +"enumDescriptions": [ +"Default enrollment state when enrollment state is not specified.", +"Merchant has not enrolled into the feature.", +"Merchant has enrolled into the feature by providing either an account level URL or checkout URLs as part of their feed.", +"Merchant has previously enrolled but opted out of the feature." +], +"readOnly": true, +"type": "string" +}, +"merchantId": { +"description": "Required. The ID of the account.", +"format": "int64", +"type": "string" +}, +"reviewState": { +"description": "Output only. Reflects the merchant review state in `Checkout` feature. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state as `ENROLLED` can be in the following review states: `IN_REVIEW`, `APPROVED` or `DISAPPROVED`. A merchant must be in an enrollment_state of `ENROLLED` before a review can begin for the merchant.", +"enum": [ +"CHECKOUT_ON_MERCHANT_REVIEW_STATE_UNSPECIFIED", +"IN_REVIEW", +"APPROVED", +"DISAPPROVED" +], +"enumDescriptions": [ +"Default review state when review state is not specified.", +"Merchant provided URLs are being reviewed for data quality issues.", +"Merchant account has been approved. Indicates the data quality checks have passed.", +"Merchant account has been disapproved due to data quality issues." +], +"readOnly": true, +"type": "string" +}, +"uriSettings": { +"$ref": "UrlSettings", +"description": "URL settings for cart or checkout URL." +} +}, +"type": "object" +}, +"CloudExportAdditionalProperties": { +"description": "Product property for the Cloud Retail API. For example, properties for a TV product could be \"Screen-Resolution\" or \"Screen-Size\".", +"id": "CloudExportAdditionalProperties", +"properties": { +"boolValue": { +"description": "Boolean value of the given property. For example for a TV product, \"True\" or \"False\" if the screen is UHD.", +"type": "boolean" +}, +"floatValue": { +"description": "Float values of the given property. For example for a TV product 1.2345. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.", +"items": { +"format": "float", +"type": "number" +}, +"type": "array" +}, +"intValue": { +"description": "Integer values of the given property. For example, 1080 for a screen resolution of a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"maxValue": { +"description": "Maximum float value of the given property. For example for a TV product 100.00.", +"format": "float", +"type": "number" +}, +"minValue": { +"description": "Minimum float value of the given property. For example for a TV product 1.00.", +"format": "float", +"type": "number" +}, +"propertyName": { +"description": "Name of the given property. For example, \"Screen-Resolution\" for a TV product. Maximum string size is 256 characters.", +"type": "string" +}, +"textValue": { +"description": "Text value of the given property. For example, \"8K(UHD)\" could be a text value for a TV product. Maximum number of specified values for this field is 400. Values are stored in an arbitrary but consistent order. Maximum string size is 256 characters.", +"items": { +"type": "string" +}, +"type": "array" +}, +"unitCode": { +"description": "Unit of the given property. For example, \"Pixels\" for a TV product. Maximum string size is 256 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Collection": { +"description": "The collection message.", +"id": "Collection", +"properties": { +"customLabel0": { +"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns. [Custom label](https://support.google.com/merchants/answer/9674217)", +"type": "string" +}, +"customLabel1": { +"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.", +"type": "string" +}, +"customLabel2": { +"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.", +"type": "string" +}, +"customLabel3": { +"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.", +"type": "string" +}, +"customLabel4": { +"description": "Label that you assign to a collection to help organize bidding and reporting in Shopping campaigns.", +"type": "string" +}, +"featuredProduct": { +"description": "This identifies one or more products associated with the collection. Used as a lookup to the corresponding product ID in your product feeds. Provide a maximum of 100 featuredProduct (for collections). Provide up to 10 featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. [featured_product attribute](https://support.google.com/merchants/answer/9703736)", +"items": { +"$ref": "CollectionFeaturedProduct" +}, +"type": "array" +}, +"headline": { +"description": "Your collection's name. [headline attribute](https://support.google.com/merchants/answer/9673580)", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Required. The REST ID of the collection. Content API methods that operate on collections take this as their collectionId parameter. The REST ID for a collection is of the form collectionId. [id attribute](https://support.google.com/merchants/answer/9649290)", +"type": "string" +}, +"imageLink": { +"description": "The URL of a collection\u2019s image. [image_link attribute](https://support.google.com/merchants/answer/9703236)", +"items": { +"type": "string" +}, +"type": "array" +}, +"language": { +"description": "The language of a collection and the language of any featured products linked to the collection. [language attribute](https://support.google.com/merchants/answer/9673781)", +"type": "string" +}, +"link": { +"description": "A collection\u2019s landing page. URL directly linking to your collection's page on your website. [link attribute](https://support.google.com/merchants/answer/9673983)", +"type": "string" +}, +"mobileLink": { +"description": "A collection\u2019s mobile-optimized landing page when you have a different URL for mobile and desktop traffic. [mobile_link attribute](https://support.google.com/merchants/answer/9646123)", +"type": "string" +}, +"productCountry": { +"description": "[product_country attribute](https://support.google.com/merchants/answer/9674155)", +"type": "string" +} +}, +"type": "object" +}, +"CollectionFeaturedProduct": { +"description": "The message for FeaturedProduct. [FeaturedProduct](https://support.google.com/merchants/answer/9703736)", +"id": "CollectionFeaturedProduct", +"properties": { +"offerId": { +"description": "The unique identifier for the product item.", +"type": "string" +}, +"x": { +"description": "Required. X-coordinate of the product callout on the Shoppable Image.", +"format": "float", +"type": "number" +}, +"y": { +"description": "Required. Y-coordinate of the product callout on the Shoppable Image.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CollectionStatus": { +"description": "The collectionstatus message.", +"id": "CollectionStatus", +"properties": { +"collectionLevelIssuses": { +"description": "A list of all issues associated with the collection.", +"items": { +"$ref": "CollectionStatusItemLevelIssue" +}, +"type": "array" +}, +"creationDate": { +"description": "Date on which the collection has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", +"type": "string" +}, +"destinationStatuses": { +"description": "The intended destinations for the collection.", +"items": { +"$ref": "CollectionStatusDestinationStatus" +}, +"type": "array" +}, +"id": { +"description": "Required. The ID of the collection for which status is reported.", +"type": "string" +}, +"lastUpdateDate": { +"description": "Date on which the collection has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", +"type": "string" +} +}, +"type": "object" +}, +"CollectionStatusDestinationStatus": { +"description": "Destination status message.", +"id": "CollectionStatusDestinationStatus", +"properties": { +"approvedCountries": { +"description": "Country codes (ISO 3166-1 alpha-2) where the collection is approved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destination": { +"description": "The name of the destination", +"type": "string" +}, +"disapprovedCountries": { +"description": "Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pendingCountries": { +"description": "Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"description": "The status for the specified destination in the collections target country.", +"type": "string" +} +}, +"type": "object" +}, +"CollectionStatusItemLevelIssue": { +"description": "Issue associated with the collection.", +"id": "CollectionStatusItemLevelIssue", +"properties": { +"applicableCountries": { +"description": "Country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"attributeName": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"destination": { +"description": "The destination the issue applies to.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentation": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the merchant.", +"type": "string" +}, +"servability": { +"description": "How this issue affects the serving of the collection.", +"type": "string" +} +}, +"type": "object" +}, +"CompetitiveVisibility": { +"description": "Fields related to [competitive visibility reports] (https://support.google.com/merchants/answer/11366442).", +"id": "CompetitiveVisibility", +"properties": { +"adsOrganicRatio": { +"description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree-ratio) shows how often a merchant receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"categoryBenchmarkVisibilityTrend": { +"description": "Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"categoryId": { +"description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.category_id` is required in the query.", +"format": "int64", +"type": "string" +}, +"countryCode": { +"description": "The country where impression appeared. Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.country_code` is required in the query.", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date of this row. Available only in `CompetitiveVisibilityBenchmarkView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityMarketBenchmarkView`." +}, +"domain": { +"description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"type": "string" +}, +"higherPositionRate": { +"description": "Higher position rate shows how often a competitor\u2019s offer got placed in a higher position on the page than your offer. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"isYourDomain": { +"description": "True if this row contains data for your domain. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"type": "boolean" +}, +"pageOverlapRate": { +"description": "Page overlap rate describes how frequently competing retailers\u2019 offers are shown together with your offers on the same page. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"rank": { +"description": "Position of the domain in the top merchants ranking for the selected keys (`date`, `category_id`, `country_code`, `listing_type`) based on impressions. 1 is the highest. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "uint64", +"type": "string" +}, +"relativeVisibility": { +"description": "Relative visibility shows how often your competitors\u2019 offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Available only in `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +}, +"trafficSource": { +"description": "Type of impression listing. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.", +"enum": [ +"UNKNOWN", +"ORGANIC", +"ADS", +"ALL" +], +"enumDescriptions": [ +"Traffic source is unknown.", +"Organic traffic.", +"Traffic from Ads.", +"Organic and Ads traffic." +], +"type": "string" +}, +"yourDomainVisibilityTrend": { +"description": "Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ConversionSource": { +"description": "Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.", +"id": "ConversionSource", +"properties": { +"conversionSourceId": { +"description": "Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"googleAnalyticsLink": { +"$ref": "GoogleAnalyticsLink", +"description": "Immutable. Conversion Source of type \"Link to Google Analytics Property\"." +}, +"merchantCenterDestination": { +"$ref": "MerchantCenterDestination", +"description": "Conversion Source of type \"Merchant Center Tag Destination\"." +}, +"state": { +"description": "Output only. Current state of this conversion source. Can't be edited through the API.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"PENDING" +], +"enumDescriptions": [ +"", +"Conversion source is fully functional.", +"Conversion source has been archived in the last 30 days and not currently functional. Can be restored using the undelete method.", +"Conversion source creation has started but not fully finished yet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Css": { +"description": "Information about CSS domain.", +"id": "Css", +"properties": { +"cssDomainId": { +"description": "Output only. Immutable. The CSS domain ID.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"cssGroupId": { +"description": "Output only. Immutable. The ID of the CSS group this CSS domain is affiliated with. Only populated for CSS group users.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. Immutable. The CSS domain's display name, used when space is constrained.", +"readOnly": true, +"type": "string" +}, +"fullName": { +"description": "Output only. Immutable. The CSS domain's full name.", +"readOnly": true, +"type": "string" +}, +"homepageUri": { +"description": "Output only. Immutable. The CSS domain's homepage.", +"readOnly": true, +"type": "string" +}, +"labelIds": { +"description": "A list of label IDs that are assigned to this CSS domain by its CSS group. Only populated for CSS group users.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomAttribute": { +"description": "A message that represents custom attributes. Exactly one of `value` or `groupValues` must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.", +"id": "CustomAttribute", +"properties": { +"groupValues": { +"description": "Subattributes within this attribute group. Exactly one of value or groupValues must be provided.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "The name of the attribute. Underscores will be replaced by spaces upon insertion.", +"type": "string" +}, +"value": { +"description": "The value of the attribute.", +"type": "string" +} +}, +"type": "object" +}, +"CutoffTime": { +"id": "CutoffTime", +"properties": { +"hour": { +"description": "Hour of the cutoff time until which an order has to be placed to be processed in the same day. Required.", +"format": "uint32", +"type": "integer" +}, +"minute": { +"description": "Minute of the cutoff time until which an order has to be placed to be processed in the same day. Required.", +"format": "uint32", +"type": "integer" +}, +"timezone": { +"description": "Timezone identifier for the cutoff time (for example, \"Europe/Zurich\"). List of identifiers. Required.", +"type": "string" +} +}, +"type": "object" +}, +"Datafeed": { +"description": "Datafeed configuration data.", +"id": "Datafeed", +"properties": { +"attributeLanguage": { +"description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed.", +"type": "string" +}, +"contentType": { +"description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - \"`local products`\" - \"`product inventory`\" - \"`products`\" ", +"type": "string" +}, +"fetchSchedule": { +"$ref": "DatafeedFetchSchedule", +"description": "Fetch schedule for the feed file." +}, +"fileName": { +"description": "Required. The filename of the feed. All feeds must have a unique file name.", +"type": "string" +}, +"format": { +"$ref": "DatafeedFormat", +"description": "Format of the feed file." +}, +"id": { +"description": "Required for update. The ID of the data feed.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"", +"type": "string" +}, +"name": { +"description": "Required for insert. A descriptive name of the data feed.", +"type": "string" +}, +"targets": { +"description": "The targets this feed should apply to (country, language, destinations).", +"items": { +"$ref": "DatafeedTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedFetchSchedule": { +"description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.", +"id": "DatafeedFetchSchedule", +"properties": { +"dayOfMonth": { +"description": "The day of the month the feed file should be fetched (1-31).", +"format": "uint32", +"type": "integer" +}, +"fetchUrl": { +"description": "The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.", +"type": "string" +}, +"hour": { +"description": "The hour of the day the feed file should be fetched (0-23).", +"format": "uint32", +"type": "integer" +}, +"minuteOfHour": { +"description": "The minute of the hour the feed file should be fetched (0-59). Read-only.", +"format": "uint32", +"type": "integer" +}, +"password": { +"description": "An optional password for fetch_url.", +"type": "string" +}, +"paused": { +"description": "Whether the scheduled fetch is paused or not.", +"type": "boolean" +}, +"timeZone": { +"description": "Time zone used for schedule. UTC by default. For example, \"America/Los_Angeles\".", +"type": "string" +}, +"username": { +"description": "An optional user name for fetch_url.", +"type": "string" +}, +"weekday": { +"description": "The day of the week the feed file should be fetched. Acceptable values are: - \"`monday`\" - \"`tuesday`\" - \"`wednesday`\" - \"`thursday`\" - \"`friday`\" - \"`saturday`\" - \"`sunday`\" ", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedFormat": { +"id": "DatafeedFormat", +"properties": { +"columnDelimiter": { +"description": "Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`pipe`\" - \"`tab`\" - \"`tilde`\" ", +"type": "string" +}, +"fileEncoding": { +"description": "Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - \"`latin-1`\" - \"`utf-16be`\" - \"`utf-16le`\" - \"`utf-8`\" - \"`windows-1252`\" ", +"type": "string" +}, +"quotingMode": { +"description": "Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - \"`normal character`\" - \"`value quoting`\" ", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedStatus": { +"description": "The status of a datafeed, that is, the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.", +"id": "DatafeedStatus", +"properties": { +"country": { +"description": "The country for which the status is reported, represented as a CLDR territory code.", +"type": "string" +}, +"datafeedId": { +"description": "The ID of the feed for which the status is reported.", +"format": "uint64", +"type": "string" +}, +"errors": { +"description": "The list of errors occurring in the feed.", +"items": { +"$ref": "DatafeedStatusError" +}, +"type": "array" +}, +"feedLabel": { +"description": "The feed label status is reported for.", +"type": "string" +}, +"itemsTotal": { +"description": "The number of items in the feed that were processed.", +"format": "uint64", +"type": "string" +}, +"itemsValid": { +"description": "The number of items in the feed that were valid.", +"format": "uint64", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedStatus`\"", +"type": "string" +}, +"language": { +"description": "The two-letter ISO 639-1 language for which the status is reported.", +"type": "string" +}, +"lastUploadDate": { +"description": "The last date at which the feed was uploaded.", +"type": "string" +}, +"processingStatus": { +"description": "The processing status of the feed. Acceptable values are: - \"`\"`failure`\": The feed could not be processed or all items had errors.`\" - \"`in progress`\": The feed is being processed. - \"`none`\": The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - \"`success`\": The feed was processed successfully, though some items might have had errors. ", +"type": "string" +}, +"warnings": { +"description": "The list of errors occurring in the feed.", +"items": { +"$ref": "DatafeedStatusError" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedStatusError": { +"description": "An error occurring in the feed, like \"invalid price\".", +"id": "DatafeedStatusError", +"properties": { +"code": { +"description": "The code of the error, for example, \"validation/invalid_value\".", +"type": "string" +}, +"count": { +"description": "The number of occurrences of the error in the feed.", +"format": "uint64", +"type": "string" +}, +"examples": { +"description": "A list of example occurrences of the error, grouped by product.", +"items": { +"$ref": "DatafeedStatusExample" +}, +"type": "array" +}, +"message": { +"description": "The error message, for example, \"Invalid price\".", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedStatusExample": { +"description": "An example occurrence for a particular error.", +"id": "DatafeedStatusExample", +"properties": { +"itemId": { +"description": "The ID of the example item.", +"type": "string" +}, +"lineNumber": { +"description": "Line number in the data feed where the example is found.", +"format": "uint64", +"type": "string" +}, +"value": { +"description": "The problematic value.", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedTarget": { +"id": "DatafeedTarget", +"properties": { +"country": { +"description": "Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.", +"type": "string" +}, +"excludedDestinations": { +"description": "The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"feedLabel": { +"description": "Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).", +"type": "string" +}, +"includedDestinations": { +"description": "The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"language": { +"description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.", +"type": "string" +}, +"targetCountries": { +"description": "The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for \"product inventory\" feeds.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedsCustomBatchRequest": { +"id": "DatafeedsCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "DatafeedsCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedsCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch datafeeds request.", +"id": "DatafeedsCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"datafeed": { +"$ref": "Datafeed", +"description": "The data feed to insert." +}, +"datafeedId": { +"description": "The ID of the data feed to get, delete or fetch.", +"format": "uint64", +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`fetchNow`\" - \"`get`\" - \"`insert`\" - \"`update`\" ", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedsCustomBatchResponse": { +"id": "DatafeedsCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "DatafeedsCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedsCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch datafeeds response.", +"id": "DatafeedsCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"datafeed": { +"$ref": "Datafeed", +"description": "The requested data feed. Defined if and only if the request was successful." +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +} +}, +"type": "object" +}, +"DatafeedsFetchNowResponse": { +"id": "DatafeedsFetchNowResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsFetchNowResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedsListResponse": { +"id": "DatafeedsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedsListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of datafeeds.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "Datafeed" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedstatusesCustomBatchRequest": { +"id": "DatafeedstatusesCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "DatafeedstatusesCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatafeedstatusesCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch datafeedstatuses request.", +"id": "DatafeedstatusesCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"country": { +"description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.", +"type": "string" +}, +"datafeedId": { +"description": "The ID of the data feed to get.", +"format": "uint64", +"type": "string" +}, +"feedLabel": { +"description": "The feed label to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.", +"type": "string" +}, +"language": { +"description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that for multi-target datafeeds this parameter is required.", +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedstatusesCustomBatchResponse": { +"id": "DatafeedstatusesCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "DatafeedstatusesCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedstatusesCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"DatafeedstatusesCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch datafeedstatuses response.", +"id": "DatafeedstatusesCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"datafeedStatus": { +"$ref": "DatafeedStatus", +"description": "The requested data feed status. Defined if and only if the request was successful." +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +} +}, +"type": "object" +}, +"DatafeedstatusesListResponse": { +"id": "DatafeedstatusesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeedstatusesListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of datafeed statuses.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "DatafeedStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "DateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "TimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DeliveryArea": { +"description": "A delivery area for the product. Only one of `countryCode` or `postalCodeRange` must be set.", +"id": "DeliveryArea", +"properties": { +"countryCode": { +"description": "Required. The country that the product can be delivered to. Submit a [unicode CLDR region](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) such as `US` or `CH`.", +"type": "string" +}, +"postalCodeRange": { +"$ref": "DeliveryAreaPostalCodeRange", +"description": "A postal code, postal code range or postal code prefix that defines this area. Limited to US and AUS." +}, +"regionCode": { +"description": "A state, territory, or prefecture. This is supported for the United States, Australia, and Japan. Provide a subdivision code from the ISO 3166-2 code tables ([US](https://en.wikipedia.org/wiki/ISO_3166-2:US), [AU](https://en.wikipedia.org/wiki/ISO_3166-2:AU), or [JP](https://en.wikipedia.org/wiki/ISO_3166-2:JP)) without country prefix (for example, `\"NY\"`, `\"NSW\"`, `\"03\"`).", +"type": "string" +} +}, +"type": "object" +}, +"DeliveryAreaPostalCodeRange": { +"description": "A range of postal codes that defines the delivery area. Only set `firstPostalCode` when specifying a single postal code.", +"id": "DeliveryAreaPostalCodeRange", +"properties": { +"firstPostalCode": { +"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`.", +"type": "string" +}, +"lastPostalCode": { +"description": "A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area (for example [070* - 078*] results in the range [07000 - 07899]). It must have the same length as `firstPostalCode`: if `firstPostalCode` is a postal code then `lastPostalCode` must be a postal code too; if firstPostalCode is a pattern then `lastPostalCode` must be a pattern with the same prefix length. Ignored if not set, then the area is defined as being all the postal codes matching `firstPostalCode`.", +"type": "string" +} +}, +"type": "object" +}, +"DeliveryTime": { +"id": "DeliveryTime", +"properties": { +"cutoffTime": { +"$ref": "CutoffTime", +"description": "Business days cutoff time definition. If not configured, the cutoff time will be defaulted to 8AM PST. If local delivery, use Service.StoreConfig.CutoffConfig." +}, +"handlingBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed." +}, +"holidayCutoffs": { +"description": "Holiday cutoff definitions. If configured, they specify order cutoff times for holiday-specific shipping.", +"items": { +"$ref": "HolidayCutoff" +}, +"type": "array" +}, +"maxHandlingTimeInDays": { +"description": "Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to `minHandlingTimeInDays`.", +"format": "uint32", +"type": "integer" +}, +"maxTransitTimeInDays": { +"description": "Maximum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to `minTransitTimeInDays`.", +"format": "uint32", +"type": "integer" +}, +"minHandlingTimeInDays": { +"description": "Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped.", +"format": "uint32", +"type": "integer" +}, +"minTransitTimeInDays": { +"description": "Minimum number of business days that are spent in transit. 0 means same day delivery, 1 means next day delivery. Either `{min,max}TransitTimeInDays` or `transitTimeTable` must be set, but not both.", +"format": "uint32", +"type": "integer" +}, +"transitBusinessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed." +}, +"transitTimeTable": { +"$ref": "TransitTable", +"description": "Transit time table, number of business days spent in transit based on row and column dimensions. Either `{min,max}TransitTimeInDays` or `transitTimeTable` can be set, but not both." +}, +"warehouseBasedDeliveryTimes": { +"description": "Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in DeliveryTime should be set.", +"items": { +"$ref": "WarehouseBasedDeliveryTime" +}, +"type": "array" +} +}, +"type": "object" +}, +"Distance": { +"description": "Distance represented by an integer and unit.", +"id": "Distance", +"properties": { +"unit": { +"description": "The distance unit. Acceptable values are `None`, `Miles`, and `Kilometers`.", +"type": "string" +}, +"value": { +"description": "The distance represented as a number.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ECommercePlatformLinkInfo": { +"description": "Additional information required for E_COMMERCE_PLATFORM link type.", +"id": "ECommercePlatformLinkInfo", +"properties": { +"externalAccountId": { +"description": "The id used by the third party service provider to identify the merchant.", +"type": "string" +} +}, +"type": "object" +}, +"Error": { +"description": "An error returned by the API.", +"id": "Error", +"properties": { +"domain": { +"description": "The domain of the error.", +"type": "string" +}, +"message": { +"description": "A description of the error.", +"type": "string" +}, +"reason": { +"description": "The error code.", +"type": "string" +} +}, +"type": "object" +}, +"Errors": { +"description": "A list of errors returned by a failed batch entry.", +"id": "Errors", +"properties": { +"code": { +"description": "The HTTP status of the first error in `errors`.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"description": "A list of errors.", +"items": { +"$ref": "Error" +}, +"type": "array" +}, +"message": { +"description": "The message of the first error in `errors`.", +"type": "string" +} +}, +"type": "object" +}, +"ExternalAction": { +"description": "Action that is implemented and performed outside of the third-party application. It should redirect the merchant to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.", +"id": "ExternalAction", +"properties": { +"type": { +"description": "The type of external action.", +"enum": [ +"EXTERNAL_ACTION_TYPE_UNSPECIFIED", +"REVIEW_PRODUCT_ISSUE_IN_MERCHANT_CENTER", +"REVIEW_ACCOUNT_ISSUE_IN_MERCHANT_CENTER", +"LEGAL_APPEAL_IN_HELP_CENTER", +"VERIFY_IDENTITY_IN_MERCHANT_CENTER" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Redirect to Merchant Center where the merchant can request a review for issue related to their product.", +"Redirect to Merchant Center where the merchant can request a review for issue related to their account.", +"Redirect to the form in Help Center where the merchant can request a legal appeal for the issue.", +"Redirect to Merchant Center where the merchant can perform identity verification." +], +"type": "string" +}, +"uri": { +"description": "URL to external system, for example Merchant Center, where the merchant can perform the action.", +"type": "string" +} +}, +"type": "object" +}, +"FreeListingsProgramStatus": { +"description": "Response message for GetFreeListingsProgramStatus.", +"id": "FreeListingsProgramStatus", +"properties": { +"globalState": { +"description": "State of the program. `ENABLED` if there are offers for at least one region.", +"enum": [ +"PROGRAM_STATE_UNSPECIFIED", +"NOT_ENABLED", +"NO_OFFERS_UPLOADED", +"ENABLED" +], +"enumDescriptions": [ +"State is unknown.", +"Program is not enabled for any country.", +"No products have been uploaded for any region. Upload products to Merchant Center.", +"Program is enabled and offers are uploaded for at least one country." +], +"type": "string" +}, +"regionStatuses": { +"description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.", +"items": { +"$ref": "FreeListingsProgramStatusRegionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"FreeListingsProgramStatusRegionStatus": { +"description": "Status of program and region.", +"id": "FreeListingsProgramStatusRegionStatus", +"properties": { +"disapprovalDate": { +"description": "Date by which eligibilityStatus will go from `WARNING` to `DISAPPROVED`. Only visible when your eligibilityStatus is WARNING. In [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DD`.", +"type": "string" +}, +"eligibilityStatus": { +"description": "Eligibility status of the standard free listing program.", +"enum": [ +"STATE_UNSPECIFIED", +"APPROVED", +"DISAPPROVED", +"WARNING", +"UNDER_REVIEW", +"PENDING_REVIEW", +"ONBOARDING" +], +"enumDescriptions": [ +"State is not known.", +"If the account has no issues and review is completed successfully.", +"There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.", +"If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.", +"Account is under review.", +"Account is waiting for review to start.", +"Program is currently onboarding. Upload valid offers to complete onboarding." +], +"type": "string" +}, +"onboardingIssues": { +"description": "Issues that must be fixed to be eligible for review.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCodes": { +"description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reviewEligibilityStatus": { +"description": "If a program is eligible for review in a specific region. Only visible if `eligibilityStatus` is `DISAPPROVED`.", +"enum": [ +"REVIEW_ELIGIBILITY_UNSPECIFIED", +"ELIGIBLE", +"INELIGIBLE" +], +"enumDescriptions": [ +"Review eligibility state is unknown.", +"Account is eligible for review for a specified region code.", +"Account is not eligible for review for a specified region code." +], +"type": "string" +}, +"reviewIneligibilityReason": { +"description": "Review ineligibility reason if account is not eligible for review.", +"enum": [ +"REVIEW_INELIGIBILITY_REASON_UNSPECIFIED", +"ONBOARDING_ISSUES", +"NOT_ENOUGH_OFFERS", +"IN_COOLDOWN_PERIOD", +"ALREADY_UNDER_REVIEW", +"NO_REVIEW_REQUIRED", +"WILL_BE_REVIEWED_AUTOMATICALLY", +"IS_RETIRED", +"ALREADY_REVIEWED" +], +"enumDescriptions": [ +"Requesting a review from Google is not possible.", +"All onboarding issues needs to be fixed.", +"Not enough offers uploaded for this country.", +"Cooldown period applies. Wait until cooldown period ends.", +"Account is already under review.", +"No issues available to review.", +"Account will be automatically reviewed at the end of the grace period.", +"Account is retired. Should not appear in MC.", +"Account has already been reviewed. You can't request further reviews." +], +"type": "string" +}, +"reviewIneligibilityReasonDescription": { +"description": "Reason a program in a specific region isn\u2019t eligible for review. Only visible if `reviewEligibilityStatus` is `INELIGIBLE`.", +"type": "string" +}, +"reviewIneligibilityReasonDetails": { +"$ref": "FreeListingsProgramStatusReviewIneligibilityReasonDetails", +"description": "Additional information for ineligibility. If `reviewIneligibilityReason` is `IN_COOLDOWN_PERIOD`, a timestamp for the end of the cooldown period is provided." +}, +"reviewIssues": { +"description": "Issues evaluated in the review process. Fix all issues before requesting a review.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FreeListingsProgramStatusReviewIneligibilityReasonDetails": { +"description": "Additional details for review ineligibility reasons.", +"id": "FreeListingsProgramStatusReviewIneligibilityReasonDetails", +"properties": { +"cooldownTime": { +"description": "This timestamp represents end of cooldown period for review ineligbility reason `IN_COOLDOWN_PERIOD`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"FreeShippingThreshold": { +"description": "Conditions to be met for a product to have free shipping.", +"id": "FreeShippingThreshold", +"properties": { +"country": { +"description": "Required. The [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the country to which an item will ship.", +"type": "string" +}, +"priceThreshold": { +"$ref": "Price", +"description": "Required. The minimum product price for the shipping cost to become free. Represented as a number." +} +}, +"type": "object" +}, +"GenerateRecommendationsResponse": { +"description": "Response containing generated recommendations.", +"id": "GenerateRecommendationsResponse", +"properties": { +"recommendations": { +"description": "Recommendations generated for a request.", +"items": { +"$ref": "Recommendation" +}, +"type": "array" +}, +"responseToken": { +"description": "Output only. Response token is a string created for each `GenerateRecommendationsResponse`. This token doesn't expire, and is globally unique. This token must be used when reporting interactions for recommendations.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GmbAccounts": { +"id": "GmbAccounts", +"properties": { +"accountId": { +"description": "The ID of the Merchant Center account.", +"format": "uint64", +"type": "string" +}, +"gmbAccounts": { +"description": "A list of Business Profiles which are available to the merchant.", +"items": { +"$ref": "GmbAccountsGmbAccount" +}, +"type": "array" +} +}, +"type": "object" +}, +"GmbAccountsGmbAccount": { +"id": "GmbAccountsGmbAccount", +"properties": { +"email": { +"description": "The email which identifies the Business Profile.", +"type": "string" +}, +"listingCount": { +"description": "Number of listings under this account.", +"format": "uint64", +"type": "string" +}, +"name": { +"description": "The name of the Business Profile.", +"type": "string" +}, +"type": { +"description": "The type of the Business Profile (User or Business).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleAnalyticsLink": { +"description": "\"Google Analytics Link\" sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account.", +"id": "GoogleAnalyticsLink", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Output only. Attribution settings for the linked Google Analytics property.", +"readOnly": true +}, +"propertyId": { +"description": "Required. Immutable. ID of the Google Analytics property the merchant is linked to.", +"format": "int64", +"type": "string" +}, +"propertyName": { +"description": "Output only. Name of the Google Analytics property the merchant is linked to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Headers": { +"description": "A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set.", +"id": "Headers", +"properties": { +"locations": { +"description": "A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"$ref": "LocationIdSet" +}, +"type": "array" +}, +"numberOfItems": { +"description": "A list of inclusive number of items upper bounds. The last value can be `\"infinity\"`. For example `[\"10\", \"50\", \"infinity\"]` represents the headers \"<= 10 items\", \"<= 50 items\", and \"> 50 items\". Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"postalCodeGroupNames": { +"description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"prices": { +"description": "A list of inclusive order price upper bounds. The last price's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"currency\": \"USD\"}, {\"value\": \"500\", \"currency\": \"USD\"}, {\"value\": \"infinity\", \"currency\": \"USD\"}]` represents the headers \"<= $10\", \"<= $500\", and \"> $500\". All prices within a service must have the same currency. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"$ref": "Price" +}, +"type": "array" +}, +"weights": { +"description": "A list of inclusive order weight upper bounds. The last weight's value can be `\"infinity\"`. For example `[{\"value\": \"10\", \"unit\": \"kg\"}, {\"value\": \"50\", \"unit\": \"kg\"}, {\"value\": \"infinity\", \"unit\": \"kg\"}]` represents the headers \"<= 10kg\", \"<= 50kg\", and \"> 50kg\". All weights within a service must have the same unit. Must be non-empty. Can only be set if all other fields are not set.", +"items": { +"$ref": "Weight" +}, +"type": "array" +} +}, +"type": "object" +}, +"HolidayCutoff": { +"id": "HolidayCutoff", +"properties": { +"deadlineDate": { +"description": "Date of the order deadline, in ISO 8601 format. For example, \"2016-11-29\" for 29th November 2016. Required.", +"type": "string" +}, +"deadlineHour": { +"description": "Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Required.", +"format": "uint32", +"type": "integer" +}, +"deadlineTimezone": { +"description": "Timezone identifier for the deadline hour (for example, \"Europe/Zurich\"). List of identifiers. Required.", +"type": "string" +}, +"holidayId": { +"description": "Unique identifier for the holiday. Required.", +"type": "string" +}, +"visibleFromDate": { +"description": "Date on which the deadline will become visible to consumers in ISO 8601 format. For example, \"2016-10-31\" for 31st October 2016. Required.", +"type": "string" +} +}, +"type": "object" +}, +"HolidaysHoliday": { +"id": "HolidaysHoliday", +"properties": { +"countryCode": { +"description": "The CLDR territory code of the country in which the holiday is available. For example, \"US\", \"DE\", \"GB\". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.", +"type": "string" +}, +"date": { +"description": "Date of the holiday, in ISO 8601 format. For example, \"2016-12-25\" for Christmas 2016. Always present.", +"type": "string" +}, +"deliveryGuaranteeDate": { +"description": "Date on which the order has to arrive at the customer's, in ISO 8601 format. For example, \"2016-12-24\" for 24th December 2016. Always present.", +"type": "string" +}, +"deliveryGuaranteeHour": { +"description": "Hour of the day in the delivery location's timezone on the guaranteed delivery date by which the order has to arrive at the customer's. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.", +"format": "uint64", +"type": "string" +}, +"id": { +"description": "Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.", +"type": "string" +}, +"type": { +"description": "The holiday type. Always present. Acceptable values are: - \"`Christmas`\" - \"`Easter`\" - \"`Father's Day`\" - \"`Halloween`\" - \"`Independence Day (USA)`\" - \"`Mother's Day`\" - \"`Thanksgiving`\" - \"`Valentine's Day`\" ", +"type": "string" +} +}, +"type": "object" +}, +"InputField": { +"description": "Input field that needs to be available to the merchant. If the field is marked as required, then a value needs to be provided for a successful processing of the request.", +"id": "InputField", +"properties": { +"checkboxInput": { +"$ref": "InputFieldCheckboxInput", +"description": "Input field to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox)." +}, +"choiceInput": { +"$ref": "InputFieldChoiceInput", +"description": "Input field to select one of the offered choices. Corresponds to the [html input type=radio](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.radio.html#input.radio)." +}, +"id": { +"description": "Not for display but need to be sent back for the given input field.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Input field label. There may be more information to be shown in a tooltip." +}, +"required": { +"description": "Whether the field is required. The action button needs to stay disabled till values for all required fields are provided.", +"type": "boolean" +}, +"textInput": { +"$ref": "InputFieldTextInput", +"description": "Input field to provide text information. Corresponds to the [html input type=text](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text) or [html textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +} +}, +"type": "object" +}, +"InputFieldCheckboxInput": { +"description": "Checkbox input allows merchants to provide a boolean value. Corresponds to the [html input type=checkbox](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.checkbox.html#input.checkbox). If merchant checks the box, the input value for the field is `true`, otherwise it is `false`. This type of input is often used as a confirmation that the merchant completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the merchant checks the box.", +"id": "InputFieldCheckboxInput", +"properties": {}, +"type": "object" +}, +"InputFieldChoiceInput": { +"description": "Choice input allows merchants to select one of the offered choices. Some choices may be linked to additional input fields that should be displayed under or next to the choice option. The value for the additional input field needs to be provided only when the specific choice is selected by the merchant. For example, additional input field can be hidden or disabled until the merchant selects the specific choice.", +"id": "InputFieldChoiceInput", +"properties": { +"options": { +"description": "A list of choices. Only one option can be selected.", +"items": { +"$ref": "InputFieldChoiceInputChoiceInputOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"InputFieldChoiceInputChoiceInputOption": { +"description": "A choice that merchant can select.", +"id": "InputFieldChoiceInputChoiceInputOption", +"properties": { +"additionalInput": { +"$ref": "InputField", +"description": "Input that should be displayed when this option is selected. The additional input will not contain a `ChoiceInput`." +}, +"id": { +"description": "Not for display but need to be sent back for the selected choice option.", +"type": "string" +}, +"label": { +"$ref": "TextWithTooltip", +"description": "Short description of the choice option. There may be more information to be shown as a tooltip." +} +}, +"type": "object" +}, +"InputFieldTextInput": { +"description": "Text input allows merchants to provide a text value.", +"id": "InputFieldTextInput", +"properties": { +"additionalInfo": { +"$ref": "TextWithTooltip", +"description": "Additional info regarding the field to be displayed to merchant. For example, warning to not include personal identifiable information. There may be more information to be shown in a tooltip." +}, +"ariaLabel": { +"description": "Text to be used as the [aria-label](https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html) for the input.", +"type": "string" +}, +"formatInfo": { +"description": "Information about the required format. If present, it should be shown close to the input field to help merchants to provide a correct value. For example: \"VAT numbers should be in a format similar to SK9999999999\"", +"type": "string" +}, +"type": { +"description": "Type of the text input", +"enum": [ +"TEXT_INPUT_TYPE_UNSPECIFIED", +"GENERIC_SHORT_TEXT", +"GENERIC_LONG_TEXT" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when a short text is expected. The field can be rendered as a [text field](https://www.w3.org/TR/2012/WD-html-markup-20121025/input.text.html#input.text).", +"Used when a longer text is expected. The field should be rendered as a [textarea](https://www.w3.org/TR/2012/WD-html-markup-20121025/textarea.html#textarea)." +], +"type": "string" +} +}, +"type": "object" +}, +"InputValue": { +"description": "Input provided by the merchant for input field.", +"id": "InputValue", +"properties": { +"checkboxInputValue": { +"$ref": "InputValueCheckboxInputValue", +"description": "Value for checkbox input field." +}, +"choiceInputValue": { +"$ref": "InputValueChoiceInputValue", +"description": "Value for choice input field." +}, +"inputFieldId": { +"description": "Required. Id of the corresponding input field.", +"type": "string" +}, +"textInputValue": { +"$ref": "InputValueTextInputValue", +"description": "Value for text input field." +} +}, +"type": "object" +}, +"InputValueCheckboxInputValue": { +"description": "Value for checkbox input field.", +"id": "InputValueCheckboxInputValue", +"properties": { +"value": { +"description": "Required. True if the merchant checked the box field. False otherwise.", +"type": "boolean" +} +}, +"type": "object" +}, +"InputValueChoiceInputValue": { +"description": "Value for choice input field.", +"id": "InputValueChoiceInputValue", +"properties": { +"choiceInputOptionId": { +"description": "Required. Id of the option that was selected by the merchant.", +"type": "string" +} +}, +"type": "object" +}, +"InputValueTextInputValue": { +"description": "Value for text input field.", +"id": "InputValueTextInputValue", +"properties": { +"value": { +"description": "Required. Text provided by the merchant.", +"type": "string" +} +}, +"type": "object" +}, +"InsertCheckoutSettingsRequest": { +"description": "Request message for the `InsertCheckoutSettings` method.", +"id": "InsertCheckoutSettingsRequest", +"properties": { +"uriSettings": { +"$ref": "UrlSettings", +"description": "Required. The `UrlSettings` for the request. The presence of URL settings indicates `Checkout` enrollment." +} +}, +"type": "object" +}, +"Installment": { +"description": "Details of a monthly installment payment offering. [Learn more](https://support.google.com/merchants/answer/6324474) about installments.", +"id": "Installment", +"properties": { +"amount": { +"$ref": "Price", +"description": "The amount the buyer has to pay per month." +}, +"creditType": { +"description": "Optional. Type of installment payments. Supported values are: - \"`finance`\" - \"`lease`\" ", +"type": "string" +}, +"downpayment": { +"$ref": "Price", +"description": "Optional. The initial down payment amount the buyer has to pay." +}, +"months": { +"description": "The number of installments the buyer has to pay.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LabelIds": { +"description": "The IDs of labels that should be assigned to the CSS domain.", +"id": "LabelIds", +"properties": { +"labelIds": { +"description": "The list of label IDs.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiaAboutPageSettings": { +"id": "LiaAboutPageSettings", +"properties": { +"status": { +"description": "The status of the verification process for the About page. Supported values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", +"type": "string" +}, +"url": { +"description": "The URL for the About page.", +"type": "string" +} +}, +"type": "object" +}, +"LiaCountrySettings": { +"id": "LiaCountrySettings", +"properties": { +"about": { +"$ref": "LiaAboutPageSettings", +"description": "The settings for the About page." +}, +"country": { +"description": "Required. CLDR country code (for example, \"US\").", +"type": "string" +}, +"hostedLocalStorefrontActive": { +"description": "The status of the \"Merchant hosted local storefront\" feature.", +"type": "boolean" +}, +"inventory": { +"$ref": "LiaInventorySettings", +"description": "LIA inventory verification settings." +}, +"omnichannelExperience": { +"$ref": "LiaOmnichannelExperience", +"description": "The omnichannel experience configured for this country." +}, +"onDisplayToOrder": { +"$ref": "LiaOnDisplayToOrderSettings", +"description": "LIA \"On Display To Order\" settings." +}, +"posDataProvider": { +"$ref": "LiaPosDataProvider", +"description": "The POS data provider linked with this country." +}, +"storePickupActive": { +"description": "The status of the \"Store pickup\" feature.", +"type": "boolean" +} +}, +"type": "object" +}, +"LiaInventorySettings": { +"id": "LiaInventorySettings", +"properties": { +"inventoryVerificationContactEmail": { +"description": "The email of the contact for the inventory verification process.", +"type": "string" +}, +"inventoryVerificationContactName": { +"description": "The name of the contact for the inventory verification process.", +"type": "string" +}, +"inventoryVerificationContactStatus": { +"description": "The status of the verification contact. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", +"type": "string" +}, +"status": { +"description": "The status of the inventory verification process. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", +"type": "string" +} +}, +"type": "object" +}, +"LiaOmnichannelExperience": { +"description": "Omnichannel experience details.", +"id": "LiaOmnichannelExperience", +"properties": { +"country": { +"description": "The CLDR country code (for example, \"US\").", +"type": "string" +}, +"lsfType": { +"description": "The Local Store Front (LSF) type for this country. Acceptable values are: - \"`ghlsf`\" (Google-Hosted Local Store Front) - \"`mhlsfBasic`\" (Merchant-Hosted Local Store Front Basic) - \"`mhlsfFull`\" (Merchant-Hosted Local Store Front Full) More details about these types can be found here.", +"type": "string" +}, +"pickupTypes": { +"description": "The Pickup types for this country. Acceptable values are: - \"`pickupToday`\" - \"`pickupLater`\" ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiaOnDisplayToOrderSettings": { +"id": "LiaOnDisplayToOrderSettings", +"properties": { +"shippingCostPolicyUrl": { +"description": "Shipping cost and policy URL.", +"type": "string" +}, +"status": { +"description": "The status of the ?On display to order? feature. Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", +"type": "string" +} +}, +"type": "object" +}, +"LiaPosDataProvider": { +"id": "LiaPosDataProvider", +"properties": { +"posDataProviderId": { +"description": "The ID of the POS data provider.", +"format": "uint64", +"type": "string" +}, +"posExternalAccountId": { +"description": "The account ID by which this merchant is known to the POS data provider.", +"type": "string" +} +}, +"type": "object" +}, +"LiaSettings": { +"description": "Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.", +"id": "LiaSettings", +"properties": { +"accountId": { +"description": "The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.", +"format": "uint64", +"type": "string" +}, +"countrySettings": { +"description": "The LIA settings for each country.", +"items": { +"$ref": "LiaCountrySettings" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liaSettings`\"", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsCustomBatchRequest": { +"id": "LiasettingsCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "LiasettingsCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiasettingsCustomBatchRequestEntry": { +"id": "LiasettingsCustomBatchRequestEntry", +"properties": { +"accountId": { +"description": "The ID of the account for which to get/update account LIA settings.", +"format": "uint64", +"type": "string" +}, +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"contactEmail": { +"description": "Inventory validation contact email. Required only for SetInventoryValidationContact.", +"type": "string" +}, +"contactName": { +"description": "Inventory validation contact name. Required only for SetInventoryValidationContact.", +"type": "string" +}, +"country": { +"description": "The country code. Required only for RequestInventoryVerification.", +"type": "string" +}, +"gmbEmail": { +"description": "The Business Profile. Required only for RequestGmbAccess.", +"type": "string" +}, +"liaSettings": { +"$ref": "LiaSettings", +"description": "The account Lia settings to update. Only defined if the method is `update`." +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`getAccessibleGmbAccounts`\" - \"`requestGmbAccess`\" - \"`requestInventoryVerification`\" - \"`setInventoryVerificationContact`\" - \"`update`\" ", +"type": "string" +}, +"omnichannelExperience": { +"$ref": "LiaOmnichannelExperience", +"description": "The omnichannel experience for a country. Required only for SetOmnichannelExperience." +}, +"posDataProviderId": { +"description": "The ID of POS data provider. Required only for SetPosProvider.", +"format": "uint64", +"type": "string" +}, +"posExternalAccountId": { +"description": "The account ID by which this merchant is known to the POS provider.", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsCustomBatchResponse": { +"id": "LiasettingsCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "LiasettingsCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsCustomBatchResponseEntry": { +"id": "LiasettingsCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry to which this entry responds.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors defined if, and only if, the request failed." +}, +"gmbAccounts": { +"$ref": "GmbAccounts", +"description": "The list of accessible Business Profiles." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsCustomBatchResponseEntry`\"", +"type": "string" +}, +"liaSettings": { +"$ref": "LiaSettings", +"description": "The retrieved or updated Lia settings." +}, +"omnichannelExperience": { +"$ref": "LiaOmnichannelExperience", +"description": "The updated omnichannel experience for a country." +}, +"posDataProviders": { +"description": "The list of POS data providers.", +"items": { +"$ref": "PosDataProviders" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiasettingsGetAccessibleGmbAccountsResponse": { +"id": "LiasettingsGetAccessibleGmbAccountsResponse", +"properties": { +"accountId": { +"description": "The ID of the Merchant Center account.", +"format": "uint64", +"type": "string" +}, +"gmbAccounts": { +"description": "A list of Business Profiles which are available to the merchant.", +"items": { +"$ref": "GmbAccountsGmbAccount" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsGetAccessibleGmbAccountsResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsListPosDataProvidersResponse": { +"id": "LiasettingsListPosDataProvidersResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsListPosDataProvidersResponse`\".", +"type": "string" +}, +"posDataProviders": { +"description": "The list of POS data providers for each eligible country", +"items": { +"$ref": "PosDataProviders" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiasettingsListResponse": { +"id": "LiasettingsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of LIA settings.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "LiaSettings" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiasettingsRequestGmbAccessResponse": { +"id": "LiasettingsRequestGmbAccessResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsRequestGmbAccessResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsRequestInventoryVerificationResponse": { +"id": "LiasettingsRequestInventoryVerificationResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsRequestInventoryVerificationResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsSetInventoryVerificationContactResponse": { +"id": "LiasettingsSetInventoryVerificationContactResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsSetInventoryVerificationContactResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LiasettingsSetPosDataProviderResponse": { +"id": "LiasettingsSetPosDataProviderResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#liasettingsSetPosDataProviderResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LinkService": { +"id": "LinkService", +"properties": { +"service": { +"description": "Service provided to or by the linked account. Acceptable values are: - \"`shoppingActionsOrderManagement`\" - \"`shoppingActionsProductManagement`\" - \"`shoppingAdsProductManagement`\" - \"`paymentProcessing`\" ", +"type": "string" +}, +"status": { +"description": "Status of the link Acceptable values are: - \"`active`\" - \"`inactive`\" - \"`pending`\" ", +"type": "string" +} +}, +"type": "object" +}, +"LinkedAccount": { +"id": "LinkedAccount", +"properties": { +"linkedAccountId": { +"description": "The ID of the linked account.", +"type": "string" +}, +"services": { +"description": "List of provided services.", +"items": { +"$ref": "LinkService" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAccountLabelsResponse": { +"description": "Response message for the `ListAccountLabels` method.", +"id": "ListAccountLabelsResponse", +"properties": { +"accountLabels": { +"description": "The labels from the specified account.", +"items": { +"$ref": "AccountLabel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountReturnCarrierResponse": { +"description": "Response for listing account return carriers.", +"id": "ListAccountReturnCarrierResponse", +"properties": { +"accountReturnCarriers": { +"description": "List of all available account return carriers for the merchant.", +"items": { +"$ref": "AccountReturnCarrier" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCollectionStatusesResponse": { +"description": "Response message for the ListCollectionStatuses method.", +"id": "ListCollectionStatusesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"resources": { +"description": "The collectionstatuses listed.", +"items": { +"$ref": "CollectionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListCollectionsResponse": { +"description": "Response message for the ListCollections method.", +"id": "ListCollectionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"resources": { +"description": "The collections listed.", +"items": { +"$ref": "Collection" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListConversionSourcesResponse": { +"description": "Response message for the ListConversionSources method.", +"id": "ListConversionSourcesResponse", +"properties": { +"conversionSources": { +"description": "List of conversion sources.", +"items": { +"$ref": "ConversionSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to be used to fetch the next results page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCssesResponse": { +"description": "The response message for the `ListCsses` method", +"id": "ListCssesResponse", +"properties": { +"csses": { +"description": "The CSS domains affiliated with the specified CSS group.", +"items": { +"$ref": "Css" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListMethodQuotasResponse": { +"description": "Response message for the ListMethodQuotas method.", +"id": "ListMethodQuotasResponse", +"properties": { +"methodQuotas": { +"description": "The current quota usage and limits per each method.", +"items": { +"$ref": "MethodQuota" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListPromotionResponse": { +"description": "Response message for Promotions.List method.", +"id": "ListPromotionResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"promotions": { +"description": "List of all available promotions for the merchant.", +"items": { +"$ref": "Promotion" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegionsResponse": { +"description": "Response message for the `ListRegions` method.", +"id": "ListRegionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"regions": { +"description": "The regions from the specified merchant.", +"items": { +"$ref": "Region" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReturnPolicyOnlineResponse": { +"description": "Response message for the `ListReturnPolicyOnline` method.", +"id": "ListReturnPolicyOnlineResponse", +"properties": { +"returnPolicies": { +"description": "The retrieved return policies.", +"items": { +"$ref": "ReturnPolicyOnline" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalInventory": { +"description": "Local inventory resource. For accepted attribute values, see the local product inventory feed specification.", +"id": "LocalInventory", +"properties": { +"availability": { +"description": "The availability of the product. For accepted attribute values, see the local product inventory feed specification.", +"type": "string" +}, +"customAttributes": { +"description": "A list of custom (merchant-provided) attributes. Can also be used to submit any attribute of the feed specification in its generic form, for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"instoreProductLocation": { +"description": "The in-store product location.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localInventory`\"", +"type": "string" +}, +"pickupMethod": { +"description": "The supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.", +"type": "string" +}, +"pickupSla": { +"description": "The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "The price of the product." +}, +"quantity": { +"description": "The quantity of the product. Must be nonnegative.", +"format": "uint32", +"type": "integer" +}, +"salePrice": { +"$ref": "Price", +"description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined." +}, +"salePriceEffectiveDate": { +"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.", +"type": "string" +}, +"storeCode": { +"description": "Required. The store code of this local inventory resource.", +"type": "string" +} +}, +"type": "object" +}, +"LocalinventoryCustomBatchRequest": { +"id": "LocalinventoryCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "LocalinventoryCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalinventoryCustomBatchRequestEntry": { +"description": "Batch entry encoding a single local inventory update request.", +"id": "LocalinventoryCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"localInventory": { +"$ref": "LocalInventory", +"description": "Local inventory of the product." +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "Method of the batch request entry. Acceptable values are: - \"`insert`\" ", +"type": "string" +}, +"productId": { +"description": "The ID of the product for which to update local inventory.", +"type": "string" +} +}, +"type": "object" +}, +"LocalinventoryCustomBatchResponse": { +"id": "LocalinventoryCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "LocalinventoryCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localinventoryCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"LocalinventoryCustomBatchResponseEntry": { +"description": "Batch entry encoding a single local inventory update response.", +"id": "LocalinventoryCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#localinventoryCustomBatchResponseEntry`\"", +"type": "string" +} +}, +"type": "object" +}, +"LocationIdSet": { +"id": "LocationIdSet", +"properties": { +"locationIds": { +"description": "A non-empty list of location IDs. They must all be of the same location type (for example, state).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoyaltyProgram": { +"description": "Allows the setting up of loyalty program benefits (for example price or points). https://support.google.com/merchants/answer/12922446", +"id": "LoyaltyProgram", +"properties": { +"cashbackForFutureUse": { +"$ref": "Price", +"description": "Optional. The cashback that can be used for future purchases." +}, +"loyaltyPoints": { +"description": "Optional. The amount of loyalty points earned on a purchase.", +"format": "int64", +"type": "string" +}, +"memberPriceEffectiveDate": { +"description": "Optional. A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Optional. The price for members of the given tier (instant discount price). Must be smaller or equal to the regular price." +}, +"programLabel": { +"description": "Required. The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a merchant entity and a loyalty program entity. It must be provided so that system can associate the assets below (for example, price and points) with a merchant. The corresponding program must be linked to the merchant account.", +"type": "string" +}, +"shippingLabel": { +"description": "Optional. The shipping label for the loyalty program. You can use this label to indicate whether this offer has the loyalty shipping benefit. If not specified, the item is not eligible for loyalty shipping for the given loyalty tier.", +"type": "string" +}, +"tierLabel": { +"description": "Required. The label of the tier within the loyalty program. Must match one of the labels within the program.", +"type": "string" +} +}, +"type": "object" +}, +"MerchantCenterDestination": { +"description": "\"Merchant Center Destination\" sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created.", +"id": "MerchantCenterDestination", +"properties": { +"attributionSettings": { +"$ref": "AttributionSettings", +"description": "Required. Attribution settings being used for the Merchant Center Destination." +}, +"currencyCode": { +"description": "Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.", +"type": "string" +}, +"destinationId": { +"description": "Output only. Merchant Center Destination ID.", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.", +"type": "string" +} +}, +"type": "object" +}, +"MethodQuota": { +"description": "The quota information per method in the Content API.", +"id": "MethodQuota", +"properties": { +"method": { +"description": "Output only. The method name, for example `products.list`. Method name does not contain version because quota can be shared between different API versions of the same method.", +"readOnly": true, +"type": "string" +}, +"quotaLimit": { +"description": "Output only. The maximum number of calls allowed per day for the method.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"quotaMinuteLimit": { +"description": "Output only. The maximum number of calls allowed per minute for the method.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"quotaUsage": { +"description": "Output only. The current quota usage, meaning the number of calls already made to the method per day. Usage is reset every day at 12 PM midday UTC.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Metrics": { +"description": "Performance metrics. Values are only set for metrics requested explicitly in the request's search query.", +"id": "Metrics", +"properties": { +"aos": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order size - the average number of items in an order. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "double", +"type": "number" +}, +"aovMicros": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the average value (total price of items) of all placed orders. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "double", +"type": "number" +}, +"clicks": { +"description": "Number of clicks.", +"format": "int64", +"type": "string" +}, +"conversionRate": { +"description": "Number of conversions divided by the number of clicks, reported on the impression date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.", +"format": "double", +"type": "number" +}, +"conversionValueMicros": { +"description": "Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) attributed to the product, reported on the conversion date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.", +"format": "int64", +"type": "string" +}, +"conversions": { +"description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.", +"format": "double", +"type": "number" +}, +"ctr": { +"description": "Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions).", +"format": "double", +"type": "number" +}, +"daysToShip": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an order being placed and the order being fully shipped, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "double", +"type": "number" +}, +"impressions": { +"description": "Number of times merchant's products are shown.", +"format": "int64", +"type": "string" +}, +"itemDaysToShip": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an item being ordered and the item being **This metric cannot be segmented by customer_country_code.**", +"format": "double", +"type": "number" +}, +"itemFillRate": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Percentage of shipped items in relation to all finalized items (shipped or rejected by the merchant; unshipped items are not taken into account), reported on the order date. Item fill rate is lowered by merchant rejections. **This metric cannot be segmented by customer_country_code.**", +"format": "double", +"type": "number" +}, +"orderedItemSalesMicros": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros). Excludes shipping, taxes (US only), and customer cancellations that happened within 30 minutes of placing the order. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"orderedItems": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"orders": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of placed orders. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "int64", +"type": "string" +}, +"rejectedItems": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items canceled by the merchant, reported on the order date. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"returnRate": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of returned items divided by the total price of shipped items, reported on the order date. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", +"format": "double", +"type": "number" +}, +"returnedItems": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items sent back for return, reported on the date when the merchant accepted the return. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"returnsMicros": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the date when the merchant accepted the return. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"shippedItemSalesMicros": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the order date. Excludes shipping and taxes (US only). The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"shippedItems": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of shipped items, reported on the shipment date. **This metric cannot be segmented by customer_country_code.**", +"format": "int64", +"type": "string" +}, +"shippedOrders": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of fully shipped orders, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "int64", +"type": "string" +}, +"unshippedItems": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items not shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped items over the days in the queried period. **This metric cannot be segmented by customer_country_code.**", +"format": "double", +"type": "number" +}, +"unshippedOrders": { +"description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of orders not shipped or partially shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped orders over the days in the queried period. **This metric cannot be segmented by product dimensions and customer_country_code.**", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"MinimumOrderValueTable": { +"id": "MinimumOrderValueTable", +"properties": { +"storeCodeSetWithMovs": { +"items": { +"$ref": "MinimumOrderValueTableStoreCodeSetWithMov" +}, +"type": "array" +} +}, +"type": "object" +}, +"MinimumOrderValueTableStoreCodeSetWithMov": { +"description": "A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.", +"id": "MinimumOrderValueTableStoreCodeSetWithMov", +"properties": { +"storeCodes": { +"description": "A list of unique store codes or empty for the catch all.", +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"$ref": "Price", +"description": "The minimum order value for the given stores." +} +}, +"type": "object" +}, +"OrderTrackingSignal": { +"description": "Represents a merchant trade from which signals are extracted, e.g. shipping.", +"id": "OrderTrackingSignal", +"properties": { +"customerShippingFee": { +"$ref": "PriceAmount", +"description": "The shipping fee of the order; this value should be set to zero in the case of free shipping." +}, +"deliveryPostalCode": { +"description": "Required. The delivery postal code, as a continuous string without spaces or dashes, e.g. \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"deliveryRegionCode": { +"description": "Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping destination.", +"type": "string" +}, +"lineItems": { +"description": "Information about line items in the order.", +"items": { +"$ref": "OrderTrackingSignalLineItemDetails" +}, +"type": "array" +}, +"merchantId": { +"description": "The Google merchant ID of this order tracking signal. This value is optional. If left unset, the caller's merchant ID is used. You must request access in order to provide data on behalf of another merchant. For more information, see [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-signals).", +"format": "int64", +"type": "string" +}, +"orderCreatedTime": { +"$ref": "DateTime", +"description": "Required. The time when the order was created on the merchant side. Include the year and timezone string, if available." +}, +"orderId": { +"description": "Required. The ID of the order on the merchant side. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"orderTrackingSignalId": { +"description": "Output only. The ID that uniquely identifies this order tracking signal.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"shipmentLineItemMapping": { +"description": "The mapping of the line items to the shipment information.", +"items": { +"$ref": "OrderTrackingSignalShipmentLineItemMapping" +}, +"type": "array" +}, +"shippingInfo": { +"description": "The shipping information for the order.", +"items": { +"$ref": "OrderTrackingSignalShippingInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"OrderTrackingSignalLineItemDetails": { +"description": "The line items of the order.", +"id": "OrderTrackingSignalLineItemDetails", +"properties": { +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"gtin": { +"description": "The Global Trade Item Number.", +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID for this line item.", +"type": "string" +}, +"mpn": { +"description": "The manufacturer part number.", +"type": "string" +}, +"productDescription": { +"deprecated": true, +"description": "Plain text description of this product (deprecated: Please use product_title instead).", +"type": "string" +}, +"productId": { +"description": "Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.", +"type": "string" +}, +"productTitle": { +"description": "Plain text title of this product.", +"type": "string" +}, +"quantity": { +"description": "The quantity of the line item in the order.", +"format": "int64", +"type": "string" +}, +"sku": { +"deprecated": true, +"description": "Merchant SKU for this item (deprecated).", +"type": "string" +}, +"upc": { +"deprecated": true, +"description": "Universal product code for this item (deprecated: Please use GTIN instead).", +"type": "string" +} +}, +"type": "object" +}, +"OrderTrackingSignalShipmentLineItemMapping": { +"description": "Represents how many items are in the shipment for the given shipment_id and line_item_id.", +"id": "OrderTrackingSignalShipmentLineItemMapping", +"properties": { +"lineItemId": { +"description": "Required. The line item ID.", +"type": "string" +}, +"quantity": { +"description": "The line item quantity in the shipment.", +"format": "int64", +"type": "string" +}, +"shipmentId": { +"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +} +}, +"type": "object" +}, +"OrderTrackingSignalShippingInfo": { +"description": "The shipping information for the order.", +"id": "OrderTrackingSignalShippingInfo", +"properties": { +"actualDeliveryTime": { +"$ref": "DateTime", +"description": "The time when the shipment was actually delivered. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"carrierName": { +"description": "The name of the shipping carrier for the delivery. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", +"type": "string" +}, +"carrierServiceName": { +"description": "The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.", +"type": "string" +}, +"earliestDeliveryPromiseTime": { +"$ref": "DateTime", +"description": "The earliest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"latestDeliveryPromiseTime": { +"$ref": "DateTime", +"description": "The latest delivery promised time. Include the year and timezone string, if available. This field is required, if one of the following fields is absent: tracking_id or carrier_name." +}, +"originPostalCode": { +"description": "The origin postal code, as a continuous string without spaces or dashes, e.g. \"95016\". This field will be anonymized in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"originRegionCode": { +"description": "The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) for the shipping origin.", +"type": "string" +}, +"shipmentId": { +"description": "Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.", +"type": "string" +}, +"shippedTime": { +"$ref": "DateTime", +"description": "The time when the shipment was shipped. Include the year and timezone string, if available." +}, +"shippingStatus": { +"description": "The status of the shipment.", +"enum": [ +"SHIPPING_STATE_UNSPECIFIED", +"SHIPPED", +"DELIVERED" +], +"enumDescriptions": [ +"The shipping status is not known to merchant.", +"All items are shipped.", +"The shipment is already delivered." +], +"type": "string" +}, +"trackingId": { +"description": "The tracking ID of the shipment. This field is required if one of the following fields is absent: earliest_delivery_promise_time, latest_delivery_promise_time, and actual_delivery_time.", +"type": "string" +} +}, +"type": "object" +}, +"PaymentServiceProviderLinkInfo": { +"description": "Additional information required for PAYMENT_SERVICE_PROVIDER link type.", +"id": "PaymentServiceProviderLinkInfo", +"properties": { +"externalAccountBusinessCountry": { +"description": "The business country of the merchant account as identified by the third party service provider.", +"type": "string" +}, +"externalAccountId": { +"description": "The id used by the third party service provider to identify the merchant.", +"type": "string" +} +}, +"type": "object" +}, +"PickupCarrierService": { +"id": "PickupCarrierService", +"properties": { +"carrierName": { +"description": "The name of the pickup carrier (for example, `\"UPS\"`). Required.", +"type": "string" +}, +"serviceName": { +"description": "The name of the pickup service (for example, `\"Access point\"`). Required.", +"type": "string" +} +}, +"type": "object" +}, +"PickupServicesPickupService": { +"id": "PickupServicesPickupService", +"properties": { +"carrierName": { +"description": "The name of the carrier (for example, `\"UPS\"`). Always present.", +"type": "string" +}, +"country": { +"description": "The CLDR country code of the carrier (for example, \"US\"). Always present.", +"type": "string" +}, +"serviceName": { +"description": "The name of the pickup service (for example, `\"Access point\"`). Always present.", +"type": "string" +} +}, +"type": "object" +}, +"PosCustomBatchRequest": { +"id": "PosCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "PosCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"PosCustomBatchRequestEntry": { +"id": "PosCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"inventory": { +"$ref": "PosInventory", +"description": "The inventory to submit. This should be set only if the method is `inventory`." +}, +"merchantId": { +"description": "The ID of the POS data provider.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`inventory`\" - \"`sale`\" ", +"type": "string" +}, +"sale": { +"$ref": "PosSale", +"description": "The sale information to submit. This should be set only if the method is `sale`." +}, +"store": { +"$ref": "PosStore", +"description": "The store information to submit. This should be set only if the method is `insert`." +}, +"storeCode": { +"description": "The store code. This should be set only if the method is `delete` or `get`.", +"type": "string" +}, +"targetMerchantId": { +"description": "The ID of the account for which to get/submit data.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"PosCustomBatchResponse": { +"id": "PosCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "PosCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"PosCustomBatchResponseEntry": { +"id": "PosCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry to which this entry responds.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors defined if, and only if, the request failed." +}, +"inventory": { +"$ref": "PosInventory", +"description": "The updated inventory information." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posCustomBatchResponseEntry`\"", +"type": "string" +}, +"sale": { +"$ref": "PosSale", +"description": "The updated sale information." +}, +"store": { +"$ref": "PosStore", +"description": "The retrieved or updated store information." +} +}, +"type": "object" +}, +"PosDataProviders": { +"id": "PosDataProviders", +"properties": { +"country": { +"description": "Country code.", +"type": "string" +}, +"posDataProviders": { +"description": "A list of POS data providers.", +"items": { +"$ref": "PosDataProvidersPosDataProvider" +}, +"type": "array" +} +}, +"type": "object" +}, +"PosDataProvidersPosDataProvider": { +"id": "PosDataProvidersPosDataProvider", +"properties": { +"displayName": { +"description": "The display name of Pos data Provider.", +"type": "string" +}, +"fullName": { +"description": "The full name of this POS data Provider.", +"type": "string" +}, +"providerId": { +"description": "The ID of the account.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"PosInventory": { +"description": "The absolute quantity of an item available at the given store.", +"id": "PosInventory", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventory`\"", +"type": "string" +}, +"pickupMethod": { +"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"pickupSla": { +"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The current price of the item." +}, +"quantity": { +"description": "Required. The available quantity of the item.", +"format": "int64", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosInventoryRequest": { +"id": "PosInventoryRequest", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"pickupMethod": { +"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"pickupSla": { +"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The current price of the item." +}, +"quantity": { +"description": "Required. The available quantity of the item.", +"format": "int64", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosInventoryResponse": { +"id": "PosInventoryResponse", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posInventoryResponse`\".", +"type": "string" +}, +"pickupMethod": { +"description": "Optional. Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"pickupSla": { +"description": "Optional. Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the [local product inventory feed specification](https://support.google.com/merchants/answer/3061342).", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The current price of the item." +}, +"quantity": { +"description": "Required. The available quantity of the item.", +"format": "int64", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosListResponse": { +"id": "PosListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posListResponse`\".", +"type": "string" +}, +"resources": { +"items": { +"$ref": "PosStore" +}, +"type": "array" +} +}, +"type": "object" +}, +"PosSale": { +"description": "The change of the available quantity of an item at the given store.", +"id": "PosSale", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSale`\"", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The price of the item." +}, +"quantity": { +"description": "Required. The relative change of the available quantity. Negative for items returned.", +"format": "int64", +"type": "string" +}, +"saleId": { +"description": "A unique ID to group items from the same sale event.", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosSaleRequest": { +"id": "PosSaleRequest", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The price of the item." +}, +"quantity": { +"description": "Required. The relative change of the available quantity. Negative for items returned.", +"format": "int64", +"type": "string" +}, +"saleId": { +"description": "A unique ID to group items from the same sale event.", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosSaleResponse": { +"id": "PosSaleResponse", +"properties": { +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number.", +"type": "string" +}, +"itemId": { +"description": "Required. A unique identifier for the item.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posSaleResponse`\".", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Required. The price of the item." +}, +"quantity": { +"description": "Required. The relative change of the available quantity. Negative for items returned.", +"format": "int64", +"type": "string" +}, +"saleId": { +"description": "A unique ID to group items from the same sale event.", +"type": "string" +}, +"storeCode": { +"description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted through the API or the code of the store in a Business Profile.", +"type": "string" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item.", +"type": "string" +}, +"timestamp": { +"description": "Required. The inventory timestamp, in ISO 8601 format.", +"type": "string" +} +}, +"type": "object" +}, +"PosStore": { +"description": "Store resource.", +"id": "PosStore", +"properties": { +"gcidCategory": { +"description": "The business type of the store.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"", +"type": "string" +}, +"matchingStatus": { +"description": "Output only. The matching status of POS store and Google Business Profile store. Possible values are: - \"`matched`\": The POS store is successfully matched with the Google Business Profile store. - \"`failed`\": The POS store is not matched with the Google Business Profile store. See matching_status_hint for further details. Note that there is up to 48 hours propagation delay for changes in Merchant Center (e.g. creation of new account, accounts linking) and Google Business Profile (e.g. store address update) which may affect the matching status. In such cases, after a delay call [pos.list](https://developers.google.com/shopping-content/reference/rest/v2.1/pos/list) to retrieve the updated matching status. ", +"readOnly": true, +"type": "string" +}, +"matchingStatusHint": { +"description": "Output only. The hint of why the matching has failed. This is only set when matching_status=failed. Possible values are: - \"`linked-store-not-found`\": There aren't any Google Business Profile stores available for matching. Connect your Merchant Center account with the Google Business Profile account. Or add a new Google Business Profile store corresponding to the POS store. - \"`store-match-not-found`\": The provided POS store couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but POS store location address does not match with Google Business Profile stores' addresses. Update POS store address or Google Business Profile store address to match correctly. - \"`store-match-unverified`\": The provided POS store couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly. ", +"readOnly": true, +"type": "string" +}, +"phoneNumber": { +"description": "The store phone number.", +"type": "string" +}, +"placeId": { +"description": "The Google Place Id of the store location.", +"type": "string" +}, +"storeAddress": { +"description": "Required. The street address of the store.", +"type": "string" +}, +"storeCode": { +"description": "Required. A store identifier that is unique for the given merchant.", +"type": "string" +}, +"storeName": { +"description": "The merchant or store name.", +"type": "string" +}, +"websiteUrl": { +"description": "The website url for the store or merchant.", +"type": "string" +} +}, +"type": "object" +}, +"PostalCodeGroup": { +"id": "PostalCodeGroup", +"properties": { +"country": { +"description": "The CLDR territory code of the country the postal code group applies to. Required.", +"type": "string" +}, +"name": { +"description": "The name of the postal code group, referred to in headers. Required.", +"type": "string" +}, +"postalCodeRanges": { +"description": "A range of postal codes. Required.", +"items": { +"$ref": "PostalCodeRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"PostalCodeRange": { +"id": "PostalCodeRange", +"properties": { +"postalCodeRangeBegin": { +"description": "A postal code or a pattern of the form `prefix*` denoting the inclusive lower bound of the range defining the area. Examples values: `\"94108\"`, `\"9410*\"`, `\"9*\"`. Required.", +"type": "string" +}, +"postalCodeRangeEnd": { +"description": "A postal code or a pattern of the form `prefix*` denoting the inclusive upper bound of the range defining the area. It must have the same length as `postalCodeRangeBegin`: if `postalCodeRangeBegin` is a postal code then `postalCodeRangeEnd` must be a postal code too; if `postalCodeRangeBegin` is a pattern then `postalCodeRangeEnd` must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching `postalCodeRangeBegin`.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"id": "Price", +"properties": { +"currency": { +"description": "The currency of the price.", +"type": "string" +}, +"value": { +"description": "The price represented as a number.", +"type": "string" +} +}, +"type": "object" +}, +"PriceAmount": { +"description": "The price represented as a number and currency.", +"id": "PriceAmount", +"properties": { +"currency": { +"description": "The currency of the price.", +"type": "string" +}, +"value": { +"description": "The price represented as a number.", +"type": "string" +} +}, +"type": "object" +}, +"PriceCompetitiveness": { +"description": "Price competitiveness fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceCompetitivenessProductView`. https://support.google.com/merchants/answer/9626903", +"id": "PriceCompetitiveness", +"properties": { +"benchmarkPriceCurrencyCode": { +"description": "The price benchmark currency (ISO 4217 code).", +"type": "string" +}, +"benchmarkPriceMicros": { +"description": "The latest available price benchmark in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) for the product's catalog in the benchmark country.", +"format": "int64", +"type": "string" +}, +"countryCode": { +"description": "The country of the price benchmark (ISO 3166 code).", +"type": "string" +} +}, +"type": "object" +}, +"PriceInsights": { +"description": "Price insights fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceInsightsProductView`. https://support.google.com/merchants/answer/11916926", +"id": "PriceInsights", +"properties": { +"effectiveness": { +"description": "The predicted effectiveness of applying the price suggestion, bucketed.", +"enum": [ +"EFFECTIVENESS_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Effectiveness is unknown.", +"Effectiveness is low.", +"Effectiveness is medium.", +"Effectiveness is high." +], +"type": "string" +}, +"predictedClicksChangeFraction": { +"description": "The predicted change in clicks as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in clicks.", +"format": "double", +"type": "number" +}, +"predictedConversionsChangeFraction": { +"description": "The predicted change in conversions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in conversions).", +"format": "double", +"type": "number" +}, +"predictedGrossProfitChangeFraction": { +"description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in gross profit.", +"format": "double", +"type": "number" +}, +"predictedImpressionsChangeFraction": { +"description": "The predicted change in impressions as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in impressions.", +"format": "double", +"type": "number" +}, +"predictedMonthlyGrossProfitChangeCurrencyCode": { +"description": "*Deprecated*: This field is no longer supported and will start returning USD for all requests. The predicted monthly gross profit change currency (ISO 4217 code).", +"type": "string" +}, +"predictedMonthlyGrossProfitChangeMicros": { +"description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) after introducing the suggested price for a month compared to current active price.", +"format": "int64", +"type": "string" +}, +"suggestedPriceCurrencyCode": { +"description": "The suggested price currency (ISO 4217 code).", +"type": "string" +}, +"suggestedPriceMicros": { +"description": "The latest suggested price in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) for the product.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Product": { +"description": " Required product attributes are primarily defined by the product data specification. See the Product Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. The following reference documentation lists the field names in the **camelCase** casing style while the Products Data Specification lists the names in the **snake_case** casing style.", +"id": "Product", +"properties": { +"additionalImageLinks": { +"description": "Additional URLs of images of the item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"additionalSizeType": { +"description": "Additional cut of the item. Used together with size_type to represent combined size types for apparel items.", +"type": "string" +}, +"adsGrouping": { +"description": "Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.", +"type": "string" +}, +"adsLabels": { +"description": "Similar to ads_grouping, but only works on CPC.", +"items": { +"type": "string" +}, +"type": "array" +}, +"adsRedirect": { +"description": "Allows advertisers to override the item URL when the product is shown within the context of Product Ads.", +"type": "string" +}, +"adult": { +"description": "Should be set to true if the item is targeted towards adults.", +"type": "boolean" +}, +"ageGroup": { +"description": "Target age group of the item.", +"type": "string" +}, +"autoPricingMinPrice": { +"$ref": "Price", +"description": "A safeguard in the [Automated Discounts](//support.google.com/merchants/answer/10295759) and [Dynamic Promotions](//support.google.com/merchants/answer/13949249) projects, ensuring that discounts on merchants' offers do not fall below this value, thereby preserving the offer's value and profitability." +}, +"availability": { +"description": "Availability status of the item.", +"type": "string" +}, +"availabilityDate": { +"description": "The day a pre-ordered product becomes available for delivery, in ISO 8601 format.", +"type": "string" +}, +"brand": { +"description": "Brand of the item.", +"type": "string" +}, +"canonicalLink": { +"description": "URL for the canonical version of your item's landing page.", +"type": "string" +}, +"certifications": { +"description": "Product [certification](https://support.google.com/merchants/answer/13528839), introduced for EU energy efficiency labeling compliance using the [EU EPREL](https://eprel.ec.europa.eu/screen/home) database.", +"items": { +"$ref": "ProductCertification" +}, +"type": "array" +}, +"channel": { +"description": "Required. The item's channel (online or local). Acceptable values are: - \"`local`\" - \"`online`\" ", +"type": "string" +}, +"cloudExportAdditionalProperties": { +"description": "Extra fields to export to the Cloud Retail program.", +"items": { +"$ref": "CloudExportAdditionalProperties" +}, +"type": "array" +}, +"color": { +"description": "Color of the item.", +"type": "string" +}, +"condition": { +"description": "Condition or state of the item.", +"type": "string" +}, +"contentLanguage": { +"description": "Required. The two-letter ISO 639-1 language code for the item.", +"type": "string" +}, +"costOfGoodsSold": { +"$ref": "Price", +"description": "Cost of goods sold. Used for gross profit reporting." +}, +"customAttributes": { +"description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google (formerly known as Shopping Actions).", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"customLabel0": { +"description": "Custom label 0 for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel1": { +"description": "Custom label 1 for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel2": { +"description": "Custom label 2 for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel3": { +"description": "Custom label 3 for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"customLabel4": { +"description": "Custom label 4 for custom grouping of items in a Shopping campaign.", +"type": "string" +}, +"description": { +"description": "Description of the item.", +"type": "string" +}, +"disclosureDate": { +"description": "The date time when an offer becomes visible in search results across Google\u2019s YouTube surfaces, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. See [Disclosure date](https://support.google.com/merchants/answer/13034208) for more information.", +"type": "string" +}, +"displayAdsId": { +"description": "An identifier for an item for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsLink": { +"description": "URL directly to your item's landing page for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsSimilarIds": { +"description": "Advertiser-specified recommendations.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayAdsTitle": { +"description": "Title of an item for dynamic remarketing campaigns.", +"type": "string" +}, +"displayAdsValue": { +"description": "Offer margin for dynamic remarketing campaigns.", +"format": "double", +"type": "number" +}, +"energyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"excludedDestinations": { +"description": "The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"expirationDate": { +"description": "Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in `productstatuses` as `googleExpirationDate` and might be earlier if `expirationDate` is too far in the future.", +"type": "string" +}, +"externalSellerId": { +"description": "Required for multi-seller accounts. Use this attribute if you're a marketplace uploading products for various sellers to your multi-seller account.", +"type": "string" +}, +"feedLabel": { +"description": "Feed label for the item. Either `targetCountry` or `feedLabel` is required. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).", +"type": "string" +}, +"freeShippingThreshold": { +"description": "Optional. Conditions to be met for a product to have free shipping.", +"items": { +"$ref": "FreeShippingThreshold" +}, +"type": "array" +}, +"gender": { +"description": "Target gender of the item.", +"type": "string" +}, +"googleProductCategory": { +"description": "Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.", +"type": "string" +}, +"gtin": { +"description": "Global Trade Item Number (GTIN) of the item.", +"type": "string" +}, +"id": { +"description": "The REST ID of the product. Content API methods that operate on products take this as their `productId` parameter. The REST ID for a product has one of the 2 forms channel:contentLanguage: targetCountry: offerId or channel:contentLanguage:feedLabel: offerId.", +"type": "string" +}, +"identifierExists": { +"description": "False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.", +"type": "boolean" +}, +"imageLink": { +"description": "URL of an image of the item.", +"type": "string" +}, +"includedDestinations": { +"description": "The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installment": { +"$ref": "Installment", +"description": "Number and amount of installments to pay for an item." +}, +"isBundle": { +"description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.", +"type": "boolean" +}, +"itemGroupId": { +"description": "Shared identifier for all variants of the same product.", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#product`\"", +"type": "string" +}, +"lifestyleImageLinks": { +"description": "Additional URLs of lifestyle images of the item. Used to explicitly identify images that showcase your item in a real-world context. See the Help Center article for more information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"link": { +"description": "URL directly linking to your item's page on your website.", +"type": "string" +}, +"linkTemplate": { +"description": "URL template for merchant hosted local storefront.", +"type": "string" +}, +"loyaltyProgram": { +"$ref": "LoyaltyProgram", +"description": "Loyalty program information that is used to surface loyalty benefits ( for example, better pricing, points, etc) to the user of this item. This signular field points to the latest uploaded loyalty program info. This field will be deprecated in the coming weeks and should not be used in favor of the plural 'LoyaltyProgram' field below." +}, +"loyaltyPrograms": { +"description": "Optional. A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.", +"items": { +"$ref": "LoyaltyProgram" +}, +"type": "array" +}, +"material": { +"description": "The material of which the item is made.", +"type": "string" +}, +"maxEnergyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"maxHandlingTime": { +"description": "Maximal product handling time (in business days).", +"format": "int64", +"type": "string" +}, +"maximumRetailPrice": { +"$ref": "Price", +"description": "Maximum retail price (MRP) of the item. Applicable to India only." +}, +"minEnergyEfficiencyClass": { +"description": "The energy efficiency class as defined in EU directive 2010/30/EU.", +"type": "string" +}, +"minHandlingTime": { +"description": "Minimal product handling time (in business days).", +"format": "int64", +"type": "string" +}, +"mobileLink": { +"description": "URL for the mobile-optimized version of your item's landing page.", +"type": "string" +}, +"mobileLinkTemplate": { +"description": "URL template for merchant hosted local storefront optimized for mobile devices.", +"type": "string" +}, +"mpn": { +"description": "Manufacturer Part Number (MPN) of the item.", +"type": "string" +}, +"multipack": { +"description": "The number of identical products in a merchant-defined multipack.", +"format": "int64", +"type": "string" +}, +"offerId": { +"description": "Required. A unique identifier for the item. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. Only valid unicode characters are accepted. See the products feed specification for details. *Note:* Content API methods that operate on products take the REST ID of the product, *not* this identifier.", +"type": "string" +}, +"pattern": { +"description": "The item's pattern (for example, polka dots).", +"type": "string" +}, +"pause": { +"description": "Publication of this item should be temporarily paused. Acceptable values are: - \"`ads`\" ", +"type": "string" +}, +"pickupMethod": { +"description": "The pick up option for the item. Acceptable values are: - \"`buy`\" - \"`reserve`\" - \"`ship to store`\" - \"`not supported`\" ", +"type": "string" +}, +"pickupSla": { +"description": "Item store pickup timeline. Acceptable values are: - \"`same day`\" - \"`next day`\" - \"`2-day`\" - \"`3-day`\" - \"`4-day`\" - \"`5-day`\" - \"`6-day`\" - \"`7-day`\" - \"`multi-week`\" ", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Price of the item." +}, +"productDetails": { +"description": "Technical specification or additional product details.", +"items": { +"$ref": "ProductProductDetail" +}, +"type": "array" +}, +"productHeight": { +"$ref": "ProductDimension", +"description": "The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"productHighlights": { +"description": "Bullet points describing the most relevant highlights of a product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productLength": { +"$ref": "ProductDimension", +"description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"productTypes": { +"description": "Categories of the item (formatted as in product data specification).", +"items": { +"type": "string" +}, +"type": "array" +}, +"productWeight": { +"$ref": "ProductWeight", +"description": "The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive)." +}, +"productWidth": { +"$ref": "ProductDimension", +"description": "The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." +}, +"promotionIds": { +"description": "The unique ID of a promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"salePrice": { +"$ref": "Price", +"description": "Advertised sale price of the item." +}, +"salePriceEffectiveDate": { +"description": "Date range during which the item is on sale (see product data specification ).", +"type": "string" +}, +"sellOnGoogleQuantity": { +"description": "The quantity of the product that is available for selling on Google. Supported only for online products.", +"format": "int64", +"type": "string" +}, +"shipping": { +"description": "Shipping rules.", +"items": { +"$ref": "ProductShipping" +}, +"type": "array" +}, +"shippingHeight": { +"$ref": "ProductShippingDimension", +"description": "Height of the item for shipping." +}, +"shippingLabel": { +"description": "The shipping label of the product, used to group product in account-level shipping rules.", +"type": "string" +}, +"shippingLength": { +"$ref": "ProductShippingDimension", +"description": "Length of the item for shipping." +}, +"shippingWeight": { +"$ref": "ProductShippingWeight", +"description": "Weight of the item for shipping." +}, +"shippingWidth": { +"$ref": "ProductShippingDimension", +"description": "Width of the item for shipping." +}, +"shoppingAdsExcludedCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination. Countries from this list are removed from countries configured in MC feed settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sizeSystem": { +"description": "System in which the size is specified. Recommended for apparel items.", +"type": "string" +}, +"sizeType": { +"description": "The cut of the item. Recommended for apparel items.", +"type": "string" +}, +"sizes": { +"description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see size definition).", +"items": { +"type": "string" +}, +"type": "array" +}, +"source": { +"description": "Output only. The source of the offer, that is, how the offer was created. Acceptable values are: - \"`api`\" - \"`crawl`\" - \"`feed`\" ", +"type": "string" +}, +"structuredDescription": { +"$ref": "ProductStructuredDescription", +"description": "Structured description, for algorithmically (AI)-generated descriptions." +}, +"structuredTitle": { +"$ref": "ProductStructuredTitle", +"description": "Structured title, for algorithmically (AI)-generated titles." +}, +"subscriptionCost": { +"$ref": "ProductSubscriptionCost", +"description": "Number of periods (months or years) and amount of payment per period for an item with an associated subscription contract." +}, +"sustainabilityIncentives": { +"description": "Optional. The list of sustainability incentive programs.", +"items": { +"$ref": "ProductSustainabilityIncentive" +}, +"type": "array" +}, +"targetCountry": { +"description": "Required. The CLDR territory code for the item's country of sale.", +"type": "string" +}, +"taxCategory": { +"description": "The tax category of the product, used to configure detailed tax nexus in account-level tax settings.", +"type": "string" +}, +"taxes": { +"description": "Tax information.", +"items": { +"$ref": "ProductTax" +}, +"type": "array" +}, +"title": { +"description": "Title of the item.", +"type": "string" +}, +"transitTimeLabel": { +"description": "The transit time label of the product, used to group product in account-level transit time tables.", +"type": "string" +}, +"unitPricingBaseMeasure": { +"$ref": "ProductUnitPricingBaseMeasure", +"description": "The preference of the denominator of the unit price." +}, +"unitPricingMeasure": { +"$ref": "ProductUnitPricingMeasure", +"description": "The measure and dimension of an item." +}, +"virtualModelLink": { +"description": "URL of the 3D model of the item to provide more visuals.", +"type": "string" +} +}, +"type": "object" +}, +"ProductCertification": { +"description": "Product [certification](https://support.google.com/merchants/answer/13528839), introduced for EU energy efficiency labeling compliance using the [EU EPREL](https://eprel.ec.europa.eu/screen/home) database.", +"id": "ProductCertification", +"properties": { +"certificationAuthority": { +"description": "The certification authority, for example \"European_Commission\". Maximum length is 2000 characters.", +"type": "string" +}, +"certificationCode": { +"description": "The certification code, for eaxample \"123456\". Maximum length is 2000 characters.", +"type": "string" +}, +"certificationName": { +"description": "The name of the certification, for example \"EPREL\". Maximum length is 2000 characters.", +"type": "string" +}, +"certificationValue": { +"description": "The certification value (also known as class, level or grade), for example \"A+\", \"C\", \"gold\". Maximum length is 2000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ProductCluster": { +"description": "Product cluster fields. A product cluster is a grouping for different offers that represent the same product. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductCluster", +"properties": { +"brand": { +"description": "Brand of the product cluster.", +"type": "string" +}, +"brandInventoryStatus": { +"description": "Tells if there is at least one product of the brand currently `IN_STOCK` in your product feed across multiple countries, all products are `OUT_OF_STOCK` in your product feed, or `NOT_IN_INVENTORY`. The field doesn't take the Best Sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Inventory status is unknown.", +"Merchant has a product for this product cluster or brand in stock.", +"Merchant has a product for this product cluster or brand in inventory but it is currently out of stock.", +"Merchant does not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"categoryL1": { +"description": "Product category (1st level) of the product cluster, represented in Google's product taxonomy.", +"type": "string" +}, +"categoryL2": { +"description": "Product category (2nd level) of the product cluster, represented in Google's product taxonomy.", +"type": "string" +}, +"categoryL3": { +"description": "Product category (3rd level) of the product cluster, represented in Google's product taxonomy.", +"type": "string" +}, +"categoryL4": { +"description": "Product category (4th level) of the product cluster, represented in Google's product taxonomy.", +"type": "string" +}, +"categoryL5": { +"description": "Product category (5th level) of the product cluster, represented in Google's product taxonomy.", +"type": "string" +}, +"inventoryStatus": { +"description": "Tells whether the product cluster is `IN_STOCK` in your product feed across multiple countries, `OUT_OF_STOCK` in your product feed, or `NOT_IN_INVENTORY` at all. The field doesn't take the Best Sellers report country filter into account.", +"enum": [ +"INVENTORY_STATUS_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"NOT_IN_INVENTORY" +], +"enumDescriptions": [ +"Inventory status is unknown.", +"Merchant has a product for this product cluster or brand in stock.", +"Merchant has a product for this product cluster or brand in inventory but it is currently out of stock.", +"Merchant does not have a product for this product cluster or brand in inventory." +], +"type": "string" +}, +"title": { +"description": "Title of the product cluster.", +"type": "string" +}, +"variantGtins": { +"description": "GTINs of example variants of the product cluster.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductDeliveryTime": { +"description": "The estimated days to deliver a product after an order is placed. Only authorized shipping signals partners working with a merchant can use this resource. Merchants should use the [`products`](https://developers.google.com/shopping-content/reference/rest/v2.1/products#productshipping) resource instead.", +"id": "ProductDeliveryTime", +"properties": { +"areaDeliveryTimes": { +"description": "Required. A set of associations between `DeliveryArea` and `DeliveryTime` entries. The total number of `areaDeliveryTimes` can be at most 100.", +"items": { +"$ref": "ProductDeliveryTimeAreaDeliveryTime" +}, +"type": "array" +}, +"productId": { +"$ref": "ProductId", +"description": "Required. The `id` of the product." +} +}, +"type": "object" +}, +"ProductDeliveryTimeAreaDeliveryTime": { +"description": "A pairing of `DeliveryArea` associated with a `DeliveryTime` for this product.", +"id": "ProductDeliveryTimeAreaDeliveryTime", +"properties": { +"deliveryArea": { +"$ref": "DeliveryArea", +"description": "Required. The delivery area associated with `deliveryTime` for this product." +}, +"deliveryTime": { +"$ref": "ProductDeliveryTimeAreaDeliveryTimeDeliveryTime", +"description": "Required. The delivery time associated with `deliveryArea` for this product." +} +}, +"type": "object" +}, +"ProductDeliveryTimeAreaDeliveryTimeDeliveryTime": { +"description": "A delivery time for this product.", +"id": "ProductDeliveryTimeAreaDeliveryTimeDeliveryTime", +"properties": { +"maxHandlingTimeDays": { +"description": "Required. The maximum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.", +"format": "int32", +"type": "integer" +}, +"maxTransitTimeDays": { +"description": "Required. The maximum number of business days (inclusive) between when the product ships and when the product is delivered.", +"format": "int32", +"type": "integer" +}, +"minHandlingTimeDays": { +"description": "Required. The minimum number of business days (inclusive) between when an order is placed and when the product ships. If a product ships in the same day, set this value to 0.", +"format": "int32", +"type": "integer" +}, +"minTransitTimeDays": { +"description": "Required. The minimum number of business days (inclusive) between when the product ships and when the product is delivered.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ProductDimension": { +"id": "ProductDimension", +"properties": { +"unit": { +"description": "Required. The length units. Acceptable values are: - \"`in`\" - \"`cm`\" ", +"type": "string" +}, +"value": { +"description": "Required. The length value represented as a number. The value can have a maximum precision of four decimal places.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductId": { +"description": "The Content API ID of the product.", +"id": "ProductId", +"properties": { +"productId": { +"description": "The Content API ID of the product, in the form `channel:contentLanguage:targetCountry:offerId`.", +"type": "string" +} +}, +"type": "object" +}, +"ProductIssue": { +"description": "An issue affecting specific product.", +"id": "ProductIssue", +"properties": { +"actions": { +"description": "A list of actionable steps that can be executed to solve the issue. An example is requesting a re-review or providing arguments when merchant disagrees with the issue. Actions that are supported in (your) third-party application can be rendered as buttons and should be available to merchant when they expand the issue.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"impact": { +"$ref": "ProductIssueImpact", +"description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps merchants to quickly understand the impact of the issue. The detailed breakdown helps the merchant to fully understand the impact of the issue. It can be rendered as dialog that opens when the merchant mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." +}, +"prerenderedContent": { +"description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `list-intro` - marks the paragraph that contains an intro for a list. This paragraph will be always followed by a list. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", +"type": "string" +}, +"prerenderedOutOfCourtDisputeSettlement": { +"description": "Pre-rendered HTML that contains a link to the external location where the ODS can be requested and instructions for how to request it. HTML elements contain CSS classes that can be used to customize the style of this snippet. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `ods-section`* - wrapper around the out-of-court dispute resolution section * `ods-description`* - intro text for the out-of-court dispute resolution. It may contain multiple segments and a link. * `ods-param`* - wrapper around the header-value pair for parameters that merchant may need to provide during the ODS process. * `ods-routing-id`* - ods param for the Routing ID. * `ods-reference-id`* - ods param for the Routing ID. * `ods-param-header`* - header for the ODS parameter * `ods-param-value`* - value of the ODS parameter. This value should be rendered in a way that it is easy for merchants to identify and copy. * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon.", +"type": "string" +}, +"title": { +"description": "Title of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"ProductIssueImpact": { +"description": "Overall impact of product issue.", +"id": "ProductIssueImpact", +"properties": { +"breakdowns": { +"description": "Detailed impact breakdown. Explains the types of restriction the issue has in different shopping destinations and territory. If present, it should be rendered to the merchant. Can be shown as a mouse over dropdown or a dialog. Each breakdown item represents a group of regions with the same impact details.", +"items": { +"$ref": "Breakdown" +}, +"type": "array" +}, +"message": { +"description": "Optional. Message summarizing the overall impact of the issue. If present, it should be rendered to the merchant. For example: \"Limits visibility in France\"", +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Causes either an account suspension or an item disapproval. Errors should be resolved as soon as possible to ensure items are eligible to appear in results again.", +"Warnings can negatively impact the performance of ads and can lead to item or account suspensions in the future unless the issue is resolved.", +"Infos are suggested optimizations to increase data quality. Resolving these issues is recommended, but not required." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductProductDetail": { +"id": "ProductProductDetail", +"properties": { +"attributeName": { +"description": "The name of the product detail.", +"type": "string" +}, +"attributeValue": { +"description": "The value of the product detail.", +"type": "string" +}, +"sectionName": { +"description": "The section header used to group a set of product details.", +"type": "string" +} +}, +"type": "object" +}, +"ProductShipping": { +"id": "ProductShipping", +"properties": { +"country": { +"description": "The CLDR territory code of the country to which an item will ship.", +"type": "string" +}, +"locationGroupName": { +"description": "The location where the shipping is applicable, represented by a location group name.", +"type": "string" +}, +"locationId": { +"description": "The numeric ID of a location that the shipping rate applies to as defined in the Google Ads API.", +"format": "int64", +"type": "string" +}, +"maxHandlingTime": { +"description": "Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it's received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.", +"format": "int64", +"type": "string" +}, +"maxTransitTime": { +"description": "Maximum transit time (inclusive) between when the order has shipped and when it's delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.", +"format": "int64", +"type": "string" +}, +"minHandlingTime": { +"description": "Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it's received if it happens before the cut-off time. minHandlingTime can only be present together with maxHandlingTime; but it's not required if maxHandlingTime is present.", +"format": "int64", +"type": "string" +}, +"minTransitTime": { +"description": "Minimum transit time (inclusive) between when the order has shipped and when it's delivered in business days. 0 means that the order is delivered on the same day as it ships. minTransitTime can only be present together with maxTransitTime; but it's not required if maxTransitTime is present.", +"format": "int64", +"type": "string" +}, +"postalCode": { +"description": "The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Fixed shipping price, represented as a number." +}, +"region": { +"description": "The geographic region to which a shipping rate applies.", +"type": "string" +}, +"service": { +"description": "A free-form description of the service class or delivery speed.", +"type": "string" +} +}, +"type": "object" +}, +"ProductShippingDimension": { +"id": "ProductShippingDimension", +"properties": { +"unit": { +"description": "The unit of value.", +"type": "string" +}, +"value": { +"description": "The dimension of the product used to calculate the shipping cost of the item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductShippingWeight": { +"id": "ProductShippingWeight", +"properties": { +"unit": { +"description": "The unit of value.", +"type": "string" +}, +"value": { +"description": "The weight of the product used to calculate the shipping cost of the item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductStatus": { +"description": "The status of a product, that is, information about a product computed asynchronously.", +"id": "ProductStatus", +"properties": { +"creationDate": { +"description": "Date on which the item has been created, in ISO 8601 format.", +"type": "string" +}, +"destinationStatuses": { +"description": "The intended destinations for the product.", +"items": { +"$ref": "ProductStatusDestinationStatus" +}, +"type": "array" +}, +"googleExpirationDate": { +"description": "Date on which the item expires in Google Shopping, in ISO 8601 format.", +"type": "string" +}, +"itemLevelIssues": { +"description": "A list of all issues associated with the product.", +"items": { +"$ref": "ProductStatusItemLevelIssue" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productStatus`\"", +"type": "string" +}, +"lastUpdateDate": { +"description": "Date on which the item has been last updated, in ISO 8601 format.", +"type": "string" +}, +"link": { +"description": "The link to the product.", +"type": "string" +}, +"productId": { +"description": "The ID of the product for which status is reported.", +"type": "string" +}, +"title": { +"description": "The title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusDestinationStatus": { +"id": "ProductStatusDestinationStatus", +"properties": { +"approvedCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is approved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"channel": { +"description": "The channel of the destination.", +"type": "string" +}, +"destination": { +"description": "The name of the destination", +"type": "string" +}, +"disapprovedCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pendingCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.", +"items": { +"type": "string" +}, +"type": "array" +}, +"status": { +"deprecated": true, +"description": "Deprecated. Destination approval status in `targetCountry` of the offer.", +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusItemLevelIssue": { +"id": "ProductStatusItemLevelIssue", +"properties": { +"applicableCountries": { +"description": "List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.", +"items": { +"type": "string" +}, +"type": "array" +}, +"attributeName": { +"description": "The attribute's name, if the issue is caused by a single attribute.", +"type": "string" +}, +"code": { +"description": "The error code of the issue.", +"type": "string" +}, +"description": { +"description": "A short issue description in English.", +"type": "string" +}, +"destination": { +"description": "The destination the issue applies to.", +"type": "string" +}, +"detail": { +"description": "A detailed issue description in English.", +"type": "string" +}, +"documentation": { +"description": "The URL of a web page to help with resolving this issue.", +"type": "string" +}, +"resolution": { +"description": "Whether the issue can be resolved by the merchant.", +"type": "string" +}, +"servability": { +"description": "How this issue affects serving of the offer.", +"type": "string" +} +}, +"type": "object" +}, +"ProductStructuredDescription": { +"description": "Structured description, for algorithmically (AI)-generated descriptions. See [description](https://support.google.com/merchants/answer/6324468#When_to_use) for more information.", +"id": "ProductStructuredDescription", +"properties": { +"content": { +"description": "Required. The description text. Maximum length is 5000 characters.", +"type": "string" +}, +"digitalSourceType": { +"description": "Optional. The digital source type. Acceptable values are: - \"`trained_algorithmic_media`\" - \"`default`\" ", +"type": "string" +} +}, +"type": "object" +}, +"ProductStructuredTitle": { +"description": "Structured title, for algorithmically (AI)-generated titles. See [title](https://support.google.com/merchants/answer/6324415#Whentouse) for more information.", +"id": "ProductStructuredTitle", +"properties": { +"content": { +"description": "Required. The title text. Maximum length is 150 characters.", +"type": "string" +}, +"digitalSourceType": { +"description": "Optional. The digital source type. Acceptable values are: - \"`trained_algorithmic_media`\" - \"`default`\" ", +"type": "string" +} +}, +"type": "object" +}, +"ProductSubscriptionCost": { +"id": "ProductSubscriptionCost", +"properties": { +"amount": { +"$ref": "Price", +"description": "The amount the buyer has to pay per subscription period." +}, +"period": { +"description": "The type of subscription period. - \"`month`\" - \"`year`\" ", +"type": "string" +}, +"periodLength": { +"description": "The number of subscription periods the buyer has to pay.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProductSustainabilityIncentive": { +"description": "Information regarding sustainability related incentive programs such as rebates or tax relief.", +"id": "ProductSustainabilityIncentive", +"properties": { +"amount": { +"$ref": "Price", +"description": "Optional. The fixed amount of the incentive." +}, +"percentage": { +"description": "Optional. The percentage of the sale price that the incentive is applied to.", +"format": "double", +"type": "number" +}, +"type": { +"description": "Required. Sustainability incentive program.", +"enum": [ +"TYPE_UNSPECIFIED", +"EV_TAX_CREDIT", +"EV_PRICE_DISCOUNT" +], +"enumDescriptions": [ +"Unspecified or unknown sustainability incentive type.", +"Program offering tax liability reductions for electric vehicles and, in some countries, plug-in hybrids. These reductions can be based on a specific amount or a percentage of the sale price.", +"A subsidy program, often called an environmental bonus, provides a purchase grant for electric vehicles and, in some countries, plug-in hybrids. The grant amount may be a fixed sum or a percentage of the sale price." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductTax": { +"id": "ProductTax", +"properties": { +"country": { +"description": "The country within which the item is taxed, specified as a CLDR territory code.", +"type": "string" +}, +"locationId": { +"description": "The numeric ID of a location that the tax rate applies to as defined in the Google Ads API.", +"format": "int64", +"type": "string" +}, +"postalCode": { +"description": "The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.", +"type": "string" +}, +"rate": { +"description": "The percentage of tax rate that applies to the item price.", +"format": "double", +"type": "number" +}, +"region": { +"description": "The geographic region to which the tax rate applies.", +"type": "string" +}, +"taxShip": { +"description": "Should be set to true if tax is charged on shipping.", +"type": "boolean" +} +}, +"type": "object" +}, +"ProductUnitPricingBaseMeasure": { +"id": "ProductUnitPricingBaseMeasure", +"properties": { +"unit": { +"description": "The unit of the denominator.", +"type": "string" +}, +"value": { +"description": "The denominator of the unit price.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProductUnitPricingMeasure": { +"id": "ProductUnitPricingMeasure", +"properties": { +"unit": { +"description": "The unit of the measure.", +"type": "string" +}, +"value": { +"description": "The measure of an item.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductView": { +"description": "Product fields. Values are only set for fields requested explicitly in the request's search query.", +"id": "ProductView", +"properties": { +"aggregatedDestinationStatus": { +"description": "Aggregated destination status.", +"enum": [ +"AGGREGATED_STATUS_UNSPECIFIED", +"NOT_ELIGIBLE_OR_DISAPPROVED", +"PENDING", +"ELIGIBLE_LIMITED", +"ELIGIBLE" +], +"enumDescriptions": [ +"Undefined aggregated status.", +"Offer isn't eligible, or is disapproved for all destinations.", +"Offer's status is pending in all destinations.", +"Offer is eligible for some (but not all) destinations.", +"Offer is eligible for all destinations." +], +"type": "string" +}, +"availability": { +"description": "Availability of the product.", +"type": "string" +}, +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "First level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL2": { +"description": "Second level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL3": { +"description": "Third level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL4": { +"description": "Fourth level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"categoryL5": { +"description": "Fifth level of the product category in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"channel": { +"description": "Channel of the product (online versus local).", +"enum": [ +"CHANNEL_UNSPECIFIED", +"LOCAL", +"ONLINE" +], +"enumDescriptions": [ +"Indicates that the channel is unspecified.", +"Indicates that the channel is local.", +"Indicates that the channel is online." +], +"type": "string" +}, +"clickPotential": { +"description": "Estimated performance potential compared to highest performing products of the merchant.", +"enum": [ +"CLICK_POTENTIAL_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Unknown predicted clicks impact.", +"Potential to receive a low number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a moderate number of clicks compared to the highest performing products of the merchant.", +"Potential to receive a similar number of clicks as the highest performing products of the merchant." +], +"type": "string" +}, +"clickPotentialRank": { +"description": "Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.", +"format": "int64", +"type": "string" +}, +"condition": { +"description": "Condition of the product.", +"type": "string" +}, +"creationTime": { +"description": "The time the merchant created the product in timestamp seconds.", +"format": "google-datetime", +"type": "string" +}, +"currencyCode": { +"description": "Product price currency code (for example, ISO 4217). Absent if product price is not available.", +"type": "string" +}, +"expirationDate": { +"$ref": "Date", +"description": "Expiration date for the product. Specified on insertion." +}, +"gtin": { +"description": "GTIN of the product.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "The REST ID of the product, in the form of channel:contentLanguage:targetCountry:offerId. Content API methods that operate on products take this as their productId parameter. Should always be included in the SELECT clause.", +"type": "string" +}, +"itemGroupId": { +"description": "Item group ID provided by the merchant for grouping variants together.", +"type": "string" +}, +"itemIssues": { +"description": "List of item issues for the product.", +"items": { +"$ref": "ProductViewItemIssue" +}, +"type": "array" +}, +"languageCode": { +"description": "Language code of the product in BCP 47 format.", +"type": "string" +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"priceMicros": { +"description": "Product price specified as micros (1 millionth of a standard unit, 1 USD = 1000000 micros) in the product currency. Absent in case the information about the price of the product is not available.", +"format": "int64", +"type": "string" +}, +"productTypeL1": { +"description": "First level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"productTypeL2": { +"description": "Second level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"productTypeL3": { +"description": "Third level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"productTypeL4": { +"description": "Fourth level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"productTypeL5": { +"description": "Fifth level of the product type in merchant's own [product taxonomy](https://support.google.com/merchants/answer/6324436).", +"type": "string" +}, +"shippingLabel": { +"description": "The normalized shipping label specified in the feed", +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +} +}, +"type": "object" +}, +"ProductViewItemIssue": { +"description": "Item issue associated with the product.", +"id": "ProductViewItemIssue", +"properties": { +"issueType": { +"$ref": "ProductViewItemIssueItemIssueType", +"description": "Item issue type." +}, +"resolution": { +"description": "Item issue resolution.", +"enum": [ +"UNKNOWN", +"MERCHANT_ACTION", +"PENDING_PROCESSING" +], +"enumDescriptions": [ +"Unknown resolution type.", +"The merchant has to fix the issue.", +"The issue will be resolved automatically (for example, image crawl), or Google review. No merchant action is required now. Resolution might lead to another issue (for example, if crawl fails)." +], +"type": "string" +}, +"severity": { +"$ref": "ProductViewItemIssueItemIssueSeverity", +"description": "Item issue severity." +} +}, +"type": "object" +}, +"ProductViewItemIssueIssueSeverityPerDestination": { +"description": "Issue severity for all affected regions in a destination.", +"id": "ProductViewItemIssueIssueSeverityPerDestination", +"properties": { +"demotedCountries": { +"description": "List of demoted countries in the destination.", +"items": { +"type": "string" +}, +"type": "array" +}, +"destination": { +"description": "Issue destination.", +"type": "string" +}, +"disapprovedCountries": { +"description": "List of disapproved countries in the destination.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductViewItemIssueItemIssueSeverity": { +"description": "Severity of an issue per destination in a region, and aggregated severity.", +"id": "ProductViewItemIssueItemIssueSeverity", +"properties": { +"aggregatedSeverity": { +"description": "Severity of an issue aggregated for destination.", +"enum": [ +"AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED", +"DISAPPROVED", +"DEMOTED", +"PENDING" +], +"enumDescriptions": [ +"Undefined Issue severity.", +"Issue disapproves the product in at least one of the selected destinations.", +"Issue demotes the product in all selected destinations it affects.", +"Issue resolution is `PENDING_PROCESSING`." +], +"type": "string" +}, +"severityPerDestination": { +"description": "Item issue severity for every destination.", +"items": { +"$ref": "ProductViewItemIssueIssueSeverityPerDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductViewItemIssueItemIssueType": { +"description": "Type of the item issue.", +"id": "ProductViewItemIssueItemIssueType", +"properties": { +"canonicalAttribute": { +"description": "Canonical attribute name for attribute-specific issues.", +"type": "string" +}, +"code": { +"description": "Error code of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"ProductWeight": { +"id": "ProductWeight", +"properties": { +"unit": { +"description": "Required. The weight unit. Acceptable values are: - \"`g`\" - \"`kg`\" - \"`oz`\" - \"`lb`\" ", +"type": "string" +}, +"value": { +"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ProductsCustomBatchRequest": { +"id": "ProductsCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "ProductsCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductsCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch products request.", +"id": "ProductsCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"feedId": { +"description": "The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed.", +"format": "uint64", +"type": "string" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" - \"`update`\" ", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The product to insert or update. Only required if the method is `insert` or `update`. If the `update` method is used with `updateMask` only to delete a field, then this isn't required. For example, setting `salePrice` on the `updateMask` and not providing a `product` will result in an existing sale price on the product specified by `productId` being deleted." +}, +"productId": { +"description": "The ID of the product to get or mutate. Only defined if the method is `get`, `delete`, or `update`.", +"type": "string" +}, +"updateMask": { +"description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is `update`.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ProductsCustomBatchResponse": { +"id": "ProductsCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "ProductsCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"ProductsCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch products response.", +"id": "ProductsCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsCustomBatchResponseEntry`\"", +"type": "string" +}, +"product": { +"$ref": "Product", +"description": "The inserted product. Only defined if the method is `insert` and if the request was successful." +} +}, +"type": "object" +}, +"ProductsListResponse": { +"id": "ProductsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productsListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of products.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "Product" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductstatusesCustomBatchRequest": { +"id": "ProductstatusesCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "ProductstatusesCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductstatusesCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch productstatuses request.", +"id": "ProductstatusesCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"destinations": { +"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeAttributes": { +"deprecated": true, +"description": "Deprecated: Setting this field has no effect and attributes are never included.", +"type": "boolean" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" ", +"type": "string" +}, +"productId": { +"description": "The ID of the product whose status to get.", +"type": "string" +} +}, +"type": "object" +}, +"ProductstatusesCustomBatchResponse": { +"id": "ProductstatusesCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "ProductstatusesCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"ProductstatusesCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch productstatuses response.", +"id": "ProductstatusesCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesCustomBatchResponseEntry`\"", +"type": "string" +}, +"productStatus": { +"$ref": "ProductStatus", +"description": "The requested product status. Only defined if the request was successful." +} +}, +"type": "object" +}, +"ProductstatusesListResponse": { +"id": "ProductstatusesListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#productstatusesListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of products statuses.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "ProductStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"Promotion": { +"description": "Represents a promotion. See the following articles for more details. * [Promotions feed specification](https://support.google.com/merchants/answer/2906014) * [Local promotions feed specification](https://support.google.com/merchants/answer/10146130) * [Promotions on Buy on Google product data specification](https://support.google.com/merchants/answer/9173673)", +"id": "Promotion", +"properties": { +"brand": { +"description": "Product filter by brand for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"brandExclusion": { +"description": "Product filter by brand exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"contentLanguage": { +"description": "Required. The content language used as part of the unique identifier. `en` content language is available for all target countries. `fr` content language is available for `CA` and `FR` target countries. `de` content language is available for `DE` target country. `nl` content language is available for `NL` target country. `it` content language is available for `IT` target country. `pt` content language is available for `BR` target country. `ja` content language is available for `JP` target country. `ko` content language is available for `KR` target country.", +"type": "string" +}, +"couponValueType": { +"description": "Required. Coupon value type for the promotion.", +"enum": [ +"COUPON_VALUE_TYPE_UNSPECIFIED", +"MONEY_OFF", +"PERCENT_OFF", +"BUY_M_GET_N_MONEY_OFF", +"BUY_M_GET_N_PERCENT_OFF", +"BUY_M_GET_MONEY_OFF", +"BUY_M_GET_PERCENT_OFF", +"FREE_GIFT", +"FREE_GIFT_WITH_VALUE", +"FREE_GIFT_WITH_ITEM_ID", +"FREE_SHIPPING_STANDARD", +"FREE_SHIPPING_OVERNIGHT", +"FREE_SHIPPING_TWO_DAY" +], +"enumDescriptions": [ +"Indicates that the coupon value type is unspecified.", +"Money off coupon value type.", +"Percent off coupon value type.", +"Buy M quantity, get N money off coupon value type. `buy_this_quantity` and `get_this_quantity` must be present. `money_off_amount` must also be present.", +"Buy M quantity, get N percent off coupon value type. `buy_this_quantity` and `get_this_quantity` must be present. `percent_off_percentage` must also be present.", +"Buy M quantity, get money off. `buy_this_quantity` and `money_off_amount` must be present.", +"Buy M quantity, get money off. `buy_this_quantity` and `percent_off_percentage` must be present.", +"Free gift with description only.", +"Free gift with value (description is optional).", +"Free gift with item ID (description is optional).", +"Standard free shipping coupon value type.", +"Overnight free shipping coupon value type.", +"Two day free shipping coupon value type." +], +"type": "string" +}, +"customRedemptionRestriction": { +"description": "The custom redemption restriction for the promotion. If the `redemption_restriction` field is set to `CUSTOM`, this field must be set.", +"type": "string" +}, +"freeGiftDescription": { +"description": "Free gift description for the promotion.", +"type": "string" +}, +"freeGiftItemId": { +"description": "Free gift item ID for the promotion.", +"type": "string" +}, +"freeGiftValue": { +"$ref": "PriceAmount", +"description": "Free gift value for the promotion." +}, +"genericRedemptionCode": { +"description": "Generic redemption code for the promotion. To be used with the `offerType` field.", +"type": "string" +}, +"getThisQuantityDiscounted": { +"description": "The number of items discounted in the promotion.", +"format": "int32", +"type": "integer" +}, +"id": { +"description": "Output only. The REST promotion ID to uniquely identify the promotion. Content API methods that operate on promotions take this as their `promotionId` parameter. The REST ID for a promotion is of the form channel:contentLanguage:targetCountry:promotionId The `channel` field has a value of `\"online\"`, `\"in_store\"`, or `\"online_in_store\"`.", +"readOnly": true, +"type": "string" +}, +"itemGroupId": { +"description": "Product filter by item group ID for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemGroupIdExclusion": { +"description": "Product filter by item group ID exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemId": { +"description": "Product filter by item ID for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemIdExclusion": { +"description": "Product filter by item ID exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"limitQuantity": { +"description": "Maximum purchase quantity for the promotion.", +"format": "int32", +"type": "integer" +}, +"limitValue": { +"$ref": "PriceAmount", +"description": "Maximum purchase value for the promotion." +}, +"longTitle": { +"description": "Required. Long title for the promotion.", +"type": "string" +}, +"maxDiscountAmount": { +"$ref": "PriceAmount", +"description": "The maximum monetary discount a customer can receive for the promotion. This field is only supported with the `Percent off` coupon value type." +}, +"minimumPurchaseAmount": { +"$ref": "PriceAmount", +"description": "Minimum purchase amount for the promotion." +}, +"minimumPurchaseQuantity": { +"description": "Minimum purchase quantity for the promotion.", +"format": "int32", +"type": "integer" +}, +"moneyBudget": { +"$ref": "PriceAmount", +"description": "Cost cap for the promotion." +}, +"moneyOffAmount": { +"$ref": "PriceAmount", +"description": "The money off amount offered in the promotion." +}, +"offerType": { +"description": "Required. Type of the promotion.", +"enum": [ +"OFFER_TYPE_UNSPECIFIED", +"NO_CODE", +"GENERIC_CODE" +], +"enumDescriptions": [ +"Unknown offer type.", +"Offer type without a code.", +"Offer type with a code." +], +"type": "string" +}, +"orderLimit": { +"description": "Order limit for the promotion.", +"format": "int32", +"type": "integer" +}, +"percentOff": { +"description": "The percentage discount offered in the promotion.", +"format": "int32", +"type": "integer" +}, +"productApplicability": { +"description": "Required. Applicability of the promotion to either all products or only specific products.", +"enum": [ +"PRODUCT_APPLICABILITY_UNSPECIFIED", +"ALL_PRODUCTS", +"SPECIFIC_PRODUCTS" +], +"enumDescriptions": [ +"Which products the promotion applies to is unknown.", +"Applicable to all products.", +"Applicable to only a single product or list of products." +], +"type": "string" +}, +"productType": { +"description": "Product filter by product type for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"productTypeExclusion": { +"description": "Product filter by product type exclusion for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"promotionDestinationIds": { +"description": "Destination ID for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"promotionDisplayDates": { +"deprecated": true, +"description": "String representation of the promotion display dates. Deprecated. Use `promotion_display_time_period` instead.", +"type": "string" +}, +"promotionDisplayTimePeriod": { +"$ref": "TimePeriod", +"description": "`TimePeriod` representation of the promotion's display dates." +}, +"promotionEffectiveDates": { +"deprecated": true, +"description": "String representation of the promotion effective dates. Deprecated. Use `promotion_effective_time_period` instead.", +"type": "string" +}, +"promotionEffectiveTimePeriod": { +"$ref": "TimePeriod", +"description": "Required. `TimePeriod` representation of the promotion's effective dates." +}, +"promotionId": { +"description": "Required. The user provided promotion ID to uniquely identify the promotion.", +"type": "string" +}, +"promotionStatus": { +"$ref": "PromotionPromotionStatus", +"description": "Output only. The current status of the promotion.", +"readOnly": true +}, +"promotionUrl": { +"description": "URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no promo url is included. URL is used to confirm that the promotion is valid and can be redeemed.", +"type": "string" +}, +"redemptionChannel": { +"description": "Required. Redemption channel for the promotion. At least one channel is required.", +"items": { +"enum": [ +"REDEMPTION_CHANNEL_UNSPECIFIED", +"IN_STORE", +"ONLINE" +], +"enumDescriptions": [ +"Indicates that the channel is unspecified.", +"Indicates that the channel is in store.", +"Indicates that the channel is online." +], +"type": "string" +}, +"type": "array" +}, +"redemptionRestriction": { +"description": "The redemption restriction for the promotion.", +"enum": [ +"REDEMPTION_RESTRICTION_UNSPECIFIED", +"SUBSCRIBE_AND_SAVE", +"FIRST_ORDER", +"SIGN_UP_FOR_EMAIL", +"SIGN_UP_FOR_TEXT", +"FORMS_OF_PAYMENT", +"CUSTOM" +], +"enumDescriptions": [ +"The redemption restriction is unspecified.", +"The customer must subscribe to the merchant's channel to redeem the promotion.", +"The customer must be a first-time customer to redeem the promotion.", +"The customer must sign up for email's to redeem the promotion.", +"The customer must sign up for text to redeem the promotion.", +"The customer must use a specific form of payment to redeem the promotion.", +"The customer must meet a custom restriction to redeem the promotion. If selected, the `custom_redemption_restriction` field must be set." +], +"type": "string" +}, +"shippingServiceNames": { +"description": "Shipping service names for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeApplicability": { +"description": "Whether the promotion applies to all stores, or only specified stores. Local Inventory ads promotions throw an error if no store applicability is included. An INVALID_ARGUMENT error is thrown if store_applicability is set to ALL_STORES and store_code or score_code_exclusion is set to a value.", +"enum": [ +"STORE_APPLICABILITY_UNSPECIFIED", +"ALL_STORES", +"SPECIFIC_STORES" +], +"enumDescriptions": [ +"Which store codes the promotion applies to is unknown.", +"Promotion applies to all stores.", +"Promotion applies to only the specified stores." +], +"type": "string" +}, +"storeCode": { +"description": "Store codes to include for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeCodeExclusion": { +"description": "Store codes to exclude for the promotion.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetCountry": { +"description": "Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN`, `US`, `BR`, `ES`, `NL`, `JP`, `IT` or `KR`.", +"type": "string" +} +}, +"type": "object" +}, +"PromotionPromotionStatus": { +"description": "The status of the promotion.", +"id": "PromotionPromotionStatus", +"properties": { +"creationDate": { +"description": "Date on which the promotion has been created in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", +"type": "string" +}, +"destinationStatuses": { +"description": "The intended destinations for the promotion.", +"items": { +"$ref": "PromotionPromotionStatusDestinationStatus" +}, +"type": "array" +}, +"lastUpdateDate": { +"description": "Date on which the promotion status has been last updated in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, for example \"2020-01-02T09:00:00+01:00\" or \"2020-01-02T09:00:00Z\"", +"type": "string" +}, +"promotionIssue": { +"description": "A list of issues associated with the promotion.", +"items": { +"$ref": "PromotionPromotionStatusPromotionIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"PromotionPromotionStatusDestinationStatus": { +"description": "The destination status of the promotion.", +"id": "PromotionPromotionStatusDestinationStatus", +"properties": { +"destination": { +"description": "The name of the destination.", +"type": "string" +}, +"status": { +"description": "The status for the specified destination.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_REVIEW", +"REJECTED", +"LIVE", +"STOPPED", +"EXPIRED", +"PENDING" +], +"enumDescriptions": [ +"Unknown promotion state.", +"The promotion is under review.", +"The promotion is disapproved", +"The promotion is approved and active.", +"The promotion is stopped by merchant.", +"The promotion is no longer active.", +"The promotion is not stopped, and all reviews are approved, but the active date is in the future." +], +"type": "string" +} +}, +"type": "object" +}, +"PromotionPromotionStatusPromotionIssue": { +"description": "The issue associated with the promotion.", +"id": "PromotionPromotionStatusPromotionIssue", +"properties": { +"code": { +"description": "Code of the issue.", +"type": "string" +}, +"detail": { +"description": "Explanation of the issue.", +"type": "string" +} +}, +"type": "object" +}, +"PubsubNotificationSettings": { +"description": "Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.", +"id": "PubsubNotificationSettings", +"properties": { +"cloudTopicName": { +"description": "Cloud pub/sub topic to which notifications are sent (read-only).", +"type": "string" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#pubsubNotificationSettings`\"", +"type": "string" +}, +"registeredEvents": { +"description": "List of event types. Acceptable values are: - \"`orderPendingShipment`\" ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RateGroup": { +"id": "RateGroup", +"properties": { +"applicableShippingLabels": { +"description": "A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required.", +"items": { +"type": "string" +}, +"type": "array" +}, +"carrierRates": { +"description": "A list of carrier rates that can be referred to by `mainTable` or `singleValue`.", +"items": { +"$ref": "CarrierRate" +}, +"type": "array" +}, +"mainTable": { +"$ref": "Table", +"description": "A table defining the rate group, when `singleValue` is not expressive enough. Can only be set if `singleValue` is not set." +}, +"name": { +"description": "Name of the rate group. Optional. If set has to be unique within shipping service.", +"type": "string" +}, +"singleValue": { +"$ref": "Value", +"description": "The value of the rate group (for example, flat rate $10). Can only be set if `mainTable` and `subtables` are not set." +}, +"subtables": { +"description": "A list of subtables referred to by `mainTable`. Can only be set if `mainTable` is set.", +"items": { +"$ref": "Table" +}, +"type": "array" +} +}, +"type": "object" +}, +"Recommendation": { +"description": "Recommendations are suggested ways to improve your merchant account's performance. For example, to engage with a feature, or start using a new Google product.", +"id": "Recommendation", +"properties": { +"additionalCallToAction": { +"description": "Output only. CTAs of this recommendation. Repeated.", +"items": { +"$ref": "RecommendationCallToAction" +}, +"readOnly": true, +"type": "array" +}, +"additionalDescriptions": { +"description": "Output only. List of additional localized descriptions for a recommendation. Localication uses the `languageCode` field in `GenerateRecommendations` requests. Not all description types are guaranteed to be present and we recommend to rely on default description.", +"items": { +"$ref": "RecommendationDescription" +}, +"readOnly": true, +"type": "array" +}, +"creative": { +"description": "Output only. Any creatives attached to the recommendation. Repeated.", +"items": { +"$ref": "RecommendationCreative" +}, +"readOnly": true, +"type": "array" +}, +"defaultCallToAction": { +"$ref": "RecommendationCallToAction", +"description": "Optional. Default CTA of the recommendation." +}, +"defaultDescription": { +"description": "Optional. Localized recommendation description. The localization the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", +"type": "string" +}, +"numericalImpact": { +"description": "Optional. A numerical score of the impact from the recommendation's description. For example, a recommendation might suggest an upward trend in sales for a certain product. Higher number means larger impact.", +"format": "int32", +"type": "integer" +}, +"paid": { +"description": "Optional. Indicates whether a user needs to pay when they complete the user journey suggested by the recommendation.", +"type": "boolean" +}, +"recommendationName": { +"description": "Optional. Localized recommendation name. The localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", +"type": "string" +}, +"subType": { +"description": "Optional. Subtype of the recommendations. Only applicable when multiple recommendations can be generated per type, and is used as an identifier of recommendation under the same recommendation type.", +"type": "string" +}, +"title": { +"description": "Optional. Localized Recommendation Title. Localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", +"type": "string" +}, +"type": { +"description": "Output only. Type of the recommendation. List of currently available recommendation types: - OPPORTUNITY_CREATE_NEW_COLLECTION - OPPORTUNITY_CREATE_EMAIL_CAMPAIGN", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecommendationCallToAction": { +"description": "Call to action (CTA) that explains how a merchant can implement this recommendation", +"id": "RecommendationCallToAction", +"properties": { +"intent": { +"description": "Output only. Intent of the action. This value describes the intent (for example, `OPEN_CREATE_EMAIL_CAMPAIGN_FLOW`) and can vary from recommendation to recommendation. This value can change over time for the same recommendation. Currently available intent values: - OPEN_CREATE_EMAIL_CAMPAIGN_FLOW: Opens a user journey where they can create a marketing email campaign. (No default URL) - OPEN_CREATE_COLLECTION_TAB: Opens a user journey where they can [create a collection](https://support.google.com/merchants/answer/9703228) for their Merchant account. (No default URL)", +"readOnly": true, +"type": "string" +}, +"localizedText": { +"description": "Output only. Localized text of the CTA. Optional.", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Optional. URL of the CTA. This field will only be set for some recommendations where there is a suggested landing URL. Otherwise it will be set to an empty string. We recommend developers to use their own custom landing page according to the description of the intent field above when this uri field is empty.", +"type": "string" +} +}, +"type": "object" +}, +"RecommendationCreative": { +"description": "Creative is a multimedia attachment to recommendation that can be used on the frontend.", +"id": "RecommendationCreative", +"properties": { +"type": { +"description": "Type of the creative.", +"enum": [ +"CREATIVE_TYPE_UNSPECIFIED", +"VIDEO", +"PHOTO" +], +"enumDescriptions": [ +"Default value. If provided, shall be considered invalid.", +"Video creatives.", +"Photo creatives." +], +"type": "string" +}, +"uri": { +"description": "URL of the creative.", +"type": "string" +} +}, +"type": "object" +}, +"RecommendationDescription": { +"description": "Google-provided description for the recommendation.", +"id": "RecommendationDescription", +"properties": { +"text": { +"description": "Output only. Text of the description.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Type of the description.", +"enum": [ +"DESCRIPTION_TYPE_UNSPECIFIED", +"SHORT", +"LONG" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Short description.", +"Long description." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Region": { +"description": "Represents a geographic region that you can use as a target with both the `RegionalInventory` and `ShippingSettings` services. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets.", +"id": "Region", +"properties": { +"displayName": { +"description": "The display name of the region.", +"type": "string" +}, +"geotargetArea": { +"$ref": "RegionGeoTargetArea", +"description": "A list of geotargets that defines the region area." +}, +"merchantId": { +"description": "Output only. Immutable. Merchant that owns the region.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"postalCodeArea": { +"$ref": "RegionPostalCodeArea", +"description": "A list of postal codes that defines the region area." +}, +"regionId": { +"description": "Output only. Immutable. The ID uniquely identifying each region.", +"readOnly": true, +"type": "string" +}, +"regionalInventoryEligible": { +"description": "Output only. Indicates if the region is eligible to use in the Regional Inventory configuration.", +"readOnly": true, +"type": "boolean" +}, +"shippingEligible": { +"description": "Output only. Indicates if the region is eligible to use in the Shipping Services configuration.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"RegionGeoTargetArea": { +"description": "A list of geotargets that defines the region area.", +"id": "RegionGeoTargetArea", +"properties": { +"geotargetCriteriaIds": { +"description": "Required. A non-empty list of [location IDs](https://developers.google.com/adwords/api/docs/appendix/geotargeting). They must all be of the same location type (e.g., state).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionPostalCodeArea": { +"description": "A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible via the account's `ShippingSettings.postalCodeGroups` resource.", +"id": "RegionPostalCodeArea", +"properties": { +"postalCodes": { +"description": "Required. A range of postal codes.", +"items": { +"$ref": "RegionPostalCodeAreaPostalCodeRange" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR territory code or the country the postal code group applies to.", +"type": "string" +} +}, +"type": "object" +}, +"RegionPostalCodeAreaPostalCodeRange": { +"description": "A range of postal codes that defines the region area.", +"id": "RegionPostalCodeAreaPostalCodeRange", +"properties": { +"begin": { +"description": "Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: \"94108\", \"9410*\", \"9*\".", +"type": "string" +}, +"end": { +"description": "Optional. A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.", +"type": "string" +} +}, +"type": "object" +}, +"RegionalInventory": { +"description": "Regional inventory resource. contains the regional name and all attributes which are overridden for the specified region.", +"id": "RegionalInventory", +"properties": { +"availability": { +"description": "The availability of the product.", +"type": "string" +}, +"customAttributes": { +"description": "A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalInventory`\".", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "The price of the product." +}, +"regionId": { +"description": "The ID uniquely identifying each region.", +"type": "string" +}, +"salePrice": { +"$ref": "Price", +"description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined." +}, +"salePriceEffectiveDate": { +"description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.", +"type": "string" +} +}, +"type": "object" +}, +"RegionalinventoryCustomBatchRequest": { +"id": "RegionalinventoryCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "RegionalinventoryCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"RegionalinventoryCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch regional inventory request.", +"id": "RegionalinventoryCustomBatchRequestEntry", +"properties": { +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "Method of the batch request entry. Acceptable values are: - \"`insert`\" ", +"type": "string" +}, +"productId": { +"description": "The ID of the product for which to update price and availability.", +"type": "string" +}, +"regionalInventory": { +"$ref": "RegionalInventory", +"description": "Price and availability of the product." +} +}, +"type": "object" +}, +"RegionalinventoryCustomBatchResponse": { +"id": "RegionalinventoryCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "RegionalinventoryCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalinventoryCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"RegionalinventoryCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch regional inventory response.", +"id": "RegionalinventoryCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry this entry responds to.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#regionalinventoryCustomBatchResponseEntry`\".", +"type": "string" +}, +"regionalInventory": { +"$ref": "RegionalInventory", +"description": "Price and availability of the product." +} +}, +"type": "object" +}, +"RenderAccountIssuesRequestPayload": { +"description": "The payload for configuring how the content should be rendered.", +"id": "RenderAccountIssuesRequestPayload", +"properties": { +"contentOption": { +"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.", +"enum": [ +"CONTENT_OPTION_UNSPECIFIED", +"PRE_RENDERED_HTML" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Returns the detail of the issue as a pre-rendered HTML text." +], +"type": "string" +}, +"userInputActionOption": { +"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points merchant to Merchant Center where they can request the action.", +"enum": [ +"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", +"REDIRECT_TO_MERCHANT_CENTER", +"BUILT_IN_USER_INPUT_ACTIONS" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Actions that require user input are represented only as links that points merchant to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.", +"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the merchant before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method." +], +"type": "string" +} +}, +"type": "object" +}, +"RenderAccountIssuesResponse": { +"description": "Response containing support content and actions for listed account issues.", +"id": "RenderAccountIssuesResponse", +"properties": { +"alternateDisputeResolution": { +"$ref": "AlternateDisputeResolution", +"deprecated": true, +"description": "Alternate Dispute Resolution (ADR) is deprecated. Use `prerendered_out_of_court_dispute_settlement` instead." +}, +"issues": { +"description": "List of account issues for a given account. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "AccountIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"RenderProductIssuesRequestPayload": { +"description": "The payload for configuring how the content should be rendered.", +"id": "RenderProductIssuesRequestPayload", +"properties": { +"contentOption": { +"description": "Optional. How the detailed content should be returned. Default option is to return the content as a pre-rendered HTML text.", +"enum": [ +"CONTENT_OPTION_UNSPECIFIED", +"PRE_RENDERED_HTML" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Returns the detail of the issue as a pre-rendered HTML text." +], +"type": "string" +}, +"userInputActionOption": { +"description": "Optional. How actions with user input form should be handled. If not provided, actions will be returned as links that points merchant to Merchant Center where they can request the action.", +"enum": [ +"USER_INPUT_ACTION_RENDERING_OPTION_UNSPECIFIED", +"REDIRECT_TO_MERCHANT_CENTER", +"BUILT_IN_USER_INPUT_ACTIONS" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Actions that require user input are represented only as links that points merchant to Merchant Center where they can request the action. Provides easier to implement alternative to `BUILT_IN_USER_INPUT_ACTIONS`.", +"Returns content and input form definition for each complex action. Your application needs to display this content and input form to the merchant before they can request processing of the action. To start the action, your application needs to call the `triggeraction` method." +], +"type": "string" +} +}, +"type": "object" +}, +"RenderProductIssuesResponse": { +"description": "Response containing support content and actions for listed product issues.", +"id": "RenderProductIssuesResponse", +"properties": { +"alternateDisputeResolution": { +"$ref": "AlternateDisputeResolution", +"deprecated": true, +"description": "Alternate Dispute Resolution (ADR) is deprecated. Use `prerendered_out_of_court_dispute_settlement` instead." +}, +"issues": { +"description": "List of issues for a given product. This list can be shown with compressed, expandable items. In the compressed form, the title and impact should be shown for each issue. Once the issue is expanded, the detailed content and available actions should be rendered.", +"items": { +"$ref": "ProductIssue" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReportInteractionRequest": { +"description": "Request to report interactions on a recommendation.", +"id": "ReportInteractionRequest", +"properties": { +"interactionType": { +"description": "Required. Type of the interaction that is reported, for example INTERACTION_CLICK.", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"INTERACTION_DISMISS", +"INTERACTION_CLICK" +], +"enumDescriptions": [ +"Default value. If provided, the service will throw ApiError with description \"Required parameter: interactionType\".", +"When a recommendation is dismissed.", +"When a recommendation is clicked." +], +"type": "string" +}, +"responseToken": { +"description": "Required. Token of the response when recommendation was returned.", +"type": "string" +}, +"subtype": { +"description": "Optional. Subtype of the recommendations this interaction happened on. This field must be set only to the value that is returned by {@link `RecommendationsService.GenerateRecommendations`} call.", +"type": "string" +}, +"type": { +"description": "Required. Type of the recommendations on which this interaction happened. This field must be set only to the value that is returned by {@link `GenerateRecommendationsResponse`} call.", +"type": "string" +} +}, +"type": "object" +}, +"ReportRow": { +"description": "Result row returned from the search query.", +"id": "ReportRow", +"properties": { +"bestSellers": { +"$ref": "BestSellers", +"description": "Best sellers fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersProductClusterView` or `BestSellersBrandView`." +}, +"brand": { +"$ref": "Brand", +"description": "Brand fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersBrandView`." +}, +"competitiveVisibility": { +"$ref": "CompetitiveVisibility", +"description": "Competitive visibility fields requested by the merchant in the query. Field values are only set if the merchant queries `CompetitiveVisibilityTopMerchantView`, `CompetitiveVisibilityBenchmarkView` or `CompetitiveVisibilityCompetitorView`." +}, +"metrics": { +"$ref": "Metrics", +"description": "Metrics requested by the merchant in the query. Metric values are only set for metrics requested explicitly in the query." +}, +"priceCompetitiveness": { +"$ref": "PriceCompetitiveness", +"description": "Price competitiveness fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceCompetitivenessProductView`." +}, +"priceInsights": { +"$ref": "PriceInsights", +"description": "Price insights fields requested by the merchant in the query. Field values are only set if the merchant queries `PriceInsightsProductView`." +}, +"productCluster": { +"$ref": "ProductCluster", +"description": "Product cluster fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersProductClusterView`." +}, +"productView": { +"$ref": "ProductView", +"description": "Product fields requested by the merchant in the query. Field values are only set if the merchant queries `ProductView`." +}, +"segments": { +"$ref": "Segments", +"description": "Segmentation dimensions requested by the merchant in the query. Dimension values are only set for dimensions requested explicitly in the query." +}, +"topicTrends": { +"$ref": "TopicTrends", +"description": "[Topic trends](https://support.google.com/merchants/answer/13542370) fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`." +} +}, +"type": "object" +}, +"RequestPhoneVerificationRequest": { +"description": "Request message for the RequestPhoneVerification method.", +"id": "RequestPhoneVerificationRequest", +"properties": { +"languageCode": { +"description": "Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US). Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-US if not provided.", +"type": "string" +}, +"phoneNumber": { +"description": "Phone number to be verified.", +"type": "string" +}, +"phoneRegionCode": { +"description": "Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.", +"type": "string" +}, +"phoneVerificationMethod": { +"description": "Verification method to receive verification code.", +"enum": [ +"PHONE_VERIFICATION_METHOD_UNSPECIFIED", +"SMS", +"PHONE_CALL" +], +"enumDescriptions": [ +"Unknown method.", +"Receive verification code by SMS.", +"Receive verification code by phone call." +], +"type": "string" +} +}, +"type": "object" +}, +"RequestPhoneVerificationResponse": { +"description": "Response message for the RequestPhoneVerification method.", +"id": "RequestPhoneVerificationResponse", +"properties": { +"verificationId": { +"description": "The verification ID to use in subsequent calls to `verifyphonenumber`.", +"type": "string" +} +}, +"type": "object" +}, +"RequestReviewFreeListingsRequest": { +"description": "Request message for the RequestReviewFreeListings Program method.", +"id": "RequestReviewFreeListingsRequest", +"properties": { +"regionCode": { +"description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.", +"type": "string" +} +}, +"type": "object" +}, +"RequestReviewShoppingAdsRequest": { +"description": "Request message for the RequestReviewShoppingAds program method.", +"id": "RequestReviewShoppingAdsRequest", +"properties": { +"regionCode": { +"description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.", +"type": "string" +} +}, +"type": "object" +}, +"ReturnPolicyOnline": { +"description": "Return policy online object. This is currently used to represent return policies for ads and free listings programs.", +"id": "ReturnPolicyOnline", +"properties": { +"countries": { +"description": "The countries of sale where the return policy is applicable. The values must be a valid 2 letter ISO 3166 code, e.g. \"US\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"itemConditions": { +"description": "The item conditions that are accepted for returns. This is required to not be empty unless the type of return policy is noReturns.", +"items": { +"enum": [ +"ITEM_CONDITION_UNSPECIFIED", +"NEW", +"USED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"New.", +"Used." +], +"type": "string" +}, +"type": "array" +}, +"label": { +"description": "The unique user-defined label of the return policy. The same label cannot be used in different return policies for the same country. Policies with the label 'default' will apply to all products, unless a product specifies a return_policy_label attribute.", +"type": "string" +}, +"name": { +"description": "The name of the policy as shown in Merchant Center.", +"type": "string" +}, +"policy": { +"$ref": "ReturnPolicyOnlinePolicy", +"description": "The return policy." +}, +"restockingFee": { +"$ref": "ReturnPolicyOnlineRestockingFee", +"description": "The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set." +}, +"returnMethods": { +"description": "The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.", +"items": { +"enum": [ +"RETURN_METHOD_UNSPECIFIED", +"BY_MAIL", +"IN_STORE", +"AT_A_KIOSK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"By mail.", +"In store.", +"At a kiosk." +], +"type": "string" +}, +"type": "array" +}, +"returnPolicyId": { +"description": "Output only. Return policy ID generated by Google.", +"readOnly": true, +"type": "string" +}, +"returnPolicyUri": { +"description": "The return policy uri. This can used by Google to do a sanity check for the policy.", +"type": "string" +}, +"returnReasonCategoryInfo": { +"description": "The return reason category information. This required to not be empty unless the type of return policy is noReturns.", +"items": { +"$ref": "ReturnPolicyOnlineReturnReasonCategoryInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReturnPolicyOnlinePolicy": { +"description": "The available policies.", +"id": "ReturnPolicyOnlinePolicy", +"properties": { +"days": { +"description": "The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. Required for `numberOfDaysAfterDelivery` returns.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Policy type.", +"enum": [ +"TYPE_UNSPECIFIED", +"NUMBER_OF_DAYS_AFTER_DELIVERY", +"NO_RETURNS", +"LIFETIME_RETURNS" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Number of days after a return is delivered.", +"No returns.", +"Life time returns." +], +"type": "string" +} +}, +"type": "object" +}, +"ReturnPolicyOnlineRestockingFee": { +"description": "The restocking fee. This can either be a fixed fee or a micro percent.", +"id": "ReturnPolicyOnlineRestockingFee", +"properties": { +"fixedFee": { +"$ref": "PriceAmount", +"description": "Fixed restocking fee." +}, +"microPercent": { +"description": "Percent of total price in micros. 15,000,000 means 15% of the total price would be charged.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ReturnPolicyOnlineReturnReasonCategoryInfo": { +"description": "The return reason category info wrapper.", +"id": "ReturnPolicyOnlineReturnReasonCategoryInfo", +"properties": { +"returnLabelSource": { +"description": "The corresponding return label source. If the `ReturnMethod` field includes `BY_MAIL`, it is required to specify `ReturnLabelSource` for both `BUYER_REMORSE` and `ITEM_DEFECT` return reason categories.", +"enum": [ +"RETURN_LABEL_SOURCE_UNSPECIFIED", +"DOWNLOAD_AND_PRINT", +"IN_THE_BOX", +"CUSTOMER_RESPONSIBILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Download and print the label.", +"Label in the box.", +"Customers' responsibility to get the label." +], +"type": "string" +}, +"returnReasonCategory": { +"description": "The return reason category.", +"enum": [ +"RETURN_REASON_CATEGORY_UNSPECIFIED", +"BUYER_REMORSE", +"ITEM_DEFECT" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Buyer remorse.", +"Item defect." +], +"type": "string" +}, +"returnShippingFee": { +"$ref": "ReturnPolicyOnlineReturnShippingFee", +"description": "The corresponding return shipping fee. This is only applicable when returnLabelSource is not the customer's responsibility." +} +}, +"type": "object" +}, +"ReturnPolicyOnlineReturnShippingFee": { +"description": "The return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.", +"id": "ReturnPolicyOnlineReturnShippingFee", +"properties": { +"fixedFee": { +"$ref": "PriceAmount", +"description": "Fixed return shipping fee amount. This value is only applicable when type is FIXED. We will treat the return shipping fee as free if type is FIXED and this value is not set." +}, +"type": { +"description": "Type of return shipping fee.", +"enum": [ +"TYPE_UNSPECIFIED", +"FIXED", +"CUSTOMER_PAYING_ACTUAL_FEE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The return shipping fee is a fixed value.", +"Customer will pay the actual return shipping fee." +], +"type": "string" +} +}, +"type": "object" +}, +"Row": { +"id": "Row", +"properties": { +"cells": { +"description": "The list of cells that constitute the row. Must have the same length as `columnHeaders` for two-dimensional tables, a length of 1 for one-dimensional tables. Required.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchRequest": { +"description": "Request message for the ReportService.Search method.", +"id": "SearchRequest", +"properties": { +"pageSize": { +"description": "Number of ReportRows to retrieve in a single page. Defaults to 1000. Values above 5000 are coerced to 5000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Token of the page to retrieve. If not specified, the first page of results is returned. In order to request the next page of results, the value obtained from `next_page_token` in the previous response should be used.", +"type": "string" +}, +"query": { +"description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query-language/overview).", +"type": "string" +} +}, +"type": "object" +}, +"SearchResponse": { +"description": "Response message for the ReportService.Search method.", +"id": "SearchResponse", +"properties": { +"nextPageToken": { +"description": "Token which can be sent as `page_token` to retrieve the next page. If omitted, there are no subsequent pages.", +"type": "string" +}, +"results": { +"description": "Rows that matched the search query.", +"items": { +"$ref": "ReportRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"Segments": { +"description": "Dimensions according to which metrics are segmented in the response. Values of product dimensions, such as `offer_id`, reflect the state of a product at the time of the corresponding event, for example, impression or order. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for dimensions requested explicitly in the request's search query.", +"id": "Segments", +"properties": { +"brand": { +"description": "Brand of the product.", +"type": "string" +}, +"categoryL1": { +"description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", +"type": "string" +}, +"categoryL2": { +"description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", +"type": "string" +}, +"categoryL3": { +"description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", +"type": "string" +}, +"categoryL4": { +"description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", +"type": "string" +}, +"categoryL5": { +"description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.", +"type": "string" +}, +"currencyCode": { +"description": "Currency in which price metrics are represented, for example, if you select `ordered_item_sales_micros`, the returned value will be represented by this currency.", +"type": "string" +}, +"customLabel0": { +"description": "Custom label 0 for custom grouping of products.", +"type": "string" +}, +"customLabel1": { +"description": "Custom label 1 for custom grouping of products.", +"type": "string" +}, +"customLabel2": { +"description": "Custom label 2 for custom grouping of products.", +"type": "string" +}, +"customLabel3": { +"description": "Custom label 3 for custom grouping of products.", +"type": "string" +}, +"customLabel4": { +"description": "Custom label 4 for custom grouping of products.", +"type": "string" +}, +"customerCountryCode": { +"description": "Code of the country where the customer is located at the time of the event. Represented in the ISO 3166 format. If the customer country cannot be determined, a special 'ZZ' code is returned.", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date in the merchant timezone to which metrics apply." +}, +"offerId": { +"description": "Merchant-provided id of the product.", +"type": "string" +}, +"productTypeL1": { +"description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", +"type": "string" +}, +"productTypeL2": { +"description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", +"type": "string" +}, +"productTypeL3": { +"description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", +"type": "string" +}, +"productTypeL4": { +"description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", +"type": "string" +}, +"productTypeL5": { +"description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.", +"type": "string" +}, +"program": { +"description": "Program to which metrics apply, for example, Free Product Listing.", +"enum": [ +"PROGRAM_UNSPECIFIED", +"SHOPPING_ADS", +"FREE_PRODUCT_LISTING", +"FREE_LOCAL_PRODUCT_LISTING", +"BUY_ON_GOOGLE_LISTING" +], +"enumDescriptions": [ +"Not specified.", +"Shopping Ads.", +"Free Product Listing.", +"Free Local Product Listing.", +"*Deprecated*: This value is no longer supported. Retrieving all metrics for the `BUY_ON_GOOGLE_LISTING` program returns 0 starting from May 2024. Buy on Google Listing." +], +"type": "string" +}, +"title": { +"description": "Title of the product.", +"type": "string" +}, +"week": { +"$ref": "Date", +"description": "First day of the week (Monday) of the metrics date in the merchant timezone." +} +}, +"type": "object" +}, +"Service": { +"id": "Service", +"properties": { +"active": { +"description": "A boolean exposing the active status of the shipping service. Required.", +"type": "boolean" +}, +"currency": { +"description": "The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.", +"type": "string" +}, +"deliveryCountry": { +"description": "The CLDR territory code of the country to which the service applies. Required.", +"type": "string" +}, +"deliveryTime": { +"$ref": "DeliveryTime", +"description": "Time spent in various aspects from order to the delivery of the product. Required." +}, +"eligibility": { +"description": "Eligibility for this service. Acceptable values are: - \"`All scenarios`\" - \"`All scenarios except Shopping Actions`\" - \"`Shopping Actions`\" ", +"type": "string" +}, +"minimumOrderValue": { +"$ref": "Price", +"description": "Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table." +}, +"minimumOrderValueTable": { +"$ref": "MinimumOrderValueTable", +"description": "Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value." +}, +"name": { +"description": "Free-form name of the service. Must be unique within target account. Required.", +"type": "string" +}, +"pickupService": { +"$ref": "PickupCarrierService", +"description": "The carrier-service pair delivering items to collection points. The list of supported pickup services can be retrieved through the `getSupportedPickupServices` method. Required if and only if the service delivery type is `pickup`." +}, +"rateGroups": { +"description": "Shipping rate group definitions. Only the last one is allowed to have an empty `applicableShippingLabels`, which means \"everything else\". The other `applicableShippingLabels` must not overlap.", +"items": { +"$ref": "RateGroup" +}, +"type": "array" +}, +"shipmentType": { +"description": "Type of locations this service ships orders to. Acceptable values are: - \"`delivery`\" - \"`pickup` (deprecated)\" - \"`local_delivery`\" - \"`collection_point`\" ", +"type": "string" +}, +"storeConfig": { +"$ref": "ServiceStoreConfig", +"description": "A list of stores your products are delivered from. This is only available for the local delivery shipment type." +} +}, +"type": "object" +}, +"ServiceStoreConfig": { +"description": "Stores that provide local delivery. Only valid with local delivery fulfillment.", +"id": "ServiceStoreConfig", +"properties": { +"cutoffConfig": { +"$ref": "ServiceStoreConfigCutoffConfig", +"description": "Time local delivery ends for the day. This can be either `local_cutoff_time` or `store_close_offset_hours`, if both are provided an error is thrown." +}, +"serviceRadius": { +"$ref": "Distance", +"description": "Maximum delivery radius. Only needed for local delivery fulfillment type." +}, +"storeCodes": { +"description": "A list of store codes that provide local delivery. If empty, then `store_service_type` must be `all_stores`, or an error is thrown. If not empty, then `store_service_type` must be `selected_stores`, or an error is thrown.", +"items": { +"type": "string" +}, +"type": "array" +}, +"storeServiceType": { +"description": "Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are `all stores` and `selected stores`", +"type": "string" +} +}, +"type": "object" +}, +"ServiceStoreConfigCutoffConfig": { +"description": "Time local delivery ends for the day based on the local timezone of the store. `local_cutoff_time` and `store_close_offset_hours` are mutually exclusive.", +"id": "ServiceStoreConfigCutoffConfig", +"properties": { +"localCutoffTime": { +"$ref": "ServiceStoreConfigCutoffConfigLocalCutoffTime", +"description": "Time in hours and minutes in the local timezone when local delivery ends." +}, +"noDeliveryPostCutoff": { +"description": "Merchants can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to `true` results in the calculated shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the same example, setting this field to `false` results in the calculated shipping time being one day. This is only for local delivery.", +"type": "boolean" +}, +"storeCloseOffsetHours": { +"description": "Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ServiceStoreConfigCutoffConfigLocalCutoffTime": { +"description": "Time in hours and minutes in the local timezone when local delivery ends.", +"id": "ServiceStoreConfigCutoffConfigLocalCutoffTime", +"properties": { +"hour": { +"description": "Hour local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +}, +"minute": { +"description": "Minute local delivery orders must be placed by to process the same day.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ShippingSettings": { +"description": "The merchant account's shipping settings. All methods except getsupportedcarriers and getsupportedholidays require the admin role.", +"id": "ShippingSettings", +"properties": { +"accountId": { +"description": "The ID of the account to which these account shipping settings belong. Ignored upon update, always present in get request responses.", +"format": "uint64", +"type": "string" +}, +"postalCodeGroups": { +"description": "A list of postal code groups that can be referred to in `services`. Optional.", +"items": { +"$ref": "PostalCodeGroup" +}, +"type": "array" +}, +"services": { +"description": "The target account's list of services. Optional.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"warehouses": { +"description": "Optional. A list of warehouses which can be referred to in `services`.", +"items": { +"$ref": "Warehouse" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShippingsettingsCustomBatchRequest": { +"id": "ShippingsettingsCustomBatchRequest", +"properties": { +"entries": { +"description": "The request entries to be processed in the batch.", +"items": { +"$ref": "ShippingsettingsCustomBatchRequestEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShippingsettingsCustomBatchRequestEntry": { +"description": "A batch entry encoding a single non-batch shippingsettings request.", +"id": "ShippingsettingsCustomBatchRequestEntry", +"properties": { +"accountId": { +"description": "The ID of the account for which to get/update account shipping settings.", +"format": "uint64", +"type": "string" +}, +"batchId": { +"description": "An entry ID, unique within the batch request.", +"format": "uint32", +"type": "integer" +}, +"merchantId": { +"description": "The ID of the managing account.", +"format": "uint64", +"type": "string" +}, +"method": { +"description": "The method of the batch entry. Acceptable values are: - \"`get`\" - \"`update`\" ", +"type": "string" +}, +"shippingSettings": { +"$ref": "ShippingSettings", +"description": "The account shipping settings to update. Only defined if the method is `update`." +} +}, +"type": "object" +}, +"ShippingsettingsCustomBatchResponse": { +"id": "ShippingsettingsCustomBatchResponse", +"properties": { +"entries": { +"description": "The result of the execution of the batch requests.", +"items": { +"$ref": "ShippingsettingsCustomBatchResponseEntry" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"ShippingsettingsCustomBatchResponseEntry": { +"description": "A batch entry encoding a single non-batch shipping settings response.", +"id": "ShippingsettingsCustomBatchResponseEntry", +"properties": { +"batchId": { +"description": "The ID of the request entry to which this entry responds.", +"format": "uint32", +"type": "integer" +}, +"errors": { +"$ref": "Errors", +"description": "A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request." +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsCustomBatchResponseEntry`\"", +"type": "string" +}, +"shippingSettings": { +"$ref": "ShippingSettings", +"description": "The retrieved or updated account shipping settings." +} +}, +"type": "object" +}, +"ShippingsettingsGetSupportedCarriersResponse": { +"id": "ShippingsettingsGetSupportedCarriersResponse", +"properties": { +"carriers": { +"description": "A list of supported carriers. May be empty.", +"items": { +"$ref": "CarriersCarrier" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedCarriersResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"ShippingsettingsGetSupportedHolidaysResponse": { +"id": "ShippingsettingsGetSupportedHolidaysResponse", +"properties": { +"holidays": { +"description": "A list of holidays applicable for delivery guarantees. May be empty.", +"items": { +"$ref": "HolidaysHoliday" +}, +"type": "array" +}, +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedHolidaysResponse`\".", +"type": "string" +} +}, +"type": "object" +}, +"ShippingsettingsGetSupportedPickupServicesResponse": { +"id": "ShippingsettingsGetSupportedPickupServicesResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsGetSupportedPickupServicesResponse`\".", +"type": "string" +}, +"pickupServices": { +"description": "A list of supported pickup services. May be empty.", +"items": { +"$ref": "PickupServicesPickupService" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShippingsettingsListResponse": { +"id": "ShippingsettingsListResponse", +"properties": { +"kind": { +"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#shippingsettingsListResponse`\".", +"type": "string" +}, +"nextPageToken": { +"description": "The token for the retrieval of the next page of shipping settings.", +"type": "string" +}, +"resources": { +"items": { +"$ref": "ShippingSettings" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShoppingAdsProgramStatus": { +"description": "Response message for GetShoppingAdsProgramStatus.", +"id": "ShoppingAdsProgramStatus", +"properties": { +"globalState": { +"description": "State of the program. `ENABLED` if there are offers for at least one region.", +"enum": [ +"PROGRAM_STATE_UNSPECIFIED", +"NOT_ENABLED", +"NO_OFFERS_UPLOADED", +"ENABLED" +], +"enumDescriptions": [ +"State is unknown.", +"Program is not enabled for any country.", +"No products have been uploaded for any region. Upload products to Merchant Center.", +"Program is enabled and offers are uploaded for at least one country." +], +"type": "string" +}, +"regionStatuses": { +"description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.", +"items": { +"$ref": "ShoppingAdsProgramStatusRegionStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShoppingAdsProgramStatusRegionStatus": { +"description": "Status of program and region.", +"id": "ShoppingAdsProgramStatusRegionStatus", +"properties": { +"disapprovalDate": { +"description": "Date by which eligibilityStatus will go from `WARNING` to `DISAPPROVED`. Only visible when your eligibilityStatus is WARNING. In [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DD`.", +"type": "string" +}, +"eligibilityStatus": { +"description": "Eligibility status of the Shopping Ads program.", +"enum": [ +"STATE_UNSPECIFIED", +"APPROVED", +"DISAPPROVED", +"WARNING", +"UNDER_REVIEW", +"PENDING_REVIEW", +"ONBOARDING" +], +"enumDescriptions": [ +"State is not known.", +"If the account has no issues and review is completed successfully.", +"There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.", +"If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.", +"Account is under review.", +"Account is waiting for review to start.", +"Program is currently onboarding. Upload valid offers to complete onboarding." +], +"type": "string" +}, +"onboardingIssues": { +"description": "Issues that must be fixed to be eligible for review.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCodes": { +"description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"reviewEligibilityStatus": { +"description": "If a program is eligible for review in a specific region. Only visible if `eligibilityStatus` is `DISAPPROVED`.", +"enum": [ +"REVIEW_ELIGIBILITY_UNSPECIFIED", +"ELIGIBLE", +"INELIGIBLE" +], +"enumDescriptions": [ +"Review eligibility state is unknown.", +"Account is eligible for review for a specified region code.", +"Account is not eligible for review for a specified region code." +], +"type": "string" +}, +"reviewIneligibilityReason": { +"description": "Review ineligibility reason if account is not eligible for review.", +"enum": [ +"REVIEW_INELIGIBILITY_REASON_UNSPECIFIED", +"ONBOARDING_ISSUES", +"NOT_ENOUGH_OFFERS", +"IN_COOLDOWN_PERIOD", +"ALREADY_UNDER_REVIEW", +"NO_REVIEW_REQUIRED", +"WILL_BE_REVIEWED_AUTOMATICALLY", +"IS_RETIRED", +"ALREADY_REVIEWED" +], +"enumDescriptions": [ +"Requesting a review from Google is not possible.", +"All onboarding issues needs to be fixed.", +"Not enough offers uploaded for this country.", +"Cooldown period applies. Wait until cooldown period ends.", +"Account is already under review.", +"No issues available to review.", +"Account will be automatically reviewed at the end of the grace period.", +"Account is retired. Should not appear in MC.", +"Account has already been reviewed. You can't request further reviews." +], +"type": "string" +}, +"reviewIneligibilityReasonDescription": { +"description": "Reason a program in a specific region isn\u2019t eligible for review. Only visible if `reviewEligibilityStatus` is `INELIGIBLE`.", +"type": "string" +}, +"reviewIneligibilityReasonDetails": { +"$ref": "ShoppingAdsProgramStatusReviewIneligibilityReasonDetails", +"description": "Additional information for ineligibility. If `reviewIneligibilityReason` is `IN_COOLDOWN_PERIOD`, a timestamp for the end of the cooldown period is provided." +}, +"reviewIssues": { +"description": "Issues evaluated in the review process. Fix all issues before requesting a review.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ShoppingAdsProgramStatusReviewIneligibilityReasonDetails": { +"description": "Additional details for review ineligibility reasons.", +"id": "ShoppingAdsProgramStatusReviewIneligibilityReasonDetails", +"properties": { +"cooldownTime": { +"description": "This timestamp represents end of cooldown period for review ineligbility reason `IN_COOLDOWN_PERIOD`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Table": { +"id": "Table", +"properties": { +"columnHeaders": { +"$ref": "Headers", +"description": "Headers of the table's columns. Optional: if not set then the table has only one dimension." +}, +"name": { +"description": "Name of the table. Required for subtables, ignored for the main table.", +"type": "string" +}, +"rowHeaders": { +"$ref": "Headers", +"description": "Headers of the table's rows. Required." +}, +"rows": { +"description": "The list of rows that constitute the table. Must have the same length as `rowHeaders`. Required.", +"items": { +"$ref": "Row" +}, +"type": "array" +} +}, +"type": "object" +}, +"TextWithTooltip": { +"description": "Block of text that may contain a tooltip with more information.", +"id": "TextWithTooltip", +"properties": { +"simpleTooltipValue": { +"description": "Value of the tooltip as a simple text.", +"type": "string" +}, +"simpleValue": { +"description": "Value of the message as a simple text.", +"type": "string" +}, +"tooltipIconStyle": { +"description": "The suggested type of an icon for tooltip, if a tooltip is present.", +"enum": [ +"TOOLTIP_ICON_STYLE_UNSPECIFIED", +"INFO", +"QUESTION" +], +"enumDescriptions": [ +"Default value. Will never be provided by the API.", +"Used when the tooltip adds additional information to the context, the 'i' can be used as an icon.", +"Used when the tooltip shows helpful information, the '?' can be used as an icon." +], +"type": "string" +} +}, +"type": "object" +}, +"TimePeriod": { +"description": "A message that represents a time period.", +"id": "TimePeriod", +"properties": { +"endTime": { +"description": "The ending timestamp.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The starting timestamp.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "TimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +}, +"TopicTrends": { +"description": "Topic trends fields requested by the merchant in the query. Field values are only set if the merchant queries `TopicTrendsView`. Forecast data can be queried up to 13 weeks by passing a future date in the `date` field. Historical data is measured daily, and forecasted data is projected weekly. All data points are normalized based on the highest data points returned in the response. If you make separate queries with different date ranges, you might see different values for the same date in each response. The recommended way to get a trend score of a topic is `last7_days_search_interest / last{$day}_days_search_interest - 1`. You can view trends for up to eight topics at a time.", +"id": "TopicTrends", +"properties": { +"customerCountryCode": { +"description": "Country trends are calculated for. Must be a two-letter country code (ISO 3166-1-alpha-2 code), for example, `\u201cUS\u201d`.", +"type": "string" +}, +"date": { +"$ref": "Date", +"description": "Date the trend score was retrieved." +}, +"last120DaysSearchInterest": { +"description": "Search interest in the last 120 days, with the same normalization as search_interest. This field is only present for a past date.", +"format": "double", +"type": "number" +}, +"last30DaysSearchInterest": { +"description": "Search interest in the last 30 days, with the same normalization as search_interest. This field is only present for a past date.", +"format": "double", +"type": "number" +}, +"last7DaysSearchInterest": { +"description": "Search interest in the last 7 days, with the same normalization as search_interest. This field is only present for a past date.", +"format": "double", +"type": "number" +}, +"last90DaysSearchInterest": { +"description": "Search interest in the last 90 days, with the same normalization as search_interest. This field is only present for a past date.", +"format": "double", +"type": "number" +}, +"next7DaysSearchInterest": { +"description": "Estimated search interest in the next 7 days, with the same normalization as search_interest. This field is only present for a future date.", +"format": "double", +"type": "number" +}, +"searchInterest": { +"description": "Daily search interest, normalized to the time and country to make comparisons easier, with 100 representing peak popularity (from 0 to 100) for the requested time period and location.", +"format": "double", +"type": "number" +}, +"topic": { +"description": "Google-provided topic trends are calculated for. Only top eight topics are returned. Topic is what shoppers are searching for on Google, grouped by the same concept.", +"type": "string" +} +}, +"type": "object" +}, +"TransitTable": { +"id": "TransitTable", +"properties": { +"postalCodeGroupNames": { +"description": "A list of postal group names. The last value can be `\"all other locations\"`. Example: `[\"zone 1\", \"zone 2\", \"all other locations\"]`. The referred postal code groups must match the delivery country of the service.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rows": { +"items": { +"$ref": "TransitTableTransitTimeRow" +}, +"type": "array" +}, +"transitTimeLabels": { +"description": "A list of transit time labels. The last value can be `\"all other labels\"`. Example: `[\"food\", \"electronics\", \"all other labels\"]`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTableTransitTimeRow": { +"id": "TransitTableTransitTimeRow", +"properties": { +"values": { +"items": { +"$ref": "TransitTableTransitTimeRowTransitTimeValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransitTableTransitTimeRowTransitTimeValue": { +"id": "TransitTableTransitTimeRowTransitTimeValue", +"properties": { +"maxTransitTimeInDays": { +"description": "Must be greater than or equal to `minTransitTimeInDays`.", +"format": "uint32", +"type": "integer" +}, +"minTransitTimeInDays": { +"description": "Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day delivery.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"TriggerActionPayload": { +"description": "The payload for the triggered action.", +"id": "TriggerActionPayload", +"properties": { +"actionContext": { +"description": "Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.", +"type": "string" +}, +"actionInput": { +"$ref": "ActionInput", +"description": "Required. Input provided by the merchant." +} +}, +"type": "object" +}, +"TriggerActionResponse": { +"description": "Response informing about the started action.", +"id": "TriggerActionResponse", +"properties": { +"message": { +"description": "The message for merchant.", +"type": "string" +} +}, +"type": "object" +}, +"UndeleteConversionSourceRequest": { +"description": "Request message for the UndeleteConversionSource method.", +"id": "UndeleteConversionSourceRequest", +"properties": {}, +"type": "object" +}, +"UrlSettings": { +"description": "Specifications related to the `Checkout` URL. The `UriTemplate` is of the form `https://www.mystore.com/checkout?item_id={id}` where `{id}` will be automatically replaced with data from the merchant account with this attribute [offer_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.offer_id)", +"id": "UrlSettings", +"properties": { +"cartUriTemplate": { +"description": "URL template when the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart.", +"type": "string" +}, +"checkoutUriTemplate": { +"description": "URL template when the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart.", +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "The single value of a rate group or the value of a rate group table's cell. Exactly one of `noShipping`, `flatRate`, `pricePercentage`, `carrierRateName`, `subtableName` must be set.", +"id": "Value", +"properties": { +"carrierRateName": { +"description": "The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set.", +"type": "string" +}, +"flatRate": { +"$ref": "Price", +"description": "A flat rate. Can only be set if all other fields are not set." +}, +"noShipping": { +"description": "If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set.", +"type": "boolean" +}, +"pricePercentage": { +"description": "A percentage of the price represented as a number in decimal notation (for example, `\"5.4\"`). Can only be set if all other fields are not set.", +"type": "string" +}, +"subtableName": { +"description": "The name of a subtable. Can only be set in table cells (not for single values), and only if all other fields are not set.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyPhoneNumberRequest": { +"description": "Request message for the VerifyPhoneNumber method.", +"id": "VerifyPhoneNumberRequest", +"properties": { +"phoneVerificationMethod": { +"description": "Verification method used to receive verification code.", +"enum": [ +"PHONE_VERIFICATION_METHOD_UNSPECIFIED", +"SMS", +"PHONE_CALL" +], +"enumDescriptions": [ +"Unknown method.", +"Receive verification code by SMS.", +"Receive verification code by phone call." +], +"type": "string" +}, +"verificationCode": { +"description": "The verification code that was sent to the phone number for validation.", +"type": "string" +}, +"verificationId": { +"description": "The verification ID returned by `requestphoneverification`.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyPhoneNumberResponse": { +"description": "Response message for the VerifyPhoneNumber method.", +"id": "VerifyPhoneNumberResponse", +"properties": { +"verifiedPhoneNumber": { +"description": "Verified phone number if verification is successful. This phone number can only be replaced by another verified phone number.", +"type": "string" +} +}, +"type": "object" +}, +"Warehouse": { +"description": "A fulfillment warehouse, which stores and handles inventory.", +"id": "Warehouse", +"properties": { +"businessDayConfig": { +"$ref": "BusinessDayConfig", +"description": "Business days of the warehouse. If not set, will be Monday to Friday by default." +}, +"cutoffTime": { +"$ref": "WarehouseCutoffTime", +"description": "Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code." +}, +"handlingDays": { +"description": "Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Required. The name of the warehouse. Must be unique within account.", +"type": "string" +}, +"shippingAddress": { +"$ref": "Address", +"description": "Required. Shipping address of the warehouse." +} +}, +"type": "object" +}, +"WarehouseBasedDeliveryTime": { +"id": "WarehouseBasedDeliveryTime", +"properties": { +"carrier": { +"description": "Required. Carrier, such as `\"UPS\"` or `\"Fedex\"`. The list of supported carriers can be retrieved through the `listSupportedCarriers` method.", +"type": "string" +}, +"carrierService": { +"description": "Required. Carrier service, such as `\"ground\"` or `\"2 days\"`. The list of supported services for a carrier can be retrieved through the `listSupportedCarriers` method. The name of the service must be in the eddSupportedServices list.", +"type": "string" +}, +"originAdministrativeArea": { +"description": "Shipping origin's state.", +"type": "string" +}, +"originCity": { +"description": "Shipping origin's city.", +"type": "string" +}, +"originCountry": { +"description": "Shipping origin's country represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).", +"type": "string" +}, +"originPostalCode": { +"description": "Shipping origin.", +"type": "string" +}, +"originStreetAddress": { +"description": "Shipping origin's street address.", +"type": "string" +}, +"warehouseName": { +"description": "The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.", +"type": "string" +} +}, +"type": "object" +}, +"WarehouseCutoffTime": { +"id": "WarehouseCutoffTime", +"properties": { +"hour": { +"description": "Required. Hour (24-hour clock) of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +}, +"minute": { +"description": "Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Weight": { +"id": "Weight", +"properties": { +"unit": { +"description": "Required. The weight unit. Acceptable values are: - \"`kg`\" - \"`lb`\" ", +"type": "string" +}, +"value": { +"description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "content/v2.1/", +"title": "Content API for Shopping", +"version": "v2.1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalineage.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalineage.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..b9956bf0053ea45ca9325486f602f0a10298f71a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datalineage.v1.json @@ -0,0 +1,1966 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datalineage.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Datalineage", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/data-catalog", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-north3.rep.googleapis.com/", +"location": "europe-north3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://datalineage.eu.rep.googleapis.com/", +"location": "eu" +} +], +"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": "datalineage:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datalineage.mtls.googleapis.com/", +"name": "datalineage", +"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": { +"folders": { +"resources": { +"locations": { +"resources": { +"config": { +"methods": { +"get": { +"description": "Get the Config for a given resource.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/config", +"httpMethod": "GET", +"id": "datalineage.folders.locations.config.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the Config for a given resource.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/config", +"httpMethod": "PATCH", +"id": "datalineage.folders.locations.config.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"config": { +"methods": { +"get": { +"description": "Get the Config for a given resource.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/config", +"httpMethod": "GET", +"id": "datalineage.organizations.locations.config.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the Config for a given resource.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/config", +"httpMethod": "PATCH", +"id": "datalineage.organizations.locations.config.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"batchSearchLinkProcesses": { +"description": "Retrieve information about LineageProcesses associated with specific links. LineageProcesses are transformation pipelines that result in data flowing from **source** to **target** assets. Links between assets represent this operation. If you have specific link names, you can use this method to verify which LineageProcesses contribute to creating those links. See the SearchLinks method for more information on how to retrieve link name. You can retrieve the LineageProcess information in every project where you have the `datalineage.events.get` permission. The project provided in the URL is used for Billing and Quota.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:batchSearchLinkProcesses", +"httpMethod": "POST", +"id": "datalineage.projects.locations.batchSearchLinkProcesses", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location where you want to search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:batchSearchLinkProcesses", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"processOpenLineageRunEvent": { +"description": "Creates new lineage events together with their parents: process and run. Updates the process and run if they already exist. Mapped from Open Lineage specification: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:processOpenLineageRunEvent", +"httpMethod": "POST", +"id": "datalineage.projects.locations.processOpenLineageRunEvent", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project and its location that should own the process, run, and lineage event.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}:processOpenLineageRunEvent", +"request": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchLinks": { +"description": "Retrieve a list of links connected to a specific asset. Links represent the data flow between **source** (upstream) and **target** (downstream) assets in transformation pipelines. Links are stored in the same project as the Lineage Events that create them. You can retrieve links in every project where you have the `datalineage.events.get` permission. The project provided in the URL is used for Billing and Quota.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchLinks", +"httpMethod": "POST", +"id": "datalineage.projects.locations.searchLinks", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location you want search in.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:searchLinks", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1SearchLinksRequest" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1SearchLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"config": { +"methods": { +"get": { +"description": "Get the Config for a given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", +"httpMethod": "GET", +"id": "datalineage.projects.locations.config.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the Config for a given resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", +"httpMethod": "PATCH", +"id": "datalineage.projects.locations.config.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/config$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1Config" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datalineage.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datalineage.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datalineage.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datalineage.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"processes": { +"methods": { +"create": { +"description": "Creates a new process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes", +"httpMethod": "POST", +"id": "datalineage.projects.locations.processes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the project and its location that should own the process.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/processes", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the process with the specified name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}", +"httpMethod": "DELETE", +"id": "datalineage.projects.locations.processes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true and the process is not found, the request succeeds but the server doesn't perform any actions.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the process to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of the specified process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the process to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List processes in the given project and location. List order is descending by insertion time.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of processes to return. The service may return fewer than this value. If unspecified, at most 50 processes are returned. The maximum value is 100; values greater than 100 are cut to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token received from a previous `ListProcesses` call. Specify it to get the next page. When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project and its location that owns this collection of processes.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/processes", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1ListProcessesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a process.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}", +"httpMethod": "PATCH", +"id": "datalineage.projects.locations.processes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true and the process is not found, the request inserts it.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The resource name of the lineage process. Format: `projects/{project}/locations/{location}/processes/{process}`. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. Currently not used. The whole message is updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"runs": { +"methods": { +"create": { +"description": "Creates a new run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs", +"httpMethod": "POST", +"id": "datalineage.projects.locations.processes.runs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the process that should own the run.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the run with the specified name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}", +"httpMethod": "DELETE", +"id": "datalineage.projects.locations.processes.runs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true and the run is not found, the request succeeds but the server doesn't perform any actions.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the run to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of the specified run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.runs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the run to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists runs in the given project and location. List order is descending by `start_time`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.runs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of runs to return. The service may return fewer than this value. If unspecified, at most 50 runs are returned. The maximum value is 100; values greater than 100 are cut to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token received from a previous `ListRuns` call. Specify it to get the next page. When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of process that owns this collection of runs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runs", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1ListRunsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a run.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}", +"httpMethod": "PATCH", +"id": "datalineage.projects.locations.processes.runs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true and the run is not found, the request creates it.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to update. Currently not used. The whole message is updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"lineageEvents": { +"methods": { +"create": { +"description": "Creates a new lineage event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}/lineageEvents", +"httpMethod": "POST", +"id": "datalineage.projects.locations.processes.runs.lineageEvents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the run that should own the lineage event.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/lineageEvents", +"request": { +"$ref": "GoogleCloudDatacatalogLineageV1LineageEvent" +}, +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1LineageEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the lineage event with the specified name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}/lineageEvents/{lineageEventsId}", +"httpMethod": "DELETE", +"id": "datalineage.projects.locations.processes.runs.lineageEvents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true and the lineage event is not found, the request succeeds but the server doesn't perform any actions.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the lineage event to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+/lineageEvents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a specified lineage event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}/lineageEvents/{lineageEventsId}", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.runs.lineageEvents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the lineage event to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+/lineageEvents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1LineageEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists lineage events in the given project and location. The list order is not defined.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processes/{processesId}/runs/{runsId}/lineageEvents", +"httpMethod": "GET", +"id": "datalineage.projects.locations.processes.runs.lineageEvents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of lineage events to return. The service may return fewer events than this value. If unspecified, at most 50 events are returned. The maximum value is 100; values greater than 100 are cut to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token received from a previous `ListLineageEvents` call. Specify it to get the next page. When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the run that owns the collection of lineage events to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/processes/[^/]+/runs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/lineageEvents", +"response": { +"$ref": "GoogleCloudDatacatalogLineageV1ListLineageEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://datalineage.googleapis.com/", +"schemas": { +"ApiservingMcpMcpToolDataHandlingProfile": { +"description": "Profile describing the data handling characteristics of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/data_handling\"", +"id": "ApiservingMcpMcpToolDataHandlingProfile", +"properties": { +"inputDataAccessLevel": { +"description": "// The data access level of the tool's inputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +}, +"outputDataAccessLevel": { +"description": "The data access level of the tool's outputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +} +}, +"type": "object" +}, +"ApiservingMcpMcpToolLifecycleProfile": { +"description": "Profile describing the lifecycle stage of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/lifecycle\"", +"id": "ApiservingMcpMcpToolLifecycleProfile", +"properties": { +"launchState": { +"description": "Output only. The current launch state of the MCP tool.", +"enum": [ +"LAUNCH_STATE_UNSPECIFIED", +"LAUNCH_STATE_DEVELOPMENT", +"LAUNCH_STATE_PRODUCTION_PREVIEW", +"LAUNCH_STATE_GENERAL_AVAILABILITY" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The tool is currently in development.", +"The tool is in production preview.", +"The tool is generally available." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageConfigmanagementV1Config": { +"description": "Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.", +"id": "GoogleCloudDatacatalogLineageConfigmanagementV1Config", +"properties": { +"etag": { +"description": "Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the `etag` in the read-modify-write cycle to perform config updates in order to avoid race conditions: An `etag` is returned in the response to `GetConfig`, and systems are expected to put that etag in the request to `UpdateConfig` to ensure that their change will be applied to the same version of the config. If an `etag` is not provided in the call to `UpdateConfig`, then the existing config, if any, will be overwritten.", +"type": "string" +}, +"ingestion": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion", +"description": "Optional. Ingestion rule for Data Lineage ingestion." +}, +"name": { +"description": "Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion": { +"description": "Defines how Lineage should be ingested for a given resource.", +"id": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion", +"properties": { +"rules": { +"description": "Optional. List of rules for Data Lineage ingestion.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule": { +"description": "Ingestion rule for Data Lineage ingestion.", +"id": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule", +"properties": { +"integrationSelector": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector", +"description": "Required. Integration selector of the rule. The rule is only applied to the Integration selected by the selector." +}, +"lineageEnablement": { +"$ref": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement", +"description": "Required. Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. If unspecified, the ingestion will be enabled only if it was configured in the resource's parent." +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector": { +"description": "Integration selector of the rule. The rule is only applied to the Integration selected by the selector.", +"id": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector", +"properties": { +"integration": { +"description": "Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied.", +"enum": [ +"INTEGRATION_UNSPECIFIED", +"DATAPROC" +], +"enumDescriptions": [ +"Integration is Unspecified", +"Dataproc" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement": { +"description": "Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children.", +"id": "GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement", +"properties": { +"enabled": { +"description": "Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest": { +"description": "Request message for BatchSearchLinkProcesses.", +"id": "GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest", +"properties": { +"links": { +"description": "Required. An array of links to check for their associated LineageProcesses. The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the `INVALID_ARGUMENT` error. Format: `projects/{project}/locations/{location}/links/{link}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The page token received from a previous `BatchSearchLinkProcesses` call. Use it to get the next page. When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse": { +"description": "Response message for BatchSearchLinkProcesses.", +"id": "GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse", +"properties": { +"nextPageToken": { +"description": "The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.", +"type": "string" +}, +"processLinks": { +"description": "An array of processes associated with the specified links.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1ProcessLinks" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1EntityReference": { +"description": "The soft reference to everything you can attach a lineage event to.", +"id": "GoogleCloudDatacatalogLineageV1EntityReference", +"properties": { +"fullyQualifiedName": { +"description": "Required. [Fully Qualified Name (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the entity.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1EventLink": { +"description": "A lineage between source and target entities.", +"id": "GoogleCloudDatacatalogLineageV1EventLink", +"properties": { +"source": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "Required. Reference to the source entity" +}, +"target": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "Required. Reference to the target entity" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1LineageEvent": { +"description": "A lineage event represents an operation on assets. Within the operation, the data flows from the source to the target defined in the links field.", +"id": "GoogleCloudDatacatalogLineageV1LineageEvent", +"properties": { +"endTime": { +"description": "Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.", +"format": "google-datetime", +"type": "string" +}, +"links": { +"description": "Optional. List of source-target pairs. Can't contain more than 100 tuples.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1EventLink" +}, +"type": "array" +}, +"name": { +"description": "Immutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`", +"type": "string" +}, +"startTime": { +"description": "Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1Link": { +"description": "Links represent the data flow between **source** (upstream) and **target** (downstream) assets in transformation pipelines. Links are created when LineageEvents record data transformation between related assets.", +"id": "GoogleCloudDatacatalogLineageV1Link", +"properties": { +"endTime": { +"description": "The end of the last event establishing this link.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.", +"readOnly": true, +"type": "string" +}, +"source": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "The pointer to the entity that is the **source** of this link." +}, +"startTime": { +"description": "The start of the first event establishing this link.", +"format": "google-datetime", +"type": "string" +}, +"target": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "The pointer to the entity that is the **target** of this link." +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ListLineageEventsResponse": { +"description": "Response message for ListLineageEvents.", +"id": "GoogleCloudDatacatalogLineageV1ListLineageEventsResponse", +"properties": { +"lineageEvents": { +"description": "Lineage events from the specified project and location.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1LineageEvent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ListProcessesResponse": { +"description": "Response message for ListProcesses.", +"id": "GoogleCloudDatacatalogLineageV1ListProcessesResponse", +"properties": { +"nextPageToken": { +"description": "The token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"processes": { +"description": "The processes from the specified project and location.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1Process" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ListRunsResponse": { +"description": "Response message for ListRuns.", +"id": "GoogleCloudDatacatalogLineageV1ListRunsResponse", +"properties": { +"nextPageToken": { +"description": "The token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"runs": { +"description": "The runs from the specified project and location.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1Run" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1OperationMetadata": { +"description": "Metadata describing the operation.", +"id": "GoogleCloudDatacatalogLineageV1OperationMetadata", +"properties": { +"createTime": { +"description": "Output only. The timestamp of the operation submission to the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "Output only. The type of the operation being performed.", +"enum": [ +"TYPE_UNSPECIFIED", +"DELETE", +"CREATE" +], +"enumDescriptions": [ +"Unused.", +"The resource deletion operation.", +"The resource creation operation." +], +"readOnly": true, +"type": "string" +}, +"resource": { +"description": "Output only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.", +"readOnly": true, +"type": "string" +}, +"resourceUuid": { +"description": "Output only. The UUID of the resource being operated on.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current operation state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unused.", +"The operation has been created but is not yet started.", +"The operation is underway.", +"The operation completed successfully.", +"The operation is no longer running and did not succeed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1Origin": { +"description": "Origin of a process.", +"id": "GoogleCloudDatacatalogLineageV1Origin", +"properties": { +"name": { +"description": "If the source_type isn't CUSTOM, the value of this field should be a Google Cloud resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples: - `{source_type: COMPOSER, name: \"projects/foo/locations/us/environments/bar\"}` - `{source_type: BIGQUERY, name: \"projects/foo/locations/eu\"}` - `{source_type: CUSTOM, name: \"myCustomIntegration\"}`", +"type": "string" +}, +"sourceType": { +"description": "Type of the source. Use of a source_type other than `CUSTOM` for process creation or updating is highly discouraged. It might be restricted in the future without notice. There will be increase in cost if you use any of the source types other than `CUSTOM`.", +"enum": [ +"SOURCE_TYPE_UNSPECIFIED", +"CUSTOM", +"BIGQUERY", +"DATA_FUSION", +"COMPOSER", +"LOOKER_STUDIO", +"DATAPROC", +"VERTEX_AI" +], +"enumDescriptions": [ +"Source is Unspecified", +"A custom source", +"BigQuery", +"Data Fusion", +"Composer", +"Looker Studio", +"Dataproc", +"Vertex AI" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1Process": { +"description": "A process is the definition of a data transformation operation.", +"id": "GoogleCloudDatacatalogLineageV1Process", +"properties": { +"attributes": { +"additionalProperties": { +"type": "any" +}, +"description": "Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process). Up to 100 attributes are allowed.", +"type": "object" +}, +"displayName": { +"description": "Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the lineage process. Format: `projects/{project}/locations/{location}/processes/{process}`. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`", +"type": "string" +}, +"origin": { +"$ref": "GoogleCloudDatacatalogLineageV1Origin", +"description": "Optional. The origin of this process and its runs and lineage events." +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ProcessLinkInfo": { +"description": "Link details.", +"id": "GoogleCloudDatacatalogLineageV1ProcessLinkInfo", +"properties": { +"endTime": { +"description": "The end of the last event establishing this link-process tuple.", +"format": "google-datetime", +"type": "string" +}, +"link": { +"description": "The name of the link in the format of `projects/{project}/locations/{location}/links/{link}`.", +"type": "string" +}, +"startTime": { +"description": "The start of the first event establishing this link-process tuple.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ProcessLinks": { +"description": "Links associated with a specific process.", +"id": "GoogleCloudDatacatalogLineageV1ProcessLinks", +"properties": { +"links": { +"description": "An array containing link details objects of the links provided in the original request. A single process can result in creating multiple links. If any of the links you provide in the request are created by the same process, they all are included in this array.", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1ProcessLinkInfo" +}, +"type": "array" +}, +"process": { +"description": "The process name in the format of `projects/{project}/locations/{location}/processes/{process}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse": { +"description": "Response message for ProcessOpenLineageRunEvent.", +"id": "GoogleCloudDatacatalogLineageV1ProcessOpenLineageRunEventResponse", +"properties": { +"lineageEvents": { +"description": "Created lineage event names. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"process": { +"description": "Created process name. Format: `projects/{project}/locations/{location}/processes/{process}`.", +"type": "string" +}, +"run": { +"description": "Created run name. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1Run": { +"description": "A lineage run represents an execution of a process that creates lineage events.", +"id": "GoogleCloudDatacatalogLineageV1Run", +"properties": { +"attributes": { +"additionalProperties": { +"type": "any" +}, +"description": "Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed.", +"type": "object" +}, +"displayName": { +"description": "Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`", +"type": "string" +}, +"endTime": { +"description": "Optional. The timestamp of the end of the run.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`", +"type": "string" +}, +"startTime": { +"description": "Required. The timestamp of the start of the run.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Required. The state of the run.", +"enum": [ +"UNKNOWN", +"STARTED", +"COMPLETED", +"FAILED", +"ABORTED" +], +"enumDescriptions": [ +"The state is unknown. The true state may be any of the below or a different state that is not supported here explicitly.", +"The run is still executing.", +"The run completed.", +"The run failed.", +"The run aborted." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1SearchLinksRequest": { +"description": "Request message for SearchLinks.", +"id": "GoogleCloudDatacatalogLineageV1SearchLinksRequest", +"properties": { +"pageSize": { +"description": "Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned. Maximum value is 100; values greater than 100 are reduced to 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token received from a previous `SearchLinksRequest` call. Use it to get the next page. When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.", +"type": "string" +}, +"source": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "Optional. Send asset information in the **source** field to retrieve all links that lead from the specified asset to downstream assets." +}, +"target": { +"$ref": "GoogleCloudDatacatalogLineageV1EntityReference", +"description": "Optional. Send asset information in the **target** field to retrieve all links that lead from upstream assets to the specified asset." +} +}, +"type": "object" +}, +"GoogleCloudDatacatalogLineageV1SearchLinksResponse": { +"description": "Response message for SearchLinks.", +"id": "GoogleCloudDatacatalogLineageV1SearchLinksResponse", +"properties": { +"links": { +"description": "The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).", +"items": { +"$ref": "GoogleCloudDatacatalogLineageV1Link" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"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", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Data Lineage API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..124d8308b7df0838b18fe2d0d2ab89400fad532b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamanager.v1.json @@ -0,0 +1,3225 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/datamanager": { +"description": "See, edit, create, import, or delete your customer data in Google Ads, Google Marketing Platform (Campaign Manager 360, Search Ads 360, Display & Video 360), and Google Analytics" +} +} +} +}, +"basePath": "", +"baseUrl": "https://datamanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Data Manager", +"description": "A unified ingestion API for data partners, agencies and advertisers to connect first-party data across Google advertising products.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/data-manager", +"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": "datamanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datamanager.mtls.googleapis.com/", +"name": "datamanager", +"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": { +"accountTypes": { +"resources": { +"accounts": { +"resources": { +"insights": { +"methods": { +"retrieve": { +"description": "Retrieves marketing data insights for a given user list. This feature is only available to data partners. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/insights:retrieve", +"httpMethod": "POST", +"id": "datamanager.accountTypes.accounts.insights.retrieve", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent account that owns the user list. Format: `accountTypes/{account_type}/accounts/{account}`", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/insights:retrieve", +"request": { +"$ref": "RetrieveInsightsRequest" +}, +"response": { +"$ref": "RetrieveInsightsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +}, +"partnerLinks": { +"methods": { +"create": { +"description": "Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/partnerLinks", +"httpMethod": "POST", +"id": "datamanager.accountTypes.accounts.partnerLinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/partnerLinks", +"request": { +"$ref": "PartnerLink" +}, +"response": { +"$ref": "PartnerLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"delete": { +"description": "Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/partnerLinks/{partnerLinksId}", +"httpMethod": "DELETE", +"id": "datamanager.accountTypes.accounts.partnerLinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the partner link to delete. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/partnerLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"search": { +"description": "Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/partnerLinks:search", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.partnerLinks.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A [filter string](//google.aip.dev/160). All fields need to be on the left hand side of each condition (for example: `partner_link_id = 123456789`). Supported operations: - `AND` - `=` - `!=` Supported fields: - `partner_link_id` - `owning_account.account_type` - `owning_account.account_id` - `partner_account.account_type` - `partner_account.account_id` Example: `owning_account.account_type = \"GOOGLE_ADS\" AND partner_account.account_id = 987654321`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `SearchPartnerLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchPartnerLinks` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Account to search for partner links. If no `filter` is specified, all partner links where this account is either the `owning_account` or `partner_account` are returned. Format: `accountTypes/{account_type}/accounts/{account}`", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/partnerLinks:search", +"response": { +"$ref": "SearchPartnerLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +}, +"userListDirectLicenses": { +"methods": { +"create": { +"description": "Creates a user list direct license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListDirectLicenses", +"httpMethod": "POST", +"id": "datamanager.accountTypes.accounts.userListDirectLicenses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userListDirectLicenses", +"request": { +"$ref": "UserListDirectLicense" +}, +"response": { +"$ref": "UserListDirectLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"get": { +"description": "Retrieves a user list direct license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListDirectLicenses/{userListDirectLicensesId}", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userListDirectLicenses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the user list direct license.", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userListDirectLicenses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserListDirectLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"list": { +"description": "Lists all user list direct licenses owned by the parent account. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListDirectLicenses", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userListDirectLicenses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). **Supported Operations:** - `AND` - `=` - `!=` - `>` - `>=` - `<` - `<=` **Unsupported Fields:** - `name` (use get method instead) - `historical_pricings` and all its subfields - `pricing.start_time` - `pricing.end_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of licenses to return per page. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserListDirectLicense` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserListDirectLicense` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userListDirectLicenses", +"response": { +"$ref": "ListUserListDirectLicensesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"patch": { +"description": "Updates a user list direct license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListDirectLicenses/{userListDirectLicensesId}", +"httpMethod": "PATCH", +"id": "datamanager.accountTypes.accounts.userListDirectLicenses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the user list direct license.", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userListDirectLicenses/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. The special character `*` is not supported and an `INVALID_UPDATE_MASK` error will be thrown if used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserListDirectLicense" +}, +"response": { +"$ref": "UserListDirectLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +}, +"userListGlobalLicenses": { +"methods": { +"create": { +"description": "Creates a user list global license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListGlobalLicenses", +"httpMethod": "POST", +"id": "datamanager.accountTypes.accounts.userListGlobalLicenses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userListGlobalLicenses", +"request": { +"$ref": "UserListGlobalLicense" +}, +"response": { +"$ref": "UserListGlobalLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"get": { +"description": "Retrieves a user list global license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListGlobalLicenses/{userListGlobalLicensesId}", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userListGlobalLicenses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the user list global license.", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userListGlobalLicenses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserListGlobalLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"list": { +"description": "Lists all user list global licenses owned by the parent account. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListGlobalLicenses", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userListGlobalLicenses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). **Supported Operations:** - `AND` - `=` - `!=` - `>` - `>=` - `<` - `<=` **Unsupported Fields:** - `name` (use get method instead) - `historical_pricings` and all its subfields - `pricing.start_time` - `pricing.end_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserListGlobalLicense` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserListDirectLicense` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userListGlobalLicenses", +"response": { +"$ref": "ListUserListGlobalLicensesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"patch": { +"description": "Updates a user list global license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListGlobalLicenses/{userListGlobalLicensesId}", +"httpMethod": "PATCH", +"id": "datamanager.accountTypes.accounts.userListGlobalLicenses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the user list global license.", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userListGlobalLicenses/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update. The special character `*` is not supported and an `INVALID_UPDATE_MASK` error will be thrown if used.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserListGlobalLicense" +}, +"response": { +"$ref": "UserListGlobalLicense" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +}, +"resources": { +"userListGlobalLicenseCustomerInfos": { +"methods": { +"list": { +"description": "Lists all customer info for a user list global license. This feature is only available to data partners.", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userListGlobalLicenses/{userListGlobalLicensesId}/userListGlobalLicenseCustomerInfos", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userListGlobalLicenses.userListGlobalLicenseCustomerInfos.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123). **Supported Operations:** - `AND` - `=` - `!=` - `>` - `>=` - `<` - `<=` **Unsupported Fields:** - `name` (use get method instead) - `historical_pricings` and all its subfields - `pricing.start_time` - `pricing.end_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserListDirectLicense` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserListDirectLicense` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The global license whose customer info are being queried. Should be in the format `accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}/userListGlobalLicenses/{USER_LIST_GLOBAL_LICENSE_ID}`. To list all global license customer info under an account, replace the user list global license id with a '-' (for example, `accountTypes/DATA_PARTNER/accounts/123/userListGlobalLicenses/-`)", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userListGlobalLicenses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userListGlobalLicenseCustomerInfos", +"response": { +"$ref": "ListUserListGlobalLicenseCustomerInfosResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +} +} +}, +"userLists": { +"methods": { +"create": { +"description": "Creates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userLists", +"httpMethod": "POST", +"id": "datamanager.accountTypes.accounts.userLists.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent account where this user list will be created. Format: accountTypes/{account_type}/accounts/{account}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated but not executed.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/userLists", +"request": { +"$ref": "UserList" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"delete": { +"description": "Deletes a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userLists/{userListsId}", +"httpMethod": "DELETE", +"id": "datamanager.accountTypes.accounts.userLists.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated but not executed.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"get": { +"description": "Gets a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userLists/{userListsId}", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userLists.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the UserList to retrieve. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"list": { +"description": "Lists UserLists. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userLists", +"httpMethod": "GET", +"id": "datamanager.accountTypes.accounts.userLists.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A [filter string](//google.aip.dev/160). All fields need to be on the left hand side of each condition (for example: `display_name = \"list 1\"`). Supported operations: - `AND` - `=` - `!=` - `>` - `>=` - `<` - `<=` - `:` (has) Supported fields: - `id` - `display_name` - `description` - `membership_status` - `integration_code` - `access_reason` - `ingested_user_list_info.upload_key_types`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of user lists to return. The service may return fewer than this value. If unspecified, at most 50 user lists will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListUserLists` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLists` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent account which owns this collection of user lists. Format: accountTypes/{account_type}/accounts/{account}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userLists", +"response": { +"$ref": "ListUserListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"patch": { +"description": "Updates a UserList. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", +"flatPath": "v1/accountTypes/{accountTypesId}/accounts/{accountsId}/userLists/{userListsId}", +"httpMethod": "PATCH", +"id": "datamanager.accountTypes.accounts.userLists.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the user list. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}", +"location": "path", +"pattern": "^accountTypes/[^/]+/accounts/[^/]+/userLists/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If true, the request is validated but not executed.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserList" +}, +"response": { +"$ref": "UserList" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +} +} +} +} +}, +"audienceMembers": { +"methods": { +"ingest": { +"description": "Uploads a list of AudienceMember resources to the provided Destination.", +"flatPath": "v1/audienceMembers:ingest", +"httpMethod": "POST", +"id": "datamanager.audienceMembers.ingest", +"parameterOrder": [], +"parameters": {}, +"path": "v1/audienceMembers:ingest", +"request": { +"$ref": "IngestAudienceMembersRequest" +}, +"response": { +"$ref": "IngestAudienceMembersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +}, +"remove": { +"description": "Removes a list of AudienceMember resources from the provided Destination.", +"flatPath": "v1/audienceMembers:remove", +"httpMethod": "POST", +"id": "datamanager.audienceMembers.remove", +"parameterOrder": [], +"parameters": {}, +"path": "v1/audienceMembers:remove", +"request": { +"$ref": "RemoveAudienceMembersRequest" +}, +"response": { +"$ref": "RemoveAudienceMembersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +}, +"events": { +"methods": { +"ingest": { +"description": "Uploads a list of Event resources from the provided Destination.", +"flatPath": "v1/events:ingest", +"httpMethod": "POST", +"id": "datamanager.events.ingest", +"parameterOrder": [], +"parameters": {}, +"path": "v1/events:ingest", +"request": { +"$ref": "IngestEventsRequest" +}, +"response": { +"$ref": "IngestEventsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +}, +"requestStatus": { +"methods": { +"retrieve": { +"description": "Gets the status of a request given request id.", +"flatPath": "v1/requestStatus:retrieve", +"httpMethod": "GET", +"id": "datamanager.requestStatus.retrieve", +"parameterOrder": [], +"parameters": { +"requestId": { +"description": "Required. Required. The request ID of the Data Manager API request.", +"location": "query", +"type": "string" +} +}, +"path": "v1/requestStatus:retrieve", +"response": { +"$ref": "RetrieveRequestStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/datamanager" +] +} +} +} +}, +"revision": "20260225", +"rootUrl": "https://datamanager.googleapis.com/", +"schemas": { +"AdIdentifiers": { +"description": "Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).", +"id": "AdIdentifiers", +"properties": { +"gbraid": { +"description": "Optional. The click identifier for clicks associated with app events and originating from iOS devices starting with iOS14.", +"type": "string" +}, +"gclid": { +"description": "Optional. The Google click ID (gclid) associated with this event.", +"type": "string" +}, +"landingPageDeviceInfo": { +"$ref": "DeviceInfo", +"description": "Optional. Information gathered about the device being used (if any) at the time of landing onto the advertiser\u2019s site after interacting with the ad." +}, +"sessionAttributes": { +"description": "Optional. Session attributes for event attribution and modeling.", +"type": "string" +}, +"wbraid": { +"description": "Optional. The click identifier for clicks associated with web events and originating from iOS devices starting with iOS14.", +"type": "string" +} +}, +"type": "object" +}, +"AddressInfo": { +"description": "Address information for the user.", +"id": "AddressInfo", +"properties": { +"familyName": { +"description": "Required. Family (last) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.", +"type": "string" +}, +"givenName": { +"description": "Required. Given (first) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.", +"type": "string" +}, +"postalCode": { +"description": "Required. The postal code of the user's address.", +"type": "string" +}, +"regionCode": { +"description": "Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's address.", +"type": "string" +} +}, +"type": "object" +}, +"AudienceMember": { +"description": "The audience member to be operated on.", +"id": "AudienceMember", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Optional. The consent setting for the user." +}, +"destinationReferences": { +"description": "Optional. Defines which Destination to send the audience member to.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mobileData": { +"$ref": "MobileData", +"description": "Data identifying the user's mobile devices." +}, +"pairData": { +"$ref": "PairData", +"description": "[Publisher Advertiser Identity Reconciliation (PAIR) IDs](//support.google.com/admanager/answer/15067908). This feature is only available to data partners." +}, +"ppidData": { +"$ref": "PpidData", +"description": "Data related to publisher provided identifiers. This feature is only available to data partners." +}, +"userData": { +"$ref": "UserData", +"description": "User-provided data that identifies the user." +}, +"userIdData": { +"$ref": "UserIdData", +"description": "Data related to unique identifiers for a user, as defined by the advertiser." +} +}, +"type": "object" +}, +"AwsWrappedKeyInfo": { +"description": "A data encryption key wrapped by an AWS KMS key.", +"id": "AwsWrappedKeyInfo", +"properties": { +"encryptedDek": { +"description": "Required. The base64 encoded encrypted data encryption key.", +"type": "string" +}, +"kekUri": { +"description": "Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of `arn:{partition}:kms:{region}:{account_id}:key/{key_id}` or `aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}`", +"type": "string" +}, +"keyType": { +"description": "Required. The type of algorithm used to encrypt the data.", +"enum": [ +"KEY_TYPE_UNSPECIFIED", +"XCHACHA20_POLY1305" +], +"enumDescriptions": [ +"Unspecified key type. Should never be used.", +"Algorithm XChaCha20-Poly1305" +], +"type": "string" +}, +"roleArn": { +"description": "Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of `arn:{partition}:iam::{account_id}:role/{role_name}`", +"type": "string" +} +}, +"type": "object" +}, +"Baseline": { +"description": "Baseline criteria against which insights are compared.", +"id": "Baseline", +"properties": { +"baselineLocation": { +"$ref": "Location", +"description": "The baseline location of the request. Baseline location is an OR-list of the requested regions." +}, +"locationAutoDetectionEnabled": { +"description": "If set to true, the service will try to automatically detect the baseline location for insights.", +"type": "boolean" +} +}, +"type": "object" +}, +"CartData": { +"description": "The cart data associated with the event.", +"id": "CartData", +"properties": { +"items": { +"description": "Optional. The list of items associated with the event.", +"items": { +"$ref": "Item" +}, +"type": "array" +}, +"merchantFeedLabel": { +"description": "Optional. The Merchant Center feed label associated with the feed of the items.", +"type": "string" +}, +"merchantFeedLanguageCode": { +"description": "Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.", +"type": "string" +}, +"merchantId": { +"description": "Optional. The Merchant Center ID associated with the items.", +"type": "string" +}, +"transactionDiscount": { +"description": "Optional. The sum of all discounts associated with the transaction.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Consent": { +"description": "[Digital Markets Act (DMA)](//digital-markets-act.ec.europa.eu/index_en) consent settings for the user.", +"id": "Consent", +"properties": { +"adPersonalization": { +"description": "Optional. Represents if the user consents to ad personalization.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_GRANTED", +"CONSENT_DENIED" +], +"enumDescriptions": [ +"Not specified.", +"Granted.", +"Denied." +], +"type": "string" +}, +"adUserData": { +"description": "Optional. Represents if the user consents to ad user data.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_GRANTED", +"CONSENT_DENIED" +], +"enumDescriptions": [ +"Not specified.", +"Granted.", +"Denied." +], +"type": "string" +} +}, +"type": "object" +}, +"ContactIdInfo": { +"description": "Additional information when `CONTACT_ID` is one of the `upload_key_types`.", +"id": "ContactIdInfo", +"properties": { +"dataSourceType": { +"description": "Optional. Immutable. Source of the upload data", +"enum": [ +"DATA_SOURCE_TYPE_UNSPECIFIED", +"DATA_SOURCE_TYPE_FIRST_PARTY", +"DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", +"DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", +"DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA" +], +"enumDescriptions": [ +"Not specified.", +"The uploaded data is first-party data.", +"The uploaded data is from a third-party credit bureau.", +"The uploaded data is from a third-party voter file.", +"The uploaded data is third party partner data." +], +"type": "string" +}, +"matchRatePercentage": { +"description": "Output only. Match rate for customer match user lists.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"CustomVariable": { +"description": "Custom variable for ads conversions.", +"id": "CustomVariable", +"properties": { +"destinationReferences": { +"description": "Optional. Reference string used to determine which of the Event.destination_references the custom variable should be sent to. If empty, the Event.destination_references will be used.", +"items": { +"type": "string" +}, +"type": "array" +}, +"value": { +"description": "Optional. The value to store for the custom variable.", +"type": "string" +}, +"variable": { +"description": "Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored.", +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "The Google product you're sending data to. For example, a Google Ads account.", +"id": "Destination", +"properties": { +"linkedAccount": { +"$ref": "ProductAccount", +"description": "Optional. An account that the calling user's `login_account` has access to, through an established account link. For example, a data partner's `login_account` might have access to a client's `linked_account`. The partner might use this field to send data from the `linked_account` to another `operating_account`." +}, +"loginAccount": { +"$ref": "ProductAccount", +"description": "Optional. The account used to make this API call. To add or remove data from the `operating_account`, this `login_account` must have write access to the `operating_account`. For example, a manager account of the `operating_account`, or an account with an established link to the `operating_account`." +}, +"operatingAccount": { +"$ref": "ProductAccount", +"description": "Required. The account to send the data to or remove the data from." +}, +"productDestinationId": { +"description": "Required. The object within the product account to ingest into. For example, a Google Ads audience ID, a Display & Video 360 audience ID or a Google Ads conversion action ID.", +"type": "string" +}, +"reference": { +"description": "Optional. ID for this `Destination` resource, unique within the request. Use to reference this `Destination` in the IngestEventsRequest and IngestAudienceMembersRequest.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceInfo": { +"description": "Information about the device being used (if any) when the event happened.", +"id": "DeviceInfo", +"properties": { +"ipAddress": { +"description": "Optional. The IP address of the device for the given context. **Note:** Google Ads does not support IP address matching for end users in the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to conditionally exclude sharing IP addresses from users from these regions and ensure that you provide users with clear and comprehensive information about the data you collect on your sites, apps, and other properties and get consent where required by law or any applicable Google policies. See the [About offline conversion imports](https://support.google.com/google-ads/answer/2998031) page for more details.", +"type": "string" +}, +"userAgent": { +"description": "Optional. The user-agent string of the device for the given context.", +"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" +}, +"EncryptionInfo": { +"description": "Encryption information for the data being ingested.", +"id": "EncryptionInfo", +"properties": { +"awsWrappedKeyInfo": { +"$ref": "AwsWrappedKeyInfo", +"description": "Amazon Web Services wrapped key information." +}, +"gcpWrappedKeyInfo": { +"$ref": "GcpWrappedKeyInfo", +"description": "Google Cloud Platform wrapped key information." +} +}, +"type": "object" +}, +"ErrorCount": { +"description": "The error count for a given error reason.", +"id": "ErrorCount", +"properties": { +"reason": { +"description": "The error reason of the failed records.", +"enum": [ +"PROCESSING_ERROR_REASON_UNSPECIFIED", +"PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE", +"PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED", +"PROCESSING_ERROR_REASON_EVENT_TOO_OLD", +"PROCESSING_ERROR_REASON_DENIED_CONSENT", +"PROCESSING_ERROR_REASON_NO_CONSENT", +"PROCESSING_ERROR_REASON_UNKNOWN_CONSENT", +"PROCESSING_ERROR_REASON_DUPLICATE_GCLID", +"PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID", +"PROCESSING_ERROR_REASON_INVALID_GBRAID", +"PROCESSING_ERROR_REASON_INVALID_GCLID", +"PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID", +"PROCESSING_ERROR_REASON_INVALID_WBRAID", +"PROCESSING_ERROR_REASON_INTERNAL_ERROR", +"PROCESSING_ERROR_REASON_DESTINATION_ACCOUNT_ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED", +"PROCESSING_ERROR_REASON_INVALID_EVENT", +"PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS", +"PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS", +"PROCESSING_ERROR_REASON_INVALID_FORMAT", +"PROCESSING_ERROR_REASON_DECRYPTION_ERROR", +"PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR", +"PROCESSING_ERROR_REASON_INVALID_WIP", +"PROCESSING_ERROR_REASON_INVALID_KEK", +"PROCESSING_ERROR_REASON_WIP_AUTH_FAILED", +"PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED", +"PROCESSING_ERROR_REASON_AWS_AUTH_FAILED", +"PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", +"PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER" +], +"enumDescriptions": [ +"The processing error reason is unknown.", +"The custom variable is invalid.", +"The status of the custom variable is not enabled.", +"The conversion is older than max supported age.", +"The ad user data is denied, either by the user or in the advertiser default settings.", +"Advertiser did not give 3P consent for the Ads core platform services.", +"The overall consent (determined from row level consent, request level consent, and account settings) could not be determined for this user", +"A conversion with the same GCLID and conversion time already exists in the system.", +"A conversion with the same order id and conversion action combination was already uploaded.", +"The gbraid could not be decoded.", +"The google click ID could not be decoded.", +"Merchant id contains non-digit characters.", +"The wbraid could not be decoded.", +"Internal error.", +"Enhanced conversions terms are not signed in the destination account.", +"The event is invalid.", +"The matched transactions are less than the minimum threshold.", +"The transactions are less than the minimum threshold.", +"The event has format error.", +"The event has a decryption error.", +"The DEK failed to be decrypted.", +"The WIP is formatted incorrectly or the WIP does not exist.", +"The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.", +"The WIP could not be used because it was rejected by its attestation condition.", +"The system did not have the permissions needed to access the KEK.", +"The system failed to authenticate with AWS.", +"Failed to decrypt the UserIdentifier data using the DEK.", +"The user attempted to ingest events with an ad identifier that isn't from the operating account's ads." +], +"type": "string" +}, +"recordCount": { +"description": "The count of records that failed to upload for a given reason.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ErrorInfo": { +"description": "Error counts for each type of error.", +"id": "ErrorInfo", +"properties": { +"errorCounts": { +"description": "A list of errors and counts per error reason. May not be populated in all cases.", +"items": { +"$ref": "ErrorCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"Event": { +"description": "An event representing a user interaction with an advertiser's website or app.", +"id": "Event", +"properties": { +"adIdentifiers": { +"$ref": "AdIdentifiers", +"description": "Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks)." +}, +"additionalEventParameters": { +"description": "Optional. A bucket of any [event parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) to be included within the event that were not already specified using other structured fields.", +"items": { +"$ref": "EventParameter" +}, +"type": "array" +}, +"cartData": { +"$ref": "CartData", +"description": "Optional. Information about the transaction and items associated with the event." +}, +"clientId": { +"description": "Optional. A unique identifier for the user instance of a web client for this GA4 web stream.", +"type": "string" +}, +"consent": { +"$ref": "Consent", +"description": "Optional. Information about whether the associated user has provided different types of consent." +}, +"conversionValue": { +"description": "Optional. The conversion value associated with the event, for value-based conversions.", +"format": "double", +"type": "number" +}, +"currency": { +"description": "Optional. The currency code associated with all monetary values within this event.", +"type": "string" +}, +"customVariables": { +"description": "Optional. Additional key/value pair information to send to the conversion containers (conversion action or FL activity).", +"items": { +"$ref": "CustomVariable" +}, +"type": "array" +}, +"destinationReferences": { +"description": "Optional. Reference string used to determine the destination. If empty, the event will be sent to all destinations in the request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"eventDeviceInfo": { +"$ref": "DeviceInfo", +"description": "Optional. Information gathered about the device being used (if any) when the event happened." +}, +"eventName": { +"description": "Optional. The name of the event. Required for GA4 events.", +"type": "string" +}, +"eventSource": { +"description": "Optional. Signal for where the event happened (web, app, in-store, etc.).", +"enum": [ +"EVENT_SOURCE_UNSPECIFIED", +"WEB", +"APP", +"IN_STORE", +"PHONE", +"OTHER" +], +"enumDescriptions": [ +"Unspecified EventSource. Should never be used.", +"The event was generated from a web browser.", +"The event was generated from an app.", +"The event was generated from an in-store transaction.", +"The event was generated from a phone call.", +"The event was generated from other sources." +], +"type": "string" +}, +"eventTimestamp": { +"description": "Required. The time the event occurred.", +"format": "google-datetime", +"type": "string" +}, +"experimentalFields": { +"description": "Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API.", +"items": { +"$ref": "ExperimentalField" +}, +"type": "array" +}, +"lastUpdatedTimestamp": { +"description": "Optional. The last time the event was updated.", +"format": "google-datetime", +"type": "string" +}, +"transactionId": { +"description": "Optional. The unique identifier for this event. Required for conversions using multiple data sources.", +"type": "string" +}, +"userData": { +"$ref": "UserData", +"description": "Optional. Pieces of user provided data, representing the user the event is associated with." +}, +"userId": { +"description": "Optional. A unique identifier for a user, as defined by the advertiser.", +"type": "string" +}, +"userProperties": { +"$ref": "UserProperties", +"description": "Optional. Advertiser-assessed information about the user at the time that the event happened." +} +}, +"type": "object" +}, +"EventParameter": { +"description": "Event parameter for GA4 events.", +"id": "EventParameter", +"properties": { +"parameterName": { +"description": "Required. The name of the parameter to use.", +"type": "string" +}, +"value": { +"description": "Required. The string representation of the value of the parameter to set.", +"type": "string" +} +}, +"type": "object" +}, +"ExperimentalField": { +"description": "Experimental field representing unofficial fields.", +"id": "ExperimentalField", +"properties": { +"field": { +"description": "Optional. The name of the field to use.", +"type": "string" +}, +"value": { +"description": "Optional. The value the field to set.", +"type": "string" +} +}, +"type": "object" +}, +"GcpWrappedKeyInfo": { +"description": "Information about the Google Cloud Platform wrapped key.", +"id": "GcpWrappedKeyInfo", +"properties": { +"encryptedDek": { +"description": "Required. The base64 encoded encrypted data encryption key.", +"type": "string" +}, +"kekUri": { +"description": "Required. Google Cloud Platform [Cloud Key Management Service resource ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the format of `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}` or `gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`", +"type": "string" +}, +"keyType": { +"description": "Required. The type of algorithm used to encrypt the data.", +"enum": [ +"KEY_TYPE_UNSPECIFIED", +"XCHACHA20_POLY1305" +], +"enumDescriptions": [ +"Unspecified key type. Should never be used.", +"Algorithm XChaCha20-Poly1305" +], +"type": "string" +}, +"wipProvider": { +"description": "Required. The [Workload Identity](//cloud.google.com/iam/docs/workload-identity-federation) pool provider required to use KEK.", +"type": "string" +} +}, +"type": "object" +}, +"IngestAudienceMembersRequest": { +"description": "Request to upload audience members to the provided destinations. Returns an IngestAudienceMembersResponse.", +"id": "IngestAudienceMembersRequest", +"properties": { +"audienceMembers": { +"description": "Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.", +"items": { +"$ref": "AudienceMember" +}, +"type": "array" +}, +"consent": { +"$ref": "Consent", +"description": "Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember." +}, +"destinations": { +"description": "Required. The list of destinations to send the audience members to.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"encoding": { +"description": "Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non `UserData` uploads, this field is ignored.", +"enum": [ +"ENCODING_UNSPECIFIED", +"HEX", +"BASE64" +], +"enumDescriptions": [ +"Unspecified Encoding type. Should never be used.", +"Hex encoding.", +"Base 64 encoding." +], +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non `UserData` uploads, this field is ignored." +}, +"termsOfService": { +"$ref": "TermsOfService", +"description": "Optional. The terms of service that the user has accepted/rejected." +}, +"validateOnly": { +"description": "Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results.", +"type": "boolean" +} +}, +"type": "object" +}, +"IngestAudienceMembersResponse": { +"description": "Response from the IngestAudienceMembersRequest.", +"id": "IngestAudienceMembersResponse", +"properties": { +"requestId": { +"description": "The auto-generated ID of the request.", +"type": "string" +} +}, +"type": "object" +}, +"IngestAudienceMembersStatus": { +"description": "The status of the ingest audience members request.", +"id": "IngestAudienceMembersStatus", +"properties": { +"mobileDataIngestionStatus": { +"$ref": "IngestMobileDataStatus", +"description": "The status of the mobile data ingestion to the destination." +}, +"pairDataIngestionStatus": { +"$ref": "IngestPairDataStatus", +"description": "The status of the pair data ingestion to the destination." +}, +"ppidDataIngestionStatus": { +"$ref": "IngestPpidDataStatus", +"description": "The status of the ppid data ingestion to the destination." +}, +"userDataIngestionStatus": { +"$ref": "IngestUserDataStatus", +"description": "The status of the user data ingestion to the destination." +}, +"userIdDataIngestionStatus": { +"$ref": "IngestUserIdDataStatus", +"description": "The status of the user id data ingestion to the destination." +} +}, +"type": "object" +}, +"IngestEventsRequest": { +"description": "Request to upload audience members to the provided destinations. Returns an IngestEventsResponse.", +"id": "IngestEventsRequest", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each Event." +}, +"destinations": { +"description": "Required. The list of destinations to send the events to.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"encoding": { +"description": "Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non `UserData` uploads, this field is ignored.", +"enum": [ +"ENCODING_UNSPECIFIED", +"HEX", +"BASE64" +], +"enumDescriptions": [ +"Unspecified Encoding type. Should never be used.", +"Hex encoding.", +"Base 64 encoding." +], +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non `UserData` uploads, this field is ignored." +}, +"events": { +"description": "Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.", +"items": { +"$ref": "Event" +}, +"type": "array" +}, +"validateOnly": { +"description": "Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results.", +"type": "boolean" +} +}, +"type": "object" +}, +"IngestEventsResponse": { +"description": "Response from the IngestEventsRequest.", +"id": "IngestEventsResponse", +"properties": { +"requestId": { +"description": "The auto-generated ID of the request.", +"type": "string" +} +}, +"type": "object" +}, +"IngestEventsStatus": { +"description": "The status of the events ingestion to the destination.", +"id": "IngestEventsStatus", +"properties": { +"recordCount": { +"description": "The total count of events sent in the upload request. Includes all events in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestMobileDataStatus": { +"description": "The status of the mobile data ingestion to the destination containing stats related to the ingestion.", +"id": "IngestMobileDataStatus", +"properties": { +"mobileIdCount": { +"description": "The total count of mobile ids sent in the upload request for the destination. Includes all mobile ids in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestPairDataStatus": { +"description": "The status of the pair data ingestion to the destination containing stats related to the ingestion.", +"id": "IngestPairDataStatus", +"properties": { +"pairIdCount": { +"description": "The total count of pair ids sent in the upload request for the destination. Includes all pair ids in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestPpidDataStatus": { +"description": "The status of the ppid data ingestion to the destination containing stats related to the ingestion.", +"id": "IngestPpidDataStatus", +"properties": { +"ppidCount": { +"description": "The total count of ppids sent in the upload request for the destination. Includes all ppids in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestUserDataStatus": { +"description": "The status of the user data ingestion to the destination containing stats related to the ingestion.", +"id": "IngestUserDataStatus", +"properties": { +"recordCount": { +"description": "The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +}, +"uploadMatchRateRange": { +"description": "The match rate range of the upload.", +"enum": [ +"MATCH_RATE_RANGE_UNKNOWN", +"MATCH_RATE_RANGE_NOT_ELIGIBLE", +"MATCH_RATE_RANGE_LESS_THAN_20", +"MATCH_RATE_RANGE_20_TO_30", +"MATCH_RATE_RANGE_31_TO_40", +"MATCH_RATE_RANGE_41_TO_50", +"MATCH_RATE_RANGE_51_TO_60", +"MATCH_RATE_RANGE_61_TO_70", +"MATCH_RATE_RANGE_71_TO_80", +"MATCH_RATE_RANGE_81_TO_90", +"MATCH_RATE_RANGE_91_TO_100" +], +"enumDescriptions": [ +"The match rate range is unknown.", +"The match rate range is not eligible.", +"The match rate range is less than 20% (in the interval `[0, 20)`).", +"The match rate range is between 20% and 30% (in the interval `[20, 31)`).", +"The match rate range is between 31% and 40% (in the interval `[31, 41)`).", +"The match rate range is between 41% and 50% (in the interval `[41, 51)`).", +"The match rate range is between 51% and 60% (in the interval `[51, 61)`.", +"The match rate range is between 61% and 70% (in the interval `[61, 71)`).", +"The match rate range is between 71% and 80% (in the interval `[71, 81)`).", +"The match rate range is between 81% and 90% (in the interval `[81, 91)`).", +"The match rate range is between 91% and 100% (in the interval `[91, 100]`)." +], +"type": "string" +}, +"userIdentifierCount": { +"description": "The total count of user identifiers sent in the upload request for the destination. Includes all user identifiers in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestUserIdDataStatus": { +"description": "The status of the user id data ingestion to the destination containing stats related to the ingestion.", +"id": "IngestUserIdDataStatus", +"properties": { +"recordCount": { +"description": "The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +}, +"userIdCount": { +"description": "The total count of user ids sent in the upload request for the destination. Includes all user ids in the request, regardless of whether they were successfully ingested or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IngestedUserListInfo": { +"description": "Represents a user list that is populated by user provided data.", +"id": "IngestedUserListInfo", +"properties": { +"contactIdInfo": { +"$ref": "ContactIdInfo", +"description": "Optional. Additional information when `CONTACT_ID` is one of the `upload_key_types`." +}, +"mobileIdInfo": { +"$ref": "MobileIdInfo", +"description": "Optional. Additional information when `MOBILE_ID` is one of the `upload_key_types`." +}, +"pairIdInfo": { +"$ref": "PairIdInfo", +"description": "Optional. Additional information when `PAIR_ID` is one of the `upload_key_types`. This feature is only available to data partners." +}, +"partnerAudienceInfo": { +"$ref": "PartnerAudienceInfo", +"description": "Optional. Additional information for partner audiences. This feature is only available to data partners." +}, +"pseudonymousIdInfo": { +"$ref": "PseudonymousIdInfo", +"description": "Optional. Additional information for `PSEUDONYMOUS_ID` is one of the `upload_key_types`." +}, +"uploadKeyTypes": { +"description": "Required. Immutable. Upload key types of this user list.", +"items": { +"enum": [ +"UPLOAD_KEY_TYPE_UNSPECIFIED", +"CONTACT_ID", +"MOBILE_ID", +"USER_ID", +"PAIR_ID", +"PSEUDONYMOUS_ID" +], +"enumDescriptions": [ +"Not specified.", +"Customer info such as email address, phone number or physical address.", +"Mobile advertising ids.", +"Third party provided user ids.", +"Publisher advertiser identity reconciliation ids.", +"Data Management Platform IDs: - Google User ID - Partner Provided ID - Publisher Provided ID - iOS IDFA - Android advertising ID - Roku ID - Amazon Fire TV ID - Xbox or Microsoft ID" +], +"type": "string" +}, +"type": "array" +}, +"userIdInfo": { +"$ref": "UserIdInfo", +"description": "Optional. Additional information when `USER_ID` is one of the `upload_key_types`." +} +}, +"type": "object" +}, +"Item": { +"description": "Represents an item in the cart associated with the event.", +"id": "Item", +"properties": { +"additionalItemParameters": { +"description": "Optional. A bucket of any [event parameters related to an item](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) to be included within the event that were not already specified using other structured fields.", +"items": { +"$ref": "ItemParameter" +}, +"type": "array" +}, +"itemId": { +"description": "Optional. A unique identifier to reference the item.", +"type": "string" +}, +"merchantProductId": { +"description": "Optional. The product ID within the Merchant Center account.", +"type": "string" +}, +"quantity": { +"description": "Optional. The number of this item associated with the event.", +"format": "int64", +"type": "string" +}, +"unitPrice": { +"description": "Optional. The unit price excluding tax, shipping, and any transaction level discounts.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ItemParameter": { +"description": "A bucket of any [event parameters related to an item](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events) to be included within the event that were not already specified using other structured fields.", +"id": "ItemParameter", +"properties": { +"parameterName": { +"description": "Required. The name of the parameter to use.", +"type": "string" +}, +"value": { +"description": "Required. The string representation of the value of the parameter to set.", +"type": "string" +} +}, +"type": "object" +}, +"ListUserListDirectLicensesResponse": { +"description": "Response from the ListUserListDirectLicensesRequest.", +"id": "ListUserListDirectLicensesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"userListDirectLicenses": { +"description": "The licenses for the given user list in the request.", +"items": { +"$ref": "UserListDirectLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserListGlobalLicenseCustomerInfosResponse": { +"description": "Response from the ListUserListGlobalLicensesCustomerInfoRequest.", +"id": "ListUserListGlobalLicenseCustomerInfosResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"userListGlobalLicenseCustomerInfos": { +"description": "The customer information for the given license in the request.", +"items": { +"$ref": "UserListGlobalLicenseCustomerInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserListGlobalLicensesResponse": { +"description": "Response from the ListUserListGlobalLicensesRequest.", +"id": "ListUserListGlobalLicensesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"userListGlobalLicenses": { +"description": "The licenses for the given user list in the request.", +"items": { +"$ref": "UserListGlobalLicense" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserListsResponse": { +"description": "Response message for ListUserLists.", +"id": "ListUserListsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"userLists": { +"description": "The user lists from the specified account.", +"items": { +"$ref": "UserList" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "The baseline location of the request. Baseline location is on OR-list of ISO 3166-1 alpha-2 region codes of the requested regions.", +"id": "Location", +"properties": { +"regionCodes": { +"description": "List of ISO 3166-1 alpha-2 region codes.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MarketingDataInsight": { +"description": "Insights for marketing data. This feature is only available to data partners.", +"id": "MarketingDataInsight", +"properties": { +"attributes": { +"description": "Insights for values of a given dimension.", +"items": { +"$ref": "MarketingDataInsightsAttribute" +}, +"type": "array" +}, +"dimension": { +"description": "The dimension to which the insight belongs.", +"enum": [ +"AUDIENCE_INSIGHTS_DIMENSION_UNSPECIFIED", +"AUDIENCE_INSIGHTS_DIMENSION_UNKNOWN", +"AFFINITY_USER_INTEREST", +"IN_MARKET_USER_INTEREST", +"AGE_RANGE", +"GENDER" +], +"enumDescriptions": [ +"Not specified.", +"The value is unknown in this version.", +"An Affinity UserInterest.", +"An In-Market UserInterest.", +"An age range.", +"A gender." +], +"type": "string" +} +}, +"type": "object" +}, +"MarketingDataInsightsAttribute": { +"description": "Insights for a collection of related attributes of the same dimension.", +"id": "MarketingDataInsightsAttribute", +"properties": { +"ageRange": { +"description": "Age range of the audience for which the lift is provided.", +"enum": [ +"AGE_RANGE_UNSPECIFIED", +"AGE_RANGE_UNKNOWN", +"AGE_RANGE_18_24", +"AGE_RANGE_25_34", +"AGE_RANGE_35_44", +"AGE_RANGE_45_54", +"AGE_RANGE_55_64", +"AGE_RANGE_65_UP" +], +"enumDescriptions": [ +"Not specified.", +"Unknown.", +"Between 18 and 24 years old.", +"Between 25 and 34 years old.", +"Between 35 and 44 years old.", +"Between 45 and 54 years old.", +"Between 55 and 64 years old.", +"65 years old and beyond." +], +"type": "string" +}, +"gender": { +"description": "Gender of the audience for which the lift is provided.", +"enum": [ +"GENDER_UNSPECIFIED", +"GENDER_UNKNOWN", +"GENDER_MALE", +"GENDER_FEMALE" +], +"enumDescriptions": [ +"Not specified.", +"Unknown.", +"Male.", +"Female." +], +"type": "string" +}, +"lift": { +"description": "Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].", +"format": "float", +"type": "number" +}, +"userInterestId": { +"description": "The user interest ID.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MobileData": { +"description": "Mobile IDs for the audience. At least one mobile ID is required.", +"id": "MobileData", +"properties": { +"mobileIds": { +"description": "Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 `mobileIds` can be provided in a single AudienceMember.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MobileIdInfo": { +"description": "Additional information when `MOBILE_ID` is one of the `upload_key_types`.", +"id": "MobileIdInfo", +"properties": { +"appId": { +"description": "Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.", +"type": "string" +}, +"dataSourceType": { +"description": "Optional. Immutable. Source of the upload data.", +"enum": [ +"DATA_SOURCE_TYPE_UNSPECIFIED", +"DATA_SOURCE_TYPE_FIRST_PARTY", +"DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", +"DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", +"DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA" +], +"enumDescriptions": [ +"Not specified.", +"The uploaded data is first-party data.", +"The uploaded data is from a third-party credit bureau.", +"The uploaded data is from a third-party voter file.", +"The uploaded data is third party partner data." +], +"type": "string" +}, +"keySpace": { +"description": "Required. Immutable. The key space of mobile IDs.", +"enum": [ +"KEY_SPACE_UNSPECIFIED", +"IOS", +"ANDROID" +], +"enumDescriptions": [ +"Not specified.", +"The iOS keyspace.", +"The Android keyspace." +], +"type": "string" +} +}, +"type": "object" +}, +"PairData": { +"description": "[PAIR](//support.google.com/admanager/answer/15067908) IDs for the audience. At least one PAIR ID is required. This feature is only available to data partners.", +"id": "PairData", +"properties": { +"pairIds": { +"description": "Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted with an EC commutative cipher using publisher key for the [PAIR]((//support.google.com/admanager/answer/15067908)) user list. At most 10 `pairIds` can be provided in a single AudienceMember.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PairIdInfo": { +"description": "Additional information when `PAIR_ID` is one of the `upload_key_types`. This feature is only available to data partners.", +"id": "PairIdInfo", +"properties": { +"advertiserIdentifierCount": { +"description": "Optional. The count of the advertiser's first party data records that have been uploaded to a clean room provider. This does not signify the size of a PAIR user list.", +"format": "int64", +"type": "string" +}, +"cleanRoomIdentifier": { +"description": "Required. Immutable. Identifies a unique advertiser to publisher relationship with one clean room provider or across multiple clean room providers.", +"type": "string" +}, +"matchRatePercentage": { +"description": "Optional. This field denotes the percentage of membership match of this user list with the corresponding publisher's first party data. Must be between 0 and 100 inclusive.", +"format": "int32", +"type": "integer" +}, +"publisherId": { +"description": "Required. Immutable. Identifies the publisher that the Publisher Advertiser Identity Reconciliation user list is reconciled with. This field is provided by the cleanroom provider and is only unique in the scope of that cleanroom. This cannot be used as a global identifier across multiple cleanrooms.", +"format": "int64", +"type": "string" +}, +"publisherName": { +"description": "Required. Descriptive name of the publisher to be displayed in the UI for a better targeting experience.", +"type": "string" +} +}, +"type": "object" +}, +"PartnerAudienceInfo": { +"description": "Additional information for partner audiences. This feature is only available to data partners.", +"id": "PartnerAudienceInfo", +"properties": { +"commercePartner": { +"description": "Optional. The commerce partner name. Only allowed if `partner_audience_source` is `COMMERCE_AUDIENCE`.", +"type": "string" +}, +"partnerAudienceSource": { +"description": "Required. Immutable. The source of the partner audience.", +"enum": [ +"PARTNER_AUDIENCE_SOURCE_UNSPECIFIED", +"COMMERCE_AUDIENCE", +"LINEAR_TV_AUDIENCE", +"AGENCY_PROVIDER_AUDIENCE" +], +"enumDescriptions": [ +"Not specified.", +"Partner Audience source is commerce audience.", +"Partner Audience source is linear TV audience.", +"Partner Audience source is agency/provider audience." +], +"type": "string" +} +}, +"type": "object" +}, +"PartnerLink": { +"description": "A partner link between an owning account and a partner account.", +"id": "PartnerLink", +"properties": { +"name": { +"description": "Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}", +"type": "string" +}, +"owningAccount": { +"$ref": "ProductAccount", +"description": "Required. The owning account granting access to the partner account." +}, +"partnerAccount": { +"$ref": "ProductAccount", +"description": "Required. The partner account granted access by the owning account." +}, +"partnerLinkId": { +"description": "Output only. The partner link ID.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PpidData": { +"description": "Publisher provided identifiers data holding the ppids. At least one ppid is required. This feature is only available to data partners.", +"id": "PpidData", +"properties": { +"ppids": { +"description": "Required. The list of publisher provided identifiers for a user.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProductAccount": { +"description": "Represents a specific account.", +"id": "ProductAccount", +"properties": { +"accountId": { +"description": "Required. The ID of the account. For example, your Google Ads account ID.", +"type": "string" +}, +"accountType": { +"description": "Optional. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.", +"enum": [ +"ACCOUNT_TYPE_UNSPECIFIED", +"GOOGLE_ADS", +"DISPLAY_VIDEO_PARTNER", +"DISPLAY_VIDEO_ADVERTISER", +"DATA_PARTNER", +"GOOGLE_ANALYTICS_PROPERTY", +"GOOGLE_AD_MANAGER_AUDIENCE_LINK" +], +"enumDescriptions": [ +"Unspecified product. Should never be used.", +"Google Ads.", +"Display & Video 360 partner.", +"Display & Video 360 advertiser.", +"Data Partner.", +"Google Analytics.", +"Google Ad Manager audience link." +], +"type": "string" +}, +"product": { +"deprecated": true, +"description": "Deprecated. Use `account_type` instead.", +"enum": [ +"PRODUCT_UNSPECIFIED", +"GOOGLE_ADS", +"DISPLAY_VIDEO_PARTNER", +"DISPLAY_VIDEO_ADVERTISER", +"DATA_PARTNER" +], +"enumDescriptions": [ +"Unspecified product. Should never be used.", +"Google Ads.", +"Display & Video 360 partner.", +"Display & Video 360 advertiser.", +"Data Partner." +], +"type": "string" +} +}, +"type": "object" +}, +"PseudonymousIdInfo": { +"description": "Additional information when `PSEUDONYMOUS_ID` is one of the `upload_key_types`.", +"id": "PseudonymousIdInfo", +"properties": { +"billableRecordCount": { +"description": "Optional. Immutable. The number of billable records (e.g. uploaded or matched).", +"format": "int64", +"type": "string" +}, +"syncStatus": { +"description": "Output only. Sync status of the user list.", +"enum": [ +"SYNC_STATUS_UNSPECIFIED", +"CREATED", +"READY_FOR_USE", +"FAILED" +], +"enumDescriptions": [ +"Not specified.", +"The user list has been created as a placeholder. List contents and/or metadata are still being synced. The user list is not ready for use.", +"The user list is ready for use. Contents and cookies have been synced correctly.", +"An error has occurred syncing user list contents and/or metadata. The user list cannot be used." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RemoveAudienceMembersRequest": { +"description": "Request to remove users from an audience in the provided destinations. Returns a RemoveAudienceMembersResponse.", +"id": "RemoveAudienceMembersRequest", +"properties": { +"audienceMembers": { +"description": "Required. The list of users to remove.", +"items": { +"$ref": "AudienceMember" +}, +"type": "array" +}, +"destinations": { +"description": "Required. The list of destinations to remove the users from.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"encoding": { +"description": "Optional. Required for UserData uploads. The encoding type of the user identifiers. Applies to only the outer encoding for encrypted user identifiers. For non `UserData` uploads, this field is ignored.", +"enum": [ +"ENCODING_UNSPECIFIED", +"HEX", +"BASE64" +], +"enumDescriptions": [ +"Unspecified Encoding type. Should never be used.", +"Hex encoding.", +"Base 64 encoding." +], +"type": "string" +}, +"encryptionInfo": { +"$ref": "EncryptionInfo", +"description": "Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non `UserData` uploads, this field is ignored." +}, +"validateOnly": { +"description": "Optional. For testing purposes. If `true`, the request is validated but not executed. Only errors are returned, not results.", +"type": "boolean" +} +}, +"type": "object" +}, +"RemoveAudienceMembersResponse": { +"description": "Response from the RemoveAudienceMembersRequest.", +"id": "RemoveAudienceMembersResponse", +"properties": { +"requestId": { +"description": "The auto-generated ID of the request.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveAudienceMembersStatus": { +"description": "The status of the remove audience members request.", +"id": "RemoveAudienceMembersStatus", +"properties": { +"mobileDataRemovalStatus": { +"$ref": "RemoveMobileDataStatus", +"description": "The status of the mobile data removal from the destination." +}, +"pairDataRemovalStatus": { +"$ref": "RemovePairDataStatus", +"description": "The status of the pair data removal from the destination." +}, +"ppidDataRemovalStatus": { +"$ref": "RemovePpidDataStatus", +"description": "The status of the ppid data removal from the destination." +}, +"userDataRemovalStatus": { +"$ref": "RemoveUserDataStatus", +"description": "The status of the user data removal from the destination." +}, +"userIdDataRemovalStatus": { +"$ref": "RemoveUserIdDataStatus", +"description": "The status of the user id data removal from the destination." +} +}, +"type": "object" +}, +"RemoveMobileDataStatus": { +"description": "The status of the mobile data removal from the destination.", +"id": "RemoveMobileDataStatus", +"properties": { +"mobileIdCount": { +"description": "The total count of mobile Ids sent in the removal request. Includes all mobile ids in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemovePairDataStatus": { +"description": "The status of the pair data removal from the destination.", +"id": "RemovePairDataStatus", +"properties": { +"pairIdCount": { +"description": "The total count of pair ids sent in the removal request. Includes all pair ids in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemovePpidDataStatus": { +"description": "The status of the ppid data removal from the destination.", +"id": "RemovePpidDataStatus", +"properties": { +"ppidCount": { +"description": "The total count of ppids sent in the removal request. Includes all ppids in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +}, +"recordCount": { +"description": "The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemoveUserDataStatus": { +"description": "The status of the user data removal from the destination.", +"id": "RemoveUserDataStatus", +"properties": { +"recordCount": { +"description": "The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +}, +"userIdentifierCount": { +"description": "The total count of user identifiers sent in the removal request. Includes all user identifiers in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemoveUserIdDataStatus": { +"description": "The status of the user id data removal from the destination.", +"id": "RemoveUserIdDataStatus", +"properties": { +"recordCount": { +"description": "The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +}, +"userIdCount": { +"description": "The total count of user ids sent in the removal request. Includes all user ids in the request, regardless of whether they were successfully removed or not.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RequestStatusPerDestination": { +"description": "A request status per destination.", +"id": "RequestStatusPerDestination", +"properties": { +"audienceMembersIngestionStatus": { +"$ref": "IngestAudienceMembersStatus", +"description": "The status of the ingest audience members request." +}, +"audienceMembersRemovalStatus": { +"$ref": "RemoveAudienceMembersStatus", +"description": "The status of the remove audience members request." +}, +"destination": { +"$ref": "Destination", +"description": "A destination within a DM API request." +}, +"errorInfo": { +"$ref": "ErrorInfo", +"description": "An error info error containing the error reason and error counts related to the upload." +}, +"eventsIngestionStatus": { +"$ref": "IngestEventsStatus", +"description": "The status of the ingest events request." +}, +"requestStatus": { +"description": "The request status of the destination.", +"enum": [ +"REQUEST_STATUS_UNKNOWN", +"SUCCESS", +"PROCESSING", +"FAILED", +"PARTIAL_SUCCESS" +], +"enumDescriptions": [ +"The request status is unknown.", +"The request succeeded.", +"The request is processing.", +"The request failed.", +"The request partially succeeded." +], +"type": "string" +}, +"warningInfo": { +"$ref": "WarningInfo", +"description": "A warning info containing the warning reason and warning counts related to the upload." +} +}, +"type": "object" +}, +"RetrieveInsightsRequest": { +"description": "Request message for DM API MarketingDataInsightsService.RetrieveInsights", +"id": "RetrieveInsightsRequest", +"properties": { +"baseline": { +"$ref": "Baseline", +"description": "Required. Baseline for the insights requested." +}, +"userListId": { +"description": "Required. The user list ID for which insights are requested.", +"type": "string" +} +}, +"type": "object" +}, +"RetrieveInsightsResponse": { +"description": "Response message for DM API MarketingDataInsightsService.RetrieveInsights", +"id": "RetrieveInsightsResponse", +"properties": { +"marketingDataInsights": { +"description": "Contains the insights for the marketing data.", +"items": { +"$ref": "MarketingDataInsight" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveRequestStatusResponse": { +"description": "Response from the RetrieveRequestStatusRequest.", +"id": "RetrieveRequestStatusResponse", +"properties": { +"requestStatusPerDestination": { +"description": "A list of request statuses per destination. The order of the statuses matches the order of the destinations in the original request.", +"items": { +"$ref": "RequestStatusPerDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchPartnerLinksResponse": { +"description": "Response from the SearchPartnerLinksRequest.", +"id": "SearchPartnerLinksResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"partnerLinks": { +"description": "The partner links for the given account.", +"items": { +"$ref": "PartnerLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"SizeInfo": { +"description": "Estimated number of members in this user list in different target networks.", +"id": "SizeInfo", +"properties": { +"displayNetworkMembersCount": { +"description": "Output only. Estimated number of members in this user list, on the Google Display Network.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"searchNetworkMembersCount": { +"description": "Output only. Estimated number of members in this user list in the google.com domain. These are the members available for targeting in Search campaigns.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TargetNetworkInfo": { +"description": "Eligibility information for different target networks.", +"id": "TargetNetworkInfo", +"properties": { +"eligibleForDisplay": { +"description": "Output only. Indicates this user list is eligible for Google Display Network.", +"readOnly": true, +"type": "boolean" +}, +"eligibleForSearch": { +"description": "Optional. Indicates if this user list is eligible for Google Search Network.", +"type": "boolean" +} +}, +"type": "object" +}, +"TermsOfService": { +"description": "The terms of service that the user has accepted/rejected.", +"id": "TermsOfService", +"properties": { +"customerMatchTermsOfServiceStatus": { +"description": "Optional. The Customer Match terms of service: https://support.google.com/adspolicy/answer/6299717. This must be accepted when ingesting UserData or MobileData. This field is not required for Partner Match User list.", +"enum": [ +"TERMS_OF_SERVICE_STATUS_UNSPECIFIED", +"ACCEPTED", +"REJECTED" +], +"enumDescriptions": [ +"Not specified.", +"Status indicating the caller has chosen to accept the terms of service.", +"Status indicating the caller has chosen to reject the terms of service." +], +"type": "string" +} +}, +"type": "object" +}, +"UserData": { +"description": "Data that identifies the user. At least one identifier is required.", +"id": "UserData", +"properties": { +"userIdentifiers": { +"description": "Required. The identifiers for the user. It's possible to provide multiple instances of the same type of data (for example, multiple email addresses). To increase the likelihood of a match, provide as many identifiers as possible. At most 10 `userIdentifiers` can be provided in a single AudienceMember or Event.", +"items": { +"$ref": "UserIdentifier" +}, +"type": "array" +} +}, +"type": "object" +}, +"UserIdData": { +"description": "User id data holding the user id.", +"id": "UserIdData", +"properties": { +"userId": { +"description": "Required. A unique identifier for a user, as defined by the advertiser.", +"type": "string" +} +}, +"type": "object" +}, +"UserIdInfo": { +"description": "Additional information when `USER_ID` is one of the `upload_key_types`.", +"id": "UserIdInfo", +"properties": { +"dataSourceType": { +"description": "Optional. Immutable. Source of the upload data.", +"enum": [ +"DATA_SOURCE_TYPE_UNSPECIFIED", +"DATA_SOURCE_TYPE_FIRST_PARTY", +"DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", +"DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", +"DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA" +], +"enumDescriptions": [ +"Not specified.", +"The uploaded data is first-party data.", +"The uploaded data is from a third-party credit bureau.", +"The uploaded data is from a third-party voter file.", +"The uploaded data is third party partner data." +], +"type": "string" +} +}, +"type": "object" +}, +"UserIdentifier": { +"description": "A single identifier for the user.", +"id": "UserIdentifier", +"properties": { +"address": { +"$ref": "AddressInfo", +"description": "The known components of a user's address. Holds a grouping of identifiers that are matched all at once." +}, +"emailAddress": { +"description": "Hashed email address using SHA-256 hash function after normalization.", +"type": "string" +}, +"phoneNumber": { +"description": "Hashed phone number using SHA-256 hash function after normalization (E164 standard).", +"type": "string" +} +}, +"type": "object" +}, +"UserList": { +"description": "A user list resource.", +"id": "UserList", +"properties": { +"accessReason": { +"description": "Output only. The reason this account has been granted access to the list.", +"enum": [ +"ACCESS_REASON_UNSPECIFIED", +"OWNED", +"SHARED", +"LICENSED", +"SUBSCRIBED", +"AFFILIATED" +], +"enumDescriptions": [ +"Not specified.", +"The resource is owned by the user.", +"The resource is shared to the user.", +"The resource is licensed to the user.", +"The user subscribed to the resource.", +"The resource is accessible to the user." +], +"readOnly": true, +"type": "string" +}, +"accountAccessStatus": { +"description": "Optional. Indicates if this share is still enabled. When a user list is shared with the account this field is set to `ENABLED`. Later the user list owner can decide to revoke the share and make it `DISABLED`.", +"enum": [ +"ACCESS_STATUS_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Not specified.", +"The access is enabled.", +"The access is disabled." +], +"type": "string" +}, +"closingReason": { +"description": "Output only. The reason why this user list membership status is closed.", +"enum": [ +"CLOSING_REASON_UNSPECIFIED", +"UNUSED" +], +"enumDescriptions": [ +"Not specified.", +"The user list was closed because it has not been used in targeting recently. See https://support.google.com/google-ads/answer/2472738 for details." +], +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of the user list.", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the user list.", +"type": "string" +}, +"id": { +"description": "Output only. The unique ID of the user list.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"ingestedUserListInfo": { +"$ref": "IngestedUserListInfo", +"description": "Optional. Represents a user list that is populated by user ingested data." +}, +"integrationCode": { +"description": "Optional. An ID from external system. It is used by user list sellers to correlate IDs on their systems.", +"type": "string" +}, +"membershipDuration": { +"description": "Optional. The duration a user remains in the user list. Valid durations are exact multiples of 24 hours (86400 seconds). Providing a value that is not an exact multiple of 24 hours will result in an INVALID_ARGUMENT error.", +"format": "google-duration", +"type": "string" +}, +"membershipStatus": { +"description": "Optional. Membership status of this user list.", +"enum": [ +"MEMBERSHIP_STATUS_UNSPECIFIED", +"OPEN", +"CLOSED" +], +"enumDescriptions": [ +"Not specified.", +"Open status - User list is accruing members and can be targeted to.", +"Closed status - No new members being added." +], +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the user list. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}", +"type": "string" +}, +"readOnly": { +"description": "Output only. An option that indicates if a user may edit a list.", +"readOnly": true, +"type": "boolean" +}, +"sizeInfo": { +"$ref": "SizeInfo", +"description": "Output only. Estimated number of members in this user list in different target networks.", +"readOnly": true +}, +"targetNetworkInfo": { +"$ref": "TargetNetworkInfo", +"description": "Optional. Eligibility information for different target networks." +} +}, +"type": "object" +}, +"UserListDirectLicense": { +"description": "A user list direct license. This feature is only available to data partners.", +"id": "UserListDirectLicense", +"properties": { +"clientAccountDisplayName": { +"description": "Output only. Name of client customer which the user list is being licensed to. This field is read-only.", +"readOnly": true, +"type": "string" +}, +"clientAccountId": { +"description": "Immutable. ID of client customer which the user list is being licensed to.", +"format": "int64", +"type": "string" +}, +"clientAccountType": { +"description": "Immutable. Account type of client customer which the user list is being licensed to.", +"enum": [ +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK" +], +"enumDescriptions": [ +"Unknown.", +"Google Ads customer.", +"Display & Video 360 partner.", +"Display & Video 360 advertiser.", +"Google Ad Manager audience link." +], +"type": "string" +}, +"historicalPricings": { +"description": "Output only. Pricing history of this user list license. This field is read-only.", +"items": { +"$ref": "UserListLicensePricing" +}, +"readOnly": true, +"type": "array" +}, +"metrics": { +"$ref": "UserListLicenseMetrics", +"description": "Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call", +"readOnly": true +}, +"name": { +"description": "Identifier. The resource name of the user list direct license.", +"type": "string" +}, +"pricing": { +"$ref": "UserListLicensePricing", +"description": "Optional. UserListDirectLicense pricing." +}, +"status": { +"description": "Optional. Status of UserListDirectLicense - ENABLED or DISABLED.", +"enum": [ +"USER_LIST_LICENSE_STATUS_UNSPECIFIED", +"USER_LIST_LICENSE_STATUS_ENABLED", +"USER_LIST_LICENSE_STATUS_DISABLED" +], +"enumDescriptions": [ +"Unknown.", +"Active status - user list is still being licensed.", +"Inactive status - user list is no longer being licensed." +], +"type": "string" +}, +"userListDisplayName": { +"description": "Output only. Name of the user list being licensed. This field is read-only.", +"readOnly": true, +"type": "string" +}, +"userListId": { +"description": "Immutable. ID of the user list being licensed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserListGlobalLicense": { +"description": "A user list global license. This feature is only available to data partners.", +"id": "UserListGlobalLicense", +"properties": { +"historicalPricings": { +"description": "Output only. Pricing history of this user list license. This field is read-only.", +"items": { +"$ref": "UserListLicensePricing" +}, +"readOnly": true, +"type": "array" +}, +"licenseType": { +"description": "Immutable. Product type of client customer which the user list is being licensed to.", +"enum": [ +"USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", +"USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", +"USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", +"USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"Reseller license.", +"DataMart Sell Side license.", +"DataMart Buy Side license." +], +"type": "string" +}, +"metrics": { +"$ref": "UserListLicenseMetrics", +"description": "Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListGlobalLicenses call", +"readOnly": true +}, +"name": { +"description": "Identifier. The resource name of the user list global license.", +"type": "string" +}, +"pricing": { +"$ref": "UserListLicensePricing", +"description": "Optional. UserListGlobalLicense pricing." +}, +"status": { +"description": "Optional. Status of UserListGlobalLicense - ENABLED or DISABLED.", +"enum": [ +"USER_LIST_LICENSE_STATUS_UNSPECIFIED", +"USER_LIST_LICENSE_STATUS_ENABLED", +"USER_LIST_LICENSE_STATUS_DISABLED" +], +"enumDescriptions": [ +"Unknown.", +"Active status - user list is still being licensed.", +"Inactive status - user list is no longer being licensed." +], +"type": "string" +}, +"userListDisplayName": { +"description": "Output only. Name of the user list being licensed. This field is read-only.", +"readOnly": true, +"type": "string" +}, +"userListId": { +"description": "Immutable. ID of the user list being licensed.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"UserListGlobalLicenseCustomerInfo": { +"description": "Information about a customer of a user list global license. This will automatically be created by the system when a customer purchases a global license.", +"id": "UserListGlobalLicenseCustomerInfo", +"properties": { +"clientAccountDisplayName": { +"description": "Output only. Name of client customer which the user list is being licensed to.", +"readOnly": true, +"type": "string" +}, +"clientAccountId": { +"description": "Output only. ID of client customer which the user list is being licensed to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"clientAccountType": { +"description": "Output only. Product type of client customer which the user list is being licensed to.", +"enum": [ +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER", +"USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK" +], +"enumDescriptions": [ +"Unknown.", +"Google Ads customer.", +"Display & Video 360 partner.", +"Display & Video 360 advertiser.", +"Google Ad Manager audience link." +], +"readOnly": true, +"type": "string" +}, +"historicalPricings": { +"description": "Output only. Pricing history of this user list license.", +"items": { +"$ref": "UserListLicensePricing" +}, +"readOnly": true, +"type": "array" +}, +"licenseType": { +"description": "Output only. Product type of client customer which the user list is being licensed to.", +"enum": [ +"USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", +"USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", +"USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", +"USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"Reseller license.", +"DataMart Sell Side license.", +"DataMart Buy Side license." +], +"readOnly": true, +"type": "string" +}, +"metrics": { +"$ref": "UserListLicenseMetrics", +"description": "Output only. Metrics related to this license This field is only populated if the start and end dates are set in the ListUserListGlobalLicenseCustomerInfos call.", +"readOnly": true +}, +"name": { +"description": "Identifier. The resource name of the user list global license customer.", +"type": "string" +}, +"pricing": { +"$ref": "UserListLicensePricing", +"description": "Output only. UserListDirectLicense pricing.", +"readOnly": true +}, +"status": { +"description": "Output only. Status of UserListDirectLicense - ENABLED or DISABLED.", +"enum": [ +"USER_LIST_LICENSE_STATUS_UNSPECIFIED", +"USER_LIST_LICENSE_STATUS_ENABLED", +"USER_LIST_LICENSE_STATUS_DISABLED" +], +"enumDescriptions": [ +"Unknown.", +"Active status - user list is still being licensed.", +"Inactive status - user list is no longer being licensed." +], +"readOnly": true, +"type": "string" +}, +"userListDisplayName": { +"description": "Output only. Name of the user list being licensed.", +"readOnly": true, +"type": "string" +}, +"userListId": { +"description": "Output only. ID of the user list being licensed.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserListLicenseMetrics": { +"description": "Metrics related to a user list license.", +"id": "UserListLicenseMetrics", +"properties": { +"clickCount": { +"description": "Output only. The number of clicks for the user list license.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"endDate": { +"description": "Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"impressionCount": { +"description": "Output only. The number of impressions for the user list license.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"revenueUsdMicros": { +"description": "Output only. The revenue for the user list license in USD micros.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"startDate": { +"description": "Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserListLicensePricing": { +"description": "A user list license pricing.", +"id": "UserListLicensePricing", +"properties": { +"buyerApprovalState": { +"description": "Output only. The buyer approval state of this pricing. This field is read-only.", +"enum": [ +"USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED", +"PENDING", +"APPROVED", +"REJECTED" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"User list client has not yet accepted the pricing terms set by the user list owner.", +"User list client has accepted the pricing terms set by the user list owner.", +"User list client has rejected the pricing terms set by the user list owner." +], +"readOnly": true, +"type": "string" +}, +"costMicros": { +"description": "Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.", +"format": "int64", +"type": "string" +}, +"costType": { +"description": "Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can't be updated for an existing license.", +"enum": [ +"USER_LIST_PRICING_COST_TYPE_UNSPECIFIED", +"CPC", +"CPM", +"MEDIA_SHARE" +], +"enumDescriptions": [ +"Unspecified.", +"Cost per click.", +"Cost per mille (thousand impressions).", +"Media share." +], +"type": "string" +}, +"currencyCode": { +"description": "Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"endTime": { +"description": "Optional. End time of the pricing.", +"format": "google-datetime", +"type": "string" +}, +"maxCostMicros": { +"description": "Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.", +"format": "int64", +"type": "string" +}, +"pricingActive": { +"description": "Output only. Whether this pricing is active.", +"readOnly": true, +"type": "boolean" +}, +"pricingId": { +"description": "Output only. The ID of this pricing.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Start time of the pricing.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserProperties": { +"description": "Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.", +"id": "UserProperties", +"properties": { +"additionalUserProperties": { +"description": "Optional. A bucket of any additional [user properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties) for the user associated with this event.", +"items": { +"$ref": "UserProperty" +}, +"type": "array" +}, +"customerType": { +"description": "Optional. Type of the customer associated with the event.", +"enum": [ +"CUSTOMER_TYPE_UNSPECIFIED", +"NEW", +"RETURNING", +"REENGAGED" +], +"enumDescriptions": [ +"Unspecified CustomerType. Should never be used.", +"The customer is new to the advertiser.", +"The customer is returning to the advertiser.", +"The customer has re-engaged with the advertiser." +], +"type": "string" +}, +"customerValueBucket": { +"description": "Optional. The advertiser-assessed value of the customer.", +"enum": [ +"CUSTOMER_VALUE_BUCKET_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH" +], +"enumDescriptions": [ +"Unspecified CustomerValueBucket. Should never be used.", +"The customer is low value.", +"The customer is medium value.", +"The customer is high value." +], +"type": "string" +} +}, +"type": "object" +}, +"UserProperty": { +"description": "A bucket of any additional [user properties](https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties) for the user associated with this event.", +"id": "UserProperty", +"properties": { +"propertyName": { +"description": "Required. The name of the user property to use.", +"type": "string" +}, +"value": { +"description": "Required. The string representation of the value of the user property to use.", +"type": "string" +} +}, +"type": "object" +}, +"WarningCount": { +"description": "The warning count for a given warning reason.", +"id": "WarningCount", +"properties": { +"reason": { +"description": "The warning reason.", +"enum": [ +"PROCESSING_WARNING_REASON_UNSPECIFIED", +"PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED", +"PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR", +"PROCESSING_WARNING_REASON_DECRYPTION_ERROR", +"PROCESSING_WARNING_REASON_WIP_AUTH_FAILED", +"PROCESSING_WARNING_REASON_INVALID_WIP", +"PROCESSING_WARNING_REASON_INVALID_KEK", +"PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", +"PROCESSING_WARNING_REASON_INTERNAL_ERROR", +"PROCESSING_WARNING_REASON_AWS_AUTH_FAILED" +], +"enumDescriptions": [ +"The processing warning reason is unknown.", +"The system did not have the permissions needed to access the KEK.", +"The DEK failed to be decrypted.", +"The event has a decryption error.", +"The WIP could not be used because it was rejected by its attestation condition.", +"The WIP is formatted incorrectly or the WIP does not exist.", +"The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.", +"Failed to decrypt th UserIdentifier data using the DEK.", +"Internal error.", +"The system failed to authenticate with AWS." +], +"type": "string" +}, +"recordCount": { +"description": "The count of records that have a warning.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"WarningInfo": { +"description": "Warning counts for each type of warning.", +"id": "WarningInfo", +"properties": { +"warningCounts": { +"description": "A list of warnings and counts per warning reason.", +"items": { +"$ref": "WarningCount" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Data Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..feb523fff4ac98a07d4c13739b237c619e1f2589 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json @@ -0,0 +1,2478 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://datamigration.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Database Migration Service", +"description": "Manage Cloud Database Migration Service resources on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/database-migration/", +"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": "datamigration:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://datamigration.mtls.googleapis.com/", +"name": "datamigration", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "datamigration.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "datamigration.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectionProfiles": { +"methods": { +"create": { +"description": "Creates a new connection profile in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "POST", +"id": "datamigration.projects.locations.connectionProfiles.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectionProfileId": { +"description": "Required. The connection profile identifier.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of connection profiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectionProfiles", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "DELETE", +"id": "datamigration.projects.locations.connectionProfiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "In case of force delete, the CloudSQL replica database is also deleted (only for CloudSQL connection profile).", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the connection profile resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single connection profile.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "GET", +"id": "datamigration.projects.locations.connectionProfiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the connection profile resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "ConnectionProfile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}:getIamPolicy", +"httpMethod": "GET", +"id": "datamigration.projects.locations.connectionProfiles.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve a list of all connection profiles in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles", +"httpMethod": "GET", +"id": "datamigration.projects.locations.connectionProfiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "the order by fields for the result.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of connection profiles.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/connectionProfiles", +"response": { +"$ref": "ListConnectionProfilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the configuration of a single connection profile.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}", +"httpMethod": "PATCH", +"id": "datamigration.projects.locations.connectionProfiles.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ConnectionProfile" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}:setIamPolicy", +"httpMethod": "POST", +"id": "datamigration.projects.locations.connectionProfiles.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/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/connectionProfiles/{connectionProfilesId}:testIamPermissions", +"httpMethod": "POST", +"id": "datamigration.projects.locations.connectionProfiles.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/[^/]+/connectionProfiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"migrationJobs": { +"methods": { +"create": { +"description": "Creates a new migration job in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"migrationJobId": { +"description": "Required. The ID of the instance to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of migration jobs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/migrationJobs", +"request": { +"$ref": "MigrationJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single migration job.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}", +"httpMethod": "DELETE", +"id": "datamigration.projects.locations.migrationJobs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the migration job resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateSshScript": { +"description": "Generate a SSH configuration script to configure the reverse SSH connectivity.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:generateSshScript", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.generateSshScript", +"parameterOrder": [ +"migrationJob" +], +"parameters": { +"migrationJob": { +"description": "Name of the migration job resource to generate the SSH script.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+migrationJob}:generateSshScript", +"request": { +"$ref": "GenerateSshScriptRequest" +}, +"response": { +"$ref": "SshScript" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single migration job.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}", +"httpMethod": "GET", +"id": "datamigration.projects.locations.migrationJobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the migration job resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "MigrationJob" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:getIamPolicy", +"httpMethod": "GET", +"id": "datamigration.projects.locations.migrationJobs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists migration jobs in a given project and location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs", +"httpMethod": "GET", +"id": "datamigration.projects.locations.migrationJobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = \"1.2.3.4\"** to select all migration jobs connecting through the specific SSH tunnel bastion.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results based on the migration job name. Valid values are: \"name\", \"name asc\", and \"name desc\".", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of migrationJobs.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/migrationJobs", +"response": { +"$ref": "ListMigrationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single migration job.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}", +"httpMethod": "PATCH", +"id": "datamigration.projects.locations.migrationJobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "MigrationJob" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"promote": { +"description": "Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:promote", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.promote", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to promote.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:promote", +"request": { +"$ref": "PromoteMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:restart", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to restart.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:restart", +"request": { +"$ref": "RestartMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:resume", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to resume.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:resume", +"request": { +"$ref": "ResumeMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:setIamPolicy", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.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/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Start an already created migration job.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:start", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to start.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:start", +"request": { +"$ref": "StartMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a running migration job.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:stop", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to stop.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:stop", +"request": { +"$ref": "StopMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:testIamPermissions", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.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/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"verify": { +"description": "Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:verify", +"httpMethod": "POST", +"id": "datamigration.projects.locations.migrationJobs.verify", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Name of the migration job resource to verify.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:verify", +"request": { +"$ref": "VerifyMigrationJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "datamigration.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "datamigration.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "datamigration.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "datamigration.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260127", +"rootUrl": "https://datamigration.googleapis.com/", +"schemas": { +"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" +}, +"BadRequest": { +"description": "Describes violations in a client request. This error type focuses on the syntactic aspects of the request.", +"id": "BadRequest", +"properties": { +"fieldViolations": { +"description": "Describes all violations in a client request.", +"items": { +"$ref": "FieldViolation" +}, +"type": "array" +} +}, +"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" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudSqlConnectionProfile": { +"description": "Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.", +"id": "CloudSqlConnectionProfile", +"properties": { +"cloudSqlId": { +"description": "Output only. The Cloud SQL instance ID that this connection profile is associated with.", +"readOnly": true, +"type": "string" +}, +"privateIp": { +"description": "Output only. The Cloud SQL database instance's private IP.", +"readOnly": true, +"type": "string" +}, +"publicIp": { +"description": "Output only. The Cloud SQL database instance's public IP.", +"readOnly": true, +"type": "string" +}, +"settings": { +"$ref": "CloudSqlSettings", +"description": "Immutable. Metadata used to create the destination Cloud SQL database." +} +}, +"type": "object" +}, +"CloudSqlSettings": { +"description": "Settings for creating a Cloud SQL database instance.", +"id": "CloudSqlSettings", +"properties": { +"activationPolicy": { +"description": "The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.", +"enum": [ +"SQL_ACTIVATION_POLICY_UNSPECIFIED", +"ALWAYS", +"NEVER" +], +"enumDescriptions": [ +"unspecified policy.", +"The instance is always up and running.", +"The instance should never spin up." +], +"type": "string" +}, +"autoStorageIncrease": { +"description": "[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.", +"type": "boolean" +}, +"dataDiskSizeGb": { +"description": "The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.", +"format": "int64", +"type": "string" +}, +"dataDiskType": { +"description": "The type of storage: `PD_SSD` (default) or `PD_HDD`.", +"enum": [ +"SQL_DATA_DISK_TYPE_UNSPECIFIED", +"PD_SSD", +"PD_HDD" +], +"enumDescriptions": [ +"Unspecified.", +"SSD disk.", +"HDD disk." +], +"type": "string" +}, +"databaseFlags": { +"additionalProperties": { +"type": "string" +}, +"description": "The database flags passed to the Cloud SQL instance at startup. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.", +"type": "object" +}, +"databaseVersion": { +"description": "The database engine type and version.", +"enum": [ +"SQL_DATABASE_VERSION_UNSPECIFIED", +"MYSQL_5_6", +"MYSQL_5_7", +"MYSQL_8_0" +], +"enumDescriptions": [ +"Unspecified version.", +"MySQL 5.6.", +"MySQL 5.7.", +"MySQL 8.0." +], +"type": "string" +}, +"ipConfig": { +"$ref": "SqlIpConfig", +"description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled." +}, +"rootPassword": { +"description": "Input only. Initial root password.", +"type": "string" +}, +"rootPasswordSet": { +"description": "Output only. Indicates If this connection profile root password is stored.", +"readOnly": true, +"type": "boolean" +}, +"sourceId": { +"description": "The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`", +"type": "string" +}, +"storageAutoResizeLimit": { +"description": "The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.", +"format": "int64", +"type": "string" +}, +"tier": { +"description": "The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).", +"type": "string" +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of \"key\": \"value\" pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"18kg\", \"count\": \"3\" }`.", +"type": "object" +}, +"zone": { +"description": "The Google Cloud Platform zone where your Cloud SQL database instance is located.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectionProfile": { +"description": "A connection profile definition.", +"id": "ConnectionProfile", +"properties": { +"cloudsql": { +"$ref": "CloudSqlConnectionProfile", +"description": "A CloudSQL database connection profile." +}, +"createTime": { +"description": "Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The connection profile display name.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. The error details in case of state FAILED.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of \"key\": \"value\" pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`.", +"type": "object" +}, +"mysql": { +"$ref": "MySqlConnectionProfile", +"description": "A MySQL database connection profile." +}, +"name": { +"description": "The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.", +"type": "string" +}, +"provider": { +"description": "The database provider.", +"enum": [ +"DATABASE_PROVIDER_UNSPECIFIED", +"CLOUDSQL", +"RDS" +], +"enumDescriptions": [ +"The database provider is unknown.", +"CloudSQL runs the database.", +"RDS runs the database." +], +"type": "string" +}, +"state": { +"description": "The current connection profile state (e.g. DRAFT, READY, or FAILED).", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"CREATING", +"READY", +"UPDATING", +"DELETING", +"DELETED", +"FAILED" +], +"enumDescriptions": [ +"The state of the connection profile is unknown.", +"The connection profile is in draft mode and fully editable.", +"The connection profile is being created.", +"The connection profile is ready.", +"The connection profile is being updated.", +"The connection profile is being deleted.", +"The connection profile has been deleted.", +"The last action on the connection profile failed." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DatabaseType": { +"description": "A message defining the database engine and provider.", +"id": "DatabaseType", +"properties": { +"engine": { +"description": "The database engine.", +"enum": [ +"DATABASE_ENGINE_UNSPECIFIED", +"MYSQL" +], +"enumDescriptions": [ +"The source database engine of the migration job is unknown.", +"The source engine is MySQL." +], +"type": "string" +}, +"provider": { +"description": "The database provider.", +"enum": [ +"DATABASE_PROVIDER_UNSPECIFIED", +"CLOUDSQL", +"RDS" +], +"enumDescriptions": [ +"The database provider is unknown.", +"CloudSQL runs the database.", +"RDS runs the database." +], +"type": "string" +} +}, +"type": "object" +}, +"DebugInfo": { +"description": "Describes additional debugging info.", +"id": "DebugInfo", +"properties": { +"detail": { +"description": "Additional debugging information provided by the server.", +"type": "string" +}, +"stackEntries": { +"description": "The stack trace entries indicating where the error occurred.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"ErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "ErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"FieldViolation": { +"description": "A message type used to describe a single bad request field.", +"id": "FieldViolation", +"properties": { +"description": { +"description": "A description of why the request element is bad.", +"type": "string" +}, +"field": { +"description": "A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message.", +"type": "string" +}, +"localizedMessage": { +"$ref": "LocalizedMessage", +"description": "Provides a localized error message for field-level errors that is safe to return to the API consumer." +}, +"reason": { +"description": "The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateSshScriptRequest": { +"description": "Request message for 'GenerateSshScript' request.", +"id": "GenerateSshScriptRequest", +"properties": { +"vm": { +"description": "Required. Bastion VM Instance name to use or to create.", +"type": "string" +}, +"vmCreationConfig": { +"$ref": "VmCreationConfig", +"description": "The VM creation configuration" +}, +"vmPort": { +"description": "The port that will be open on the bastion host", +"format": "int32", +"type": "integer" +}, +"vmSelectionConfig": { +"$ref": "VmSelectionConfig", +"description": "The VM selection configuration" +} +}, +"type": "object" +}, +"GoogleCloudClouddmsV1beta1OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudClouddmsV1beta1OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Help": { +"description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", +"id": "Help", +"properties": { +"links": { +"description": "URL(s) pointing to additional information on handling the current error.", +"items": { +"$ref": "Link" +}, +"type": "array" +} +}, +"type": "object" +}, +"Link": { +"description": "Describes a URL link.", +"id": "Link", +"properties": { +"description": { +"description": "Describes what the link offers.", +"type": "string" +}, +"url": { +"description": "The URL of the link.", +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionProfilesResponse": { +"description": "Response message for 'ListConnectionProfiles' request.", +"id": "ListConnectionProfilesResponse", +"properties": { +"connectionProfiles": { +"description": "The response list of connection profiles.", +"items": { +"$ref": "ConnectionProfile" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMigrationJobsResponse": { +"description": "Response message for 'ListMigrationJobs' request.", +"id": "ListMigrationJobsResponse", +"properties": { +"migrationJobs": { +"description": "The list of migration jobs objects.", +"items": { +"$ref": "MigrationJob" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalizedMessage": { +"description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", +"id": "LocalizedMessage", +"properties": { +"locale": { +"description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", +"type": "string" +}, +"message": { +"description": "The localized error message in the above locale.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MigrationJob": { +"description": "Represents a Database Migration Service migration job object.", +"id": "MigrationJob", +"properties": { +"createTime": { +"description": "Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destination": { +"description": "Required. The resource name (URI) of the destination connection profile.", +"type": "string" +}, +"destinationDatabase": { +"$ref": "DatabaseType", +"description": "The database engine type and provider of the destination." +}, +"displayName": { +"description": "The migration job display name.", +"type": "string" +}, +"dumpPath": { +"description": "The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).", +"type": "string" +}, +"duration": { +"description": "Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: \"3.5s\".", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. If the migration job is completed, the time when it was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. The error details in case of state FAILED.", +"readOnly": true +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of \"key\": \"value\" pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`.", +"type": "object" +}, +"name": { +"description": "The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.", +"type": "string" +}, +"phase": { +"description": "Output only. The current migration job phase.", +"enum": [ +"PHASE_UNSPECIFIED", +"FULL_DUMP", +"CDC", +"PROMOTE_IN_PROGRESS", +"WAITING_FOR_SOURCE_WRITES_TO_STOP", +"PREPARING_THE_DUMP" +], +"enumDescriptions": [ +"The phase of the migration job is unknown.", +"The migration job is in the full dump phase.", +"The migration job is CDC phase.", +"The migration job is running the promote phase.", +"Only RDS flow - waiting for source writes to stop", +"Only RDS flow - the sources writes stopped, waiting for dump to begin" +], +"readOnly": true, +"type": "string" +}, +"reverseSshConnectivity": { +"$ref": "ReverseSshConnectivity", +"description": "The details needed to communicate to the source over Reverse SSH tunnel connectivity." +}, +"source": { +"description": "Required. The resource name (URI) of the source connection profile.", +"type": "string" +}, +"sourceDatabase": { +"$ref": "DatabaseType", +"description": "The database engine type and provider of the source." +}, +"state": { +"description": "The current migration job state.", +"enum": [ +"STATE_UNSPECIFIED", +"MAINTENANCE", +"DRAFT", +"CREATING", +"NOT_STARTED", +"RUNNING", +"FAILED", +"COMPLETED", +"DELETING", +"STOPPING", +"STOPPED", +"DELETED", +"UPDATING", +"STARTING", +"RESTARTING", +"RESUMING" +], +"enumDescriptions": [ +"The state of the migration job is unknown.", +"The migration job is down for maintenance.", +"The migration job is in draft mode and no resources are created.", +"The migration job is being created.", +"The migration job is created and not started.", +"The migration job is running.", +"The migration job failed.", +"The migration job has been completed.", +"The migration job is being deleted.", +"The migration job is being stopped.", +"The migration job is currently stopped.", +"The migration job has been deleted.", +"The migration job is being updated.", +"The migration job is starting.", +"The migration job is restarting.", +"The migration job is resuming." +], +"type": "string" +}, +"staticIpConnectivity": { +"$ref": "StaticIpConnectivity", +"description": "static ip connectivity data (default, no additional details needed)." +}, +"type": { +"description": "Required. The migration job type.", +"enum": [ +"TYPE_UNSPECIFIED", +"ONE_TIME", +"CONTINUOUS" +], +"enumDescriptions": [ +"The type of the migration job is unknown.", +"The migration job is a one time migration.", +"The migration job is a continuous migration." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vpcPeeringConnectivity": { +"$ref": "VpcPeeringConnectivity", +"description": "The details of the VPC network that the source database is located in." +} +}, +"type": "object" +}, +"MigrationJobVerificationError": { +"description": "Error message of a verification Migration job.", +"id": "MigrationJobVerificationError", +"properties": { +"errorCode": { +"description": "Output only. An instance of ErrorCode specifying the error that occurred.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"CONNECTION_FAILURE", +"AUTHENTICATION_FAILURE", +"INVALID_CONNECTION_PROFILE_CONFIG", +"VERSION_INCOMPATIBILITY", +"CONNECTION_PROFILE_TYPES_INCOMPATIBILITY", +"UNSUPPORTED_GTID_MODE", +"UNSUPPORTED_DEFINER", +"CANT_RESTART_RUNNING_MIGRATION", +"TABLES_WITH_LIMITED_SUPPORT", +"UNSUPPORTED_DATABASE_LOCALE", +"UNSUPPORTED_DATABASE_FDW_CONFIG", +"ERROR_RDBMS", +"SOURCE_SIZE_EXCEEDS_THRESHOLD", +"EXISTING_CONFLICTING_DATABASES", +"PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE", +"EXISTING_DATA", +"SOURCE_MAX_SUBSCRIPTIONS" +], +"enumDescriptions": [ +"An unknown error occurred", +"We failed to connect to one of the connection profile.", +"We failed to authenticate to one of the connection profile.", +"One of the involved connection profiles has an invalid configuration.", +"The versions of the source and the destination are incompatible.", +"The types of the source and the destination are incompatible.", +"The gtid_mode is not supported, applicable for MySQL.", +"The definer is not supported.", +"Migration is already running at the time of restart request.", +"The source has tables with limited support. E.g. PostgreSQL tables without primary keys.", +"The source uses an unsupported locale.", +"The source uses an unsupported Foreign Data Wrapper configuration.", +"There was an underlying RDBMS error.", +"The source DB size in Bytes exceeds a certain threshold. The migration might require an increase of quota, or might not be supported.", +"The destination DB contains existing databases that are conflicting with those in the source DB.", +"Insufficient privilege to enable the parallelism configuration.", +"The destination instance contains existing data or user defined entities (for example databases, tables, or functions). You can only migrate to empty instances. Clear your destination instance and retry the migration job.", +"The migration job is configured to use max number of subscriptions to migrate data from the source to the destination." +], +"readOnly": true, +"type": "string" +}, +"errorDetailMessage": { +"description": "Output only. A specific detailed error message, if supplied by the engine.", +"readOnly": true, +"type": "string" +}, +"errorMessage": { +"description": "Output only. A formatted message with further details about the error and a CTA.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MySqlConnectionProfile": { +"description": "Specifies connection parameters required specifically for MySQL databases.", +"id": "MySqlConnectionProfile", +"properties": { +"cloudSqlId": { +"description": "If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.", +"type": "string" +}, +"host": { +"description": "Required. The IP or hostname of the source MySQL database.", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.", +"type": "string" +}, +"passwordSet": { +"description": "Output only. Indicates If this connection profile password is stored.", +"readOnly": true, +"type": "boolean" +}, +"port": { +"description": "Required. The network port of the source MySQL database.", +"format": "int32", +"type": "integer" +}, +"ssl": { +"$ref": "SslConfig", +"description": "SSL configuration for the destination to connect to the source database." +}, +"username": { +"description": "Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"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" +}, +"PreconditionFailure": { +"description": "Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.", +"id": "PreconditionFailure", +"properties": { +"violations": { +"description": "Describes all precondition violations.", +"items": { +"$ref": "PreconditionFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"PreconditionFailureViolation": { +"description": "A message type used to describe a single precondition failure.", +"id": "PreconditionFailureViolation", +"properties": { +"description": { +"description": "A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: \"Terms of service not accepted\".", +"type": "string" +}, +"subject": { +"description": "The subject, relative to the type, that failed. For example, \"google.com/cloud\" relative to the \"TOS\" type would indicate which terms of service is being referenced.", +"type": "string" +}, +"type": { +"description": "The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, \"TOS\" for \"Terms of Service violation\".", +"type": "string" +} +}, +"type": "object" +}, +"PromoteMigrationJobRequest": { +"description": "Request message for 'PromoteMigrationJob' request.", +"id": "PromoteMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"QuotaFailure": { +"description": "Describes how a quota check failed. For example if a daily limit was exceeded for the calling project, a service could respond with a QuotaFailure detail containing the project id and the description of the quota limit that was exceeded. If the calling project hasn't enabled the service in the developer console, then a service could respond with the project id and set `service_disabled` to true. Also see RetryInfo and Help types for other details about handling a quota failure.", +"id": "QuotaFailure", +"properties": { +"violations": { +"description": "Describes all quota violations.", +"items": { +"$ref": "QuotaFailureViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaFailureViolation": { +"description": "A message type used to describe a single quota violation. For example, a daily quota or a custom quota that was exceeded.", +"id": "QuotaFailureViolation", +"properties": { +"apiService": { +"description": "The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be \"container.googleapis.com\". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be \"compute.googleapis.com\".", +"type": "string" +}, +"description": { +"description": "A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: \"Service disabled\" or \"Daily Limit for read operations exceeded\".", +"type": "string" +}, +"futureQuotaValue": { +"description": "The new quota value being rolled out at the time of the violation. At the completion of the rollout, this value will be enforced in place of quota_value. If no rollout is in progress at the time of the violation, this field is not set. For example, if at the time of the violation a rollout is in progress changing the number of CPUs quota from 10 to 20, 20 would be the value of this field.", +"format": "int64", +"type": "string" +}, +"quotaDimensions": { +"additionalProperties": { +"type": "string" +}, +"description": "The dimensions of the violated quota. Every non-global quota is enforced on a set of dimensions. While quota metric defines what to count, the dimensions specify for what aspects the counter should be increased. For example, the quota \"CPUs per region per VM family\" enforces a limit on the metric \"compute.googleapis.com/cpus_per_vm_family\" on dimensions \"region\" and \"vm_family\". And if the violation occurred in region \"us-central1\" and for VM family \"n1\", the quota_dimensions would be, { \"region\": \"us-central1\", \"vm_family\": \"n1\", } When a quota is enforced globally, the quota_dimensions would always be empty.", +"type": "object" +}, +"quotaId": { +"description": "The id of the violated quota. Also know as \"limit name\", this is the unique identifier of a quota in the context of an API service. For example, \"CPUS-PER-VM-FAMILY-per-project-region\".", +"type": "string" +}, +"quotaMetric": { +"description": "The metric of the violated quota. A quota metric is a named counter to measure usage, such as API requests or CPUs. When an activity occurs in a service, such as Virtual Machine allocation, one or more quota metrics may be affected. For example, \"compute.googleapis.com/cpus_per_vm_family\", \"storage.googleapis.com/internet_egress_bandwidth\".", +"type": "string" +}, +"quotaValue": { +"description": "The enforced quota value at the time of the `QuotaFailure`. For example, if the enforced quota value at the time of the `QuotaFailure` on the number of CPUs is \"10\", then the value of this field would reflect this quantity.", +"format": "int64", +"type": "string" +}, +"subject": { +"description": "The subject on which the quota check failed. For example, \"clientip:\" or \"project:\".", +"type": "string" +} +}, +"type": "object" +}, +"RequestInfo": { +"description": "Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.", +"id": "RequestInfo", +"properties": { +"requestId": { +"description": "An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.", +"type": "string" +}, +"servingData": { +"description": "Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceInfo": { +"description": "Describes the resource that is being accessed.", +"id": "ResourceInfo", +"properties": { +"description": { +"description": "Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.", +"type": "string" +}, +"owner": { +"description": "The owner of the resource (optional). For example, \"user:\" or \"project:\".", +"type": "string" +}, +"resourceName": { +"description": "The name of the resource being accessed. For example, a shared calendar name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current error is google.rpc.Code.PERMISSION_DENIED.", +"type": "string" +}, +"resourceType": { +"description": "A name for the type of resource being accessed, e.g. \"sql table\", \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\".", +"type": "string" +} +}, +"type": "object" +}, +"RestartMigrationJobRequest": { +"description": "Request message for 'RestartMigrationJob' request.", +"id": "RestartMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"ResumeMigrationJobRequest": { +"description": "Request message for 'ResumeMigrationJob' request.", +"id": "ResumeMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"RetryInfo": { +"description": "Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses. It's always recommended that clients should use exponential backoff when retrying. Clients should wait until `retry_delay` amount of time has passed since receiving the error response before retrying. If retrying requests also fail, clients should use an exponential backoff scheme to gradually increase the delay between retries based on `retry_delay`, until either a maximum number of retries have been reached or a maximum retry delay cap has been reached.", +"id": "RetryInfo", +"properties": { +"retryDelay": { +"description": "Clients should wait at least this long between retrying the same request.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ReverseSshConnectivity": { +"description": "The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.", +"id": "ReverseSshConnectivity", +"properties": { +"vm": { +"description": "The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.", +"type": "string" +}, +"vmIp": { +"description": "Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.", +"type": "string" +}, +"vmPort": { +"description": "Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.", +"format": "int32", +"type": "integer" +}, +"vpc": { +"description": "The name of the VPC to peer with the Cloud SQL private network.", +"type": "string" +} +}, +"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" +}, +"SqlAclEntry": { +"description": "An entry for an Access Control list.", +"id": "SqlAclEntry", +"properties": { +"expireTime": { +"description": "The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`.", +"format": "google-datetime", +"type": "string" +}, +"label": { +"description": "A label to identify this entry.", +"type": "string" +}, +"ttl": { +"description": "Input only. The time-to-leave of this access control entry.", +"format": "google-duration", +"type": "string" +}, +"value": { +"description": "The allowlisted value for the access control list.", +"type": "string" +} +}, +"type": "object" +}, +"SqlIpConfig": { +"description": "IP Management configuration.", +"id": "SqlIpConfig", +"properties": { +"authorizedNetworks": { +"description": "The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. `192.168.100.0/24`).", +"items": { +"$ref": "SqlAclEntry" +}, +"type": "array" +}, +"enableIpv4": { +"description": "Whether the instance is assigned a public IP address or not.", +"type": "boolean" +}, +"privateNetwork": { +"description": "The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, `/projects/myProject/global/networks/default`. This setting can be updated, but it cannot be removed after it is set.", +"type": "string" +}, +"requireSsl": { +"description": "Whether SSL connections over IP should be enforced or not.", +"type": "boolean" +} +}, +"type": "object" +}, +"SshScript": { +"description": "Response message for 'GenerateSshScript' request.", +"id": "SshScript", +"properties": { +"script": { +"description": "The ssh configuration script.", +"type": "string" +} +}, +"type": "object" +}, +"SslConfig": { +"description": "SSL configuration information.", +"id": "SslConfig", +"properties": { +"caCertificate": { +"description": "Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.", +"type": "string" +}, +"clientCertificate": { +"description": "Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.", +"type": "string" +}, +"clientKey": { +"description": "Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.", +"type": "string" +}, +"type": { +"description": "Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.", +"enum": [ +"SSL_TYPE_UNSPECIFIED", +"SERVER_ONLY", +"SERVER_CLIENT" +], +"enumDescriptions": [ +"Unspecified.", +"Only 'ca_certificate' specified.", +"Both server ('ca_certificate'), and client ('client_key', 'client_certificate') specified." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StartMigrationJobRequest": { +"description": "Request message for 'StartMigrationJob' request.", +"id": "StartMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"StaticIpConnectivity": { +"description": "The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.", +"id": "StaticIpConnectivity", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopMigrationJobRequest": { +"description": "Request message for 'StopMigrationJob' request.", +"id": "StopMigrationJobRequest", +"properties": {}, +"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" +}, +"VerifyMigrationJobRequest": { +"description": "Request message for 'VerifyMigrationJob' request.", +"id": "VerifyMigrationJobRequest", +"properties": {}, +"type": "object" +}, +"VmCreationConfig": { +"description": "VM creation configuration message", +"id": "VmCreationConfig", +"properties": { +"subnet": { +"description": "The subnet name the vm needs to be created in.", +"type": "string" +}, +"vmMachineType": { +"description": "Required. VM instance machine type to create.", +"type": "string" +}, +"vmZone": { +"description": "The Google Cloud Platform zone to create the VM in.", +"type": "string" +} +}, +"type": "object" +}, +"VmSelectionConfig": { +"description": "VM selection configuration message", +"id": "VmSelectionConfig", +"properties": { +"vmZone": { +"description": "Required. The Google Cloud Platform zone the VM is located.", +"type": "string" +} +}, +"type": "object" +}, +"VpcPeeringConnectivity": { +"description": "The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC.", +"id": "VpcPeeringConnectivity", +"properties": { +"vpc": { +"description": "The name of the VPC network to peer with the Cloud SQL private network.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Database Migration API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataportability.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataportability.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..5da90f6fa0e734006369413c5c4e74122258f437 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataportability.v1.json @@ -0,0 +1,1070 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions": { +"description": "Move a copy of the Google Alerts subscriptions you created" +}, +"https://www.googleapis.com/auth/dataportability.chrome.autofill": { +"description": "Move a copy of the information you entered into online forms in Chrome" +}, +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks": { +"description": "Move a copy of pages you bookmarked in Chrome" +}, +"https://www.googleapis.com/auth/dataportability.chrome.dictionary": { +"description": "Move a copy of words you added to Chrome's dictionary" +}, +"https://www.googleapis.com/auth/dataportability.chrome.extensions": { +"description": "Move a copy of extensions you installed from the Chrome Web Store" +}, +"https://www.googleapis.com/auth/dataportability.chrome.history": { +"description": "Move a copy of sites you visited in Chrome" +}, +"https://www.googleapis.com/auth/dataportability.chrome.reading_list": { +"description": "Move a copy of pages you added to your reading list in Chrome" +}, +"https://www.googleapis.com/auth/dataportability.chrome.settings": { +"description": "Move a copy of your settings in Chrome" +}, +"https://www.googleapis.com/auth/dataportability.discover.follows": { +"description": "Move a copy of searches and sites you follow, saved by Discover" +}, +"https://www.googleapis.com/auth/dataportability.discover.likes": { +"description": "Move a copy of links to your liked documents, saved by Discover" +}, +"https://www.googleapis.com/auth/dataportability.discover.not_interested": { +"description": "Move a copy of content you marked as not interested, saved by Discover" +}, +"https://www.googleapis.com/auth/dataportability.maps.aliased_places": { +"description": "Move a copy of the places you labeled on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.commute_routes": { +"description": "Move a copy of your pinned trips on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.commute_settings": { +"description": "Move a copy of your commute settings on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.ev_profile": { +"description": "Move a copy of your electric vehicle profile on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions": { +"description": "Move a copy of the corrections you made to places or map information on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions": { +"description": "Move a copy of your updates to places on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.photos_videos": { +"description": "Move a copy of the photos and videos you posted on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.questions_answers": { +"description": "Move a copy of the questions and answers you posted on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.reviews": { +"description": "Move a copy of your reviews and posts on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.starred_places": { +"description": "Move a copy of your Starred places list on Maps" +}, +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile": { +"description": "Move a copy of your vehicle profile on Maps" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.maps": { +"description": "Move a copy of your Maps activity" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter": { +"description": "Move a copy of your My Ad Center activity" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.play": { +"description": "Move a copy of your Google Play activity" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.search": { +"description": "Move a copy of your Google Search activity" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.shopping": { +"description": "Move a copy of your Shopping activity" +}, +"https://www.googleapis.com/auth/dataportability.myactivity.youtube": { +"description": "Move a copy of your YouTube activity" +}, +"https://www.googleapis.com/auth/dataportability.mymaps.maps": { +"description": "Move a copy of the maps you created in My Maps" +}, +"https://www.googleapis.com/auth/dataportability.nest.camera_event": { +"description": "Copy Nest camera event data" +}, +"https://www.googleapis.com/auth/dataportability.nest.camera_feature": { +"description": "Copy Nest camera feature data" +}, +"https://www.googleapis.com/auth/dataportability.nest.camera_video": { +"description": "Copy Nest camera footage" +}, +"https://www.googleapis.com/auth/dataportability.nest.store": { +"description": "Copy your Nest Store and Nest Renew billing and payment information" +}, +"https://www.googleapis.com/auth/dataportability.nest.user": { +"description": "Copy your Nest user information" +}, +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations": { +"description": "Move a copy of your food purchase and reservation activity" +}, +"https://www.googleapis.com/auth/dataportability.play.devices": { +"description": "Move a copy of information about your devices with Google Play Store installed" +}, +"https://www.googleapis.com/auth/dataportability.play.grouping": { +"description": "Move a copy of your Google Play Store Grouping tags created by app developers" +}, +"https://www.googleapis.com/auth/dataportability.play.installs": { +"description": "Move a copy of your Google Play Store app installations" +}, +"https://www.googleapis.com/auth/dataportability.play.library": { +"description": "Move a copy of your Google Play Store downloads, including books, games, and apps" +}, +"https://www.googleapis.com/auth/dataportability.play.playpoints": { +"description": "Move a copy of information about your Google Play Store Points" +}, +"https://www.googleapis.com/auth/dataportability.play.promotions": { +"description": "Move a copy of information about your Google Play Store promotions" +}, +"https://www.googleapis.com/auth/dataportability.play.purchases": { +"description": "Move a copy of your Google Play Store purchases" +}, +"https://www.googleapis.com/auth/dataportability.play.redemptions": { +"description": "Move a copy of your Google Play Store redemption activities" +}, +"https://www.googleapis.com/auth/dataportability.play.subscriptions": { +"description": "Move a copy of your Google Play Store subscriptions" +}, +"https://www.googleapis.com/auth/dataportability.play.usersettings": { +"description": "Move a copy of your Google Play Store user settings and preferences" +}, +"https://www.googleapis.com/auth/dataportability.saved.collections": { +"description": "Move a copy of your saved links, images, places, and collections from your use of Google services" +}, +"https://www.googleapis.com/auth/dataportability.search_ugc.comments": { +"description": "Move a copy of your comments on Google Search" +}, +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars": { +"description": "Move a copy of your media reviews on Google Search" +}, +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers": { +"description": "Move a copy of your self-reported video streaming provider preferences from Google Search and Google TV" +}, +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs": { +"description": "Move a copy of your indicated thumbs up and thumbs down on media in Google Search and Google TV" +}, +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched": { +"description": "Move a copy of information about the movies and TV shows you marked as watched on Google Search and Google TV" +}, +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings": { +"description": "Move a copy of your notification settings on the Google Search app" +}, +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions": { +"description": "Move a copy of your notification subscriptions on Google Search app" +}, +"https://www.googleapis.com/auth/dataportability.shopping.addresses": { +"description": "Move a copy of your shipping information on Shopping" +}, +"https://www.googleapis.com/auth/dataportability.shopping.reviews": { +"description": "Move a copy of reviews you wrote about products or online stores on Google Search" +}, +"https://www.googleapis.com/auth/dataportability.streetview.imagery": { +"description": "Move a copy of the images and videos you uploaded to Street View" +}, +"https://www.googleapis.com/auth/dataportability.youtube.channel": { +"description": "Move a copy of information about your YouTube channel" +}, +"https://www.googleapis.com/auth/dataportability.youtube.clips": { +"description": "Move a copy of your YouTube clips metadata" +}, +"https://www.googleapis.com/auth/dataportability.youtube.comments": { +"description": "Move a copy of your YouTube comments" +}, +"https://www.googleapis.com/auth/dataportability.youtube.conversations": { +"description": "Move a copy of all your YouTube messages" +}, +"https://www.googleapis.com/auth/dataportability.youtube.live_chat": { +"description": "Move a copy of your YouTube messages in live chat" +}, +"https://www.googleapis.com/auth/dataportability.youtube.music": { +"description": "Move a copy of your uploaded YouTube music tracks and your YouTube music library" +}, +"https://www.googleapis.com/auth/dataportability.youtube.playable": { +"description": "Move a copy of your YouTube playables saved game progress files" +}, +"https://www.googleapis.com/auth/dataportability.youtube.posts": { +"description": "Move a copy of your YouTube posts" +}, +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists": { +"description": "Move a copy of your YouTube private playlists" +}, +"https://www.googleapis.com/auth/dataportability.youtube.private_videos": { +"description": "Move a copy of your private YouTube videos and information about them" +}, +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists": { +"description": "Move a copy of your public YouTube playlists" +}, +"https://www.googleapis.com/auth/dataportability.youtube.public_videos": { +"description": "Move a copy of your public YouTube videos and information about them" +}, +"https://www.googleapis.com/auth/dataportability.youtube.shopping": { +"description": "Move a copy of your YouTube shopping wishlists, and wishlist items" +}, +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions": { +"description": "Move a copy of your YouTube channel subscriptions, even if they're private" +}, +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists": { +"description": "Move a copy of your unlisted YouTube playlists" +}, +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos": { +"description": "Move a copy of your unlisted YouTube videos and information about them" +} +} +} +}, +"basePath": "", +"baseUrl": "https://dataportability.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Data Portability", +"description": "The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/data-portability", +"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": "dataportability:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dataportability.mtls.googleapis.com/", +"name": "dataportability", +"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": { +"accessType": { +"methods": { +"check": { +"description": "Gets the access type of the token.", +"flatPath": "v1/accessType:check", +"httpMethod": "POST", +"id": "dataportability.accessType.check", +"parameterOrder": [], +"parameters": {}, +"path": "v1/accessType:check", +"request": { +"$ref": "CheckAccessTypeRequest" +}, +"response": { +"$ref": "CheckAccessTypeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +} +} +}, +"archiveJobs": { +"methods": { +"cancel": { +"description": "Cancels a Portability Archive job.", +"flatPath": "v1/archiveJobs/{archiveJobsId}:cancel", +"httpMethod": "POST", +"id": "dataportability.archiveJobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Archive job ID you're canceling. This is returned by the InitiatePortabilityArchive response. The format is: archiveJobs/{archive_job}. Canceling is only executed if the job is in progress.", +"location": "path", +"pattern": "^archiveJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelPortabilityArchiveRequest" +}, +"response": { +"$ref": "CancelPortabilityArchiveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +}, +"getPortabilityArchiveState": { +"description": "Retrieves the state of an Archive job for the Portability API.", +"flatPath": "v1/archiveJobs/{archiveJobsId}/portabilityArchiveState", +"httpMethod": "GET", +"id": "dataportability.archiveJobs.getPortabilityArchiveState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The archive job ID that is returned when you request the state of the job. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the InitiatePortabilityArchiveResponse.", +"location": "path", +"pattern": "^archiveJobs/[^/]+/portabilityArchiveState$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PortabilityArchiveState" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +}, +"retry": { +"description": "Retries a failed Portability Archive job.", +"flatPath": "v1/archiveJobs/{archiveJobsId}:retry", +"httpMethod": "POST", +"id": "dataportability.archiveJobs.retry", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Archive job ID you're retrying. This is returned by the InitiatePortabilityArchiveResponse. Retrying is only executed if the initial job failed.", +"location": "path", +"pattern": "^archiveJobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:retry", +"request": { +"$ref": "RetryPortabilityArchiveRequest" +}, +"response": { +"$ref": "RetryPortabilityArchiveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +} +} +}, +"authorization": { +"methods": { +"reset": { +"description": "Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job.", +"flatPath": "v1/authorization:reset", +"httpMethod": "POST", +"id": "dataportability.authorization.reset", +"parameterOrder": [], +"parameters": {}, +"path": "v1/authorization:reset", +"request": { +"$ref": "ResetAuthorizationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +} +} +}, +"portabilityArchive": { +"methods": { +"initiate": { +"description": "Initiates a new Archive job for the Portability API.", +"flatPath": "v1/portabilityArchive:initiate", +"httpMethod": "POST", +"id": "dataportability.portabilityArchive.initiate", +"parameterOrder": [], +"parameters": {}, +"path": "v1/portabilityArchive:initiate", +"request": { +"$ref": "InitiatePortabilityArchiveRequest" +}, +"response": { +"$ref": "InitiatePortabilityArchiveResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/dataportability.alerts.subscriptions", +"https://www.googleapis.com/auth/dataportability.chrome.autofill", +"https://www.googleapis.com/auth/dataportability.chrome.bookmarks", +"https://www.googleapis.com/auth/dataportability.chrome.dictionary", +"https://www.googleapis.com/auth/dataportability.chrome.extensions", +"https://www.googleapis.com/auth/dataportability.chrome.history", +"https://www.googleapis.com/auth/dataportability.chrome.reading_list", +"https://www.googleapis.com/auth/dataportability.chrome.settings", +"https://www.googleapis.com/auth/dataportability.discover.follows", +"https://www.googleapis.com/auth/dataportability.discover.likes", +"https://www.googleapis.com/auth/dataportability.discover.not_interested", +"https://www.googleapis.com/auth/dataportability.maps.aliased_places", +"https://www.googleapis.com/auth/dataportability.maps.commute_routes", +"https://www.googleapis.com/auth/dataportability.maps.commute_settings", +"https://www.googleapis.com/auth/dataportability.maps.ev_profile", +"https://www.googleapis.com/auth/dataportability.maps.factual_contributions", +"https://www.googleapis.com/auth/dataportability.maps.offering_contributions", +"https://www.googleapis.com/auth/dataportability.maps.photos_videos", +"https://www.googleapis.com/auth/dataportability.maps.questions_answers", +"https://www.googleapis.com/auth/dataportability.maps.reviews", +"https://www.googleapis.com/auth/dataportability.maps.starred_places", +"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile", +"https://www.googleapis.com/auth/dataportability.myactivity.maps", +"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter", +"https://www.googleapis.com/auth/dataportability.myactivity.play", +"https://www.googleapis.com/auth/dataportability.myactivity.search", +"https://www.googleapis.com/auth/dataportability.myactivity.shopping", +"https://www.googleapis.com/auth/dataportability.myactivity.youtube", +"https://www.googleapis.com/auth/dataportability.mymaps.maps", +"https://www.googleapis.com/auth/dataportability.nest.camera_event", +"https://www.googleapis.com/auth/dataportability.nest.camera_feature", +"https://www.googleapis.com/auth/dataportability.nest.camera_video", +"https://www.googleapis.com/auth/dataportability.nest.store", +"https://www.googleapis.com/auth/dataportability.nest.user", +"https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations", +"https://www.googleapis.com/auth/dataportability.play.devices", +"https://www.googleapis.com/auth/dataportability.play.grouping", +"https://www.googleapis.com/auth/dataportability.play.installs", +"https://www.googleapis.com/auth/dataportability.play.library", +"https://www.googleapis.com/auth/dataportability.play.playpoints", +"https://www.googleapis.com/auth/dataportability.play.promotions", +"https://www.googleapis.com/auth/dataportability.play.purchases", +"https://www.googleapis.com/auth/dataportability.play.redemptions", +"https://www.googleapis.com/auth/dataportability.play.subscriptions", +"https://www.googleapis.com/auth/dataportability.play.usersettings", +"https://www.googleapis.com/auth/dataportability.saved.collections", +"https://www.googleapis.com/auth/dataportability.search_ugc.comments", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs", +"https://www.googleapis.com/auth/dataportability.search_ugc.media.watched", +"https://www.googleapis.com/auth/dataportability.searchnotifications.settings", +"https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions", +"https://www.googleapis.com/auth/dataportability.shopping.addresses", +"https://www.googleapis.com/auth/dataportability.shopping.reviews", +"https://www.googleapis.com/auth/dataportability.streetview.imagery", +"https://www.googleapis.com/auth/dataportability.youtube.channel", +"https://www.googleapis.com/auth/dataportability.youtube.clips", +"https://www.googleapis.com/auth/dataportability.youtube.comments", +"https://www.googleapis.com/auth/dataportability.youtube.conversations", +"https://www.googleapis.com/auth/dataportability.youtube.live_chat", +"https://www.googleapis.com/auth/dataportability.youtube.music", +"https://www.googleapis.com/auth/dataportability.youtube.playable", +"https://www.googleapis.com/auth/dataportability.youtube.posts", +"https://www.googleapis.com/auth/dataportability.youtube.private_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.private_videos", +"https://www.googleapis.com/auth/dataportability.youtube.public_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.public_videos", +"https://www.googleapis.com/auth/dataportability.youtube.shopping", +"https://www.googleapis.com/auth/dataportability.youtube.subscriptions", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists", +"https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" +] +} +} +} +}, +"revision": "20260105", +"rootUrl": "https://dataportability.googleapis.com/", +"schemas": { +"CancelPortabilityArchiveRequest": { +"description": "Request to cancel a Portability Archive job.", +"id": "CancelPortabilityArchiveRequest", +"properties": {}, +"type": "object" +}, +"CancelPortabilityArchiveResponse": { +"description": "Response to canceling a Data Portability Archive job.", +"id": "CancelPortabilityArchiveResponse", +"properties": {}, +"type": "object" +}, +"CheckAccessTypeRequest": { +"description": "Request to check the token's access type. All required information is derived from the attached OAuth token.", +"id": "CheckAccessTypeRequest", +"properties": {}, +"type": "object" +}, +"CheckAccessTypeResponse": { +"description": "Response to checking the token's access type.", +"id": "CheckAccessTypeResponse", +"properties": { +"oneTimeResources": { +"description": "Jobs initiated with this token will be one-time if any requested resources have one-time access.", +"items": { +"type": "string" +}, +"type": "array" +}, +"timeBasedResources": { +"description": "Jobs initiated with this token will be time-based if all requested resources have time-based access.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"InitiatePortabilityArchiveRequest": { +"description": "Request to kick off an Archive job.", +"id": "InitiatePortabilityArchiveRequest", +"properties": { +"endTime": { +"description": "Optional. The timestamp that represents the end point for the data you are exporting. If the end_time is not specified in the InitiatePortabilityArchiveRequest, this field is set to the latest available data.", +"format": "google-datetime", +"type": "string" +}, +"resources": { +"description": "The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.", +"items": { +"type": "string" +}, +"type": "array" +}, +"startTime": { +"description": "Optional. The timestamp that represents the starting point for the data you are exporting. If the start_time is not specified in the InitiatePortabilityArchiveRequest, the field is set to the earliest available data.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InitiatePortabilityArchiveResponse": { +"description": "Response from initiating an Archive job.", +"id": "InitiatePortabilityArchiveResponse", +"properties": { +"accessType": { +"description": "The access type of the Archive job initiated by the API.", +"enum": [ +"ACCESS_TYPE_UNSPECIFIED", +"ACCESS_TYPE_ONE_TIME", +"ACCESS_TYPE_TIME_BASED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"One-time access to the requested scopes.", +"Multiple exports allowed over 30 days. Enum value subject to change before launch." +], +"type": "string" +}, +"archiveJobId": { +"description": "The archive job ID that is initiated in the API. This can be used to get the state of the job.", +"type": "string" +} +}, +"type": "object" +}, +"PortabilityArchiveState": { +"description": "Resource that contains the state of an Archive job.", +"id": "PortabilityArchiveState", +"properties": { +"exportTime": { +"description": "The timestamp that represents the end point for the data you are exporting. If the end_time value is set in the InitiatePortabilityArchiveRequest, this field is set to that value. If end_time is not set, this value is set to the time the export was requested.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The resource name of ArchiveJob's PortabilityArchiveState singleton. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID provided in the request.", +"type": "string" +}, +"startTime": { +"description": "The timestamp that represents the starting point for the data you are exporting. This field is set only if the start_time field is specified in the InitiatePortabilityArchiveRequest.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Resource that represents the state of the Archive job.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"COMPLETE", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The job is in progress.", +"The job is complete.", +"The job failed.", +"The job is cancelled." +], +"type": "string" +}, +"urls": { +"description": "If the state is complete, this method returns the signed URLs of the objects in the Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResetAuthorizationRequest": { +"description": "Request to reset exhausted OAuth scopes.", +"id": "ResetAuthorizationRequest", +"properties": {}, +"type": "object" +}, +"RetryPortabilityArchiveRequest": { +"description": "Request to retry a failed Portability Archive job.", +"id": "RetryPortabilityArchiveRequest", +"properties": {}, +"type": "object" +}, +"RetryPortabilityArchiveResponse": { +"description": "Response from retrying a Portability Archive.", +"id": "RetryPortabilityArchiveResponse", +"properties": { +"archiveJobId": { +"description": "The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Data Portability API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataproc.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataproc.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dd06276f1584c1a0853256c09542be734ee137fb --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/dataproc.v1.json @@ -0,0 +1,13280 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://dataproc.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dataproc", +"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataproc/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://dataproc.me-central2.rep.googleapis.com/", +"location": "me-central2" +} +], +"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": "dataproc:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://dataproc.mtls.googleapis.com/", +"name": "dataproc", +"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": { +"autoscalingPolicies": { +"methods": { +"create": { +"description": "Creates new autoscaling policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies", +"httpMethod": "POST", +"id": "dataproc.projects.locations.autoscalingPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/autoscalingPolicies", +"request": { +"$ref": "AutoscalingPolicy" +}, +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.autoscalingPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves autoscaling policy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.autoscalingPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.locations.autoscalingPolicies.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/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists autoscaling policies in the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies", +"httpMethod": "GET", +"id": "dataproc.projects.locations.autoscalingPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/autoscalingPolicies", +"response": { +"$ref": "ListAutoscalingPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.locations.autoscalingPolicies.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/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.locations.autoscalingPolicies.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/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "PUT", +"id": "dataproc.projects.locations.autoscalingPolicies.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AutoscalingPolicy" +}, +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"batches": { +"methods": { +"analyze": { +"description": "Analyze a Batch for possible recommendations and insights.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}:analyze", +"httpMethod": "POST", +"id": "dataproc.projects.locations.batches.analyze", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to analyze in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:analyze", +"request": { +"$ref": "AnalyzeBatchRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a batch workload that executes asynchronously.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches", +"httpMethod": "POST", +"id": "dataproc.projects.locations.batches.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"batchId": { +"description": "Optional. The ID to use for the batch, which will become the final component of the batch's resource name.This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this batch will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the operation that corresponds to the first Batch created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/batches", +"request": { +"$ref": "Batch" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.batches.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the batch workload resource representation.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Batch" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists batch workloads.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter for the batches to return in the response.A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields are batch_id, batch_uuid, state, create_time, and labels.e.g. state = RUNNING and create_time < \"2023-01-01T00:00:00Z\" filters for batches in state RUNNING that were created before 2023-01-01. state = RUNNING and labels.environment=production filters for batches in state in a RUNNING state that have a production environment label.See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field(s) on which to sort the list of batches.Currently the only supported sort orders are unspecified (empty) and create_time desc to sort by most recently created batches first.See https://google.aip.dev/132#ordering for more details.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous ListBatches call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of batches.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/batches", +"response": { +"$ref": "ListBatchesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sparkApplications": { +"methods": { +"access": { +"description": "Obtain high level information corresponding to a single Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:access", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.access", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:access", +"response": { +"$ref": "AccessSparkApplicationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessEnvironmentInfo": { +"description": "Obtain environment details for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessEnvironmentInfo", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessEnvironmentInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessEnvironmentInfo", +"response": { +"$ref": "AccessSparkApplicationEnvironmentInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessJob": { +"description": "Obtain data corresponding to a spark job for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessJob", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessJob", +"parameterOrder": [ +"name" +], +"parameters": { +"jobId": { +"description": "Required. Job ID to fetch data for.", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessJob", +"response": { +"$ref": "AccessSparkApplicationJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessSqlPlan": { +"description": "Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessSqlPlan", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessSqlPlan", +"parameterOrder": [ +"name" +], +"parameters": { +"executionId": { +"description": "Required. Execution ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessSqlPlan", +"response": { +"$ref": "AccessSparkApplicationSqlSparkPlanGraphResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessSqlQuery": { +"description": "Obtain data corresponding to a particular SQL Query for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessSqlQuery", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessSqlQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"details": { +"description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.", +"location": "query", +"type": "boolean" +}, +"executionId": { +"description": "Required. Execution ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"planDescription": { +"description": "Optional. Enables/ disables physical plan description on demand", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:accessSqlQuery", +"response": { +"$ref": "AccessSparkApplicationSqlQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessStageAttempt": { +"description": "Obtain data corresponding to a spark stage attempt for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessStageAttempt", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessStageAttempt", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessStageAttempt", +"response": { +"$ref": "AccessSparkApplicationStageAttemptResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessStageRddGraph": { +"description": "Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessStageRddGraph", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.accessStageRddGraph", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessStageRddGraph", +"response": { +"$ref": "AccessSparkApplicationStageRddOperationGraphResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Obtain high level information and list of Spark Applications corresponding to a batch", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications:search", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"applicationStatus": { +"description": "Optional. Search only applications in the chosen state.", +"enum": [ +"APPLICATION_STATUS_UNSPECIFIED", +"APPLICATION_STATUS_RUNNING", +"APPLICATION_STATUS_COMPLETED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"maxEndTime": { +"description": "Optional. Latest end timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"maxTime": { +"description": "Optional. Latest start timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"minEndTime": { +"description": "Optional. Earliest end timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"minTime": { +"description": "Optional. Earliest start timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSparkApplications call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sparkApplications:search", +"response": { +"$ref": "SearchSparkApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchExecutorStageSummary": { +"description": "Obtain executor summary with respect to a spark stage attempt.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchExecutorStageSummary", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchExecutorStageSummary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchExecutorStageSummary", +"response": { +"$ref": "SearchSparkApplicationExecutorStageSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchExecutors": { +"description": "Obtain data corresponding to executors for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchExecutors", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchExecutors", +"parameterOrder": [ +"name" +], +"parameters": { +"executorStatus": { +"description": "Optional. Filter to select whether active/ dead or all executors should be selected.", +"enum": [ +"EXECUTOR_STATUS_UNSPECIFIED", +"EXECUTOR_STATUS_ACTIVE", +"EXECUTOR_STATUS_DEAD" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchExecutors", +"response": { +"$ref": "SearchSparkApplicationExecutorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchJobs": { +"description": "Obtain list of spark jobs corresponding to a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchJobs", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchJobs", +"parameterOrder": [ +"name" +], +"parameters": { +"jobStatus": { +"description": "Optional. List only jobs in the specific state.", +"enum": [ +"JOB_EXECUTION_STATUS_UNSPECIFIED", +"JOB_EXECUTION_STATUS_RUNNING", +"JOB_EXECUTION_STATUS_SUCCEEDED", +"JOB_EXECUTION_STATUS_FAILED", +"JOB_EXECUTION_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSparkApplicationJobs call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchJobs", +"response": { +"$ref": "SearchSparkApplicationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchSqlQueries": { +"description": "Obtain data corresponding to SQL Queries for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchSqlQueries", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchSqlQueries", +"parameterOrder": [ +"name" +], +"parameters": { +"details": { +"description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"planDescription": { +"description": "Optional. Enables/ disables physical plan description on demand", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:searchSqlQueries", +"response": { +"$ref": "SearchSparkApplicationSqlQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStageAttemptTasks": { +"description": "Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStageAttemptTasks", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchStageAttemptTasks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous ListSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"sortRuntime": { +"description": "Optional. Sort the tasks by runtime.", +"location": "query", +"type": "boolean" +}, +"stageAttemptId": { +"description": "Optional. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Optional. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"taskStatus": { +"description": "Optional. List only tasks in the state.", +"enum": [ +"TASK_STATUS_UNSPECIFIED", +"TASK_STATUS_RUNNING", +"TASK_STATUS_SUCCESS", +"TASK_STATUS_FAILED", +"TASK_STATUS_KILLED", +"TASK_STATUS_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStageAttemptTasks", +"response": { +"$ref": "SearchSparkApplicationStageAttemptTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStageAttempts": { +"description": "Obtain data corresponding to a spark stage attempts for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStageAttempts", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchStageAttempts", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of stage attempts (paging based on stage_attempt_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageId": { +"description": "Required. Stage ID for which attempts are to be fetched", +"format": "int64", +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStageAttempts", +"response": { +"$ref": "SearchSparkApplicationStageAttemptsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStages": { +"description": "Obtain data corresponding to stages for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStages", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.searchStages", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous FetchSparkApplicationStagesList call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageStatus": { +"description": "Optional. List only stages in the given state.", +"enum": [ +"STAGE_STATUS_UNSPECIFIED", +"STAGE_STATUS_ACTIVE", +"STAGE_STATUS_COMPLETE", +"STAGE_STATUS_FAILED", +"STAGE_STATUS_PENDING", +"STAGE_STATUS_SKIPPED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStages", +"response": { +"$ref": "SearchSparkApplicationStagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeExecutors": { +"description": "Obtain summary of Executor Summary for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeExecutors", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.summarizeExecutors", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeExecutors", +"response": { +"$ref": "SummarizeSparkApplicationExecutorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeJobs": { +"description": "Obtain summary of Jobs for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeJobs", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.summarizeJobs", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeJobs", +"response": { +"$ref": "SummarizeSparkApplicationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeStageAttemptTasks": { +"description": "Obtain summary of Tasks for a Spark Application Stage Attempt", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeStageAttemptTasks", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.summarizeStageAttemptTasks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeStageAttemptTasks", +"response": { +"$ref": "SummarizeSparkApplicationStageAttemptTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeStages": { +"description": "Obtain summary of Stages for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeStages", +"httpMethod": "GET", +"id": "dataproc.projects.locations.batches.sparkApplications.summarizeStages", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeStages", +"response": { +"$ref": "SummarizeSparkApplicationStagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Write wrapper objects from dataplane to spanner", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:write", +"httpMethod": "POST", +"id": "dataproc.projects.locations.batches.sparkApplications.write", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the spark application to write data about in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:write", +"request": { +"$ref": "WriteSparkApplicationContextRequest" +}, +"response": { +"$ref": "WriteSparkApplicationContextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dataproc.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "dataproc.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sessionTemplates": { +"methods": { +"create": { +"description": "Create a session template synchronously.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates", +"httpMethod": "POST", +"id": "dataproc.projects.locations.sessionTemplates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this session template will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessionTemplates", +"request": { +"$ref": "SessionTemplate" +}, +"response": { +"$ref": "SessionTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a session template.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.sessionTemplates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session template resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the resource representation for a session template.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessionTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session template to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SessionTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists session templates.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessionTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter for the session templates to return in the response. Filters are case sensitive and have the following syntax:field = value AND field = value ...", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent that owns this collection of session templates.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessionTemplates", +"response": { +"$ref": "ListSessionTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the session template synchronously.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}", +"httpMethod": "PATCH", +"id": "dataproc.projects.locations.sessionTemplates.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The resource name of the session template.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "SessionTemplate" +}, +"response": { +"$ref": "SessionTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sessions": { +"methods": { +"create": { +"description": "Create an interactive session asynchronously.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions", +"httpMethod": "POST", +"id": "dataproc.projects.locations.sessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this session will be created.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the service receives two CreateSessionRequests (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with the same ID, the second request is ignored, and the first Session is created and stored in the backend.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +}, +"sessionId": { +"description": "Required. The ID to use for the session, which becomes the final component of the session's resource name.This value must be 4-63 characters. Valid characters are /a-z-/.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"request": { +"$ref": "Session" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.sessions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the resource representation for an interactive session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Session" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists interactive sessions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter for the sessions to return in the response.A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are session_id, session_uuid, state, create_time, and labels.Example: state = ACTIVE and create_time < \"2023-01-01T00:00:00Z\" is a filter for sessions in an ACTIVE state that were created before 2023-01-01. state = ACTIVE and labels.environment=production is a filter for sessions in an ACTIVE state that have a production environment label.See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of sessions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sessions", +"response": { +"$ref": "ListSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"terminate": { +"description": "Terminates the interactive session.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}:terminate", +"httpMethod": "POST", +"id": "dataproc.projects.locations.sessions.terminate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the session resource to terminate.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:terminate", +"request": { +"$ref": "TerminateSessionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"sparkApplications": { +"methods": { +"access": { +"description": "Obtain high level information corresponding to a single Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:access", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.access", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:access", +"response": { +"$ref": "AccessSessionSparkApplicationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessEnvironmentInfo": { +"description": "Obtain environment details for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessEnvironmentInfo", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessEnvironmentInfo", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessEnvironmentInfo", +"response": { +"$ref": "AccessSessionSparkApplicationEnvironmentInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessJob": { +"description": "Obtain data corresponding to a spark job for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessJob", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessJob", +"parameterOrder": [ +"name" +], +"parameters": { +"jobId": { +"description": "Required. Job ID to fetch data for.", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessJob", +"response": { +"$ref": "AccessSessionSparkApplicationJobResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessSqlPlan": { +"description": "Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessSqlPlan", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessSqlPlan", +"parameterOrder": [ +"name" +], +"parameters": { +"executionId": { +"description": "Required. Execution ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessSqlPlan", +"response": { +"$ref": "AccessSessionSparkApplicationSqlSparkPlanGraphResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessSqlQuery": { +"description": "Obtain data corresponding to a particular SQL Query for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessSqlQuery", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessSqlQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"details": { +"description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.", +"location": "query", +"type": "boolean" +}, +"executionId": { +"description": "Required. Execution ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"planDescription": { +"description": "Optional. Enables/ disables physical plan description on demand", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:accessSqlQuery", +"response": { +"$ref": "AccessSessionSparkApplicationSqlQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessStageAttempt": { +"description": "Obtain data corresponding to a spark stage attempt for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessStageAttempt", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessStageAttempt", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessStageAttempt", +"response": { +"$ref": "AccessSessionSparkApplicationStageAttemptResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"accessStageRddGraph": { +"description": "Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessStageRddGraph", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.accessStageRddGraph", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:accessStageRddGraph", +"response": { +"$ref": "AccessSessionSparkApplicationStageRddOperationGraphResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Obtain high level information and list of Spark Applications corresponding to a batch", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications:search", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"applicationStatus": { +"description": "Optional. Search only applications in the chosen state.", +"enum": [ +"APPLICATION_STATUS_UNSPECIFIED", +"APPLICATION_STATUS_RUNNING", +"APPLICATION_STATUS_COMPLETED" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"maxEndTime": { +"description": "Optional. Latest end timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"maxTime": { +"description": "Optional. Latest start timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"minEndTime": { +"description": "Optional. Earliest end timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"minTime": { +"description": "Optional. Earliest start timestamp to list.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplications call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sparkApplications:search", +"response": { +"$ref": "SearchSessionSparkApplicationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchExecutorStageSummary": { +"description": "Obtain executor summary with respect to a spark stage attempt.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchExecutorStageSummary", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchExecutorStageSummary", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationExecutorStageSummary call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchExecutorStageSummary", +"response": { +"$ref": "SearchSessionSparkApplicationExecutorStageSummaryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchExecutors": { +"description": "Obtain data corresponding to executors for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchExecutors", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchExecutors", +"parameterOrder": [ +"name" +], +"parameters": { +"executorStatus": { +"description": "Optional. Filter to select whether active/ dead or all executors should be selected.", +"enum": [ +"EXECUTOR_STATUS_UNSPECIFIED", +"EXECUTOR_STATUS_ACTIVE", +"EXECUTOR_STATUS_DEAD" +], +"enumDescriptions": [ +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationExecutors call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchExecutors", +"response": { +"$ref": "SearchSessionSparkApplicationExecutorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchJobs": { +"description": "Obtain list of spark jobs corresponding to a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchJobs", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchJobs", +"parameterOrder": [ +"name" +], +"parameters": { +"jobIds": { +"description": "Optional. List of Job IDs to filter by if provided.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"jobStatus": { +"description": "Optional. List only jobs in the specific state.", +"enum": [ +"JOB_EXECUTION_STATUS_UNSPECIFIED", +"JOB_EXECUTION_STATUS_RUNNING", +"JOB_EXECUTION_STATUS_SUCCEEDED", +"JOB_EXECUTION_STATUS_FAILED", +"JOB_EXECUTION_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationJobs call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchJobs", +"response": { +"$ref": "SearchSessionSparkApplicationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchSqlQueries": { +"description": "Obtain data corresponding to SQL Queries for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchSqlQueries", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries", +"parameterOrder": [ +"name" +], +"parameters": { +"details": { +"description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"operationIds": { +"description": "Optional. List of Spark Connect operation IDs to filter by if provided.", +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"planDescription": { +"description": "Optional. Enables/ disables physical plan description on demand", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}:searchSqlQueries", +"response": { +"$ref": "SearchSessionSparkApplicationSqlQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStageAttemptTasks": { +"description": "Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStageAttemptTasks", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchStageAttemptTasks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"sortRuntime": { +"description": "Optional. Sort the tasks by runtime.", +"location": "query", +"type": "boolean" +}, +"stageAttemptId": { +"description": "Optional. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Optional. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +}, +"taskStatus": { +"description": "Optional. List only tasks in the state.", +"enum": [ +"TASK_STATUS_UNSPECIFIED", +"TASK_STATUS_RUNNING", +"TASK_STATUS_SUCCESS", +"TASK_STATUS_FAILED", +"TASK_STATUS_KILLED", +"TASK_STATUS_PENDING" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStageAttemptTasks", +"response": { +"$ref": "SearchSessionSparkApplicationStageAttemptTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStageAttempts": { +"description": "Obtain data corresponding to a spark stage attempts for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStageAttempts", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchStageAttempts", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of stage attempts (paging based on stage_attempt_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageId": { +"description": "Required. Stage ID for which attempts are to be fetched", +"format": "int64", +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStageAttempts", +"response": { +"$ref": "SearchSessionSparkApplicationStageAttemptsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchStages": { +"description": "Obtain data corresponding to stages for a Spark Application.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStages", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.searchStages", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from a previous SearchSessionSparkApplicationStages call. Provide this token to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageIds": { +"description": "Optional. List of Stage IDs to filter by if provided.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"stageStatus": { +"description": "Optional. List only stages in the given state.", +"enum": [ +"STAGE_STATUS_UNSPECIFIED", +"STAGE_STATUS_ACTIVE", +"STAGE_STATUS_COMPLETE", +"STAGE_STATUS_FAILED", +"STAGE_STATUS_PENDING", +"STAGE_STATUS_SKIPPED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +}, +"summaryMetricsMask": { +"description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:searchStages", +"response": { +"$ref": "SearchSessionSparkApplicationStagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeExecutors": { +"description": "Obtain summary of Executor Summary for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeExecutors", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeExecutors", +"response": { +"$ref": "SummarizeSessionSparkApplicationExecutorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeJobs": { +"description": "Obtain summary of Jobs for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeJobs", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.summarizeJobs", +"parameterOrder": [ +"name" +], +"parameters": { +"jobIds": { +"description": "Optional. List of Job IDs to filter by if provided.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeJobs", +"response": { +"$ref": "SummarizeSessionSparkApplicationJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeStageAttemptTasks": { +"description": "Obtain summary of Tasks for a Spark Application Stage Attempt", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeStageAttemptTasks", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageAttemptId": { +"description": "Required. Stage Attempt ID", +"format": "int32", +"location": "query", +"type": "integer" +}, +"stageId": { +"description": "Required. Stage ID", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:summarizeStageAttemptTasks", +"response": { +"$ref": "SummarizeSessionSparkApplicationStageAttemptTasksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"summarizeStages": { +"description": "Obtain summary of Stages for a Spark Application", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeStages", +"httpMethod": "GET", +"id": "dataproc.projects.locations.sessions.sparkApplications.summarizeStages", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. Parent (Session) resource reference.", +"location": "query", +"type": "string" +}, +"stageIds": { +"description": "Optional. List of Stage IDs to filter by if provided.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1/{+name}:summarizeStages", +"response": { +"$ref": "SummarizeSessionSparkApplicationStagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Write wrapper objects from dataplane to spanner", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:write", +"httpMethod": "POST", +"id": "dataproc.projects.locations.sessions.sparkApplications.write", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified name of the spark application to write data about in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:write", +"request": { +"$ref": "WriteSessionSparkApplicationContextRequest" +}, +"response": { +"$ref": "WriteSessionSparkApplicationContextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"workflowTemplates": { +"methods": { +"create": { +"description": "Creates new workflow template.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a workflow template. It does not cancel in-progress workflows.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.locations.workflowTemplates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "GET", +"id": "dataproc.projects.locations.workflowTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.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/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"instantiate": { +"description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:instantiate", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.instantiate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:instantiate", +"request": { +"$ref": "InstantiateWorkflowTemplateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"instantiateInline": { +"description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates:instantiateInline", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.instantiateInline", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates:instantiateInline", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists workflows that match the specified filter in the request.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates", +"httpMethod": "GET", +"id": "dataproc.projects.locations.workflowTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return in each response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates", +"response": { +"$ref": "ListWorkflowTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.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/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.locations.workflowTemplates.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/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "PUT", +"id": "dataproc.projects.locations.workflowTemplates.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"regions": { +"resources": { +"autoscalingPolicies": { +"methods": { +"create": { +"description": "Creates new autoscaling policy.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies", +"httpMethod": "POST", +"id": "dataproc.projects.regions.autoscalingPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/autoscalingPolicies", +"request": { +"$ref": "AutoscalingPolicy" +}, +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.regions.autoscalingPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves autoscaling policy.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.autoscalingPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.autoscalingPolicies.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/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists autoscaling policies in the project.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies", +"httpMethod": "GET", +"id": "dataproc.projects.regions.autoscalingPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/autoscalingPolicies", +"response": { +"$ref": "ListAutoscalingPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.autoscalingPolicies.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/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.regions.autoscalingPolicies.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/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}", +"httpMethod": "PUT", +"id": "dataproc.projects.regions.autoscalingPolicies.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AutoscalingPolicy" +}, +"response": { +"$ref": "AutoscalingPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"clusters": { +"methods": { +"create": { +"description": "Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.create", +"parameterOrder": [ +"projectId", +"region" +], +"parameters": { +"actionOnFailedPrimaryWorkers": { +"description": "Optional. Failure action when primary worker creation fails.", +"enum": [ +"FAILURE_ACTION_UNSPECIFIED", +"NO_ACTION", +"DELETE" +], +"enumDescriptions": [ +"When FailureAction is unspecified, failure action defaults to NO_ACTION.", +"Take no action on failure to create a cluster resource. NO_ACTION is the default.", +"Delete the failed cluster resource." +], +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"httpMethod": "DELETE", +"id": "dataproc.projects.regions.clusters.delete", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"clusterUuid": { +"description": "Optional. Specifying the cluster_uuid means the RPC should fail (with error NOT_FOUND) if cluster with specified UUID does not exist.", +"location": "query", +"type": "string" +}, +"gracefulTerminationTimeout": { +"description": "Optional. The graceful termination timeout for the deletion of the cluster. Indicate the time the request will wait to complete the running jobs on the cluster before its forceful deletion. Default value is 0 indicating that the user has not enabled the graceful termination. Value can be between 60 second and 6 Hours, in case the graceful termination is enabled. (There is no separate flag to check the enabling or disabling of graceful termination, it can be checked by the values in the field).", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"diagnose": { +"description": "Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.diagnose", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose", +"request": { +"$ref": "DiagnoseClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the resource representation for a cluster in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.clusters.get", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"response": { +"$ref": "Cluster" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.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/[^/]+/regions/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"injectCredentials": { +"description": "Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:injectCredentials", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.injectCredentials", +"parameterOrder": [ +"project", +"region", +"cluster" +], +"parameters": { +"cluster": { +"description": "Required. The cluster, in the form clusters/.", +"location": "path", +"pattern": "^clusters/[^/]+$", +"required": true, +"type": "string" +}, +"project": { +"description": "Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects/.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The region containing the cluster, of the form regions/.", +"location": "path", +"pattern": "^regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+project}/{+region}/{+cluster}:injectCredentials", +"request": { +"$ref": "InjectCredentialsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all regions/{region}/clusters in a project alphabetically.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters", +"httpMethod": "GET", +"id": "dataproc.projects.regions.clusters.list", +"parameterOrder": [ +"projectId", +"region" +], +"parameters": { +"filter": { +"description": "Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The standard List page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The standard List page token.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters", +"response": { +"$ref": "ListClustersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a RUNNING state or an error is returned.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"httpMethod": "PATCH", +"id": "dataproc.projects.regions.clusters.patch", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"gracefulDecommissionTimeout": { +"description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress. Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as config.worker_config.num_instances, and the PATCH request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be config.secondary_worker_config.num_instances, and the PATCH request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } *Note:* Currently, only the following fields can be updated: *Mask* *Purpose* *labels* Update labels *config.worker_config.num_instances* Resize primary worker group *config.secondary_worker_config.num_instances* Resize secondary worker group config.autoscaling_config.policy_uri Use, stop using, or change autoscaling policies ", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}", +"request": { +"$ref": "Cluster" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"repair": { +"description": "Repairs a cluster.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.repair", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair", +"request": { +"$ref": "RepairClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.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/[^/]+/regions/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a cluster in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.start", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start", +"request": { +"$ref": "StartClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a cluster in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.stop", +"parameterOrder": [ +"projectId", +"region", +"clusterName" +], +"parameters": { +"clusterName": { +"description": "Required. The cluster name.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop", +"request": { +"$ref": "StopClusterRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.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/[^/]+/regions/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"nodeGroups": { +"methods": { +"create": { +"description": "Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.nodeGroups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"nodeGroupId": { +"description": "Optional. An optional node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$", +"required": true, +"type": "string" +}, +"parentOperationId": { +"description": "Optional. operation id of the parent operation sending the create request", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/nodeGroups", +"request": { +"$ref": "NodeGroup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the resource representation for a node group in a cluster.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.clusters.nodeGroups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node group to retrieve. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NodeGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"repair": { +"description": "Repair nodes in a node group.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:repair", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.nodeGroups.repair", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:repair", +"request": { +"$ref": "RepairNodeGroupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resize": { +"description": "Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:resize", +"httpMethod": "POST", +"id": "dataproc.projects.regions.clusters.nodeGroups.resize", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resize", +"request": { +"$ref": "ResizeNodeGroupRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"jobs": { +"methods": { +"cancel": { +"description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or regions/{region}/jobs.get (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.cancel", +"parameterOrder": [ +"projectId", +"region", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel", +"request": { +"$ref": "CancelJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.regions.jobs.delete", +"parameterOrder": [ +"projectId", +"region", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the resource representation for a job in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.jobs.get", +"parameterOrder": [ +"projectId", +"region", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.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/[^/]+/regions/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists regions/{region}/jobs in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs", +"httpMethod": "GET", +"id": "dataproc.projects.regions.jobs.list", +"parameterOrder": [ +"projectId", +"region" +], +"parameters": { +"clusterName": { +"description": "Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or insertTime, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Allows insertTime to be a timestamp in RFC 3339 format in double quotes, such as 2025-01-01T00:00:00Z. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = * AND insertTime <= \"2025-01-01T00:00:00Z\"", +"location": "query", +"type": "string" +}, +"jobStateMatcher": { +"description": "Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.", +"enum": [ +"ALL", +"ACTIVE", +"NON_ACTIVE" +], +"enumDescriptions": [ +"Match all jobs, regardless of state.", +"Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.", +"Only match jobs in terminal states: CANCELLED, DONE, or ERROR." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The number of results to return in each response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs", +"response": { +"$ref": "ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a job in a project.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"httpMethod": "PATCH", +"id": "dataproc.projects.regions.jobs.patch", +"parameterOrder": [ +"projectId", +"region", +"jobId" +], +"parameters": { +"jobId": { +"description": "Required. The job ID.", +"location": "path", +"required": true, +"type": "string" +}, +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. *Note:* Currently, labels is the only field that can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}", +"request": { +"$ref": "Job" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.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/[^/]+/regions/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"submit": { +"description": "Submits a job to a cluster.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submit", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.submit", +"parameterOrder": [ +"projectId", +"region" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs:submit", +"request": { +"$ref": "SubmitJobRequest" +}, +"response": { +"$ref": "Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"submitAsOperation": { +"description": "Submits job to a cluster.", +"flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.submitAsOperation", +"parameterOrder": [ +"projectId", +"region" +], +"parameters": { +"projectId": { +"description": "Required. The ID of the Google Cloud Platform project that the job belongs to.", +"location": "path", +"required": true, +"type": "string" +}, +"region": { +"description": "Required. The Dataproc region in which to handle the request.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation", +"request": { +"$ref": "SubmitJobRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.regions.jobs.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/[^/]+/regions/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "dataproc.projects.regions.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.regions.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.operations.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/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations", +"httpMethod": "GET", +"id": "dataproc.projects.regions.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.operations.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/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.regions.operations.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/[^/]+/regions/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workflowTemplates": { +"methods": { +"create": { +"description": "Creates new workflow template.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a workflow template. It does not cancel in-progress workflows.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "DELETE", +"id": "dataproc.projects.regions.workflowTemplates.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "GET", +"id": "dataproc.projects.regions.workflowTemplates.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +}, +"version": { +"description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.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/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"instantiate": { +"description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:instantiate", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.instantiate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:instantiate", +"request": { +"$ref": "InstantiateWorkflowTemplateRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"instantiateInline": { +"description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates:instantiateInline", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.instantiateInline", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates:instantiateInline", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists workflows that match the specified filter in the request.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates", +"httpMethod": "GET", +"id": "dataproc.projects.regions.workflowTemplates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return in each response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token, returned by a previous call, to request the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflowTemplates", +"response": { +"$ref": "ListWorkflowTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.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/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions", +"httpMethod": "POST", +"id": "dataproc.projects.regions.workflowTemplates.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/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.", +"flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}", +"httpMethod": "PUT", +"id": "dataproc.projects.regions.workflowTemplates.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"location": "path", +"pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "WorkflowTemplate" +}, +"response": { +"$ref": "WorkflowTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://dataproc.googleapis.com/", +"schemas": { +"AcceleratorConfig": { +"description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/).", +"id": "AcceleratorConfig", +"properties": { +"acceleratorCount": { +"description": "The number of the accelerator cards of this type exposed to this instance.", +"format": "int32", +"type": "integer" +}, +"acceleratorTypeUri": { +"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-t4.", +"type": "string" +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationEnvironmentInfoResponse": { +"description": "Environment details of a Saprk Application.", +"id": "AccessSessionSparkApplicationEnvironmentInfoResponse", +"properties": { +"applicationEnvironmentInfo": { +"$ref": "ApplicationEnvironmentInfo", +"description": "Details about the Environment that the application is running in." +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationJobResponse": { +"description": "Details of a particular job associated with Spark Application", +"id": "AccessSessionSparkApplicationJobResponse", +"properties": { +"jobData": { +"$ref": "JobData", +"description": "Output only. Data corresponding to a spark job.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationResponse": { +"description": "A summary of Spark Application", +"id": "AccessSessionSparkApplicationResponse", +"properties": { +"application": { +"$ref": "ApplicationInfo", +"description": "Output only. High level information corresponding to an application.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationSqlQueryResponse": { +"description": "Details of a query for a Spark Application", +"id": "AccessSessionSparkApplicationSqlQueryResponse", +"properties": { +"executionData": { +"$ref": "SqlExecutionUiData", +"description": "SQL Execution Data" +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationSqlSparkPlanGraphResponse": { +"description": "SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.", +"id": "AccessSessionSparkApplicationSqlSparkPlanGraphResponse", +"properties": { +"sparkPlanGraph": { +"$ref": "SparkPlanGraph", +"description": "SparkPlanGraph for a Spark Application execution." +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationStageAttemptResponse": { +"description": "Stage Attempt for a Stage of a Spark Application", +"id": "AccessSessionSparkApplicationStageAttemptResponse", +"properties": { +"stageData": { +"$ref": "StageData", +"description": "Output only. Data corresponding to a stage.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSessionSparkApplicationStageRddOperationGraphResponse": { +"description": "RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters.", +"id": "AccessSessionSparkApplicationStageRddOperationGraphResponse", +"properties": { +"rddOperationGraph": { +"$ref": "RddOperationGraph", +"description": "RDD operation graph for a Spark Application Stage." +} +}, +"type": "object" +}, +"AccessSparkApplicationEnvironmentInfoResponse": { +"description": "Environment details of a Saprk Application.", +"id": "AccessSparkApplicationEnvironmentInfoResponse", +"properties": { +"applicationEnvironmentInfo": { +"$ref": "ApplicationEnvironmentInfo", +"description": "Details about the Environment that the application is running in." +} +}, +"type": "object" +}, +"AccessSparkApplicationJobResponse": { +"description": "Details of a particular job associated with Spark Application", +"id": "AccessSparkApplicationJobResponse", +"properties": { +"jobData": { +"$ref": "JobData", +"description": "Output only. Data corresponding to a spark job.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSparkApplicationResponse": { +"description": "A summary of Spark Application", +"id": "AccessSparkApplicationResponse", +"properties": { +"application": { +"$ref": "ApplicationInfo", +"description": "Output only. High level information corresponding to an application.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSparkApplicationSqlQueryResponse": { +"description": "Details of a query for a Spark Application", +"id": "AccessSparkApplicationSqlQueryResponse", +"properties": { +"executionData": { +"$ref": "SqlExecutionUiData", +"description": "SQL Execution Data" +} +}, +"type": "object" +}, +"AccessSparkApplicationSqlSparkPlanGraphResponse": { +"description": "SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.", +"id": "AccessSparkApplicationSqlSparkPlanGraphResponse", +"properties": { +"sparkPlanGraph": { +"$ref": "SparkPlanGraph", +"description": "SparkPlanGraph for a Spark Application execution." +} +}, +"type": "object" +}, +"AccessSparkApplicationStageAttemptResponse": { +"description": "Stage Attempt for a Stage of a Spark Application", +"id": "AccessSparkApplicationStageAttemptResponse", +"properties": { +"stageData": { +"$ref": "StageData", +"description": "Output only. Data corresponding to a stage.", +"readOnly": true +} +}, +"type": "object" +}, +"AccessSparkApplicationStageRddOperationGraphResponse": { +"description": "RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters.", +"id": "AccessSparkApplicationStageRddOperationGraphResponse", +"properties": { +"rddOperationGraph": { +"$ref": "RddOperationGraph", +"description": "RDD operation graph for a Spark Application Stage." +} +}, +"type": "object" +}, +"AccumulableInfo": { +"id": "AccumulableInfo", +"properties": { +"accumullableInfoId": { +"format": "int64", +"type": "string" +}, +"name": { +"type": "string" +}, +"update": { +"type": "string" +}, +"value": { +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeBatchRequest": { +"description": "A request to analyze a batch workload.", +"id": "AnalyzeBatchRequest", +"properties": { +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the service receives two AnalyzeBatchRequest (http://cloud/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same request_id, the second request is ignored and the Operation that corresponds to the first request created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +}, +"requestorId": { +"deprecated": true, +"description": "Optional. The requestor ID is used to identify if the request comes from a GCA investigation or the old Ask Gemini Experience. ", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeOperationMetadata": { +"description": "Metadata describing the Analyze operation.", +"id": "AnalyzeOperationMetadata", +"properties": { +"analyzedWorkloadName": { +"description": "Output only. name of the workload being analyzed.", +"readOnly": true, +"type": "string" +}, +"analyzedWorkloadType": { +"description": "Output only. Type of the workload being analyzed.", +"enum": [ +"WORKLOAD_TYPE_UNSPECIFIED", +"BATCH" +], +"enumDescriptions": [ +"Undefined option", +"Serverless batch job" +], +"readOnly": true, +"type": "string" +}, +"analyzedWorkloadUuid": { +"description": "Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Short description of the operation.", +"readOnly": true, +"type": "string" +}, +"doneTime": { +"description": "Output only. The time when the operation finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Labels associated with the operation.", +"readOnly": true, +"type": "object" +}, +"warnings": { +"description": "Output only. Warnings encountered during operation execution.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"AppSummary": { +"id": "AppSummary", +"properties": { +"numCompletedJobs": { +"format": "int32", +"type": "integer" +}, +"numCompletedStages": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ApplicationAttemptInfo": { +"description": "Specific attempt of an application.", +"id": "ApplicationAttemptInfo", +"properties": { +"appSparkVersion": { +"type": "string" +}, +"attemptId": { +"type": "string" +}, +"completed": { +"type": "boolean" +}, +"durationMillis": { +"format": "int64", +"type": "string" +}, +"endTime": { +"format": "google-datetime", +"type": "string" +}, +"lastUpdated": { +"format": "google-datetime", +"type": "string" +}, +"sparkUser": { +"type": "string" +}, +"startTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationEnvironmentInfo": { +"description": "Details about the Environment that the application is running in.", +"id": "ApplicationEnvironmentInfo", +"properties": { +"classpathEntries": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"hadoopProperties": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"metricsProperties": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"resourceProfiles": { +"items": { +"$ref": "ResourceProfileInfo" +}, +"type": "array" +}, +"runtime": { +"$ref": "SparkRuntimeInfo" +}, +"sparkProperties": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"systemProperties": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"ApplicationInfo": { +"description": "High level information corresponding to an application.", +"id": "ApplicationInfo", +"properties": { +"applicationContextIngestionStatus": { +"enum": [ +"APPLICATION_CONTEXT_INGESTION_STATUS_UNSPECIFIED", +"APPLICATION_CONTEXT_INGESTION_STATUS_COMPLETED" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"applicationId": { +"type": "string" +}, +"attempts": { +"items": { +"$ref": "ApplicationAttemptInfo" +}, +"type": "array" +}, +"coresGranted": { +"format": "int32", +"type": "integer" +}, +"coresPerExecutor": { +"format": "int32", +"type": "integer" +}, +"maxCores": { +"format": "int32", +"type": "integer" +}, +"memoryPerExecutorMb": { +"format": "int32", +"type": "integer" +}, +"name": { +"type": "string" +}, +"quantileDataStatus": { +"enum": [ +"QUANTILE_DATA_STATUS_UNSPECIFIED", +"QUANTILE_DATA_STATUS_COMPLETED", +"QUANTILE_DATA_STATUS_FAILED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AttachedDiskConfig": { +"description": "Specifies the config of attached disk options for single VM instance.", +"id": "AttachedDiskConfig", +"properties": { +"diskSizeGb": { +"description": "Optional. Disk size in GB.", +"format": "int32", +"type": "integer" +}, +"diskType": { +"description": "Optional. Disk type.", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"HYPERDISK_BALANCED", +"HYPERDISK_EXTREME", +"HYPERDISK_ML", +"HYPERDISK_THROUGHPUT" +], +"enumDescriptions": [ +"Required unspecified disk type.", +"Hyperdisk Balanced disk type.", +"Hyperdisk Extreme disk type.", +"Hyperdisk ML disk type.", +"Hyperdisk Throughput disk type." +], +"type": "string" +}, +"provisionedIops": { +"description": "Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features", +"format": "int64", +"type": "string" +}, +"provisionedThroughput": { +"description": "Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AuthenticationConfig": { +"description": "Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s).", +"id": "AuthenticationConfig", +"properties": { +"userWorkloadAuthenticationType": { +"description": "Optional. Authentication type for the user workload running in containers.", +"enum": [ +"AUTHENTICATION_TYPE_UNSPECIFIED", +"SERVICE_ACCOUNT", +"END_USER_CREDENTIALS" +], +"enumDescriptions": [ +"If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.", +"Use service account credentials for authenticating to other services.", +"Use OAuth credentials associated with the workload creator/user for authenticating to other services." +], +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingConfig": { +"description": "Autoscaling Policy config associated with the cluster.", +"id": "AutoscalingConfig", +"properties": { +"policyUri": { +"description": "Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region.", +"type": "string" +} +}, +"type": "object" +}, +"AutoscalingPolicy": { +"description": "Describes an autoscaling policy for Dataproc cluster autoscaler.", +"id": "AutoscalingPolicy", +"properties": { +"basicAlgorithm": { +"$ref": "BasicAutoscalingAlgorithm" +}, +"clusterType": { +"description": "Optional. The type of the clusters for which this autoscaling policy is to be configured.", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"STANDARD", +"ZERO_SCALE" +], +"enumDescriptions": [ +"Not set.", +"Standard dataproc cluster with a minimum of two primary workers.", +"Clusters that can use only secondary workers and be scaled down to zero secondary worker nodes." +], +"type": "string" +}, +"id": { +"description": "Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.", +"type": "object" +}, +"name": { +"description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}", +"readOnly": true, +"type": "string" +}, +"secondaryWorkerConfig": { +"$ref": "InstanceGroupAutoscalingPolicyConfig", +"description": "Optional. Describes how the autoscaler will operate for secondary workers." +}, +"workerConfig": { +"$ref": "InstanceGroupAutoscalingPolicyConfig", +"description": "Required. Describes how the autoscaler will operate for primary workers." +} +}, +"type": "object" +}, +"AutotuningConfig": { +"description": "Autotuning configuration of the workload.", +"id": "AutotuningConfig", +"properties": { +"scenarios": { +"description": "Optional. Scenarios for which tunings are applied.", +"items": { +"enum": [ +"SCENARIO_UNSPECIFIED", +"SCALING", +"BROADCAST_HASH_JOIN", +"MEMORY", +"NONE", +"AUTO" +], +"enumDescriptions": [ +"Default value.", +"Scaling recommendations such as initialExecutors.", +"Adding hints for potential relation broadcasts.", +"Memory management for workloads.", +"No autotuning.", +"Automatic selection of scenarios." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuxiliaryNodeGroup": { +"description": "Node group identification and configuration information.", +"id": "AuxiliaryNodeGroup", +"properties": { +"nodeGroup": { +"$ref": "NodeGroup", +"description": "Required. Node group configuration." +}, +"nodeGroupId": { +"description": "Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.", +"type": "string" +} +}, +"type": "object" +}, +"AuxiliaryServicesConfig": { +"description": "Auxiliary services configuration for a Cluster.", +"id": "AuxiliaryServicesConfig", +"properties": { +"metastoreConfig": { +"$ref": "MetastoreConfig", +"description": "Optional. The Hive Metastore configuration for this workload." +}, +"sparkHistoryServerConfig": { +"$ref": "SparkHistoryServerConfig", +"description": "Optional. The Spark History Server configuration for the workload." +} +}, +"type": "object" +}, +"BasicAutoscalingAlgorithm": { +"description": "Basic algorithm for autoscaling.", +"id": "BasicAutoscalingAlgorithm", +"properties": { +"cooldownPeriod": { +"description": "Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m.", +"format": "google-duration", +"type": "string" +}, +"sparkStandaloneConfig": { +"$ref": "SparkStandaloneAutoscalingConfig", +"description": "Optional. Spark Standalone autoscaling configuration" +}, +"yarnConfig": { +"$ref": "BasicYarnAutoscalingConfig", +"description": "Optional. YARN autoscaling configuration." +} +}, +"type": "object" +}, +"BasicYarnAutoscalingConfig": { +"description": "Basic autoscaling configurations for YARN.", +"id": "BasicYarnAutoscalingConfig", +"properties": { +"gracefulDecommissionTimeout": { +"description": "Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.", +"format": "google-duration", +"type": "string" +}, +"scaleDownFactor": { +"description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.", +"format": "double", +"type": "number" +}, +"scaleDownMinWorkerFraction": { +"description": "Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", +"format": "double", +"type": "number" +}, +"scaleUpFactor": { +"description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.", +"format": "double", +"type": "number" +}, +"scaleUpMinWorkerFraction": { +"description": "Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Batch": { +"description": "A representation of a batch workload in the service.", +"id": "Batch", +"properties": { +"createTime": { +"description": "Output only. The time when the batch was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The email address of the user who created the batch.", +"readOnly": true, +"type": "string" +}, +"environmentConfig": { +"$ref": "EnvironmentConfig", +"description": "Optional. Environment configuration for the batch execution." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the batch.", +"readOnly": true, +"type": "string" +}, +"operation": { +"description": "Output only. The resource name of the operation associated with this batch.", +"readOnly": true, +"type": "string" +}, +"pysparkBatch": { +"$ref": "PySparkBatch", +"description": "Optional. PySpark batch config." +}, +"runtimeConfig": { +"$ref": "RuntimeConfig", +"description": "Optional. Runtime configuration for the batch execution." +}, +"runtimeInfo": { +"$ref": "RuntimeInfo", +"description": "Output only. Runtime information about batch execution.", +"readOnly": true +}, +"sparkBatch": { +"$ref": "SparkBatch", +"description": "Optional. Spark batch config." +}, +"sparkRBatch": { +"$ref": "SparkRBatch", +"description": "Optional. SparkR batch config." +}, +"sparkSqlBatch": { +"$ref": "SparkSqlBatch", +"description": "Optional. SparkSql batch config." +}, +"state": { +"description": "Output only. The state of the batch.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"CANCELLING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The batch state is unknown.", +"The batch is created before running.", +"The batch is running.", +"The batch is cancelling.", +"The batch cancellation was successful.", +"The batch completed successfully.", +"The batch is no longer running due to an error." +], +"readOnly": true, +"type": "string" +}, +"stateHistory": { +"description": "Output only. Historical state information for the batch.", +"items": { +"$ref": "StateHistory" +}, +"readOnly": true, +"type": "array" +}, +"stateMessage": { +"description": "Output only. Batch state details, such as a failure description if the state is FAILED.", +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time when the batch entered a current state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uuid": { +"description": "Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BatchOperationMetadata": { +"description": "Metadata describing the Batch operation.", +"id": "BatchOperationMetadata", +"properties": { +"batch": { +"description": "Name of the batch for the operation.", +"type": "string" +}, +"batchUuid": { +"description": "Batch UUID for the operation.", +"type": "string" +}, +"createTime": { +"description": "The time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Short description of the operation.", +"type": "string" +}, +"doneTime": { +"description": "The time when the operation finished.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with the operation.", +"type": "object" +}, +"operationType": { +"description": "The operation type.", +"enum": [ +"BATCH_OPERATION_TYPE_UNSPECIFIED", +"BATCH" +], +"enumDescriptions": [ +"Batch operation type is unknown.", +"Batch operation type." +], +"type": "string" +}, +"warnings": { +"description": "Warnings encountered during operation execution.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"BuildInfo": { +"description": "Native Build Info", +"id": "BuildInfo", +"properties": { +"buildKey": { +"description": "Optional. Build key.", +"type": "string" +}, +"buildValue": { +"description": "Optional. Build value.", +"type": "string" +} +}, +"type": "object" +}, +"CancelJobRequest": { +"description": "A request to cancel a job.", +"id": "CancelJobRequest", +"properties": {}, +"type": "object" +}, +"Cluster": { +"description": "Describes the identifying information, config, and status of a Dataproc cluster", +"id": "Cluster", +"properties": { +"clusterName": { +"description": "Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused.", +"type": "string" +}, +"clusterUuid": { +"description": "Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.", +"readOnly": true, +"type": "string" +}, +"config": { +"$ref": "ClusterConfig", +"description": "Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.Exactly one of ClusterConfig or VirtualClusterConfig must be specified." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", +"type": "object" +}, +"metrics": { +"$ref": "ClusterMetrics", +"description": "Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", +"readOnly": true +}, +"projectId": { +"description": "Required. The Google Cloud Platform project ID that the cluster belongs to.", +"type": "string" +}, +"status": { +"$ref": "ClusterStatus", +"description": "Output only. Cluster status.", +"readOnly": true +}, +"statusHistory": { +"description": "Output only. The previous cluster status.", +"items": { +"$ref": "ClusterStatus" +}, +"readOnly": true, +"type": "array" +}, +"virtualClusterConfig": { +"$ref": "VirtualClusterConfig", +"description": "Optional. The virtual cluster config is used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview). Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtual_cluster_config must be specified." +} +}, +"type": "object" +}, +"ClusterConfig": { +"description": "The cluster config.", +"id": "ClusterConfig", +"properties": { +"autoscalingConfig": { +"$ref": "AutoscalingConfig", +"description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset." +}, +"auxiliaryNodeGroups": { +"description": "Optional. The node group settings.", +"items": { +"$ref": "AuxiliaryNodeGroup" +}, +"type": "array" +}, +"clusterTier": { +"description": "Optional. The cluster tier.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"CLUSTER_TIER_STANDARD", +"CLUSTER_TIER_PREMIUM" +], +"enumDescriptions": [ +"Not set. Works the same as CLUSTER_TIER_STANDARD.", +"Standard Dataproc cluster.", +"Premium Dataproc cluster." +], +"type": "string" +}, +"clusterType": { +"description": "Optional. The type of the cluster.", +"enum": [ +"CLUSTER_TYPE_UNSPECIFIED", +"STANDARD", +"SINGLE_NODE", +"ZERO_SCALE" +], +"enumDescriptions": [ +"Not set.", +"Standard dataproc cluster with a minimum of two primary workers.", +"https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/single-node-clusters", +"Clusters that can use only secondary workers and be scaled down to zero secondary worker nodes." +], +"type": "string" +}, +"configBucket": { +"description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", +"type": "string" +}, +"dataprocMetricConfig": { +"$ref": "DataprocMetricConfig", +"description": "Optional. The config for Dataproc metrics." +}, +"diagnosticBucket": { +"description": "Optional. A Cloud Storage bucket used to collect checkpoint diagnostic data (https://cloud.google.com/dataproc/docs/support/diagnose-clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic bucket, Cloud Dataproc will use the Dataproc temp bucket to collect the checkpoint diagnostic data. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. Encryption settings for the cluster." +}, +"endpointConfig": { +"$ref": "EndpointConfig", +"description": "Optional. Port/endpoint configuration for this cluster" +}, +"gceClusterConfig": { +"$ref": "GceClusterConfig", +"description": "Optional. The shared Compute Engine config settings for all instances in a cluster." +}, +"gkeClusterConfig": { +"$ref": "GkeClusterConfig", +"deprecated": true, +"description": "Optional. BETA. The Kubernetes Engine config for Dataproc clusters deployed to The Kubernetes Engine config for Dataproc clusters deployed to Kubernetes. These config settings are mutually exclusive with Compute Engine-based options, such as gce_cluster_config, master_config, worker_config, secondary_worker_config, and autoscaling_config." +}, +"initializationActions": { +"description": "Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi ", +"items": { +"$ref": "NodeInitializationAction" +}, +"type": "array" +}, +"lifecycleConfig": { +"$ref": "LifecycleConfig", +"description": "Optional. Lifecycle setting for the cluster." +}, +"masterConfig": { +"$ref": "InstanceGroupConfig", +"description": "Optional. The Compute Engine config settings for the cluster's master instance." +}, +"metastoreConfig": { +"$ref": "MetastoreConfig", +"description": "Optional. Metastore configuration." +}, +"secondaryWorkerConfig": { +"$ref": "InstanceGroupConfig", +"description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances" +}, +"securityConfig": { +"$ref": "SecurityConfig", +"description": "Optional. Security settings for the cluster." +}, +"softwareConfig": { +"$ref": "SoftwareConfig", +"description": "Optional. The config settings for cluster software." +}, +"tempBucket": { +"description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", +"type": "string" +}, +"workerConfig": { +"$ref": "InstanceGroupConfig", +"description": "Optional. The Compute Engine config settings for the cluster's worker instances." +} +}, +"type": "object" +}, +"ClusterMetrics": { +"description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", +"id": "ClusterMetrics", +"properties": { +"hdfsMetrics": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "The HDFS metrics.", +"type": "object" +}, +"yarnMetrics": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "YARN metrics.", +"type": "object" +} +}, +"type": "object" +}, +"ClusterOperation": { +"description": "The cluster operation triggered by a workflow.", +"id": "ClusterOperation", +"properties": { +"done": { +"description": "Output only. Indicates the operation is done.", +"readOnly": true, +"type": "boolean" +}, +"error": { +"description": "Output only. Error, if operation failed.", +"readOnly": true, +"type": "string" +}, +"operationId": { +"description": "Output only. The id of the cluster operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterOperationMetadata": { +"description": "Metadata describing the operation.", +"id": "ClusterOperationMetadata", +"properties": { +"childOperationIds": { +"description": "Output only. Child operation ids", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"clusterName": { +"description": "Output only. Name of the cluster for the operation.", +"readOnly": true, +"type": "string" +}, +"clusterUuid": { +"description": "Output only. Cluster UUID for the operation.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Short description of operation.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Labels associated with the operation", +"readOnly": true, +"type": "object" +}, +"operationType": { +"description": "Output only. The operation type.", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "ClusterOperationStatus", +"description": "Output only. Current operation status.", +"readOnly": true +}, +"statusHistory": { +"description": "Output only. The previous operation status.", +"items": { +"$ref": "ClusterOperationStatus" +}, +"readOnly": true, +"type": "array" +}, +"warnings": { +"description": "Output only. Errors encountered during operation execution.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ClusterOperationStatus": { +"description": "The status of the operation.", +"id": "ClusterOperationStatus", +"properties": { +"details": { +"description": "Output only. A message containing any operation metadata details.", +"readOnly": true, +"type": "string" +}, +"innerState": { +"description": "Output only. A message containing the detailed operation state.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. A message containing the operation state.", +"enum": [ +"UNKNOWN", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"Unused.", +"The operation has been created.", +"The operation is running.", +"The operation is done; either cancelled or completed." +], +"readOnly": true, +"type": "string" +}, +"stateStartTime": { +"description": "Output only. The time this state was entered.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterSelector": { +"description": "A selector that chooses target cluster for jobs based on metadata.", +"id": "ClusterSelector", +"properties": { +"clusterLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The cluster labels. Cluster must have all labels to match.", +"type": "object" +}, +"zone": { +"description": "Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterStatus": { +"description": "The status of a cluster and its instances.", +"id": "ClusterStatus", +"properties": { +"detail": { +"description": "Optional. Output only. Details of cluster's state.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The cluster's state.", +"enum": [ +"UNKNOWN", +"CREATING", +"RUNNING", +"ERROR", +"ERROR_DUE_TO_UPDATE", +"DELETING", +"UPDATING", +"STOPPING", +"STOPPED", +"STARTING", +"REPAIRING", +"SCHEDULED" +], +"enumDescriptions": [ +"The cluster state is unknown.", +"The cluster is being created and set up. It is not ready for use.", +"The cluster is currently running and healthy. It is ready for use.Note: The cluster state changes from \"creating\" to \"running\" status after the master node(s), first two primary worker nodes (and the last primary worker node if primary workers > 2) are running.", +"The cluster encountered an error. It is not ready for use.", +"The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.", +"The cluster is being deleted. It cannot be used.", +"The cluster is being updated. It continues to accept and process jobs.", +"The cluster is being stopped. It cannot be used.", +"The cluster is currently stopped. It is not ready for use.", +"The cluster is being started. It is not ready for use.", +"The cluster is being repaired. It is not ready for use.", +"Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING." +], +"readOnly": true, +"type": "string" +}, +"stateStartTime": { +"description": "Output only. Time when this state was entered (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"substate": { +"description": "Output only. Additional state information that includes status reported by the agent.", +"enum": [ +"UNSPECIFIED", +"UNHEALTHY", +"STALE_STATUS" +], +"enumDescriptions": [ +"The cluster substate is unknown.", +"The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", +"The agent-reported status is out of date (may occur if Dataproc loses communication with Agent).Applies to RUNNING state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ClusterToRepair": { +"description": "Cluster to be repaired", +"id": "ClusterToRepair", +"properties": { +"clusterRepairAction": { +"description": "Required. Repair action to take on the cluster resource.", +"enum": [ +"CLUSTER_REPAIR_ACTION_UNSPECIFIED", +"REPAIR_ERROR_DUE_TO_UPDATE_CLUSTER" +], +"enumDescriptions": [ +"No action will be taken by default.", +"Repair cluster in ERROR_DUE_TO_UPDATE states." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfidentialInstanceConfig": { +"description": "Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs)", +"id": "ConfidentialInstanceConfig", +"properties": { +"enableConfidentialCompute": { +"description": "Optional. Defines whether the instance should have confidential compute enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConsolidatedExecutorSummary": { +"description": "Consolidated summary about executors used by the application.", +"id": "ConsolidatedExecutorSummary", +"properties": { +"activeTasks": { +"format": "int32", +"type": "integer" +}, +"completedTasks": { +"format": "int32", +"type": "integer" +}, +"count": { +"format": "int32", +"type": "integer" +}, +"diskUsed": { +"format": "int64", +"type": "string" +}, +"failedTasks": { +"format": "int32", +"type": "integer" +}, +"isExcluded": { +"format": "int32", +"type": "integer" +}, +"maxMemory": { +"format": "int64", +"type": "string" +}, +"memoryMetrics": { +"$ref": "MemoryMetrics" +}, +"memoryUsed": { +"format": "int64", +"type": "string" +}, +"rddBlocks": { +"format": "int32", +"type": "integer" +}, +"totalCores": { +"format": "int32", +"type": "integer" +}, +"totalDurationMillis": { +"format": "int64", +"type": "string" +}, +"totalGcTimeMillis": { +"format": "int64", +"type": "string" +}, +"totalInputBytes": { +"format": "int64", +"type": "string" +}, +"totalShuffleRead": { +"format": "int64", +"type": "string" +}, +"totalShuffleWrite": { +"format": "int64", +"type": "string" +}, +"totalTasks": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DataprocMetricConfig": { +"description": "Dataproc metric config.", +"id": "DataprocMetricConfig", +"properties": { +"metrics": { +"description": "Required. Metrics sources to enable.", +"items": { +"$ref": "Metric" +}, +"type": "array" +} +}, +"type": "object" +}, +"DiagnoseClusterRequest": { +"description": "A request to collect cluster diagnostic information.", +"id": "DiagnoseClusterRequest", +"properties": { +"diagnosisInterval": { +"$ref": "Interval", +"description": "Optional. Time interval in which diagnosis should be carried out on the cluster." +}, +"job": { +"deprecated": true, +"description": "Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}", +"type": "string" +}, +"jobs": { +"description": "Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}", +"items": { +"type": "string" +}, +"type": "array" +}, +"tarballAccess": { +"description": "Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket", +"enum": [ +"TARBALL_ACCESS_UNSPECIFIED", +"GOOGLE_CLOUD_SUPPORT", +"GOOGLE_DATAPROC_DIAGNOSE" +], +"enumDescriptions": [ +"Tarball Access unspecified. Falls back to default access of the bucket", +"Google Cloud Support group has read access to the diagnostic tarball", +"Google Cloud Dataproc Diagnose service account has read access to the diagnostic tarball" +], +"type": "string" +}, +"tarballGcsDir": { +"description": "Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.", +"type": "string" +}, +"yarnApplicationId": { +"deprecated": true, +"description": "Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.", +"type": "string" +}, +"yarnApplicationIds": { +"description": "Optional. Specifies a list of yarn applications on which diagnosis is to be performed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DiagnoseClusterResults": { +"description": "The location of diagnostic output.", +"id": "DiagnoseClusterResults", +"properties": { +"outputUri": { +"description": "Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DiskConfig": { +"description": "Specifies the config of boot disk and attached disk options for a group of VM instances.", +"id": "DiskConfig", +"properties": { +"attachedDiskConfigs": { +"description": "Optional. A list of attached disk configs for a group of VM instances.", +"items": { +"$ref": "AttachedDiskConfig" +}, +"type": "array" +}, +"bootDiskProvisionedIops": { +"description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.", +"format": "int64", +"type": "string" +}, +"bootDiskProvisionedThroughput": { +"description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.", +"format": "int64", +"type": "string" +}, +"bootDiskSizeGb": { +"description": "Optional. Size in GB of the boot disk (default is 500GB).", +"format": "int32", +"type": "integer" +}, +"bootDiskType": { +"description": "Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).", +"type": "string" +}, +"localSsdInterface": { +"description": "Optional. Interface type of local SSDs (default is \"scsi\"). Valid values: \"scsi\" (Small Computer System Interface), \"nvme\" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).", +"type": "string" +}, +"numLocalSsds": { +"description": "Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DriverSchedulingConfig": { +"description": "Driver scheduling configuration.", +"id": "DriverSchedulingConfig", +"properties": { +"memoryMb": { +"description": "Required. The amount of memory in MB the driver is requesting.", +"format": "int32", +"type": "integer" +}, +"vcores": { +"description": "Required. The number of vCPUs the driver is requesting.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"EncryptionConfig": { +"description": "Encryption settings for the cluster.", +"id": "EncryptionConfig", +"properties": { +"gcePdKmsKeyName": { +"description": "Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.", +"type": "string" +}, +"kmsKey": { +"description": "Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries", +"type": "string" +} +}, +"type": "object" +}, +"EndpointConfig": { +"description": "Endpoint config for this cluster", +"id": "EndpointConfig", +"properties": { +"enableHttpPortAccess": { +"description": "Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.", +"type": "boolean" +}, +"httpPorts": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"EnvironmentConfig": { +"description": "Environment configuration for a workload.", +"id": "EnvironmentConfig", +"properties": { +"executionConfig": { +"$ref": "ExecutionConfig", +"description": "Optional. Execution configuration for a workload." +}, +"peripheralsConfig": { +"$ref": "PeripheralsConfig", +"description": "Optional. Peripherals configuration that workload has access to." +} +}, +"type": "object" +}, +"ExecutionConfig": { +"description": "Execution configuration for a workload.", +"id": "ExecutionConfig", +"properties": { +"authenticationConfig": { +"$ref": "AuthenticationConfig", +"description": "Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s)." +}, +"idleTtl": { +"description": "Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.", +"format": "google-duration", +"type": "string" +}, +"kmsKey": { +"description": "Optional. The Cloud KMS key to use for encryption.", +"type": "string" +}, +"networkTags": { +"description": "Optional. Tags used for network traffic control.", +"items": { +"type": "string" +}, +"type": "array" +}, +"networkUri": { +"description": "Optional. Network URI to connect workload to.", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. Service account that used to execute workload.", +"type": "string" +}, +"stagingBucket": { +"description": "Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", +"type": "string" +}, +"subnetworkUri": { +"description": "Optional. Subnetwork URI to connect workload to.", +"type": "string" +}, +"ttl": { +"description": "Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ExecutorMetrics": { +"id": "ExecutorMetrics", +"properties": { +"metrics": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"ExecutorMetricsDistributions": { +"id": "ExecutorMetricsDistributions", +"properties": { +"diskBytesSpilled": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"failedTasks": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"inputBytes": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"inputRecords": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"killedTasks": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"memoryBytesSpilled": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"outputBytes": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"outputRecords": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"peakMemoryMetrics": { +"$ref": "ExecutorPeakMetricsDistributions" +}, +"quantiles": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"shuffleRead": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"shuffleReadRecords": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"shuffleWrite": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"shuffleWriteRecords": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"succeededTasks": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"taskTimeMillis": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExecutorPeakMetricsDistributions": { +"id": "ExecutorPeakMetricsDistributions", +"properties": { +"executorMetrics": { +"items": { +"$ref": "ExecutorMetrics" +}, +"type": "array" +}, +"quantiles": { +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExecutorResourceRequest": { +"description": "Resources used per executor used by the application.", +"id": "ExecutorResourceRequest", +"properties": { +"amount": { +"format": "int64", +"type": "string" +}, +"discoveryScript": { +"type": "string" +}, +"resourceName": { +"type": "string" +}, +"vendor": { +"type": "string" +} +}, +"type": "object" +}, +"ExecutorStageSummary": { +"description": "Executor resources consumed by a stage.", +"id": "ExecutorStageSummary", +"properties": { +"diskBytesSpilled": { +"format": "int64", +"type": "string" +}, +"executorId": { +"type": "string" +}, +"failedTasks": { +"format": "int32", +"type": "integer" +}, +"inputBytes": { +"format": "int64", +"type": "string" +}, +"inputRecords": { +"format": "int64", +"type": "string" +}, +"isExcludedForStage": { +"type": "boolean" +}, +"killedTasks": { +"format": "int32", +"type": "integer" +}, +"memoryBytesSpilled": { +"format": "int64", +"type": "string" +}, +"outputBytes": { +"format": "int64", +"type": "string" +}, +"outputRecords": { +"format": "int64", +"type": "string" +}, +"peakMemoryMetrics": { +"$ref": "ExecutorMetrics" +}, +"shuffleRead": { +"format": "int64", +"type": "string" +}, +"shuffleReadRecords": { +"format": "int64", +"type": "string" +}, +"shuffleWrite": { +"format": "int64", +"type": "string" +}, +"shuffleWriteRecords": { +"format": "int64", +"type": "string" +}, +"stageAttemptId": { +"format": "int32", +"type": "integer" +}, +"stageId": { +"format": "int64", +"type": "string" +}, +"succeededTasks": { +"format": "int32", +"type": "integer" +}, +"taskTimeMillis": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExecutorSummary": { +"description": "Details about executors used by the application.", +"id": "ExecutorSummary", +"properties": { +"activeTasks": { +"format": "int32", +"type": "integer" +}, +"addTime": { +"format": "google-datetime", +"type": "string" +}, +"attributes": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"completedTasks": { +"format": "int32", +"type": "integer" +}, +"diskUsed": { +"format": "int64", +"type": "string" +}, +"excludedInStages": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"executorId": { +"type": "string" +}, +"executorLogs": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"failedTasks": { +"format": "int32", +"type": "integer" +}, +"hostPort": { +"type": "string" +}, +"isActive": { +"type": "boolean" +}, +"isExcluded": { +"type": "boolean" +}, +"maxMemory": { +"format": "int64", +"type": "string" +}, +"maxTasks": { +"format": "int32", +"type": "integer" +}, +"memoryMetrics": { +"$ref": "MemoryMetrics" +}, +"memoryUsed": { +"format": "int64", +"type": "string" +}, +"peakMemoryMetrics": { +"$ref": "ExecutorMetrics" +}, +"rddBlocks": { +"format": "int32", +"type": "integer" +}, +"removeReason": { +"type": "string" +}, +"removeTime": { +"format": "google-datetime", +"type": "string" +}, +"resourceProfileId": { +"format": "int32", +"type": "integer" +}, +"resources": { +"additionalProperties": { +"$ref": "ResourceInformation" +}, +"type": "object" +}, +"totalCores": { +"format": "int32", +"type": "integer" +}, +"totalDurationMillis": { +"format": "int64", +"type": "string" +}, +"totalGcTimeMillis": { +"format": "int64", +"type": "string" +}, +"totalInputBytes": { +"format": "int64", +"type": "string" +}, +"totalShuffleRead": { +"format": "int64", +"type": "string" +}, +"totalShuffleWrite": { +"format": "int64", +"type": "string" +}, +"totalTasks": { +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"FallbackReason": { +"description": "Native SQL Execution Data", +"id": "FallbackReason", +"properties": { +"fallbackNode": { +"description": "Optional. Fallback node information.", +"type": "string" +}, +"fallbackReason": { +"description": "Optional. Fallback to Spark reason.", +"type": "string" +} +}, +"type": "object" +}, +"FlinkJob": { +"description": "A Dataproc job for running Apache Flink applications on YARN.", +"id": "FlinkJob", +"properties": { +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision might occur that causes an incorrect job submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Flink driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"mainClass": { +"description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jarFileUris.", +"type": "string" +}, +"mainJarFileUri": { +"description": "The HCFS URI of the jar file that contains the main class.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure Flink. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/flink/conf/flink-defaults.conf and classes in user code.", +"type": "object" +}, +"savepointUri": { +"description": "Optional. HCFS URI of the savepoint, which contains the last saved progress for starting the current job.", +"type": "string" +} +}, +"type": "object" +}, +"GceClusterConfig": { +"description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.", +"id": "GceClusterConfig", +"properties": { +"autoZoneExcludeZoneUris": { +"description": "Optional. An optional list of Compute Engine zones where the Dataproc cluster will not be located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service will pick one of the non-excluded zones. Otherwise, cluster creation will fail with INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]", +"items": { +"type": "string" +}, +"type": "array" +}, +"confidentialInstanceConfig": { +"$ref": "ConfidentialInstanceConfig", +"description": "Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs)." +}, +"internalIpOnly": { +"description": "Optional. This setting applies to subnetwork-enabled networks. It is set to true by default in clusters created with image versions 2.2.x.When set to true: All cluster VMs have internal IP addresses. Google Private Access (https://cloud.google.com/vpc/docs/private-google-access) must be enabled to access Dataproc and other Google Cloud APIs. Off-cluster dependencies must be configured to be accessible without external IP addresses.When set to false: Cluster VMs are not restricted to internal IP addresses. Ephemeral external IP addresses are assigned to each cluster VM.", +"type": "boolean" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).", +"type": "object" +}, +"networkUri": { +"description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default projects/[project_id]/global/networks/default default", +"type": "string" +}, +"nodeGroupAffinity": { +"$ref": "NodeGroupAffinity", +"description": "Optional. Node Group Affinity for sole-tenant clusters." +}, +"privateIpv6GoogleAccess": { +"description": "Optional. The type of IPv6 access for a cluster.", +"enum": [ +"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED", +"INHERIT_FROM_SUBNETWORK", +"OUTBOUND", +"BIDIRECTIONAL" +], +"enumDescriptions": [ +"If unspecified, Compute Engine default behavior will apply, which is the same as INHERIT_FROM_SUBNETWORK.", +"Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.", +"Enables outbound private IPv6 access to Google Services from the Dataproc cluster.", +"Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster." +], +"type": "string" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Optional. Reservation Affinity for consuming Zonal reservation." +}, +"resourceManagerTags": { +"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/use-secure-tags)).", +"type": "object" +}, +"serviceAccount": { +"description": "Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.", +"type": "string" +}, +"serviceAccountScopes": { +"description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control", +"items": { +"type": "string" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm)." +}, +"subnetworkUri": { +"description": "Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/[region]/subnetworks/sub0 projects/[project_id]/regions/[region]/subnetworks/sub0 sub0", +"type": "string" +}, +"tags": { +"description": "The Compute Engine network tags to add to all instances (see Tagging instances (https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"zoneUri": { +"description": "Optional. The Compute Engine zone where the Dataproc cluster will be located. If omitted, the service will pick a zone in the cluster's Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]", +"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" +}, +"GkeClusterConfig": { +"description": "The cluster's GKE config.", +"id": "GkeClusterConfig", +"properties": { +"gkeClusterTarget": { +"description": "Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'", +"type": "string" +}, +"namespacedGkeDeploymentTarget": { +"$ref": "NamespacedGkeDeploymentTarget", +"deprecated": true, +"description": "Optional. Deprecated. Use gkeClusterTarget. Used only for the deprecated beta. A target for the deployment." +}, +"nodePoolTarget": { +"description": "Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULT GkeNodePoolTarget. Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.", +"items": { +"$ref": "GkeNodePoolTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"GkeNodeConfig": { +"description": "Parameters that describe cluster nodes.", +"id": "GkeNodeConfig", +"properties": { +"accelerators": { +"description": "Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.", +"items": { +"$ref": "GkeNodePoolAcceleratorConfig" +}, +"type": "array" +}, +"bootDiskKmsKey": { +"description": "Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/kubernetes-engine/docs/how-to/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}", +"type": "string" +}, +"localSsdCount": { +"description": "Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).", +"format": "int32", +"type": "integer" +}, +"machineType": { +"description": "Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).", +"type": "string" +}, +"minCpuPlatform": { +"description": "Optional. Minimum CPU platform (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as \"Intel Haswell\"` or Intel Sandy Bridge\".", +"type": "string" +}, +"preemptible": { +"description": "Optional. Whether the nodes are created as legacy preemptible VM instances (https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).", +"type": "boolean" +}, +"spot": { +"description": "Optional. Whether the nodes are created as Spot VM instances (https://cloud.google.com/compute/docs/instances/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).", +"type": "boolean" +} +}, +"type": "object" +}, +"GkeNodePoolAcceleratorConfig": { +"description": "A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool.", +"id": "GkeNodePoolAcceleratorConfig", +"properties": { +"acceleratorCount": { +"description": "The number of accelerator cards exposed to an instance.", +"format": "int64", +"type": "string" +}, +"acceleratorType": { +"description": "The accelerator type resource namename (see GPUs on Compute Engine).", +"type": "string" +}, +"gpuPartitionSize": { +"description": "Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide (https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).", +"type": "string" +} +}, +"type": "object" +}, +"GkeNodePoolAutoscalingConfig": { +"description": "GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.", +"id": "GkeNodePoolAutoscalingConfig", +"properties": { +"maxNodeCount": { +"description": "The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster.", +"format": "int32", +"type": "integer" +}, +"minNodeCount": { +"description": "The minimum number of nodes in the node pool. Must be >= 0 and <= max_node_count.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GkeNodePoolConfig": { +"description": "The configuration of a GKE node pool used by a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster).", +"id": "GkeNodePoolConfig", +"properties": { +"autoscaling": { +"$ref": "GkeNodePoolAutoscalingConfig", +"description": "Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present." +}, +"config": { +"$ref": "GkeNodeConfig", +"description": "Optional. The node pool configuration." +}, +"locations": { +"description": "Optional. The list of Compute Engine zones (https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GkeNodePoolTarget": { +"description": "GKE node pools that Dataproc workloads run on.", +"id": "GkeNodePoolTarget", +"properties": { +"nodePool": { +"description": "Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'", +"type": "string" +}, +"nodePoolConfig": { +"$ref": "GkeNodePoolConfig", +"description": "Input only. The configuration for the GKE node pool.If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.This is an input only field. It will not be returned by the API." +}, +"roles": { +"description": "Required. The roles associated with the GKE node pool.", +"items": { +"enum": [ +"ROLE_UNSPECIFIED", +"DEFAULT", +"CONTROLLER", +"SPARK_DRIVER", +"SPARK_EXECUTOR" +], +"enumDescriptions": [ +"Role is unspecified.", +"At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.", +"Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.", +"Run work associated with a Spark driver of a job.", +"Run work associated with a Spark executor of a job." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig": { +"description": "Encryption settings for encrypting workflow template job arguments.", +"id": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", +"properties": { +"kmsKey": { +"description": "Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.When this this key is provided, the following workflow template job arguments (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template), if present, are CMEK encrypted (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data): FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries", +"type": "string" +} +}, +"type": "object" +}, +"HadoopJob": { +"description": "A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", +"id": "HadoopJob", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision might occur that causes an incorrect job submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"mainClass": { +"description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.", +"type": "string" +}, +"mainJarFileUri": { +"description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.", +"type": "object" +} +}, +"type": "object" +}, +"HiveJob": { +"description": "A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.", +"id": "HiveJob", +"properties": { +"continueOnFailure": { +"description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", +"type": "boolean" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", +"type": "object" +}, +"queryFileUri": { +"description": "The HCFS URI of the script that contains Hive queries.", +"type": "string" +}, +"queryList": { +"$ref": "QueryList", +"description": "A list of queries." +}, +"scriptVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", +"type": "object" +} +}, +"type": "object" +}, +"IdentityConfig": { +"description": "Identity related configuration, including service account based secure multi-tenancy user mappings.", +"id": "IdentityConfig", +"properties": { +"userServiceAccountMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. Map of user to service account.", +"type": "object" +} +}, +"type": "object" +}, +"InjectCredentialsRequest": { +"description": "A request to inject credentials into a cluster.", +"id": "InjectCredentialsRequest", +"properties": { +"clusterUuid": { +"description": "Required. The cluster UUID.", +"type": "string" +}, +"credentialsCiphertext": { +"description": "Required. The encrypted credentials being injected in to the cluster.The client is responsible for encrypting the credentials in a way that is supported by the cluster.A wrapped value is used here so that the actual contents of the encrypted credentials are not written to audit logs.", +"type": "string" +} +}, +"type": "object" +}, +"InputMetrics": { +"description": "Metrics about the input data read by the task.", +"id": "InputMetrics", +"properties": { +"bytesRead": { +"format": "int64", +"type": "string" +}, +"recordsRead": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InputQuantileMetrics": { +"id": "InputQuantileMetrics", +"properties": { +"bytesRead": { +"$ref": "Quantiles" +}, +"recordsRead": { +"$ref": "Quantiles" +} +}, +"type": "object" +}, +"InstanceFlexibilityPolicy": { +"description": "Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.", +"id": "InstanceFlexibilityPolicy", +"properties": { +"instanceSelectionList": { +"description": "Optional. List of instance selection options that the group will use when creating new VMs.", +"items": { +"$ref": "InstanceSelection" +}, +"type": "array" +}, +"instanceSelectionResults": { +"description": "Output only. A list of instance selection results in the group.", +"items": { +"$ref": "InstanceSelectionResult" +}, +"readOnly": true, +"type": "array" +}, +"provisioningModelMix": { +"$ref": "ProvisioningModelMix", +"description": "Optional. Defines how the Group selects the provisioning model to ensure required reliability." +} +}, +"type": "object" +}, +"InstanceGroupAutoscalingPolicyConfig": { +"description": "Configuration for the size bounds of an instance group, including its proportional size to other groups.", +"id": "InstanceGroupAutoscalingPolicyConfig", +"properties": { +"maxInstances": { +"description": "Required. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances, ). Default: 0.", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Optional. Minimum number of instances for this group.Primary workers - Bounds: 2, max_instances. Default: 2. Secondary workers - Bounds: 0, max_instances. Default: 0.", +"format": "int32", +"type": "integer" +}, +"weight": { +"description": "Optional. Weight for the instance group, which is used to determine the fraction of total workers in the cluster from this instance group. For example, if primary workers have weight 2, and secondary workers have weight 1, the cluster will have approximately 2 primary workers for each secondary worker.The cluster may not reach the specified balance if constrained by min/max bounds or other autoscaling settings. For example, if max_instances for secondary workers is 0, then only primary workers will be added. The cluster can also be out of balance when created.If weight is not set on any instance group, the cluster will default to equal weight for all groups: the cluster will attempt to maintain an equal number of workers in each group within the configured size bounds for each group. If weight is set for one group only, the cluster will default to zero weight on the unset group. For example if weight is set only on primary workers, the cluster will use primary workers only and no secondary workers.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceGroupConfig": { +"description": "The config settings for Compute Engine resources in an instance group, such as a master or worker group.", +"id": "InstanceGroupConfig", +"properties": { +"accelerators": { +"description": "Optional. The Compute Engine accelerator configuration for these instances.", +"items": { +"$ref": "AcceleratorConfig" +}, +"type": "array" +}, +"diskConfig": { +"$ref": "DiskConfig", +"description": "Optional. Disk option config settings." +}, +"imageUri": { +"description": "Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/images/[image-id] projects/[project_id]/global/images/[image-id] image-idImage family examples. Dataproc will use the most recent image from the family: https://www.googleapis.com/compute/v1/projects/[project_id]/global/images/family/[custom-image-family-name] projects/[project_id]/global/images/family/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.", +"type": "string" +}, +"instanceFlexibilityPolicy": { +"$ref": "InstanceFlexibilityPolicy", +"description": "Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models." +}, +"instanceNames": { +"description": "Output only. The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"instanceReferences": { +"description": "Output only. List of references to Compute Engine instances.", +"items": { +"$ref": "InstanceReference" +}, +"readOnly": true, +"type": "array" +}, +"isPreemptible": { +"description": "Output only. Specifies that this instance group contains preemptible instances.", +"readOnly": true, +"type": "boolean" +}, +"machineTypeUri": { +"description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.", +"type": "string" +}, +"managedGroupConfig": { +"$ref": "ManagedGroupConfig", +"description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.", +"readOnly": true +}, +"minCpuPlatform": { +"description": "Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).", +"type": "string" +}, +"minNumInstances": { +"description": "Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.", +"format": "int32", +"type": "integer" +}, +"numInstances": { +"description": "Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.", +"format": "int32", +"type": "integer" +}, +"preemptibility": { +"description": "Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.", +"enum": [ +"PREEMPTIBILITY_UNSPECIFIED", +"NON_PREEMPTIBLE", +"PREEMPTIBLE", +"SPOT" +], +"enumDescriptions": [ +"Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.", +"Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.", +"Instances are preemptible (https://cloud.google.com/compute/docs/instances/preemptible).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups.", +"Instances are Spot VMs (https://cloud.google.com/compute/docs/instances/spot).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups. Spot VMs are the latest version of preemptible VMs (https://cloud.google.com/compute/docs/instances/preemptible), and provide additional features." +], +"type": "string" +}, +"startupConfig": { +"$ref": "StartupConfig", +"description": "Optional. Configuration to handle the startup of instances during cluster create and update process." +} +}, +"type": "object" +}, +"InstanceReference": { +"description": "A reference to a Compute Engine instance.", +"id": "InstanceReference", +"properties": { +"instanceId": { +"description": "The unique identifier of the Compute Engine instance.", +"type": "string" +}, +"instanceName": { +"description": "The user-friendly name of the Compute Engine instance.", +"type": "string" +}, +"publicEciesKey": { +"description": "The public ECIES key used for sharing data with this instance.", +"type": "string" +}, +"publicKey": { +"description": "The public RSA key used for sharing data with this instance.", +"type": "string" +} +}, +"type": "object" +}, +"InstanceSelection": { +"description": "Defines machines types and a rank to which the machines types belong.", +"id": "InstanceSelection", +"properties": { +"machineTypes": { +"description": "Optional. Full machine-type names, e.g. \"n1-standard-16\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"rank": { +"description": "Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"InstanceSelectionResult": { +"description": "Defines a mapping from machine types to the number of VMs that are created with each machine type.", +"id": "InstanceSelectionResult", +"properties": { +"machineType": { +"description": "Output only. Full machine-type names, e.g. \"n1-standard-16\".", +"readOnly": true, +"type": "string" +}, +"vmCount": { +"description": "Output only. Number of VM provisioned with the machine_type.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"InstantiateWorkflowTemplateRequest": { +"description": "A request to instantiate a workflow template.", +"id": "InstantiateWorkflowTemplateRequest", +"properties": { +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.", +"type": "object" +}, +"requestId": { +"description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +}, +"version": { +"description": "Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Job": { +"description": "A Dataproc job resource.", +"id": "Job", +"properties": { +"done": { +"description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.", +"readOnly": true, +"type": "boolean" +}, +"driverControlFilesUri": { +"description": "Output only. If present, the location of miscellaneous control files which can be used as part of job setup and handling. If not present, control files might be placed in the same location as driver_output_uri.", +"readOnly": true, +"type": "string" +}, +"driverOutputResourceUri": { +"description": "Output only. A URI pointing to the location of the stdout of the job's driver program.", +"readOnly": true, +"type": "string" +}, +"driverSchedulingConfig": { +"$ref": "DriverSchedulingConfig", +"description": "Optional. Driver scheduling configuration." +}, +"flinkJob": { +"$ref": "FlinkJob", +"description": "Optional. Job is a Flink job." +}, +"hadoopJob": { +"$ref": "HadoopJob", +"description": "Optional. Job is a Hadoop job." +}, +"hiveJob": { +"$ref": "HiveJob", +"description": "Optional. Job is a Hive job." +}, +"jobUuid": { +"description": "Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that might be reused over time.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.", +"type": "object" +}, +"pigJob": { +"$ref": "PigJob", +"description": "Optional. Job is a Pig job." +}, +"placement": { +"$ref": "JobPlacement", +"description": "Required. Job information, including how, when, and where to run the job." +}, +"prestoJob": { +"$ref": "PrestoJob", +"description": "Optional. Job is a Presto job." +}, +"pysparkJob": { +"$ref": "PySparkJob", +"description": "Optional. Job is a PySpark job." +}, +"reference": { +"$ref": "JobReference", +"description": "Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a job_id." +}, +"scheduling": { +"$ref": "JobScheduling", +"description": "Optional. Job scheduling configuration." +}, +"sparkJob": { +"$ref": "SparkJob", +"description": "Optional. Job is a Spark job." +}, +"sparkRJob": { +"$ref": "SparkRJob", +"description": "Optional. Job is a SparkR job." +}, +"sparkSqlJob": { +"$ref": "SparkSqlJob", +"description": "Optional. Job is a SparkSql job." +}, +"status": { +"$ref": "JobStatus", +"description": "Output only. The job status. Additional application-specific status information might be contained in the type_job and yarn_applications fields.", +"readOnly": true +}, +"statusHistory": { +"description": "Output only. The previous job status.", +"items": { +"$ref": "JobStatus" +}, +"readOnly": true, +"type": "array" +}, +"trinoJob": { +"$ref": "TrinoJob", +"description": "Optional. Job is a Trino job." +}, +"yarnApplications": { +"description": "Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It might be changed before final release.", +"items": { +"$ref": "YarnApplication" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"JobData": { +"description": "Data corresponding to a spark job.", +"id": "JobData", +"properties": { +"completionTime": { +"format": "google-datetime", +"type": "string" +}, +"description": { +"type": "string" +}, +"jobGroup": { +"type": "string" +}, +"jobId": { +"format": "int64", +"type": "string" +}, +"killTasksSummary": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"numActiveStages": { +"format": "int32", +"type": "integer" +}, +"numActiveTasks": { +"format": "int32", +"type": "integer" +}, +"numCompletedIndices": { +"format": "int32", +"type": "integer" +}, +"numCompletedStages": { +"format": "int32", +"type": "integer" +}, +"numCompletedTasks": { +"format": "int32", +"type": "integer" +}, +"numFailedStages": { +"format": "int32", +"type": "integer" +}, +"numFailedTasks": { +"format": "int32", +"type": "integer" +}, +"numKilledTasks": { +"format": "int32", +"type": "integer" +}, +"numSkippedStages": { +"format": "int32", +"type": "integer" +}, +"numSkippedTasks": { +"format": "int32", +"type": "integer" +}, +"numTasks": { +"format": "int32", +"type": "integer" +}, +"skippedStages": { +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"sqlExecutionId": { +"format": "int64", +"type": "string" +}, +"stageIds": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"status": { +"enum": [ +"JOB_EXECUTION_STATUS_UNSPECIFIED", +"JOB_EXECUTION_STATUS_RUNNING", +"JOB_EXECUTION_STATUS_SUCCEEDED", +"JOB_EXECUTION_STATUS_FAILED", +"JOB_EXECUTION_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"submissionTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"JobMetadata": { +"description": "Job Operation metadata.", +"id": "JobMetadata", +"properties": { +"jobId": { +"description": "Output only. The job id.", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "Output only. Operation type.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Job submission time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "JobStatus", +"description": "Output only. Most recent job status.", +"readOnly": true +} +}, +"type": "object" +}, +"JobPlacement": { +"description": "Dataproc job config.", +"id": "JobPlacement", +"properties": { +"clusterLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Cluster labels to identify a cluster where the job will be submitted.", +"type": "object" +}, +"clusterName": { +"description": "Required. The name of the cluster where the job will be submitted.", +"type": "string" +}, +"clusterUuid": { +"description": "Output only. A cluster UUID generated by the Dataproc service when the job is submitted.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobReference": { +"description": "Encapsulates the full scoping used to reference a job.", +"id": "JobReference", +"properties": { +"jobId": { +"description": "Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.", +"type": "string" +}, +"projectId": { +"description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.", +"type": "string" +} +}, +"type": "object" +}, +"JobScheduling": { +"description": "Job scheduling options.", +"id": "JobScheduling", +"properties": { +"maxFailuresPerHour": { +"description": "Optional. Maximum number of times per hour a driver can be restarted as a result of driver exiting with non-zero code before job is reported failed.A job might be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).", +"format": "int32", +"type": "integer" +}, +"maxFailuresTotal": { +"description": "Optional. Maximum total number of times a driver can be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"JobStatus": { +"description": "Dataproc job status.", +"id": "JobStatus", +"properties": { +"details": { +"description": "Optional. Output only. Job state details, such as an error description if the state is ERROR.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. A state message specifying the overall job state.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"SETUP_DONE", +"RUNNING", +"CANCEL_PENDING", +"CANCEL_STARTED", +"CANCELLED", +"DONE", +"ERROR", +"ATTEMPT_FAILURE" +], +"enumDescriptions": [ +"The job state is unknown.", +"The job is pending; it has been submitted, but is not yet running.", +"Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.", +"The job is running on the cluster.", +"A CancelJob request has been received, but is pending.", +"Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.", +"The job cancellation was successful.", +"The job has completed successfully.", +"The job has completed, but encountered an error.", +"Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only." +], +"readOnly": true, +"type": "string" +}, +"stateStartTime": { +"description": "Output only. The time when this state was entered.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"substate": { +"description": "Output only. Additional state information, which includes status reported by the agent.", +"enum": [ +"UNSPECIFIED", +"SUBMITTED", +"QUEUED", +"STALE_STATUS" +], +"enumDescriptions": [ +"The job substate is unknown.", +"The Job is submitted to the agent.Applies to RUNNING state.", +"The Job has been received and is awaiting execution (it might be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.", +"The agent-reported status is out of date, which can be caused by a loss of communication between the agent and Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"JobsSummary": { +"description": "Data related to Jobs page summary", +"id": "JobsSummary", +"properties": { +"activeJobs": { +"description": "Number of active jobs", +"format": "int32", +"type": "integer" +}, +"applicationId": { +"description": "Spark Application Id", +"type": "string" +}, +"attempts": { +"description": "Attempts info", +"items": { +"$ref": "ApplicationAttemptInfo" +}, +"type": "array" +}, +"completedJobs": { +"description": "Number of completed jobs", +"format": "int32", +"type": "integer" +}, +"failedJobs": { +"description": "Number of failed jobs", +"format": "int32", +"type": "integer" +}, +"schedulingMode": { +"description": "Spark Scheduling mode", +"type": "string" +} +}, +"type": "object" +}, +"JupyterConfig": { +"description": "Jupyter configuration for an interactive session.", +"id": "JupyterConfig", +"properties": { +"displayName": { +"description": "Optional. Display name, shown in the Jupyter kernelspec card.", +"type": "string" +}, +"kernel": { +"description": "Optional. Kernel", +"enum": [ +"KERNEL_UNSPECIFIED", +"PYTHON", +"SCALA" +], +"enumDescriptions": [ +"The kernel is unknown.", +"Python kernel.", +"Scala kernel." +], +"type": "string" +} +}, +"type": "object" +}, +"KerberosConfig": { +"description": "Specifies Kerberos related configuration.", +"id": "KerberosConfig", +"properties": { +"crossRealmTrustAdminServer": { +"description": "Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.", +"type": "string" +}, +"crossRealmTrustKdc": { +"description": "Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.", +"type": "string" +}, +"crossRealmTrustRealm": { +"description": "Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.", +"type": "string" +}, +"crossRealmTrustSharedPasswordUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.", +"type": "string" +}, +"enableKerberos": { +"description": "Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.", +"type": "boolean" +}, +"kdcDbKeyUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.", +"type": "string" +}, +"keyPasswordUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.", +"type": "string" +}, +"keystorePasswordUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.", +"type": "string" +}, +"keystoreUri": { +"description": "Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.", +"type": "string" +}, +"kmsKeyUri": { +"description": "Optional. The URI of the KMS key used to encrypt sensitive files.", +"type": "string" +}, +"realm": { +"description": "Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.", +"type": "string" +}, +"rootPrincipalPasswordUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.", +"type": "string" +}, +"tgtLifetimeHours": { +"description": "Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.", +"format": "int32", +"type": "integer" +}, +"truststorePasswordUri": { +"description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.", +"type": "string" +}, +"truststoreUri": { +"description": "Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.", +"type": "string" +} +}, +"type": "object" +}, +"KubernetesClusterConfig": { +"description": "The configuration for running the Dataproc cluster on Kubernetes.", +"id": "KubernetesClusterConfig", +"properties": { +"gkeClusterConfig": { +"$ref": "GkeClusterConfig", +"description": "Required. The configuration for running the Dataproc cluster on GKE." +}, +"kubernetesNamespace": { +"description": "Optional. A namespace within the Kubernetes cluster to deploy into. If this namespace does not exist, it is created. If it exists, Dataproc verifies that another Dataproc VirtualCluster is not installed into it. If not specified, the name of the Dataproc Cluster is used.", +"type": "string" +}, +"kubernetesSoftwareConfig": { +"$ref": "KubernetesSoftwareConfig", +"description": "Optional. The software configuration for this Dataproc cluster running on Kubernetes." +} +}, +"type": "object" +}, +"KubernetesSoftwareConfig": { +"description": "The software configuration for this Dataproc cluster running on Kubernetes.", +"id": "KubernetesSoftwareConfig", +"properties": { +"componentVersion": { +"additionalProperties": { +"type": "string" +}, +"description": "The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.", +"type": "object" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "The properties to set on daemon config files.Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings: spark: spark-defaults.confFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).", +"type": "object" +} +}, +"type": "object" +}, +"LifecycleConfig": { +"description": "Specifies the cluster auto-delete schedule configuration.", +"id": "LifecycleConfig", +"properties": { +"autoDeleteTime": { +"description": "Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-datetime", +"type": "string" +}, +"autoDeleteTtl": { +"description": "Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-duration", +"type": "string" +}, +"autoStopTime": { +"description": "Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-datetime", +"type": "string" +}, +"autoStopTtl": { +"description": "Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-duration", +"type": "string" +}, +"idleDeleteTtl": { +"description": "Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-duration", +"type": "string" +}, +"idleStartTime": { +"description": "Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"idleStopTtl": { +"description": "Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ListAutoscalingPoliciesResponse": { +"description": "A response to a request to list autoscaling policies in a project.", +"id": "ListAutoscalingPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. This token is included in the response if there are more results to fetch.", +"readOnly": true, +"type": "string" +}, +"policies": { +"description": "Output only. Autoscaling policies list.", +"items": { +"$ref": "AutoscalingPolicy" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListBatchesResponse": { +"description": "A list of batch workloads.", +"id": "ListBatchesResponse", +"properties": { +"batches": { +"description": "Output only. The batches from the specified collection.", +"items": { +"$ref": "Batch" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListClustersResponse": { +"description": "The list of all clusters in a project.", +"id": "ListClustersResponse", +"properties": { +"clusters": { +"description": "Output only. The clusters in the project.", +"items": { +"$ref": "Cluster" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListJobsResponse": { +"description": "A list of jobs in a project.", +"id": "ListJobsResponse", +"properties": { +"jobs": { +"description": "Output only. Jobs list.", +"items": { +"$ref": "Job" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListJobsRequest.", +"type": "string" +}, +"unreachable": { +"description": "Output only. List of jobs with kms_key-encrypted parameters that could not be decrypted. A response to a jobs.get request may indicate the reason for the decryption failure for a specific job.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSessionTemplatesResponse": { +"description": "A list of session templates.", +"id": "ListSessionTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"sessionTemplates": { +"description": "Output only. Session template list", +"items": { +"$ref": "SessionTemplate" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListSessionsResponse": { +"description": "A list of interactive sessions.", +"id": "ListSessionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as page_token, to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"sessions": { +"description": "Output only. The sessions from the specified collection.", +"items": { +"$ref": "Session" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkflowTemplatesResponse": { +"description": "A response to a request to list workflow templates in a project.", +"id": "ListWorkflowTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListWorkflowTemplatesRequest.", +"readOnly": true, +"type": "string" +}, +"templates": { +"description": "Output only. WorkflowTemplates list.", +"items": { +"$ref": "WorkflowTemplate" +}, +"readOnly": true, +"type": "array" +}, +"unreachable": { +"description": "Output only. List of workflow templates that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "The runtime logging config of the job.", +"id": "LoggingConfig", +"properties": { +"driverLogLevels": { +"additionalProperties": { +"enum": [ +"LEVEL_UNSPECIFIED", +"ALL", +"TRACE", +"DEBUG", +"INFO", +"WARN", +"ERROR", +"FATAL", +"OFF" +], +"enumDescriptions": [ +"Level is unspecified. Use default level for log4j.", +"Use ALL level for log4j.", +"Use TRACE level for log4j.", +"Use DEBUG level for log4j.", +"Use INFO level for log4j.", +"Use WARN level for log4j.", +"Use ERROR level for log4j.", +"Use FATAL level for log4j.", +"Turn off log4j." +], +"type": "string" +}, +"description": "The per-package log levels for the driver. This can include \"root\" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG'", +"type": "object" +} +}, +"type": "object" +}, +"ManagedCluster": { +"description": "Cluster that is managed by the workflow.", +"id": "ManagedCluster", +"properties": { +"clusterName": { +"description": "Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.", +"type": "string" +}, +"config": { +"$ref": "ClusterConfig", +"description": "Required. The cluster configuration." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.", +"type": "object" +} +}, +"type": "object" +}, +"ManagedGroupConfig": { +"description": "Specifies the resources used to actively manage an instance group.", +"id": "ManagedGroupConfig", +"properties": { +"instanceGroupManagerName": { +"description": "Output only. The name of the Instance Group Manager for this group.", +"readOnly": true, +"type": "string" +}, +"instanceGroupManagerUri": { +"description": "Output only. The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.", +"readOnly": true, +"type": "string" +}, +"instanceTemplateName": { +"description": "Output only. The name of the Instance Template used for the Managed Instance Group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MemoryMetrics": { +"id": "MemoryMetrics", +"properties": { +"totalOffHeapStorageMemory": { +"format": "int64", +"type": "string" +}, +"totalOnHeapStorageMemory": { +"format": "int64", +"type": "string" +}, +"usedOffHeapStorageMemory": { +"format": "int64", +"type": "string" +}, +"usedOnHeapStorageMemory": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MetastoreConfig": { +"description": "Specifies a Metastore configuration.", +"id": "MetastoreConfig", +"properties": { +"dataprocMetastoreService": { +"description": "Required. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name]", +"type": "string" +} +}, +"type": "object" +}, +"Metric": { +"description": "A Dataproc custom metric.", +"id": "Metric", +"properties": { +"metricOverrides": { +"description": "Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK and YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metricSource": { +"description": "Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) for more information).", +"enum": [ +"METRIC_SOURCE_UNSPECIFIED", +"MONITORING_AGENT_DEFAULTS", +"HDFS", +"SPARK", +"YARN", +"SPARK_HISTORY_SERVER", +"HIVESERVER2", +"HIVEMETASTORE", +"FLINK" +], +"enumDescriptions": [ +"Required unspecified metric source.", +"Monitoring agent metrics. If this source is enabled, Dataproc enables the monitoring agent in Compute Engine, and collects monitoring agent metrics, which are published with an agent.googleapis.com prefix.", +"HDFS metric source.", +"Spark metric source.", +"YARN metric source.", +"Spark History Server metric source.", +"Hiveserver2 metric source.", +"hivemetastore metric source", +"flink metric source" +], +"type": "string" +} +}, +"type": "object" +}, +"NamespacedGkeDeploymentTarget": { +"deprecated": true, +"description": "Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster.", +"id": "NamespacedGkeDeploymentTarget", +"properties": { +"clusterNamespace": { +"description": "Optional. A namespace within the GKE cluster to deploy into.", +"type": "string" +}, +"targetGkeCluster": { +"description": "Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'", +"type": "string" +} +}, +"type": "object" +}, +"NativeBuildInfoUiData": { +"id": "NativeBuildInfoUiData", +"properties": { +"buildClass": { +"description": "Optional. Build class of Native.", +"type": "string" +}, +"buildInfo": { +"description": "Optional. Build related details.", +"items": { +"$ref": "BuildInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"NativeSqlExecutionUiData": { +"description": "Native SQL Execution Data", +"id": "NativeSqlExecutionUiData", +"properties": { +"description": { +"description": "Optional. Description of the execution.", +"type": "string" +}, +"executionId": { +"description": "Required. Execution ID of the Native SQL Execution.", +"format": "int64", +"type": "string" +}, +"fallbackDescription": { +"description": "Optional. Description of the fallback.", +"type": "string" +}, +"fallbackNodeToReason": { +"description": "Optional. Fallback node to reason.", +"items": { +"$ref": "FallbackReason" +}, +"type": "array" +}, +"numFallbackNodes": { +"description": "Optional. Number of nodes fallen back to Spark.", +"format": "int32", +"type": "integer" +}, +"numNativeNodes": { +"description": "Optional. Number of nodes in Native.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"NodeGroup": { +"description": "Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource.", +"id": "NodeGroup", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.", +"type": "object" +}, +"name": { +"description": "The Node group resource name (https://aip.dev/122).", +"type": "string" +}, +"nodeGroupConfig": { +"$ref": "InstanceGroupConfig", +"description": "Optional. The node group instance group configuration." +}, +"roles": { +"description": "Required. Node group roles.", +"items": { +"enum": [ +"ROLE_UNSPECIFIED", +"DRIVER" +], +"enumDescriptions": [ +"Required unspecified role.", +"Job drivers run on the node pool." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"NodeGroupAffinity": { +"description": "Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource.", +"id": "NodeGroupAffinity", +"properties": { +"nodeGroupUri": { +"description": "Required. The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1", +"type": "string" +} +}, +"type": "object" +}, +"NodeGroupOperationMetadata": { +"description": "Metadata describing the node group operation.", +"id": "NodeGroupOperationMetadata", +"properties": { +"clusterUuid": { +"description": "Output only. Cluster UUID associated with the node group operation.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Short description of operation.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Labels associated with the operation.", +"readOnly": true, +"type": "object" +}, +"nodeGroupId": { +"description": "Output only. Node group ID for the operation.", +"readOnly": true, +"type": "string" +}, +"operationType": { +"description": "The operation type.", +"enum": [ +"NODE_GROUP_OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"RESIZE", +"REPAIR", +"UPDATE_LABELS", +"START", +"STOP", +"UPDATE_METADATA_CONFIG" +], +"enumDescriptions": [ +"Node group operation type is unknown.", +"Create node group operation type.", +"Update node group operation type.", +"Delete node group operation type.", +"Resize node group operation type.", +"Repair node group operation type.", +"Update node group label operation type.", +"Start node group operation type.", +"Stop node group operation type.", +"This operation type is used to update the metadata config of a node group. We update the metadata of the VMs in the node group and await for intended config change to be completed at the node group level. Currently, only the identity config update is supported." +], +"type": "string" +}, +"status": { +"$ref": "ClusterOperationStatus", +"description": "Output only. Current operation status.", +"readOnly": true +}, +"statusHistory": { +"description": "Output only. The previous operation status.", +"items": { +"$ref": "ClusterOperationStatus" +}, +"readOnly": true, +"type": "array" +}, +"warnings": { +"description": "Output only. Errors encountered during operation execution.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"NodeInitializationAction": { +"description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", +"id": "NodeInitializationAction", +"properties": { +"executableFile": { +"description": "Required. Cloud Storage URI of executable file.", +"type": "string" +}, +"executionTimeout": { +"description": "Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "indicating a list of workers of same type", +"id": "NodePool", +"properties": { +"id": { +"description": "Required. A unique id of the node pool. Primary and Secondary workers can be specified using special reserved ids PRIMARY_WORKER_POOL and SECONDARY_WORKER_POOL respectively. Aux node pools can be referenced using corresponding pool id.", +"type": "string" +}, +"instanceNames": { +"description": "Name of instances to be repaired. These instances must belong to specified node pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"repairAction": { +"description": "Required. Repair action to take on specified resources of the node pool.", +"enum": [ +"REPAIR_ACTION_UNSPECIFIED", +"DELETE" +], +"enumDescriptions": [ +"No action will be taken by default.", +"delete the specified list of nodes." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OrderedJob": { +"description": "A job executed by the workflow.", +"id": "OrderedJob", +"properties": { +"flinkJob": { +"$ref": "FlinkJob", +"description": "Optional. Job is a Flink job." +}, +"hadoopJob": { +"$ref": "HadoopJob", +"description": "Optional. Job is a Hadoop job." +}, +"hiveJob": { +"$ref": "HiveJob", +"description": "Optional. Job is a Hive job." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job.", +"type": "object" +}, +"pigJob": { +"$ref": "PigJob", +"description": "Optional. Job is a Pig job." +}, +"prerequisiteStepIds": { +"description": "Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.", +"items": { +"type": "string" +}, +"type": "array" +}, +"prestoJob": { +"$ref": "PrestoJob", +"description": "Optional. Job is a Presto job." +}, +"pysparkJob": { +"$ref": "PySparkJob", +"description": "Optional. Job is a PySpark job." +}, +"scheduling": { +"$ref": "JobScheduling", +"description": "Optional. Job scheduling configuration." +}, +"sparkJob": { +"$ref": "SparkJob", +"description": "Optional. Job is a Spark job." +}, +"sparkRJob": { +"$ref": "SparkRJob", +"description": "Optional. Job is a SparkR job." +}, +"sparkSqlJob": { +"$ref": "SparkSqlJob", +"description": "Optional. Job is a SparkSql job." +}, +"stepId": { +"description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.", +"type": "string" +}, +"trinoJob": { +"$ref": "TrinoJob", +"description": "Optional. Job is a Trino job." +} +}, +"type": "object" +}, +"OutputMetrics": { +"description": "Metrics about the data written by the task.", +"id": "OutputMetrics", +"properties": { +"bytesWritten": { +"format": "int64", +"type": "string" +}, +"recordsWritten": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"OutputQuantileMetrics": { +"id": "OutputQuantileMetrics", +"properties": { +"bytesWritten": { +"$ref": "Quantiles" +}, +"recordsWritten": { +"$ref": "Quantiles" +} +}, +"type": "object" +}, +"ParameterValidation": { +"description": "Configuration for parameter validation.", +"id": "ParameterValidation", +"properties": { +"regex": { +"$ref": "RegexValidation", +"description": "Validation based on regular expressions." +}, +"values": { +"$ref": "ValueValidation", +"description": "Validation based on a list of allowed values." +} +}, +"type": "object" +}, +"PeripheralsConfig": { +"description": "Auxiliary services configuration for a workload.", +"id": "PeripheralsConfig", +"properties": { +"metastoreService": { +"description": "Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]", +"type": "string" +}, +"sparkHistoryServerConfig": { +"$ref": "SparkHistoryServerConfig", +"description": "Optional. The Spark History Server configuration for the workload." +} +}, +"type": "object" +}, +"PigJob": { +"description": "A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.", +"id": "PigJob", +"properties": { +"continueOnFailure": { +"description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", +"type": "boolean" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", +"type": "object" +}, +"queryFileUri": { +"description": "The HCFS URI of the script that contains the Pig queries.", +"type": "string" +}, +"queryList": { +"$ref": "QueryList", +"description": "A list of queries." +}, +"scriptVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", +"type": "object" +} +}, +"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": { +"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 conditionsImportant: 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" +}, +"PoolData": { +"description": "Pool Data", +"id": "PoolData", +"properties": { +"name": { +"type": "string" +}, +"stageIds": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PrestoJob": { +"description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.", +"id": "PrestoJob", +"properties": { +"clientTags": { +"description": "Optional. Presto client tags to attach to this query", +"items": { +"type": "string" +}, +"type": "array" +}, +"continueOnFailure": { +"description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", +"type": "boolean" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"outputFormat": { +"description": "Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI", +"type": "object" +}, +"queryFileUri": { +"description": "The HCFS URI of the script that contains SQL queries.", +"type": "string" +}, +"queryList": { +"$ref": "QueryList", +"description": "A list of queries." +} +}, +"type": "object" +}, +"ProcessSummary": { +"description": "Process Summary", +"id": "ProcessSummary", +"properties": { +"addTime": { +"format": "google-datetime", +"type": "string" +}, +"hostPort": { +"type": "string" +}, +"isActive": { +"type": "boolean" +}, +"processId": { +"type": "string" +}, +"processLogs": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"removeTime": { +"format": "google-datetime", +"type": "string" +}, +"totalCores": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PropertiesInfo": { +"description": "Properties of the workload organized by origin.", +"id": "PropertiesInfo", +"properties": { +"autotuningProperties": { +"additionalProperties": { +"$ref": "ValueInfo" +}, +"description": "Output only. Properties set by autotuning engine.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"ProvisioningModelMix": { +"description": "Defines how Dataproc should create VMs with a mixture of provisioning models.", +"id": "ProvisioningModelMix", +"properties": { +"standardCapacityBase": { +"description": "Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances.", +"format": "int32", +"type": "integer" +}, +"standardCapacityPercentAboveBase": { +"description": "Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard_capacity_base. eg. If 15 instances are requested and standard_capacity_base is 5 and standard_capacity_percent_above_base is 30, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PyPiRepositoryConfig": { +"description": "Configuration for PyPi repository", +"id": "PyPiRepositoryConfig", +"properties": { +"pypiRepository": { +"description": "Optional. The PyPi repository address. Note: This field is not available for batch workloads.", +"type": "string" +} +}, +"type": "object" +}, +"PySparkBatch": { +"description": "A configuration for running an Apache PySpark (https://spark.apache.org/docs/latest/api/python/getting_started/quickstart.html) batch workload.", +"id": "PySparkBatch", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mainPythonFileUri": { +"description": "Required. The HCFS URI of the main Python file to use as the Spark driver. Must be a .py file.", +"type": "string" +}, +"pythonFileUris": { +"description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PySparkJob": { +"description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.", +"id": "PySparkJob", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.Note: Spark applications must be deployed in cluster mode (https://spark.apache.org/docs/latest/cluster-overview.html) for correct environment propagation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"mainPythonFileUri": { +"description": "Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", +"type": "object" +}, +"pythonFileUris": { +"description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Quantiles": { +"description": "Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type.", +"id": "Quantiles", +"properties": { +"count": { +"format": "int64", +"type": "string" +}, +"maximum": { +"format": "int64", +"type": "string" +}, +"minimum": { +"format": "int64", +"type": "string" +}, +"percentile25": { +"format": "int64", +"type": "string" +}, +"percentile50": { +"format": "int64", +"type": "string" +}, +"percentile75": { +"format": "int64", +"type": "string" +}, +"sum": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"QueryList": { +"description": "A list of queries to run on a cluster.", +"id": "QueryList", +"properties": { +"queries": { +"description": "Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] } } ", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RddDataDistribution": { +"description": "Details about RDD usage.", +"id": "RddDataDistribution", +"properties": { +"address": { +"type": "string" +}, +"diskUsed": { +"format": "int64", +"type": "string" +}, +"memoryRemaining": { +"format": "int64", +"type": "string" +}, +"memoryUsed": { +"format": "int64", +"type": "string" +}, +"offHeapMemoryRemaining": { +"format": "int64", +"type": "string" +}, +"offHeapMemoryUsed": { +"format": "int64", +"type": "string" +}, +"onHeapMemoryRemaining": { +"format": "int64", +"type": "string" +}, +"onHeapMemoryUsed": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RddOperationCluster": { +"description": "A grouping of nodes representing higher level constructs (stage, job etc.).", +"id": "RddOperationCluster", +"properties": { +"childClusters": { +"items": { +"$ref": "RddOperationCluster" +}, +"type": "array" +}, +"childNodes": { +"items": { +"$ref": "RddOperationNode" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"rddClusterId": { +"type": "string" +} +}, +"type": "object" +}, +"RddOperationEdge": { +"description": "A directed edge representing dependency between two RDDs.", +"id": "RddOperationEdge", +"properties": { +"fromId": { +"format": "int32", +"type": "integer" +}, +"toId": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RddOperationGraph": { +"description": "Graph representing RDD dependencies. Consists of edges and a root cluster.", +"id": "RddOperationGraph", +"properties": { +"edges": { +"items": { +"$ref": "RddOperationEdge" +}, +"type": "array" +}, +"incomingEdges": { +"items": { +"$ref": "RddOperationEdge" +}, +"type": "array" +}, +"outgoingEdges": { +"items": { +"$ref": "RddOperationEdge" +}, +"type": "array" +}, +"rootCluster": { +"$ref": "RddOperationCluster" +}, +"stageId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RddOperationNode": { +"description": "A node in the RDD operation graph. Corresponds to a single RDD.", +"id": "RddOperationNode", +"properties": { +"barrier": { +"type": "boolean" +}, +"cached": { +"type": "boolean" +}, +"callsite": { +"type": "string" +}, +"name": { +"type": "string" +}, +"nodeId": { +"format": "int32", +"type": "integer" +}, +"outputDeterministicLevel": { +"enum": [ +"DETERMINISTIC_LEVEL_UNSPECIFIED", +"DETERMINISTIC_LEVEL_DETERMINATE", +"DETERMINISTIC_LEVEL_UNORDERED", +"DETERMINISTIC_LEVEL_INDETERMINATE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"RddPartitionInfo": { +"description": "Information about RDD partitions.", +"id": "RddPartitionInfo", +"properties": { +"blockName": { +"type": "string" +}, +"diskUsed": { +"format": "int64", +"type": "string" +}, +"executors": { +"items": { +"type": "string" +}, +"type": "array" +}, +"memoryUsed": { +"format": "int64", +"type": "string" +}, +"storageLevel": { +"type": "string" +} +}, +"type": "object" +}, +"RddStorageInfo": { +"description": "Overall data about RDD storage.", +"id": "RddStorageInfo", +"properties": { +"dataDistribution": { +"items": { +"$ref": "RddDataDistribution" +}, +"type": "array" +}, +"diskUsed": { +"format": "int64", +"type": "string" +}, +"memoryUsed": { +"format": "int64", +"type": "string" +}, +"name": { +"type": "string" +}, +"numCachedPartitions": { +"format": "int32", +"type": "integer" +}, +"numPartitions": { +"format": "int32", +"type": "integer" +}, +"partitions": { +"items": { +"$ref": "RddPartitionInfo" +}, +"type": "array" +}, +"rddStorageId": { +"format": "int32", +"type": "integer" +}, +"storageLevel": { +"type": "string" +} +}, +"type": "object" +}, +"RegexValidation": { +"description": "Validation based on regular expressions.", +"id": "RegexValidation", +"properties": { +"regexes": { +"description": "Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RepairClusterRequest": { +"description": "A request to repair a cluster.", +"id": "RepairClusterRequest", +"properties": { +"cluster": { +"$ref": "ClusterToRepair", +"description": "Optional. Cluster to be repaired" +}, +"clusterUuid": { +"description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.", +"type": "string" +}, +"dataprocSuperUser": { +"description": "Optional. Whether the request is submitted by Dataproc super user. If true, IAM will check 'dataproc.clusters.repair' permission instead of 'dataproc.clusters.update' permission. This is to give Dataproc superuser the ability to repair clusters without granting the overly broad update permission.", +"type": "boolean" +}, +"gracefulDecommissionTimeout": { +"description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping\u2014Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image versions 1.2+.", +"format": "google-duration", +"type": "string" +}, +"nodePools": { +"description": "Optional. Node pools and corresponding repair action to be taken. All node pools should be unique in this request. i.e. Multiple entries for the same node pool id are not allowed.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"parentOperationId": { +"description": "Optional. operation id of the parent operation sending the repair request", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"RepairNodeGroupRequest": { +"id": "RepairNodeGroupRequest", +"properties": { +"instanceNames": { +"description": "Required. Name of instances to be repaired. These instances must belong to specified node pool.", +"items": { +"type": "string" +}, +"type": "array" +}, +"repairAction": { +"description": "Required. Repair action to take on specified resources of the node pool.", +"enum": [ +"REPAIR_ACTION_UNSPECIFIED", +"REPLACE" +], +"enumDescriptions": [ +"No action will be taken by default.", +"replace the specified list of nodes." +], +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two RepairNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"RepositoryConfig": { +"description": "Configuration for dependency repositories", +"id": "RepositoryConfig", +"properties": { +"pypiRepositoryConfig": { +"$ref": "PyPiRepositoryConfig", +"description": "Optional. Configuration for PyPi repository." +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "Reservation Affinity for consuming Zonal reservation.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Optional. Type of reservation to consume", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"", +"Do not consume from any allocated capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Optional. Corresponds to the label key of reservation resource.", +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of reservation resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResizeNodeGroupRequest": { +"description": "A request to resize a node group.", +"id": "ResizeNodeGroupRequest", +"properties": { +"gracefulDecommissionTimeout": { +"description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", +"format": "google-duration", +"type": "string" +}, +"parentOperationId": { +"description": "Optional. operation id of the parent operation sending the resize request", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two ResizeNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +}, +"size": { +"description": "Required. The number of running instances for the node group to maintain. The group adds or removes instances to maintain the number of instances specified by this parameter.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourceInformation": { +"id": "ResourceInformation", +"properties": { +"addresses": { +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"ResourceProfileInfo": { +"description": "Resource profile that contains information about all the resources required by executors and tasks.", +"id": "ResourceProfileInfo", +"properties": { +"executorResources": { +"additionalProperties": { +"$ref": "ExecutorResourceRequest" +}, +"type": "object" +}, +"resourceProfileId": { +"format": "int32", +"type": "integer" +}, +"taskResources": { +"additionalProperties": { +"$ref": "TaskResourceRequest" +}, +"type": "object" +} +}, +"type": "object" +}, +"RuntimeConfig": { +"description": "Runtime configuration for a workload.", +"id": "RuntimeConfig", +"properties": { +"autotuningConfig": { +"$ref": "AutotuningConfig", +"description": "Optional. Autotuning configuration of the workload." +}, +"cohort": { +"description": "Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.", +"type": "string" +}, +"containerImage": { +"description": "Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, which are used to configure workload execution.", +"type": "object" +}, +"repositoryConfig": { +"$ref": "RepositoryConfig", +"description": "Optional. Dependency repository configuration." +}, +"version": { +"description": "Optional. Version of the batch runtime.", +"type": "string" +} +}, +"type": "object" +}, +"RuntimeInfo": { +"description": "Runtime information about workload execution.", +"id": "RuntimeInfo", +"properties": { +"approximateUsage": { +"$ref": "UsageMetrics", +"description": "Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes (https://cloud.google.com/dataproc-serverless/docs/release-notes) for announcements, changes, fixes and other Dataproc developments).", +"readOnly": true +}, +"currentUsage": { +"$ref": "UsageSnapshot", +"description": "Output only. Snapshot of current workload resource usage.", +"readOnly": true +}, +"diagnosticOutputUri": { +"description": "Output only. A URI pointing to the location of the diagnostics tarball.", +"readOnly": true, +"type": "string" +}, +"endpoints": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.", +"readOnly": true, +"type": "object" +}, +"outputUri": { +"description": "Output only. A URI pointing to the location of the stdout and stderr of the workload.", +"readOnly": true, +"type": "string" +}, +"propertiesInfo": { +"$ref": "PropertiesInfo", +"description": "Optional. Properties of the workload organized by origin." +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationExecutorStageSummaryResponse": { +"description": "List of Executors associated with a Spark Application Stage.", +"id": "SearchSessionSparkApplicationExecutorStageSummaryResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorStageSummaryRequest.", +"type": "string" +}, +"sparkApplicationStageExecutors": { +"description": "Details about executors used by the application stage.", +"items": { +"$ref": "ExecutorStageSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationExecutorsResponse": { +"description": "List of Executors associated with a Spark Application.", +"id": "SearchSessionSparkApplicationExecutorsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorsRequest.", +"type": "string" +}, +"sparkApplicationExecutors": { +"description": "Details about executors used by the application.", +"items": { +"$ref": "ExecutorSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationJobsResponse": { +"description": "A list of Jobs associated with a Spark Application.", +"id": "SearchSessionSparkApplicationJobsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationJobsRequest.", +"type": "string" +}, +"sparkApplicationJobs": { +"description": "Output only. Data corresponding to a spark job.", +"items": { +"$ref": "JobData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationSqlQueriesResponse": { +"description": "List of all queries for a Spark Application.", +"id": "SearchSessionSparkApplicationSqlQueriesResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest.", +"type": "string" +}, +"sparkApplicationSqlQueries": { +"description": "Output only. SQL Execution Data", +"items": { +"$ref": "SqlExecutionUiData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationStageAttemptTasksResponse": { +"description": "List of tasks for a stage of a Spark Application", +"id": "SearchSessionSparkApplicationStageAttemptTasksResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptTasksRequest.", +"type": "string" +}, +"sparkApplicationStageAttemptTasks": { +"description": "Output only. Data corresponding to tasks created by spark.", +"items": { +"$ref": "TaskData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationStageAttemptsResponse": { +"description": "A list of Stage Attempts for a Stage of a Spark Application.", +"id": "SearchSessionSparkApplicationStageAttemptsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptsRequest.", +"type": "string" +}, +"sparkApplicationStageAttempts": { +"description": "Output only. Data corresponding to a stage attempts", +"items": { +"$ref": "StageData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationStagesResponse": { +"description": "A list of stages associated with a Spark Application.", +"id": "SearchSessionSparkApplicationStagesResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStages.", +"type": "string" +}, +"sparkApplicationStages": { +"description": "Output only. Data corresponding to a stage.", +"items": { +"$ref": "StageData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSessionSparkApplicationsResponse": { +"description": "A list of summary of Spark Applications", +"id": "SearchSessionSparkApplicationsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationsRequest.", +"type": "string" +}, +"sparkApplications": { +"description": "Output only. High level information corresponding to an application.", +"items": { +"$ref": "SparkApplication" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationExecutorStageSummaryResponse": { +"description": "List of Executors associated with a Spark Application Stage.", +"id": "SearchSparkApplicationExecutorStageSummaryResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest.", +"type": "string" +}, +"sparkApplicationStageExecutors": { +"description": "Details about executors used by the application stage.", +"items": { +"$ref": "ExecutorStageSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationExecutorsResponse": { +"description": "List of Executors associated with a Spark Application.", +"id": "SearchSparkApplicationExecutorsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest.", +"type": "string" +}, +"sparkApplicationExecutors": { +"description": "Details about executors used by the application.", +"items": { +"$ref": "ExecutorSummary" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationJobsResponse": { +"description": "A list of Jobs associated with a Spark Application.", +"id": "SearchSparkApplicationJobsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationJobsRequest.", +"type": "string" +}, +"sparkApplicationJobs": { +"description": "Output only. Data corresponding to a spark job.", +"items": { +"$ref": "JobData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationSqlQueriesResponse": { +"description": "List of all queries for a Spark Application.", +"id": "SearchSparkApplicationSqlQueriesResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationSqlQueriesRequest.", +"type": "string" +}, +"sparkApplicationSqlQueries": { +"description": "Output only. SQL Execution Data", +"items": { +"$ref": "SqlExecutionUiData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationStageAttemptTasksResponse": { +"description": "List of tasks for a stage of a Spark Application", +"id": "SearchSparkApplicationStageAttemptTasksResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptTasksRequest.", +"type": "string" +}, +"sparkApplicationStageAttemptTasks": { +"description": "Output only. Data corresponding to tasks created by spark.", +"items": { +"$ref": "TaskData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationStageAttemptsResponse": { +"description": "A list of Stage Attempts for a Stage of a Spark Application.", +"id": "SearchSparkApplicationStageAttemptsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptsRequest.", +"type": "string" +}, +"sparkApplicationStageAttempts": { +"description": "Output only. Data corresponding to a stage attempts", +"items": { +"$ref": "StageData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationStagesResponse": { +"description": "A list of stages associated with a Spark Application.", +"id": "SearchSparkApplicationStagesResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationStages.", +"type": "string" +}, +"sparkApplicationStages": { +"description": "Output only. Data corresponding to a stage.", +"items": { +"$ref": "StageData" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SearchSparkApplicationsResponse": { +"description": "A list of summary of Spark Applications", +"id": "SearchSparkApplicationsResponse", +"properties": { +"nextPageToken": { +"description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationsRequest.", +"type": "string" +}, +"sparkApplications": { +"description": "Output only. High level information corresponding to an application.", +"items": { +"$ref": "SparkApplication" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SecurityConfig": { +"description": "Security related configuration, including encryption, Kerberos, etc.", +"id": "SecurityConfig", +"properties": { +"identityConfig": { +"$ref": "IdentityConfig", +"description": "Optional. Identity related configuration, including service account based secure multi-tenancy user mappings." +}, +"kerberosConfig": { +"$ref": "KerberosConfig", +"description": "Optional. Kerberos related configuration." +} +}, +"type": "object" +}, +"Session": { +"description": "A representation of a session.", +"id": "Session", +"properties": { +"createTime": { +"description": "Output only. The time when the session was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The email address of the user who created the session.", +"readOnly": true, +"type": "string" +}, +"environmentConfig": { +"$ref": "EnvironmentConfig", +"description": "Optional. Environment configuration for the session execution." +}, +"jupyterSession": { +"$ref": "JupyterConfig", +"description": "Optional. Jupyter session config." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the session.", +"type": "string" +}, +"runtimeConfig": { +"$ref": "RuntimeConfig", +"description": "Optional. Runtime configuration for the session execution." +}, +"runtimeInfo": { +"$ref": "RuntimeInfo", +"description": "Output only. Runtime information about session execution.", +"readOnly": true +}, +"sessionTemplate": { +"description": "Optional. The session template used by the session.Only resource names, including project ID and location, are valid.Example: * https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id] * projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]The template must be in the same project and Dataproc region as the session.", +"type": "string" +}, +"sparkConnectSession": { +"$ref": "SparkConnectConfig", +"description": "Optional. Spark connect session config." +}, +"state": { +"description": "Output only. A state of the session.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"TERMINATING", +"TERMINATED", +"FAILED" +], +"enumDescriptions": [ +"The session state is unknown.", +"The session is created prior to running.", +"The session is running.", +"The session is terminating.", +"The session is terminated successfully.", +"The session is no longer running due to an error." +], +"readOnly": true, +"type": "string" +}, +"stateHistory": { +"description": "Output only. Historical state information for the session.", +"items": { +"$ref": "SessionStateHistory" +}, +"readOnly": true, +"type": "array" +}, +"stateMessage": { +"description": "Output only. Session state details, such as the failure description if the state is FAILED.", +"readOnly": true, +"type": "string" +}, +"stateTime": { +"description": "Output only. The time when the session entered the current state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"user": { +"description": "Optional. The email address of the user who owns the session.", +"type": "string" +}, +"uuid": { +"description": "Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SessionOperationMetadata": { +"description": "Metadata describing the Session operation.", +"id": "SessionOperationMetadata", +"properties": { +"createTime": { +"description": "The time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Short description of the operation.", +"type": "string" +}, +"doneTime": { +"description": "The time when the operation was finished.", +"format": "google-datetime", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with the operation.", +"type": "object" +}, +"operationType": { +"description": "The operation type.", +"enum": [ +"SESSION_OPERATION_TYPE_UNSPECIFIED", +"CREATE", +"TERMINATE", +"DELETE" +], +"enumDescriptions": [ +"Session operation type is unknown.", +"Create Session operation type.", +"Terminate Session operation type.", +"Delete Session operation type." +], +"type": "string" +}, +"session": { +"description": "Name of the session for the operation.", +"type": "string" +}, +"sessionUuid": { +"description": "Session UUID for the operation.", +"type": "string" +}, +"warnings": { +"description": "Warnings encountered during operation execution.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SessionStateHistory": { +"description": "Historical state information.", +"id": "SessionStateHistory", +"properties": { +"state": { +"description": "Output only. The state of the session at this point in the session history.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"TERMINATING", +"TERMINATED", +"FAILED" +], +"enumDescriptions": [ +"The session state is unknown.", +"The session is created prior to running.", +"The session is running.", +"The session is terminating.", +"The session is terminated successfully.", +"The session is no longer running due to an error." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Details about the state at this point in the session history.", +"readOnly": true, +"type": "string" +}, +"stateStartTime": { +"description": "Output only. The time when the session entered the historical state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SessionTemplate": { +"description": "A representation of a session template.", +"id": "SessionTemplate", +"properties": { +"createTime": { +"description": "Output only. The time when the template was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. The email address of the user who created the template.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Brief description of the template.", +"type": "string" +}, +"environmentConfig": { +"$ref": "EnvironmentConfig", +"description": "Optional. Environment configuration for session execution." +}, +"jupyterSession": { +"$ref": "JupyterConfig", +"description": "Optional. Jupyter session config." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.", +"type": "object" +}, +"name": { +"description": "Required. Identifier. The resource name of the session template.", +"type": "string" +}, +"runtimeConfig": { +"$ref": "RuntimeConfig", +"description": "Optional. Runtime configuration for session execution." +}, +"sparkConnectSession": { +"$ref": "SparkConnectConfig", +"description": "Optional. Spark connect session config." +}, +"updateTime": { +"description": "Output only. The time the template was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uuid": { +"description": "Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.", +"readOnly": true, +"type": "string" +} +}, +"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." +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm).", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Optional. Defines whether instances have integrity monitoring enabled.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Optional. Defines whether instances have Secure Boot enabled.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Optional. Defines whether instances have the vTPM enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"ShufflePushReadMetrics": { +"id": "ShufflePushReadMetrics", +"properties": { +"corruptMergedBlockChunks": { +"format": "int64", +"type": "string" +}, +"localMergedBlocksFetched": { +"format": "int64", +"type": "string" +}, +"localMergedBytesRead": { +"format": "int64", +"type": "string" +}, +"localMergedChunksFetched": { +"format": "int64", +"type": "string" +}, +"mergedFetchFallbackCount": { +"format": "int64", +"type": "string" +}, +"remoteMergedBlocksFetched": { +"format": "int64", +"type": "string" +}, +"remoteMergedBytesRead": { +"format": "int64", +"type": "string" +}, +"remoteMergedChunksFetched": { +"format": "int64", +"type": "string" +}, +"remoteMergedReqsDuration": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ShufflePushReadQuantileMetrics": { +"id": "ShufflePushReadQuantileMetrics", +"properties": { +"corruptMergedBlockChunks": { +"$ref": "Quantiles" +}, +"localMergedBlocksFetched": { +"$ref": "Quantiles" +}, +"localMergedBytesRead": { +"$ref": "Quantiles" +}, +"localMergedChunksFetched": { +"$ref": "Quantiles" +}, +"mergedFetchFallbackCount": { +"$ref": "Quantiles" +}, +"remoteMergedBlocksFetched": { +"$ref": "Quantiles" +}, +"remoteMergedBytesRead": { +"$ref": "Quantiles" +}, +"remoteMergedChunksFetched": { +"$ref": "Quantiles" +}, +"remoteMergedReqsDuration": { +"$ref": "Quantiles" +} +}, +"type": "object" +}, +"ShuffleReadMetrics": { +"description": "Shuffle data read by the task.", +"id": "ShuffleReadMetrics", +"properties": { +"fetchWaitTimeMillis": { +"format": "int64", +"type": "string" +}, +"localBlocksFetched": { +"format": "int64", +"type": "string" +}, +"localBytesRead": { +"format": "int64", +"type": "string" +}, +"recordsRead": { +"format": "int64", +"type": "string" +}, +"remoteBlocksFetched": { +"format": "int64", +"type": "string" +}, +"remoteBytesRead": { +"format": "int64", +"type": "string" +}, +"remoteBytesReadToDisk": { +"format": "int64", +"type": "string" +}, +"remoteReqsDuration": { +"format": "int64", +"type": "string" +}, +"shufflePushReadMetrics": { +"$ref": "ShufflePushReadMetrics" +} +}, +"type": "object" +}, +"ShuffleReadQuantileMetrics": { +"id": "ShuffleReadQuantileMetrics", +"properties": { +"fetchWaitTimeMillis": { +"$ref": "Quantiles" +}, +"localBlocksFetched": { +"$ref": "Quantiles" +}, +"readBytes": { +"$ref": "Quantiles" +}, +"readRecords": { +"$ref": "Quantiles" +}, +"remoteBlocksFetched": { +"$ref": "Quantiles" +}, +"remoteBytesRead": { +"$ref": "Quantiles" +}, +"remoteBytesReadToDisk": { +"$ref": "Quantiles" +}, +"remoteReqsDuration": { +"$ref": "Quantiles" +}, +"shufflePushReadMetrics": { +"$ref": "ShufflePushReadQuantileMetrics" +}, +"totalBlocksFetched": { +"$ref": "Quantiles" +} +}, +"type": "object" +}, +"ShuffleWriteMetrics": { +"description": "Shuffle data written by task.", +"id": "ShuffleWriteMetrics", +"properties": { +"bytesWritten": { +"format": "int64", +"type": "string" +}, +"recordsWritten": { +"format": "int64", +"type": "string" +}, +"writeTimeNanos": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ShuffleWriteQuantileMetrics": { +"id": "ShuffleWriteQuantileMetrics", +"properties": { +"writeBytes": { +"$ref": "Quantiles" +}, +"writeRecords": { +"$ref": "Quantiles" +}, +"writeTimeNanos": { +"$ref": "Quantiles" +} +}, +"type": "object" +}, +"SinkProgress": { +"id": "SinkProgress", +"properties": { +"description": { +"type": "string" +}, +"metrics": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"numOutputRows": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SoftwareConfig": { +"description": "Specifies the selection and config of software inside the cluster.", +"id": "SoftwareConfig", +"properties": { +"imageVersion": { +"description": "Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported-dataproc-image-versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.", +"type": "string" +}, +"optionalComponents": { +"description": "Optional. The set of components to activate on the cluster.", +"items": { +"enum": [ +"COMPONENT_UNSPECIFIED", +"ANACONDA", +"DELTA", +"DOCKER", +"DRUID", +"FLINK", +"HBASE", +"HIVE_WEBHCAT", +"HUDI", +"ICEBERG", +"JUPYTER", +"PIG", +"PRESTO", +"TRINO", +"RANGER", +"SOLR", +"ZEPPELIN", +"ZOOKEEPER", +"JUPYTER_KERNEL_GATEWAY" +], +"enumDescriptions": [ +"Unspecified component. Specifying this will cause Cluster creation to fail.", +"The Anaconda component is no longer supported or applicable to supported Dataproc on Compute Engine image versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-version-clusters#supported-dataproc-image-versions). It cannot be activated on clusters created with supported Dataproc on Compute Engine image versions.", +"Delta Lake.", +"Docker", +"The Druid query engine. (alpha)", +"Flink", +"HBase. (beta)", +"The Hive Web HCatalog (the REST service for accessing HCatalog).", +"Hudi.", +"Iceberg.", +"The Jupyter Notebook.", +"The Pig component.", +"The Presto query engine.", +"The Trino query engine.", +"The Ranger service.", +"The Solr service.", +"The Zeppelin notebook.", +"The Zookeeper service.", +"The Jupyter Kernel Gateway." +], +"type": "string" +}, +"type": "array" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).", +"type": "object" +} +}, +"type": "object" +}, +"SourceProgress": { +"id": "SourceProgress", +"properties": { +"description": { +"type": "string" +}, +"endOffset": { +"type": "string" +}, +"inputRowsPerSecond": { +"format": "double", +"type": "number" +}, +"latestOffset": { +"type": "string" +}, +"metrics": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"numInputRows": { +"format": "int64", +"type": "string" +}, +"processedRowsPerSecond": { +"format": "double", +"type": "number" +}, +"startOffset": { +"type": "string" +} +}, +"type": "object" +}, +"SparkApplication": { +"description": "A summary of Spark Application", +"id": "SparkApplication", +"properties": { +"application": { +"$ref": "ApplicationInfo", +"description": "Output only. High level information corresponding to an application.", +"readOnly": true +}, +"name": { +"description": "Identifier. Name of the spark application", +"type": "string" +} +}, +"type": "object" +}, +"SparkBatch": { +"description": "A configuration for running an Apache Spark (https://spark.apache.org/) batch workload.", +"id": "SparkBatch", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mainClass": { +"description": "Optional. The name of the driver main class. The jar file that contains the class must be in the classpath or specified in jar_file_uris.", +"type": "string" +}, +"mainJarFileUri": { +"description": "Optional. The HCFS URI of the jar file that contains the main class.", +"type": "string" +} +}, +"type": "object" +}, +"SparkConnectConfig": { +"description": "Spark connect configuration for an interactive session.", +"id": "SparkConnectConfig", +"properties": {}, +"type": "object" +}, +"SparkConnectExecutionInfo": { +"description": "Represents the lifecycle and details of an Execution via Spark Connect", +"id": "SparkConnectExecutionInfo", +"properties": { +"closeTimestamp": { +"description": "Timestamp when the execution was closed.", +"format": "int64", +"type": "string" +}, +"detail": { +"description": "Detailed information about the execution.", +"type": "string" +}, +"finishTimestamp": { +"description": "Timestamp when the execution finished.", +"format": "int64", +"type": "string" +}, +"jobIds": { +"description": "Optional. List of job ids associated with the execution.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jobTag": { +"description": "Required. Job tag of the execution.", +"type": "string" +}, +"operationId": { +"description": "Unique identifier for the operation.", +"type": "string" +}, +"sessionId": { +"description": "Required. Session ID, ties the execution to a specific Spark Connect session.", +"type": "string" +}, +"sparkSessionTags": { +"description": "Optional. Tags associated with the Spark session.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sqlExecIds": { +"description": "Optional. List of sql execution ids associated with the execution.", +"items": { +"type": "string" +}, +"type": "array" +}, +"startTimestamp": { +"description": "Timestamp when the execution started.", +"format": "int64", +"type": "string" +}, +"state": { +"description": "Output only. Current state of the execution.", +"enum": [ +"EXECUTION_STATE_UNKNOWN", +"EXECUTION_STATE_STARTED", +"EXECUTION_STATE_COMPILED", +"EXECUTION_STATE_READY", +"EXECUTION_STATE_CANCELED", +"EXECUTION_STATE_FAILED", +"EXECUTION_STATE_FINISHED", +"EXECUTION_STATE_CLOSED" +], +"enumDescriptions": [ +"Execution state is unknown.", +"Execution state is started.", +"Execution state is compiled.", +"Execution state is ready.", +"Execution state is canceled.", +"Execution state is failed.", +"Execution state is finished.", +"Execution state is closed." +], +"readOnly": true, +"type": "string" +}, +"statement": { +"description": "statement of the execution.", +"type": "string" +}, +"userId": { +"description": "User ID of the user who started the execution.", +"type": "string" +} +}, +"type": "object" +}, +"SparkConnectSessionInfo": { +"description": "Represents session-level information for Spark Connect", +"id": "SparkConnectSessionInfo", +"properties": { +"finishTimestamp": { +"description": "Timestamp when the session finished.", +"format": "int64", +"type": "string" +}, +"sessionId": { +"description": "Required. Session ID of the session.", +"type": "string" +}, +"startTimestamp": { +"description": "Timestamp when the session started.", +"format": "int64", +"type": "string" +}, +"totalExecution": { +"description": "Optional. Total number of executions in the session.", +"format": "int64", +"type": "string" +}, +"userId": { +"description": "User ID of the user who started the session.", +"type": "string" +} +}, +"type": "object" +}, +"SparkHistoryServerConfig": { +"description": "Spark History Server configuration for the workload.", +"id": "SparkHistoryServerConfig", +"properties": { +"dataprocCluster": { +"description": "Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]", +"type": "string" +} +}, +"type": "object" +}, +"SparkJob": { +"description": "A Dataproc job for running Apache Spark (https://spark.apache.org/) applications on YARN.", +"id": "SparkJob", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"mainClass": { +"description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar_file_uris.", +"type": "string" +}, +"mainJarFileUri": { +"description": "The HCFS URI of the jar file that contains the main class.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", +"type": "object" +} +}, +"type": "object" +}, +"SparkPlanGraph": { +"description": "A graph used for storing information of an executionPlan of DataFrame.", +"id": "SparkPlanGraph", +"properties": { +"edges": { +"items": { +"$ref": "SparkPlanGraphEdge" +}, +"type": "array" +}, +"executionId": { +"format": "int64", +"type": "string" +}, +"nodes": { +"items": { +"$ref": "SparkPlanGraphNodeWrapper" +}, +"type": "array" +} +}, +"type": "object" +}, +"SparkPlanGraphCluster": { +"description": "Represents a tree of spark plan.", +"id": "SparkPlanGraphCluster", +"properties": { +"desc": { +"type": "string" +}, +"metrics": { +"items": { +"$ref": "SqlPlanMetric" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"nodes": { +"items": { +"$ref": "SparkPlanGraphNodeWrapper" +}, +"type": "array" +}, +"sparkPlanGraphClusterId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SparkPlanGraphEdge": { +"description": "Represents a directed edge in the spark plan tree from child to parent.", +"id": "SparkPlanGraphEdge", +"properties": { +"fromId": { +"format": "int64", +"type": "string" +}, +"toId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SparkPlanGraphNode": { +"description": "Represents a node in the spark plan tree.", +"id": "SparkPlanGraphNode", +"properties": { +"desc": { +"type": "string" +}, +"metrics": { +"items": { +"$ref": "SqlPlanMetric" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"sparkPlanGraphNodeId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SparkPlanGraphNodeWrapper": { +"description": "Wrapper user to represent either a node or a cluster.", +"id": "SparkPlanGraphNodeWrapper", +"properties": { +"cluster": { +"$ref": "SparkPlanGraphCluster" +}, +"node": { +"$ref": "SparkPlanGraphNode" +} +}, +"type": "object" +}, +"SparkRBatch": { +"description": "A configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) batch workload.", +"id": "SparkRBatch", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mainRFileUri": { +"description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.", +"type": "string" +} +}, +"type": "object" +}, +"SparkRJob": { +"description": "A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN.", +"id": "SparkRJob", +"properties": { +"archiveUris": { +"description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.", +"items": { +"type": "string" +}, +"type": "array" +}, +"args": { +"description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fileUris": { +"description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"mainRFileUri": { +"description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R file.", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.", +"type": "object" +} +}, +"type": "object" +}, +"SparkRuntimeInfo": { +"id": "SparkRuntimeInfo", +"properties": { +"javaHome": { +"type": "string" +}, +"javaVersion": { +"type": "string" +}, +"scalaVersion": { +"type": "string" +} +}, +"type": "object" +}, +"SparkSqlBatch": { +"description": "A configuration for running Apache Spark SQL (https://spark.apache.org/sql/) queries as a batch workload.", +"id": "SparkSqlBatch", +"properties": { +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryFileUri": { +"description": "Required. The HCFS URI of the script that contains Spark SQL queries to execute.", +"type": "string" +}, +"queryVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", +"type": "object" +} +}, +"type": "object" +}, +"SparkSqlJob": { +"description": "A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/) queries.", +"id": "SparkSqlJob", +"properties": { +"jarFileUris": { +"description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API might be overwritten.", +"type": "object" +}, +"queryFileUri": { +"description": "The HCFS URI of the script that contains SQL queries.", +"type": "string" +}, +"queryList": { +"$ref": "QueryList", +"description": "A list of queries." +}, +"scriptVariables": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", +"type": "object" +} +}, +"type": "object" +}, +"SparkStandaloneAutoscalingConfig": { +"description": "Basic autoscaling configurations for Spark Standalone.", +"id": "SparkStandaloneAutoscalingConfig", +"properties": { +"gracefulDecommissionTimeout": { +"description": "Required. Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d.", +"format": "google-duration", +"type": "string" +}, +"removeOnlyIdleWorkers": { +"description": "Optional. Remove only idle workers when scaling down cluster", +"type": "boolean" +}, +"scaleDownFactor": { +"description": "Required. Fraction of required executors to remove from Spark Serverless clusters. A scale-down factor of 1.0 will result in scaling down so that there are no more executors for the Spark Job.(more aggressive scaling). A scale-down factor closer to 0 will result in a smaller magnitude of scaling donw (less aggressive scaling).Bounds: 0.0, 1.0.", +"format": "double", +"type": "number" +}, +"scaleDownMinWorkerFraction": { +"description": "Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", +"format": "double", +"type": "number" +}, +"scaleUpFactor": { +"description": "Required. Fraction of required workers to add to Spark Standalone clusters. A scale-up factor of 1.0 will result in scaling up so that there are no more required workers for the Spark Job (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling).Bounds: 0.0, 1.0.", +"format": "double", +"type": "number" +}, +"scaleUpMinWorkerFraction": { +"description": "Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SparkWrapperObject": { +"description": "Outer message that contains the data obtained from spark listener, packaged with information that is required to process it.", +"id": "SparkWrapperObject", +"properties": { +"appSummary": { +"$ref": "AppSummary" +}, +"applicationEnvironmentInfo": { +"$ref": "ApplicationEnvironmentInfo" +}, +"applicationId": { +"description": "Application Id created by Spark.", +"type": "string" +}, +"applicationInfo": { +"$ref": "ApplicationInfo" +}, +"eventTimestamp": { +"description": "VM Timestamp associated with the data object.", +"format": "google-datetime", +"type": "string" +}, +"executorStageSummary": { +"$ref": "ExecutorStageSummary" +}, +"executorSummary": { +"$ref": "ExecutorSummary" +}, +"jobData": { +"$ref": "JobData" +}, +"nativeBuildInfoUiData": { +"$ref": "NativeBuildInfoUiData", +"description": "Native Build Info" +}, +"nativeSqlExecutionUiData": { +"$ref": "NativeSqlExecutionUiData", +"description": "Native SQL Execution Info" +}, +"poolData": { +"$ref": "PoolData" +}, +"processSummary": { +"$ref": "ProcessSummary" +}, +"rddOperationGraph": { +"$ref": "RddOperationGraph" +}, +"rddStorageInfo": { +"$ref": "RddStorageInfo" +}, +"resourceProfileInfo": { +"$ref": "ResourceProfileInfo" +}, +"sparkConnectExecutionInfo": { +"$ref": "SparkConnectExecutionInfo", +"description": "Spark Connect Execution Info" +}, +"sparkConnectSessionInfo": { +"$ref": "SparkConnectSessionInfo", +"description": "Spark Connect Session Info" +}, +"sparkPlanGraph": { +"$ref": "SparkPlanGraph" +}, +"speculationStageSummary": { +"$ref": "SpeculationStageSummary" +}, +"sqlExecutionUiData": { +"$ref": "SqlExecutionUiData" +}, +"stageData": { +"$ref": "StageData" +}, +"streamBlockData": { +"$ref": "StreamBlockData" +}, +"streamingQueryData": { +"$ref": "StreamingQueryData" +}, +"streamingQueryProgress": { +"$ref": "StreamingQueryProgress" +}, +"taskData": { +"$ref": "TaskData" +} +}, +"type": "object" +}, +"SpeculationStageSummary": { +"description": "Details of the speculation task when speculative execution is enabled.", +"id": "SpeculationStageSummary", +"properties": { +"numActiveTasks": { +"format": "int32", +"type": "integer" +}, +"numCompletedTasks": { +"format": "int32", +"type": "integer" +}, +"numFailedTasks": { +"format": "int32", +"type": "integer" +}, +"numKilledTasks": { +"format": "int32", +"type": "integer" +}, +"numTasks": { +"format": "int32", +"type": "integer" +}, +"stageAttemptId": { +"format": "int32", +"type": "integer" +}, +"stageId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SqlExecutionUiData": { +"description": "SQL Execution Data", +"id": "SqlExecutionUiData", +"properties": { +"completionTime": { +"format": "google-datetime", +"type": "string" +}, +"description": { +"type": "string" +}, +"details": { +"type": "string" +}, +"errorMessage": { +"type": "string" +}, +"executionId": { +"format": "int64", +"type": "string" +}, +"jobs": { +"additionalProperties": { +"enum": [ +"JOB_EXECUTION_STATUS_UNSPECIFIED", +"JOB_EXECUTION_STATUS_RUNNING", +"JOB_EXECUTION_STATUS_SUCCEEDED", +"JOB_EXECUTION_STATUS_FAILED", +"JOB_EXECUTION_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "object" +}, +"metricValues": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"metricValuesIsNull": { +"type": "boolean" +}, +"metrics": { +"items": { +"$ref": "SqlPlanMetric" +}, +"type": "array" +}, +"modifiedConfigs": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"physicalPlanDescription": { +"type": "string" +}, +"rootExecutionId": { +"format": "int64", +"type": "string" +}, +"stages": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"submissionTime": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"SqlPlanMetric": { +"description": "Metrics related to SQL execution.", +"id": "SqlPlanMetric", +"properties": { +"accumulatorId": { +"format": "int64", +"type": "string" +}, +"metricType": { +"type": "string" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"StageAttemptTasksSummary": { +"description": "Data related to tasks summary for a Spark Stage Attempt", +"id": "StageAttemptTasksSummary", +"properties": { +"applicationId": { +"type": "string" +}, +"numFailedTasks": { +"format": "int32", +"type": "integer" +}, +"numKilledTasks": { +"format": "int32", +"type": "integer" +}, +"numPendingTasks": { +"format": "int32", +"type": "integer" +}, +"numRunningTasks": { +"format": "int32", +"type": "integer" +}, +"numSuccessTasks": { +"format": "int32", +"type": "integer" +}, +"numTasks": { +"format": "int32", +"type": "integer" +}, +"stageAttemptId": { +"format": "int32", +"type": "integer" +}, +"stageId": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StageData": { +"description": "Data corresponding to a stage.", +"id": "StageData", +"properties": { +"accumulatorUpdates": { +"items": { +"$ref": "AccumulableInfo" +}, +"type": "array" +}, +"completionTime": { +"format": "google-datetime", +"type": "string" +}, +"description": { +"type": "string" +}, +"details": { +"type": "string" +}, +"executorMetricsDistributions": { +"$ref": "ExecutorMetricsDistributions" +}, +"executorSummary": { +"additionalProperties": { +"$ref": "ExecutorStageSummary" +}, +"type": "object" +}, +"failureReason": { +"type": "string" +}, +"firstTaskLaunchedTime": { +"format": "google-datetime", +"type": "string" +}, +"isShufflePushEnabled": { +"type": "boolean" +}, +"jobIds": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"killedTasksSummary": { +"additionalProperties": { +"format": "int32", +"type": "integer" +}, +"type": "object" +}, +"locality": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"numActiveTasks": { +"format": "int32", +"type": "integer" +}, +"numCompleteTasks": { +"format": "int32", +"type": "integer" +}, +"numCompletedIndices": { +"format": "int32", +"type": "integer" +}, +"numFailedTasks": { +"format": "int32", +"type": "integer" +}, +"numKilledTasks": { +"format": "int32", +"type": "integer" +}, +"numTasks": { +"format": "int32", +"type": "integer" +}, +"parentStageIds": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"peakExecutorMetrics": { +"$ref": "ExecutorMetrics" +}, +"rddIds": { +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"resourceProfileId": { +"format": "int32", +"type": "integer" +}, +"schedulingPool": { +"type": "string" +}, +"shuffleMergersCount": { +"format": "int32", +"type": "integer" +}, +"speculationSummary": { +"$ref": "SpeculationStageSummary" +}, +"stageAttemptId": { +"format": "int32", +"type": "integer" +}, +"stageId": { +"format": "int64", +"type": "string" +}, +"stageMetrics": { +"$ref": "StageMetrics" +}, +"status": { +"enum": [ +"STAGE_STATUS_UNSPECIFIED", +"STAGE_STATUS_ACTIVE", +"STAGE_STATUS_COMPLETE", +"STAGE_STATUS_FAILED", +"STAGE_STATUS_PENDING", +"STAGE_STATUS_SKIPPED" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"submissionTime": { +"format": "google-datetime", +"type": "string" +}, +"taskQuantileMetrics": { +"$ref": "TaskQuantileMetrics", +"description": "Summary metrics fields. These are included in response only if present in summary_metrics_mask field in request" +}, +"tasks": { +"additionalProperties": { +"$ref": "TaskData" +}, +"type": "object" +} +}, +"type": "object" +}, +"StageInputMetrics": { +"description": "Metrics about the input read by the stage.", +"id": "StageInputMetrics", +"properties": { +"bytesRead": { +"format": "int64", +"type": "string" +}, +"recordsRead": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StageMetrics": { +"description": "Stage Level Aggregated Metrics", +"id": "StageMetrics", +"properties": { +"diskBytesSpilled": { +"format": "int64", +"type": "string" +}, +"executorCpuTimeNanos": { +"format": "int64", +"type": "string" +}, +"executorDeserializeCpuTimeNanos": { +"format": "int64", +"type": "string" +}, +"executorDeserializeTimeMillis": { +"format": "int64", +"type": "string" +}, +"executorRunTimeMillis": { +"format": "int64", +"type": "string" +}, +"jvmGcTimeMillis": { +"format": "int64", +"type": "string" +}, +"memoryBytesSpilled": { +"format": "int64", +"type": "string" +}, +"peakExecutionMemoryBytes": { +"format": "int64", +"type": "string" +}, +"resultSerializationTimeMillis": { +"format": "int64", +"type": "string" +}, +"resultSize": { +"format": "int64", +"type": "string" +}, +"stageInputMetrics": { +"$ref": "StageInputMetrics" +}, +"stageOutputMetrics": { +"$ref": "StageOutputMetrics" +}, +"stageShuffleReadMetrics": { +"$ref": "StageShuffleReadMetrics" +}, +"stageShuffleWriteMetrics": { +"$ref": "StageShuffleWriteMetrics" +} +}, +"type": "object" +}, +"StageOutputMetrics": { +"description": "Metrics about the output written by the stage.", +"id": "StageOutputMetrics", +"properties": { +"bytesWritten": { +"format": "int64", +"type": "string" +}, +"recordsWritten": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StageShufflePushReadMetrics": { +"id": "StageShufflePushReadMetrics", +"properties": { +"corruptMergedBlockChunks": { +"format": "int64", +"type": "string" +}, +"localMergedBlocksFetched": { +"format": "int64", +"type": "string" +}, +"localMergedBytesRead": { +"format": "int64", +"type": "string" +}, +"localMergedChunksFetched": { +"format": "int64", +"type": "string" +}, +"mergedFetchFallbackCount": { +"format": "int64", +"type": "string" +}, +"remoteMergedBlocksFetched": { +"format": "int64", +"type": "string" +}, +"remoteMergedBytesRead": { +"format": "int64", +"type": "string" +}, +"remoteMergedChunksFetched": { +"format": "int64", +"type": "string" +}, +"remoteMergedReqsDuration": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StageShuffleReadMetrics": { +"description": "Shuffle data read for the stage.", +"id": "StageShuffleReadMetrics", +"properties": { +"bytesRead": { +"format": "int64", +"type": "string" +}, +"fetchWaitTimeMillis": { +"format": "int64", +"type": "string" +}, +"localBlocksFetched": { +"format": "int64", +"type": "string" +}, +"localBytesRead": { +"format": "int64", +"type": "string" +}, +"recordsRead": { +"format": "int64", +"type": "string" +}, +"remoteBlocksFetched": { +"format": "int64", +"type": "string" +}, +"remoteBytesRead": { +"format": "int64", +"type": "string" +}, +"remoteBytesReadToDisk": { +"format": "int64", +"type": "string" +}, +"remoteReqsDuration": { +"format": "int64", +"type": "string" +}, +"stageShufflePushReadMetrics": { +"$ref": "StageShufflePushReadMetrics" +} +}, +"type": "object" +}, +"StageShuffleWriteMetrics": { +"description": "Shuffle data written for the stage.", +"id": "StageShuffleWriteMetrics", +"properties": { +"bytesWritten": { +"format": "int64", +"type": "string" +}, +"recordsWritten": { +"format": "int64", +"type": "string" +}, +"writeTimeNanos": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StagesSummary": { +"description": "Data related to Stages page summary", +"id": "StagesSummary", +"properties": { +"applicationId": { +"type": "string" +}, +"numActiveStages": { +"format": "int32", +"type": "integer" +}, +"numCompletedStages": { +"format": "int32", +"type": "integer" +}, +"numFailedStages": { +"format": "int32", +"type": "integer" +}, +"numPendingStages": { +"format": "int32", +"type": "integer" +}, +"numSkippedStages": { +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"StartClusterRequest": { +"description": "A request to start a cluster.", +"id": "StartClusterRequest", +"properties": { +"clusterUuid": { +"description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"StartupConfig": { +"description": "Configuration to handle the startup of instances during cluster create and update process.", +"id": "StartupConfig", +"properties": { +"requiredRegistrationFraction": { +"description": "Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"StateHistory": { +"description": "Historical state information.", +"id": "StateHistory", +"properties": { +"state": { +"description": "Output only. The state of the batch at this point in history.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"CANCELLING", +"CANCELLED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The batch state is unknown.", +"The batch is created before running.", +"The batch is running.", +"The batch is cancelling.", +"The batch cancellation was successful.", +"The batch completed successfully.", +"The batch is no longer running due to an error." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Details about the state at this point in history.", +"readOnly": true, +"type": "string" +}, +"stateStartTime": { +"description": "Output only. The time when the batch entered the historical state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StateOperatorProgress": { +"id": "StateOperatorProgress", +"properties": { +"allRemovalsTimeMs": { +"format": "int64", +"type": "string" +}, +"allUpdatesTimeMs": { +"format": "int64", +"type": "string" +}, +"commitTimeMs": { +"format": "int64", +"type": "string" +}, +"customMetrics": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"type": "object" +}, +"memoryUsedBytes": { +"format": "int64", +"type": "string" +}, +"numRowsDroppedByWatermark": { +"format": "int64", +"type": "string" +}, +"numRowsRemoved": { +"format": "int64", +"type": "string" +}, +"numRowsTotal": { +"format": "int64", +"type": "string" +}, +"numRowsUpdated": { +"format": "int64", +"type": "string" +}, +"numShufflePartitions": { +"format": "int64", +"type": "string" +}, +"numStateStoreInstances": { +"format": "int64", +"type": "string" +}, +"operatorName": { +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopClusterRequest": { +"description": "A request to stop a cluster.", +"id": "StopClusterRequest", +"properties": { +"clusterUuid": { +"description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.", +"type": "string" +}, +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the server receives two StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"StreamBlockData": { +"description": "Stream Block Data.", +"id": "StreamBlockData", +"properties": { +"deserialized": { +"type": "boolean" +}, +"diskSize": { +"format": "int64", +"type": "string" +}, +"executorId": { +"type": "string" +}, +"hostPort": { +"type": "string" +}, +"memSize": { +"format": "int64", +"type": "string" +}, +"name": { +"type": "string" +}, +"storageLevel": { +"type": "string" +}, +"useDisk": { +"type": "boolean" +}, +"useMemory": { +"type": "boolean" +} +}, +"type": "object" +}, +"StreamingQueryData": { +"description": "Streaming", +"id": "StreamingQueryData", +"properties": { +"endTimestamp": { +"format": "int64", +"type": "string" +}, +"exception": { +"type": "string" +}, +"isActive": { +"type": "boolean" +}, +"name": { +"type": "string" +}, +"runId": { +"type": "string" +}, +"startTimestamp": { +"format": "int64", +"type": "string" +}, +"streamingQueryId": { +"type": "string" +} +}, +"type": "object" +}, +"StreamingQueryProgress": { +"id": "StreamingQueryProgress", +"properties": { +"batchDuration": { +"format": "int64", +"type": "string" +}, +"batchId": { +"format": "int64", +"type": "string" +}, +"durationMillis": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"type": "object" +}, +"eventTime": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +}, +"observedMetrics": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"runId": { +"type": "string" +}, +"sink": { +"$ref": "SinkProgress" +}, +"sources": { +"items": { +"$ref": "SourceProgress" +}, +"type": "array" +}, +"stateOperators": { +"items": { +"$ref": "StateOperatorProgress" +}, +"type": "array" +}, +"streamingQueryProgressId": { +"type": "string" +}, +"timestamp": { +"type": "string" +} +}, +"type": "object" +}, +"SubmitJobRequest": { +"description": "A request to submit a job.", +"id": "SubmitJobRequest", +"properties": { +"job": { +"$ref": "Job", +"description": "Required. The job resource." +}, +"requestId": { +"description": "Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"type": "string" +} +}, +"type": "object" +}, +"SummarizeSessionSparkApplicationExecutorsResponse": { +"description": "Consolidated summary of executors for a Spark Application.", +"id": "SummarizeSessionSparkApplicationExecutorsResponse", +"properties": { +"activeExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Consolidated summary for active executors." +}, +"applicationId": { +"description": "Spark Application Id", +"type": "string" +}, +"deadExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Consolidated summary for dead executors." +}, +"totalExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Overall consolidated summary for all executors." +} +}, +"type": "object" +}, +"SummarizeSessionSparkApplicationJobsResponse": { +"description": "Summary of a Spark Application jobs.", +"id": "SummarizeSessionSparkApplicationJobsResponse", +"properties": { +"jobsSummary": { +"$ref": "JobsSummary", +"description": "Summary of a Spark Application Jobs" +} +}, +"type": "object" +}, +"SummarizeSessionSparkApplicationStageAttemptTasksResponse": { +"description": "Summary of tasks for a Spark Application stage attempt.", +"id": "SummarizeSessionSparkApplicationStageAttemptTasksResponse", +"properties": { +"stageAttemptTasksSummary": { +"$ref": "StageAttemptTasksSummary", +"description": "Summary of tasks for a Spark Application Stage Attempt" +} +}, +"type": "object" +}, +"SummarizeSessionSparkApplicationStagesResponse": { +"description": "Summary of a Spark Application stages.", +"id": "SummarizeSessionSparkApplicationStagesResponse", +"properties": { +"stagesSummary": { +"$ref": "StagesSummary", +"description": "Summary of a Spark Application Stages" +} +}, +"type": "object" +}, +"SummarizeSparkApplicationExecutorsResponse": { +"description": "Consolidated summary of executors for a Spark Application.", +"id": "SummarizeSparkApplicationExecutorsResponse", +"properties": { +"activeExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Consolidated summary for active executors." +}, +"applicationId": { +"description": "Spark Application Id", +"type": "string" +}, +"deadExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Consolidated summary for dead executors." +}, +"totalExecutorSummary": { +"$ref": "ConsolidatedExecutorSummary", +"description": "Overall consolidated summary for all executors." +} +}, +"type": "object" +}, +"SummarizeSparkApplicationJobsResponse": { +"description": "Summary of a Spark Application jobs.", +"id": "SummarizeSparkApplicationJobsResponse", +"properties": { +"jobsSummary": { +"$ref": "JobsSummary", +"description": "Summary of a Spark Application Jobs" +} +}, +"type": "object" +}, +"SummarizeSparkApplicationStageAttemptTasksResponse": { +"description": "Summary of tasks for a Spark Application stage attempt.", +"id": "SummarizeSparkApplicationStageAttemptTasksResponse", +"properties": { +"stageAttemptTasksSummary": { +"$ref": "StageAttemptTasksSummary", +"description": "Summary of tasks for a Spark Application Stage Attempt" +} +}, +"type": "object" +}, +"SummarizeSparkApplicationStagesResponse": { +"description": "Summary of a Spark Application stages.", +"id": "SummarizeSparkApplicationStagesResponse", +"properties": { +"stagesSummary": { +"$ref": "StagesSummary", +"description": "Summary of a Spark Application Stages" +} +}, +"type": "object" +}, +"TaskData": { +"description": "Data corresponding to tasks created by spark.", +"id": "TaskData", +"properties": { +"accumulatorUpdates": { +"items": { +"$ref": "AccumulableInfo" +}, +"type": "array" +}, +"attempt": { +"format": "int32", +"type": "integer" +}, +"durationMillis": { +"format": "int64", +"type": "string" +}, +"errorMessage": { +"type": "string" +}, +"executorId": { +"type": "string" +}, +"executorLogs": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"gettingResultTimeMillis": { +"format": "int64", +"type": "string" +}, +"hasMetrics": { +"type": "boolean" +}, +"host": { +"type": "string" +}, +"index": { +"format": "int32", +"type": "integer" +}, +"launchTime": { +"format": "google-datetime", +"type": "string" +}, +"partitionId": { +"format": "int32", +"type": "integer" +}, +"resultFetchStart": { +"format": "google-datetime", +"type": "string" +}, +"schedulerDelayMillis": { +"format": "int64", +"type": "string" +}, +"speculative": { +"type": "boolean" +}, +"stageAttemptId": { +"format": "int32", +"type": "integer" +}, +"stageId": { +"format": "int64", +"type": "string" +}, +"status": { +"type": "string" +}, +"taskId": { +"format": "int64", +"type": "string" +}, +"taskLocality": { +"type": "string" +}, +"taskMetrics": { +"$ref": "TaskMetrics" +} +}, +"type": "object" +}, +"TaskMetrics": { +"description": "Executor Task Metrics", +"id": "TaskMetrics", +"properties": { +"diskBytesSpilled": { +"format": "int64", +"type": "string" +}, +"executorCpuTimeNanos": { +"format": "int64", +"type": "string" +}, +"executorDeserializeCpuTimeNanos": { +"format": "int64", +"type": "string" +}, +"executorDeserializeTimeMillis": { +"format": "int64", +"type": "string" +}, +"executorRunTimeMillis": { +"format": "int64", +"type": "string" +}, +"inputMetrics": { +"$ref": "InputMetrics" +}, +"jvmGcTimeMillis": { +"format": "int64", +"type": "string" +}, +"memoryBytesSpilled": { +"format": "int64", +"type": "string" +}, +"outputMetrics": { +"$ref": "OutputMetrics" +}, +"peakExecutionMemoryBytes": { +"format": "int64", +"type": "string" +}, +"resultSerializationTimeMillis": { +"format": "int64", +"type": "string" +}, +"resultSize": { +"format": "int64", +"type": "string" +}, +"shuffleReadMetrics": { +"$ref": "ShuffleReadMetrics" +}, +"shuffleWriteMetrics": { +"$ref": "ShuffleWriteMetrics" +} +}, +"type": "object" +}, +"TaskQuantileMetrics": { +"id": "TaskQuantileMetrics", +"properties": { +"diskBytesSpilled": { +"$ref": "Quantiles" +}, +"durationMillis": { +"$ref": "Quantiles" +}, +"executorCpuTimeNanos": { +"$ref": "Quantiles" +}, +"executorDeserializeCpuTimeNanos": { +"$ref": "Quantiles" +}, +"executorDeserializeTimeMillis": { +"$ref": "Quantiles" +}, +"executorRunTimeMillis": { +"$ref": "Quantiles" +}, +"gettingResultTimeMillis": { +"$ref": "Quantiles" +}, +"inputMetrics": { +"$ref": "InputQuantileMetrics" +}, +"jvmGcTimeMillis": { +"$ref": "Quantiles" +}, +"memoryBytesSpilled": { +"$ref": "Quantiles" +}, +"outputMetrics": { +"$ref": "OutputQuantileMetrics" +}, +"peakExecutionMemoryBytes": { +"$ref": "Quantiles" +}, +"resultSerializationTimeMillis": { +"$ref": "Quantiles" +}, +"resultSize": { +"$ref": "Quantiles" +}, +"schedulerDelayMillis": { +"$ref": "Quantiles" +}, +"shuffleReadMetrics": { +"$ref": "ShuffleReadQuantileMetrics" +}, +"shuffleWriteMetrics": { +"$ref": "ShuffleWriteQuantileMetrics" +} +}, +"type": "object" +}, +"TaskResourceRequest": { +"description": "Resources used per task created by the application.", +"id": "TaskResourceRequest", +"properties": { +"amount": { +"format": "double", +"type": "number" +}, +"resourceName": { +"type": "string" +} +}, +"type": "object" +}, +"TemplateParameter": { +"description": "A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)", +"id": "TemplateParameter", +"properties": { +"description": { +"description": "Optional. Brief description of the parameter. Must not exceed 1024 characters.", +"type": "string" +}, +"fields": { +"description": "Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter's list of field paths.A field path is similar in syntax to a google.protobuf.FieldMask. For example, a field path that references the zone field of a workflow template's cluster selector would be specified as placement.clusterSelector.zone.Also, field paths can reference fields using the following syntax: Values in maps can be referenced by key: labels'key' placement.clusterSelector.clusterLabels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zoneIt may not be possible to parameterize maps and repeated fields in their entirety since only individual map values and individual items in repeated fields can be referenced. For example, the following field paths are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.args", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.", +"type": "string" +}, +"validation": { +"$ref": "ParameterValidation", +"description": "Optional. Validation rules to be applied to this parameter's value." +} +}, +"type": "object" +}, +"TerminateSessionRequest": { +"description": "A request to terminate an interactive session.", +"id": "TerminateSessionRequest", +"properties": { +"requestId": { +"description": "Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.", +"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" +}, +"TrinoJob": { +"description": "A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster.", +"id": "TrinoJob", +"properties": { +"clientTags": { +"description": "Optional. Trino client tags to attach to this query", +"items": { +"type": "string" +}, +"type": "array" +}, +"continueOnFailure": { +"description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.", +"type": "boolean" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. The runtime log config for job execution." +}, +"outputFormat": { +"description": "Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of property names to values. Used to set Trino session properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI", +"type": "object" +}, +"queryFileUri": { +"description": "The HCFS URI of the script that contains SQL queries.", +"type": "string" +}, +"queryList": { +"$ref": "QueryList", +"description": "A list of queries." +} +}, +"type": "object" +}, +"UsageMetrics": { +"description": "Usage metrics represent approximate total resources consumed by a workload.", +"id": "UsageMetrics", +"properties": { +"acceleratorType": { +"description": "Optional. DEPRECATED Accelerator type being used, if any", +"type": "string" +}, +"milliAcceleratorSeconds": { +"description": "Optional. DEPRECATED Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", +"format": "int64", +"type": "string" +}, +"milliDcuSeconds": { +"description": "Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", +"format": "int64", +"type": "string" +}, +"shuffleStorageGbSeconds": { +"description": "Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Optional. The timestamp of the usage metrics.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"UsageSnapshot": { +"description": "The usage snapshot represents the resources consumed by a workload at a specified time.", +"id": "UsageSnapshot", +"properties": { +"acceleratorType": { +"description": "Optional. Accelerator type being used, if any", +"type": "string" +}, +"milliAccelerator": { +"description": "Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))", +"format": "int64", +"type": "string" +}, +"milliDcu": { +"description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", +"format": "int64", +"type": "string" +}, +"milliDcuPremium": { +"description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", +"format": "int64", +"type": "string" +}, +"shuffleStorageGb": { +"description": "Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))", +"format": "int64", +"type": "string" +}, +"shuffleStorageGbPremium": { +"description": "Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))", +"format": "int64", +"type": "string" +}, +"snapshotTime": { +"description": "Optional. The timestamp of the usage snapshot.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ValueInfo": { +"description": "Annotatated property value.", +"id": "ValueInfo", +"properties": { +"annotation": { +"description": "Annotation, comment or explanation why the property was set.", +"type": "string" +}, +"overriddenValue": { +"description": "Optional. Value which was replaced by the corresponding component.", +"type": "string" +}, +"value": { +"description": "Property value.", +"type": "string" +} +}, +"type": "object" +}, +"ValueValidation": { +"description": "Validation based on a list of allowed values.", +"id": "ValueValidation", +"properties": { +"values": { +"description": "Required. List of allowed values for the parameter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VirtualClusterConfig": { +"description": "The Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).", +"id": "VirtualClusterConfig", +"properties": { +"auxiliaryServicesConfig": { +"$ref": "AuxiliaryServicesConfig", +"description": "Optional. Configuration of auxiliary services used by this cluster." +}, +"kubernetesClusterConfig": { +"$ref": "KubernetesClusterConfig", +"description": "Required. The configuration for running the Dataproc cluster on Kubernetes." +}, +"stagingBucket": { +"description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.", +"type": "string" +} +}, +"type": "object" +}, +"WorkflowGraph": { +"description": "The workflow graph.", +"id": "WorkflowGraph", +"properties": { +"nodes": { +"description": "Output only. The workflow nodes.", +"items": { +"$ref": "WorkflowNode" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"WorkflowMetadata": { +"description": "A Dataproc workflow template resource.", +"id": "WorkflowMetadata", +"properties": { +"clusterName": { +"description": "Output only. The name of the target cluster.", +"readOnly": true, +"type": "string" +}, +"clusterUuid": { +"description": "Output only. The UUID of target cluster.", +"readOnly": true, +"type": "string" +}, +"createCluster": { +"$ref": "ClusterOperation", +"description": "Output only. The create cluster operation metadata.", +"readOnly": true +}, +"dagEndTime": { +"description": "Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dagStartTime": { +"description": "Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dagTimeout": { +"description": "Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"deleteCluster": { +"$ref": "ClusterOperation", +"description": "Output only. The delete cluster operation metadata.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Workflow end time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"graph": { +"$ref": "WorkflowGraph", +"description": "Output only. The workflow graph.", +"readOnly": true +}, +"parameters": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from parameter names to values that were used for those parameters.", +"type": "object" +}, +"startTime": { +"description": "Output only. Workflow start time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The workflow state.", +"enum": [ +"UNKNOWN", +"PENDING", +"RUNNING", +"DONE" +], +"enumDescriptions": [ +"Unused.", +"The operation has been created.", +"The operation is running.", +"The operation is done; either cancelled or completed." +], +"readOnly": true, +"type": "string" +}, +"template": { +"description": "Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Output only. The version of template at the time of workflow instantiation.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"WorkflowNode": { +"description": "The workflow node.", +"id": "WorkflowNode", +"properties": { +"error": { +"description": "Output only. The error detail.", +"readOnly": true, +"type": "string" +}, +"jobId": { +"description": "Output only. The job id; populated after the node enters RUNNING state.", +"readOnly": true, +"type": "string" +}, +"prerequisiteStepIds": { +"description": "Output only. Node's prerequisite nodes.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The node state.", +"enum": [ +"NODE_STATE_UNSPECIFIED", +"BLOCKED", +"RUNNABLE", +"RUNNING", +"COMPLETED", +"FAILED" +], +"enumDescriptions": [ +"State is unspecified.", +"The node is awaiting prerequisite node to finish.", +"The node is runnable but not running.", +"The node is running.", +"The node completed successfully.", +"The node failed. A node can be marked FAILED because its ancestor or peer failed." +], +"readOnly": true, +"type": "string" +}, +"stepId": { +"description": "Output only. The name of the node.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"WorkflowTemplate": { +"description": "A Dataproc workflow template resource.", +"id": "WorkflowTemplate", +"properties": { +"createTime": { +"description": "Output only. The time template was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dagTimeout": { +"description": "Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.", +"format": "google-duration", +"type": "string" +}, +"encryptionConfig": { +"$ref": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig", +"description": "Optional. Encryption settings for encrypting workflow template job arguments." +}, +"id": { +"type": "string" +}, +"jobs": { +"description": "Required. The Directed Acyclic Graph of Jobs to submit.", +"items": { +"$ref": "OrderedJob" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template.", +"type": "object" +}, +"name": { +"description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}", +"readOnly": true, +"type": "string" +}, +"parameters": { +"description": "Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.", +"items": { +"$ref": "TemplateParameter" +}, +"type": "array" +}, +"placement": { +"$ref": "WorkflowTemplatePlacement", +"description": "Required. WorkflowTemplate scheduling information." +}, +"updateTime": { +"description": "Output only. The time template was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"WorkflowTemplatePlacement": { +"description": "Specifies workflow execution target.Either managed_cluster or cluster_selector is required.", +"id": "WorkflowTemplatePlacement", +"properties": { +"clusterSelector": { +"$ref": "ClusterSelector", +"description": "Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted." +}, +"managedCluster": { +"$ref": "ManagedCluster", +"description": "A cluster that is managed by the workflow." +} +}, +"type": "object" +}, +"WriteSessionSparkApplicationContextRequest": { +"description": "Write Spark Application data to internal storage systems", +"id": "WriteSessionSparkApplicationContextRequest", +"properties": { +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"type": "string" +}, +"sparkWrapperObjects": { +"description": "Required. The batch of spark application context objects sent for ingestion.", +"items": { +"$ref": "SparkWrapperObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteSessionSparkApplicationContextResponse": { +"description": "Response returned as an acknowledgement of receipt of data.", +"id": "WriteSessionSparkApplicationContextResponse", +"properties": {}, +"type": "object" +}, +"WriteSparkApplicationContextRequest": { +"description": "Write Spark Application data to internal storage systems", +"id": "WriteSparkApplicationContextRequest", +"properties": { +"parent": { +"description": "Required. Parent (Batch) resource reference.", +"type": "string" +}, +"sparkWrapperObjects": { +"items": { +"$ref": "SparkWrapperObject" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteSparkApplicationContextResponse": { +"description": "Response returned as an acknowledgement of receipt of data.", +"id": "WriteSparkApplicationContextResponse", +"properties": {}, +"type": "object" +}, +"YarnApplication": { +"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" +}, +"progress": { +"description": "Required. The numerical progress of the application, from 1 to 100.", +"format": "float", +"type": "number" +}, +"state": { +"description": "Required. The application state.", +"enum": [ +"STATE_UNSPECIFIED", +"NEW", +"NEW_SAVING", +"SUBMITTED", +"ACCEPTED", +"RUNNING", +"FINISHED", +"FAILED", +"KILLED" +], +"enumDescriptions": [ +"Status is unspecified.", +"Status is NEW.", +"Status is NEW_SAVING.", +"Status is SUBMITTED.", +"Status is ACCEPTED.", +"Status is RUNNING.", +"Status is FINISHED.", +"Status is FAILED.", +"Status is KILLED." +], +"type": "string" +}, +"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" +} +}, +"servicePath": "", +"title": "Cloud Dataproc API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discovery.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discovery.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..97434b0f0a22f726fea76a1f37a76ffe7ba2ce68 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/discovery.v1.json @@ -0,0 +1,738 @@ +{ +"basePath": "/discovery/v1/", +"baseUrl": "https://www.googleapis.com/discovery/v1/", +"batchPath": "batch/discovery/v1", +"description": "Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/discovery/", +"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/vabF8Q1ADCm_Bt9EBq9rkrRawQA\"", +"icons": { +"x16": "http://www.google.com/images/icons/feature/filing_cabinet_search-g16.png", +"x32": "http://www.google.com/images/icons/feature/filing_cabinet_search-g32.png" +}, +"id": "discovery:v1", +"kind": "discovery#restDescription", +"name": "discovery", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"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": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"apis": { +"methods": { +"getRest": { +"description": "Retrieve the description of a particular version of an api.", +"httpMethod": "GET", +"id": "discovery.apis.getRest", +"parameterOrder": [ +"api", +"version" +], +"parameters": { +"api": { +"description": "The name of the API.", +"location": "path", +"required": true, +"type": "string" +}, +"version": { +"description": "The version of the API.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "apis/{api}/{version}/rest", +"response": { +"$ref": "RestDescription" +} +}, +"list": { +"description": "Retrieve the list of APIs supported at this endpoint.", +"httpMethod": "GET", +"id": "discovery.apis.list", +"parameters": { +"name": { +"description": "Only include APIs with the given name.", +"location": "query", +"type": "string" +}, +"preferred": { +"default": "false", +"description": "Return only the preferred version of an API.", +"location": "query", +"type": "boolean" +} +}, +"path": "apis", +"response": { +"$ref": "DirectoryList" +} +} +} +} +}, +"revision": "20200806", +"rootUrl": "https://www.googleapis.com/", +"schemas": { +"DirectoryList": { +"id": "DirectoryList", +"properties": { +"discoveryVersion": { +"default": "v1", +"description": "Indicate the version of the Discovery API used to generate this doc.", +"type": "string" +}, +"items": { +"description": "The individual directory entries. One entry per api/version pair.", +"items": { +"properties": { +"description": { +"description": "The description of this API.", +"type": "string" +}, +"discoveryLink": { +"description": "A link to the discovery document.", +"type": "string" +}, +"discoveryRestUrl": { +"description": "The URL for the discovery REST document.", +"type": "string" +}, +"documentationLink": { +"description": "A link to human readable documentation for the API.", +"type": "string" +}, +"icons": { +"description": "Links to 16x16 and 32x32 icons representing the API.", +"properties": { +"x16": { +"description": "The URL of the 16x16 icon.", +"type": "string" +}, +"x32": { +"description": "The URL of the 32x32 icon.", +"type": "string" +} +}, +"type": "object" +}, +"id": { +"description": "The id of this API.", +"type": "string" +}, +"kind": { +"default": "discovery#directoryItem", +"description": "The kind for this response.", +"type": "string" +}, +"labels": { +"description": "Labels for the status of this API, such as labs or deprecated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The name of the API.", +"type": "string" +}, +"preferred": { +"description": "True if this version is the preferred version to use.", +"type": "boolean" +}, +"title": { +"description": "The title of this API.", +"type": "string" +}, +"version": { +"description": "The version of the API.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "discovery#directoryList", +"description": "The kind for this response.", +"type": "string" +} +}, +"type": "object" +}, +"JsonSchema": { +"id": "JsonSchema", +"properties": { +"$ref": { +"description": "A reference to another schema. The value of this property is the \"id\" of another schema.", +"type": "string" +}, +"additionalProperties": { +"$ref": "JsonSchema", +"description": "If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object." +}, +"annotations": { +"description": "Additional information about this property.", +"properties": { +"required": { +"description": "A list of methods for which this property is required on requests.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"default": { +"description": "The default value of this property (if one exists).", +"type": "string" +}, +"deprecated": { +"description": "Whether the parameter is deprecated.", +"type": "boolean" +}, +"description": { +"description": "A description of this object.", +"type": "string" +}, +"enum": { +"description": "Values this parameter may take (if it is an enum).", +"items": { +"type": "string" +}, +"type": "array" +}, +"enumDeprecated": { +"description": "The deprecation status for the enums. Each position maps to the corresponding value in the \"enum\" array.", +"items": { +"type": "boolean" +}, +"type": "array" +}, +"enumDescriptions": { +"description": "The descriptions for the enums. Each position maps to the corresponding value in the \"enum\" array.", +"items": { +"type": "string" +}, +"type": "array" +}, +"format": { +"description": "An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23", +"type": "string" +}, +"id": { +"description": "Unique identifier for this schema.", +"type": "string" +}, +"items": { +"$ref": "JsonSchema", +"description": "If this is a schema for an array, this property is the schema for each element in the array." +}, +"location": { +"description": "Whether this parameter goes in the query or the path for REST requests.", +"type": "string" +}, +"maximum": { +"description": "The maximum value of this parameter.", +"type": "string" +}, +"minimum": { +"description": "The minimum value of this parameter.", +"type": "string" +}, +"pattern": { +"description": "The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html", +"type": "string" +}, +"properties": { +"additionalProperties": { +"$ref": "JsonSchema", +"description": "A single property of this object. The value is itself a JSON Schema object describing this property." +}, +"description": "If this is a schema for an object, list the schema for each property of this object.", +"type": "object" +}, +"readOnly": { +"description": "The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.", +"type": "boolean" +}, +"repeated": { +"description": "Whether this parameter may appear multiple times.", +"type": "boolean" +}, +"required": { +"description": "Whether the parameter is required.", +"type": "boolean" +}, +"type": { +"description": "The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1", +"type": "string" +}, +"variant": { +"description": "In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.", +"properties": { +"discriminant": { +"description": "The name of the type discriminant property.", +"type": "string" +}, +"map": { +"description": "The map of discriminant value to schema to use for parsing..", +"items": { +"properties": { +"$ref": { +"type": "string" +}, +"type_value": { +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"RestDescription": { +"id": "RestDescription", +"properties": { +"auth": { +"description": "Authentication information.", +"properties": { +"oauth2": { +"description": "OAuth 2.0 authentication information.", +"properties": { +"scopes": { +"additionalProperties": { +"description": "The scope value.", +"properties": { +"description": { +"description": "Description of scope.", +"type": "string" +} +}, +"type": "object" +}, +"description": "Available OAuth 2.0 scopes.", +"type": "object" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"basePath": { +"description": "[DEPRECATED] The base path for REST requests.", +"type": "string" +}, +"baseUrl": { +"description": "[DEPRECATED] The base URL for REST requests.", +"type": "string" +}, +"batchPath": { +"description": "The path for REST batch requests.", +"type": "string" +}, +"canonicalName": { +"description": "Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.", +"type": "string" +}, +"description": { +"description": "The description of this API.", +"type": "string" +}, +"discoveryVersion": { +"default": "v1", +"description": "Indicate the version of the Discovery API used to generate this doc.", +"type": "string" +}, +"documentationLink": { +"description": "A link to human readable documentation for the API.", +"type": "string" +}, +"endpoints": { +"description": "A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.", +"items": { +"description": "A single endpoint object", +"properties": { +"deprecated": { +"description": "Whether this endpoint is deprecated", +"type": "boolean" +}, +"description": { +"description": "A string describing the host designated by the URL", +"type": "string" +}, +"endpointUrl": { +"description": "The URL of the endpoint target host", +"type": "string" +}, +"location": { +"description": "The location of the endpoint", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"etag": { +"description": "The ETag for this response.", +"readOnly": true, +"type": "string" +}, +"exponentialBackoffDefault": { +"description": "Enable exponential backoff for suitable methods in the generated clients.", +"type": "boolean" +}, +"features": { +"description": "A list of supported features for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"icons": { +"description": "Links to 16x16 and 32x32 icons representing the API.", +"properties": { +"x16": { +"description": "The URL of the 16x16 icon.", +"type": "string" +}, +"x32": { +"description": "The URL of the 32x32 icon.", +"type": "string" +} +}, +"type": "object" +}, +"id": { +"description": "The ID of this API.", +"type": "string" +}, +"kind": { +"default": "discovery#restDescription", +"description": "The kind for this response.", +"type": "string" +}, +"labels": { +"description": "Labels for the status of this API, such as labs or deprecated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"methods": { +"additionalProperties": { +"$ref": "RestMethod", +"description": "An individual method description." +}, +"description": "API-level methods for this API.", +"type": "object" +}, +"name": { +"description": "The name of this API.", +"type": "string" +}, +"ownerDomain": { +"description": "The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name.", +"type": "string" +}, +"ownerName": { +"description": "The name of the owner of this API. See ownerDomain.", +"type": "string" +}, +"packagePath": { +"description": "The package of the owner of this API. See ownerDomain.", +"type": "string" +}, +"parameters": { +"additionalProperties": { +"$ref": "JsonSchema", +"description": "Description of a single parameter." +}, +"description": "Common parameters that apply across all apis.", +"type": "object" +}, +"protocol": { +"default": "rest", +"description": "The protocol described by this document.", +"type": "string" +}, +"resources": { +"additionalProperties": { +"$ref": "RestResource", +"description": "An individual resource description. Contains methods and sub-resources related to this resource." +}, +"description": "The resources in this API.", +"type": "object" +}, +"revision": { +"description": "The version of this API.", +"type": "string" +}, +"rootUrl": { +"description": "The root URL under which all API services live.", +"type": "string" +}, +"schemas": { +"additionalProperties": { +"$ref": "JsonSchema", +"description": "An individual schema description." +}, +"description": "The schemas for this API.", +"type": "object" +}, +"servicePath": { +"description": "The base path for all REST requests.", +"type": "string" +}, +"title": { +"description": "The title of this API.", +"type": "string" +}, +"version": { +"description": "The version of this API.", +"type": "string" +}, +"version_module": { +"type": "boolean" +} +}, +"type": "object" +}, +"RestMethod": { +"id": "RestMethod", +"properties": { +"apiVersion": { +"description": "The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.", +"type": "string" +}, +"deprecated": { +"description": "Whether this method is deprecated.", +"type": "boolean" +}, +"description": { +"description": "Description of this method.", +"type": "string" +}, +"etagRequired": { +"description": "Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.", +"type": "boolean" +}, +"flatPath": { +"description": "The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.", +"type": "string" +}, +"httpMethod": { +"description": "HTTP method used by this method.", +"type": "string" +}, +"id": { +"description": "A unique ID for this method. This property can be used to match methods between different versions of Discovery.", +"type": "string" +}, +"mediaUpload": { +"description": "Media upload parameters.", +"properties": { +"accept": { +"description": "MIME Media Ranges for acceptable media uploads to this method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxSize": { +"description": "Maximum size of a media upload, such as \"1MB\", \"2GB\" or \"3TB\".", +"type": "string" +}, +"protocols": { +"description": "Supported upload protocols.", +"properties": { +"resumable": { +"description": "Supports the Resumable Media Upload protocol.", +"properties": { +"multipart": { +"default": "true", +"description": "True if this endpoint supports uploading multipart media.", +"type": "boolean" +}, +"path": { +"description": "The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.", +"type": "string" +} +}, +"type": "object" +}, +"simple": { +"description": "Supports uploading as a single HTTP request.", +"properties": { +"multipart": { +"default": "true", +"description": "True if this endpoint supports upload multipart media.", +"type": "boolean" +}, +"path": { +"description": "The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.", +"type": "string" +} +}, +"type": "object" +} +}, +"type": "object" +} +}, +"type": "object" +}, +"parameterOrder": { +"description": "Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the \"most-significant\" parameter appears first.", +"items": { +"type": "string" +}, +"type": "array" +}, +"parameters": { +"additionalProperties": { +"$ref": "JsonSchema", +"description": "Details for a single parameter in this method." +}, +"description": "Details for all parameters in this method.", +"type": "object" +}, +"path": { +"description": "The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.", +"type": "string" +}, +"request": { +"description": "The schema for the request.", +"properties": { +"$ref": { +"description": "Schema ID for the request schema.", +"type": "string" +}, +"parameterName": { +"description": "parameter name.", +"type": "string" +} +}, +"type": "object" +}, +"response": { +"description": "The schema for the response.", +"properties": { +"$ref": { +"description": "Schema ID for the response schema.", +"type": "string" +} +}, +"type": "object" +}, +"scopes": { +"description": "OAuth 2.0 scopes applicable to this method.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportsMediaDownload": { +"description": "Whether this method supports media downloads.", +"type": "boolean" +}, +"supportsMediaUpload": { +"description": "Whether this method supports media uploads.", +"type": "boolean" +}, +"supportsSubscription": { +"description": "Whether this method supports subscriptions.", +"type": "boolean" +}, +"useMediaDownloadService": { +"description": "Indicates that downloads from this method should use the download service URL (i.e. \"/download\"). Only applies if the method supports media download.", +"type": "boolean" +} +}, +"type": "object" +}, +"RestResource": { +"id": "RestResource", +"properties": { +"deprecated": { +"description": "Whether this resource is deprecated.", +"type": "boolean" +}, +"methods": { +"additionalProperties": { +"$ref": "RestMethod", +"description": "Description for any methods on this resource." +}, +"description": "Methods on this resource.", +"type": "object" +}, +"resources": { +"additionalProperties": { +"$ref": "RestResource", +"description": "Description for any sub-resources on this resource." +}, +"description": "Sub-resources on this resource.", +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "discovery/v1/", +"title": "API Discovery Service", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..a75ff2b9a2b80d3b54eddf137b3ae7a1b6c92f10 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/displayvideo.v3.json @@ -0,0 +1,22530 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/display-video": { +"description": "Create, see, edit, and permanently delete your Display & Video 360 entities and reports" +}, +"https://www.googleapis.com/auth/display-video-mediaplanning": { +"description": "Create, see, and edit Display & Video 360 Campaign entities and see billing invoices" +}, +"https://www.googleapis.com/auth/display-video-user-management": { +"description": "Private Service: https://www.googleapis.com/auth/display-video-user-management" +}, +"https://www.googleapis.com/auth/doubleclickbidmanager": { +"description": "View and manage your reports in DoubleClick Bid Manager" +} +} +} +}, +"basePath": "", +"baseUrl": "https://displayvideo.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Display Video", +"description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/display-video/", +"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": "displayvideo:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/", +"name": "displayvideo", +"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": { +"advertisers": { +"methods": { +"audit": { +"description": "Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.", +"flatPath": "v3/advertisers/{advertisersId}:audit", +"httpMethod": "GET", +"id": "displayvideo.advertisers.audit", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to audit.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "Optional. The specific fields to return. If no mask is specified, all fields in the response proto will be filled. Valid values are: * usedLineItemsCount * usedInsertionOrdersCount * usedCampaignsCount * channelsCount * negativelyTargetedChannelsCount * negativeKeywordListsCount * adGroupCriteriaCount * campaignCriteriaCount", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}:audit", +"response": { +"$ref": "AuditAdvertiserResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a new advertiser. Returns the newly created advertiser if successful. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/advertisers", +"httpMethod": "POST", +"id": "displayvideo.advertisers.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/advertisers", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered.", +"flatPath": "v3/advertisers/{advertisersId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.delete", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser we need to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editAssignedTargetingOptions": { +"description": "Edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .", +"flatPath": "v3/advertisers/{advertisersId}:editAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.editAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}:editAssignedTargetingOptions", +"request": { +"$ref": "BulkEditAdvertiserAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an advertiser.", +"flatPath": "v3/advertisers/{advertisersId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.get", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}", +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross-partner listing is not supported.", +"flatPath": "v3/advertisers", +"httpMethod": "GET", +"id": "displayvideo.advertisers.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by advertiser fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `advertiserId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All active advertisers under a partner: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` * All advertisers with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All advertisers with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `advertiserId` (default) * `displayName` * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertisers` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner that the fetched advertisers should all belong to. The system only supports listing advertisers for one partner at a time.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers", +"response": { +"$ref": "ListAdvertisersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"listAssignedTargetingOptions": { +"description": "Lists assigned targeting options of an advertiser across targeting types.", +"flatPath": "v3/advertisers/{advertisersId}:listAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.listAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=) operator`. Supported fields: * `targetingType` Examples: * targetingType with value TARGETING_TYPE_CHANNEL `targetingType=\"TARGETING_TYPE_CHANNEL\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}:listAssignedTargetingOptions", +"response": { +"$ref": "BulkListAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing advertiser. Returns the updated advertiser if successful.", +"flatPath": "v3/advertisers/{advertisersId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.patch", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}", +"request": { +"$ref": "Advertiser" +}, +"response": { +"$ref": "Advertiser" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"adGroupAds": { +"methods": { +"get": { +"description": "Gets an ad group ad.", +"flatPath": "v3/advertisers/{advertisersId}/adGroupAds/{adGroupAdsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroupAds.get", +"parameterOrder": [ +"advertiserId", +"adGroupAdId" +], +"parameters": { +"adGroupAdId": { +"description": "Required. The ID of the ad to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser this ad group ad belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroupAds/{+adGroupAdId}", +"response": { +"$ref": "AdGroupAd" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists ad group ads.", +"flatPath": "v3/advertisers/{advertisersId}/adGroupAds", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroupAds.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the ads belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by ad group ad fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` and `OR`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `adGroupId` * `displayName` * `entityStatus` * `adGroupAdId` Examples: * All ad group ads under an ad group: `adGroupId=\"1234\"` * All ad group ads under an ad group with an entityStatus of `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND adGroupId=\"12345\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroupAds` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroupAds", +"response": { +"$ref": "ListAdGroupAdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"adGroups": { +"methods": { +"bulkListAdGroupAssignedTargetingOptions": { +"description": "Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included.", +"flatPath": "v3/advertisers/{advertisersId}/adGroups:bulkListAdGroupAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.bulkListAdGroupAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"adGroupIds": { +"description": "Required. The IDs of the ad groups to list assigned targeting options for.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_YOUTUBE_VIDEO` or `TARGETING_TYPE_YOUTUBE_CHANNEL`: `targetingType=\"TARGETING_TYPE_YOUTUBE_VIDEO\" OR targetingType=\"TARGETING_TYPE_YOUTUBE_CHANNEL\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `adGroupId` (default) * `assignedTargetingOption.targetingType` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to the `BulkListAdGroupAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroups:bulkListAdGroupAssignedTargetingOptions", +"response": { +"$ref": "BulkListAdGroupAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an ad group.", +"flatPath": "v3/advertisers/{advertisersId}/adGroups/{adGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.get", +"parameterOrder": [ +"advertiserId", +"adGroupId" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser this ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}", +"response": { +"$ref": "AdGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists ad groups.", +"flatPath": "v3/advertisers/{advertisersId}/adGroups", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the ad groups belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by custom ad group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` and `OR`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported properties: * `adGroupId` * `displayName` * `entityStatus` * `lineItemId` * `adGroupFormat` Examples: * All ad groups under an line item: `lineItemId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` `AD_GROUP_FORMAT_IN_STREAM` ad groups under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND adGroupFormat=\"AD_GROUP_FORMAT_IN_STREAM\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroups` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroups", +"response": { +"$ref": "ListAdGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"get": { +"description": "Gets a single targeting option assigned to an ad group. Inherited assigned targeting options are not included.", +"flatPath": "v3/advertisers/{advertisersId}/adGroups/{adGroupsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included.", +"flatPath": "v3/advertisers/{advertisersId}/adGroups/{adGroupsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.adGroups.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"adGroupId", +"targetingType" +], +"parameters": { +"adGroupId": { +"description": "Required. The ID of the ad group to list assigned targeting options for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"advertiserId": { +"description": "Required. The ID of the advertiser the ad group belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Optional. Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdGroupAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListAdGroupAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"assets": { +"methods": { +"upload": { +"description": "Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using provided client libraries can be found in our [Creating Creatives guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset).", +"flatPath": "v3/advertisers/{advertisersId}/assets", +"httpMethod": "POST", +"id": "displayvideo.advertisers.assets.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/v3/advertisers/{+advertiserId}/assets" +} +} +}, +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this asset belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/assets", +"request": { +"$ref": "CreateAssetRequest" +}, +"response": { +"$ref": "CreateAssetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +], +"supportsMediaUpload": true +} +} +}, +"campaigns": { +"methods": { +"create": { +"description": "Creates a new campaign. Returns the newly created campaign if successful.", +"flatPath": "v3/advertisers/{advertisersId}/campaigns", +"httpMethod": "POST", +"id": "displayvideo.advertisers.campaigns.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/campaigns", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"delete": { +"description": "Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.campaigns.delete", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "The ID of the campaign we need to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"get": { +"description": "Gets a campaign.", +"flatPath": "v3/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.campaigns.get", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "Required. The ID of the campaign to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"list": { +"description": "Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/advertisers/{advertisersId}/campaigns", +"httpMethod": "GET", +"id": "displayvideo.advertisers.campaigns.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser to list campaigns for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by campaign fields. 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}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All campaigns with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All campaigns with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaigns` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/campaigns", +"response": { +"$ref": "ListCampaignsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"patch": { +"description": "Updates an existing campaign. Returns the updated campaign if successful.", +"flatPath": "v3/advertisers/{advertisersId}/campaigns/{campaignsId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.campaigns.patch", +"parameterOrder": [ +"advertiserId", +"campaignId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/campaigns/{+campaignId}", +"request": { +"$ref": "Campaign" +}, +"response": { +"$ref": "Campaign" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +} +} +}, +"channels": { +"methods": { +"create": { +"description": "Creates a new channel. Returns the newly created channel if successful.", +"flatPath": "v3/advertisers/{advertisersId}/channels", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a channel for a partner or advertiser.", +"flatPath": "v3/advertisers/{advertisersId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.get", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the fetched channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the channel to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the fetched channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/channels/{+channelId}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists channels for a partner or advertiser.", +"flatPath": "v3/advertisers/{advertisersId}/channels", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channels.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channels.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a channel. Returns the updated channel if successful.", +"flatPath": "v3/advertisers/{advertisersId}/channels/{channelId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.channels.patch", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/channels/{channelId}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"sites": { +"methods": { +"bulkEdit": { +"description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", +"flatPath": "v3/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.bulkEdit", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit", +"request": { +"$ref": "BulkEditSitesRequest" +}, +"response": { +"$ref": "BulkEditSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a site in a channel.", +"flatPath": "v3/advertisers/{advertiserId}/channels/{channelsId}/sites", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.create", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel in which the site will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/channels/{+channelId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a site from a channel.", +"flatPath": "v3/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.channels.sites.delete", +"parameterOrder": [ +"advertiserId", +"channelId", +"urlOrAppId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the site belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The URL or app ID of the site to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists sites in a channel.", +"flatPath": "v3/advertisers/{advertisersId}/channels/{channelsId}/sites", +"httpMethod": "GET", +"id": "displayvideo.advertisers.channels.sites.list", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the requested sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/channels/{+channelId}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/advertisers/{advertiserId}/channels/{channelsId}/sites:replace", +"httpMethod": "POST", +"id": "displayvideo.advertisers.channels.sites.replace", +"parameterOrder": [ +"advertiserId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel whose sites will be replaced.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/channels/{+channelId}/sites:replace", +"request": { +"$ref": "ReplaceSitesRequest" +}, +"response": { +"$ref": "ReplaceSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"creatives": { +"methods": { +"create": { +"description": "Creates a new creative. Returns the newly created creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v3/advertisers/{advertisersId}/creatives", +"httpMethod": "POST", +"id": "displayvideo.advertisers.creatives.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/creatives", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v3/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.creatives.delete", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "The ID of the creative to be deleted.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/creatives/{+creativeId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a creative.", +"flatPath": "v3/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.creatives.get", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "Required. The ID of the creative to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/creatives/{+creativeId}", +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/advertisers/{advertisersId}/creatives", +"httpMethod": "GET", +"id": "displayvideo.advertisers.creatives.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list creatives for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by creative fields. 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}`. * The `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. * For `entityStatus`, `minDuration`, `maxDuration`, `updateTime`, and `dynamic` fields, there may be at most one restriction. Supported Fields: * `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in the form of `{width}x{height}`) * `dynamic` * `entityStatus` * `exchangeReviewStatus` (input in the form of `{exchange}-{reviewStatus}`) * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. Only seconds are supported) * `minDuration` (input in the form of `{duration}s`. Only seconds are supported) * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creative resource's field value reflects the last time that a creative has been updated, which includes updates made by the system (e.g. creative review updates). Examples: * All native creatives: `creativeType=\"CREATIVE_TYPE_NATIVE\"` * All active creatives with 300x400 or 50x100 dimensions: `entityStatus=\"ENTITY_STATUS_ACTIVE\" AND (dimensions=\"300x400\" OR dimensions=\"50x100\")` * All dynamic creatives that are approved by AdX or AppNexus, with a minimum duration of 5 seconds and 200ms: `dynamic=\"true\" AND minDuration=\"5.2s\" AND (exchangeReviewStatus=\"EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED\" OR exchangeReviewStatus=\"EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED\")` * All video creatives that are associated with line item ID 1 or 2: `creativeType=\"CREATIVE_TYPE_VIDEO\" AND (lineItemIds:1 OR lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * All creatives with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first, then by height) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `createTime desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCreatives` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/creatives", +"response": { +"$ref": "ListCreativesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing creative. Returns the updated creative if successful. A [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.", +"flatPath": "v3/advertisers/{advertisersId}/creatives/{creativesId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.creatives.patch", +"parameterOrder": [ +"advertiserId", +"creativeId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"creativeId": { +"description": "Output only. The unique ID of the creative. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/creatives/{+creativeId}", +"request": { +"$ref": "Creative" +}, +"response": { +"$ref": "Creative" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"insertionOrders": { +"methods": { +"create": { +"description": "Creates a new insertion order. Returns the newly created insertion order if successful.", +"flatPath": "v3/advertisers/{advertisersId}/insertionOrders", +"httpMethod": "POST", +"id": "displayvideo.advertisers.insertionOrders.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/insertionOrders", +"request": { +"$ref": "InsertionOrder" +}, +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.", +"flatPath": "v3/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.insertionOrders.delete", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "The ID of the insertion order to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist.", +"flatPath": "v3/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.insertionOrders.get", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "Required. The ID of the insertion order to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/advertisers/{advertisersId}/insertionOrders", +"httpMethod": "GET", +"id": "displayvideo.advertisers.insertionOrders.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list insertion orders for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by insertion order fields. 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}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/insertionOrders", +"response": { +"$ref": "ListInsertionOrdersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing insertion order. Returns the updated insertion order if successful.", +"flatPath": "v3/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.insertionOrders.patch", +"parameterOrder": [ +"advertiserId", +"insertionOrderId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"insertionOrderId": { +"description": "Output only. The unique ID of the insertion order. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}", +"request": { +"$ref": "InsertionOrder" +}, +"response": { +"$ref": "InsertionOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"invoices": { +"methods": { +"list": { +"description": "Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a \"Partner\" invoice level are not retrievable through this method.", +"flatPath": "v3/advertisers/{advertisersId}/invoices", +"httpMethod": "GET", +"id": "displayvideo.advertisers.invoices.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list invoices for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"issueMonth": { +"description": "The month to list the invoices for. If not set, the request will retrieve invoices for the previous month. Must be in the format YYYYMM.", +"location": "query", +"type": "string" +}, +"loiSapinInvoiceType": { +"description": "Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin advertisers. Will be ignored otherwise.", +"enum": [ +"LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED", +"LOI_SAPIN_INVOICE_TYPE_MEDIA", +"LOI_SAPIN_INVOICE_TYPE_PLATFORM" +], +"enumDescriptions": [ +"Value is not specified.", +"Invoices with Media cost.", +"Invoices with Platform fee." +], +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInvoices` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/invoices", +"response": { +"$ref": "ListInvoicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +}, +"lookupInvoiceCurrency": { +"description": "Retrieves the invoice currency used by an advertiser in a given month.", +"flatPath": "v3/advertisers/{advertisersId}/invoices:lookupInvoiceCurrency", +"httpMethod": "GET", +"id": "displayvideo.advertisers.invoices.lookupInvoiceCurrency", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to lookup currency for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"invoiceMonth": { +"description": "Month for which the currency is needed. If not set, the request will return existing currency settings for the advertiser. Must be in the format YYYYMM.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency", +"response": { +"$ref": "LookupInvoiceCurrencyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/display-video-mediaplanning" +] +} +} +}, +"lineItems": { +"methods": { +"bulkEditAssignedTargetingOptions": { +"description": "Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems:bulkEditAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.bulkEditAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems:bulkEditAssignedTargetingOptions", +"request": { +"$ref": "BulkEditAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"bulkListAssignedTargetingOptions": { +"description": "Lists assigned targeting options for multiple line items across targeting types.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems:bulkListAssignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.bulkListAssignedTargetingOptions", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line items belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR` on the same field. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"lineItemIds": { +"description": "Required. The IDs of the line items to list assigned targeting options for.", +"format": "int64", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `lineItemId` (default) * `assignedTargetingOption.targetingType` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to the `BulkListAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems:bulkListAssignedTargetingOptions", +"response": { +"$ref": "BulkListAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"bulkUpdate": { +"description": "Updates multiple line items. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems:bulkUpdate", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.bulkUpdate", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems:bulkUpdate", +"request": { +"$ref": "BulkUpdateLineItemsRequest" +}, +"response": { +"$ref": "BulkUpdateLineItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a new line item. Returns the newly created line item if successful. YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems", +"request": { +"$ref": "LineItem" +}, +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.lineItems.delete", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "The ID of the line item to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"duplicate": { +"description": "Duplicates a line item. Returns the ID of the created line item if successful. YouTube & Partners line items cannot be created or updated using the API. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}:duplicate", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.duplicate", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to duplicate.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}:duplicate", +"request": { +"$ref": "DuplicateLineItemRequest" +}, +"response": { +"$ref": "DuplicateLineItemResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a line item.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.get", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser this line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser to list line items for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by line item fields. 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}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `insertionOrderId` * `lineItemId` * `lineItemType` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All line items under an insertion order: `insertionOrderId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\") AND lineItemType=\"LINE_ITEM_TYPE_DISPLAY_DEFAULT\"` * All line items with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All line items with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItems` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems", +"response": { +"$ref": "ListLineItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.lineItems.patch", +"parameterOrder": [ +"advertiserId", +"lineItemId" +], +"parameters": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Output only. The unique ID of the line item. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}", +"request": { +"$ref": "LineItem" +}, +"response": { +"$ref": "LineItem" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option will belong to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to a line item.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item the assigned targeting option belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to a line item.", +"flatPath": "v3/advertisers/{advertisersId}/lineItems/{lineItemsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"lineItemId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser the line item belongs to.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"lineItemId": { +"description": "Required. The ID of the line item to list assigned targeting options for.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLineItemAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items)", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListLineItemAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"locationLists": { +"methods": { +"create": { +"description": "Creates a new location list. Returns the newly created location list if successful.", +"flatPath": "v3/advertisers/{advertisersId}/locationLists", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/locationLists", +"request": { +"$ref": "LocationList" +}, +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a location list.", +"flatPath": "v3/advertisers/{advertisersId}/locationLists/{locationListsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.get", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched location list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/locationLists/{+locationListId}", +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists location lists based on a given advertiser id.", +"flatPath": "v3/advertisers/{advertisersId}/locationLists", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched location lists belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by location list fields. 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}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `locationType` Examples: * All regional location list: `locationType=\"TARGETING_LOCATION_TYPE_REGIONAL\"` * All proximity location list: `locationType=\"TARGETING_LOCATION_TYPE_PROXIMITY\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `locationListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListLocationLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/locationLists", +"response": { +"$ref": "ListLocationListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a location list. Returns the updated location list if successful.", +"flatPath": "v3/advertisers/{advertisersId}/locationLists/{locationListId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.locationLists.patch", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location lists belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Output only. The unique ID of the location list. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/locationLists/{locationListId}", +"request": { +"$ref": "LocationList" +}, +"response": { +"$ref": "LocationList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"assignedLocations": { +"methods": { +"bulkEdit": { +"description": "Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.", +"flatPath": "v3/advertisers/{advertiserId}/locationLists/{locationListsId}/assignedLocations:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.assignedLocations.bulkEdit", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which these assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit", +"request": { +"$ref": "BulkEditAssignedLocationsRequest" +}, +"response": { +"$ref": "BulkEditAssignedLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates an assignment between a location and a location list.", +"flatPath": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"httpMethod": "POST", +"id": "displayvideo.advertisers.locationLists.assignedLocations.create", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list for which the assignment will be created.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"request": { +"$ref": "AssignedLocation" +}, +"response": { +"$ref": "AssignedLocation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes the assignment between a location and a location list.", +"flatPath": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{assignedLocationsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.locationLists.assignedLocations.delete", +"parameterOrder": [ +"advertiserId", +"locationListId", +"assignedLocationId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"assignedLocationId": { +"description": "Required. The ID of the assigned location to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which this assignment is assigned.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists locations assigned to a location list.", +"flatPath": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"httpMethod": "GET", +"id": "displayvideo.advertisers.locationLists.assignedLocations.list", +"parameterOrder": [ +"advertiserId", +"locationListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the location list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by location list assignment fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedLocationId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"locationListId": { +"description": "Required. The ID of the location list to which these assignments are assigned.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedLocationId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedLocationId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedLocations` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations", +"response": { +"$ref": "ListAssignedLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"negativeKeywordLists": { +"methods": { +"create": { +"description": "Creates a new negative keyword list. Returns the newly created negative keyword list if successful.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.create", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list will belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists", +"request": { +"$ref": "NegativeKeywordList" +}, +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.negativeKeywordLists.delete", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the negative keyword list to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a negative keyword list given an advertiser ID and a negative keyword list ID.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.get", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the negative keyword list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}", +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists negative keyword lists based on a given advertiser id.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.list", +"parameterOrder": [ +"advertiserId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywordLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists", +"response": { +"$ref": "ListNegativeKeywordListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a negative keyword list. Returns the updated negative keyword list if successful.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListId}", +"httpMethod": "PATCH", +"id": "displayvideo.advertisers.negativeKeywordLists.patch", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}", +"request": { +"$ref": "NegativeKeywordList" +}, +"response": { +"$ref": "NegativeKeywordList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"negativeKeywords": { +"methods": { +"bulkEdit": { +"description": "Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is guaranteed to be atomic and will never result in a partial success or partial failure.", +"flatPath": "v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.bulkEdit", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit", +"request": { +"$ref": "BulkEditNegativeKeywordsRequest" +}, +"response": { +"$ref": "BulkEditNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a negative keyword in a negative keyword list.", +"flatPath": "v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.create", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list in which the negative keyword will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", +"request": { +"$ref": "NegativeKeyword" +}, +"response": { +"$ref": "NegativeKeyword" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a negative keyword from a negative keyword list.", +"flatPath": "v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords/{negativeKeywordsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.delete", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId", +"keywordValue" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"keywordValue": { +"description": "Required. The keyword value of the negative keyword to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keyword belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists negative keywords in a negative keyword list.", +"flatPath": "v3/advertisers/{advertisersId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords", +"httpMethod": "GET", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.list", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by negative keyword fields. Supported syntax: * Filter expressions for negative keywords can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `keywordValue` Examples: * All negative keywords for which the keyword value contains \"google\": `keywordValue : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the requested negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `keywordValue` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `keywordValue desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `1000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListNegativeKeywords` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords", +"response": { +"$ref": "ListNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.", +"flatPath": "v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListsId}/negativeKeywords:replace", +"httpMethod": "POST", +"id": "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.replace", +"parameterOrder": [ +"advertiserId", +"negativeKeywordListId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Required. The ID of the parent negative keyword list to which the negative keywords belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace", +"request": { +"$ref": "ReplaceNegativeKeywordsRequest" +}, +"response": { +"$ref": "ReplaceNegativeKeywordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.", +"flatPath": "v3/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"advertiserId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from an advertiser.", +"flatPath": "v3/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"advertiserId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to an advertiser.", +"flatPath": "v3/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"advertiserId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to an advertiser.", +"flatPath": "v3/advertisers/{advertisersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"advertiserId", +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListAdvertiserAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"combinedAudiences": { +"methods": { +"get": { +"description": "Gets a combined audience.", +"flatPath": "v3/combinedAudiences/{combinedAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.combinedAudiences.get", +"parameterOrder": [ +"combinedAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched combined audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"combinedAudienceId": { +"description": "Required. The ID of the combined audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched combined audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/combinedAudiences/{+combinedAudienceId}", +"response": { +"$ref": "CombinedAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists combined audiences. The order is defined by the order_by parameter.", +"flatPath": "v3/combinedAudiences", +"httpMethod": "GET", +"id": "displayvideo.combinedAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched combined audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by combined audience fields. Supported syntax: * Filter expressions for combined audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All combined audiences for which the display name contains \"Google\": `displayName : \"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `combinedAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCombinedAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched combined audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/combinedAudiences", +"response": { +"$ref": "ListCombinedAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"customBiddingAlgorithms": { +"methods": { +"create": { +"description": "Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.", +"flatPath": "v3/customBiddingAlgorithms", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/customBiddingAlgorithms", +"request": { +"$ref": "CustomBiddingAlgorithm" +}, +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a custom bidding algorithm.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.get", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}", +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter.", +"flatPath": "v3/customBiddingAlgorithms", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `customBiddingAlgorithmType` field must use the `EQUALS (=)` operator. * The `displayName` field must use the `HAS (:)` operator. Supported fields: * `customBiddingAlgorithmType` * `displayName` Examples: * All custom bidding algorithms for which the display name contains \"politics\": `displayName:\"politics\"`. * All custom bidding algorithms for which the type is \"SCRIPT_BASED\": `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingAlgorithms` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the DV360 partner that has access to the custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms", +"response": { +"$ref": "ListCustomBiddingAlgorithmsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Requests updating a custom bidding algorithm assigned to a line item will return an error.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}", +"httpMethod": "PATCH", +"id": "displayvideo.customBiddingAlgorithms.patch", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}", +"request": { +"$ref": "CustomBiddingAlgorithm" +}, +"response": { +"$ref": "CustomBiddingAlgorithm" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"uploadRules": { +"description": "Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}:uploadRules", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.uploadRules", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadRules", +"response": { +"$ref": "CustomBiddingAlgorithmRulesRef" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"uploadScript": { +"description": "Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}:uploadScript", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.uploadScript", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript", +"response": { +"$ref": "CustomBiddingScriptRef" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"rules": { +"methods": { +"create": { +"description": "Creates a new rules resource. Returns the newly created rules resource if successful. Requests creating a custom bidding rules resource under an algorithm assigned to a line item will return an error.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.rules.create", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this rules resource.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules", +"request": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"response": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Retrieves a rules resource.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules/{rulesId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.rules.get", +"parameterOrder": [ +"customBiddingAlgorithmId", +"customBiddingAlgorithmRulesId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"customBiddingAlgorithmRulesId": { +"description": "Required. The ID of the rules resource to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules/{+customBiddingAlgorithmRulesId}", +"response": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/rules", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.rules.list", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the rules resource.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default sorting order is descending. To specify ascending order for a field, the suffix \"desc\" should be removed. Example: `createTime`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingAlgorithmRules` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules", +"response": { +"$ref": "ListCustomBiddingAlgorithmRulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"scripts": { +"methods": { +"create": { +"description": "Creates a new custom bidding script. Returns the newly created script if successful. Requests creating a custom bidding script under an algorithm assigned to a line item will return an error.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", +"httpMethod": "POST", +"id": "displayvideo.customBiddingAlgorithms.scripts.create", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm that owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", +"request": { +"$ref": "CustomBiddingScript" +}, +"response": { +"$ref": "CustomBiddingScript" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a custom bidding script.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts/{scriptsId}", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.scripts.get", +"parameterOrder": [ +"customBiddingAlgorithmId", +"customBiddingScriptId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"customBiddingScriptId": { +"description": "Required. The ID of the custom bidding script to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}", +"response": { +"$ref": "CustomBiddingScript" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.", +"flatPath": "v3/customBiddingAlgorithms/{customBiddingAlgorithmsId}/scripts", +"httpMethod": "GET", +"id": "displayvideo.customBiddingAlgorithms.scripts.list", +"parameterOrder": [ +"customBiddingAlgorithmId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent custom bidding algorithm.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Required. The ID of the custom bidding algorithm owns the script.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default sorting order is descending. To specify ascending order for a field, the suffix \"desc\" should be removed. Example: `createTime`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomBiddingScripts` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts", +"response": { +"$ref": "ListCustomBiddingScriptsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"customLists": { +"methods": { +"get": { +"description": "Gets a custom list.", +"flatPath": "v3/customLists/{customListsId}", +"httpMethod": "GET", +"id": "displayvideo.customLists.get", +"parameterOrder": [ +"customListId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", +"format": "int64", +"location": "query", +"type": "string" +}, +"customListId": { +"description": "Required. The ID of the custom list to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/customLists/{+customListId}", +"response": { +"$ref": "CustomList" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists custom lists. The order is defined by the order_by parameter.", +"flatPath": "v3/customLists", +"httpMethod": "GET", +"id": "displayvideo.customLists.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the DV360 advertiser that has access to the fetched custom lists.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by custom list fields. Supported syntax: * Filter expressions for custom lists can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All custom lists for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `customListId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCustomLists` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/customLists", +"response": { +"$ref": "ListCustomListsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"firstAndThirdPartyAudiences": { +"methods": { +"create": { +"description": "Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v3/firstAndThirdPartyAudiences", +"httpMethod": "POST", +"id": "displayvideo.firstAndThirdPartyAudiences.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/firstAndThirdPartyAudiences", +"request": { +"$ref": "FirstAndThirdPartyAudience" +}, +"response": { +"$ref": "FirstAndThirdPartyAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editCustomerMatchMembers": { +"description": "Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v3/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}:editCustomerMatchMembers", +"httpMethod": "POST", +"id": "displayvideo.firstAndThirdPartyAudiences.editCustomerMatchMembers", +"parameterOrder": [ +"firstAndThirdPartyAudienceId" +], +"parameters": { +"firstAndThirdPartyAudienceId": { +"description": "Required. The ID of the Customer Match FirstAndThirdPartyAudience whose members will be edited.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers", +"request": { +"$ref": "EditCustomerMatchMembersRequest" +}, +"response": { +"$ref": "EditCustomerMatchMembersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a first and third party audience.", +"flatPath": "v3/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.firstAndThirdPartyAudiences.get", +"parameterOrder": [ +"firstAndThirdPartyAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched first and third party audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"firstAndThirdPartyAudienceId": { +"description": "Required. The ID of the first and third party audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched first and third party audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}", +"response": { +"$ref": "FirstAndThirdPartyAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists first and third party audiences. The order is defined by the order_by parameter.", +"flatPath": "v3/firstAndThirdPartyAudiences", +"httpMethod": "GET", +"id": "displayvideo.firstAndThirdPartyAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched first and third party audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by first and third party audience fields. Supported syntax: * Filter expressions for first and third party audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All first and third party audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `5000`. If unspecified, this value defaults to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFirstAndThirdPartyAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched first and third party audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/firstAndThirdPartyAudiences", +"response": { +"$ref": "ListFirstAndThirdPartyAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"flatPath": "v3/firstAndThirdPartyAudiences/{firstAndThirdPartyAudiencesId}", +"httpMethod": "PATCH", +"id": "displayvideo.firstAndThirdPartyAudiences.patch", +"parameterOrder": [ +"firstAndThirdPartyAudienceId" +], +"parameters": { +"advertiserId": { +"description": "Required. The ID of the owner advertiser of the updated FirstAndThirdPartyAudience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"firstAndThirdPartyAudienceId": { +"description": "Output only. The unique ID of the first and third party audience. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}", +"request": { +"$ref": "FirstAndThirdPartyAudience" +}, +"response": { +"$ref": "FirstAndThirdPartyAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"floodlightGroups": { +"methods": { +"get": { +"description": "Gets a Floodlight group.", +"flatPath": "v3/floodlightGroups/{floodlightGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.get", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Required. The ID of the Floodlight group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The partner context by which the Floodlight group is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/floodlightGroups/{+floodlightGroupId}", +"response": { +"$ref": "FloodlightGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing Floodlight group. Returns the updated Floodlight group if successful.", +"flatPath": "v3/floodlightGroups/{floodlightGroupId}", +"httpMethod": "PATCH", +"id": "displayvideo.floodlightGroups.patch", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The partner context by which the Floodlight group is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/floodlightGroups/{floodlightGroupId}", +"request": { +"$ref": "FloodlightGroup" +}, +"response": { +"$ref": "FloodlightGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"floodlightActivities": { +"methods": { +"get": { +"description": "Gets a Floodlight activity.", +"flatPath": "v3/floodlightGroups/{floodlightGroupsId}/floodlightActivities/{floodlightActivitiesId}", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.floodlightActivities.get", +"parameterOrder": [ +"floodlightGroupId", +"floodlightActivityId" +], +"parameters": { +"floodlightActivityId": { +"description": "Required. The ID of the Floodlight activity to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"floodlightGroupId": { +"description": "Required. The ID of the parent Floodlight group to which the requested Floodlight activity belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner through which the Floodlight activity is being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities/{+floodlightActivityId}", +"response": { +"$ref": "FloodlightActivity" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists Floodlight activities in a Floodlight group.", +"flatPath": "v3/floodlightGroups/{floodlightGroupsId}/floodlightActivities", +"httpMethod": "GET", +"id": "displayvideo.floodlightGroups.floodlightActivities.list", +"parameterOrder": [ +"floodlightGroupId" +], +"parameters": { +"floodlightGroupId": { +"description": "Required. The ID of the parent Floodlight group to which the requested Floodlight activities belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. Field by which to sort the list. Acceptable values are: * `displayName` (default) * `floodlightActivityId` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFloodlightActivities` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner through which the Floodlight activities are being accessed.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities", +"response": { +"$ref": "ListFloodlightActivitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"googleAudiences": { +"methods": { +"get": { +"description": "Gets a Google audience.", +"flatPath": "v3/googleAudiences/{googleAudiencesId}", +"httpMethod": "GET", +"id": "displayvideo.googleAudiences.get", +"parameterOrder": [ +"googleAudienceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched Google audience.", +"format": "int64", +"location": "query", +"type": "string" +}, +"googleAudienceId": { +"description": "Required. The ID of the Google audience to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched Google audience.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/googleAudiences/{+googleAudienceId}", +"response": { +"$ref": "GoogleAudience" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists Google audiences. The order is defined by the order_by parameter.", +"flatPath": "v3/googleAudiences", +"httpMethod": "GET", +"id": "displayvideo.googleAudiences.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the fetched Google audiences.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by Google audience fields. Supported syntax: * Filter expressions for Google audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All Google audiences for which the display name contains \"Google\": `displayName:\"Google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `googleAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGoogleAudiences` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the fetched Google audiences.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/googleAudiences", +"response": { +"$ref": "ListGoogleAudiencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"guaranteedOrders": { +"methods": { +"create": { +"description": "Creates a new guaranteed order. Returns the newly created guaranteed order if successful.", +"flatPath": "v3/guaranteedOrders", +"httpMethod": "POST", +"id": "displayvideo.guaranteedOrders.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/guaranteedOrders", +"request": { +"$ref": "GuaranteedOrder" +}, +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editGuaranteedOrderReadAccessors": { +"description": "Edits read advertisers of a guaranteed order.", +"flatPath": "v3/guaranteedOrders/{guaranteedOrdersId}:editGuaranteedOrderReadAccessors", +"httpMethod": "POST", +"id": "displayvideo.guaranteedOrders.editGuaranteedOrderReadAccessors", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"guaranteedOrderId": { +"description": "Required. The ID of the guaranteed order to edit. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/guaranteedOrders/{+guaranteedOrderId}:editGuaranteedOrderReadAccessors", +"request": { +"$ref": "EditGuaranteedOrderReadAccessorsRequest" +}, +"response": { +"$ref": "EditGuaranteedOrderReadAccessorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a guaranteed order.", +"flatPath": "v3/guaranteedOrders/{guaranteedOrdersId}", +"httpMethod": "GET", +"id": "displayvideo.guaranteedOrders.get", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +}, +"guaranteedOrderId": { +"description": "Required. The ID of the guaranteed order to fetch. The ID is of the format `{exchange}-{legacy_guaranteed_order_id}`", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/guaranteedOrders/{+guaranteedOrderId}", +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, guaranteed orders with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/guaranteedOrders", +"httpMethod": "GET", +"id": "displayvideo.guaranteedOrders.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by guaranteed order fields. * 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}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `guaranteed_order_id` * `exchange` * `display_name` * `status.entityStatus` Examples: * All active guaranteed orders: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Guaranteed orders belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListGuaranteedOrders` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the guaranteed order.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/guaranteedOrders", +"response": { +"$ref": "ListGuaranteedOrdersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing guaranteed order. Returns the updated guaranteed order if successful.", +"flatPath": "v3/guaranteedOrders/{guaranteedOrdersId}", +"httpMethod": "PATCH", +"id": "displayvideo.guaranteedOrders.patch", +"parameterOrder": [ +"guaranteedOrderId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"guaranteedOrderId": { +"description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/guaranteedOrders/{+guaranteedOrderId}", +"request": { +"$ref": "GuaranteedOrder" +}, +"response": { +"$ref": "GuaranteedOrder" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"inventorySourceGroups": { +"methods": { +"create": { +"description": "Creates a new inventory source group. Returns the newly created inventory source group if successful.", +"flatPath": "v3/inventorySourceGroups", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups", +"request": { +"$ref": "InventorySourceGroup" +}, +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an inventory source group.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}", +"httpMethod": "DELETE", +"id": "displayvideo.inventorySourceGroups.delete", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an inventory source group.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.get", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}", +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.", +"flatPath": "v3/inventorySourceGroups", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by inventory source group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `inventorySourceGroupId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source group. A partner cannot access advertiser-owned inventory source groups.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups", +"response": { +"$ref": "ListInventorySourceGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an inventory source group. Returns the updated inventory source group if successful.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupId}", +"httpMethod": "PATCH", +"id": "displayvideo.inventorySourceGroups.patch", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Output only. The unique ID of the inventory source group. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to this group.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{inventorySourceGroupId}", +"request": { +"$ref": "InventorySourceGroup" +}, +"response": { +"$ref": "InventorySourceGroup" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"assignedInventorySources": { +"methods": { +"bulkEdit": { +"description": "Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which the assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit", +"request": { +"$ref": "BulkEditAssignedInventorySourcesRequest" +}, +"response": { +"$ref": "BulkEditAssignedInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates an assignment between an inventory source and an inventory source group.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", +"httpMethod": "POST", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.create", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner will not have access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which the assignment will be assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent inventory source group. Only this partner will have write access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", +"request": { +"$ref": "AssignedInventorySource" +}, +"response": { +"$ref": "AssignedInventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes the assignment between an inventory source and an inventory source group.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources/{assignedInventorySourcesId}", +"httpMethod": "DELETE", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.delete", +"parameterOrder": [ +"inventorySourceGroupId", +"assignedInventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"assignedInventorySourceId": { +"description": "Required. The ID of the assigned inventory source to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which this assignment is assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent inventory source group. Only this partner has write access to this assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory sources assigned to an inventory source group.", +"flatPath": "v3/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources", +"httpMethod": "GET", +"id": "displayvideo.inventorySourceGroups.assignedInventorySources.list", +"parameterOrder": [ +"inventorySourceGroupId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the assignment. If the parent inventory source group is partner-owned, only advertisers to which the parent group is explicitly shared can access the assigned inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by assigned inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedInventorySourceId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Required. The ID of the inventory source group to which these assignments are assigned.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedInventorySourceId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `assignedInventorySourceId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the assignment. If the parent inventory source group is advertiser-owned, the assignment cannot be accessed via a partner.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources", +"response": { +"$ref": "ListAssignedInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"inventorySources": { +"methods": { +"create": { +"description": "Creates a new inventory source. Returns the newly created inventory source if successful.", +"flatPath": "v3/inventorySources", +"httpMethod": "POST", +"id": "displayvideo.inventorySources.create", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySources", +"request": { +"$ref": "InventorySource" +}, +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"editInventorySourceReadWriteAccessors": { +"description": "Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.", +"flatPath": "v3/inventorySources/{inventorySourcesId}:editInventorySourceReadWriteAccessors", +"httpMethod": "POST", +"id": "displayvideo.inventorySources.editInventorySourceReadWriteAccessors", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"inventorySourceId": { +"description": "Required. The ID of inventory source to update.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors", +"request": { +"$ref": "EditInventorySourceReadWriteAccessorsRequest" +}, +"response": { +"$ref": "InventorySourceAccessors" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets an inventory source.", +"flatPath": "v3/inventorySources/{inventorySourcesId}", +"httpMethod": "GET", +"id": "displayvideo.inventorySources.get", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "Optional. The ID of the DV360 advertiser to which the fetched inventory source is permissioned. If the user only has access to the advertiser and not the parent partner, use this field to specify the relevant advertiser.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceId": { +"description": "Required. The ID of the inventory source to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the DV360 partner to which the fetched inventory source is permissioned.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySources/{+inventorySourceId}", +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists inventory sources that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.", +"flatPath": "v3/inventorySources", +"httpMethod": "GET", +"id": "displayvideo.inventorySources.list", +"parameterOrder": [], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that has access to the inventory source.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by inventory source fields. 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}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `status.entityStatus` * `commitment` * `deliveryMethod` * `rateDetails.rateType` * `exchange` Examples: * All active inventory sources: `status.entityStatus=\"ENTITY_STATUS_ACTIVE\"` * Inventory sources belonging to Google Ad Manager or Rubicon exchanges: `exchange=\"EXCHANGE_GOOGLE_AD_MANAGER\" OR exchange=\"EXCHANGE_RUBICON\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that has access to the inventory source.", +"format": "int64", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySources", +"response": { +"$ref": "ListInventorySourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates an existing inventory source. Returns the updated inventory source if successful.", +"flatPath": "v3/inventorySources/{inventorySourcesId}", +"httpMethod": "PATCH", +"id": "displayvideo.inventorySources.patch", +"parameterOrder": [ +"inventorySourceId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"inventorySourceId": { +"description": "Output only. The unique ID of the inventory source. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the request is being made within.", +"format": "int64", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/inventorySources/{+inventorySourceId}", +"request": { +"$ref": "InventorySource" +}, +"response": { +"$ref": "InventorySource" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +}, +"media": { +"methods": { +"download": { +"description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.", +"flatPath": "download/{downloadId}", +"httpMethod": "GET", +"id": "displayvideo.media.download", +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "download/{+resourceName}", +"response": { +"$ref": "GoogleBytestreamMedia" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +], +"supportsMediaDownload": true +}, +"upload": { +"description": "Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` **Note**: Upload requests will not be successful without including `upload_type=media` query string.", +"flatPath": "media/{mediaId}", +"httpMethod": "POST", +"id": "displayvideo.media.upload", +"mediaUpload": { +"accept": [ +"*/*" +], +"protocols": { +"simple": { +"multipart": true, +"path": "/upload/media/{+resourceName}" +} +} +}, +"parameterOrder": [ +"resourceName" +], +"parameters": { +"resourceName": { +"description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "media/{+resourceName}", +"request": { +"$ref": "GoogleBytestreamMedia" +}, +"response": { +"$ref": "GoogleBytestreamMedia" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +], +"supportsMediaUpload": true +} +} +}, +"partners": { +"methods": { +"editAssignedTargetingOptions": { +"description": "Edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .", +"flatPath": "v3/partners/{partnersId}:editAssignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.partners.editAssignedTargetingOptions", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}:editAssignedTargetingOptions", +"request": { +"$ref": "BulkEditPartnerAssignedTargetingOptionsRequest" +}, +"response": { +"$ref": "BulkEditPartnerAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a partner.", +"flatPath": "v3/partners/{partnersId}", +"httpMethod": "GET", +"id": "displayvideo.partners.get", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}", +"response": { +"$ref": "Partner" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists partners that are accessible to the current user. The order is defined by the order_by parameter.", +"flatPath": "v3/partners", +"httpMethod": "GET", +"id": "displayvideo.partners.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by partner fields. 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}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `entityStatus` Examples: * All active partners: `entityStatus=\"ENTITY_STATUS_ACTIVE\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartners` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/partners", +"response": { +"$ref": "ListPartnersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"channels": { +"methods": { +"create": { +"description": "Creates a new channel. Returns the newly created channel if successful.", +"flatPath": "v3/partners/{partnersId}/channels", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.create", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a channel for a partner or advertiser.", +"flatPath": "v3/partners/{partnersId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.get", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the fetched channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the channel to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the fetched channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/channels/{+channelId}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists channels for a partner or advertiser.", +"flatPath": "v3/partners/{partnersId}/channels", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.list", +"parameterOrder": [ +"partnerId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channels.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channels.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"patch": { +"description": "Updates a channel. Returns the updated channel if successful.", +"flatPath": "v3/partners/{partnersId}/channels/{channelId}", +"httpMethod": "PATCH", +"id": "displayvideo.partners.channels.patch", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the created channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the created channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/channels/{channelId}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"sites": { +"methods": { +"bulkEdit": { +"description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.", +"flatPath": "v3/partners/{partnerId}/channels/{channelsId}/sites:bulkEdit", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.bulkEdit", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"channelId": { +"description": "Required. The ID of the parent channel to which the sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit", +"request": { +"$ref": "BulkEditSitesRequest" +}, +"response": { +"$ref": "BulkEditSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"create": { +"description": "Creates a site in a channel.", +"flatPath": "v3/partners/{partnerId}/channels/{channelsId}/sites", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.create", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel in which the site will be created.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{partnerId}/channels/{+channelId}/sites", +"request": { +"$ref": "Site" +}, +"response": { +"$ref": "Site" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes a site from a channel.", +"flatPath": "v3/partners/{partnerId}/channels/{channelsId}/sites/{sitesId}", +"httpMethod": "DELETE", +"id": "displayvideo.partners.channels.sites.delete", +"parameterOrder": [ +"partnerId", +"channelId", +"urlOrAppId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the site belongs.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The URL or app ID of the site to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists sites in a channel.", +"flatPath": "v3/partners/{partnersId}/channels/{channelsId}/sites", +"httpMethod": "GET", +"id": "displayvideo.partners.channels.sites.list", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"location": "query", +"type": "string" +}, +"channelId": { +"description": "Required. The ID of the parent channel to which the requested sites belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"filter": { +"description": "Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for which the URL or app ID contains \"google\": `urlOrAppId : \"google\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `urlOrAppId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/channels/{+channelId}/sites", +"response": { +"$ref": "ListSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"replace": { +"description": "Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. **This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.", +"flatPath": "v3/partners/{partnerId}/channels/{channelsId}/sites:replace", +"httpMethod": "POST", +"id": "displayvideo.partners.channels.sites.replace", +"parameterOrder": [ +"partnerId", +"channelId" +], +"parameters": { +"channelId": { +"description": "Required. The ID of the parent channel whose sites will be replaced.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{partnerId}/channels/{+channelId}/sites:replace", +"request": { +"$ref": "ReplaceSitesRequest" +}, +"response": { +"$ref": "ReplaceSitesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"assignedTargetingOptions": { +"methods": { +"create": { +"description": "Assigns a targeting option to a partner. Returns the assigned targeting option if successful.", +"flatPath": "v3/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "POST", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.create", +"parameterOrder": [ +"partnerId", +"targetingType" +], +"parameters": { +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"request": { +"$ref": "AssignedTargetingOption" +}, +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"delete": { +"description": "Deletes an assigned targeting option from a partner.", +"flatPath": "v3/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "DELETE", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.delete", +"parameterOrder": [ +"partnerId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"assignedTargetingOptionId": { +"description": "Required. The ID of the assigned targeting option to delete.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"get": { +"description": "Gets a single targeting option assigned to a partner.", +"flatPath": "v3/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.get", +"parameterOrder": [ +"partnerId", +"targetingType", +"assignedTargetingOptionId" +], +"parameters": { +"assignedTargetingOptionId": { +"description": "Required. An identifier unique to the targeting type in this partner that identifies the assigned targeting option being requested.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}", +"response": { +"$ref": "AssignedTargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists the targeting options assigned to a partner.", +"flatPath": "v3/partners/{partnersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions", +"httpMethod": "GET", +"id": "displayvideo.partners.targetingTypes.assignedTargetingOptions.list", +"parameterOrder": [ +"partnerId", +"targetingType" +], +"parameters": { +"filter": { +"description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * `AssignedTargetingOption` resource with ID 123456: `assignedTargetingOptionId=\"123456\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListPartnerAssignedTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"partnerId": { +"description": "Required. The ID of the partner.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions", +"response": { +"$ref": "ListPartnerAssignedTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +} +} +}, +"sdfdownloadtasks": { +"methods": { +"create": { +"description": "Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with `sdfdownloadtasks.operations.get`. Any errors can be found in the error.message. Note that error.details is expected to be empty.", +"flatPath": "v3/sdfdownloadtasks", +"httpMethod": "POST", +"id": "displayvideo.sdfdownloadtasks.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/sdfdownloadtasks", +"request": { +"$ref": "CreateSdfDownloadTaskRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.", +"flatPath": "v3/sdfdownloadtasks/operations/{operationsId}", +"httpMethod": "GET", +"id": "displayvideo.sdfdownloadtasks.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^sdfdownloadtasks/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video", +"https://www.googleapis.com/auth/doubleclickbidmanager" +] +} +} +} +} +}, +"targetingTypes": { +"resources": { +"targetingOptions": { +"methods": { +"get": { +"description": "Gets a single targeting option.", +"flatPath": "v3/targetingTypes/{targetingTypesId}/targetingOptions/{targetingOptionsId}", +"httpMethod": "GET", +"id": "displayvideo.targetingTypes.targetingOptions.get", +"parameterOrder": [ +"targetingType", +"targetingOptionId" +], +"parameters": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"location": "query", +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The ID of the of targeting option to retrieve.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +}, +"targetingType": { +"description": "Required. The type of targeting option to retrieve. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}", +"response": { +"$ref": "TargetingOption" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"list": { +"description": "Lists targeting options of a given type.", +"flatPath": "v3/targetingTypes/{targetingTypesId}/targetingOptions", +"httpMethod": "GET", +"id": "displayvideo.targetingTypes.targetingOptions.list", +"parameterOrder": [ +"targetingType" +], +"parameters": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Allows filtering by targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `OR` logical operators. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `carrierAndIspDetails.type` * `geoRegionDetails.geoRegionType` * `targetingOptionId` Examples: * All `GEO REGION` targeting options that belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_COUNTRY\" OR geoRegionDetails.geoRegionType=\"GEO_REGION_TYPE_STATE\"` * All `CARRIER AND ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: `carrierAndIspDetails.type=\"CARRIER_AND_ISP_TYPE_CARRIER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `targetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingOptionId desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListTargetingOptions` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +}, +"targetingType": { +"description": "Required. The type of targeting option to be listed. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/targetingTypes/{+targetingType}/targetingOptions", +"response": { +"$ref": "ListTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +}, +"search": { +"description": "Searches for targeting options of a given type based on the given search terms.", +"flatPath": "v3/targetingTypes/{targetingTypesId}/targetingOptions:search", +"httpMethod": "POST", +"id": "displayvideo.targetingTypes.targetingOptions.search", +"parameterOrder": [ +"targetingType" +], +"parameters": { +"targetingType": { +"description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN`", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/targetingTypes/{+targetingType}/targetingOptions:search", +"request": { +"$ref": "SearchTargetingOptionsRequest" +}, +"response": { +"$ref": "SearchTargetingOptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video" +] +} +} +} +} +}, +"users": { +"methods": { +"bulkEditAssignedUserRoles": { +"description": "Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users/{usersId}:bulkEditAssignedUserRoles", +"httpMethod": "POST", +"id": "displayvideo.users.bulkEditAssignedUserRoles", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to which the assigned user roles belong.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{+userId}:bulkEditAssignedUserRoles", +"request": { +"$ref": "BulkEditAssignedUserRolesRequest" +}, +"response": { +"$ref": "BulkEditAssignedUserRolesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"create": { +"description": "Creates a new user. Returns the newly created user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users", +"httpMethod": "POST", +"id": "displayvideo.users.create", +"parameterOrder": [], +"parameters": {}, +"path": "v3/users", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"delete": { +"description": "Deletes a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users/{usersId}", +"httpMethod": "DELETE", +"id": "displayvideo.users.delete", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to delete.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{+userId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"get": { +"description": "Gets a user. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users/{usersId}", +"httpMethod": "GET", +"id": "displayvideo.users.get", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"description": "Required. The ID of the user to fetch.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{+userId}", +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"list": { +"description": "Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users", +"httpMethod": "GET", +"id": "displayvideo.users.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `displayName` and `email` fields must use the `HAS (:)` operator. * The `lastLoginTime` field must use either the `LESS THAN OR EQUAL TO (<=)` or `GREATER THAN OR EQUAL TO (>=)` operator. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `assignedUserRole.advertiserId` * `assignedUserRole.entityType`: This is synthetic field of `AssignedUserRole` used for filtering. Identifies the type of entity to which the user role is assigned. Valid values are `Partner` and `Advertiser`. * `assignedUserRole.parentPartnerId`: This is a synthetic field of `AssignedUserRole` used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * `assignedUserRole.partnerId` * `assignedUserRole.userRole` * `displayName` * `email` * `lastLoginTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * The user with `displayName` containing \"foo\": `displayName:\"foo\"` * The user with `email` containing \"bar\": `email:\"bar\"` * All users with standard user roles: `assignedUserRole.userRole=\"STANDARD\"` * All users with user roles for partner 123: `assignedUserRole.partnerId=\"123\"` * All users with user roles for advertiser 123: `assignedUserRole.advertiserId=\"123\"` * All users with partner level user roles: `entityType=\"PARTNER\"` * All users with user roles for partner 123 and advertisers under partner 123: `parentPartnerId=\"123\"` * All users that last logged in on or after 2023-01-01T00:00:00Z (format of ISO 8601): `lastLoginTime>=\"2023-01-01T00:00:00Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListUsers` method. If not specified, the first page of results will be returned.", +"location": "query", +"type": "string" +} +}, +"path": "v3/users", +"response": { +"$ref": "ListUsersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +}, +"patch": { +"description": "Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The \"Try this method\" feature does not work for this method.", +"flatPath": "v3/users/{usersId}", +"httpMethod": "PATCH", +"id": "displayvideo.users.patch", +"parameterOrder": [ +"userId" +], +"parameters": { +"updateMask": { +"description": "Required. The mask to control which fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"userId": { +"description": "Output only. The unique ID of the user. Assigned by the system.", +"format": "int64", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/users/{+userId}", +"request": { +"$ref": "User" +}, +"response": { +"$ref": "User" +}, +"scopes": [ +"https://www.googleapis.com/auth/display-video-user-management" +] +} +} +} +}, +"revision": "20260224", +"rootUrl": "https://displayvideo.googleapis.com/", +"schemas": { +"ActiveViewVideoViewabilityMetricConfig": { +"description": "Configuration for custom Active View video viewability metrics.", +"id": "ActiveViewVideoViewabilityMetricConfig", +"properties": { +"displayName": { +"description": "Required. The display name of the custom metric.", +"type": "string" +}, +"minimumDuration": { +"description": "The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", +"enum": [ +"VIDEO_DURATION_UNSPECIFIED", +"VIDEO_DURATION_SECONDS_NONE", +"VIDEO_DURATION_SECONDS_0", +"VIDEO_DURATION_SECONDS_1", +"VIDEO_DURATION_SECONDS_2", +"VIDEO_DURATION_SECONDS_3", +"VIDEO_DURATION_SECONDS_4", +"VIDEO_DURATION_SECONDS_5", +"VIDEO_DURATION_SECONDS_6", +"VIDEO_DURATION_SECONDS_7", +"VIDEO_DURATION_SECONDS_8", +"VIDEO_DURATION_SECONDS_9", +"VIDEO_DURATION_SECONDS_10", +"VIDEO_DURATION_SECONDS_11", +"VIDEO_DURATION_SECONDS_12", +"VIDEO_DURATION_SECONDS_13", +"VIDEO_DURATION_SECONDS_14", +"VIDEO_DURATION_SECONDS_15", +"VIDEO_DURATION_SECONDS_30", +"VIDEO_DURATION_SECONDS_45", +"VIDEO_DURATION_SECONDS_60" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"No duration value.", +"0 seconds.", +"1 second.", +"2 seconds.", +"3 seconds.", +"4 seconds.", +"5 seconds.", +"6 seconds.", +"7 seconds.", +"8 seconds.", +"9 seconds.", +"10 seconds.", +"11 seconds.", +"12 seconds.", +"13 seconds.", +"14 seconds.", +"15 seconds.", +"30 seconds.", +"45 seconds.", +"60 seconds." +], +"type": "string" +}, +"minimumQuartile": { +"description": "The minimum visible video duration required, based on the video quartiles, in order for an impression to be recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric criteria if either requirement is met (whichever happens first).", +"enum": [ +"VIDEO_DURATION_QUARTILE_UNSPECIFIED", +"VIDEO_DURATION_QUARTILE_NONE", +"VIDEO_DURATION_QUARTILE_FIRST", +"VIDEO_DURATION_QUARTILE_SECOND", +"VIDEO_DURATION_QUARTILE_THIRD", +"VIDEO_DURATION_QUARTILE_FOURTH" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"No quartile value.", +"First quartile.", +"Second quartile (midpoint).", +"Third quartile.", +"Fourth quartile (completion)." +], +"type": "string" +}, +"minimumViewability": { +"description": "Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression to be recorded.", +"enum": [ +"VIEWABILITY_PERCENT_UNSPECIFIED", +"VIEWABILITY_PERCENT_0", +"VIEWABILITY_PERCENT_25", +"VIEWABILITY_PERCENT_50", +"VIEWABILITY_PERCENT_75", +"VIEWABILITY_PERCENT_100" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"0% viewable.", +"25% viewable.", +"50% viewable.", +"75% viewable.", +"100% viewable." +], +"type": "string" +}, +"minimumVolume": { +"description": "Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded.", +"enum": [ +"VIDEO_VOLUME_PERCENT_UNSPECIFIED", +"VIDEO_VOLUME_PERCENT_0", +"VIDEO_VOLUME_PERCENT_10" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"0% volume.", +"10% volume." +], +"type": "string" +} +}, +"type": "object" +}, +"AdGroup": { +"description": "A single ad group associated with a line item.", +"id": "AdGroup", +"properties": { +"adGroupFormat": { +"description": "Required. The format of the ads in the ad group.", +"enum": [ +"AD_GROUP_FORMAT_UNSPECIFIED", +"AD_GROUP_FORMAT_IN_STREAM", +"AD_GROUP_FORMAT_VIDEO_DISCOVERY", +"AD_GROUP_FORMAT_BUMPER", +"AD_GROUP_FORMAT_NON_SKIPPABLE_IN_STREAM", +"AD_GROUP_FORMAT_AUDIO", +"AD_GROUP_FORMAT_RESPONSIVE", +"AD_GROUP_FORMAT_REACH", +"AD_GROUP_FORMAT_MASTHEAD" +], +"enumDescriptions": [ +"Format value is not specified or is unknown in this version.", +"In-stream ads.", +"In-feed ads.", +"Bumper ads.", +"Non-skippable in-stream ads.", +"Non-skippable in-stream audio ads.", +"Responsive ads.", +"[Effective reach ad groups] (https://support.google.com/displayvideo/answer/9173684), including in-stream and bumper ads.", +"Masthead Ad that is surfaced on the top slot on the YouTube homepage." +], +"type": "string" +}, +"adGroupId": { +"description": "Output only. The unique ID of the ad group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the ad group belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Optional. The bidding strategy used by the ad group. Only the youtubeAndPartnersBid and demandGenBid field can be used in the bidding strategy." +}, +"displayName": { +"description": "Required. The display name of the ad group. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the ad group can spend its budget and bid on inventory. If the ad group's parent line item is not active, the ad group can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"lineItemId": { +"description": "Required. The unique ID of the line item that the ad group belongs to.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Identifier. The resource name of the ad group.", +"readOnly": true, +"type": "string" +}, +"productFeedData": { +"$ref": "ProductFeedData", +"description": "Optional. The settings of the product feed in this ad group." +}, +"targetingExpansion": { +"$ref": "TargetingExpansionConfig", +"description": "Optional. The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the ad group." +} +}, +"type": "object" +}, +"AdGroupAd": { +"description": "A single ad associated with an ad group.", +"id": "AdGroupAd", +"properties": { +"adGroupAdId": { +"description": "Output only. The unique ID of the ad. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"adGroupId": { +"description": "Required. The unique ID of the ad group that the ad belongs to.", +"format": "int64", +"type": "string" +}, +"adPolicy": { +"$ref": "AdPolicy", +"description": "Output only. The policy approval status of the ad.", +"readOnly": true +}, +"adUrls": { +"description": "Output only. List of URLs used by the ad.", +"items": { +"$ref": "AdUrl" +}, +"readOnly": true, +"type": "array" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the ad belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"audioAd": { +"$ref": "AudioAd", +"description": "Output only. Details of an [audio ad](//support.google.com/displayvideo/answer/6274216) used for reach marketing objectives.", +"readOnly": true +}, +"bumperAd": { +"$ref": "BumperAd", +"description": "Output only. Details of a [non-skippable short video ad](//support.google.com/displayvideo/answer/6274216), equal to or less than 6 seconds, used for reach.", +"readOnly": true +}, +"displayName": { +"description": "Required. The display name of the ad. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"displayVideoSourceAd": { +"$ref": "DisplayVideoSourceAd", +"description": "Output only. Details of an ad sourced from a Display & Video 360 creative.", +"readOnly": true +}, +"entityStatus": { +"description": "Required. The entity status of the ad.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"inStreamAd": { +"$ref": "InStreamAd", +"description": "Output only. Details of an [in-stream ad skippable after 5 seconds](//support.google.com/displayvideo/answer/6274216), used for brand awareness or reach marketing objectives.", +"readOnly": true +}, +"mastheadAd": { +"$ref": "MastheadAd", +"description": "Output only. Details of an [ad served on the YouTube Home feed](//support.google.com/google-ads/answer/9709826).", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the ad.", +"readOnly": true, +"type": "string" +}, +"nonSkippableAd": { +"$ref": "NonSkippableAd", +"description": "Output only. Details of a [non-skippable short in-stream video ad](//support.google.com/displayvideo/answer/6274216), between 6 and 15 seconds, used for reach marketing objectives.", +"readOnly": true +}, +"videoDiscoverAd": { +"$ref": "VideoDiscoveryAd", +"description": "Output only. Details of an [ad promoting a video](//support.google.com/displayvideo/answer/6274216) that shows in places of discovery.", +"readOnly": true +}, +"videoPerformanceAd": { +"$ref": "VideoPerformanceAd", +"description": "Output only. Details of an [ad used in a video action campaign](//support.google.com/google-ads/answer/10147229) to drive actions to the business, service or product.", +"readOnly": true +} +}, +"type": "object" +}, +"AdGroupAssignedTargetingOption": { +"description": "Wrapper object associating an AssignedTargetingOption resource and the ad group it is assigned to.", +"id": "AdGroupAssignedTargetingOption", +"properties": { +"adGroupId": { +"description": "The ID of the ad group the assigned targeting option is assigned to.", +"format": "int64", +"type": "string" +}, +"assignedTargetingOption": { +"$ref": "AssignedTargetingOption", +"description": "The assigned targeting option resource." +} +}, +"type": "object" +}, +"AdPolicy": { +"description": "A single ad policy associated with an ad group ad.", +"id": "AdPolicy", +"properties": { +"adPolicyApprovalStatus": { +"description": "The policy approval status of an ad, indicating the approval decision.", +"enum": [ +"AD_POLICY_APPROVAL_STATUS_UNKNOWN", +"DISAPPROVED", +"APPROVED_LIMITED", +"APPROVED", +"AREA_OF_INTEREST_ONLY" +], +"enumDescriptions": [ +"Unknown or not specified.", +"Will not serve.", +"Will serve with restrictions.", +"Will serve without restrictions.", +"Will not serve in targeted countries, but may serve for users who are searching for information about the targeted countries." +], +"type": "string" +}, +"adPolicyReviewStatus": { +"description": "The policy review status of an ad, indicating where in the review process the ad is currently.", +"enum": [ +"AD_POLICY_REVIEW_STATUS_UNKNOWN", +"REVIEW_IN_PROGRESS", +"REVIEWED", +"UNDER_APPEAL", +"ELIGIBLE_MAY_SERVE" +], +"enumDescriptions": [ +"Unknown or not specified.", +"Currently under review.", +"Primary review complete. Other reviews may still be in progress.", +"Resubmitted for approval or a policy decision has been appealed.", +"Deemed eligible and may be serving. Further review could still follow." +], +"type": "string" +}, +"adPolicyTopicEntry": { +"description": "The entries for each policy topic identified as relating to the ad. Each entry includes the topic, restriction level, and guidance on how to fix policy issues.", +"items": { +"$ref": "AdPolicyTopicEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyCriterionRestriction": { +"description": "Represents a country restriction.", +"id": "AdPolicyCriterionRestriction", +"properties": { +"countryCriterionId": { +"description": "The country criterion id.", +"format": "int64", +"type": "string" +}, +"countryLabel": { +"description": "Localized name for the country. May be empty.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicAppealInfo": { +"description": "Information on how to appeal a policy decision.", +"id": "AdPolicyTopicAppealInfo", +"properties": { +"appealFormLink": { +"description": "Only available when appeal_type is `APPEAL_FORM`.", +"type": "string" +}, +"appealType": { +"description": "Whether the decision can be appealed through a self-service appeal or an appeal form.", +"enum": [ +"AD_POLICY_APPEAL_TYPE_UNKNOWN", +"SELF_SERVICE_APPEAL", +"APPEAL_FORM" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The decision can be appealed through a self-service appeal.", +"The decision can be appealed using an appeal form." +], +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicConstraint": { +"description": "Details on ad serving constraints.", +"id": "AdPolicyTopicConstraint", +"properties": { +"certificateDomainMismatchCountryList": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where the resource's domain is not covered by the certificates associated with it." +}, +"certificateMissingCountryList": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where a certificate is required for serving." +}, +"countryConstraint": { +"$ref": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"description": "Countries where the ad cannot serve." +}, +"globalCertificateDomainMismatch": { +"$ref": "AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint", +"description": "Certificate is required to serve in any country and the existing certificate does not cover the ad's domain." +}, +"globalCertificateMissing": { +"$ref": "AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint", +"description": "Certificate is required to serve in any country." +}, +"requestCertificateFormLink": { +"description": "Link to the form to request a certificate for the constraint.", +"type": "string" +}, +"resellerConstraint": { +"$ref": "AdPolicyTopicConstraintAdPolicyResellerConstraint", +"description": "Reseller constraint." +} +}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyCountryConstraintList": { +"description": "A list of countries where the ad cannot serve due to policy constraints.", +"id": "AdPolicyTopicConstraintAdPolicyCountryConstraintList", +"properties": { +"countries": { +"description": "Countries where the ad cannot serve.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint": { +"description": "Certificate is required to serve in any country and the existing certificate does not cover the ad's domain.", +"id": "AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint": { +"description": "Certificate is required to serve in any country.", +"id": "AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicConstraintAdPolicyResellerConstraint": { +"description": "Policy topic was constrained due to disapproval of the website for reseller purposes.", +"id": "AdPolicyTopicConstraintAdPolicyResellerConstraint", +"properties": {}, +"type": "object" +}, +"AdPolicyTopicEntry": { +"description": "An entry describing how an ad has been identified as relating to an ad policy.", +"id": "AdPolicyTopicEntry", +"properties": { +"appealInfo": { +"$ref": "AdPolicyTopicAppealInfo", +"description": "Information on how to appeal the policy decision." +}, +"helpCenterLink": { +"description": "Ad policy help center link for the policy topic.", +"type": "string" +}, +"policyDecisionType": { +"description": "The source of the policy decision.", +"enum": [ +"AD_POLICY_DECISION_TYPE_UNKNOWN", +"PURSUANT_TO_NOTICE", +"GOOGLE_INVESTIGATION" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The decision is from a legal notice, court order, or trademark content owner complaint, etc.", +"The decision is from a Google-owned investigation." +], +"type": "string" +}, +"policyEnforcementMeans": { +"description": "The policy enforcement means used in the policy review.", +"enum": [ +"AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", +"AUTOMATED", +"HUMAN_REVIEW" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The enforcement process was fully automated.", +"A human was partially or fully involved in the decision enforcement process." +], +"type": "string" +}, +"policyLabel": { +"description": "Localized label text for policy. Examples include \"Trademarks in text\", \"Contains Alcohol\", etc.", +"type": "string" +}, +"policyTopic": { +"description": "The policy topic. Examples include \"TRADEMARKS\", \"ALCOHOL\", etc.", +"type": "string" +}, +"policyTopicConstraints": { +"description": "The serving constraints relevant to the policy decision.", +"items": { +"$ref": "AdPolicyTopicConstraint" +}, +"type": "array" +}, +"policyTopicDescription": { +"description": "A short summary description of the policy topic.", +"type": "string" +}, +"policyTopicEvidences": { +"description": "The evidence used in the policy decision.", +"items": { +"$ref": "AdPolicyTopicEvidence" +}, +"type": "array" +}, +"policyTopicType": { +"description": "How ad serving will be affected due to the relation to the ad policy topic.", +"enum": [ +"AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", +"PROHIBITED", +"FULLY_LIMITED", +"LIMITED", +"DESCRIPTIVE", +"BROADENING", +"AREA_OF_INTEREST_ONLY" +], +"enumDescriptions": [ +"Unknown or not specified.", +"The resource will not serve.", +"The resource will not serve in all targeted countries.", +"The resource cannot serve in some countries.", +"The resource can serve.", +"The resource can serve, and may serve beyond normal coverage.", +"The resource is constrained for all targeted countries, but may serve for users who are searching for information about the targeted countries." +], +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidence": { +"description": "Evidence information used in the policy decision.", +"id": "AdPolicyTopicEvidence", +"properties": { +"counterfeit": { +"$ref": "AdPolicyTopicEvidenceCounterfeit", +"description": "Counterfeit enforcement that caused a policy violation." +}, +"destinationMismatch": { +"$ref": "AdPolicyTopicEvidenceDestinationMismatch", +"description": "A mismatch between the ad destination URLs." +}, +"destinationNotWorking": { +"$ref": "AdPolicyTopicEvidenceDestinationNotWorking", +"description": "Information on HTTP or DNS errors related to the ad destination." +}, +"destinationTextList": { +"$ref": "AdPolicyTopicEvidenceDestinationTextList", +"description": "The text in the destination of the ad that is causing a policy violation." +}, +"httpCode": { +"description": "HTTP code returned when the final URL was crawled.", +"format": "int32", +"type": "integer" +}, +"languageCode": { +"description": "The language the ad was detected to be written in. This field uses IETF language tags, such as \"en-US\".", +"type": "string" +}, +"legalRemoval": { +"$ref": "AdPolicyTopicEvidenceLegalRemoval", +"description": "Legal related regulation enforcement that caused a policy violation." +}, +"regionalRequirements": { +"$ref": "AdPolicyTopicEvidenceRegionalRequirements", +"description": "T&S proactive enforcement that caused a policy violation." +}, +"textList": { +"$ref": "AdPolicyTopicEvidenceTextList", +"description": "List of evidence found in the text of the ad." +}, +"trademark": { +"$ref": "AdPolicyTopicEvidenceTrademark", +"description": "Trademark terms that caused a policy violation." +}, +"websiteList": { +"$ref": "AdPolicyTopicEvidenceWebsiteList", +"description": "List of websites linked with the ad." +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceCounterfeit": { +"description": "Details on the counterfeit enforcement that caused a policy violation.", +"id": "AdPolicyTopicEvidenceCounterfeit", +"properties": { +"owners": { +"description": "The content or product owners that made a complaint.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationMismatch": { +"description": "Details on a mismatch between destination URL types.", +"id": "AdPolicyTopicEvidenceDestinationMismatch", +"properties": { +"uriTypes": { +"description": "The set of URLs that do not match. The list can include single or multiple uri types. Example 1: [`DISPLAY_URL`, `FINAL_URL`] means ad display URL does not match with the ad final URL. Example 2: [`FINAL_URL`] means ad final URL did not match the crawled url, which is also considered as destination mismatch.", +"items": { +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", +"DISPLAY_URL", +"FINAL_URL", +"FINAL_MOBILE_URL", +"TRACKING_URL", +"MOBILE_TRACKING_URL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"The display URL.", +"The final URL.", +"The final mobile URL.", +"The tracking URL.", +"The mobile tracking URL." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationNotWorking": { +"description": "Details for on HTTP or DNS errors related to the ad destination.", +"id": "AdPolicyTopicEvidenceDestinationNotWorking", +"properties": { +"device": { +"description": "The device where visiting the URL resulted in the error.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", +"DESKTOP", +"ANDROID", +"IOS" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Desktop device.", +"Android device.", +"iOS device." +], +"type": "string" +}, +"dnsErrorType": { +"description": "The type of DNS error.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", +"HOSTNAME_NOT_FOUND", +"GOOGLE_CRAWLER_DNS_ISSUE" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Host name not found in DNS when fetching landing page.", +"Google could not crawl the landing page when communicating with DNS." +], +"type": "string" +}, +"expandedUri": { +"description": "The full URL that didn't work.", +"type": "string" +}, +"httpErrorCode": { +"description": "The HTTP error code.", +"format": "int64", +"type": "string" +}, +"lastCheckedTime": { +"description": "The last time the error was seen when navigating to URL.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceDestinationTextList": { +"description": "A list of destination text that violated the policy.", +"id": "AdPolicyTopicEvidenceDestinationTextList", +"properties": { +"destinationTexts": { +"description": "Destination text that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemoval": { +"description": "Legal related regulation enforcement, either from DMCA or local legal regulation.", +"id": "AdPolicyTopicEvidenceLegalRemoval", +"properties": { +"complaintType": { +"description": "The type of complaint causing the legal removal.", +"enum": [ +"AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", +"COPYRIGHT", +"COURT_ORDER", +"LOCAL_LEGAL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Copyright. Only applies to DMCA.", +"Court order. Only applies to local legal.", +"Local legal regulation. Only applies to local legal." +], +"type": "string" +}, +"countryRestrictions": { +"description": "The countries restricted due to the legal removal.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"dmca": { +"$ref": "AdPolicyTopicEvidenceLegalRemovalDmca", +"description": "Details on the DMCA regulation legal removal." +}, +"localLegal": { +"$ref": "AdPolicyTopicEvidenceLegalRemovalLocalLegal", +"description": "Details on the local legal regulation legal removal." +}, +"restrictedUris": { +"description": "The urls restricted due to the legal removal.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemovalDmca": { +"description": "DMCA complaint details.", +"id": "AdPolicyTopicEvidenceLegalRemovalDmca", +"properties": { +"complainant": { +"description": "The entity who made the legal complaint.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceLegalRemovalLocalLegal": { +"description": "Local legal regulation details.", +"id": "AdPolicyTopicEvidenceLegalRemovalLocalLegal", +"properties": { +"lawType": { +"description": "Type of law for the legal notice.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceRegionalRequirements": { +"description": "Trust & Safety (T&S) proactive enforcement for policies meant to address regional requirements. This is considered a Google-owned investigation instead of a regulation notice since it's proactive T&S enforcement.", +"id": "AdPolicyTopicEvidenceRegionalRequirements", +"properties": { +"regionalRequirementsEntries": { +"description": "List of regional requirements.", +"items": { +"$ref": "AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry": { +"description": "Policy level regional legal violation details.", +"id": "AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry", +"properties": { +"countryRestrictions": { +"description": "The countries restricted due to the legal policy.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"legalPolicy": { +"description": "The legal policy that is being violated.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceTextList": { +"description": "A list of fragments of text that violated the policy.", +"id": "AdPolicyTopicEvidenceTextList", +"properties": { +"texts": { +"description": "The fragments of text from the resource that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceTrademark": { +"description": "Trademark terms that caused a policy violation.", +"id": "AdPolicyTopicEvidenceTrademark", +"properties": { +"countryRestrictions": { +"description": "Countries where the policy violation is relevant.", +"items": { +"$ref": "AdPolicyCriterionRestriction" +}, +"type": "array" +}, +"owner": { +"description": "The trademark content owner.", +"type": "string" +}, +"term": { +"description": "The trademark term.", +"type": "string" +} +}, +"type": "object" +}, +"AdPolicyTopicEvidenceWebsiteList": { +"description": "A list of websites that violated the policy.", +"id": "AdPolicyTopicEvidenceWebsiteList", +"properties": { +"websites": { +"description": "Websites that caused the policy finding.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AdUrl": { +"description": "Additional URLs related to the ad, including beacons.", +"id": "AdUrl", +"properties": { +"type": { +"description": "The type of the Ad URL.", +"enum": [ +"AD_URL_TYPE_UNSPECIFIED", +"AD_URL_TYPE_BEACON_IMPRESSION", +"AD_URL_TYPE_BEACON_EXPANDABLE_DCM_IMPRESSION", +"AD_URL_TYPE_BEACON_CLICK", +"AD_URL_TYPE_BEACON_SKIP" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"A 1x1 tracking pixel to ping when an impression of a creative is delivered.", +"Expandable DCM impression beacon. At serving time, it is expanded to several beacons.", +"Tracking URL to ping when the click event is triggered.", +"Tracking URL to ping when the skip event is triggered." +], +"type": "string" +}, +"url": { +"description": "The URL string value.", +"type": "string" +} +}, +"type": "object" +}, +"Adloox": { +"description": "Details of Scope3 (previously known as Adloox) brand safety settings.", +"id": "Adloox", +"properties": { +"adultExplicitSexualContent": { +"description": "Optional. Adult and Explicit Sexual Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"armsAmmunitionContent": { +"description": "Optional. Arms and Ammunition Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"crimeHarmfulActsIndividualsSocietyHumanRightsViolationsContent": { +"description": "Optional. Crime and Harmful Acts Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"deathInjuryMilitaryConflictContent": { +"description": "Optional. Death, Injury, or Military Conflict Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"debatedSensitiveSocialIssueContent": { +"description": "Optional. Debated Sensitive Social Issue Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"displayIabViewability": { +"description": "Optional. IAB viewability threshold for display ads.", +"enum": [ +"DISPLAY_IAB_VIEWABILITY_UNSPECIFIED", +"DISPLAY_IAB_VIEWABILITY_10", +"DISPLAY_IAB_VIEWABILITY_20", +"DISPLAY_IAB_VIEWABILITY_35", +"DISPLAY_IAB_VIEWABILITY_50", +"DISPLAY_IAB_VIEWABILITY_75" +], +"enumDescriptions": [ +"Default value when not specified or is unknown in this version.", +"10%+ in view (IAB display viewability standard).", +"20%+ in view (IAB display viewability standard).", +"35%+ in view (IAB display viewability standard).", +"50%+ in view (IAB display viewability standard).", +"75%+ in view (IAB display viewability standard)." +], +"type": "string" +}, +"excludedAdlooxCategories": { +"description": "Scope3 categories to exclude.", +"items": { +"enum": [ +"ADLOOX_UNSPECIFIED", +"ADULT_CONTENT_HARD", +"ADULT_CONTENT_SOFT", +"ILLEGAL_CONTENT", +"BORDERLINE_CONTENT", +"DISCRIMINATORY_CONTENT", +"VIOLENT_CONTENT_WEAPONS", +"LOW_VIEWABILITY_DOMAINS", +"FRAUD" +], +"enumDescriptions": [ +"Default value when a Scope3 category is not specified or is unknown in this version.", +"Adult content (hard).", +"Adult content (soft).", +"Illegal content.", +"Borderline content.", +"Discriminatory content.", +"Violent content & weapons.", +"Low viewability domains.", +"Fraud." +], +"type": "string" +}, +"type": "array" +}, +"excludedFraudIvtMfaCategories": { +"description": "Optional. Scope3's fraud IVT MFA categories to exclude.", +"items": { +"enum": [ +"FRAUD_IVT_MFA_CATEGORY_UNSPECIFIED", +"FRAUD_IVT_MFA" +], +"enumDescriptions": [ +"Default value when a Scope3 Fraud, IVT, MFA category is not specified or is unknown in this version.", +"FRAUD, IVT, MFA." +], +"type": "string" +}, +"type": "array" +}, +"hateSpeechActsAggressionContent": { +"description": "Optional. Hate Speech and Acts of Aggression Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"illegalDrugsTobaccoEcigarettesVapingAlcoholContent": { +"description": "Optional. Illegal Drugs/Alcohol Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"misinformationContent": { +"description": "Optional. Misinformation Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"obscenityProfanityContent": { +"description": "Optional. Obscenity and Profanity Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"onlinePiracyContent": { +"description": "Optional. Online Piracy Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"spamHarmfulContent": { +"description": "Optional. Spam or Harmful Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"terrorismContent": { +"description": "Optional. Terrorism Content [GARM](https://wfanet.org/leadership/garm/about-garm) risk ranges to exclude.", +"enum": [ +"GARM_RISK_EXCLUSION_UNSPECIFIED", +"GARM_RISK_EXCLUSION_FLOOR", +"GARM_RISK_EXCLUSION_HIGH", +"GARM_RISK_EXCLUSION_MEDIUM", +"GARM_RISK_EXCLUSION_LOW" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any GARM risk exclusion option.", +"Exclude floor risk.", +"Exclude high and floor risk.", +"Exclude medium, high, and floor risk.", +"Exclude all levels of risk (low, medium, high and floor)." +], +"type": "string" +}, +"videoIabViewability": { +"description": "Optional. IAB viewability threshold for video ads.", +"enum": [ +"VIDEO_IAB_VIEWABILITY_UNSPECIFIED", +"VIDEO_IAB_VIEWABILITY_10", +"VIDEO_IAB_VIEWABILITY_20", +"VIDEO_IAB_VIEWABILITY_35", +"VIDEO_IAB_VIEWABILITY_50", +"VIDEO_IAB_VIEWABILITY_75" +], +"enumDescriptions": [ +"Default value when not specified or is unknown in this version.", +"10%+ in view (IAB video viewability standard).", +"20%+ in view (IAB video viewability standard).", +"35%+ in view (IAB video viewability standard).", +"50%+ in view (IAB video viewability standard).", +"75%+ in view (IAB video viewability standard)." +], +"type": "string" +} +}, +"type": "object" +}, +"Advertiser": { +"description": "A single advertiser in Display & Video 360 (DV360).", +"id": "Advertiser", +"properties": { +"adServerConfig": { +"$ref": "AdvertiserAdServerConfig", +"description": "Required. Immutable. Ad server related settings of the advertiser." +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"billingConfig": { +"$ref": "AdvertiserBillingConfig", +"description": "Required. Billing related settings of the advertiser." +}, +"containsEuPoliticalAds": { +"description": "Optional. Whether this advertiser contains line items that serve European Union political ads. If this field is set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING`, then the following will happen: * Any new line items created under this advertiser will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. * Any existing line items under this advertiser that do not have a set value be updated to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` within a day.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"creativeConfig": { +"$ref": "AdvertiserCreativeConfig", +"description": "Required. Creative related settings of the advertiser." +}, +"dataAccessConfig": { +"$ref": "AdvertiserDataAccessConfig", +"description": "Settings that control how advertiser data may be accessed." +}, +"displayName": { +"description": "Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_PAUSED` and `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will be deleted 30 days from when it was first scheduled for deletion.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"generalConfig": { +"$ref": "AdvertiserGeneralConfig", +"description": "Required. General settings of the advertiser." +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Integration details of the advertiser. Only integrationCode is currently applicable to advertiser. Other fields of IntegrationDetails are not supported and will be ignored if provided." +}, +"name": { +"description": "Output only. The resource name of the advertiser.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Required. Immutable. The unique ID of the partner that the advertiser belongs to.", +"format": "int64", +"type": "string" +}, +"prismaEnabled": { +"description": "Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of budget planning, billing, and reconciliation for this advertiser.", +"type": "boolean" +}, +"servingConfig": { +"$ref": "AdvertiserTargetingConfig", +"description": "Targeting settings related to ad serving of the advertiser." +}, +"updateTime": { +"description": "Output only. The timestamp when the advertiser was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserAdServerConfig": { +"description": "Ad server related settings of an advertiser.", +"id": "AdvertiserAdServerConfig", +"properties": { +"cmHybridConfig": { +"$ref": "CmHybridConfig", +"description": "The configuration for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers." +}, +"thirdPartyOnlyConfig": { +"$ref": "ThirdPartyOnlyConfig", +"description": "The configuration for advertisers that use third-party ad servers only." +} +}, +"type": "object" +}, +"AdvertiserBillingConfig": { +"description": "Billing related settings of an advertiser.", +"id": "AdvertiserBillingConfig", +"properties": { +"billingProfileId": { +"description": "Required. The ID of a billing profile assigned to the advertiser.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserCreativeConfig": { +"description": "Creatives related settings of an advertiser.", +"id": "AdvertiserCreativeConfig", +"properties": { +"dynamicCreativeEnabled": { +"description": "Whether or not the advertiser is enabled for dynamic creatives.", +"type": "boolean" +}, +"iasClientId": { +"description": "An ID for configuring campaign monitoring provided by Integral Ad Service (IAS). The DV360 system will append an IAS \"Campaign Monitor\" tag containing this ID to the creative tag.", +"format": "int64", +"type": "string" +}, +"obaComplianceDisabled": { +"description": "Whether or not to disable Google's About this Ad feature that adds badging (to identify the content as an ad) and transparency information (on interaction with About this Ad) to your ads for Online Behavioral Advertising (OBA) and regulatory requirements. About this Ad gives users greater control over the ads they see and helps you explain why they're seeing your ad. [Learn more](//support.google.com/displayvideo/answer/14315795). If you choose to set this field to `true`, note that ads served through Display & Video 360 must comply to the following: * Be Online Behavioral Advertising (OBA) compliant, as per your contract with Google Marketing Platform. * In the European Economic Area (EEA), include transparency information and a mechanism for users to report illegal content in ads. If using an alternative ad badging, transparency, and reporting solution, you must ensure it includes the required transparency information and illegal content flagging mechanism and that you notify Google of any illegal content reports using the appropriate [form](//support.google.com/legal/troubleshooter/1114905?sjid=6787484030557261960-EU#ts=2981967%2C2982031%2C12980091).", +"type": "boolean" +}, +"videoCreativeDataSharingAuthorized": { +"description": "By setting this field to `true`, you, on behalf of your company, authorize Google to use video creatives associated with this Display & Video 360 advertiser to provide reporting and features related to the advertiser's television campaigns. Applicable only when the advertiser has a CM360 hybrid ad server configuration.", +"type": "boolean" +} +}, +"type": "object" +}, +"AdvertiserDataAccessConfig": { +"description": "Settings that control how advertiser related data may be accessed.", +"id": "AdvertiserDataAccessConfig", +"properties": { +"sdfConfig": { +"$ref": "AdvertiserSdfConfig", +"description": "Structured Data Files (SDF) settings for the advertiser. If not specified, the SDF settings of the parent partner are used." +} +}, +"type": "object" +}, +"AdvertiserGeneralConfig": { +"description": "General settings of an advertiser.", +"id": "AdvertiserGeneralConfig", +"properties": { +"currencyCode": { +"description": "Required. Immutable. Advertiser's currency in ISO 4217 format. Accepted codes and the currencies they represent are: Currency Code : Currency Name * `ARS` : Argentine Peso * `AUD` : Australian Dollar * `BRL` : Brazilian Real * `CAD` : Canadian Dollar * `CHF` : Swiss Franc * `CLP` : Chilean Peso * `CNY` : Chinese Yuan * `COP` : Colombian Peso * `CZK` : Czech Koruna * `DKK` : Danish Krone * `EGP` : Egyption Pound * `EUR` : Euro * `GBP` : British Pound * `HKD` : Hong Kong Dollar * `HUF` : Hungarian Forint * `IDR` : Indonesian Rupiah * `ILS` : Israeli Shekel * `INR` : Indian Rupee * `JPY` : Japanese Yen * `KRW` : South Korean Won * `MXN` : Mexican Pesos * `MYR` : Malaysian Ringgit * `NGN` : Nigerian Naira * `NOK` : Norwegian Krone * `NZD` : New Zealand Dollar * `PEN` : Peruvian Nuevo Sol * `PLN` : Polish Zloty * `RON` : New Romanian Leu * `RUB` : Russian Ruble * `SEK` : Swedish Krona * `TRY` : Turkish Lira * `TWD` : New Taiwan Dollar * `USD` : US Dollar * `ZAR` : South African Rand", +"type": "string" +}, +"domainUrl": { +"description": "Required. The domain URL of the advertiser's primary website. The system will send this information to publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path or query string, beginning with `http:` or `https:`. For example, http://www.example.com", +"type": "string" +}, +"timeZone": { +"description": "Output only. The standard TZ database name of the advertiser's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For CM360 hybrid advertisers, the time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time zone is the same as that of the parent partner.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdvertiserSdfConfig": { +"description": "Structured Data Files (SDF) settings of an advertiser.", +"id": "AdvertiserSdfConfig", +"properties": { +"overridePartnerSdfConfig": { +"description": "Whether or not this advertiser overrides the SDF configuration of its parent partner. By default, an advertiser inherits the SDF configuration from the parent partner. To override the partner configuration, set this field to `true` and provide the new configuration in sdfConfig.", +"type": "boolean" +}, +"sdfConfig": { +"$ref": "SdfConfig", +"description": "The SDF configuration for the advertiser. * Required when overridePartnerSdfConfig is `true`. * Output only when overridePartnerSdfConfig is `false`." +} +}, +"type": "object" +}, +"AdvertiserTargetingConfig": { +"description": "Targeting settings related to ad serving of an advertiser.", +"id": "AdvertiserTargetingConfig", +"properties": { +"exemptTvFromViewabilityTargeting": { +"description": "Whether or not connected TV devices are exempt from viewability targeting for all video line items under the advertiser.", +"type": "boolean" +} +}, +"type": "object" +}, +"AgeRangeAssignedTargetingOptionDetails": { +"description": "Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", +"id": "AgeRangeAssignedTargetingOptionDetails", +"properties": { +"ageRange": { +"description": "Required. The age range of an audience. We only support targeting a continuous age range of an audience. Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an unknown age.", +"enum": [ +"AGE_RANGE_UNSPECIFIED", +"AGE_RANGE_18_24", +"AGE_RANGE_25_34", +"AGE_RANGE_35_44", +"AGE_RANGE_45_54", +"AGE_RANGE_55_64", +"AGE_RANGE_65_PLUS", +"AGE_RANGE_UNKNOWN", +"AGE_RANGE_18_20", +"AGE_RANGE_21_24", +"AGE_RANGE_25_29", +"AGE_RANGE_30_34", +"AGE_RANGE_35_39", +"AGE_RANGE_40_44", +"AGE_RANGE_45_49", +"AGE_RANGE_50_54", +"AGE_RANGE_55_59", +"AGE_RANGE_60_64" +], +"enumDescriptions": [ +"Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", +"The age range of the audience is 18 to 24.", +"The age range of the audience is 25 to 34.", +"The age range of the audience is 35 to 44.", +"The age range of the audience is 45 to 54.", +"The age range of the audience is 55 to 64.", +"The age range of the audience is 65 and up.", +"The age range of the audience is unknown.", +"The age range of the audience is 18 to 20, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 21 to 24, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 25 to 29, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 30 to 34, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 35 to 39, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 40 to 44, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 45 to 49, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 50 to 54, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 55 to 59, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 60 to 64, only supported for the AdGroup of YouTube Programmatic Reservation line item." +], +"type": "string" +} +}, +"type": "object" +}, +"AgeRangeTargetingOptionDetails": { +"description": "Represents a targetable age range. This will be populated in the age_range_details field when targeting_type is `TARGETING_TYPE_AGE_RANGE`.", +"id": "AgeRangeTargetingOptionDetails", +"properties": { +"ageRange": { +"description": "Output only. The age range of an audience.", +"enum": [ +"AGE_RANGE_UNSPECIFIED", +"AGE_RANGE_18_24", +"AGE_RANGE_25_34", +"AGE_RANGE_35_44", +"AGE_RANGE_45_54", +"AGE_RANGE_55_64", +"AGE_RANGE_65_PLUS", +"AGE_RANGE_UNKNOWN", +"AGE_RANGE_18_20", +"AGE_RANGE_21_24", +"AGE_RANGE_25_29", +"AGE_RANGE_30_34", +"AGE_RANGE_35_39", +"AGE_RANGE_40_44", +"AGE_RANGE_45_49", +"AGE_RANGE_50_54", +"AGE_RANGE_55_59", +"AGE_RANGE_60_64" +], +"enumDescriptions": [ +"Default value when age range is not specified in this version. This enum is a placeholder for default value and does not represent a real age range option.", +"The age range of the audience is 18 to 24.", +"The age range of the audience is 25 to 34.", +"The age range of the audience is 35 to 44.", +"The age range of the audience is 45 to 54.", +"The age range of the audience is 55 to 64.", +"The age range of the audience is 65 and up.", +"The age range of the audience is unknown.", +"The age range of the audience is 18 to 20, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 21 to 24, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 25 to 29, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 30 to 34, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 35 to 39, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 40 to 44, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 45 to 49, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 50 to 54, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 55 to 59, only supported for the AdGroup of YouTube Programmatic Reservation line item.", +"The age range of the audience is 60 to 64, only supported for the AdGroup of YouTube Programmatic Reservation line item." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRules": { +"description": "Rule-based algorithm.", +"id": "AlgorithmRules", +"properties": { +"attributionModelId": { +"description": "Attribution model for the algorithm. This field is only supported for allowlisted partners.", +"format": "int64", +"type": "string" +}, +"impressionSignalRuleset": { +"$ref": "AlgorithmRulesRuleset", +"description": "Rules for the impression signals." +}, +"postImpressionSignalRuleset": { +"$ref": "AlgorithmRulesRuleset", +"description": "Rules for the post-impression signals. This field is only supported for allowlisted partners." +} +}, +"type": "object" +}, +"AlgorithmRulesComparisonValue": { +"description": "A value to compare the signal to.", +"id": "AlgorithmRulesComparisonValue", +"properties": { +"boolValue": { +"description": "Boolean value.", +"type": "boolean" +}, +"contentDurationValue": { +"description": "Video content duration value.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"type": "string" +}, +"contentGenreIdValue": { +"description": "Video genre id value.", +"format": "int64", +"type": "string" +}, +"contentStreamTypeValue": { +"description": "Video delivery type value.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"type": "string" +}, +"creativeDimensionValue": { +"$ref": "Dimensions", +"description": "Creative dimension value." +}, +"dayAndTimeValue": { +"$ref": "DayAndTime", +"description": "Day and time value. Only `TIME_ZONE_RESOLUTION_END_USER` is supported." +}, +"deviceTypeValue": { +"description": "Device type value.", +"enum": [ +"RULE_DEVICE_TYPE_UNSPECIFIED", +"RULE_DEVICE_TYPE_COMPUTER", +"RULE_DEVICE_TYPE_CONNECTED_TV", +"RULE_DEVICE_TYPE_SMART_PHONE", +"RULE_DEVICE_TYPE_TABLET", +"RULE_DEVICE_TYPE_CONNECTED_DEVICE", +"RULE_DEVICE_TYPE_SET_TOP_BOX" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device.", +"Set top box." +], +"type": "string" +}, +"doubleValue": { +"description": "Double value.", +"format": "double", +"type": "number" +}, +"environmentValue": { +"description": "Environment value.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"type": "string" +}, +"exchangeValue": { +"description": "Exchange value.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"int64Value": { +"description": "Integer value.", +"format": "int64", +"type": "string" +}, +"onScreenPositionValue": { +"description": "Ad position value.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"type": "string" +}, +"stringValue": { +"description": "String value.", +"type": "string" +}, +"videoPlayerSizeValue": { +"description": "Video player size value. This field is only supported for allowlisted partners.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesFloodlightActivityConversionSignal": { +"description": "The rule to score impressions based on Floodlight conversion events.", +"id": "AlgorithmRulesFloodlightActivityConversionSignal", +"properties": { +"conversionCounting": { +"description": "Required. The type of conversions to be used in impression value computation, for example, post-click conversions.", +"enum": [ +"CONVERSION_COUNTING_UNSPECIFIED", +"ALL_CONVERSIONS", +"POST_CLICK", +"POST_VIEW" +], +"enumDescriptions": [ +"The action is not specified.", +"All conversions.", +"Post-click conversions.", +"Post-view conversions." +], +"type": "string" +}, +"countingMethod": { +"description": "Required. The way to acquire value from the floodlight activity, for example, count of the conversion.", +"enum": [ +"COUNTING_METHOD_UNSPECIFIED", +"CONVERSIONS_COUNT", +"SALES_QUANTITY", +"SALES_VALUE", +"UNIQUE_COUNT" +], +"enumDescriptions": [ +"The action is not specified.", +"The count of conversions associated with the conversion activity.", +"The number of sales items associated with the conversion activity.", +"The sales revenue associated with the conversion activity.", +"The count of unique conversions associated with the conversion activity. Only one conversion can be counted per impression." +], +"type": "string" +}, +"floodlightActivityId": { +"description": "Required. Id of the floodlight activity.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesRule": { +"description": "Set of conditions. The return value of the rule is either: * The return value for single met condition or * The defined default return value if no conditions are met.", +"id": "AlgorithmRulesRule", +"properties": { +"conditions": { +"description": "List of conditions in this rule. The criteria among conditions should be mutually exclusive.", +"items": { +"$ref": "AlgorithmRulesRuleCondition" +}, +"type": "array" +}, +"defaultReturnValue": { +"$ref": "AlgorithmRulesSignalValue", +"description": "The default return value applied when none of the conditions are met." +} +}, +"type": "object" +}, +"AlgorithmRulesRuleCondition": { +"description": "Set of signal comparisons. Equivalent of an `if` statement.", +"id": "AlgorithmRulesRuleCondition", +"properties": { +"returnValue": { +"$ref": "AlgorithmRulesSignalValue", +"description": "The value returned if the `signalComparisons` condition evaluates to `TRUE`." +}, +"signalComparisons": { +"description": "List of comparisons that build `if` statement condition. The comparisons are combined into a single condition with `AND` logical operators.", +"items": { +"$ref": "AlgorithmRulesSignalComparison" +}, +"type": "array" +} +}, +"type": "object" +}, +"AlgorithmRulesRuleset": { +"description": "A ruleset consisting of a list of rules and how to aggregate the resulting values.", +"id": "AlgorithmRulesRuleset", +"properties": { +"aggregationType": { +"description": "How to aggregate values of evaluated rules.", +"enum": [ +"RULE_AGGREGATION_TYPE_UNSPECIFIED", +"SUM_OF_VALUES", +"PRODUCT_OF_VALUES", +"MAXIMUM_VALUE" +], +"enumDescriptions": [ +"Unknown aggregation type.", +"The sum of rule values.", +"The product of rule values.", +"The maximum rule value." +], +"type": "string" +}, +"maxValue": { +"description": "Maximum value the ruleset can evaluate to.", +"format": "double", +"type": "number" +}, +"rules": { +"description": "List of rules to generate the impression value.", +"items": { +"$ref": "AlgorithmRulesRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AlgorithmRulesSignal": { +"description": "Signal used to evaluate rules.", +"id": "AlgorithmRulesSignal", +"properties": { +"activeViewSignal": { +"description": "Signal based on active views. This field is only supported for allowlisted partners.", +"enum": [ +"ACTIVE_VIEW_SIGNAL_UNSPECIFIED", +"ACTIVE_VIEW_VIEWED", +"AUDIBLE", +"VIDEO_COMPLETED", +"TIME_ON_SCREEN", +"VIDEO_PLAYER_SIZE", +"COMPLETED_IN_VIEW_AUDIBLE" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether Active View detects that your ad has been viewed. Value is stored in the boolValue field of the comparison value.", +"Whether Active View detects that your ad was audible. Value is stored in the boolValue field of the comparison value.", +"Whether the video was completed. Value is stored in the boolValue field of the comparison value.", +"The time the ad was on screen in seconds. Value is stored in the int64Value field of the comparison value.", +"The size of the video player displaying the ad. Value is stored in the videoPlayerSizeValue field of the comparison value.", +"Whether the ad was completed in view and audible. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"clickSignal": { +"description": "Signal based on clicks. This field is only supported for allowlisted partners.", +"enum": [ +"CLICK_SIGNAL_UNSPECIFIED", +"CLICK" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether the ad was clicked. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"impressionSignal": { +"description": "Signal based on impressions.", +"enum": [ +"IMPRESSION_SIGNAL_UNSPECIFIED", +"DAY_AND_TIME", +"DEVICE_TYPE", +"AD_POSITION", +"OPERATING_SYSTEM_ID", +"MOBILE_MODEL_ID", +"EXCHANGE", +"ENVIRONMENT", +"COUNTRY_ID", +"CITY_ID", +"BROWSER_ID", +"CREATIVE_DIMENSION", +"VIDEO_CONTENT_DURATION_BUCKET", +"VIDEO_DELIVERY_TYPE", +"VIDEO_GENRE_ID" +], +"enumDescriptions": [ +"Unknown signal.", +"The day of the week and hour of day the impression was made using browser's local time zone. Value is stored in the dayAndTimeValue field of the comparison value.", +"Device type. Value is stored in the deviceTypeValue field of the comparison value.", +"Ad position. Value is stored in the onScreenPositionValue field of the comparison value.", +"The operating system identifier. Value is stored in the int64Value field of the comparison value.", +"The mobile model identifier. Value is stored in the int64Value field of the comparison value.", +"Exchange. Value is stored in the exchangeValue field of the comparison value.", +"Serving environment. Value is stored in the environmentValue field of the comparison value.", +"The country or region identifier. Value is stored in the int64Value field of the comparison value.", +"The city identifier. Value is stored in the int64Value field of the comparison value.", +"The browser identifier. Value is stored in the int64Value field of the comparison value.", +"Creative height and width in pixels. Value is stored in the creativeDimensionValue field of the comparison value.", +"Video content duration. Value is stored in the contentDurationValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`.", +"Video delivery type. Value is stored in the contentStreamTypeValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`.", +"Video genre id. Value is stored in the contentGenreIdValue field of the comparison value. The comparisonOperator field must be set to `LIST_CONTAINS`." +], +"type": "string" +} +}, +"type": "object" +}, +"AlgorithmRulesSignalComparison": { +"description": "A single comparison. The comparison compares the `signal` to the `comparisonValue`. The comparison of `siteId==123` is represented with the following field values: * `signal` has an `impressionSignal` of `SITE_ID`. * `comparisonOperator` is set to `EQUAL`. * `comparisonValue` is set to 123.", +"id": "AlgorithmRulesSignalComparison", +"properties": { +"comparisonOperator": { +"description": "Operator used to compare the two values. In the resulting experession, the `signal` will be the first value and the `comparisonValue will be the second.", +"enum": [ +"COMPARISON_OPERATOR_UNSPECIFIED", +"EQUAL", +"GREATER_THAN", +"LESS_THAN", +"GREATER_THAN_OR_EQUAL_TO", +"LESS_THAN_OR_EQUAL_TO", +"LIST_CONTAINS" +], +"enumDescriptions": [ +"Unknown operator.", +"Values are equal.", +"Signal value is greater than the comparison value.", +"Signal value is less than the second.", +"Signal value is greater than or equal to the second.", +"Signal value is less than or equal to the comparison value.", +"Signal value is a list and contains the comparison value." +], +"type": "string" +}, +"comparisonValue": { +"$ref": "AlgorithmRulesComparisonValue", +"description": "Value to compare signal to." +}, +"signal": { +"$ref": "AlgorithmRulesSignal", +"description": "Signal to compare." +} +}, +"type": "object" +}, +"AlgorithmRulesSignalValue": { +"description": "Adjusted value of the signal used for rule evaluation.", +"id": "AlgorithmRulesSignalValue", +"properties": { +"activeViewSignal": { +"description": "Signal based on active views. Only `TIME_ON_SCREEN` is supported. This field is only supported for allowlisted partners.", +"enum": [ +"ACTIVE_VIEW_SIGNAL_UNSPECIFIED", +"ACTIVE_VIEW_VIEWED", +"AUDIBLE", +"VIDEO_COMPLETED", +"TIME_ON_SCREEN", +"VIDEO_PLAYER_SIZE", +"COMPLETED_IN_VIEW_AUDIBLE" +], +"enumDescriptions": [ +"Unknown signal.", +"Whether Active View detects that your ad has been viewed. Value is stored in the boolValue field of the comparison value.", +"Whether Active View detects that your ad was audible. Value is stored in the boolValue field of the comparison value.", +"Whether the video was completed. Value is stored in the boolValue field of the comparison value.", +"The time the ad was on screen in seconds. Value is stored in the int64Value field of the comparison value.", +"The size of the video player displaying the ad. Value is stored in the videoPlayerSizeValue field of the comparison value.", +"Whether the ad was completed in view and audible. Value is stored in the boolValue field of the comparison value." +], +"type": "string" +}, +"floodlightActivityConversionSignal": { +"$ref": "AlgorithmRulesFloodlightActivityConversionSignal", +"description": "Signal based on floodlight conversion events. This field is only supported for allowlisted partners." +}, +"number": { +"description": "Value to use as result.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AppAssignedTargetingOptionDetails": { +"description": "Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`.", +"id": "AppAssignedTargetingOptionDetails", +"properties": { +"appId": { +"description": "Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.", +"type": "string" +}, +"appPlatform": { +"description": "Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.", +"enum": [ +"APP_PLATFORM_UNSPECIFIED", +"APP_PLATFORM_IOS", +"APP_PLATFORM_ANDROID", +"APP_PLATFORM_ROKU", +"APP_PLATFORM_AMAZON_FIRETV", +"APP_PLATFORM_PLAYSTATION", +"APP_PLATFORM_APPLE_TV", +"APP_PLATFORM_XBOX", +"APP_PLATFORM_SAMSUNG_TV", +"APP_PLATFORM_ANDROID_TV", +"APP_PLATFORM_GENERIC_CTV", +"APP_PLATFORM_LG_TV", +"APP_PLATFORM_VIZIO_TV", +"APP_PLATFORM_VIDAA" +], +"enumDescriptions": [ +"Default value when app platform is not specified in this version. This enum is a placeholder for default value and does not represent a real platform option.", +"The app platform is iOS.", +"The app platform is Android.", +"The app platform is Roku.", +"The app platform is Amazon FireTV.", +"The app platform is Playstation.", +"The app platform is Apple TV.", +"The app platform is Xbox.", +"The app platform is Samsung TV.", +"The app platform is Android TV.", +"The app platform is a CTV platform that is not explicitly listed elsewhere.", +"The app platform is LG TV.", +"The app platform is VIZIO TV.", +"The app platform is Vidaa." +], +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the app.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"AppCategoryAssignedTargetingOptionDetails": { +"description": "Details for assigned app category targeting option. This will be populated in the app_category_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"id": "AppCategoryAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the app category.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"type": "string" +} +}, +"type": "object" +}, +"AppCategoryTargetingOptionDetails": { +"description": "Represents a targetable collection of apps. A collection lets you target dynamic groups of related apps that are maintained by the platform, for example `All Apps/Google Play/Games`. This will be populated in the app_category_details field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`.", +"id": "AppCategoryTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The name of the app collection.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Asset": { +"description": "A single asset.", +"id": "Asset", +"properties": { +"content": { +"description": "The asset content. For uploaded assets, the content is the serving path.", +"type": "string" +}, +"mediaId": { +"description": "Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated creative resources or re-uploading the asset.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AssetAssociation": { +"description": "Asset association for the creative.", +"id": "AssetAssociation", +"properties": { +"asset": { +"$ref": "Asset", +"description": "Optional. The associated asset." +}, +"role": { +"description": "Optional. The role of this asset for the creative.", +"enum": [ +"ASSET_ROLE_UNSPECIFIED", +"ASSET_ROLE_MAIN", +"ASSET_ROLE_BACKUP", +"ASSET_ROLE_POLITE_LOAD", +"ASSET_ROLE_HEADLINE", +"ASSET_ROLE_LONG_HEADLINE", +"ASSET_ROLE_BODY", +"ASSET_ROLE_LONG_BODY", +"ASSET_ROLE_CAPTION_URL", +"ASSET_ROLE_CALL_TO_ACTION", +"ASSET_ROLE_ADVERTISER_NAME", +"ASSET_ROLE_PRICE", +"ASSET_ROLE_ANDROID_APP_ID", +"ASSET_ROLE_IOS_APP_ID", +"ASSET_ROLE_RATING", +"ASSET_ROLE_ICON", +"ASSET_ROLE_COVER_IMAGE", +"ASSET_ROLE_BACKGROUND_COLOR", +"ASSET_ROLE_ACCENT_COLOR", +"ASSET_ROLE_REQUIRE_LOGO", +"ASSET_ROLE_REQUIRE_IMAGE", +"ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS" +], +"enumDescriptions": [ +"Asset role is not specified or is unknown in this version.", +"The asset is the main asset of the creative.", +"The asset is a backup asset of the creative.", +"The asset is a polite load asset of the creative.", +"Headline of a native creative. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Long headline of a native creative. The content must be UTF-8 encoded with a length of no more than 50 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Body text of a native creative. The content must be UTF-8 encoded with a length of no more than 90 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"Long body text of a native creative. The content must be UTF-8 encoded with a length of no more than 150 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"A short, friendly version of the landing page URL to show in the creative. This URL gives people an idea of where they'll arrive after they click on the creative. The content must be UTF-8 encoded with a length of no more than 30 characters. For example, if the landing page URL is 'http://www.example.com/page', the caption URL can be 'example.com'. The protocol (http://) is optional, but the URL can't contain spaces or special characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The text to use on the call-to-action button of a native creative. The content must be UTF-8 encoded with a length of no more than 15 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The text that identifies the advertiser or brand name. The content must be UTF-8 encoded with a length of no more than 25 characters. This role is only supported in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"The purchase price of your app in the Google play store or iOS app store (for example, $5.99). Note that this value is not automatically synced with the actual value listed in the store. It will always be the one provided when save the creative. The content must be UTF-8 encoded with a length of no more than 15 characters. Assets of this role are read-only.", +"The ID of an Android app in the Google play store. You can find this ID in the App\u2019s Google Play Store URL after \u2018id\u2019. For example, in `https://play.google.com/store/apps/details?id=com.company.appname` the identifier is com.company.appname. Assets of this role are read-only.", +"The ID of an iOS app in the Apple app store. This ID number can be found in the Apple App Store URL as the string of numbers directly after \"id\". For example, in `https://apps.apple.com/us/app/gmail-email-by-google/id422689480` the ID is 422689480. Assets of this role are read-only.", +"The rating of an app in the Google play store or iOS app store. Note that this value is not automatically synced with the actual rating in the store. It will always be the one provided when save the creative. Assets of this role are read-only.", +"The icon of a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`", +"The cover image of a native video creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_VIDEO`", +"The main color to use in a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"The accent color to use in a creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether the creative must use a logo asset. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether the creative must use an image asset. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`", +"Whether asset enhancements can be applied to the creative. This role is only supported and required in the following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE`" +], +"type": "string" +} +}, +"type": "object" +}, +"AssignedInventorySource": { +"description": "An assignment between a targetable inventory source and an inventory source group.", +"id": "AssignedInventorySource", +"properties": { +"assignedInventorySourceId": { +"description": "Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inventorySourceId": { +"description": "Required. The ID of the inventory source entity being targeted.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the assigned inventory source.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AssignedLocation": { +"description": "An assignment between a location list and a relevant targeting option.", +"id": "AssignedLocation", +"properties": { +"assignedLocationId": { +"description": "Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the assigned location.", +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The ID of the targeting option assigned to the location list.", +"type": "string" +} +}, +"type": "object" +}, +"AssignedTargetingOption": { +"description": "A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.", +"id": "AssignedTargetingOption", +"properties": { +"ageRangeDetails": { +"$ref": "AgeRangeAssignedTargetingOptionDetails", +"description": "Age range details. This field will be populated when the targeting_type is `TARGETING_TYPE_AGE_RANGE`." +}, +"appCategoryDetails": { +"$ref": "AppCategoryAssignedTargetingOptionDetails", +"description": "App category details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP_CATEGORY`." +}, +"appDetails": { +"$ref": "AppAssignedTargetingOptionDetails", +"description": "App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`." +}, +"assignedTargetingOptionId": { +"description": "Output only. The unique ID of the assigned targeting option. The ID is only unique within a given resource and targeting type. It may be reused in other contexts.", +"readOnly": true, +"type": "string" +}, +"assignedTargetingOptionIdAlias": { +"description": "Output only. An alias for the assigned_targeting_option_id. This value can be used in place of `assignedTargetingOptionId` when retrieving or deleting existing targeting. This field will only be supported for all assigned targeting options of the following targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` This field is also supported for line item assigned targeting options of the following targeting types: * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`", +"readOnly": true, +"type": "string" +}, +"audienceGroupDetails": { +"$ref": "AudienceGroupAssignedTargetingOptionDetails", +"description": "Audience targeting details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per resource." +}, +"audioContentTypeDetails": { +"$ref": "AudioContentTypeAssignedTargetingOptionDetails", +"description": "Audio content type details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`." +}, +"authorizedSellerStatusDetails": { +"$ref": "AuthorizedSellerStatusAssignedTargetingOptionDetails", +"description": "Authorized seller status details. This field will be populated when the targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per resource. If a resource doesn't have an authorized seller status option, all authorized sellers indicated as DIRECT or RESELLER in the ads.txt file are targeted by default." +}, +"browserDetails": { +"$ref": "BrowserAssignedTargetingOptionDetails", +"description": "Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`." +}, +"businessChainDetails": { +"$ref": "BusinessChainAssignedTargetingOptionDetails", +"description": "Business chain details. This field will be populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." +}, +"carrierAndIspDetails": { +"$ref": "CarrierAndIspAssignedTargetingOptionDetails", +"description": "Carrier and ISP details. This field will be populated when the targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`." +}, +"categoryDetails": { +"$ref": "CategoryAssignedTargetingOptionDetails", +"description": "Category details. This field will be populated when the targeting_type is `TARGETING_TYPE_CATEGORY`. Targeting a category will also target its subcategories. If a category is excluded from targeting and a subcategory is included, the exclusion will take precedence." +}, +"channelDetails": { +"$ref": "ChannelAssignedTargetingOptionDetails", +"description": "Channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_CHANNEL`." +}, +"contentDurationDetails": { +"$ref": "ContentDurationAssignedTargetingOptionDetails", +"description": "Content duration details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_DURATION`." +}, +"contentGenreDetails": { +"$ref": "ContentGenreAssignedTargetingOptionDetails", +"description": "Content genre details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_GENRE`." +}, +"contentInstreamPositionDetails": { +"$ref": "ContentInstreamPositionAssignedTargetingOptionDetails", +"description": "Content instream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`." +}, +"contentOutstreamPositionDetails": { +"$ref": "ContentOutstreamPositionAssignedTargetingOptionDetails", +"description": "Content outstream position details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`." +}, +"contentStreamTypeDetails": { +"$ref": "ContentStreamTypeAssignedTargetingOptionDetails", +"description": "Content duration details. This field will be populated when the TargetingType is `TARGETING_TYPE_CONTENT_STREAM_TYPE`." +}, +"contentThemeExclusionDetails": { +"$ref": "ContentThemeAssignedTargetingOptionDetails", +"description": "Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions." +}, +"dayAndTimeDetails": { +"$ref": "DayAndTimeAssignedTargetingOptionDetails", +"description": "Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`." +}, +"deviceMakeModelDetails": { +"$ref": "DeviceMakeModelAssignedTargetingOptionDetails", +"description": "Device make and model details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`." +}, +"deviceTypeDetails": { +"$ref": "DeviceTypeAssignedTargetingOptionDetails", +"description": "Device Type details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_TYPE`." +}, +"digitalContentLabelExclusionDetails": { +"$ref": "DigitalContentLabelAssignedTargetingOptionDetails", +"description": "Digital content label details. This field will be populated when the targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. Advertiser level digital content label exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude content labels in addition to advertiser exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded." +}, +"environmentDetails": { +"$ref": "EnvironmentAssignedTargetingOptionDetails", +"description": "Environment details. This field will be populated when the targeting_type is `TARGETING_TYPE_ENVIRONMENT`." +}, +"exchangeDetails": { +"$ref": "ExchangeAssignedTargetingOptionDetails", +"description": "Exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_EXCHANGE`." +}, +"genderDetails": { +"$ref": "GenderAssignedTargetingOptionDetails", +"description": "Gender details. This field will be populated when the targeting_type is `TARGETING_TYPE_GENDER`." +}, +"geoRegionDetails": { +"$ref": "GeoRegionAssignedTargetingOptionDetails", +"description": "Geographic region details. This field will be populated when the targeting_type is `TARGETING_TYPE_GEO_REGION`." +}, +"householdIncomeDetails": { +"$ref": "HouseholdIncomeAssignedTargetingOptionDetails", +"description": "Household income details. This field will be populated when the targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`." +}, +"inheritance": { +"description": "Output only. The inheritance status of the assigned targeting option.", +"enum": [ +"INHERITANCE_UNSPECIFIED", +"NOT_INHERITED", +"INHERITED_FROM_PARTNER", +"INHERITED_FROM_ADVERTISER" +], +"enumDescriptions": [ +"The inheritance is unspecified or unknown.", +"The assigned targeting option is not inherited from higher level entity.", +"The assigned targeting option is inherited from partner targeting settings.", +"The assigned targeting option is inherited from advertiser targeting settings." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceDetails": { +"$ref": "InventorySourceAssignedTargetingOptionDetails", +"description": "Inventory source details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`." +}, +"inventorySourceGroupDetails": { +"$ref": "InventorySourceGroupAssignedTargetingOptionDetails", +"description": "Inventory source group details. This field will be populated when the targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`." +}, +"keywordDetails": { +"$ref": "KeywordAssignedTargetingOptionDetails", +"description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_KEYWORD`. A maximum of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that can be assigned." +}, +"languageDetails": { +"$ref": "LanguageAssignedTargetingOptionDetails", +"description": "Language details. This field will be populated when the targeting_type is `TARGETING_TYPE_LANGUAGE`." +}, +"name": { +"description": "Output only. The resource name for this assigned targeting option.", +"readOnly": true, +"type": "string" +}, +"nativeContentPositionDetails": { +"$ref": "NativeContentPositionAssignedTargetingOptionDetails", +"description": "Native content position details. This field will be populated when the targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`." +}, +"negativeKeywordListDetails": { +"$ref": "NegativeKeywordListAssignedTargetingOptionDetails", +"description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource." +}, +"omidDetails": { +"$ref": "OmidAssignedTargetingOptionDetails", +"description": "Open Measurement enabled inventory details. This field will be populated when the targeting_type is `TARGETING_TYPE_OMID`." +}, +"onScreenPositionDetails": { +"$ref": "OnScreenPositionAssignedTargetingOptionDetails", +"description": "On screen position details. This field will be populated when the targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`." +}, +"operatingSystemDetails": { +"$ref": "OperatingSystemAssignedTargetingOptionDetails", +"description": "Operating system details. This field will be populated when the targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`." +}, +"parentalStatusDetails": { +"$ref": "ParentalStatusAssignedTargetingOptionDetails", +"description": "Parental status details. This field will be populated when the targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`." +}, +"poiDetails": { +"$ref": "PoiAssignedTargetingOptionDetails", +"description": "POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`." +}, +"proximityLocationListDetails": { +"$ref": "ProximityLocationListAssignedTargetingOptionDetails", +"description": "Proximity location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`." +}, +"regionalLocationListDetails": { +"$ref": "RegionalLocationListAssignedTargetingOptionDetails", +"description": "Regional location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`." +}, +"sensitiveCategoryExclusionDetails": { +"$ref": "SensitiveCategoryAssignedTargetingOptionDetails", +"description": "Sensitive category details. This field will be populated when the targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible in resource settings). Resource settings can exclude sensitive categories in addition to advertiser exclusions, but can't override them." +}, +"sessionPositionDetails": { +"$ref": "SessionPositionAssignedTargetingOptionDetails", +"description": "Session position details. This field will be populated when the targeting_type is `TARGETING_TYPE_SESSION_POSITION`." +}, +"subExchangeDetails": { +"$ref": "SubExchangeAssignedTargetingOptionDetails", +"description": "Sub-exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`." +}, +"targetingType": { +"description": "Output only. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"readOnly": true, +"type": "string" +}, +"thirdPartyVerifierDetails": { +"$ref": "ThirdPartyVerifierAssignedTargetingOptionDetails", +"description": "Third party verification details. This field will be populated when the targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`." +}, +"urlDetails": { +"$ref": "UrlAssignedTargetingOptionDetails", +"description": "URL details. This field will be populated when the targeting_type is `TARGETING_TYPE_URL`." +}, +"userRewardedContentDetails": { +"$ref": "UserRewardedContentAssignedTargetingOptionDetails", +"description": "User rewarded content details. This field will be populated when the targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`." +}, +"videoPlayerSizeDetails": { +"$ref": "VideoPlayerSizeAssignedTargetingOptionDetails", +"description": "Video player size details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`." +}, +"viewabilityDetails": { +"$ref": "ViewabilityAssignedTargetingOptionDetails", +"description": "Viewability details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIEWABILITY`. You can only target one viewability option per resource." +}, +"youtubeChannelDetails": { +"$ref": "YoutubeChannelAssignedTargetingOptionDetails", +"description": "YouTube channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_YOUTUBE_CHANNEL`." +}, +"youtubeVideoDetails": { +"$ref": "YoutubeVideoAssignedTargetingOptionDetails", +"description": "YouTube video details. This field will be populated when the targeting_type is `TARGETING_TYPE_YOUTUBE_VIDEO`." +} +}, +"type": "object" +}, +"AssignedUserRole": { +"description": "A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.", +"id": "AssignedUserRole", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that the assigend user role applies to.", +"format": "int64", +"type": "string" +}, +"assignedUserRoleId": { +"description": "Output only. The ID of the assigned user role.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that the assigned user role applies to.", +"format": "int64", +"type": "string" +}, +"userRole": { +"description": "Required. The user role to assign to a user for the entity.", +"enum": [ +"USER_ROLE_UNSPECIFIED", +"ADMIN", +"ADMIN_PARTNER_CLIENT", +"STANDARD", +"STANDARD_PLANNER", +"STANDARD_PLANNER_LIMITED", +"STANDARD_PARTNER_CLIENT", +"READ_ONLY", +"REPORTING_ONLY", +"LIMITED_REPORTING_ONLY", +"CREATIVE", +"CREATIVE_ADMIN" +], +"enumDescriptions": [ +"Default value when the user role is not specified or is unknown in this version.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can view and edit billing information, create or modify users, and enable or disable exchanges. This role can only be assigned for a partner entity.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They can create and modify other `ADMIN_PARTNER_CLIENT` users and view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for a partner entity.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create and modify users or view billing information.", +"The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity, including all cost data. They can create and modify planning-related features, including plans and inventory.", +"The user can view all campaigns, creatives, insertion orders, line items, and reports for the entity. They can create or modify planning-related features, including plans and inventory. They have no access to cost data and cannot start, accept, or negotiate deals.", +"The user can manage campaigns, creatives, insertion orders, line items, and reports for the entity. They cannot create or modify other users or view billing information. They cannot view revenue models, markups, or any other reseller-sensitive fields. This role can only be assigned for an advertiser entity.", +"The user can only build reports and view data for the entity.", +"The user can only create and manage reports.", +"The user can only create and manage the following client-safe reports: General, Audience Performance, Cross-Partner, Keyword, Order ID, Category, and Third-Party Data Provider.", +"The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace.", +"The user can view media plan information they need to collaborate, but can't view cost-related data or Marketplace. In addition, they can add other creative admins or creative users to the entity." +], +"type": "string" +} +}, +"type": "object" +}, +"AudienceGroupAssignedTargetingOptionDetails": { +"description": "Assigned audience group targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which COMPLEMENT is used as an INTERSECTION with other groups.", +"id": "AudienceGroupAssignedTargetingOptionDetails", +"properties": { +"excludedFirstAndThirdPartyAudienceGroup": { +"$ref": "FirstAndThirdPartyAudienceGroup", +"description": "Optional. The first and third party audience ids and recencies of the excluded first and third party audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. All items are logically \u2018OR\u2019 of each other." +}, +"excludedGoogleAudienceGroup": { +"$ref": "GoogleAudienceGroup", +"description": "Optional. The Google audience ids of the excluded Google audience group. Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive audience targeting. Only contains Affinity, In-market and Installed-apps type Google audiences. All items are logically \u2018OR\u2019 of each other." +}, +"includedCombinedAudienceGroup": { +"$ref": "CombinedAudienceGroup", +"description": "Optional. The combined audience ids of the included combined audience group. Contains combined audience ids only." +}, +"includedCustomListGroup": { +"$ref": "CustomListGroup", +"description": "Optional. The custom list ids of the included custom list group. Contains custom list ids only." +}, +"includedFirstAndThirdPartyAudienceGroups": { +"description": "Optional. The first and third party audience ids and recencies of included first and third party audience groups. Each first and third party audience group contains first and third party audience ids only. The relation between each first and third party audience group is INTERSECTION, and the result is UNION'ed with other audience groups. Repeated groups with the same settings will be ignored.", +"items": { +"$ref": "FirstAndThirdPartyAudienceGroup" +}, +"type": "array" +}, +"includedGoogleAudienceGroup": { +"$ref": "GoogleAudienceGroup", +"description": "Optional. The Google audience ids of the included Google audience group. Contains Google audience ids only." +} +}, +"type": "object" +}, +"AudioAd": { +"description": "Details for an audio ad.", +"id": "AudioAd", +"properties": { +"displayUrl": { +"description": "The webpage address that appears with the ad.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video of the ad." +} +}, +"type": "object" +}, +"AudioContentTypeAssignedTargetingOptionDetails": { +"description": "Details for audio content type assigned targeting option. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all options is not supported. Remove all audio content type targeting options to achieve this effect.", +"id": "AudioContentTypeAssignedTargetingOptionDetails", +"properties": { +"audioContentType": { +"description": "Required. The audio content type.", +"enum": [ +"AUDIO_CONTENT_TYPE_UNSPECIFIED", +"AUDIO_CONTENT_TYPE_UNKNOWN", +"AUDIO_CONTENT_TYPE_MUSIC", +"AUDIO_CONTENT_TYPE_BROADCAST", +"AUDIO_CONTENT_TYPE_PODCAST" +], +"enumDescriptions": [ +"Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The audio content type is unknown.", +"The audio content type is music.", +"The audio content type is broadcast.", +"The audio content type is podcast." +], +"type": "string" +} +}, +"type": "object" +}, +"AudioContentTypeTargetingOptionDetails": { +"description": "Represents a targetable audio content type. This will be populated in the audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.", +"id": "AudioContentTypeTargetingOptionDetails", +"properties": { +"audioContentType": { +"description": "Output only. The audio content type.", +"enum": [ +"AUDIO_CONTENT_TYPE_UNSPECIFIED", +"AUDIO_CONTENT_TYPE_UNKNOWN", +"AUDIO_CONTENT_TYPE_MUSIC", +"AUDIO_CONTENT_TYPE_BROADCAST", +"AUDIO_CONTENT_TYPE_PODCAST" +], +"enumDescriptions": [ +"Audio content type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The audio content type is unknown.", +"The audio content type is music.", +"The audio content type is broadcast.", +"The audio content type is podcast." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AudioVideoOffset": { +"description": "The length an audio or a video has been played.", +"id": "AudioVideoOffset", +"properties": { +"percentage": { +"description": "Optional. The offset in percentage of the audio or video duration.", +"format": "int64", +"type": "string" +}, +"seconds": { +"description": "Optional. The offset in seconds from the start of the audio or video.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AuditAdvertiserResponse": { +"description": "Response message for AdvertiserService.AuditAdvertiser.", +"id": "AuditAdvertiserResponse", +"properties": { +"adGroupCriteriaCount": { +"description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 4500000 ad group targeting options per advertiser. Qualifying Targeting types: * Channels, URLs, apps, and collections * Demographic * Google Audiences, including Affinity, Custom Affinity, and In-market audiences * Inventory source * Keyword * Mobile app category * User lists * Video targeting * Viewability", +"format": "int64", +"type": "string" +}, +"campaignCriteriaCount": { +"description": "The number of individual targeting options from the following targeting types that are assigned to a line item under this advertiser. These individual targeting options count towards the limit of 900000 campaign targeting options per advertiser. Qualifying Targeting types: * Position * Browser * Connection speed * Day and time * Device and operating system * Digital content label * Sensitive categories * Environment * Geography, including business chains and proximity * ISP * Language * Third-party verification", +"format": "int64", +"type": "string" +}, +"channelsCount": { +"description": "The number of channels created under this advertiser. These channels count towards the limit of 1000 channels per advertiser.", +"format": "int64", +"type": "string" +}, +"negativeKeywordListsCount": { +"description": "The number of negative keyword lists created under this advertiser. These negative keyword lists count towards the limit of 20 negative keyword lists per advertiser.", +"format": "int64", +"type": "string" +}, +"negativelyTargetedChannelsCount": { +"description": "The number of negatively targeted channels created under this advertiser. These negatively targeted channels count towards the limit of 5 negatively targeted channels per advertiser.", +"format": "int64", +"type": "string" +}, +"usedCampaignsCount": { +"description": "The number of ACTIVE and PAUSED campaigns under this advertiser. These campaigns count towards the limit of 9999 campaigns per advertiser.", +"format": "int64", +"type": "string" +}, +"usedInsertionOrdersCount": { +"description": "The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser. These insertion orders count towards the limit of 9999 insertion orders per advertiser.", +"format": "int64", +"type": "string" +}, +"usedLineItemsCount": { +"description": "The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser. These line items count towards the limit of 9999 line items per advertiser.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AuthorizedSellerStatusAssignedTargetingOptionDetails": { +"description": "Represents an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. If a resource does not have an `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` assigned targeting option, it is using the \"Authorized Direct Sellers and Resellers\" option.", +"id": "AuthorizedSellerStatusAssignedTargetingOptionDetails", +"properties": { +"authorizedSellerStatus": { +"description": "Output only. The authorized seller status to target.", +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" +], +"enumDescriptions": [ +"Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", +"Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", +"All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", +"type": "string" +} +}, +"type": "object" +}, +"AuthorizedSellerStatusTargetingOptionDetails": { +"description": "Represents a targetable authorized seller status. This will be populated in the authorized_seller_status_details field when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.", +"id": "AuthorizedSellerStatusTargetingOptionDetails", +"properties": { +"authorizedSellerStatus": { +"description": "Output only. The authorized seller status.", +"enum": [ +"AUTHORIZED_SELLER_STATUS_UNSPECIFIED", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY", +"AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS" +], +"enumDescriptions": [ +"Default value when authorized seller status is not specified in this version. This enum is a placeholder for the default value, or \"Authorized Direct Sellers and Resellers\" in the UI.", +"Only authorized sellers that directly own the inventory being monetized, as indicated by a DIRECT declaration in the ads.txt file. This value is equivalent to \"Authorized Direct Sellers\" in the UI.", +"All authorized sellers, including publishers that have not posted an ads.txt file. Display & Video 360 automatically disallows unauthorized sellers. This value is equivalent to \"Authorized and Non-Participating Publishers\" in the UI." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BiddingStrategy": { +"description": "Settings that control the bid strategy. Bid strategy determines the bid price.", +"id": "BiddingStrategy", +"properties": { +"fixedBid": { +"$ref": "FixedBidStrategy", +"description": "A strategy that uses a fixed bid price." +}, +"maximizeSpendAutoBid": { +"$ref": "MaximizeSpendBidStrategy", +"description": "A strategy that automatically adjusts the bid to optimize to your performance goal while spending the full budget. At insertion order level, the markup_type of line items cannot be set to `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition, the performance_goal_type value assigned to an insertion order determines the possible line_item_type values available for line items under that insertion order: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, and `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` only allow for `LINE_ITEM_TYPE_DISPLAY_DEFAULT` or `LINE_ITEM_TYPE_VIDEO_DEFAULT` line items. * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` and `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` only allow for `LINE_ITEM_TYPE_VIDEO_DEFAULT` line items. * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH` only allows for `LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP` line items." +}, +"performanceGoalAutoBid": { +"$ref": "PerformanceGoalBidStrategy", +"description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal. It is to be used only for a line item entity." +}, +"youtubeAndPartnersBid": { +"$ref": "YoutubeAndPartnersBiddingStrategy", +"description": "A bid strategy used by YouTube and Partners resources. It can only be used for a YouTube and Partners line item or ad group entity." +} +}, +"type": "object" +}, +"BrowserAssignedTargetingOptionDetails": { +"description": "Details for assigned browser targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`.", +"id": "BrowserAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the browser.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned browser targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`.", +"type": "string" +} +}, +"type": "object" +}, +"BrowserTargetingOptionDetails": { +"description": "Represents a targetable browser. This will be populated in the browser_details field when targeting_type is `TARGETING_TYPE_BROWSER`.", +"id": "BrowserTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the browser.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BudgetSummary": { +"description": "Summarized information of an individual campaign budget.", +"id": "BudgetSummary", +"properties": { +"externalBudgetId": { +"description": "Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, this field will be empty.", +"type": "string" +}, +"preTaxAmountMicros": { +"description": "The sum of charges made under this budget before taxes, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"prismaCpeCode": { +"$ref": "PrismaCpeCode", +"description": "Relevant client, product, and estimate codes from the Mediaocean Prisma tool. Only applicable for campaign budgets with an external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN." +}, +"taxAmountMicros": { +"description": "The amount of tax applied to charges under this budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkEditAdvertiserAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditAdvertiserAssignedTargetingOptions.", +"id": "BulkEditAdvertiserAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAdvertiserAssignedTargetingOptionsResponse": { +"id": "BulkEditAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"createdAssignedTargetingOptions": { +"description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedInventorySourcesRequest": { +"description": "Request message for AssignedInventorySourceService.BulkEdit.", +"id": "BulkEditAssignedInventorySourcesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources.", +"format": "int64", +"type": "string" +}, +"createdAssignedInventorySources": { +"description": "The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +}, +"deletedAssignedInventorySources": { +"description": "The IDs of the assigned inventory sources to delete in bulk, specified as a list of assigned_inventory_source_ids.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkEditAssignedInventorySourcesResponse": { +"description": "Response message for AssignedInventorySourceService.BulkEdit.", +"id": "BulkEditAssignedInventorySourcesResponse", +"properties": { +"assignedInventorySources": { +"description": "The list of assigned inventory sources that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedLocationsRequest": { +"description": "Request message for AssignedLocationService.BulkEditAssignedLocations.", +"id": "BulkEditAssignedLocationsRequest", +"properties": { +"createdAssignedLocations": { +"description": "The assigned locations to create in bulk, specified as a list of AssignedLocation resources.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +}, +"deletedAssignedLocations": { +"description": "The IDs of the assigned locations to delete in bulk, specified as a list of assignedLocationId values.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedLocationsResponse": { +"id": "BulkEditAssignedLocationsResponse", +"properties": { +"assignedLocations": { +"description": "The list of assigned locations that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditLineItemsAssignedTargetingOptions.", +"id": "BulkEditAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of CreateAssignedTargetingOptionsRequest. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of DeleteAssignedTargetingOptionsRequest. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"lineItemIds": { +"description": "Required. The ID of the line items whose targeting is being updated.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedTargetingOptionsResponse": { +"id": "BulkEditAssignedTargetingOptionsResponse", +"properties": { +"errors": { +"description": "The error information for each line item that failed to update.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"failedLineItemIds": { +"description": "Output only. The IDs of the line items which failed.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"updatedLineItemIds": { +"description": "Output only. The IDs of the line items which successfully updated.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedUserRolesRequest": { +"description": "Request message for BulkEditAssignedUserRoles.", +"id": "BulkEditAssignedUserRolesRequest", +"properties": { +"createdAssignedUserRoles": { +"description": "The assigned user roles to create in batch, specified as a list of AssignedUserRoles.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +}, +"deletedAssignedUserRoles": { +"description": "The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is `entityType-entityid`, for example `partner-123`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditAssignedUserRolesResponse": { +"id": "BulkEditAssignedUserRolesResponse", +"properties": { +"createdAssignedUserRoles": { +"description": "The list of assigned user roles that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditNegativeKeywordsRequest": { +"description": "Request message for NegativeKeywordService.BulkEditNegativeKeywords.", +"id": "BulkEditNegativeKeywordsRequest", +"properties": { +"createdNegativeKeywords": { +"description": "The negative keywords to create in batch, specified as a list of NegativeKeywords.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +}, +"deletedNegativeKeywords": { +"description": "The negative keywords to delete in batch, specified as a list of keyword_values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.BulkEditNegativeKeywords.", +"id": "BulkEditNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The list of negative keywords that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditPartnerAssignedTargetingOptionsRequest": { +"description": "Request message for BulkEditPartnerAssignedTargetingOptions.", +"id": "BulkEditPartnerAssignedTargetingOptionsRequest", +"properties": { +"createRequests": { +"description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"items": { +"$ref": "CreateAssignedTargetingOptionsRequest" +}, +"type": "array" +}, +"deleteRequests": { +"description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL`", +"items": { +"$ref": "DeleteAssignedTargetingOptionsRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditPartnerAssignedTargetingOptionsResponse": { +"id": "BulkEditPartnerAssignedTargetingOptionsResponse", +"properties": { +"createdAssignedTargetingOptions": { +"description": "The list of assigned targeting options that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkEditSitesRequest": { +"description": "Request message for SiteService.BulkEditSites.", +"id": "BulkEditSitesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"type": "string" +}, +"createdSites": { +"description": "The sites to create in batch, specified as a list of Sites.", +"items": { +"$ref": "Site" +}, +"type": "array" +}, +"deletedSites": { +"description": "The sites to delete in batch, specified as a list of site url_or_app_ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"BulkEditSitesResponse": { +"description": "Response message for SiteService.BulkEditSites.", +"id": "BulkEditSitesResponse", +"properties": { +"sites": { +"description": "The list of sites that have been successfully created. This list will be absent if empty.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"BulkListAdGroupAssignedTargetingOptionsResponse": { +"id": "BulkListAdGroupAssignedTargetingOptionsResponse", +"properties": { +"adGroupAssignedTargetingOptions": { +"description": "The list of wrapper objects, each providing an assigned targeting option and the ad group it is assigned to. This list will be absent if empty.", +"items": { +"$ref": "AdGroupAssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to `BulkListAdGroupAssignedTargetingOptions` to fetch the next page of results. This token will be absent if there are no more AdGroupAssignedTargetingOption resources to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkListAdvertiserAssignedTargetingOptionsResponse": { +"id": "BulkListAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkListAssignedTargetingOptionsResponse": { +"id": "BulkListAssignedTargetingOptionsResponse", +"properties": { +"lineItemAssignedTargetingOptions": { +"description": "The list of wrapper objects, each providing an assigned targeting option and the line item it is assigned to. This list will be absent if empty.", +"items": { +"$ref": "LineItemAssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent call to `BulkListAssignedTargetingOptions` to fetch the next page of results. This token will be absent if there are no more line_item_assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"BulkUpdateLineItemsRequest": { +"description": "Request message for LineItemService.BulkUpdateLineItems.", +"id": "BulkUpdateLineItemsRequest", +"properties": { +"lineItemIds": { +"description": "Required. IDs of line items to update.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"targetLineItem": { +"$ref": "LineItem", +"description": "Required. A line item object containing the fields to be updated and the new values to assign to all line items specified in line_item_ids.\"" +}, +"updateMask": { +"description": "Required. A field mask identifying which fields to update. Only the following fields are currently supported: * entityStatus * containsEuPoliticalAds", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"BulkUpdateLineItemsResponse": { +"description": "Response message for LineItemService.BulkUpdateLineItems.", +"id": "BulkUpdateLineItemsResponse", +"properties": { +"errors": { +"description": "Errors returned by line items that failed to update.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"failedLineItemIds": { +"description": "The IDs of line items that failed to update.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"skippedLineItemIds": { +"description": "The IDs of line items that are skipped for updates. For example, unnecessary mutates that will result in effectively no changes to line items will be skipped and corresponding line item IDs can be tracked here.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"updatedLineItemIds": { +"description": "The IDs of successfully updated line items.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BumperAd": { +"description": "Details for a bumper ad.", +"id": "BumperAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +} +}, +"type": "object" +}, +"BusinessChainAssignedTargetingOptionDetails": { +"description": "Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", +"id": "BusinessChainAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a business chain, e.g. \"KFC\", \"Chase Bank\".", +"readOnly": true, +"type": "string" +}, +"proximityRadiusAmount": { +"description": "Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. The unit of distance by which the targeting radius is measured.", +"enum": [ +"DISTANCE_UNIT_UNSPECIFIED", +"DISTANCE_UNIT_MILES", +"DISTANCE_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Miles.", +"Kilometers." +], +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`. Accepted business chain targeting option IDs can be retrieved using SearchTargetingOptions.", +"type": "string" +} +}, +"type": "object" +}, +"BusinessChainSearchTerms": { +"description": "Search terms for Business Chain targeting options. At least one of the field should be populated.", +"id": "BusinessChainSearchTerms", +"properties": { +"businessChainQuery": { +"description": "The search query for the desired business chain. The query must be the full name of the business, e.g. \"KFC\", \"mercedes-benz\".", +"type": "string" +}, +"regionQuery": { +"description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".", +"type": "string" +} +}, +"type": "object" +}, +"BusinessChainTargetingOptionDetails": { +"description": "Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.", +"id": "BusinessChainTargetingOptionDetails", +"properties": { +"businessChain": { +"description": "Output only. The display name of the business chain, e.g. \"KFC\", \"Chase Bank\".", +"readOnly": true, +"type": "string" +}, +"geoRegion": { +"description": "Output only. The display name of the geographic region, e.g. \"Ontario, Canada\".", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of the geographic region.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Campaign": { +"description": "A single campaign.", +"id": "Campaign", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the campaign belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"campaignBudgets": { +"description": "The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited budget.", +"items": { +"$ref": "CampaignBudget" +}, +"type": "array" +}, +"campaignFlight": { +"$ref": "CampaignFlight", +"description": "Required. The planned spend and duration of the campaign." +}, +"campaignGoal": { +"$ref": "CampaignGoal", +"description": "Required. The goal of the campaign." +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. * For CreateCampaign method, `ENTITY_STATUS_ARCHIVED` is not allowed.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The frequency cap setting of the campaign. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap)" +}, +"name": { +"description": "Output only. The resource name of the campaign.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the campaign was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CampaignBudget": { +"description": "Settings that control how the campaign budget is allocated.", +"id": "CampaignBudget", +"properties": { +"budgetAmountMicros": { +"description": "Required. The total amount the linked insertion order segments can budget. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"budgetId": { +"description": "The unique ID of the campaign budget. Assigned by the system. Do not set for new budgets. Must be included when updating or adding budgets to campaign_budgets. Otherwise, a new ID will be generated and assigned.", +"format": "int64", +"type": "string" +}, +"budgetUnit": { +"description": "Required. Immutable. Specifies whether the budget is measured in currency or impressions.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"type": "string" +}, +"dateRange": { +"$ref": "DateRange", +"description": "Required. The date range for the campaign budget. Linked budget segments may have a different date range. They are resolved relative to the parent advertiser's time zone. Both `start_date` and `end_date` must be before the year 2037." +}, +"displayName": { +"description": "Required. The display name of the budget. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"externalBudgetId": { +"description": "Immutable. The ID identifying this budget to the external source. If this field is set and the invoice detail level of the corresponding billing profile is set to \"Budget level PO\", all impressions served against this budget will include this ID on the invoice. Must be unique under the campaign.", +"type": "string" +}, +"externalBudgetSource": { +"description": "Required. The external source of the budget.", +"enum": [ +"EXTERNAL_BUDGET_SOURCE_UNSPECIFIED", +"EXTERNAL_BUDGET_SOURCE_NONE", +"EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN" +], +"enumDescriptions": [ +"External budget source value is not specified or unknown in this version.", +"Budget has no external source.", +"Budget source is Mediaocean." +], +"type": "string" +}, +"invoiceGroupingId": { +"description": "Immutable. The ID used to group budgets to be included the same invoice. If this field is set and the invoice level of the corresponding billing profile is set to \"Budget invoice grouping ID\", all external_budget_id sharing the same invoice_grouping_id will be grouped in the same invoice.", +"type": "string" +}, +"prismaConfig": { +"$ref": "PrismaConfig", +"description": "Additional metadata for use by the Mediaocean Prisma tool. Required for Mediaocean budgets. Only applicable to prisma_enabled advertisers." +} +}, +"type": "object" +}, +"CampaignFlight": { +"description": "Settings that track the planned spend and duration of a campaign.", +"id": "CampaignFlight", +"properties": { +"plannedDates": { +"$ref": "DateRange", +"description": "Required. The dates that the campaign is expected to run. They are resolved relative to the parent advertiser's time zone. * The dates specified here will not affect serving. They are used to generate alerts and warnings. For example, if the flight date of any child insertion order is outside the range of these dates, the user interface will show a warning. * `start_date` is required and must be the current date or later. * `end_date` is optional. If specified, it must be the `start_date` or later. * Any specified date must be before the year 2037." +}, +"plannedSpendAmountMicros": { +"description": "The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CampaignGoal": { +"description": "Settings that control the goal of a campaign.", +"id": "CampaignGoal", +"properties": { +"campaignGoalType": { +"description": "Required. The type of the campaign goal.", +"enum": [ +"CAMPAIGN_GOAL_TYPE_UNSPECIFIED", +"CAMPAIGN_GOAL_TYPE_APP_INSTALL", +"CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS", +"CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION", +"CAMPAIGN_GOAL_TYPE_ONLINE_ACTION" +], +"enumDescriptions": [ +"Goal value is not specified or unknown in this version.", +"Drive app installs or engagements.", +"Raise awareness of a brand or product.", +"Drive offline or in-store sales.", +"Drive online action or visits." +], +"type": "string" +}, +"performanceGoal": { +"$ref": "PerformanceGoal", +"description": "Required. The performance goal of the campaign. Acceptable values for performance_goal_type are: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_OTHER`" +} +}, +"type": "object" +}, +"CarrierAndIspAssignedTargetingOptionDetails": { +"description": "Details for assigned carrier and ISP targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", +"id": "CarrierAndIspAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the carrier or ISP.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.", +"type": "string" +} +}, +"type": "object" +}, +"CarrierAndIspTargetingOptionDetails": { +"description": "Represents a targetable carrier or ISP. This will be populated in the carrier_and_isp_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`.", +"id": "CarrierAndIspTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the carrier or ISP.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type indicating if it's carrier or ISP.", +"enum": [ +"CARRIER_AND_ISP_TYPE_UNSPECIFIED", +"CARRIER_AND_ISP_TYPE_ISP", +"CARRIER_AND_ISP_TYPE_CARRIER" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Indicates this targeting resource refers to an ISP.", +"Indicates this targeting resource refers to a mobile carrier." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CategoryAssignedTargetingOptionDetails": { +"description": "Assigned category targeting option details. This will be populated in the category_details field when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"id": "CategoryAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the category.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"type": "string" +} +}, +"type": "object" +}, +"CategoryTargetingOptionDetails": { +"description": "Represents a targetable category. This will be populated in the category_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_CATEGORY`.", +"id": "CategoryTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the category.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Channel": { +"description": "A single channel. Channels are custom groups of related websites and apps.", +"id": "Channel", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the channel.", +"format": "int64", +"type": "string" +}, +"channelId": { +"description": "Output only. The unique ID of the channel. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the channel.", +"readOnly": true, +"type": "string" +}, +"negativelyTargetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this channel negatively.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "The ID of the partner that owns the channel.", +"format": "int64", +"type": "string" +}, +"positivelyTargetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this channel positively.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ChannelAssignedTargetingOptionDetails": { +"description": "Details for assigned channel targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`.", +"id": "ChannelAssignedTargetingOptionDetails", +"properties": { +"channelId": { +"description": "Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned channel](advertisers.channels#Channel.FIELDS.channel_id) resource.", +"format": "int64", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this field must be true.", +"type": "boolean" +} +}, +"type": "object" +}, +"CmHybridConfig": { +"description": "Settings for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers.", +"id": "CmHybridConfig", +"properties": { +"cmAccountId": { +"description": "Required. Immutable. Account ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", +"format": "int64", +"type": "string" +}, +"cmAdvertiserIds": { +"description": "Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight configuration.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"cmFloodlightConfigId": { +"description": "Required. Immutable. ID of the CM360 Floodlight configuration linked with the DV360 advertiser.", +"format": "int64", +"type": "string" +}, +"cmFloodlightLinkingAuthorized": { +"description": "Required. Immutable. By setting this field to `true`, you, on behalf of your company, authorize the sharing of information from the given Floodlight configuration to this Display & Video 360 advertiser.", +"type": "boolean" +}, +"cmSyncableSiteIds": { +"description": "A list of CM360 sites whose placements will be synced to DV360 as creatives. If absent or empty in CreateAdvertiser method, the system will automatically create a CM360 site. Removing sites from this list may cause DV360 creatives synced from CM360 to be deleted. At least one site must be specified.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"dv360ToCmCostReportingEnabled": { +"description": "Whether or not to report DV360 cost to CM360.", +"type": "boolean" +}, +"dv360ToCmDataSharingEnabled": { +"description": "Whether or not to include DV360 data in CM360 data transfer reports.", +"type": "boolean" +} +}, +"type": "object" +}, +"CmTrackingAd": { +"description": "A Campaign Manager 360 tracking ad.", +"id": "CmTrackingAd", +"properties": { +"cmAdId": { +"description": "Optional. The ad ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +}, +"cmCreativeId": { +"description": "Optional. The creative ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +}, +"cmPlacementId": { +"description": "Optional. The placement ID of the campaign manager 360 tracking Ad.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CombinedAudience": { +"description": "Describes a combined audience resource.", +"id": "CombinedAudience", +"properties": { +"combinedAudienceId": { +"description": "Output only. The unique ID of the combined audience. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the combined audience. .", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the combined audience.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CombinedAudienceGroup": { +"description": "Details of combined audience group. All combined audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "CombinedAudienceGroup", +"properties": { +"settings": { +"description": "Required. All combined audience targeting settings in combined audience group. Repeated settings with the same id will be ignored. The number of combined audience settings should be no more than five, error will be thrown otherwise.", +"items": { +"$ref": "CombinedAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"CombinedAudienceTargetingSetting": { +"description": "Details of combined audience targeting setting.", +"id": "CombinedAudienceTargetingSetting", +"properties": { +"combinedAudienceId": { +"description": "Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CommonInStreamAttribute": { +"description": "Common attributes for in-stream, non-skippable and bumper ads.", +"id": "CommonInStreamAttribute", +"properties": { +"actionButtonLabel": { +"description": "The text on the call-to-action button.", +"type": "string" +}, +"actionHeadline": { +"description": "The headline of the call-to-action banner.", +"type": "string" +}, +"companionBanner": { +"$ref": "ImageAsset", +"description": "The image which shows next to the video ad." +}, +"displayUrl": { +"description": "The webpage address that appears with the ad.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video of the ad." +} +}, +"type": "object" +}, +"Consent": { +"description": "User consent status.", +"id": "Consent", +"properties": { +"adPersonalization": { +"description": "Represents consent for ad personalization.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_STATUS_GRANTED", +"CONSENT_STATUS_DENIED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Consent is granted.", +"Consent is denied." +], +"type": "string" +}, +"adUserData": { +"description": "Represents consent for ad user data.", +"enum": [ +"CONSENT_STATUS_UNSPECIFIED", +"CONSENT_STATUS_GRANTED", +"CONSENT_STATUS_DENIED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Consent is granted.", +"Consent is denied." +], +"type": "string" +} +}, +"type": "object" +}, +"ContactInfo": { +"description": "Contact information defining a Customer Match audience member.", +"id": "ContactInfo", +"properties": { +"countryCode": { +"description": "Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes", +"type": "string" +}, +"hashedEmails": { +"description": "A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.", +"items": { +"type": "string" +}, +"type": "array" +}, +"hashedFirstName": { +"description": "SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes", +"type": "string" +}, +"hashedLastName": { +"description": "SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes", +"type": "string" +}, +"hashedPhoneNumbers": { +"description": "A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.", +"items": { +"type": "string" +}, +"type": "array" +}, +"zipCodes": { +"description": "A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContactInfoList": { +"description": "Wrapper message for a list of contact information defining Customer Match audience members.", +"id": "ContactInfoList", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." +}, +"contactInfos": { +"description": "A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.", +"items": { +"$ref": "ContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContentDurationAssignedTargetingOptionDetails": { +"description": "Details for content duration assigned targeting option. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. Explicitly targeting all options is not supported. Remove all content duration targeting options to achieve this effect.", +"id": "ContentDurationAssignedTargetingOptionDetails", +"properties": { +"contentDuration": { +"description": "Output only. The content duration.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentDurationTargetingOptionDetails": { +"description": "Represents a targetable content duration. This will be populated in the content_duration_details field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.", +"id": "ContentDurationTargetingOptionDetails", +"properties": { +"contentDuration": { +"description": "Output only. The content duration.", +"enum": [ +"CONTENT_DURATION_UNSPECIFIED", +"CONTENT_DURATION_UNKNOWN", +"CONTENT_DURATION_0_TO_1_MIN", +"CONTENT_DURATION_1_TO_5_MIN", +"CONTENT_DURATION_5_TO_15_MIN", +"CONTENT_DURATION_15_TO_30_MIN", +"CONTENT_DURATION_30_TO_60_MIN", +"CONTENT_DURATION_OVER_60_MIN" +], +"enumDescriptions": [ +"Content duration is not specified in this version. This enum is a place holder for a default value and does not represent a real content duration.", +"The content duration is unknown.", +"Content is 0-1 minute long.", +"Content is 1-5 minutes long.", +"Content is 5-15 minutes long.", +"Content is 15-30 minutes long.", +"Content is 30-60 minutes long.", +"Content is over 60 minutes long." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentGenreAssignedTargetingOptionDetails": { +"description": "Details for content genre assigned targeting option. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. Explicitly targeting all options is not supported. Remove all content genre targeting options to achieve this effect.", +"id": "ContentGenreAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the content genre.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentGenreTargetingOptionDetails": { +"description": "Represents a targetable content genre. This will be populated in the content_genre_details field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.", +"id": "ContentGenreTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the content genre", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentInstreamPositionAssignedTargetingOptionDetails": { +"description": "Assigned content instream position targeting option details. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", +"id": "ContentInstreamPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_AUDIO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"contentInstreamPosition": { +"description": "Required. The content instream position for video or audio ads.", +"enum": [ +"CONTENT_INSTREAM_POSITION_UNSPECIFIED", +"CONTENT_INSTREAM_POSITION_PRE_ROLL", +"CONTENT_INSTREAM_POSITION_MID_ROLL", +"CONTENT_INSTREAM_POSITION_POST_ROLL", +"CONTENT_INSTREAM_POSITION_UNKNOWN" +], +"enumDescriptions": [ +"Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", +"Ads that play before streaming content.", +"Ads that play between the beginning and end of streaming content.", +"Ads that play at the end of streaming content.", +"Ads instream position is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentInstreamPositionTargetingOptionDetails": { +"description": "Represents a targetable content instream position, which could be used by video and audio ads. This will be populated in the content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.", +"id": "ContentInstreamPositionTargetingOptionDetails", +"properties": { +"contentInstreamPosition": { +"description": "Output only. The content instream position.", +"enum": [ +"CONTENT_INSTREAM_POSITION_UNSPECIFIED", +"CONTENT_INSTREAM_POSITION_PRE_ROLL", +"CONTENT_INSTREAM_POSITION_MID_ROLL", +"CONTENT_INSTREAM_POSITION_POST_ROLL", +"CONTENT_INSTREAM_POSITION_UNKNOWN" +], +"enumDescriptions": [ +"Content instream position is not specified in this version. This enum is a place holder for a default value and does not represent a real in stream ad position.", +"Ads that play before streaming content.", +"Ads that play between the beginning and end of streaming content.", +"Ads that play at the end of streaming content.", +"Ads instream position is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentOutstreamPositionAssignedTargetingOptionDetails": { +"description": "Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", +"id": "ContentOutstreamPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"contentOutstreamPosition": { +"description": "Required. The content outstream position.", +"enum": [ +"CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", +"CONTENT_OUTSTREAM_POSITION_UNKNOWN", +"CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", +"CONTENT_OUTSTREAM_POSITION_IN_BANNER", +"CONTENT_OUTSTREAM_POSITION_IN_FEED", +"CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" +], +"enumDescriptions": [ +"Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", +"The ad position is unknown in the content outstream.", +"Ads that appear between the paragraphs of your pages.", +"Ads that display on the top and the sides of a page.", +"Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Ads shown before or between content loads." +], +"type": "string" +} +}, +"type": "object" +}, +"ContentOutstreamPositionTargetingOptionDetails": { +"description": "Represents a targetable content outstream position, which could be used by display and video ads. This will be populated in the content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.", +"id": "ContentOutstreamPositionTargetingOptionDetails", +"properties": { +"contentOutstreamPosition": { +"description": "Output only. The content outstream position.", +"enum": [ +"CONTENT_OUTSTREAM_POSITION_UNSPECIFIED", +"CONTENT_OUTSTREAM_POSITION_UNKNOWN", +"CONTENT_OUTSTREAM_POSITION_IN_ARTICLE", +"CONTENT_OUTSTREAM_POSITION_IN_BANNER", +"CONTENT_OUTSTREAM_POSITION_IN_FEED", +"CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" +], +"enumDescriptions": [ +"Content outstream position is not specified in this version. This enum is a place holder for a default value and does not represent a real content outstream position.", +"The ad position is unknown in the content outstream.", +"Ads that appear between the paragraphs of your pages.", +"Ads that display on the top and the sides of a page.", +"Ads that appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Ads shown before or between content loads." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentStreamTypeAssignedTargetingOptionDetails": { +"description": "Details for content stream type assigned targeting option. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. Explicitly targeting all options is not supported. Remove all content stream type targeting options to achieve this effect.", +"id": "ContentStreamTypeAssignedTargetingOptionDetails", +"properties": { +"contentStreamType": { +"description": "Output only. The content stream type.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", +"type": "string" +} +}, +"type": "object" +}, +"ContentStreamTypeTargetingOptionDetails": { +"description": "Represents a targetable content stream type. This will be populated in the content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.", +"id": "ContentStreamTypeTargetingOptionDetails", +"properties": { +"contentStreamType": { +"description": "Output only. The content stream type.", +"enum": [ +"CONTENT_STREAM_TYPE_UNSPECIFIED", +"CONTENT_LIVE_STREAM", +"CONTENT_ON_DEMAND" +], +"enumDescriptions": [ +"Content stream type is not specified in this version. This enum is a place holder for a default value and does not represent a real content stream type.", +"The content is being live-streamed.", +"The content is viewed on-demand." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ContentThemeAssignedTargetingOptionDetails": { +"description": "Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.", +"id": "ContentThemeAssignedTargetingOptionDetails", +"properties": { +"contentTheme": { +"description": "Output only. An enum for the DV360 content theme classifier.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"readOnly": true, +"type": "string" +}, +"excludedContentTheme": { +"description": "Required. An enum for the DV360 content theme classified to be EXCLUDED.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"type": "string" +}, +"excludedTargetingOptionId": { +"description": "Required. ID of the content theme to be EXCLUDED.", +"type": "string" +} +}, +"type": "object" +}, +"ContentThemeTargetingOptionDetails": { +"description": "Represents a targetable content theme. This will be populated in the content_theme_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`.", +"id": "ContentThemeTargetingOptionDetails", +"properties": { +"contentTheme": { +"description": "Output only. An enum for the DV360 content theme content classifier.", +"enum": [ +"CONTENT_THEME_UNSPECIFIED", +"CONTENT_THEME_FIGHTING_VIDEO_GAMES", +"CONTENT_THEME_MATURE_GAMES", +"CONTENT_THEME_NOT_YET_DETERMINED_HEALTH_SOURCES", +"CONTENT_THEME_NOT_YET_DETERMINED_NEWS_SOURCES", +"CONTENT_THEME_POLITICS", +"CONTENT_THEME_RECENT_NEWS", +"CONTENT_THEME_RELIGION", +"CONTENT_THEME_UNPLEASANT_HEALTH_CONTENT", +"CONTENT_THEME_UNPLEASANT_NEWS" +], +"enumDescriptions": [ +"Content theme is not specified or is unknown in this version.", +"Fighting video games.", +"Mature games.", +"Not yet determined health sources.", +"Not yet determined news sources.", +"Politics.", +"Recent news.", +"Religion.", +"Unpleasant health content.", +"Unpleasant news." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConversionCountingConfig": { +"description": "Settings that control how conversions are counted. All post-click conversions will be counted. A percentage value can be set for post-view conversions counting.", +"id": "ConversionCountingConfig", +"properties": { +"floodlightActivityConfigs": { +"description": "The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of all of the conversions counted by all of the Floodlight activity IDs specified in this field. This field can't be updated if a custom bidding algorithm is assigned to the line item. If you set this field and assign a custom bidding algorithm in the same request, the floodlight activities must match the ones used by the custom bidding algorithm.", +"items": { +"$ref": "TrackingFloodlightActivityConfig" +}, +"type": "array" +}, +"postViewCountPercentageMillis": { +"description": "The percentage of post-view conversions to count, in millis (1/1000 of a percent). Must be between 0 and 100000 inclusive. For example, to track 50% of the post-click conversions, set a value of 50000.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CounterEvent": { +"description": "Counter event of the creative.", +"id": "CounterEvent", +"properties": { +"name": { +"description": "Required. The name of the counter event.", +"type": "string" +}, +"reportingName": { +"description": "Required. The name used to identify this counter event in reports.", +"type": "string" +} +}, +"type": "object" +}, +"CreateAssetRequest": { +"description": "A request message for CreateAsset.", +"id": "CreateAssetRequest", +"properties": { +"filename": { +"description": "Required. The filename of the asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"CreateAssetResponse": { +"description": "A response message for CreateAsset.", +"id": "CreateAssetResponse", +"properties": { +"asset": { +"$ref": "Asset", +"description": "The uploaded asset, if successful." +} +}, +"type": "object" +}, +"CreateAssignedTargetingOptionsRequest": { +"description": "A request listing which assigned targeting options of a given targeting type should be created and added.", +"id": "CreateAssignedTargetingOptionsRequest", +"properties": { +"assignedTargetingOptions": { +"description": "Required. The assigned targeting options to create and add.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"type": "string" +} +}, +"type": "object" +}, +"CreateSdfDownloadTaskRequest": { +"description": "Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].", +"id": "CreateSdfDownloadTaskRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser to download SDF for.", +"format": "int64", +"type": "string" +}, +"idFilter": { +"$ref": "IdFilter", +"description": "Filters on entities by their entity IDs." +}, +"inventorySourceFilter": { +"$ref": "InventorySourceFilter", +"description": "Filters on Inventory Sources by their IDs." +}, +"parentEntityFilter": { +"$ref": "ParentEntityFilter", +"description": "Filters on selected file types. The entities in each file are filtered by a chosen set of filter entities. The filter entities must be the same type as, or a parent type of, the selected file types." +}, +"partnerId": { +"description": "The ID of the partner to download SDF for.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will default to the version specified by the advertiser or partner identified by `root_id`. An advertiser inherits its SDF version from its partner unless configured otherwise.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"Creative": { +"description": "A single Creative.", +"id": "Creative", +"properties": { +"additionalDimensions": { +"description": "Optional. Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and height_pixels are both required and must be greater than or equal to 0.", +"items": { +"$ref": "Dimensions" +}, +"type": "array" +}, +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the creative belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"appendedTag": { +"description": "Optional. Third-party HTML tracking tag to be appended to the creative tag.", +"type": "string" +}, +"assets": { +"description": "Required. Assets associated to this creative.", +"items": { +"$ref": "AssetAssociation" +}, +"type": "array" +}, +"cmPlacementId": { +"description": "Output only. The unique ID of the Campaign Manager 360 placement associated with the creative. This field is only applicable for creatives that are synced from Campaign Manager.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"cmTrackingAd": { +"$ref": "CmTrackingAd", +"description": "Optional. The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases." +}, +"companionCreativeIds": { +"description": "Optional. The IDs of companion creatives for a video creative. You can assign existing display creatives (with image or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video player while the video is playing and remain after the video has completed. Creatives contain additional dimensions can not be companion creatives. This field is only supported for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"counterEvents": { +"description": "Optional. Counter events for a rich media creative. Counters track the number of times that a user interacts with any part of a rich media creative in a specified way (mouse-overs, mouse-outs, clicks, taps, data loading, keyboard entries, etc.). Any event that can be captured in the creative can be recorded as a counter. Leave it empty or unset for creatives containing image assets only.", +"items": { +"$ref": "CounterEvent" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The timestamp when the creative was created. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creativeAttributes": { +"description": "Output only. A list of attributes of the creative that is generated by the system.", +"items": { +"enum": [ +"CREATIVE_ATTRIBUTE_UNSPECIFIED", +"CREATIVE_ATTRIBUTE_VAST", +"CREATIVE_ATTRIBUTE_VPAID_LINEAR", +"CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR" +], +"enumDescriptions": [ +"The creative attribute is not specified or is unknown in this version.", +"The creative is a VAST creative.", +"The creative is a linear VPAID creative.", +"The creative is a non-linear VPAID creative." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"creativeId": { +"description": "Output only. The unique ID of the creative. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"creativeType": { +"description": "Required. Immutable. The type of the creative.", +"enum": [ +"CREATIVE_TYPE_UNSPECIFIED", +"CREATIVE_TYPE_STANDARD", +"CREATIVE_TYPE_EXPANDABLE", +"CREATIVE_TYPE_VIDEO", +"CREATIVE_TYPE_NATIVE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_SITE_SQUARE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", +"CREATIVE_TYPE_LIGHTBOX", +"CREATIVE_TYPE_NATIVE_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", +"CREATIVE_TYPE_AUDIO", +"CREATIVE_TYPE_PUBLISHER_HOSTED", +"CREATIVE_TYPE_NATIVE_VIDEO", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", +"CREATIVE_TYPE_ASSET_BASED_CREATIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", +"Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", +"Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", +"Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", +"Native app install creative. Create and update methods are **not** supported for this creative type.", +"Square native app install creative. Create and update methods are **not** supported for this creative type.", +"Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Publisher hosted creative. Create and update methods are **not** supported for this creative type.", +"Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile video creative. Create and update methods are **not** supported for this creative type.", +"Asset-based creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`." +], +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`" +}, +"displayName": { +"description": "Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"dynamic": { +"description": "Output only. Indicates whether the creative is dynamic.", +"readOnly": true, +"type": "boolean" +}, +"entityStatus": { +"description": "Required. Controls whether or not the creative can serve. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED` * `ENTITY_STATUS_PAUSED`", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"exitEvents": { +"description": "Required. Exit events for this creative. An exit (also known as a click tag) is any area in your creative that someone can click or tap to open an advertiser's landing page. Every creative must include at least one exit. You can add an exit to your creative in any of the following ways: * Use Google Web Designer's tap area. * Define a JavaScript variable called \"clickTag\". * Use the Enabler (Enabler.exit()) to track exits in rich media formats.", +"items": { +"$ref": "ExitEvent" +}, +"type": "array" +}, +"expandOnHover": { +"description": "Optional. Indicates the creative will automatically expand on hover. Optional and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"expandingDirection": { +"description": "Optional. Specifies the expanding direction of the creative. Required and only valid for third-party expandable creatives. Third-party expandable creatives are creatives with following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`", +"enum": [ +"EXPANDING_DIRECTION_UNSPECIFIED", +"EXPANDING_DIRECTION_NONE", +"EXPANDING_DIRECTION_UP", +"EXPANDING_DIRECTION_DOWN", +"EXPANDING_DIRECTION_LEFT", +"EXPANDING_DIRECTION_RIGHT", +"EXPANDING_DIRECTION_UP_AND_LEFT", +"EXPANDING_DIRECTION_UP_AND_RIGHT", +"EXPANDING_DIRECTION_DOWN_AND_LEFT", +"EXPANDING_DIRECTION_DOWN_AND_RIGHT", +"EXPANDING_DIRECTION_UP_OR_DOWN", +"EXPANDING_DIRECTION_LEFT_OR_RIGHT", +"EXPANDING_DIRECTION_ANY_DIAGONAL" +], +"enumDescriptions": [ +"The expanding direction is not specified.", +"Does not expand in any direction.", +"Expands up.", +"Expands down.", +"Expands left.", +"Expands right.", +"Expands up and to the left side.", +"Expands up and to the right side.", +"Expands down and to the left side.", +"Expands down and to the right side.", +"Expands either up or down.", +"Expands to either the left or the right side.", +"Can expand in any diagonal direction." +], +"type": "string" +}, +"hostingSource": { +"description": "Required. Indicates where the creative is hosted.", +"enum": [ +"HOSTING_SOURCE_UNSPECIFIED", +"HOSTING_SOURCE_CM", +"HOSTING_SOURCE_THIRD_PARTY", +"HOSTING_SOURCE_HOSTED", +"HOSTING_SOURCE_RICH_MEDIA" +], +"enumDescriptions": [ +"Hosting source is not specified or is unknown in this version.", +"A creative synced from Campaign Manager 360. Create and update methods are **not** supported for this hosting type.", +"A creative hosted by a third-party ad server (3PAS). Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"A creative created in DV360 and hosted by Campaign Manager 360. Create and update methods are supported for this hosting type if the creative_type is one of the following: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"A rich media creative created in Studio and hosted by Campaign Manager 360. Create and update methods are **not** supported for this hosting type." +], +"type": "string" +}, +"html5Video": { +"description": "Output only. Indicates the third-party VAST tag creative requires HTML5 Video support. Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", +"readOnly": true, +"type": "boolean" +}, +"iasCampaignMonitoring": { +"description": "Optional. Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled. To enable this for the creative, make sure the Advertiser.creative_config.ias_client_id has been set to your IAS client ID.", +"type": "boolean" +}, +"integrationCode": { +"description": "Optional. ID information used to link this creative to an external system. Must be UTF-8 encoded with a length of no more than 10,000 characters.", +"type": "string" +}, +"jsTrackerUrl": { +"description": "Optional. JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, Moat). HTML script tags are not supported. This field is only writeable in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"type": "string" +}, +"lineItemIds": { +"description": "Output only. The IDs of the line items this creative is associated with. To associate a creative to a line item, use LineItem.creative_ids instead.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mediaDuration": { +"description": "Output only. Media duration of the creative. Applicable when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_PUBLISHER_HOSTED`", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"mp3Audio": { +"description": "Output only. Indicates the third-party audio creative supports MP3. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the creative.", +"readOnly": true, +"type": "string" +}, +"notes": { +"description": "Optional. User notes for this creative. Must be UTF-8 encoded with a length of no more than 20,000 characters.", +"type": "string" +}, +"obaIcon": { +"$ref": "ObaIcon", +"description": "Optional. Specifies the OBA icon for a video creative. This field is only supported in the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"oggAudio": { +"description": "Output only. Indicates the third-party audio creative supports OGG. Output only and only valid for third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO`", +"readOnly": true, +"type": "boolean" +}, +"progressOffset": { +"$ref": "AudioVideoOffset", +"description": "Optional. Amount of time to play the video before counting a view. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"requireHtml5": { +"description": "Optional. Indicates that the creative relies on HTML5 to render properly. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"requireMraid": { +"description": "Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface Definitions system). Set this if the creative relies on mobile gestures for interactivity, such as swiping or tapping. Optional and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "boolean" +}, +"requirePingForAttribution": { +"description": "Optional. Indicates that the creative will wait for a return ping for attribution. Only valid when using a Campaign Manager 360 tracking ad with a third-party ad server parameter and the ${DC_DBM_TOKEN} macro. Optional and only valid for third-party tag creatives or third-party VAST tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"type": "boolean" +}, +"reviewStatus": { +"$ref": "ReviewStatusInfo", +"description": "Output only. The current status of the creative review process.", +"readOnly": true +}, +"skipOffset": { +"$ref": "AudioVideoOffset", +"description": "Optional. Amount of time to play the video before the skip button appears. This field is required when skippable is true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"skippable": { +"description": "Optional. Whether the user can choose to skip a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`", +"type": "boolean" +}, +"thirdPartyTag": { +"description": "Optional. The original third-party tag used for the creative. Required and only valid for third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE`", +"type": "string" +}, +"thirdPartyUrls": { +"description": "Optional. Tracking URLs from third parties to track interactions with a video creative. This field is only supported for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"items": { +"$ref": "ThirdPartyUrl" +}, +"type": "array" +}, +"timerEvents": { +"description": "Optional. Timer custom events for a rich media creative. Timers track the time during which a user views and interacts with a specified part of a rich media creative. A creative can have multiple timer events, each timed independently. Leave it empty or unset for creatives containing image assets only.", +"items": { +"$ref": "TimerEvent" +}, +"type": "array" +}, +"trackerUrls": { +"description": "Optional. Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with `https:` (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros supported by Display & Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only writeable in the following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`", +"items": { +"type": "string" +}, +"type": "array" +}, +"transcodes": { +"description": "Output only. Audio/Video transcodes. Display & Video 360 transcodes the main asset into a number of alternative versions that use different file formats or have different properties (resolution, audio bit rate, and video bit rate), each designed for specific video players or bandwidths. These transcodes give a publisher's system more options to choose from for each impression on your video and ensures that the appropriate file serves based on the viewer\u2019s connection and screen size. This field is only supported in the following creative_type: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_AUDIO`", +"items": { +"$ref": "Transcode" +}, +"readOnly": true, +"type": "array" +}, +"universalAdId": { +"$ref": "UniversalAdId", +"description": "Optional. An optional creative identifier provided by a registry that is unique across all platforms. Universal Ad ID is part of the VAST 4.0 standard. It can be modified after the creative is created. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO`" +}, +"updateTime": { +"description": "Output only. The timestamp when the creative was last updated, either by the user or system (e.g. creative review). Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vastTagUrl": { +"description": "Optional. The URL of the VAST tag for a third-party VAST tag creative. Required and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`", +"type": "string" +}, +"vpaid": { +"description": "Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video Player-Ad Interface). Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_VIDEO`", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"CreativeConfig": { +"description": "Creative requirements configuration for the inventory source.", +"id": "CreativeConfig", +"properties": { +"creativeType": { +"description": "The type of creative that can be assigned to the inventory source. Only the following types are supported: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`", +"enum": [ +"CREATIVE_TYPE_UNSPECIFIED", +"CREATIVE_TYPE_STANDARD", +"CREATIVE_TYPE_EXPANDABLE", +"CREATIVE_TYPE_VIDEO", +"CREATIVE_TYPE_NATIVE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_SITE_SQUARE", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL", +"CREATIVE_TYPE_LIGHTBOX", +"CREATIVE_TYPE_NATIVE_APP_INSTALL", +"CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE", +"CREATIVE_TYPE_AUDIO", +"CREATIVE_TYPE_PUBLISHER_HOSTED", +"CREATIVE_TYPE_NATIVE_VIDEO", +"CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO", +"CREATIVE_TYPE_ASSET_BASED_CREATIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Standard display creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Expandable creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_THIRD_PARTY`", +"Video creative. Create and update methods are supported for this creative type if the hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` * `HOSTING_SOURCE_THIRD_PARTY`", +"Native creative rendered by publishers with assets from advertiser. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile creative (banner). Create and update methods are **not** supported for this creative type.", +"Square native creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Interstitial creative including both display and video. Create and update methods are **not** supported for this creative type.", +"Responsive and expandable Lightbox creative. Create and update methods are **not** supported for this creative type.", +"Native app install creative. Create and update methods are **not** supported for this creative type.", +"Square native app install creative. Create and update methods are **not** supported for this creative type.", +"Audio creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Publisher hosted creative. Create and update methods are **not** supported for this creative type.", +"Native video creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`", +"Templated app install mobile video creative. Create and update methods are **not** supported for this creative type.", +"Asset-based creative. Create and update methods are supported for this creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`." +], +"type": "string" +}, +"displayCreativeConfig": { +"$ref": "InventorySourceDisplayCreativeConfig", +"description": "The configuration for display creatives. Applicable when creative_type is `CREATIVE_TYPE_STANDARD`." +}, +"videoCreativeConfig": { +"$ref": "InventorySourceVideoCreativeConfig", +"description": "The configuration for video creatives. Applicable when creative_type is `CREATIVE_TYPE_VIDEO`." +} +}, +"type": "object" +}, +"CustomBiddingAlgorithm": { +"description": "A single custom bidding algorithm.", +"id": "CustomBiddingAlgorithm", +"properties": { +"advertiserId": { +"description": "Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.", +"format": "int64", +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmType": { +"description": "Required. Immutable. The type of custom bidding algorithm.", +"enum": [ +"CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED", +"SCRIPT_BASED", +"ADS_DATA_HUB_BASED", +"GOAL_BUILDER_BASED", +"RULE_BASED" +], +"enumDeprecated": [ +false, +false, +true, +true, +false +], +"enumDescriptions": [ +"Algorithm type is not specified or is unknown in this version.", +"Algorithm generated through customer-uploaded custom bidding script files.", +"DEPRECATED: ADS_DATA_HUB_BASED has been deprecated. Algorithm created through Ads Data Hub product.", +"DEPRECATED: GOAL_BUILDER_BASED has been deprecated, is not longer supported, and has been replaced by RULE_BASED. Algorithm created through goal builder in DV3 UI. **Existing algorithms of this type have been migrated to `RULE_BASED`.**", +"Algorithm based in defined rules. These rules are defined in the API using the AlgorithmRules object. This algorithm type is only available to allowlisted customers. Other customers attempting to use this type will receive an error." +], +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"modelDetails": { +"description": "Output only. The details of custom bidding models for each advertiser who has access. This field may only include the details of the queried advertiser if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", +"items": { +"$ref": "CustomBiddingModelDetails" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the custom bidding algorithm.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Immutable. The unique ID of the partner that owns the custom bidding algorithm.", +"format": "int64", +"type": "string" +}, +"sharedAdvertiserIds": { +"description": "The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only consist of that value. This field will not be set if the algorithm [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) is a partner and is being retrieved using an advertiser [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRules": { +"description": "A single custom bidding algorithm rules.", +"id": "CustomBiddingAlgorithmRules", +"properties": { +"active": { +"description": "Output only. Whether the rules resource is currently being used for scoring by the parent algorithm.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the rules resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm that the rules resource belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmRulesId": { +"description": "Output only. The unique ID of the rules resource.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "CustomBiddingAlgorithmRulesError", +"description": "Output only. Error code of the rejected rules resource. This field will only be populated when the state is `REJECTED`.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the rules resource.", +"readOnly": true, +"type": "string" +}, +"rules": { +"$ref": "CustomBiddingAlgorithmRulesRef", +"description": "Required. Immutable. The reference to the uploaded AlgorithmRules file." +}, +"state": { +"description": "Output only. The state of the rules resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"REJECTED" +], +"enumDescriptions": [ +"The rules state are unspecified or unknown in this version.", +"The rules have been accepted for scoring impressions.", +"The rules have been rejected by backend pipelines. They may have errors." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRulesError": { +"description": "An error message for a CustomBiddingAlgorithmRules resource.", +"id": "CustomBiddingAlgorithmRulesError", +"properties": { +"errorCode": { +"description": "The type of error.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"SYNTAX_ERROR", +"CONSTRAINT_VIOLATION_ERROR", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"The error is not specified or is unknown in this version.", +"The rules have a syntax error.", +"The rules have a constraint violation error.", +"Internal errors were thrown while processing the rules." +], +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingAlgorithmRulesRef": { +"description": "The reference to the uploaded AlgorithmRules file. Retrieve the location to upload new AlgorithmRules file to using customBiddingAlgorithms.uploadRules.", +"id": "CustomBiddingAlgorithmRulesRef", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to download the rules files. Or media.upload to upload the rules files. Resource names have the format `customBiddingAlgorithms/{custom_bidding_algorithm_id}/rulesRef/{ref_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingModelDetails": { +"description": "The details of a custom bidding algorithm model for a single shared advertiser.", +"id": "CustomBiddingModelDetails", +"properties": { +"advertiserId": { +"description": "The unique ID of the relevant advertiser.", +"format": "int64", +"type": "string" +}, +"readinessState": { +"description": "The readiness state of custom bidding model.", +"enum": [ +"READINESS_STATE_UNSPECIFIED", +"READINESS_STATE_ACTIVE", +"READINESS_STATE_INSUFFICIENT_DATA", +"READINESS_STATE_TRAINING", +"READINESS_STATE_NO_VALID_SCRIPT", +"READINESS_STATE_EVALUATION_FAILURE" +], +"enumDescriptions": [ +"State is not specified or is unknown in this version.", +"The model is trained and ready for serving.", +"There is not enough data to train the serving model.", +"The model is training and not ready for serving.", +"A valid custom bidding script has not been provided with which to train the model. This state will only be applied to algorithms whose `custom_bidding_algorithm_type` is `SCRIPT_BASED`.", +"A valid script was provided but failed evaluation. This is applicable for scripts that could not be evaluated in the alloted time." +], +"type": "string" +}, +"suspensionState": { +"description": "Output only. The suspension state of custom bidding model.", +"enum": [ +"SUSPENSION_STATE_UNSPECIFIED", +"SUSPENSION_STATE_ENABLED", +"SUSPENSION_STATE_DORMANT", +"SUSPENSION_STATE_SUSPENDED" +], +"enumDescriptions": [ +"State is not specified or is unknown in this version.", +"Model is enabled, either recently used, currently used or scheduled to be used. The algorithm is actively scoring impressions for this advertiser.", +"Model has not been used recently. Although the model still acts as `ENABLED`, it will eventually be suspended if not used.", +"Model is suspended from scoring impressions and cannot serve. If the algorithm is assigned to a line item under this advertiser or otherwise updated, it will switch back to the `ENABLED` state and require time to prepare the serving model again." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingScript": { +"description": "A single custom bidding script.", +"id": "CustomBiddingScript", +"properties": { +"active": { +"description": "Output only. Whether the script is currently being used for scoring by the parent algorithm.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the script was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customBiddingAlgorithmId": { +"description": "Output only. The unique ID of the custom bidding algorithm the script belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"customBiddingScriptId": { +"description": "Output only. The unique ID of the custom bidding script.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. Error details of a rejected custom bidding script. This field will only be populated when state is REJECTED.", +"items": { +"$ref": "ScriptError" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the custom bidding script.", +"readOnly": true, +"type": "string" +}, +"script": { +"$ref": "CustomBiddingScriptRef", +"description": "The reference to the uploaded script file." +}, +"state": { +"description": "Output only. The state of the custom bidding script.", +"enum": [ +"STATE_UNSPECIFIED", +"ACCEPTED", +"REJECTED", +"PENDING" +], +"enumDescriptions": [ +"The script state is not specified or is unknown in this version.", +"The script has been accepted for scoring impressions.", +"The script has been rejected by backend pipelines. It may have errors.", +"The script is being processed for backend pipelines." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomBiddingScriptRef": { +"description": "The reference to the uploaded custom bidding script file.", +"id": "CustomBiddingScriptRef", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to Download the script files. Or media.upload to Upload the script files. Resource names have the format `customBiddingAlgorithms/{custom_bidding_algorithm_id}/scriptRef/{ref_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"CustomLabel": { +"description": "The key and value of a custom label.", +"id": "CustomLabel", +"properties": { +"key": { +"description": "The key of the label.", +"enum": [ +"CUSTOM_LABEL_KEY_UNSPECIFIED", +"CUSTOM_LABEL_KEY_0", +"CUSTOM_LABEL_KEY_1", +"CUSTOM_LABEL_KEY_2", +"CUSTOM_LABEL_KEY_3", +"CUSTOM_LABEL_KEY_4" +], +"enumDescriptions": [ +"Not specified or unknown.", +"Key index 0.", +"Key index 1.", +"Key index 2.", +"Key index 3.", +"Key index 4." +], +"type": "string" +}, +"value": { +"description": "The value of the label.", +"type": "string" +} +}, +"type": "object" +}, +"CustomList": { +"description": "Describes a custom list entity, such as a custom affinity or custom intent audience list.", +"id": "CustomList", +"properties": { +"customListId": { +"description": "Output only. The unique ID of the custom list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the custom list. .", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the custom list.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CustomListGroup": { +"description": "Details of custom list group. All custom list targeting settings are logically \u2018OR\u2019 of each other.", +"id": "CustomListGroup", +"properties": { +"settings": { +"description": "Required. All custom list targeting settings in custom list group. Repeated settings with the same id will be ignored.", +"items": { +"$ref": "CustomListTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomListTargetingSetting": { +"description": "Details of custom list targeting setting.", +"id": "CustomListTargetingSetting", +"properties": { +"customListId": { +"description": "Required. Custom id of custom list targeting setting. This id is custom_list_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DateRange": { +"description": "A date range.", +"id": "DateRange", +"properties": { +"endDate": { +"$ref": "Date", +"description": "The upper bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." +}, +"startDate": { +"$ref": "Date", +"description": "The lower bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`." +} +}, +"type": "object" +}, +"DayAndTime": { +"description": "Representation of time defined by day of the week and hour of the day.", +"id": "DayAndTime", +"properties": { +"dayOfWeek": { +"description": "Required. Day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"hourOfDay": { +"description": "Required. Hour of the day.", +"format": "int32", +"type": "integer" +}, +"timeZoneResolution": { +"description": "Required. The mechanism used to determine the relevant timezone.", +"enum": [ +"TIME_ZONE_RESOLUTION_UNSPECIFIED", +"TIME_ZONE_RESOLUTION_END_USER", +"TIME_ZONE_RESOLUTION_ADVERTISER" +], +"enumDescriptions": [ +"Time zone resolution is either unspecific or unknown.", +"Times are resolved in the time zone of the user that saw the ad.", +"Times are resolved in the time zone of the advertiser that served the ad." +], +"type": "string" +} +}, +"type": "object" +}, +"DayAndTimeAssignedTargetingOptionDetails": { +"description": "Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`.", +"id": "DayAndTimeAssignedTargetingOptionDetails", +"properties": { +"dayOfWeek": { +"description": "Required. The day of the week for this day and time targeting setting.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"endHour": { +"description": "Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).", +"format": "int32", +"type": "integer" +}, +"startHour": { +"description": "Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before end of day).", +"format": "int32", +"type": "integer" +}, +"timeZoneResolution": { +"description": "Required. The mechanism used to determine which timezone to use for this day and time targeting setting.", +"enum": [ +"TIME_ZONE_RESOLUTION_UNSPECIFIED", +"TIME_ZONE_RESOLUTION_END_USER", +"TIME_ZONE_RESOLUTION_ADVERTISER" +], +"enumDescriptions": [ +"Time zone resolution is either unspecific or unknown.", +"Times are resolved in the time zone of the user that saw the ad.", +"Times are resolved in the time zone of the advertiser that served the ad." +], +"type": "string" +} +}, +"type": "object" +}, +"DeleteAssignedTargetingOptionsRequest": { +"description": "A request listing which assigned targeting options of a given targeting type should be deleted.", +"id": "DeleteAssignedTargetingOptionsRequest", +"properties": { +"assignedTargetingOptionIds": { +"description": "Required. The assigned targeting option IDs to delete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetingType": { +"description": "Required. Identifies the type of this assigned targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"type": "string" +} +}, +"type": "object" +}, +"DeviceMakeModelAssignedTargetingOptionDetails": { +"description": "Assigned device make and model targeting option details. This will be populated in the device_make_model_details field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"id": "DeviceMakeModelAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the device make and model.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceMakeModelTargetingOptionDetails": { +"description": "Represents a targetable device make and model. This will be populated in the device_make_model_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.", +"id": "DeviceMakeModelTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the device make and model.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeviceTypeAssignedTargetingOptionDetails": { +"description": "Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", +"id": "DeviceTypeAssignedTargetingOptionDetails", +"properties": { +"deviceType": { +"description": "Required. The display name of the device type.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_SMART_PHONE", +"DEVICE_TYPE_TABLET", +"DEVICE_TYPE_CONNECTED_DEVICE" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device." +], +"type": "string" +}, +"youtubeAndPartnersBidMultiplier": { +"description": "Output only. Bid multiplier allows you to show your ads more or less frequently based on the device type. It will apply a multiplier on the original bid price. When this field is 0, it indicates this field is not applicable instead of multiplying 0 on the original bid price. For example, if the bid price without multiplier is $10.0 and the multiplier is 1.5 for Tablet, the resulting bid price for Tablet will be $15.0. Only applicable to YouTube and Partners line items.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"DeviceTypeTargetingOptionDetails": { +"description": "Represents a targetable device type. This will be populated in the device_type_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.", +"id": "DeviceTypeTargetingOptionDetails", +"properties": { +"deviceType": { +"description": "Output only. The device type that is used to be targeted.", +"enum": [ +"DEVICE_TYPE_UNSPECIFIED", +"DEVICE_TYPE_COMPUTER", +"DEVICE_TYPE_CONNECTED_TV", +"DEVICE_TYPE_SMART_PHONE", +"DEVICE_TYPE_TABLET", +"DEVICE_TYPE_CONNECTED_DEVICE" +], +"enumDescriptions": [ +"Default value when device type is not specified in this version. This enum is a placeholder for default value and does not represent a real device type option.", +"Computer.", +"Connected TV.", +"Smart phone.", +"Tablet.", +"Connected device." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DigitalContentLabelAssignedTargetingOptionDetails": { +"description": "Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", +"id": "DigitalContentLabelAssignedTargetingOptionDetails", +"properties": { +"excludedContentRatingTier": { +"description": "Required. The display name of the digital content label rating tier to be EXCLUDED.", +"enum": [ +"CONTENT_RATING_TIER_UNSPECIFIED", +"CONTENT_RATING_TIER_UNRATED", +"CONTENT_RATING_TIER_GENERAL", +"CONTENT_RATING_TIER_PARENTAL_GUIDANCE", +"CONTENT_RATING_TIER_TEENS", +"CONTENT_RATING_TIER_MATURE", +"CONTENT_RATING_TIER_FAMILIES" +], +"enumDescriptions": [ +"Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", +"Content that has not been labeled.", +"Content suitable for general audiences.", +"Content suitable for most audiences with parental guidance.", +"Content suitable for teen and older audiences.", +"Content suitable only for mature audiences.", +"Content suitable for family audiences. It is a subset of CONTENT_RATING_TIER_GENERAL. Only applicable to YouTube and Partners line items." +], +"type": "string" +} +}, +"type": "object" +}, +"DigitalContentLabelTargetingOptionDetails": { +"description": "Represents a targetable digital content label rating tier. This will be populated in the digital_content_label_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.", +"id": "DigitalContentLabelTargetingOptionDetails", +"properties": { +"contentRatingTier": { +"description": "Output only. An enum for the content label brand safety tiers.", +"enum": [ +"CONTENT_RATING_TIER_UNSPECIFIED", +"CONTENT_RATING_TIER_UNRATED", +"CONTENT_RATING_TIER_GENERAL", +"CONTENT_RATING_TIER_PARENTAL_GUIDANCE", +"CONTENT_RATING_TIER_TEENS", +"CONTENT_RATING_TIER_MATURE", +"CONTENT_RATING_TIER_FAMILIES" +], +"enumDescriptions": [ +"Content label is not specified in this version. This enum is a place holder for a default value and does not represent a real content rating.", +"Content that has not been labeled.", +"Content suitable for general audiences.", +"Content suitable for most audiences with parental guidance.", +"Content suitable for teen and older audiences.", +"Content suitable only for mature audiences.", +"Content suitable for family audiences. It is a subset of CONTENT_RATING_TIER_GENERAL. Only applicable to YouTube and Partners line items." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Dimensions": { +"description": "Dimensions.", +"id": "Dimensions", +"properties": { +"heightPixels": { +"description": "The height in pixels.", +"format": "int32", +"type": "integer" +}, +"widthPixels": { +"description": "The width in pixels.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DisplayVideoSourceAd": { +"description": "The ad sourced from a DV360 creative.", +"id": "DisplayVideoSourceAd", +"properties": { +"creativeId": { +"description": "The ID of the source creative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerify": { +"description": "Details of DoubleVerify settings.", +"id": "DoubleVerify", +"properties": { +"appStarRating": { +"$ref": "DoubleVerifyAppStarRating", +"description": "Avoid bidding on apps with the star ratings." +}, +"avoidedAgeRatings": { +"description": "Avoid bidding on apps with the age rating.", +"items": { +"enum": [ +"AGE_RATING_UNSPECIFIED", +"APP_AGE_RATE_UNKNOWN", +"APP_AGE_RATE_4_PLUS", +"APP_AGE_RATE_9_PLUS", +"APP_AGE_RATE_12_PLUS", +"APP_AGE_RATE_17_PLUS", +"APP_AGE_RATE_18_PLUS" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any age rating options.", +"Apps with unknown age rating.", +"Apps rated for Everyone (4+).", +"Apps rated for Everyone (9+).", +"Apps rated for Teens (12+).", +"Apps rated for Mature (17+).", +"Apps rated for Adults Only (18+)." +], +"type": "string" +}, +"type": "array" +}, +"brandSafetyCategories": { +"$ref": "DoubleVerifyBrandSafetyCategories", +"description": "DV Brand Safety Controls." +}, +"customSegmentId": { +"description": "The custom segment ID provided by DoubleVerify. The ID must start with \"51\" and consist of eight digits. Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * avoided_age_ratings * app_star_rating * fraud_invalid_traffic", +"format": "int64", +"type": "string" +}, +"displayViewability": { +"$ref": "DoubleVerifyDisplayViewability", +"description": "Display viewability settings (applicable to display line items only)." +}, +"fraudInvalidTraffic": { +"$ref": "DoubleVerifyFraudInvalidTraffic", +"description": "Avoid Sites and Apps with historical Fraud & IVT Rates." +}, +"videoViewability": { +"$ref": "DoubleVerifyVideoViewability", +"description": "Video viewability settings (applicable to video line items only)." +} +}, +"type": "object" +}, +"DoubleVerifyAppStarRating": { +"description": "Details of DoubleVerify star ratings settings.", +"id": "DoubleVerifyAppStarRating", +"properties": { +"avoidInsufficientStarRating": { +"description": "Avoid bidding on apps with insufficient star ratings.", +"type": "boolean" +}, +"avoidedStarRating": { +"description": "Avoid bidding on apps with the star ratings.", +"enum": [ +"APP_STAR_RATE_UNSPECIFIED", +"APP_STAR_RATE_1_POINT_5_LESS", +"APP_STAR_RATE_2_LESS", +"APP_STAR_RATE_2_POINT_5_LESS", +"APP_STAR_RATE_3_LESS", +"APP_STAR_RATE_3_POINT_5_LESS", +"APP_STAR_RATE_4_LESS", +"APP_STAR_RATE_4_POINT_5_LESS" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any app star rating options.", +"Official Apps with rating < 1.5 Stars.", +"Official Apps with rating < 2 Stars.", +"Official Apps with rating < 2.5 Stars.", +"Official Apps with rating < 3 Stars.", +"Official Apps with rating < 3.5 Stars.", +"Official Apps with rating < 4 Stars.", +"Official Apps with rating < 4.5 Stars." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyBrandSafetyCategories": { +"description": "Settings for brand safety controls.", +"id": "DoubleVerifyBrandSafetyCategories", +"properties": { +"avoidUnknownBrandSafetyCategory": { +"description": "Unknown or unrateable.", +"type": "boolean" +}, +"avoidedHighSeverityCategories": { +"description": "Brand safety high severity avoidance categories.", +"items": { +"enum": [ +"HIGHER_SEVERITY_UNSPECIFIED", +"ADULT_CONTENT_PORNOGRAPHY", +"COPYRIGHT_INFRINGEMENT", +"SUBSTANCE_ABUSE", +"GRAPHIC_VIOLENCE_WEAPONS", +"HATE_PROFANITY", +"CRIMINAL_SKILLS", +"NUISANCE_INCENTIVIZED_MALWARE_CLUTTER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any high severity categories.", +"Adult Content: Pornography, Mature Topics & Nudity.", +"Copyright Infringement.", +"Drugs/Alcohol/Controlled Substances: Substance Abuse.", +"Extreme Graphic/Explicit Violence/Weapons.", +"Hate/Profanity.", +"Illegal Activities: Criminal Skills.", +"Incentivized/Malware/Clutter." +], +"type": "string" +}, +"type": "array" +}, +"avoidedMediumSeverityCategories": { +"description": "Brand safety medium severity avoidance categories.", +"items": { +"enum": [ +"MEDIUM_SEVERITY_UNSPECIFIED", +"AD_SERVERS", +"ADULT_CONTENT_SWIMSUIT", +"ALTERNATIVE_LIFESTYLES", +"CELEBRITY_GOSSIP", +"GAMBLING", +"OCCULT", +"SEX_EDUCATION", +"DISASTER_AVIATION", +"DISASTER_MAN_MADE", +"DISASTER_NATURAL", +"DISASTER_TERRORIST_EVENTS", +"DISASTER_VEHICLE", +"ALCOHOL", +"SMOKING", +"NEGATIVE_NEWS_FINANCIAL", +"NON_ENGLISH", +"PARKING_PAGE", +"UNMODERATED_UGC", +"INFLAMMATORY_POLITICS_AND_NEWS", +"NEGATIVE_NEWS_PHARMACEUTICAL" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any medium severity categories.", +"Ad Servers.", +"Adult Content: Swimsuit.", +"Controversial Subjects: Alternative Lifestyles.", +"Controversial Subjects: Celebrity Gossip.", +"Controversial Subjects: Gambling.", +"Controversial Subjects: Occult.", +"Controversial Subjects: Sex Education.", +"Disaster: Aviation.", +"Disaster: Man-made.", +"Disaster: Natural.", +"Disaster: Terrorist Events.", +"Disaster: Vehicle.", +"Drugs/Alcohol/Controlled Substances: Alcohol.", +"Drugs/Alcohol/Controlled Substances: Smoking.", +"Negative News: Financial.", +"Non-Std Content: Non-English.", +"Non-Std Content: Parking Page.", +"Unmoderated UGC: Forums, Images & Video.", +"Controversial Subjects: Inflammatory Politics and News.", +"Negative News: Pharmaceutical." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DoubleVerifyDisplayViewability": { +"description": "Details of DoubleVerify display viewability settings.", +"id": "DoubleVerifyDisplayViewability", +"properties": { +"iab": { +"description": "Target web and app inventory to maximize IAB viewable rate.", +"enum": [ +"IAB_VIEWED_RATE_UNSPECIFIED", +"IAB_VIEWED_RATE_80_PERCENT_HIGHER", +"IAB_VIEWED_RATE_75_PERCENT_HIGHER", +"IAB_VIEWED_RATE_70_PERCENT_HIGHER", +"IAB_VIEWED_RATE_65_PERCENT_HIGHER", +"IAB_VIEWED_RATE_60_PERCENT_HIGHER", +"IAB_VIEWED_RATE_55_PERCENT_HIGHER", +"IAB_VIEWED_RATE_50_PERCENT_HIGHER", +"IAB_VIEWED_RATE_40_PERCENT_HIGHER", +"IAB_VIEWED_RATE_30_PERCENT_HIGHER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any IAB viewed rate options.", +"Target web and app inventory to maximize IAB viewable rate 80% or higher.", +"Target web and app inventory to maximize IAB viewable rate 75% or higher.", +"Target web and app inventory to maximize IAB viewable rate 70% or higher.", +"Target web and app inventory to maximize IAB viewable rate 65% or higher.", +"Target web and app inventory to maximize IAB viewable rate 60% or higher.", +"Target web and app inventory to maximize IAB viewable rate 55% or higher.", +"Target web and app inventory to maximize IAB viewable rate 50% or higher.", +"Target web and app inventory to maximize IAB viewable rate 40% or higher.", +"Target web and app inventory to maximize IAB viewable rate 30% or higher." +], +"type": "string" +}, +"viewableDuring": { +"description": "Target web and app inventory to maximize 100% viewable duration.", +"enum": [ +"AVERAGE_VIEW_DURATION_UNSPECIFIED", +"AVERAGE_VIEW_DURATION_5_SEC", +"AVERAGE_VIEW_DURATION_10_SEC", +"AVERAGE_VIEW_DURATION_15_SEC" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any average view duration options.", +"Target web and app inventory to maximize 100% viewable duration 5 seconds or more.", +"Target web and app inventory to maximize 100% viewable duration 10 seconds or more.", +"Target web and app inventory to maximize 100% viewable duration 15 seconds or more." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyFraudInvalidTraffic": { +"description": "DoubleVerify Fraud & Invalid Traffic settings.", +"id": "DoubleVerifyFraudInvalidTraffic", +"properties": { +"avoidInsufficientOption": { +"description": "Insufficient Historical Fraud & IVT Stats.", +"type": "boolean" +}, +"avoidedFraudOption": { +"description": "Avoid Sites and Apps with historical Fraud & IVT.", +"enum": [ +"FRAUD_UNSPECIFIED", +"AD_IMPRESSION_FRAUD_100", +"AD_IMPRESSION_FRAUD_50", +"AD_IMPRESSION_FRAUD_25", +"AD_IMPRESSION_FRAUD_10", +"AD_IMPRESSION_FRAUD_8", +"AD_IMPRESSION_FRAUD_6", +"AD_IMPRESSION_FRAUD_4", +"AD_IMPRESSION_FRAUD_2" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any fraud and invalid traffic options.", +"100% Fraud & IVT.", +"50% or Higher Fraud & IVT.", +"25% or Higher Fraud & IVT.", +"10% or Higher Fraud & IVT.", +"8% or Higher Fraud & IVT.", +"6% or Higher Fraud & IVT.", +"4% or Higher Fraud & IVT.", +"2% or Higher Fraud & IVT." +], +"type": "string" +} +}, +"type": "object" +}, +"DoubleVerifyVideoViewability": { +"description": "Details of DoubleVerify video viewability settings.", +"id": "DoubleVerifyVideoViewability", +"properties": { +"playerImpressionRate": { +"description": "Target inventory to maximize impressions with 400x300 or greater player size.", +"enum": [ +"PLAYER_SIZE_400X300_UNSPECIFIED", +"PLAYER_SIZE_400X300_95", +"PLAYER_SIZE_400X300_70", +"PLAYER_SIZE_400X300_25", +"PLAYER_SIZE_400X300_5" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any impressions options.", +"Sites with 95%+ of impressions.", +"Sites with 70%+ of impressions.", +"Sites with 25%+ of impressions.", +"Sites with 5%+ of impressions." +], +"type": "string" +}, +"videoIab": { +"description": "Target web inventory to maximize IAB viewable rate.", +"enum": [ +"VIDEO_IAB_UNSPECIFIED", +"IAB_VIEWABILITY_80_PERCENT_HIGHER", +"IAB_VIEWABILITY_75_PERCENT_HIGHER", +"IAB_VIEWABILITY_70_PERCENT_HIGHER", +"IAB_VIEWABILITY_65_PERCENT_HIHGER", +"IAB_VIEWABILITY_60_PERCENT_HIGHER", +"IAB_VIEWABILITY_55_PERCENT_HIHGER", +"IAB_VIEWABILITY_50_PERCENT_HIGHER", +"IAB_VIEWABILITY_40_PERCENT_HIHGER", +"IAB_VIEWABILITY_30_PERCENT_HIHGER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video IAB viewable rate options.", +"Target web and app inventory to maximize IAB viewable rate 80% or higher.", +"Target web and app inventory to maximize IAB viewable rate 75% or higher.", +"Target web and app inventory to maximize IAB viewable rate 70% or higher.", +"Target web and app inventory to maximize IAB viewable rate 65% or higher.", +"Target web and app inventory to maximize IAB viewable rate 60% or higher.", +"Target web and app inventory to maximize IAB viewable rate 55% or higher.", +"Target web and app inventory to maximize IAB viewable rate 50% or higher.", +"Target web and app inventory to maximize IAB viewable rate 40% or higher.", +"Target web and app inventory to maximize IAB viewable rate 30% or higher." +], +"type": "string" +}, +"videoViewableRate": { +"description": "Target web inventory to maximize fully viewable rate.", +"enum": [ +"VIDEO_VIEWABLE_RATE_UNSPECIFIED", +"VIEWED_PERFORMANCE_40_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_35_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_30_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_25_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_20_PERCENT_HIGHER", +"VIEWED_PERFORMANCE_10_PERCENT_HIGHER" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video viewable rate options.", +"Target web inventory to maximize fully viewable rate 40% or higher.", +"Target web inventory to maximize fully viewable rate 35% or higher.", +"Target web inventory to maximize fully viewable rate 30% or higher.", +"Target web inventory to maximize fully viewable rate 25% or higher.", +"Target web inventory to maximize fully viewable rate 20% or higher.", +"Target web inventory to maximize fully viewable rate 10% or higher." +], +"type": "string" +} +}, +"type": "object" +}, +"DuplicateLineItemRequest": { +"description": "Request message for LineItemService.DuplicateLineItem.", +"id": "DuplicateLineItemRequest", +"properties": { +"containsEuPoliticalAds": { +"description": "Whether this line item will serve European Union political ads. If contains_eu_political_ads has been set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. This field must be assigned when creating a new line item. Otherwise, **the `advertisers.lineItems.create` request will fail**.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"targetDisplayName": { +"description": "The display name of the new line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"DuplicateLineItemResponse": { +"id": "DuplicateLineItemResponse", +"properties": { +"duplicateLineItemId": { +"description": "The ID of the created line item.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditCustomerMatchMembersRequest": { +"description": "Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", +"id": "EditCustomerMatchMembersRequest", +"properties": { +"addedContactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the members to be added." +}, +"addedMobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the members to be added." +}, +"advertiserId": { +"description": "Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.", +"format": "int64", +"type": "string" +}, +"removedContactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the members to be removed." +}, +"removedMobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the members to be removed." +} +}, +"type": "object" +}, +"EditCustomerMatchMembersResponse": { +"description": "The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.", +"id": "EditCustomerMatchMembersResponse", +"properties": { +"firstAndThirdPartyAudienceId": { +"description": "Required. The ID of the updated Customer Match FirstAndThirdPartyAudience.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditGuaranteedOrderReadAccessorsRequest": { +"description": "Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.", +"id": "EditGuaranteedOrderReadAccessorsRequest", +"properties": { +"addedAdvertisers": { +"description": "The advertisers to add as read accessors to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"partnerId": { +"description": "Required. The partner context in which the change is being made.", +"format": "int64", +"type": "string" +}, +"readAccessInherited": { +"description": "Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order. Only applicable if read_write_partner_id is set in the guaranteed order.", +"type": "boolean" +}, +"removedAdvertisers": { +"description": "The advertisers to remove as read accessors to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EditGuaranteedOrderReadAccessorsResponse": { +"id": "EditGuaranteedOrderReadAccessorsResponse", +"properties": { +"readAccessInherited": { +"description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order.", +"type": "boolean" +}, +"readAdvertiserIds": { +"description": "The IDs of advertisers with read access to the guaranteed order.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EditInventorySourceReadWriteAccessorsRequest": { +"description": "Request message for InventorySourceService.EditInventorySourceReadWriteAccessors.", +"id": "EditInventorySourceReadWriteAccessorsRequest", +"properties": { +"advertisersUpdate": { +"$ref": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", +"description": "The advertisers to add or remove from the list of advertisers that have read/write access to the inventory source. This change will remove an existing partner read/write accessor." +}, +"assignPartner": { +"description": "Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors.", +"type": "boolean" +}, +"partnerId": { +"description": "Required. The partner context by which the accessors change is being made.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate": { +"description": "Update to the list of advertisers with read/write access to the inventory source.", +"id": "EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate", +"properties": { +"addedAdvertisers": { +"description": "The advertisers to add.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"removedAdvertisers": { +"description": "The advertisers to remove.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"EnvironmentAssignedTargetingOptionDetails": { +"description": "Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", +"id": "EnvironmentAssignedTargetingOptionDetails", +"properties": { +"environment": { +"description": "Required. The serving environment.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"type": "string" +} +}, +"type": "object" +}, +"EnvironmentTargetingOptionDetails": { +"description": "Represents a targetable environment. This will be populated in the environment_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`.", +"id": "EnvironmentTargetingOptionDetails", +"properties": { +"environment": { +"description": "Output only. The serving environment.", +"enum": [ +"ENVIRONMENT_UNSPECIFIED", +"ENVIRONMENT_WEB_OPTIMIZED", +"ENVIRONMENT_WEB_NOT_OPTIMIZED", +"ENVIRONMENT_APP" +], +"enumDescriptions": [ +"Default value when environment is not specified in this version. This enum is a placeholder for default value and does not represent a real environment option.", +"Target inventory displayed in browsers. This includes inventory that was designed for the device it was viewed on, such as mobile websites viewed on a mobile device. ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior to the deletion of this targeting option.", +"Target inventory displayed in browsers. This includes inventory that was not designed for the device but viewed on it, such as websites optimized for desktop but viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be targeted prior to the addition of this targeting option.", +"Target inventory displayed in apps." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExchangeAssignedTargetingOptionDetails": { +"description": "Details for assigned exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", +"id": "ExchangeAssignedTargetingOptionDetails", +"properties": { +"exchange": { +"description": "Required. The enum value for the exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +} +}, +"type": "object" +}, +"ExchangeConfig": { +"description": "Settings that control which exchanges are enabled for a partner.", +"id": "ExchangeConfig", +"properties": { +"enabledExchanges": { +"description": "All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored.", +"items": { +"$ref": "ExchangeConfigEnabledExchange" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExchangeConfigEnabledExchange": { +"description": "An enabled exchange in the partner.", +"id": "ExchangeConfigEnabledExchange", +"properties": { +"exchange": { +"description": "The enabled exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"googleAdManagerAgencyId": { +"description": "Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", +"readOnly": true, +"type": "string" +}, +"googleAdManagerBuyerNetworkId": { +"description": "Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the enabled exchange.", +"readOnly": true, +"type": "string" +}, +"seatId": { +"description": "Output only. Seat ID of the enabled exchange.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExchangeReviewStatus": { +"description": "Exchange review status for the creative.", +"id": "ExchangeReviewStatus", +"properties": { +"exchange": { +"description": "The exchange reviewing the creative.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"status": { +"description": "Status of the exchange review.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +} +}, +"type": "object" +}, +"ExchangeTargetingOptionDetails": { +"description": "Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.", +"id": "ExchangeTargetingOptionDetails", +"properties": { +"exchange": { +"description": "Output only. The type of exchange.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExitEvent": { +"description": "Exit event of the creative.", +"id": "ExitEvent", +"properties": { +"name": { +"description": "Optional. The name of the click tag of the exit event. The name must be unique within one creative. Leave it empty or unset for creatives containing image assets only.", +"type": "string" +}, +"reportingName": { +"description": "Optional. The name used to identify this event in reports. Leave it empty or unset for creatives containing image assets only.", +"type": "string" +}, +"type": { +"description": "Required. The type of the exit event.", +"enum": [ +"EXIT_EVENT_TYPE_UNSPECIFIED", +"EXIT_EVENT_TYPE_DEFAULT", +"EXIT_EVENT_TYPE_BACKUP" +], +"enumDescriptions": [ +"Exit event type is not specified or is unknown in this version.", +"The exit event is the default one.", +"The exit event is a backup exit event. There could be multiple backup exit events in a creative." +], +"type": "string" +}, +"url": { +"description": "Required. The click through URL of the exit event. This is required when type is: * `EXIT_EVENT_TYPE_DEFAULT` * `EXIT_EVENT_TYPE_BACKUP`", +"type": "string" +} +}, +"type": "object" +}, +"FirstAndThirdPartyAudience": { +"description": "Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.", +"id": "FirstAndThirdPartyAudience", +"properties": { +"activeDisplayAudienceSize": { +"description": "Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"appId": { +"description": "The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`", +"type": "string" +}, +"audienceSource": { +"description": "Output only. The source of the audience.", +"enum": [ +"AUDIENCE_SOURCE_UNSPECIFIED", +"DISPLAY_VIDEO_360", +"CAMPAIGN_MANAGER", +"AD_MANAGER", +"SEARCH_ADS_360", +"YOUTUBE", +"ADS_DATA_HUB" +], +"enumDescriptions": [ +"Default value when audience source is not specified or is unknown.", +"Originated from Display & Video 360.", +"Originated from Campaign Manager 360.", +"Originated from Google Ad Manager.", +"Originated from Search Ads 360.", +"Originated from Youtube.", +"Originated from Ads Data Hub." +], +"readOnly": true, +"type": "string" +}, +"audienceType": { +"description": "The type of the audience.", +"enum": [ +"AUDIENCE_TYPE_UNSPECIFIED", +"CUSTOMER_MATCH_CONTACT_INFO", +"CUSTOMER_MATCH_DEVICE_ID", +"CUSTOMER_MATCH_USER_ID", +"ACTIVITY_BASED", +"FREQUENCY_CAP", +"TAG_BASED", +"YOUTUBE_USERS", +"LICENSED" +], +"enumDeprecated": [ +false, +false, +false, +false, +true, +true, +false, +false, +false +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Audience was generated through matching customers to known contact information.", +"Audience was generated through matching customers to known Mobile device IDs.", +"Audience was generated through matching customers to known User IDs.", +"Audience was created based on campaign activity.", +"Audience was created based on excluding the number of impressions they were served.", +"Audience was created based on custom variables attached to pixel.", +"Audience was created based on past interactions with videos, YouTube ads, or YouTube channel.", +"Subtype of third party audience type." +], +"type": "string" +}, +"contactInfoList": { +"$ref": "ContactInfoList", +"description": "Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`" +}, +"description": { +"description": "The user-provided description of the audience. Only applicable to first party audiences.", +"type": "string" +}, +"displayAudienceSize": { +"description": "Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayDesktopAudienceSize": { +"description": "Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayMobileAppAudienceSize": { +"description": "Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayMobileWebAudienceSize": { +"description": "Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The display name of the first and third party audience.", +"type": "string" +}, +"firstAndThirdPartyAudienceId": { +"description": "Output only. The unique ID of the first and third party audience. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"firstAndThirdPartyAudienceType": { +"description": "Whether the audience is a first or third party audience.", +"enum": [ +"FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED", +"FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY", +"FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Audience that is created via usage of client data.", +"Audience that is provided by Third Party data providers." +], +"type": "string" +}, +"gmailAudienceSize": { +"description": "Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"membershipDurationDays": { +"description": "The duration in days that an entry remains in the audience after the qualifying event. The set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`", +"format": "int64", +"type": "string" +}, +"mobileDeviceIdList": { +"$ref": "MobileDeviceIdList", +"description": "Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`" +}, +"name": { +"description": "Output only. The resource name of the first and third party audience.", +"readOnly": true, +"type": "string" +}, +"youtubeAudienceSize": { +"description": "Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FirstAndThirdPartyAudienceGroup": { +"description": "Details of first and third party audience group. All first and third party audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "FirstAndThirdPartyAudienceGroup", +"properties": { +"settings": { +"description": "Required. All first and third party audience targeting settings in first and third party audience group. Repeated settings with the same id are not allowed.", +"items": { +"$ref": "FirstAndThirdPartyAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"FirstAndThirdPartyAudienceTargetingSetting": { +"description": "Details of first and third party audience targeting setting.", +"id": "FirstAndThirdPartyAudienceTargetingSetting", +"properties": { +"firstAndThirdPartyAudienceId": { +"description": "Required. First and third party audience id of the first and third party audience targeting setting. This id is first_and_third_party_audience_id.", +"format": "int64", +"type": "string" +}, +"recency": { +"description": "Optional. The recency of the first and third party audience targeting setting. Only applicable to first party audiences, otherwise will be ignored. For more info, refer to https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be used.", +"enum": [ +"RECENCY_NO_LIMIT", +"RECENCY_1_MINUTE", +"RECENCY_5_MINUTES", +"RECENCY_10_MINUTES", +"RECENCY_15_MINUTES", +"RECENCY_30_MINUTES", +"RECENCY_1_HOUR", +"RECENCY_2_HOURS", +"RECENCY_3_HOURS", +"RECENCY_6_HOURS", +"RECENCY_12_HOURS", +"RECENCY_1_DAY", +"RECENCY_2_DAYS", +"RECENCY_3_DAYS", +"RECENCY_5_DAYS", +"RECENCY_7_DAYS", +"RECENCY_10_DAYS", +"RECENCY_14_DAYS", +"RECENCY_15_DAYS", +"RECENCY_21_DAYS", +"RECENCY_28_DAYS", +"RECENCY_30_DAYS", +"RECENCY_40_DAYS", +"RECENCY_45_DAYS", +"RECENCY_60_DAYS", +"RECENCY_90_DAYS", +"RECENCY_120_DAYS", +"RECENCY_180_DAYS", +"RECENCY_270_DAYS", +"RECENCY_365_DAYS" +], +"enumDescriptions": [ +"No limit of recency.", +"Recency is 1 minute.", +"Recency is 5 minutes.", +"Recency is 10 minutes.", +"Recency is 15 minutes.", +"Recency is 30 minutes.", +"Recency is 1 hour.", +"Recency is 2 hours.", +"Recency is 3 hours.", +"Recency is 6 hours.", +"Recency is 12 hours.", +"Recency is 1 day.", +"Recency is 2 days.", +"Recency is 3 days.", +"Recency is 5 days.", +"Recency is 7 days.", +"Recency is 10 days.", +"Recency is 14 days.", +"Recency is 15 days.", +"Recency is 21 days.", +"Recency is 28 days.", +"Recency is 30 days.", +"Recency is 40 days.", +"Recency is 45 days.", +"Recency is 60 days.", +"Recency is 90 days.", +"Recency is 120 days.", +"Recency is 180 days.", +"Recency is 270 days.", +"Recency is 365 days." +], +"type": "string" +} +}, +"type": "object" +}, +"FixedBidStrategy": { +"description": "A strategy that uses a fixed bidding price.", +"id": "FixedBidStrategy", +"properties": { +"bidAmountMicros": { +"description": "The fixed bid amount, in micros of the advertiser's currency. For insertion order entity, bid_amount_micros should be set as 0. For line item entity, bid_amount_micros must be greater than or equal to billable unit of the given currency and smaller than or equal to the upper limit 1000000000. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FloodlightActivity": { +"description": "A single Floodlight activity.", +"id": "FloodlightActivity", +"properties": { +"advertiserIds": { +"description": "Output only. IDs of the advertisers that have access to the parent Floodlight group. Only advertisers under the provided partner ID will be listed in this field.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the Floodlight activity.", +"type": "string" +}, +"floodlightActivityId": { +"description": "Output only. The unique ID of the Floodlight activity. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"floodlightGroupId": { +"description": "Required. Immutable. The ID of the parent Floodlight group.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the Floodlight activity.", +"readOnly": true, +"type": "string" +}, +"remarketingConfigs": { +"description": "Output only. A list of configuration objects designating whether remarketing for this Floodlight Activity is enabled and available for a specifc advertiser. If enabled, this Floodlight Activity generates a remarketing user list that is able to be used in targeting under the advertiser.", +"items": { +"$ref": "RemarketingConfig" +}, +"readOnly": true, +"type": "array" +}, +"servingStatus": { +"description": "Optional. Whether the Floodlight activity is served.", +"enum": [ +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_UNSPECIFIED", +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_ENABLED", +"FLOODLIGHT_ACTIVITY_SERVING_STATUS_DISABLED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Enabled.", +"Disabled." +], +"type": "string" +}, +"sslRequired": { +"description": "Output only. Whether tags are required to be compliant.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"FloodlightGroup": { +"description": "A single Floodlight group.", +"id": "FloodlightGroup", +"properties": { +"activeViewConfig": { +"$ref": "ActiveViewVideoViewabilityMetricConfig", +"description": "The Active View video viewability metric configuration for the Floodlight group." +}, +"customVariables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "User-defined custom variables owned by the Floodlight group. Use custom Floodlight variables to create reporting data that is tailored to your unique business needs. Custom Floodlight variables use the keys `U1=`, `U2=`, and so on, and can take any values that you choose to pass to them. You can use them to track virtually any type of data that you collect about your customers, such as the genre of movie that a customer purchases, the country to which the item is shipped, and so on. Custom Floodlight variables may not be used to pass any data that could be used or recognized as personally identifiable information (PII). Example: `custom_variables { fields { \"U1\": value { number_value: 123.4 }, \"U2\": value { string_value: \"MyVariable2\" }, \"U3\": value { string_value: \"MyVariable3\" } } }` Acceptable values for keys are \"U1\" through \"U100\", inclusive. String values must be less than 64 characters long, and cannot contain the following characters: `\"<>`.", +"type": "object" +}, +"displayName": { +"description": "Required. The display name of the Floodlight group.", +"type": "string" +}, +"floodlightGroupId": { +"description": "Output only. The unique ID of the Floodlight group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lookbackWindow": { +"$ref": "LookbackWindow", +"description": "Required. The lookback window for the Floodlight group. Both click_days and impression_days are required. Acceptable values for both are `0` to `90`, inclusive." +}, +"name": { +"description": "Output only. The resource name of the Floodlight group.", +"readOnly": true, +"type": "string" +}, +"webTagType": { +"description": "Required. The web tag type enabled for the Floodlight group.", +"enum": [ +"WEB_TAG_TYPE_UNSPECIFIED", +"WEB_TAG_TYPE_NONE", +"WEB_TAG_TYPE_IMAGE", +"WEB_TAG_TYPE_DYNAMIC" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"No tag type.", +"Image tag.", +"Dynamic tag." +], +"type": "string" +} +}, +"type": "object" +}, +"FrequencyCap": { +"description": "Settings that control the number of times a user may be shown with the same ad during a given time period.", +"id": "FrequencyCap", +"properties": { +"maxImpressions": { +"description": "The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when unlimited is `false` and max_views is not set.", +"format": "int32", +"type": "integer" +}, +"maxViews": { +"description": "Optional. The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0. Only applicable to YouTube and Partners resources. Required when unlimited is `false` and max_impressions is not set.", +"format": "int32", +"type": "integer" +}, +"timeUnit": { +"description": "The time unit in which the frequency cap will be applied. Required when unlimited is `false`.", +"enum": [ +"TIME_UNIT_UNSPECIFIED", +"TIME_UNIT_LIFETIME", +"TIME_UNIT_MONTHS", +"TIME_UNIT_WEEKS", +"TIME_UNIT_DAYS", +"TIME_UNIT_HOURS", +"TIME_UNIT_MINUTES" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Time unit value is not specified or is unknown in this version.", +"The frequency cap will be applied to the whole life time of the line item.", +"The frequency cap will be applied to a number of months.", +"The frequency cap will be applied to a number of weeks.", +"The frequency cap will be applied to a number of days.", +"The frequency cap will be applied to a number of hours.", +"The frequency cap will be applied to a number of minutes." +], +"type": "string" +}, +"timeUnitCount": { +"description": "The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_MONTHS` - must be 1 * `TIME_UNIT_WEEKS` - must be between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59", +"format": "int32", +"type": "integer" +}, +"unlimited": { +"description": "Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency cap fields are not applicable.", +"type": "boolean" +} +}, +"type": "object" +}, +"GenderAssignedTargetingOptionDetails": { +"description": "Details for assigned gender targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", +"id": "GenderAssignedTargetingOptionDetails", +"properties": { +"gender": { +"description": "Required. The gender of the audience.", +"enum": [ +"GENDER_UNSPECIFIED", +"GENDER_MALE", +"GENDER_FEMALE", +"GENDER_UNKNOWN" +], +"enumDescriptions": [ +"Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", +"The audience gender is male.", +"The audience gender is female.", +"The audience gender is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"GenderTargetingOptionDetails": { +"description": "Represents a targetable gender. This will be populated in the gender_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_GENDER`.", +"id": "GenderTargetingOptionDetails", +"properties": { +"gender": { +"description": "Output only. The gender of an audience.", +"enum": [ +"GENDER_UNSPECIFIED", +"GENDER_MALE", +"GENDER_FEMALE", +"GENDER_UNKNOWN" +], +"enumDescriptions": [ +"Default value when gender is not specified in this version. This enum is a place holder for default value and does not represent a real gender option.", +"The audience gender is male.", +"The audience gender is female.", +"The audience gender is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionAssignedTargetingOptionDetails": { +"description": "Details for assigned geographic region targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`.", +"id": "GeoRegionAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of geographic region targeting.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`.", +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionSearchTerms": { +"description": "Search terms for geo region targeting options.", +"id": "GeoRegionSearchTerms", +"properties": { +"geoRegionQuery": { +"description": "The search query for the desired geo region. The query can be a prefix, e.g. \"New Yor\", \"Seattle\", \"USA\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"GeoRegionTargetingOptionDetails": { +"description": "Represents a targetable geographic region. This will be populated in the geo_region_details field when targeting_type is `TARGETING_TYPE_GEO_REGION`.", +"id": "GeoRegionTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the geographic region (e.g., \"Ontario, Canada\").", +"readOnly": true, +"type": "string" +}, +"geoRegionType": { +"description": "Output only. The type of geographic region targeting.", +"enum": [ +"GEO_REGION_TYPE_UNKNOWN", +"GEO_REGION_TYPE_OTHER", +"GEO_REGION_TYPE_COUNTRY", +"GEO_REGION_TYPE_REGION", +"GEO_REGION_TYPE_TERRITORY", +"GEO_REGION_TYPE_PROVINCE", +"GEO_REGION_TYPE_STATE", +"GEO_REGION_TYPE_PREFECTURE", +"GEO_REGION_TYPE_GOVERNORATE", +"GEO_REGION_TYPE_CANTON", +"GEO_REGION_TYPE_UNION_TERRITORY", +"GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY", +"GEO_REGION_TYPE_DMA_REGION", +"GEO_REGION_TYPE_METRO", +"GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT", +"GEO_REGION_TYPE_COUNTY", +"GEO_REGION_TYPE_MUNICIPALITY", +"GEO_REGION_TYPE_CITY", +"GEO_REGION_TYPE_POSTAL_CODE", +"GEO_REGION_TYPE_DEPARTMENT", +"GEO_REGION_TYPE_AIRPORT", +"GEO_REGION_TYPE_TV_REGION", +"GEO_REGION_TYPE_OKRUG", +"GEO_REGION_TYPE_BOROUGH", +"GEO_REGION_TYPE_CITY_REGION", +"GEO_REGION_TYPE_ARRONDISSEMENT", +"GEO_REGION_TYPE_NEIGHBORHOOD", +"GEO_REGION_TYPE_UNIVERSITY", +"GEO_REGION_TYPE_DISTRICT", +"GEO_REGION_TYPE_NATIONAL_PARK", +"GEO_REGION_TYPE_BARRIO", +"GEO_REGION_TYPE_SUB_WARD", +"GEO_REGION_TYPE_MUNICIPALITY_DISTRICT", +"GEO_REGION_TYPE_SUB_DISTRICT", +"GEO_REGION_TYPE_QUARTER", +"GEO_REGION_TYPE_DIVISION", +"GEO_REGION_TYPE_COMMUNE", +"GEO_REGION_TYPE_COLLOQUIAL_AREA" +], +"enumDescriptions": [ +"The geographic region type is unknown.", +"The geographic region type is other.", +"The geographic region is a country.", +"The geographic region type is region.", +"The geographic region is a territory.", +"The geographic region is a province.", +"The geographic region is a state.", +"The geographic region is a prefecture.", +"The geographic region is a governorate.", +"The geographic region is a canton.", +"The geographic region is a union territory.", +"The geographic region is an autonomous community.", +"The geographic region is a designated market area (DMA) region.", +"The geographic region type is metro.", +"The geographic region is a congressional district.", +"The geographic region is a county.", +"The geographic region is a municipality.", +"The geographic region is a city.", +"The geographic region targeting type is postal code.", +"The geographic region targeting type is department.", +"The geographic region is an airport.", +"The geographic region is a TV region.", +"The geographic region is an okrug.", +"The geographic region is a borough.", +"The geographic region is a city region.", +"The geographic region is an arrondissement.", +"The geographic region is a neighborhood.", +"The geographic region is a university.", +"The geographic region is a district.", +"The geographic region is a national park.", +"The geographic region is a barrio.", +"The geographic region is a sub ward.", +"The geographic region is a municipality district.", +"The geographic region is a sub district.", +"The geographic region is a quarter.", +"The geographic region is a division.", +"The geographic region is a commune.", +"The geographic region is a colloquial area." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAudience": { +"description": "Describes a Google audience resource. Includes Google audience lists.", +"id": "GoogleAudience", +"properties": { +"displayName": { +"description": "Output only. The display name of the Google audience. .", +"readOnly": true, +"type": "string" +}, +"googleAudienceId": { +"description": "Output only. The unique ID of the Google audience. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"googleAudienceType": { +"description": "Output only. The type of Google audience. .", +"enum": [ +"GOOGLE_AUDIENCE_TYPE_UNSPECIFIED", +"GOOGLE_AUDIENCE_TYPE_AFFINITY", +"GOOGLE_AUDIENCE_TYPE_IN_MARKET", +"GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS", +"GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES", +"GOOGLE_AUDIENCE_TYPE_LIFE_EVENT", +"GOOGLE_AUDIENCE_TYPE_EXTENDED_DEMOGRAPHIC" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +false, +false +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"Affinity type Google audience.", +"In-Market type Google audience.", +"Installed-Apps type Google audience.", +"New-Mobile-Devices type Google audience.", +"Life-Event type Google audience.", +"Extended-Demographic type Google audience." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the google audience.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleAudienceGroup": { +"description": "Details of Google audience group. All Google audience targeting settings are logically \u2018OR\u2019 of each other.", +"id": "GoogleAudienceGroup", +"properties": { +"settings": { +"description": "Required. All Google audience targeting settings in Google audience group. Repeated settings with the same id will be ignored.", +"items": { +"$ref": "GoogleAudienceTargetingSetting" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleAudienceTargetingSetting": { +"description": "Details of Google audience targeting setting.", +"id": "GoogleAudienceTargetingSetting", +"properties": { +"googleAudienceId": { +"description": "Required. Google audience id of the Google audience targeting setting. This id is google_audience_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleBytestreamMedia": { +"description": "Media resource.", +"id": "GoogleBytestreamMedia", +"properties": { +"resourceName": { +"description": "Name of the media resource.", +"type": "string" +} +}, +"type": "object" +}, +"GuaranteedOrder": { +"description": "A guaranteed order. Guaranteed orders are parent entity of guaranteed inventory sources. When creating a guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source.", +"id": "GuaranteedOrder", +"properties": { +"defaultAdvertiserId": { +"description": "Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. Otherwise, there is no default advertiser.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"defaultCampaignId": { +"description": "The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"exchange": { +"description": "Required. Immutable. The exchange where the guaranteed order originated.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"guaranteedOrderId": { +"description": "Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.", +"readOnly": true, +"type": "string" +}, +"legacyGuaranteedOrderId": { +"description": "Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used in SDF and UI.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the guaranteed order.", +"readOnly": true, +"type": "string" +}, +"publisherName": { +"description": "Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"readAccessInherited": { +"description": "Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable if read_write_partner_id is set. If True, overrides read_advertiser_ids.", +"type": "boolean" +}, +"readAdvertiserIds": { +"description": "The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to read_write_partner_id or the same partner as read_write_advertiser_id.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"readWriteAdvertiserId": { +"description": "The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order.", +"format": "int64", +"type": "string" +}, +"readWritePartnerId": { +"description": "The partner with read/write access to the guaranteed order.", +"format": "int64", +"type": "string" +}, +"status": { +"$ref": "GuaranteedOrderStatus", +"description": "The status settings of the guaranteed order." +}, +"updateTime": { +"description": "Output only. The timestamp when the guaranteed order was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuaranteedOrderStatus": { +"description": "The status settings of the guaranteed order.", +"id": "GuaranteedOrderStatus", +"properties": { +"configStatus": { +"description": "Output only. The configuration status of the guaranteed order. Acceptable values are `PENDING` and `COMPLETED`. A guaranteed order must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI.", +"enum": [ +"GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED", +"PENDING", +"COMPLETED" +], +"enumDescriptions": [ +"The approval status is not specified or is unknown in this version.", +"The beginning state of a guaranteed order. The guaranteed order in this state needs to be configured before it can serve.", +"The state after the buyer configures a guaranteed order." +], +"readOnly": true, +"type": "string" +}, +"entityPauseReason": { +"description": "The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", +"type": "string" +}, +"entityStatus": { +"description": "Whether or not the guaranteed order is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +} +}, +"type": "object" +}, +"HouseholdIncomeAssignedTargetingOptionDetails": { +"description": "Details for assigned household income targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", +"id": "HouseholdIncomeAssignedTargetingOptionDetails", +"properties": { +"householdIncome": { +"description": "Required. The household income of the audience.", +"enum": [ +"HOUSEHOLD_INCOME_UNSPECIFIED", +"HOUSEHOLD_INCOME_UNKNOWN", +"HOUSEHOLD_INCOME_LOWER_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", +"HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", +"HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", +"HOUSEHOLD_INCOME_TOP_10_PERCENT" +], +"enumDescriptions": [ +"Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", +"The household income of the audience is unknown.", +"The audience is in the lower 50% of U.S. household incomes.", +"The audience is in the top 41-50% of U.S. household incomes.", +"The audience is in the top 31-40% of U.S. household incomes.", +"The audience is in the top 21-30% of U.S. household incomes.", +"The audience is in the top 11-20% of U.S. household incomes.", +"The audience is in the top 10% of U.S. household incomes." +], +"type": "string" +} +}, +"type": "object" +}, +"HouseholdIncomeTargetingOptionDetails": { +"description": "Represents a targetable household income. This will be populated in the household_income_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.", +"id": "HouseholdIncomeTargetingOptionDetails", +"properties": { +"householdIncome": { +"description": "Output only. The household income of an audience.", +"enum": [ +"HOUSEHOLD_INCOME_UNSPECIFIED", +"HOUSEHOLD_INCOME_UNKNOWN", +"HOUSEHOLD_INCOME_LOWER_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT", +"HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT", +"HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT", +"HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT", +"HOUSEHOLD_INCOME_TOP_10_PERCENT" +], +"enumDescriptions": [ +"Default value when household income is not specified in this version. This enum is a placeholder for default value and does not represent a real household income option.", +"The household income of the audience is unknown.", +"The audience is in the lower 50% of U.S. household incomes.", +"The audience is in the top 41-50% of U.S. household incomes.", +"The audience is in the top 31-40% of U.S. household incomes.", +"The audience is in the top 21-30% of U.S. household incomes.", +"The audience is in the top 11-20% of U.S. household incomes.", +"The audience is in the top 10% of U.S. household incomes." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"IdFilter": { +"description": "A filtering option that filters entities by their entity IDs.", +"id": "IdFilter", +"properties": { +"adGroupAdIds": { +"description": "YouTube Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"adGroupIds": { +"description": "YouTube Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"adGroupQaIds": { +"description": "Optional. YouTube Ad Groups, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"campaignIds": { +"description": "Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"insertionOrderIds": { +"description": "Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"lineItemIds": { +"description": "Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"lineItemQaIds": { +"description": "Optional. Line Items, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"mediaProductIds": { +"description": "Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImageAsset": { +"description": "Meta data of an image asset.", +"id": "ImageAsset", +"properties": { +"fileSize": { +"description": "Output only. File size of the image asset in bytes.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"fullSize": { +"$ref": "Dimensions", +"description": "Output only. Metadata for this image at its original size.", +"readOnly": true +}, +"mimeType": { +"description": "Output only. MIME type of the image asset.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InStreamAd": { +"description": "Details for an in-stream ad.", +"id": "InStreamAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +} +}, +"type": "object" +}, +"InsertionOrder": { +"description": "A single insertion order.", +"id": "InsertionOrder", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the insertion order belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Optional. The bidding strategy of the insertion order. By default, fixed_bid is set. If the budget field automationType is set to `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` or `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET`, the insertion order will impose this bidding strategy on its line items. If an imposed bidding strategy is not compatible with a line item's enableOptimizedTargeting setting, the optimized targeting setting will be updated." +}, +"budget": { +"$ref": "InsertionOrderBudget", +"description": "Required. The budget allocation settings of the insertion order." +}, +"campaignId": { +"description": "Required. Immutable. The unique ID of the campaign that the insertion order belongs to.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For CreateInsertionOrder method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion order cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * An insertion order cannot be set to `ENTITY_STATUS_ACTIVE` if its parent campaign is not active.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The frequency capping setting of the insertion order." +}, +"insertionOrderId": { +"description": "Output only. The unique ID of the insertion order. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"insertionOrderType": { +"description": "Optional. The type of insertion order. If this field is unspecified in creation, the value defaults to `RTB`.", +"enum": [ +"INSERTION_ORDER_TYPE_UNSPECIFIED", +"RTB", +"OVER_THE_TOP" +], +"enumDescriptions": [ +"Insertion order type is not specified or is unknown.", +"Real-time bidding.", +"Over-the-top." +], +"type": "string" +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Optional. Additional integration details of the insertion order." +}, +"kpi": { +"$ref": "Kpi", +"description": "Required. The key performance indicator (KPI) of the insertion order. This is represented as referred to as the \"Goal\" in the Display & Video 360 interface." +}, +"name": { +"description": "Output only. The resource name of the insertion order.", +"readOnly": true, +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. Required. The optimization objective of the insertion order.", +"enum": [ +"OPTIMIZATION_OBJECTIVE_UNSPECIFIED", +"CONVERSION", +"CLICK", +"BRAND_AWARENESS", +"CUSTOM", +"NO_OBJECTIVE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Prioritize impressions that increase sales and conversions.", +"Prioritize impressions that increase website traffic, apps, app stores.", +"Prioritize impressions of specific quality.", +"Objective is defined by the assigned custom bidding algorithm.", +"Objective is not defined. Any KPI or bidding strategy can be used." +], +"type": "string" +}, +"pacing": { +"$ref": "Pacing", +"description": "Required. The budget spending speed setting of the insertion order. pacing_type `PACING_TYPE_ASAP` is not compatible with pacing_period `PACING_PERIOD_FLIGHT`." +}, +"partnerCosts": { +"description": "Optional. The partner costs associated with the insertion order. If absent or empty in CreateInsertionOrder method, the newly created insertion order will inherit partner costs from the partner settings.", +"items": { +"$ref": "PartnerCost" +}, +"type": "array" +}, +"reservationType": { +"description": "Output only. The reservation type of the insertion order.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"RESERVATION_TYPE_NOT_GUARANTEED", +"RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", +"RESERVATION_TYPE_TAG_GUARANTEED", +"RESERVATION_TYPE_PETRA_VIRAL", +"RESERVATION_TYPE_INSTANT_RESERVE" +], +"enumDescriptions": [ +"Reservation type value is not specified or is unknown in this version.", +"Not created through a guaranteed inventory source.", +"Created through a programmatic guaranteed inventory source.", +"Created through a tag guaranteed inventory source.", +"Created through a Petra inventory source. Only applicable to YouTube and Partners line items.", +"Created with an instant quote. Only applicable to YouTube and partners line items." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the insertion order was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InsertionOrderBudget": { +"description": "Settings that control how insertion order budget is allocated.", +"id": "InsertionOrderBudget", +"properties": { +"automationType": { +"description": "Optional. The type of automation used to manage bid and budget for the insertion order. If this field is unspecified in creation, the value defaults to `INSERTION_ORDER_AUTOMATION_TYPE_NONE`.", +"enum": [ +"INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED", +"INSERTION_ORDER_AUTOMATION_TYPE_BUDGET", +"INSERTION_ORDER_AUTOMATION_TYPE_NONE", +"INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET" +], +"enumDescriptions": [ +"Insertion order automation option is not specified or is unknown in this version.", +"Automatic budget allocation. Allow the system to automatically shift budget to owning line items to optimize performance defined by kpi. No automation on bid settings.", +"No automation of bid or budget on insertion order level. Bid and budget must be manually configured at the line item level.", +"Allow the system to automatically adjust bids and shift budget to owning line items to optimize performance defined by kpi." +], +"type": "string" +}, +"budgetSegments": { +"description": "Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period of time an insertion order is running.", +"items": { +"$ref": "InsertionOrderBudgetSegment" +}, +"type": "array" +}, +"budgetUnit": { +"description": "Required. Immutable. The budget unit specifies whether the budget is currency based or impression based.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"type": "string" +} +}, +"type": "object" +}, +"InsertionOrderBudgetSegment": { +"description": "Settings that control the budget of a single budget segment.", +"id": "InsertionOrderBudgetSegment", +"properties": { +"budgetAmountMicros": { +"description": "Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"campaignBudgetId": { +"description": "Optional. The budget_id of the campaign budget that this insertion order budget segment is a part of.", +"format": "int64", +"type": "string" +}, +"dateRange": { +"$ref": "DateRange", +"description": "Required. The start and end date settings of the budget segment. They are resolved relative to the parent advertiser's time zone. * When creating a new budget segment, both `start_date` and `end_date` must be in the future. * An existing budget segment with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." +}, +"description": { +"description": "Optional. The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded.", +"type": "string" +} +}, +"type": "object" +}, +"IntegralAdScience": { +"description": "Details of Integral Ad Science settings.", +"id": "IntegralAdScience", +"properties": { +"customSegmentId": { +"description": "The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999` or `3000001` and `3999999`, inclusive.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"displayViewability": { +"description": "Display Viewability section (applicable to display line items only).", +"enum": [ +"PERFORMANCE_VIEWABILITY_UNSPECIFIED", +"PERFORMANCE_VIEWABILITY_40", +"PERFORMANCE_VIEWABILITY_50", +"PERFORMANCE_VIEWABILITY_60", +"PERFORMANCE_VIEWABILITY_70" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any display viewability options.", +"Target 40% Viewability or Higher.", +"Target 50% Viewability or Higher.", +"Target 60% Viewability or Higher.", +"Target 70% Viewability or Higher." +], +"type": "string" +}, +"excludeUnrateable": { +"description": "Brand Safety - **Unrateable**.", +"type": "boolean" +}, +"excludedAdFraudRisk": { +"description": "Ad Fraud settings.", +"enum": [ +"SUSPICIOUS_ACTIVITY_UNSPECIFIED", +"SUSPICIOUS_ACTIVITY_HR", +"SUSPICIOUS_ACTIVITY_HMR", +"SUSPICIOUS_ACTIVITY_FD" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any ad fraud prevention options.", +"Ad Fraud - Exclude High Risk.", +"Ad Fraud - Exclude High and Moderate Risk.", +"Ad Fraud - Exclude Fraudulent Device." +], +"type": "string" +}, +"excludedAdultRisk": { +"description": "Brand Safety - **Adult content**.", +"enum": [ +"ADULT_UNSPECIFIED", +"ADULT_HR", +"ADULT_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any adult options.", +"Adult - Exclude High Risk.", +"Adult - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedAlcoholRisk": { +"description": "Brand Safety - **Alcohol**.", +"enum": [ +"ALCOHOL_UNSPECIFIED", +"ALCOHOL_HR", +"ALCOHOL_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any alcohol options.", +"Alcohol - Exclude High Risk.", +"Alcohol - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedDrugsRisk": { +"description": "Brand Safety - **Drugs**.", +"enum": [ +"DRUGS_UNSPECIFIED", +"DRUGS_HR", +"DRUGS_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any drugs options.", +"Drugs - Exclude High Risk.", +"Drugs - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedGamblingRisk": { +"description": "Brand Safety - **Gambling**.", +"enum": [ +"GAMBLING_UNSPECIFIED", +"GAMBLING_HR", +"GAMBLING_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any gambling options.", +"Gambling - Exclude High Risk.", +"Gambling - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedHateSpeechRisk": { +"description": "Brand Safety - **Hate speech**.", +"enum": [ +"HATE_SPEECH_UNSPECIFIED", +"HATE_SPEECH_HR", +"HATE_SPEECH_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any hate speech options.", +"Hate Speech - Exclude High Risk.", +"Hate Speech - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedIllegalDownloadsRisk": { +"description": "Brand Safety - **Illegal downloads**.", +"enum": [ +"ILLEGAL_DOWNLOADS_UNSPECIFIED", +"ILLEGAL_DOWNLOADS_HR", +"ILLEGAL_DOWNLOADS_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any illegal downloads options.", +"Illegal Downloads - Exclude High Risk.", +"Illegal Downloads - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedOffensiveLanguageRisk": { +"description": "Brand Safety - **Offensive language**.", +"enum": [ +"OFFENSIVE_LANGUAGE_UNSPECIFIED", +"OFFENSIVE_LANGUAGE_HR", +"OFFENSIVE_LANGUAGE_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any language options.", +"Offensive Language - Exclude High Risk.", +"Offensive Language - Exclude High and Moderate Risk." +], +"type": "string" +}, +"excludedViolenceRisk": { +"description": "Brand Safety - **Violence**.", +"enum": [ +"VIOLENCE_UNSPECIFIED", +"VIOLENCE_HR", +"VIOLENCE_HMR" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any violence options.", +"Violence - Exclude High Risk.", +"Violence - Exclude High and Moderate Risk." +], +"type": "string" +}, +"qualitySyncCustomSegmentId": { +"description": "Optional. The quality sync custom segment ID provided by Integral Ad Science. The ID must be between `3000000` and `4999999`, inclusive.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"traqScoreOption": { +"description": "True advertising quality (applicable to Display line items only).", +"enum": [ +"TRAQ_UNSPECIFIED", +"TRAQ_250", +"TRAQ_500", +"TRAQ_600", +"TRAQ_700", +"TRAQ_750", +"TRAQ_875", +"TRAQ_1000" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any true advertising quality scores.", +"TRAQ score 250-1000.", +"TRAQ score 500-1000.", +"TRAQ score 600-1000.", +"TRAQ score 700-1000.", +"TRAQ score 750-1000.", +"TRAQ score 875-1000.", +"TRAQ score 1000." +], +"type": "string" +}, +"videoViewability": { +"description": "Video Viewability Section (applicable to video line items only).", +"enum": [ +"VIDEO_VIEWABILITY_UNSPECIFIED", +"VIDEO_VIEWABILITY_40", +"VIDEO_VIEWABILITY_50", +"VIDEO_VIEWABILITY_60", +"VIDEO_VIEWABILITY_70" +], +"enumDescriptions": [ +"This enum is only a placeholder and it doesn't specify any video viewability options.", +"40%+ in view (IAB video viewability standard).", +"50%+ in view (IAB video viewability standard).", +"60%+ in view (IAB video viewability standard).", +"70%+ in view (IAB video viewability standard)." +], +"type": "string" +} +}, +"type": "object" +}, +"IntegrationDetails": { +"description": "Integration details of an entry.", +"id": "IntegrationDetails", +"properties": { +"details": { +"description": "Additional details of the entry in string format. Must be UTF-8 encoded with a length of no more than 1000 characters.", +"type": "string" +}, +"integrationCode": { +"description": "An external identifier to be associated with the entry. The integration code will show up together with the entry in many places in the system, for example, reporting. Must be UTF-8 encoded with a length of no more than 500 characters.", +"type": "string" +} +}, +"type": "object" +}, +"InventorySource": { +"description": "An inventory source. Next ID: 22", +"id": "InventorySource", +"properties": { +"commitment": { +"description": "Whether the inventory source has a guaranteed or non-guaranteed delivery.", +"enum": [ +"INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED", +"INVENTORY_SOURCE_COMMITMENT_GUARANTEED", +"INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED" +], +"enumDescriptions": [ +"The commitment is not specified or is unknown in this version.", +"The commitment is guaranteed delivery.", +"The commitment is non-guaranteed delivery." +], +"type": "string" +}, +"creativeConfigs": { +"description": "The creative requirements of the inventory source. Not applicable for auction packages.", +"items": { +"$ref": "CreativeConfig" +}, +"type": "array" +}, +"dealId": { +"description": "The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges.", +"type": "string" +}, +"deliveryMethod": { +"description": "The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable value is `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed inventory sources, acceptable values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.", +"enum": [ +"INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED", +"INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC", +"INVENTORY_SOURCE_DELIVERY_METHOD_TAG" +], +"enumDescriptions": [ +"The delivery method is not specified or is unknown in this version.", +"The delivery method is programmatic.", +"The delivery method is tag." +], +"type": "string" +}, +"displayName": { +"description": "The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"exchange": { +"description": "The exchange to which the inventory source belongs.", +"enum": [ +"EXCHANGE_UNSPECIFIED", +"EXCHANGE_GOOGLE_AD_MANAGER", +"EXCHANGE_APPNEXUS", +"EXCHANGE_BRIGHTROLL", +"EXCHANGE_ADFORM", +"EXCHANGE_ADMETA", +"EXCHANGE_ADMIXER", +"EXCHANGE_ADSMOGO", +"EXCHANGE_ADSWIZZ", +"EXCHANGE_BIDSWITCH", +"EXCHANGE_BRIGHTROLL_DISPLAY", +"EXCHANGE_CADREON", +"EXCHANGE_DAILYMOTION", +"EXCHANGE_FIVE", +"EXCHANGE_FLUCT", +"EXCHANGE_FREEWHEEL", +"EXCHANGE_GENIEE", +"EXCHANGE_GUMGUM", +"EXCHANGE_IMOBILE", +"EXCHANGE_IBILLBOARD", +"EXCHANGE_IMPROVE_DIGITAL", +"EXCHANGE_INDEX", +"EXCHANGE_KARGO", +"EXCHANGE_MICROAD", +"EXCHANGE_MOPUB", +"EXCHANGE_NEND", +"EXCHANGE_ONE_BY_AOL_DISPLAY", +"EXCHANGE_ONE_BY_AOL_MOBILE", +"EXCHANGE_ONE_BY_AOL_VIDEO", +"EXCHANGE_OOYALA", +"EXCHANGE_OPENX", +"EXCHANGE_PERMODO", +"EXCHANGE_PLATFORMONE", +"EXCHANGE_PLATFORMID", +"EXCHANGE_PUBMATIC", +"EXCHANGE_PULSEPOINT", +"EXCHANGE_REVENUEMAX", +"EXCHANGE_RUBICON", +"EXCHANGE_SMARTCLIP", +"EXCHANGE_SMARTRTB", +"EXCHANGE_SMARTSTREAMTV", +"EXCHANGE_SOVRN", +"EXCHANGE_SPOTXCHANGE", +"EXCHANGE_STROER", +"EXCHANGE_TEADSTV", +"EXCHANGE_TELARIA", +"EXCHANGE_TVN", +"EXCHANGE_UNITED", +"EXCHANGE_YIELDLAB", +"EXCHANGE_YIELDMO", +"EXCHANGE_UNRULYX", +"EXCHANGE_OPEN8", +"EXCHANGE_TRITON", +"EXCHANGE_TRIPLELIFT", +"EXCHANGE_TABOOLA", +"EXCHANGE_INMOBI", +"EXCHANGE_SMAATO", +"EXCHANGE_AJA", +"EXCHANGE_SUPERSHIP", +"EXCHANGE_NEXSTAR_DIGITAL", +"EXCHANGE_WAZE", +"EXCHANGE_SOUNDCAST", +"EXCHANGE_SHARETHROUGH", +"EXCHANGE_FYBER", +"EXCHANGE_RED_FOR_PUBLISHERS", +"EXCHANGE_MEDIANET", +"EXCHANGE_TAPJOY", +"EXCHANGE_VISTAR", +"EXCHANGE_DAX", +"EXCHANGE_JCD", +"EXCHANGE_PLACE_EXCHANGE", +"EXCHANGE_APPLOVIN", +"EXCHANGE_CONNATIX", +"EXCHANGE_RESET_DIGITAL", +"EXCHANGE_HIVESTACK", +"EXCHANGE_DRAX", +"EXCHANGE_APPLOVIN_GBID", +"EXCHANGE_FYBER_GBID", +"EXCHANGE_UNITY_GBID", +"EXCHANGE_CHARTBOOST_GBID", +"EXCHANGE_ADMOST_GBID", +"EXCHANGE_TOPON_GBID", +"EXCHANGE_NETFLIX", +"EXCHANGE_CORE", +"EXCHANGE_COMMERCE_GRID", +"EXCHANGE_SPOTIFY", +"EXCHANGE_TUBI", +"EXCHANGE_SNAP", +"EXCHANGE_CADENT" +], +"enumDescriptions": [ +"Exchange is not specified or is unknown in this version.", +"Google Ad Manager.", +"AppNexus.", +"BrightRoll Exchange for Video from Yahoo!.", +"Adform.", +"Admeta.", +"Admixer.", +"AdsMogo.", +"AdsWizz.", +"BidSwitch.", +"BrightRoll Exchange for Display from Yahoo!.", +"Cadreon.", +"Dailymotion.", +"Five.", +"Fluct.", +"FreeWheel SSP.", +"Geniee.", +"GumGum.", +"i-mobile.", +"iBILLBOARD.", +"Improve Digital.", +"Index Exchange.", +"Kargo.", +"MicroAd.", +"MoPub.", +"Nend.", +"ONE by AOL: Display Market Place.", +"ONE by AOL: Mobile.", +"ONE by AOL: Video.", +"Ooyala.", +"OpenX.", +"Permodo.", +"Platform One.", +"PlatformId.", +"PubMatic.", +"PulsePoint.", +"RevenueMax.", +"Rubicon.", +"SmartClip.", +"SmartRTB+.", +"SmartstreamTv.", +"Sovrn.", +"SpotXchange.", +"Str\u00f6er SSP.", +"TeadsTv.", +"Telaria.", +"TVN.", +"United.", +"Yieldlab.", +"Yieldmo.", +"UnrulyX.", +"Open8.", +"Triton.", +"TripleLift.", +"Taboola.", +"InMobi.", +"Smaato.", +"Aja.", +"Supership.", +"Nexstar Digital.", +"Waze.", +"SoundCast.", +"Sharethrough.", +"Fyber.", +"Red For Publishers.", +"Media.net.", +"Tapjoy.", +"Vistar.", +"DAX.", +"JCD.", +"Place Exchange.", +"AppLovin.", +"Connatix.", +"Reset Digital.", +"Hivestack.", +"Drax.", +"AppLovin MAX.", +"DT Fairbid.", +"Unity LevelPlay.", +"Chartboost Mediation.", +"AdMost.", +"TopOn.", +"Netflix.", +"Core.", +"Commerce Grid.", +"Spotify.", +"Tubi.", +"Snap.", +"Cadent." +], +"type": "string" +}, +"guaranteedOrderId": { +"description": "Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`.", +"type": "string" +}, +"inventorySourceId": { +"description": "Output only. The unique ID of the inventory source. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"inventorySourceProductType": { +"description": "Output only. The product type of the inventory source, denoting the way through which it sells inventory.", +"enum": [ +"INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED", +"PREFERRED_DEAL", +"PRIVATE_AUCTION", +"PROGRAMMATIC_GUARANTEED", +"TAG_GUARANTEED", +"YOUTUBE_RESERVE", +"INSTANT_RESERVE", +"GUARANTEED_PACKAGE", +"PROGRAMMATIC_TV", +"AUCTION_PACKAGE" +], +"enumDescriptions": [ +"The product type is not specified or is unknown in this version. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Preferred Deal.", +"The inventory source sells inventory through Private Auction.", +"The inventory source sells inventory through Programmatic Guaranteed.", +"The inventory source sells inventory through Tag Guaranteed.", +"The inventory source sells inventory through YouTube Reserve.", +"The inventory source sells inventory through Instant Reserve. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Guaranteed Package. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Programmtic TV. Modifying inventory sources of this product type are not supported via API.", +"The inventory source sells inventory through Auction Package. Modifying inventory sources of this product type are not supported via API." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceType": { +"description": "Denotes the type of the inventory source.", +"enum": [ +"INVENTORY_SOURCE_TYPE_UNSPECIFIED", +"INVENTORY_SOURCE_TYPE_PRIVATE", +"INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE" +], +"enumDescriptions": [ +"The inventory source type is not specified or is unknown in this version.", +"Private inventory source.", +"Auction package." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the inventory source.", +"readOnly": true, +"type": "string" +}, +"publisherName": { +"description": "The publisher/seller name of the inventory source.", +"type": "string" +}, +"rateDetails": { +"$ref": "RateDetails", +"description": "Required. The rate details of the inventory source." +}, +"readAdvertiserIds": { +"description": "Output only. The IDs of advertisers with read-only access to the inventory source.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"readPartnerIds": { +"description": "Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners in this field inherit read-only access to the inventory source.", +"items": { +"format": "int64", +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"readWriteAccessors": { +"$ref": "InventorySourceAccessors", +"description": "The partner or advertisers that have read/write access to the inventory source. Output only when commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the read/write accessors are inherited from the parent guaranteed order. Required when commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in this field, all advertisers under this partner will automatically have read-only access to the inventory source. These advertisers will not be included in read_advertiser_ids." +}, +"status": { +"$ref": "InventorySourceStatus", +"description": "The status settings of the inventory source." +}, +"timeRange": { +"$ref": "TimeRange", +"description": "The time range when this inventory source starts and stops serving." +}, +"updateTime": { +"description": "Output only. The timestamp when the inventory source was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceAccessors": { +"description": "The partner or advertisers with access to the inventory source.", +"id": "InventorySourceAccessors", +"properties": { +"advertisers": { +"$ref": "InventorySourceAccessorsAdvertiserAccessors", +"description": "The advertisers with access to the inventory source. All advertisers must belong to the same partner." +}, +"partner": { +"$ref": "InventorySourceAccessorsPartnerAccessor", +"description": "The partner with access to the inventory source." +} +}, +"type": "object" +}, +"InventorySourceAccessorsAdvertiserAccessors": { +"description": "The advertisers with access to the inventory source.", +"id": "InventorySourceAccessorsAdvertiserAccessors", +"properties": { +"advertiserIds": { +"description": "The IDs of the advertisers.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventorySourceAccessorsPartnerAccessor": { +"description": "The partner with access to the inventory source.", +"id": "InventorySourceAccessorsPartnerAccessor", +"properties": { +"partnerId": { +"description": "The ID of the partner.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceAssignedTargetingOptionDetails": { +"description": "Targeting details for inventory source. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`.", +"id": "InventorySourceAssignedTargetingOptionDetails", +"properties": { +"inventorySourceId": { +"description": "Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceDisplayCreativeConfig": { +"description": "The configuration for display creatives.", +"id": "InventorySourceDisplayCreativeConfig", +"properties": { +"creativeSize": { +"$ref": "Dimensions", +"description": "The size requirements for display creatives that can be assigned to the inventory source." +} +}, +"type": "object" +}, +"InventorySourceFilter": { +"description": "A filtering option for filtering on Inventory Source entities.", +"id": "InventorySourceFilter", +"properties": { +"inventorySourceIds": { +"description": "Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InventorySourceGroup": { +"description": "A collection of targetable inventory sources.", +"id": "InventorySourceGroup", +"properties": { +"displayName": { +"description": "Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"inventorySourceGroupId": { +"description": "Output only. The unique ID of the inventory source group. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the inventory source group.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceGroupAssignedTargetingOptionDetails": { +"description": "Targeting details for inventory source group. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.", +"id": "InventorySourceGroupAssignedTargetingOptionDetails", +"properties": { +"inventorySourceGroupId": { +"description": "Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an InventorySourceGroup resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceStatus": { +"description": "The status related settings of the inventory source.", +"id": "InventorySourceStatus", +"properties": { +"configStatus": { +"description": "Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve.", +"enum": [ +"INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED", +"INVENTORY_SOURCE_CONFIG_STATUS_PENDING", +"INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED" +], +"enumDescriptions": [ +"The approval status is not specified or is unknown in this version.", +"The beginning state of a guaranteed inventory source. The inventory source in this state needs to be configured.", +"The state after the buyer configures a guaranteed inventory source." +], +"readOnly": true, +"type": "string" +}, +"entityPauseReason": { +"description": "The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.", +"type": "string" +}, +"entityStatus": { +"description": "Whether or not the inventory source is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"sellerPauseReason": { +"description": "Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when seller_status is set to `ENTITY_STATUS_PAUSED`.", +"readOnly": true, +"type": "string" +}, +"sellerStatus": { +"description": "Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"InventorySourceVideoCreativeConfig": { +"description": "The configuration for video creatives.", +"id": "InventorySourceVideoCreativeConfig", +"properties": { +"duration": { +"description": "The duration requirements for the video creatives that can be assigned to the inventory source.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Invoice": { +"description": "A single invoice.", +"id": "Invoice", +"properties": { +"budgetInvoiceGroupingId": { +"description": "The budget grouping ID for this invoice. This field will only be set if the invoice level of the corresponding billing profile was set to \"Budget invoice grouping ID\".", +"type": "string" +}, +"budgetSummaries": { +"description": "The list of summarized information for each budget associated with this invoice. This field will only be set if the invoice detail level of the corresponding billing profile was set to \"Budget level PO\".", +"items": { +"$ref": "BudgetSummary" +}, +"type": "array" +}, +"correctedInvoiceId": { +"description": "The ID of the original invoice being adjusted by this invoice, if applicable. May appear on the invoice PDF as `Reference invoice number`. If replaced_invoice_ids is set, this field will be empty.", +"type": "string" +}, +"currencyCode": { +"description": "The currency used in the invoice in ISO 4217 format.", +"type": "string" +}, +"displayName": { +"description": "The display name of the invoice.", +"type": "string" +}, +"dueDate": { +"$ref": "Date", +"description": "The date when the invoice is due." +}, +"invoiceId": { +"description": "The unique ID of the invoice.", +"type": "string" +}, +"invoiceType": { +"description": "The type of invoice document.", +"enum": [ +"INVOICE_TYPE_UNSPECIFIED", +"INVOICE_TYPE_CREDIT", +"INVOICE_TYPE_INVOICE" +], +"enumDescriptions": [ +"Not specified or is unknown in this version.", +"The invoice has a negative amount.", +"The invoice has a positive amount." +], +"type": "string" +}, +"issueDate": { +"$ref": "Date", +"description": "The date when the invoice was issued." +}, +"name": { +"description": "The resource name of the invoice.", +"type": "string" +}, +"nonBudgetMicros": { +"description": "The total amount of costs or adjustments not tied to a particular budget, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"paymentsAccountId": { +"description": "The ID of the payments account the invoice belongs to. Appears on the invoice PDF as `Billing Account Number`.", +"type": "string" +}, +"paymentsProfileId": { +"description": "The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as `Billing ID`.", +"type": "string" +}, +"pdfUrl": { +"description": "The URL to download a PDF copy of the invoice. This URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an `Authorization: Bearer` HTTP header and be authorized for one of the following scopes: * `https://www.googleapis.com/auth/display-video-mediaplanning` * `https://www.googleapis.com/auth/display-video` The URL will be valid for 7 days after retrieval of this invoice object or until this invoice is retrieved again.", +"type": "string" +}, +"purchaseOrderNumber": { +"description": "Purchase order number associated with the invoice.", +"type": "string" +}, +"replacedInvoiceIds": { +"description": "The ID(s) of any originally issued invoice that is being cancelled by this invoice, if applicable. Multiple invoices may be listed if those invoices are being consolidated into a single invoice. May appear on invoice PDF as `Replaced invoice numbers`. If corrected_invoice_id is set, this field will be empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"serviceDateRange": { +"$ref": "DateRange", +"description": "The service start and end dates which are covered by this invoice." +}, +"subtotalAmountMicros": { +"description": "The pre-tax subtotal amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalAmountMicros": { +"description": "The invoice total amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +}, +"totalTaxAmountMicros": { +"description": "The sum of all taxes in invoice, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"KeywordAssignedTargetingOptionDetails": { +"description": "Details for assigned keyword targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`.", +"id": "KeywordAssignedTargetingOptionDetails", +"properties": { +"keyword": { +"description": "Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10.", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"Kpi": { +"description": "Settings that control the key performance indicator, or KPI, of an insertion order.", +"id": "Kpi", +"properties": { +"kpiAlgorithmId": { +"description": "Optional. Custom Bidding Algorithm ID associated with KPI_CUSTOM_IMPRESSION_VALUE_OVER_COST. This field is ignored if the proper KPI is not selected.", +"format": "int64", +"type": "string" +}, +"kpiAmountMicros": { +"description": "The goal amount, in micros of the advertiser's currency. Applicable when kpi_type is one of: * `KPI_TYPE_CPM` * `KPI_TYPE_CPC` * `KPI_TYPE_CPA` * `KPI_TYPE_CPIAVC` * `KPI_TYPE_VCPM` For example: 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"kpiPercentageMicros": { +"description": "The decimal representation of the goal percentage in micros. Applicable when kpi_type is one of: * `KPI_TYPE_CTR` * `KPI_TYPE_VIEWABILITY` * `KPI_TYPE_CLICK_CVR` * `KPI_TYPE_IMPRESSION_CVR` * `KPI_TYPE_VTR` * `KPI_TYPE_AUDIO_COMPLETION_RATE` * `KPI_TYPE_VIDEO_COMPLETION_RATE` For example: 70000 represents 7% (decimal 0.07).", +"format": "int64", +"type": "string" +}, +"kpiString": { +"description": "A KPI string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when kpi_type is `KPI_TYPE_OTHER`.", +"type": "string" +}, +"kpiType": { +"description": "Required. The type of KPI.", +"enum": [ +"KPI_TYPE_UNSPECIFIED", +"KPI_TYPE_CPM", +"KPI_TYPE_CPC", +"KPI_TYPE_CPA", +"KPI_TYPE_CTR", +"KPI_TYPE_VIEWABILITY", +"KPI_TYPE_CPIAVC", +"KPI_TYPE_CPE", +"KPI_TYPE_CPV", +"KPI_TYPE_CLICK_CVR", +"KPI_TYPE_IMPRESSION_CVR", +"KPI_TYPE_VCPM", +"KPI_TYPE_VTR", +"KPI_TYPE_AUDIO_COMPLETION_RATE", +"KPI_TYPE_VIDEO_COMPLETION_RATE", +"KPI_TYPE_CPCL", +"KPI_TYPE_CPCV", +"KPI_TYPE_TOS10", +"KPI_TYPE_MAXIMIZE_PACING", +"KPI_TYPE_CUSTOM_IMPRESSION_VALUE_OVER_COST", +"KPI_TYPE_OTHER" +], +"enumDescriptions": [ +"KPI type is not specified or is unknown in this version.", +"The KPI is CPM (cost per mille).", +"The KPI is CPC (cost per click).", +"The KPI is CPA (cost per action).", +"The KPI is CTR (click-through rate) percentage.", +"The KPI is Viewability percentage.", +"The KPI is CPIAVC (cost per impression audible and visible at completion).", +"The KPI is CPE (cost per engagement).", +"The KPI is set in CPV (cost per view).", +"The KPI is click conversion rate (conversions per click) percentage.", +"The KPI is impression conversion rate (conversions per impression) percentage.", +"The KPI is VCPM (cost per thousand viewable impressions).", +"The KPI is YouTube view rate (YouTube views per impression) percentage.", +"The KPI is audio completion rate (complete audio listens per impression) percentage.", +"The KPI is video completion rate (complete video views per impression) percentage.", +"The KPI is set in CPCL (cost per complete audio listen).", +"The KPI is set in CPCV (cost per complete video view).", +"The KPI is set in rate of time on screen 10+ seconds (Percentage of measurable, non-skippable impressions that were on the screen for at least 10 seconds).", +"The KPI is set to maximize brand impact while prioritizing spending the full budget.", +"The KPI is set in custom impression value divided by cost.", +"The KPI is some other value." +], +"type": "string" +} +}, +"type": "object" +}, +"LanguageAssignedTargetingOptionDetails": { +"description": "Details for assigned language targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`.", +"id": "LanguageAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the language (e.g., \"French\").", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted. All assigned language targeting options on the same resource must have the same value for this field.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageTargetingOptionDetails": { +"description": "Represents a targetable language. This will be populated in the language_details field when targeting_type is `TARGETING_TYPE_LANGUAGE`.", +"id": "LanguageTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the language (e.g., \"French\").", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LineItem": { +"description": "A single line item.", +"id": "LineItem", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the line item belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"bidStrategy": { +"$ref": "BiddingStrategy", +"description": "Required. The bidding strategy of the line item." +}, +"budget": { +"$ref": "LineItemBudget", +"description": "Required. The budget allocation setting of the line item." +}, +"campaignId": { +"description": "Output only. The unique ID of the campaign that the line item belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"containsEuPoliticalAds": { +"description": "Whether this line item will serve European Union political ads. If contains_eu_political_ads has been set to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. This field can then be updated using the UI, API, or Structured Data Files. This field must be assigned when creating a new line item. Otherwise, **the `advertisers.lineItems.create` request will fail**.", +"enum": [ +"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", +"CONTAINS_EU_POLITICAL_ADVERTISING", +"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" +], +"enumDescriptions": [ +"Unknown.", +"Contains EU political advertising.", +"Does not contain EU political advertising." +], +"type": "string" +}, +"conversionCounting": { +"$ref": "ConversionCountingConfig", +"description": "The conversion tracking setting of the line item." +}, +"creativeIds": { +"description": "The IDs of the creatives associated with the line item.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Required. Controls whether or not the line item can spend its budget and bid on inventory. * For CreateLineItem method, only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use UpdateLineItem method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * A line item cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"type": "string" +}, +"excludeNewExchanges": { +"description": "Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.", +"type": "boolean" +}, +"flight": { +"$ref": "LineItemFlight", +"description": "Required. The start and end time of the line item's flight." +}, +"frequencyCap": { +"$ref": "FrequencyCap", +"description": "Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap." +}, +"insertionOrderId": { +"description": "Required. Immutable. The unique ID of the insertion order that the line item belongs to.", +"format": "int64", +"type": "string" +}, +"integrationDetails": { +"$ref": "IntegrationDetails", +"description": "Integration details of the line item." +}, +"lineItemId": { +"description": "Output only. The unique ID of the line item. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"lineItemType": { +"description": "Required. Immutable. The type of the line item.", +"enum": [ +"LINE_ITEM_TYPE_UNSPECIFIED", +"LINE_ITEM_TYPE_DISPLAY_DEFAULT", +"LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", +"LINE_ITEM_TYPE_VIDEO_DEFAULT", +"LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", +"LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", +"LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", +"LINE_ITEM_TYPE_AUDIO_DEFAULT", +"LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", +"LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", +"LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", +"LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", +"Image, HTML5, native, or rich media ads.", +"Display ads that drive installs of an app.", +"Video ads sold on a CPM basis for a variety of environments.", +"Video ads that drive installs of an app.", +"Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"RTB Audio ads sold for a variety of environments.", +"Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", +"YouTube video ads that promote conversions. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that show a story in a particular sequence using a mix of formats. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube audio ads. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", +"Default YouTube video ads. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV youTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV youTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", +"Connected TV default YouTube video ads. Only include in-stream ad-format. Line items of this type and their targeting cannot be created or updated using the API.", +"The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API.", +"YouTube video ads that aim to get more views with a variety of ad formats. Line items of this type and their targeting cannot be created or updated using the API.", +"Display ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API.", +"Video ads served on digital-out-of-home inventory. Line items of this type and their targeting cannot be created or updated using the API." +], +"type": "string" +}, +"mobileApp": { +"$ref": "MobileApp", +"description": "The mobile app promoted by the line item. This is applicable only when line_item_type is either `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`." +}, +"name": { +"description": "Output only. The resource name of the line item.", +"readOnly": true, +"type": "string" +}, +"pacing": { +"$ref": "Pacing", +"description": "Required. The budget spending speed setting of the line item." +}, +"partnerCosts": { +"description": "The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly created line item will inherit partner costs from its parent insertion order.", +"items": { +"$ref": "PartnerCost" +}, +"type": "array" +}, +"partnerRevenueModel": { +"$ref": "PartnerRevenueModel", +"description": "Required. The partner revenue model setting of the line item." +}, +"reservationType": { +"description": "Output only. The reservation type of the line item.", +"enum": [ +"RESERVATION_TYPE_UNSPECIFIED", +"RESERVATION_TYPE_NOT_GUARANTEED", +"RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED", +"RESERVATION_TYPE_TAG_GUARANTEED", +"RESERVATION_TYPE_PETRA_VIRAL", +"RESERVATION_TYPE_INSTANT_RESERVE" +], +"enumDescriptions": [ +"Reservation type value is not specified or is unknown in this version.", +"Not created through a guaranteed inventory source.", +"Created through a programmatic guaranteed inventory source.", +"Created through a tag guaranteed inventory source.", +"Created through a Petra inventory source. Only applicable to YouTube and Partners line items.", +"Created with an instant quote. Only applicable to YouTube and partners line items." +], +"readOnly": true, +"type": "string" +}, +"targetingExpansion": { +"$ref": "TargetingExpansionConfig", +"description": "The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item. This config is only applicable for display, video, or audio line items that use automated bidding and positively target eligible audience lists." +}, +"updateTime": { +"description": "Output only. The timestamp when the line item was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"warningMessages": { +"description": "Output only. The warning messages generated by the line item. These warnings do not block saving the line item, but some may block the line item from running.", +"items": { +"enum": [ +"LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED", +"INVALID_FLIGHT_DATES", +"EXPIRED", +"PENDING_FLIGHT", +"ALL_PARTNER_ENABLED_EXCHANGES_NEGATIVELY_TARGETED", +"INVALID_INVENTORY_SOURCE", +"APP_INVENTORY_INVALID_SITE_TARGETING", +"APP_INVENTORY_INVALID_AUDIENCE_LISTS", +"NO_VALID_CREATIVE", +"PARENT_INSERTION_ORDER_PAUSED", +"PARENT_INSERTION_ORDER_EXPIRED" +], +"enumDescriptions": [ +"Not specified or is unknown.", +"This line item has invalid flight dates. The line item will not run.", +"This line item's end date is in the past.", +"This line item will begin running in the future.", +"All partner enabled exchanges are negatively targeted. The line item will not run.", +"No active inventory sources are being targeted. The line item will not run.", +"This line item's Apps & URLs targeting doesn't include any mobile apps. This line item's type requires you to include mobile apps in your channel, sitelist, or apps targeting. The line item will not run.", +"This line item isn't targeting any mobile users. This line item's type requires you to target a user list with mobile users. The line item will not run.", +"This line item does not contain any valid creative. The line item will not run.", +"The insertion order of this line item is paused. The line item will not run.", +"The insertion order of this line item has its end date set in the past. The line item will not run." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"youtubeAndPartnersSettings": { +"$ref": "YoutubeAndPartnersSettings", +"description": "Output only. Settings specific to YouTube and Partners line items.", +"readOnly": true +} +}, +"type": "object" +}, +"LineItemAssignedTargetingOption": { +"description": "Wrapper object associating an assigned_targeting_option resource and the line item it is assigned to.", +"id": "LineItemAssignedTargetingOption", +"properties": { +"assignedTargetingOption": { +"$ref": "AssignedTargetingOption", +"description": "The assigned targeting option resource." +}, +"lineItemId": { +"description": "The ID of the line item the assigned targeting option is assigned to.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LineItemBudget": { +"description": "Settings that control how budget is allocated.", +"id": "LineItemBudget", +"properties": { +"budgetAllocationType": { +"description": "Required. The type of the budget allocation. `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when automatic budget allocation is enabled for the parent insertion order.", +"enum": [ +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED", +"LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Automatic budget allocation is enabled for the line item.", +"A fixed max budget amount is allocated for the line item.", +"No budget limit is applied to the line item." +], +"type": "string" +}, +"budgetUnit": { +"description": "Output only. The budget unit specifies whether the budget is currency based or impression based. This value is inherited from the parent insertion order.", +"enum": [ +"BUDGET_UNIT_UNSPECIFIED", +"BUDGET_UNIT_CURRENCY", +"BUDGET_UNIT_IMPRESSIONS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Budgeting in currency amounts.", +"Budgeting in impression amounts." +], +"readOnly": true, +"type": "string" +}, +"maxAmount": { +"description": "The maximum budget amount the line item will spend. Must be greater than 0. When budget_allocation_type is: * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable and is set by the system. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`, if budget_unit is: - `BUDGET_UNIT_CURRENCY`, this field represents maximum budget amount to spend, in micros of the advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. - `BUDGET_UNIT_IMPRESSIONS`, this field represents the maximum number of impressions to serve. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not applicable and will be ignored by the system.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LineItemFlight": { +"description": "Settings that control the active duration of a line item.", +"id": "LineItemFlight", +"properties": { +"dateRange": { +"$ref": "DateRange", +"description": "The flight start and end dates of the line item. They are resolved relative to the parent advertiser's time zone. * Required when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output only otherwise. * When creating a new flight, both `start_date` and `end_date` must be in the future. * An existing flight with a `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037." +}, +"flightDateType": { +"description": "Required. The type of the line item's flight dates.", +"enum": [ +"LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED", +"LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED", +"LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The line item's flight dates are inherited from its parent insertion order.", +"The line item uses its own custom flight dates." +], +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupAdsResponse": { +"id": "ListAdGroupAdsResponse", +"properties": { +"adGroupAds": { +"description": "The list of ads. This list will be absent if empty.", +"items": { +"$ref": "AdGroupAd" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdGroupAds` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupAssignedTargetingOptionsResponse": { +"description": "Response message for ListAdGroupAssignedTargetingOptions.", +"id": "ListAdGroupAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdGroupAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more AssignedTargetingOption resources to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdGroupsResponse": { +"id": "ListAdGroupsResponse", +"properties": { +"adGroups": { +"description": "The list of ad groups. This list will be absent if empty.", +"items": { +"$ref": "AdGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdGroups` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdvertiserAssignedTargetingOptionsResponse": { +"description": "Response message for ListAdvertiserAssignedTargetingOptions.", +"id": "ListAdvertiserAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdvertisersResponse": { +"id": "ListAdvertisersResponse", +"properties": { +"advertisers": { +"description": "The list of advertisers. This list will be absent if empty.", +"items": { +"$ref": "Advertiser" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdvertisers` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssignedInventorySourcesResponse": { +"description": "Response message for AssignedInventorySourceService.ListAssignedInventorySources.", +"id": "ListAssignedInventorySourcesResponse", +"properties": { +"assignedInventorySources": { +"description": "The list of assigned inventory sources. This list will be absent if empty.", +"items": { +"$ref": "AssignedInventorySource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedInventorySources` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssignedLocationsResponse": { +"description": "Response message for AssignedLocationService.ListAssignedLocations.", +"id": "ListAssignedLocationsResponse", +"properties": { +"assignedLocations": { +"description": "The list of assigned locations. This list will be absent if empty.", +"items": { +"$ref": "AssignedLocation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedLocations` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCampaignsResponse": { +"id": "ListCampaignsResponse", +"properties": { +"campaigns": { +"description": "The list of campaigns. This list will be absent if empty.", +"items": { +"$ref": "Campaign" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCampaigns` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListChannelsResponse": { +"id": "ListChannelsResponse", +"properties": { +"channels": { +"description": "The list of channels. This list will be absent if empty.", +"items": { +"$ref": "Channel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListChannels` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCombinedAudiencesResponse": { +"id": "ListCombinedAudiencesResponse", +"properties": { +"combinedAudiences": { +"description": "The list of combined audiences. This list will be absent if empty.", +"items": { +"$ref": "CombinedAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCombinedAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListCreativesResponse": { +"id": "ListCreativesResponse", +"properties": { +"creatives": { +"description": "The list of creatives. This list will be absent if empty.", +"items": { +"$ref": "Creative" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCreativesRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingAlgorithmRulesResponse": { +"id": "ListCustomBiddingAlgorithmRulesResponse", +"properties": { +"customBiddingRules": { +"description": "The list of CustomBiddingAlgorithmRules resources. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingAlgorithmRules" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingAlgorithmRulesRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingAlgorithmsResponse": { +"id": "ListCustomBiddingAlgorithmsResponse", +"properties": { +"customBiddingAlgorithms": { +"description": "The list of custom bidding algorithms. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingAlgorithm" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingAlgorithmsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomBiddingScriptsResponse": { +"id": "ListCustomBiddingScriptsResponse", +"properties": { +"customBiddingScripts": { +"description": "The list of custom bidding scripts. This list will be absent if empty.", +"items": { +"$ref": "CustomBiddingScript" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomBiddingScriptsRequest` method to retrieve the next page of results. If this field is null, it means this is the last page.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomListsResponse": { +"id": "ListCustomListsResponse", +"properties": { +"customLists": { +"description": "The list of custom lists. This list will be absent if empty.", +"items": { +"$ref": "CustomList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListCustomLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFirstAndThirdPartyAudiencesResponse": { +"id": "ListFirstAndThirdPartyAudiencesResponse", +"properties": { +"firstAndThirdPartyAudiences": { +"description": "The list of first and third party audiences. Audience size properties will not be included. This list will be absent if empty.", +"items": { +"$ref": "FirstAndThirdPartyAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListFirstAndThirdPartyAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFloodlightActivitiesResponse": { +"id": "ListFloodlightActivitiesResponse", +"properties": { +"floodlightActivities": { +"description": "The list of Floodlight activities. This list will be absent if empty.", +"items": { +"$ref": "FloodlightActivity" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListFloodlightActivities` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGoogleAudiencesResponse": { +"id": "ListGoogleAudiencesResponse", +"properties": { +"googleAudiences": { +"description": "The list of Google audiences. This list will be absent if empty.", +"items": { +"$ref": "GoogleAudience" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGoogleAudiences` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGuaranteedOrdersResponse": { +"id": "ListGuaranteedOrdersResponse", +"properties": { +"guaranteedOrders": { +"description": "The list of guaranteed orders. This list will be absent if empty.", +"items": { +"$ref": "GuaranteedOrder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListGuaranteedOrders` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInsertionOrdersResponse": { +"id": "ListInsertionOrdersResponse", +"properties": { +"insertionOrders": { +"description": "The list of insertion orders. This list will be absent if empty.", +"items": { +"$ref": "InsertionOrder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInsertionOrders` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInventorySourceGroupsResponse": { +"description": "Response message for InventorySourceGroupService.ListInventorySourceGroups.", +"id": "ListInventorySourceGroupsResponse", +"properties": { +"inventorySourceGroups": { +"description": "The list of inventory source groups. This list will be absent if empty.", +"items": { +"$ref": "InventorySourceGroup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySourceGroups` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInventorySourcesResponse": { +"id": "ListInventorySourcesResponse", +"properties": { +"inventorySources": { +"description": "The list of inventory sources. This list will be absent if empty.", +"items": { +"$ref": "InventorySource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySources` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListInvoicesResponse": { +"id": "ListInvoicesResponse", +"properties": { +"invoices": { +"description": "The list of invoices. This list will be absent if empty.", +"items": { +"$ref": "Invoice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInvoices` method to retrieve the next page of results. This token will be absent if there are no more invoices to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLineItemAssignedTargetingOptionsResponse": { +"description": "Response message for ListLineItemAssignedTargetingOptions.", +"id": "ListLineItemAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListLineItemsResponse": { +"id": "ListLineItemsResponse", +"properties": { +"lineItems": { +"description": "The list of line items. This list will be absent if empty.", +"items": { +"$ref": "LineItem" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLineItems` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationListsResponse": { +"id": "ListLocationListsResponse", +"properties": { +"locationLists": { +"description": "The list of location lists. This list will be absent if empty.", +"items": { +"$ref": "LocationList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListLocationLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListNegativeKeywordListsResponse": { +"description": "Response message for NegativeKeywordListService.ListNegativeKeywordLists.", +"id": "ListNegativeKeywordListsResponse", +"properties": { +"negativeKeywordLists": { +"description": "The list of negative keyword lists. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeywordList" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywordLists` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.ListNegativeKeywords.", +"id": "ListNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The list of negative keywords. This list will be absent if empty.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListNegativeKeywords` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListPartnerAssignedTargetingOptionsResponse": { +"id": "ListPartnerAssignedTargetingOptionsResponse", +"properties": { +"assignedTargetingOptions": { +"description": "The list of assigned targeting options. This list will be absent if empty.", +"items": { +"$ref": "AssignedTargetingOption" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListPartnerAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.", +"type": "string" +} +}, +"type": "object" +}, +"ListPartnersResponse": { +"id": "ListPartnersResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListPartners` method to retrieve the next page of results.", +"type": "string" +}, +"partners": { +"description": "The list of partners. This list will be absent if empty.", +"items": { +"$ref": "Partner" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSitesResponse": { +"description": "Response message for SiteService.ListSites.", +"id": "ListSitesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListSites` method to retrieve the next page of results.", +"type": "string" +}, +"sites": { +"description": "The list of sites. This list will be absent if empty.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTargetingOptionsResponse": { +"description": "Response message for ListTargetingOptions.", +"id": "ListTargetingOptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListTargetingOptions` method to retrieve the next page of results.", +"type": "string" +}, +"targetingOptions": { +"description": "The list of targeting options. This list will be absent if empty.", +"items": { +"$ref": "TargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUsersResponse": { +"id": "ListUsersResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListUsers` method to retrieve the next page of results. This token will be absent if there are no more results to return.", +"type": "string" +}, +"users": { +"description": "The list of users. This list will be absent if empty.", +"items": { +"$ref": "User" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocationList": { +"description": "A list of locations used for targeting.", +"id": "LocationList", +"properties": { +"advertiserId": { +"description": "Required. Immutable. The unique ID of the advertiser the location list belongs to.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"locationListId": { +"description": "Output only. The unique ID of the location list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"locationType": { +"description": "Required. Immutable. The type of location. All locations in the list will share this type.", +"enum": [ +"TARGETING_LOCATION_TYPE_UNSPECIFIED", +"TARGETING_LOCATION_TYPE_PROXIMITY", +"TARGETING_LOCATION_TYPE_REGIONAL" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown.", +"The type for proximity geo location.", +"The type for regional geo location." +], +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the location list.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LookbackWindow": { +"description": "Specifies how many days into the past to look when determining whether to record a conversion.", +"id": "LookbackWindow", +"properties": { +"clickDays": { +"description": "Lookback window, in days, from the last time a given user clicked on one of your ads.", +"format": "int32", +"type": "integer" +}, +"impressionDays": { +"description": "Lookback window, in days, from the last time a given user viewed one of your ads.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"LookupInvoiceCurrencyResponse": { +"id": "LookupInvoiceCurrencyResponse", +"properties": { +"currencyCode": { +"description": "Currency used by the advertiser in ISO 4217 format.", +"type": "string" +} +}, +"type": "object" +}, +"MastheadAd": { +"description": "Details for a Masthead Ad.", +"id": "MastheadAd", +"properties": { +"autoplayVideoDuration": { +"description": "The duration of time the video will autoplay.", +"format": "google-duration", +"type": "string" +}, +"autoplayVideoStartMillisecond": { +"description": "The amount of time in milliseconds after which the video will start to play.", +"format": "int64", +"type": "string" +}, +"callToActionButtonLabel": { +"description": "The text on the call-to-action button.", +"type": "string" +}, +"callToActionFinalUrl": { +"description": "The destination URL for the call-to-action button.", +"type": "string" +}, +"callToActionTrackingUrl": { +"description": "The tracking URL for the call-to-action button.", +"type": "string" +}, +"companionYoutubeVideos": { +"description": "The videos that appear next to the Masthead Ad on desktop. Can be no more than two.", +"items": { +"$ref": "YoutubeVideoDetails" +}, +"type": "array" +}, +"description": { +"description": "The description of the ad.", +"type": "string" +}, +"headline": { +"description": "The headline of the ad.", +"type": "string" +}, +"showChannelArt": { +"description": "Whether to show a background or banner that appears at the top of a YouTube page.", +"type": "boolean" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video used by the ad." +}, +"videoAspectRatio": { +"description": "The aspect ratio of the autoplaying YouTube video on the Masthead.", +"enum": [ +"VIDEO_ASPECT_RATIO_UNSPECIFIED", +"VIDEO_ASPECT_RATIO_WIDESCREEN", +"VIDEO_ASPECT_RATIO_FIXED_16_9" +], +"enumDescriptions": [ +"Not specified or unknown.", +"The video is stretched and the top and bottom are cropped.", +"The video uses a fixed 16:9 aspect ratio." +], +"type": "string" +} +}, +"type": "object" +}, +"MaximizeSpendBidStrategy": { +"description": "A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full budget.", +"id": "MaximizeSpendBidStrategy", +"properties": { +"customBiddingAlgorithmId": { +"description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error.", +"format": "int64", +"type": "string" +}, +"maxAverageCpmBidAmountMicros": { +"description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal that the bidding strategy tries to minimize while spending the full budget. `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for this strategy.", +"enum": [ +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Cost per action.", +"Cost per click.", +"Viewable CPM.", +"Custom bidding algorithm.", +"Completed inview and audible views.", +"Inview time over 10 secs views.", +"Viewable impressions." +], +"type": "string" +}, +"raiseBidForDeals": { +"description": "Whether the strategy takes deal floor prices into account.", +"type": "boolean" +} +}, +"type": "object" +}, +"MeasurementConfig": { +"description": "Measurement settings of a partner.", +"id": "MeasurementConfig", +"properties": { +"dv360ToCmCostReportingEnabled": { +"description": "Whether or not to report DV360 cost to CM360.", +"type": "boolean" +}, +"dv360ToCmDataSharingEnabled": { +"description": "Whether or not to include DV360 data in CM360 data transfer reports.", +"type": "boolean" +} +}, +"type": "object" +}, +"MobileApp": { +"description": "A mobile app promoted by a mobile app install line item.", +"id": "MobileApp", +"properties": { +"appId": { +"description": "Required. The ID of the app provided by the platform store. Android apps are identified by the bundle ID used by Android's Play store, such as `com.google.android.gm`. iOS apps are identified by a nine-digit app ID used by Apple's App store, such as `422689480`.", +"type": "string" +}, +"displayName": { +"description": "Output only. The app name.", +"readOnly": true, +"type": "string" +}, +"platform": { +"description": "Output only. The app platform.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"IOS", +"ANDROID" +], +"enumDescriptions": [ +"Platform is not specified.", +"iOS platform.", +"Android platform." +], +"readOnly": true, +"type": "string" +}, +"publisher": { +"description": "Output only. The app publisher.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MobileDeviceIdList": { +"description": "Wrapper message for a list of mobile device IDs defining Customer Match audience members.", +"id": "MobileDeviceIdList", +"properties": { +"consent": { +"$ref": "Consent", +"description": "Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error." +}, +"mobileDeviceIds": { +"description": "A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NativeContentPositionAssignedTargetingOptionDetails": { +"description": "Details for native content position assigned targeting option. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. Explicitly targeting all options is not supported. Remove all native content position targeting options to achieve this effect.", +"id": "NativeContentPositionAssignedTargetingOptionDetails", +"properties": { +"contentPosition": { +"description": "Required. The content position.", +"enum": [ +"NATIVE_CONTENT_POSITION_UNSPECIFIED", +"NATIVE_CONTENT_POSITION_UNKNOWN", +"NATIVE_CONTENT_POSITION_IN_ARTICLE", +"NATIVE_CONTENT_POSITION_IN_FEED", +"NATIVE_CONTENT_POSITION_PERIPHERAL", +"NATIVE_CONTENT_POSITION_RECOMMENDATION" +], +"enumDescriptions": [ +"Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", +"The native content position is unknown.", +"Native content position is in-article, i.e., ads appear between the paragraphs of pages.", +"Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", +"Native content position is recommendation, i.e., ads appear in sections for recommended content." +], +"type": "string" +} +}, +"type": "object" +}, +"NativeContentPositionTargetingOptionDetails": { +"description": "Represents a targetable native content position. This will be populated in the native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.", +"id": "NativeContentPositionTargetingOptionDetails", +"properties": { +"contentPosition": { +"description": "Output only. The content position.", +"enum": [ +"NATIVE_CONTENT_POSITION_UNSPECIFIED", +"NATIVE_CONTENT_POSITION_UNKNOWN", +"NATIVE_CONTENT_POSITION_IN_ARTICLE", +"NATIVE_CONTENT_POSITION_IN_FEED", +"NATIVE_CONTENT_POSITION_PERIPHERAL", +"NATIVE_CONTENT_POSITION_RECOMMENDATION" +], +"enumDescriptions": [ +"Native content position is not specified in this version. This enum is a place holder for a default value and does not represent a real native content position.", +"The native content position is unknown.", +"Native content position is in-article, i.e., ads appear between the paragraphs of pages.", +"Native content position is in-feed, i.e., ads appear in a scrollable stream of content. A feed is typically editorial (e.g. a list of articles or news) or listings (e.g. a list of products or services).", +"Native content position is peripheral, i.e., ads appear outside of core content on pages, such as the right- or left-hand side of the page.", +"Native content position is recommendation, i.e., ads appear in sections for recommended content." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeyword": { +"description": "A negatively targeted keyword that belongs to a negative keyword list.", +"id": "NegativeKeyword", +"properties": { +"keywordValue": { +"description": "Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing whitespace between words. Leading or trailing whitespace is ignored.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the negative keyword.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeywordList": { +"description": "A list of negative keywords used for targeting.", +"id": "NegativeKeywordList", +"properties": { +"advertiserId": { +"description": "Output only. The unique ID of the advertiser the negative keyword list belongs to.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 bytes.", +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the negative keyword list.", +"readOnly": true, +"type": "string" +}, +"negativeKeywordListId": { +"description": "Output only. The unique ID of the negative keyword list. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"targetedLineItemCount": { +"description": "Output only. Number of line items that are directly targeting this negative keyword list.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NegativeKeywordListAssignedTargetingOptionDetails": { +"description": "Targeting details for negative keyword list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.", +"id": "NegativeKeywordListAssignedTargetingOptionDetails", +"properties": { +"negativeKeywordListId": { +"description": "Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a NegativeKeywordList resource.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"NonSkippableAd": { +"description": "Details for a non-skippable ad.", +"id": "NonSkippableAd", +"properties": { +"commonInStreamAttribute": { +"$ref": "CommonInStreamAttribute", +"description": "Common ad attributes." +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +} +}, +"type": "object" +}, +"ObaIcon": { +"description": "OBA Icon for a Creative", +"id": "ObaIcon", +"properties": { +"clickTrackingUrl": { +"description": "Required. The click tracking URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Optional. The dimensions of the OBA icon." +}, +"landingPageUrl": { +"description": "Required. The landing page URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +}, +"position": { +"description": "Optional. The position of the OBA icon on the creative.", +"enum": [ +"OBA_ICON_POSITION_UNSPECIFIED", +"OBA_ICON_POSITION_UPPER_RIGHT", +"OBA_ICON_POSITION_UPPER_LEFT", +"OBA_ICON_POSITION_LOWER_RIGHT", +"OBA_ICON_POSITION_LOWER_LEFT" +], +"enumDescriptions": [ +"The OBA icon position is not specified.", +"At the upper right side of the creative.", +"At the upper left side of the creative.", +"At the lower right side of the creative.", +"At the lower left side of the creative." +], +"type": "string" +}, +"program": { +"description": "Optional. The program of the OBA icon. For example: \u201cAdChoices\u201d.", +"type": "string" +}, +"resourceMimeType": { +"description": "Optional. The MIME type of the OBA icon resource.", +"type": "string" +}, +"resourceUrl": { +"description": "Optional. The URL of the OBA icon resource.", +"type": "string" +}, +"viewTrackingUrl": { +"description": "Required. The view tracking URL of the OBA icon. Only URLs of the following domains are allowed: * `https://info.evidon.com` * `https://l.betrad.com`", +"type": "string" +} +}, +"type": "object" +}, +"OmidAssignedTargetingOptionDetails": { +"description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`.", +"id": "OmidAssignedTargetingOptionDetails", +"properties": { +"omid": { +"description": "Required. The type of Open Measurement enabled inventory.", +"enum": [ +"OMID_UNSPECIFIED", +"OMID_FOR_MOBILE_DISPLAY_ADS" +], +"enumDescriptions": [ +"Default value when omid targeting is not specified in this version.", +"Open Measurement enabled mobile display inventory." +], +"type": "string" +} +}, +"type": "object" +}, +"OmidTargetingOptionDetails": { +"description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is `TARGETING_TYPE_OMID`.", +"id": "OmidTargetingOptionDetails", +"properties": { +"omid": { +"description": "Output only. The type of Open Measurement enabled inventory.", +"enum": [ +"OMID_UNSPECIFIED", +"OMID_FOR_MOBILE_DISPLAY_ADS" +], +"enumDescriptions": [ +"Default value when omid targeting is not specified in this version.", +"Open Measurement enabled mobile display inventory." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OnScreenPositionAssignedTargetingOptionDetails": { +"description": "On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"id": "OnScreenPositionAssignedTargetingOptionDetails", +"properties": { +"adType": { +"description": "Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.", +"enum": [ +"AD_TYPE_UNSPECIFIED", +"AD_TYPE_DISPLAY", +"AD_TYPE_VIDEO", +"AD_TYPE_AUDIO" +], +"enumDescriptions": [ +"Ad type is not specified or is unknown in this version.", +"Display creatives, e.g. image and HTML5.", +"Video creatives, e.g. video ads that play during streaming content in video players.", +"Audio creatives, e.g. audio ads that play during audio content." +], +"readOnly": true, +"type": "string" +}, +"onScreenPosition": { +"description": "Output only. The on screen position.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"readOnly": true, +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"type": "string" +} +}, +"type": "object" +}, +"OnScreenPositionTargetingOptionDetails": { +"description": "Represents a targetable on screen position, which could be used by display and video ads. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.", +"id": "OnScreenPositionTargetingOptionDetails", +"properties": { +"onScreenPosition": { +"description": "Output only. The on screen position.", +"enum": [ +"ON_SCREEN_POSITION_UNSPECIFIED", +"ON_SCREEN_POSITION_UNKNOWN", +"ON_SCREEN_POSITION_ABOVE_THE_FOLD", +"ON_SCREEN_POSITION_BELOW_THE_FOLD" +], +"enumDescriptions": [ +"On screen position is not specified in this version. This enum is a place holder for a default value and does not represent a real on screen position.", +"The ad position is unknown on the screen.", +"The ad is located above the fold.", +"The ad is located below the fold." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemAssignedTargetingOptionDetails": { +"description": "Assigned operating system targeting option details. This will be populated in the operating_system_details field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"id": "OperatingSystemAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the operating system.", +"readOnly": true, +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"targetingOptionId": { +"description": "Required. The targeting option ID populated in targeting_option_id field when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"type": "string" +} +}, +"type": "object" +}, +"OperatingSystemTargetingOptionDetails": { +"description": "Represents a targetable operating system. This will be populated in the operating_system_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.", +"id": "OperatingSystemTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the operating system.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Pacing": { +"description": "Settings that control the rate at which a budget is spent.", +"id": "Pacing", +"properties": { +"dailyMaxImpressions": { +"description": "Maximum number of impressions to serve every day. Applicable when the budget is impression based. Must be greater than 0.", +"format": "int64", +"type": "string" +}, +"dailyMaxMicros": { +"description": "Maximum currency amount to spend every day in micros of advertiser's currency. Applicable when the budget is currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field to 1500000. The value assigned will be rounded to whole billable units for the relevant currency by the following rules: any positive value less than a single billable unit will be rounded up to one billable unit and any value larger than a single billable unit will be rounded down to the nearest billable value. For example, if the currency's billable unit is 0.01, and this field is set to 10257770, it will round down to 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01.", +"format": "int64", +"type": "string" +}, +"pacingPeriod": { +"description": "Required. The time period in which the pacing budget will be spent. When automatic budget allocation is enabled at the insertion order via automationType, this field is output only and defaults to `PACING_PERIOD_FLIGHT`.", +"enum": [ +"PACING_PERIOD_UNSPECIFIED", +"PACING_PERIOD_DAILY", +"PACING_PERIOD_FLIGHT" +], +"enumDescriptions": [ +"Period value is not specified or is unknown in this version.", +"The pacing setting will be applied on daily basis.", +"The pacing setting will be applied to the whole flight duration." +], +"type": "string" +}, +"pacingType": { +"description": "Required. The type of pacing that defines how the budget amount will be spent across the pacing_period. `PACING_TYPE_ASAP` is not compatible with pacing_period `PACING_PERIOD_FLIGHT` for insertion orders.", +"enum": [ +"PACING_TYPE_UNSPECIFIED", +"PACING_TYPE_AHEAD", +"PACING_TYPE_ASAP", +"PACING_TYPE_EVEN" +], +"enumDescriptions": [ +"Pacing mode value is not specified or is unknown in this version.", +"Only applicable to `PACING_PERIOD_FLIGHT` pacing period. Ahead pacing attempts to spend faster than evenly, to make sure the entire budget is spent by the end of the flight.", +"Spend all of pacing budget amount as quick as possible.", +"Spend a consistent budget amount every period of time." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentEntityFilter": { +"description": "A filtering option that filters on selected file types belonging to a chosen set of filter entities.", +"id": "ParentEntityFilter", +"properties": { +"fileType": { +"description": "Required. File types that will be returned.", +"items": { +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"FILE_TYPE_CAMPAIGN", +"FILE_TYPE_MEDIA_PRODUCT", +"FILE_TYPE_INSERTION_ORDER", +"FILE_TYPE_LINE_ITEM", +"FILE_TYPE_AD_GROUP", +"FILE_TYPE_AD", +"FILE_TYPE_LINE_ITEM_QA", +"FILE_TYPE_AD_GROUP_QA" +], +"enumDescriptions": [ +"Default value when type is unspecified or is unknown in this version.", +"Campaign.", +"Media Product.", +"Insertion Order.", +"Line Item.", +"YouTube Ad Group.", +"YouTube Ad.", +"Line Item - QA format.", +"YouTube Ad Group - QA format." +], +"type": "string" +}, +"type": "array" +}, +"filterIds": { +"description": "The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be specified.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"filterType": { +"description": "Required. Filter type used to filter fetched entities.", +"enum": [ +"FILTER_TYPE_UNSPECIFIED", +"FILTER_TYPE_NONE", +"FILTER_TYPE_ADVERTISER_ID", +"FILTER_TYPE_CAMPAIGN_ID", +"FILTER_TYPE_MEDIA_PRODUCT_ID", +"FILTER_TYPE_INSERTION_ORDER_ID", +"FILTER_TYPE_LINE_ITEM_ID" +], +"enumDescriptions": [ +"Default value when type is unspecified or is unknown in this version.", +"If selected, no filter will be applied to the download. Can only be used if an Advertiser is specified in CreateSdfDownloadTaskRequest.", +"Advertiser ID. If selected, all filter IDs must be Advertiser IDs that belong to the Partner specified in CreateSdfDownloadTaskRequest.", +"Campaign ID. If selected, all filter IDs must be Campaign IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest.", +"Media Product ID. If selected, all filter IDs must be Media Product IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_MEDIA_PRODUCT`.", +"Insertion Order ID. If selected, all filter IDs must be Insertion Order IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_INSERTION_ORDER`, `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_LINE_ITEM_QA`, `FILE_TYPE_AD_GROUP`, `FILE_TYPE_AD_GROUP_QA`, and `FILE_TYPE_AD`.", +"Line Item ID. If selected, all filter IDs must be Line Item IDs that belong to the Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can only be used for downloading `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_LINE_ITEM_QA`,`FILE_TYPE_AD_GROUP`, `FILE_TYPE_AD_GROUP_QA`, and `FILE_TYPE_AD`." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentalStatusAssignedTargetingOptionDetails": { +"description": "Details for assigned parental status targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", +"id": "ParentalStatusAssignedTargetingOptionDetails", +"properties": { +"parentalStatus": { +"description": "Required. The parental status of the audience.", +"enum": [ +"PARENTAL_STATUS_UNSPECIFIED", +"PARENTAL_STATUS_PARENT", +"PARENTAL_STATUS_NOT_A_PARENT", +"PARENTAL_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", +"The audience is a parent.", +"The audience is not a parent.", +"The parental status of the audience is unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"ParentalStatusTargetingOptionDetails": { +"description": "Represents a targetable parental status. This will be populated in the parental_status_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.", +"id": "ParentalStatusTargetingOptionDetails", +"properties": { +"parentalStatus": { +"description": "Output only. The parental status of an audience.", +"enum": [ +"PARENTAL_STATUS_UNSPECIFIED", +"PARENTAL_STATUS_PARENT", +"PARENTAL_STATUS_NOT_A_PARENT", +"PARENTAL_STATUS_UNKNOWN" +], +"enumDescriptions": [ +"Default value when parental status is not specified in this version. This enum is a place holder for default value and does not represent a real parental status option.", +"The audience is a parent.", +"The audience is not a parent.", +"The parental status of the audience is unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Partner": { +"description": "A single partner in Display & Video 360 (DV360).", +"id": "Partner", +"properties": { +"adServerConfig": { +"$ref": "PartnerAdServerConfig", +"description": "Ad server related settings of the partner." +}, +"billingConfig": { +"$ref": "PartnerBillingConfig", +"description": "Billing related settings of the partner." +}, +"dataAccessConfig": { +"$ref": "PartnerDataAccessConfig", +"description": "Settings that control how partner data may be accessed." +}, +"displayName": { +"description": "The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"entityStatus": { +"description": "Output only. The status of the partner.", +"enum": [ +"ENTITY_STATUS_UNSPECIFIED", +"ENTITY_STATUS_ACTIVE", +"ENTITY_STATUS_ARCHIVED", +"ENTITY_STATUS_DRAFT", +"ENTITY_STATUS_PAUSED", +"ENTITY_STATUS_SCHEDULED_FOR_DELETION" +], +"enumDescriptions": [ +"Default value when status is not specified or is unknown in this version.", +"The entity is enabled to bid and spend budget.", +"The entity is archived. Bidding and budget spending are disabled. An entity can be deleted after archived. Deleted entities cannot be retrieved.", +"The entity is under draft. Bidding and budget spending are disabled.", +"Bidding and budget spending are paused for the entity.", +"The entity is scheduled for deletion." +], +"readOnly": true, +"type": "string" +}, +"exchangeConfig": { +"$ref": "ExchangeConfig", +"description": "Settings that control which exchanges are enabled for the partner." +}, +"generalConfig": { +"$ref": "PartnerGeneralConfig", +"description": "General settings of the partner." +}, +"name": { +"description": "Output only. The resource name of the partner.", +"readOnly": true, +"type": "string" +}, +"partnerId": { +"description": "Output only. The unique ID of the partner. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp when the partner was last updated. Assigned by the system.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PartnerAdServerConfig": { +"description": "Ad server related settings of a partner.", +"id": "PartnerAdServerConfig", +"properties": { +"measurementConfig": { +"$ref": "MeasurementConfig", +"description": "Measurement settings of a partner." +} +}, +"type": "object" +}, +"PartnerBillingConfig": { +"description": "Billing related settings of a partner.", +"id": "PartnerBillingConfig", +"properties": { +"billingProfileId": { +"description": "The ID of a partner default billing profile.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PartnerCost": { +"description": "Settings that control a partner cost. A partner cost is any type of expense involved in running a campaign, other than the costs of purchasing impressions (which is called the media cost) and using third-party audience segment data (data fee). Some examples of partner costs include the fees for using DV360, a third-party ad server, or a third-party ad serving verification service.", +"id": "PartnerCost", +"properties": { +"costType": { +"description": "Required. The type of the partner cost.", +"enum": [ +"PARTNER_COST_TYPE_UNSPECIFIED", +"PARTNER_COST_TYPE_ADLOOX", +"PARTNER_COST_TYPE_ADLOOX_PREBID", +"PARTNER_COST_TYPE_ADSAFE", +"PARTNER_COST_TYPE_ADXPOSE", +"PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE", +"PARTNER_COST_TYPE_AGENCY_TRADING_DESK", +"PARTNER_COST_TYPE_DV360_FEE", +"PARTNER_COST_TYPE_COMSCORE_VCE", +"PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM", +"PARTNER_COST_TYPE_DEFAULT", +"PARTNER_COST_TYPE_DOUBLE_VERIFY", +"PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID", +"PARTNER_COST_TYPE_EVIDON", +"PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO", +"PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID", +"PARTNER_COST_TYPE_MEDIA_COST_DATA", +"PARTNER_COST_TYPE_MOAT_VIDEO", +"PARTNER_COST_TYPE_NIELSEN_DAR", +"PARTNER_COST_TYPE_SHOP_LOCAL", +"PARTNER_COST_TYPE_TERACENT", +"PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER", +"PARTNER_COST_TYPE_TRUST_METRICS", +"PARTNER_COST_TYPE_VIZU", +"PARTNER_COST_TYPE_ADLINGO_FEE", +"PARTNER_COST_TYPE_CUSTOM_FEE_1", +"PARTNER_COST_TYPE_CUSTOM_FEE_2", +"PARTNER_COST_TYPE_CUSTOM_FEE_3", +"PARTNER_COST_TYPE_CUSTOM_FEE_4", +"PARTNER_COST_TYPE_CUSTOM_FEE_5", +"PARTNER_COST_TYPE_SCIBIDS_FEE" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The cost is charged for using Scope3 (previously known as Adloox). Billed by the partner.", +"The cost is charged for using Scope3 (previously known as Adloox) Pre-Bid. Billed through DV360.", +"The cost is charged for using AdSafe. Billed by the partner.", +"The cost is charged for using AdExpose. Billed by the partner.", +"The cost is charged for using Aggregate Knowledge. Billed by the partner.", +"The cost is charged for using an Agency Trading Desk. Billed by the partner.", +"The cost is charged for using DV360. Billed through DV360.", +"The cost is charged for using comScore vCE. Billed through DV360.", +"The cost is charged for using a Data Management Platform. Billed by the partner.", +"The default cost type. Billed by the partner.", +"The cost is charged for using DoubleVerify. Billed by the partner.", +"The cost is charged for using DoubleVerify Pre-Bid. Billed through DV360.", +"The cost is charged for using Evidon. Billed by the partner.", +"The cost is charged for using Integral Ad Science Video. Billed by the partner.", +"The cost is charged for using Integral Ad Science Pre-Bid. Billed through DV360.", +"The cost is charged for using media cost data. Billed by the partner.", +"The cost is charged for using MOAT Video. Billed by the partner.", +"The cost is charged for using Nielsen Digital Ad Ratings. Billed through DV360.", +"The cost is charged for using ShopLocal. Billed by the partner.", +"The cost is charged for using Teracent. Billed by the partner.", +"The cost is charged for using a third-party ad server. Billed by the partner.", +"The cost is charged for using TrustMetrics. Billed by the partner.", +"The cost is charged for using Vizu. Billed by the partner.", +"The cost is charged for using AdLingo. Billed through DV360.", +"The cost is charged as custom fee 1. Billed by the partner.", +"The cost is charged as custom fee 2. Billed by the partner.", +"The cost is charged as custom fee 3. Billed by the partner.", +"The cost is charged as custom fee 4. Billed by the partner.", +"The cost is charged as custom fee 5. Billed by the partner.", +"The cost is charged for using Scibids. Billed through DV360. This type is currently only available to certain customers. Other customers attempting to use this type will receive an error." +], +"type": "string" +}, +"feeAmount": { +"description": "The CPM fee amount in micros of advertiser's currency. Applicable when the fee_type is `PARTNER_FEE_TYPE_CPM_FEE`. Must be greater than or equal to 0. For example, for 1.5 standard unit of the advertiser's currency, set this field to 1500000.", +"format": "int64", +"type": "string" +}, +"feePercentageMillis": { +"description": "The media fee percentage in millis (1/1000 of a percent). Applicable when the fee_type is `PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0. For example: 100 represents 0.1%.", +"format": "int64", +"type": "string" +}, +"feeType": { +"description": "Required. The fee type for this partner cost.", +"enum": [ +"PARTNER_COST_FEE_TYPE_UNSPECIFIED", +"PARTNER_COST_FEE_TYPE_CPM_FEE", +"PARTNER_COST_FEE_TYPE_MEDIA_FEE" +], +"enumDescriptions": [ +"Value is not specified or is unknown in this version.", +"The partner cost is a fixed CPM fee. Not applicable when the partner cost cost_type is one of: * `PARTNER_COST_TYPE_MEDIA_COST_DATA` * `PARTNER_COST_TYPE_DV360_FEE`.", +"The partner cost is a percentage surcharge based on the media cost. Not applicable when the partner cost_type is one of: * `PARTNER_COST_TYPE_SHOP_LOCAL` * `PARTNER_COST_TYPE_TRUST_METRICS` * `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO` * `PARTNER_COST_TYPE_MOAT_VIDEO`." +], +"type": "string" +}, +"invoiceType": { +"description": "The invoice type for this partner cost. * Required when cost_type is one of: - `PARTNER_COST_TYPE_ADLOOX` - `PARTNER_COST_TYPE_DOUBLE_VERIFY` - `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`. * Output only for other types.", +"enum": [ +"PARTNER_COST_INVOICE_TYPE_UNSPECIFIED", +"PARTNER_COST_INVOICE_TYPE_DV360", +"PARTNER_COST_INVOICE_TYPE_PARTNER" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Partner cost is billed through DV360.", +"Partner cost is billed by the partner." +], +"type": "string" +} +}, +"type": "object" +}, +"PartnerDataAccessConfig": { +"description": "Settings that control how partner related data may be accessed.", +"id": "PartnerDataAccessConfig", +"properties": { +"sdfConfig": { +"$ref": "SdfConfig", +"description": "Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner." +} +}, +"type": "object" +}, +"PartnerGeneralConfig": { +"description": "General settings of a partner.", +"id": "PartnerGeneralConfig", +"properties": { +"currencyCode": { +"description": "Immutable. Partner's currency in ISO 4217 format.", +"type": "string" +}, +"timeZone": { +"description": "Immutable. The standard TZ database name of the partner's time zone. For example, `America/New_York`. See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", +"type": "string" +} +}, +"type": "object" +}, +"PartnerRevenueModel": { +"description": "Settings that control how partner revenue is calculated.", +"id": "PartnerRevenueModel", +"properties": { +"markupAmount": { +"description": "Required. The markup amount of the partner revenue model. Must be greater than or equal to 0. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field represents the CPM markup in micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field represents the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001). * When the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this field represents the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001).", +"format": "int64", +"type": "string" +}, +"markupType": { +"description": "Required. The markup type of the partner revenue model.", +"enum": [ +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP", +"PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Calculate the partner revenue based on a fixed CPM.", +"Calculate the partner revenue based on a percentage surcharge of its media cost.", +"Calculate the partner revenue based on a percentage surcharge of its total media cost, which includes all partner costs and data costs." +], +"type": "string" +} +}, +"type": "object" +}, +"PerformanceGoal": { +"description": "Settings that control the performance goal of a campaign.", +"id": "PerformanceGoal", +"properties": { +"performanceGoalAmountMicros": { +"description": "The goal amount, in micros of the advertiser's currency. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalPercentageMicros": { +"description": "The decimal representation of the goal percentage in micros. Applicable when performance_goal_type is one of: * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` * `PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * `PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000 represents 7% (decimal 0.07).", +"format": "int64", +"type": "string" +}, +"performanceGoalString": { +"description": "A key performance indicator (KPI) string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when performance_goal_type is set to `PERFORMANCE_GOAL_TYPE_OTHER`.", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal.", +"enum": [ +"PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"PERFORMANCE_GOAL_TYPE_CPM", +"PERFORMANCE_GOAL_TYPE_CPC", +"PERFORMANCE_GOAL_TYPE_CPA", +"PERFORMANCE_GOAL_TYPE_CTR", +"PERFORMANCE_GOAL_TYPE_VIEWABILITY", +"PERFORMANCE_GOAL_TYPE_CPIAVC", +"PERFORMANCE_GOAL_TYPE_CPE", +"PERFORMANCE_GOAL_TYPE_CPV", +"PERFORMANCE_GOAL_TYPE_CLICK_CVR", +"PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR", +"PERFORMANCE_GOAL_TYPE_VCPM", +"PERFORMANCE_GOAL_TYPE_VTR", +"PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE", +"PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE", +"PERFORMANCE_GOAL_TYPE_OTHER" +], +"enumDescriptions": [ +"Performance goal type is not specified or is unknown in this version.", +"The performance goal is set in CPM (cost per mille).", +"The performance goal is set in CPC (cost per click).", +"The performance goal is set in CPA (cost per action).", +"The performance goal is set in CTR (click-through rate) percentage.", +"The performance goal is set in Viewability percentage.", +"The performance goal is set as CPIAVC (cost per impression audible and visible at completion).", +"The performance goal is set in CPE (cost per engagement).", +"The performance goal is set in CPV (cost per view).", +"The performance goal is set in click conversion rate (conversions per click) percentage.", +"The performance goal is set in impression conversion rate (conversions per impression) percentage.", +"The performance goal is set in VCPM (cost per thousand viewable impressions).", +"The performance goal is set in YouTube view rate (YouTube views per impression) percentage.", +"The performance goal is set in audio completion rate (complete audio listens per impression) percentage.", +"The performance goal is set in video completion rate (complete video views per impression) percentage.", +"The performance goal is set to Other." +], +"type": "string" +} +}, +"type": "object" +}, +"PerformanceGoalBidStrategy": { +"description": "A strategy that automatically adjusts the bid to meet or beat a specified performance goal.", +"id": "PerformanceGoalBidStrategy", +"properties": { +"customBiddingAlgorithmId": { +"description": "The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. Assigning a custom bidding algorithm that uses floodlight activities not identified in floodlightActivityConfigs will return an error.", +"format": "int64", +"type": "string" +}, +"maxAverageCpmBidAmountMicros": { +"description": "The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or equal to a billable unit of the given currency. Not applicable when performance_goal_type is set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example, 1500000 represents 1.5 standard units of the currency.", +"format": "int64", +"type": "string" +}, +"performanceGoalAmountMicros": { +"description": "Required. The performance goal the bidding strategy will attempt to meet or beat, in micros of the advertiser's currency or in micro of the ROAS (Return On Advertising Spend) value which is also based on advertiser's currency. Must be greater than or equal to a billable unit of the given currency and smaller or equal to upper bounds. Each performance_goal_type has its upper bound: * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, upper bound is 10000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is 1000.00 USD. * when performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`, upper bound is 1000.00 and lower bound is 0.01. Example: If set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price will be based on the probability that each available impression will be viewable. For example, if viewable CPM target is $2 and an impression is 40% likely to be viewable, the bid price will be $0.80 CPM (40% of $2). For example, 1500000 represents 1.5 standard units of the currency or ROAS value.", +"format": "int64", +"type": "string" +}, +"performanceGoalType": { +"description": "Required. The type of the performance goal that the bidding strategy will try to meet or beat. For line item level usage, the value must be one of: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.", +"enum": [ +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", +"BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Cost per action.", +"Cost per click.", +"Viewable CPM.", +"Custom bidding algorithm.", +"Completed inview and audible views.", +"Inview time over 10 secs views.", +"Viewable impressions." +], +"type": "string" +} +}, +"type": "object" +}, +"PoiAssignedTargetingOptionDetails": { +"description": "Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.", +"id": "PoiAssignedTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\", followed by its full address if available.", +"readOnly": true, +"type": "string" +}, +"latitude": { +"description": "Output only. Latitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"longitude": { +"description": "Output only. Longitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"proximityRadiusAmount": { +"description": "Required. The radius of the area around the POI that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. The unit of distance by which the targeting radius is measured.", +"enum": [ +"DISTANCE_UNIT_UNSPECIFIED", +"DISTANCE_UNIT_MILES", +"DISTANCE_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"Miles.", +"Kilometers." +], +"type": "string" +}, +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI`. Accepted POI targeting option IDs can be retrieved using `targetingTypes.targetingOptions.search`. If targeting a specific latitude/longitude coordinate removed from an address or POI name, you can generate the necessary targeting option ID by rounding the desired coordinate values to the 6th decimal place, removing the decimals, and concatenating the string values separated by a semicolon. For example, you can target the latitude/longitude pair of 40.7414691, -74.003387 using the targeting option ID \"40741469;-74003387\". **Upon** **creation, this field value will be updated to append a semicolon and** **alphanumerical hash value if only latitude/longitude coordinates are** **provided.**", +"type": "string" +} +}, +"type": "object" +}, +"PoiSearchTerms": { +"description": "Search terms for POI targeting options.", +"id": "PoiSearchTerms", +"properties": { +"poiQuery": { +"description": "The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. \"Times squar\", \"40.7505045,-73.99562\", \"315 W 44th St\", etc.", +"type": "string" +} +}, +"type": "object" +}, +"PoiTargetingOptionDetails": { +"description": "Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`.", +"id": "PoiTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of a POI(e.g. \"Times Square\", \"Space Needle\"), followed by its full address if available.", +"readOnly": true, +"type": "string" +}, +"latitude": { +"description": "Output only. Latitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +}, +"longitude": { +"description": "Output only. Longitude of the POI rounding to 6th decimal place.", +"format": "double", +"readOnly": true, +"type": "number" +} +}, +"type": "object" +}, +"PrismaConfig": { +"description": "Settings specific to the Mediaocean Prisma tool.", +"id": "PrismaConfig", +"properties": { +"prismaCpeCode": { +"$ref": "PrismaCpeCode", +"description": "Required. Relevant client, product, and estimate codes from the Mediaocean Prisma tool." +}, +"prismaType": { +"description": "Required. The Prisma type.", +"enum": [ +"PRISMA_TYPE_UNSPECIFIED", +"PRISMA_TYPE_DISPLAY", +"PRISMA_TYPE_SEARCH", +"PRISMA_TYPE_VIDEO", +"PRISMA_TYPE_AUDIO", +"PRISMA_TYPE_SOCIAL", +"PRISMA_TYPE_FEE" +], +"enumDescriptions": [ +"Type is not specified or unknown in this version.", +"Display type.", +"Search type.", +"Video type.", +"Audio type.", +"Social type.", +"Fee type." +], +"type": "string" +}, +"supplier": { +"description": "Required. The entity allocated this budget (DSP, site, etc.).", +"type": "string" +} +}, +"type": "object" +}, +"PrismaCpeCode": { +"description": "Google Payments Center supports searching and filtering on the component fields of this code.", +"id": "PrismaCpeCode", +"properties": { +"prismaClientCode": { +"description": "The Prisma client code.", +"type": "string" +}, +"prismaEstimateCode": { +"description": "The Prisma estimate code.", +"type": "string" +}, +"prismaProductCode": { +"description": "The Prisma product code.", +"type": "string" +} +}, +"type": "object" +}, +"ProductFeedData": { +"description": "The details of product feed.", +"id": "ProductFeedData", +"properties": { +"isFeedDisabled": { +"description": "Whether the product feed has opted-out of showing products.", +"type": "boolean" +}, +"productMatchDimensions": { +"description": "A list of dimensions used to match products.", +"items": { +"$ref": "ProductMatchDimension" +}, +"type": "array" +}, +"productMatchType": { +"description": "How products are selected by the product feed.", +"enum": [ +"PRODUCT_MATCH_TYPE_UNSPECIFIED", +"PRODUCT_MATCH_TYPE_ALL_PRODUCTS", +"PRODUCT_MATCH_TYPE_SPECIFIC_PRODUCTS", +"PRODUCT_MATCH_TYPE_CUSTOM_LABEL" +], +"enumDescriptions": [ +"Not specified or unknown.", +"All the products are matched.", +"Specific products are selected.", +"Match products by their custom labels." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductMatchDimension": { +"description": "A dimension used to match products.", +"id": "ProductMatchDimension", +"properties": { +"customLabel": { +"$ref": "CustomLabel", +"description": "The custom label to match all the products with the label." +}, +"productOfferId": { +"description": "The ID of the product offer to match with a product with the same offer ID.", +"type": "string" +} +}, +"type": "object" +}, +"ProximityLocationListAssignedTargetingOptionDetails": { +"description": "Targeting details for proximity location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.", +"id": "ProximityLocationListAssignedTargetingOptionDetails", +"properties": { +"proximityLocationListId": { +"description": "Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.", +"format": "int64", +"type": "string" +}, +"proximityRadius": { +"description": "Required. Radius expressed in the distance units set in proximity_radius_unit. This represents the size of the area around a chosen location that will be targeted. Radius should be between 1 and 500 miles or 800 kilometers.", +"format": "double", +"type": "number" +}, +"proximityRadiusUnit": { +"description": "Required. Radius distance units.", +"enum": [ +"PROXIMITY_RADIUS_UNIT_UNSPECIFIED", +"PROXIMITY_RADIUS_UNIT_MILES", +"PROXIMITY_RADIUS_UNIT_KILOMETERS" +], +"enumDescriptions": [ +"Default value when distance units is not specified in this version. This enum is a place holder for default value and does not represent a real distance unit.", +"Radius distance unit in miles.", +"Radius distance unit in kilometeres" +], +"type": "string" +} +}, +"type": "object" +}, +"PublisherReviewStatus": { +"description": "Publisher review status for the creative.", +"id": "PublisherReviewStatus", +"properties": { +"publisherName": { +"description": "The publisher reviewing the creative.", +"type": "string" +}, +"status": { +"description": "Status of the publisher review.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +} +}, +"type": "object" +}, +"RateDetails": { +"description": "The rate related settings of the inventory source.", +"id": "RateDetails", +"properties": { +"inventorySourceRateType": { +"description": "The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`.", +"enum": [ +"INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED", +"INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", +"INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", +"INVENTORY_SOURCE_RATE_TYPE_CPD", +"INVENTORY_SOURCE_RATE_TYPE_CPH", +"INVENTORY_SOURCE_RATE_TYPE_FLAT" +], +"enumDescriptions": [ +"The rate type is not specified or is unknown in this version.", +"The rate type is CPM (Fixed).", +"The rate type is CPM (Floor).", +"The rate type is Cost per Day.", +"The rate type is Cost per Hour.", +"The rate type is Flat." +], +"type": "string" +}, +"minimumSpend": { +"$ref": "Money", +"description": "Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources.", +"readOnly": true +}, +"rate": { +"$ref": "Money", +"description": "The rate for the inventory source." +}, +"unitsPurchased": { +"description": "Required for guaranteed inventory sources. The number of impressions guaranteed by the seller.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RegionalLocationListAssignedTargetingOptionDetails": { +"description": "Targeting details for regional location list. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.", +"id": "RegionalLocationListAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"regionalLocationListId": { +"description": "Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"RemarketingConfig": { +"description": "Settings that control the whether remarketing is enabled for the given identified advertiser.", +"id": "RemarketingConfig", +"properties": { +"advertiserId": { +"description": "Output only. The ID of the advertiser.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"remarketingEnabled": { +"description": "Output only. Whether the Floodlight activity remarketing user list is available to the identified advertiser.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"ReplaceNegativeKeywordsRequest": { +"description": "Request message for NegativeKeywordService.ReplaceNegativeKeywords.", +"id": "ReplaceNegativeKeywordsRequest", +"properties": { +"newNegativeKeywords": { +"description": "The negative keywords that will replace the existing keywords in the negative keyword list, specified as a list of NegativeKeywords.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplaceNegativeKeywordsResponse": { +"description": "Response message for NegativeKeywordService.ReplaceNegativeKeywords.", +"id": "ReplaceNegativeKeywordsResponse", +"properties": { +"negativeKeywords": { +"description": "The full list of negative keywords now present in the negative keyword list.", +"items": { +"$ref": "NegativeKeyword" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReplaceSitesRequest": { +"description": "Request message for SiteService.ReplaceSites.", +"id": "ReplaceSitesRequest", +"properties": { +"advertiserId": { +"description": "The ID of the advertiser that owns the parent channel.", +"format": "int64", +"type": "string" +}, +"newSites": { +"description": "The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.", +"items": { +"$ref": "Site" +}, +"type": "array" +}, +"partnerId": { +"description": "The ID of the partner that owns the parent channel.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReplaceSitesResponse": { +"description": "Response message for SiteService.ReplaceSites.", +"id": "ReplaceSitesResponse", +"properties": { +"sites": { +"description": "The list of sites in the channel after replacing.", +"items": { +"$ref": "Site" +}, +"type": "array" +} +}, +"type": "object" +}, +"ReviewStatusInfo": { +"description": "Review statuses for the creative.", +"id": "ReviewStatusInfo", +"properties": { +"approvalStatus": { +"description": "Represents the basic approval needed for a creative to begin serving. Summary of creative_and_landing_page_review_status and content_and_policy_review_status.", +"enum": [ +"APPROVAL_STATUS_UNSPECIFIED", +"APPROVAL_STATUS_PENDING_NOT_SERVABLE", +"APPROVAL_STATUS_PENDING_SERVABLE", +"APPROVAL_STATUS_APPROVED_SERVABLE", +"APPROVAL_STATUS_REJECTED_NOT_SERVABLE" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is still under review and not servable.", +"The creative has passed creative & landing page review and is servable, but is awaiting additional content & policy review.", +"Both creative & landing page review and content & policy review are approved. The creative is servable.", +"There is an issue with the creative that must be fixed before it can serve." +], +"type": "string" +}, +"contentAndPolicyReviewStatus": { +"description": "Content and policy review status for the creative.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +}, +"creativeAndLandingPageReviewStatus": { +"description": "Creative and landing page review status for the creative.", +"enum": [ +"REVIEW_STATUS_UNSPECIFIED", +"REVIEW_STATUS_APPROVED", +"REVIEW_STATUS_REJECTED", +"REVIEW_STATUS_PENDING" +], +"enumDescriptions": [ +"Type value is not specified or is unknown in this version.", +"The creative is approved.", +"The creative is rejected.", +"The creative is pending review." +], +"type": "string" +}, +"exchangeReviewStatuses": { +"description": "Exchange review statuses for the creative.", +"items": { +"$ref": "ExchangeReviewStatus" +}, +"type": "array" +}, +"publisherReviewStatuses": { +"deprecated": true, +"description": "Publisher review statuses for the creative.", +"items": { +"$ref": "PublisherReviewStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"ScriptError": { +"description": "An error message for a custom bidding script.", +"id": "ScriptError", +"properties": { +"column": { +"description": "The column number in the script where the error was thrown.", +"format": "int64", +"type": "string" +}, +"errorCode": { +"description": "The type of error.", +"enum": [ +"ERROR_CODE_UNSPECIFIED", +"SYNTAX_ERROR", +"DEPRECATED_SYNTAX", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"The script error is not specified or is unknown in this version.", +"The script has a syntax error.", +"The script uses deprecated syntax.", +"Internal errors were thrown while processing the script." +], +"type": "string" +}, +"errorMessage": { +"description": "The detailed error message.", +"type": "string" +}, +"line": { +"description": "The line number in the script where the error was thrown.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SdfConfig": { +"description": "Structured Data File (SDF) related settings.", +"id": "SdfConfig", +"properties": { +"adminEmail": { +"description": "An administrator email address to which the SDF processing status reports will be sent.", +"type": "string" +}, +"version": { +"description": "Required. The version of SDF being used.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"SdfDownloadTask": { +"description": "Type for the response returned by SdfDownloadTaskService.CreateSdfDownloadTask.", +"id": "SdfDownloadTask", +"properties": { +"resourceName": { +"description": "A resource name to be used in media.download to Download the prepared files. Resource names have the format `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made available by the long running operation service once the task status is done.", +"type": "string" +} +}, +"type": "object" +}, +"SdfDownloadTaskMetadata": { +"description": "Type for the metadata returned by SdfDownloadTaskService.CreateSdfDownloadTask.", +"id": "SdfDownloadTaskMetadata", +"properties": { +"createTime": { +"description": "The time when the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time when execution was completed.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"description": "The SDF version used to execute this download task.", +"enum": [ +"SDF_VERSION_UNSPECIFIED", +"SDF_VERSION_3_1", +"SDF_VERSION_4", +"SDF_VERSION_4_1", +"SDF_VERSION_4_2", +"SDF_VERSION_5", +"SDF_VERSION_5_1", +"SDF_VERSION_5_2", +"SDF_VERSION_5_3", +"SDF_VERSION_5_4", +"SDF_VERSION_5_5", +"SDF_VERSION_6", +"SDF_VERSION_7", +"SDF_VERSION_7_1", +"SDF_VERSION_8", +"SDF_VERSION_8_1", +"SDF_VERSION_9", +"SDF_VERSION_9_1", +"SDF_VERSION_9_2" +], +"enumDeprecated": [ +false, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +true, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"SDF version value is not specified or is unknown in this version.", +"SDF version 3.1", +"SDF version 4", +"SDF version 4.1", +"SDF version 4.2", +"SDF version 5.", +"SDF version 5.1", +"SDF version 5.2", +"SDF version 5.3", +"SDF version 5.4", +"SDF version 5.5", +"SDF version 6", +"SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", +"SDF version 8. Read the [v8 migration guide](/display-video/api/structured-data-file/v8-migration-guide) before migrating to this version.", +"SDF version 8.1.", +"SDF version 9. Read the [v9 migration guide](/display-video/api/structured-data-file/v9-migration-guide) before migrating to this version.", +"SDF version 9.1.", +"SDF version 9.2." +], +"type": "string" +} +}, +"type": "object" +}, +"SearchTargetingOptionsRequest": { +"description": "Request message for SearchTargetingOptions.", +"id": "SearchTargetingOptionsRequest", +"properties": { +"advertiserId": { +"description": "Required. The Advertiser this request is being made in the context of.", +"format": "int64", +"type": "string" +}, +"businessChainSearchTerms": { +"$ref": "BusinessChainSearchTerms", +"description": "Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`." +}, +"geoRegionSearchTerms": { +"$ref": "GeoRegionSearchTerms", +"description": "Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`." +}, +"pageSize": { +"description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the first page of results will be returned.", +"type": "string" +}, +"poiSearchTerms": { +"$ref": "PoiSearchTerms", +"description": "Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`." +} +}, +"type": "object" +}, +"SearchTargetingOptionsResponse": { +"description": "Response message for SearchTargetingOptions.", +"id": "SearchTargetingOptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `SearchTargetingOptions` method to retrieve the next page of results.", +"type": "string" +}, +"targetingOptions": { +"description": "The list of targeting options that match the search criteria. This list will be absent if empty.", +"items": { +"$ref": "TargetingOption" +}, +"type": "array" +} +}, +"type": "object" +}, +"SensitiveCategoryAssignedTargetingOptionDetails": { +"description": "Targeting details for sensitive category. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", +"id": "SensitiveCategoryAssignedTargetingOptionDetails", +"properties": { +"excludedSensitiveCategory": { +"description": "Required. An enum for the DV360 Sensitive category content classified to be EXCLUDED.", +"enum": [ +"SENSITIVE_CATEGORY_UNSPECIFIED", +"SENSITIVE_CATEGORY_ADULT", +"SENSITIVE_CATEGORY_DEROGATORY", +"SENSITIVE_CATEGORY_DOWNLOADS_SHARING", +"SENSITIVE_CATEGORY_WEAPONS", +"SENSITIVE_CATEGORY_GAMBLING", +"SENSITIVE_CATEGORY_VIOLENCE", +"SENSITIVE_CATEGORY_SUGGESTIVE", +"SENSITIVE_CATEGORY_PROFANITY", +"SENSITIVE_CATEGORY_ALCOHOL", +"SENSITIVE_CATEGORY_DRUGS", +"SENSITIVE_CATEGORY_TOBACCO", +"SENSITIVE_CATEGORY_POLITICS", +"SENSITIVE_CATEGORY_RELIGION", +"SENSITIVE_CATEGORY_TRAGEDY", +"SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", +"SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", +"SENSITIVE_CATEGORY_SHOCKING", +"SENSITIVE_CATEGORY_EMBEDDED_VIDEO", +"SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" +], +"enumDescriptions": [ +"This enum is only a placeholder and doesn't specify a DV360 sensitive category.", +"Adult or pornographic text, image, or video content.", +"Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", +"Content related to audio, video, or software downloads.", +"Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", +"Contains content related to betting or wagering in a real-world or online setting.", +"Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", +"Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", +"Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", +"Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", +"Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", +"Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", +"Political news and media, including discussions of social, governmental, and public policy.", +"Content related to religious thought or beliefs.", +"Content related to death, disasters, accidents, war, etc.", +"Content related to motor vehicle, aviation or other transportation accidents.", +"Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", +"Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", +"YouTube videos embedded on websites outside of YouTube.com.", +"Video of live events streamed over the internet." +], +"type": "string" +} +}, +"type": "object" +}, +"SensitiveCategoryTargetingOptionDetails": { +"description": "Represents a targetable sensitive category. This will be populated in the sensitive_category_details field of the TargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.", +"id": "SensitiveCategoryTargetingOptionDetails", +"properties": { +"sensitiveCategory": { +"description": "Output only. An enum for the DV360 Sensitive category content classifier.", +"enum": [ +"SENSITIVE_CATEGORY_UNSPECIFIED", +"SENSITIVE_CATEGORY_ADULT", +"SENSITIVE_CATEGORY_DEROGATORY", +"SENSITIVE_CATEGORY_DOWNLOADS_SHARING", +"SENSITIVE_CATEGORY_WEAPONS", +"SENSITIVE_CATEGORY_GAMBLING", +"SENSITIVE_CATEGORY_VIOLENCE", +"SENSITIVE_CATEGORY_SUGGESTIVE", +"SENSITIVE_CATEGORY_PROFANITY", +"SENSITIVE_CATEGORY_ALCOHOL", +"SENSITIVE_CATEGORY_DRUGS", +"SENSITIVE_CATEGORY_TOBACCO", +"SENSITIVE_CATEGORY_POLITICS", +"SENSITIVE_CATEGORY_RELIGION", +"SENSITIVE_CATEGORY_TRAGEDY", +"SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS", +"SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES", +"SENSITIVE_CATEGORY_SHOCKING", +"SENSITIVE_CATEGORY_EMBEDDED_VIDEO", +"SENSITIVE_CATEGORY_LIVE_STREAMING_VIDEO" +], +"enumDescriptions": [ +"This enum is only a placeholder and doesn't specify a DV360 sensitive category.", +"Adult or pornographic text, image, or video content.", +"Content that may be construed as biased against individuals, groups, or organizations based on criteria such as race, religion, disability, sex, age, veteran status, sexual orientation, gender identity, or political affiliation. May also indicate discussion of such content, for instance, in an academic or journalistic context.", +"Content related to audio, video, or software downloads.", +"Contains content related to personal weapons, including knives, guns, small firearms, and ammunition. Selecting either \"weapons\" or \"sensitive social issues\" will result in selecting both.", +"Contains content related to betting or wagering in a real-world or online setting.", +"Content which may be considered graphically violent, gory, gruesome, or shocking, such as street fighting videos, accident photos, descriptions of torture, etc.", +"Adult content, as well as suggestive content that's not explicitly pornographic. This category includes all pages categorized as adult.", +"Prominent use of words considered indecent, such as curse words and sexual slang. Pages with only very occasional usage, such as news sites that might include such words in a quotation, are not included.", +"Contains content related to alcoholic beverages, alcohol brands, recipes, etc.", +"Contains content related to the recreational use of legal or illegal drugs, as well as to drug paraphernalia or cultivation.", +"Contains content related to tobacco and tobacco accessories, including lighters, humidors, ashtrays, etc.", +"Political news and media, including discussions of social, governmental, and public policy.", +"Content related to religious thought or beliefs.", +"Content related to death, disasters, accidents, war, etc.", +"Content related to motor vehicle, aviation or other transportation accidents.", +"Issues that evoke strong, opposing views and spark debate. These include issues that are controversial in most countries and markets (such as abortion), as well as those that are controversial in specific countries and markets (such as immigration reform in the United States).", +"Content which may be considered shocking or disturbing, such as violent news stories, stunts, or toilet humor.", +"YouTube videos embedded on websites outside of YouTube.com.", +"Video of live events streamed over the internet." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SessionPositionAssignedTargetingOptionDetails": { +"description": "Details for session position assigned targeting option. This will be populated in the session_position_details field when targeting_type is `TARGETING_TYPE_SESSION_POSITION`.", +"id": "SessionPositionAssignedTargetingOptionDetails", +"properties": { +"sessionPosition": { +"description": "The position where the ad will show in a session.", +"enum": [ +"SESSION_POSITION_UNSPECIFIED", +"SESSION_POSITION_FIRST_IMPRESSION" +], +"enumDescriptions": [ +"This is a placeholder, does not indicate any positions.", +"The first impression of the session." +], +"type": "string" +} +}, +"type": "object" +}, +"Site": { +"description": "A single site. Sites are apps or websites belonging to a channel.", +"id": "Site", +"properties": { +"name": { +"description": "Output only. The resource name of the site.", +"readOnly": true, +"type": "string" +}, +"urlOrAppId": { +"description": "Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SubExchangeAssignedTargetingOptionDetails": { +"description": "Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", +"id": "SubExchangeAssignedTargetingOptionDetails", +"properties": { +"targetingOptionId": { +"description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.", +"type": "string" +} +}, +"type": "object" +}, +"SubExchangeTargetingOptionDetails": { +"description": "Represents a targetable sub-exchange. This will be populated in the sub_exchange_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.", +"id": "SubExchangeTargetingOptionDetails", +"properties": { +"displayName": { +"description": "Output only. The display name of the sub-exchange.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TargetFrequency": { +"description": "Setting that controls the average number of times the ads will show to the same person over a certain period of time.", +"id": "TargetFrequency", +"properties": { +"targetCount": { +"description": "The target number of times, on average, the ads will be shown to the same person in the timespan dictated by time_unit and time_unit_count.", +"format": "int64", +"type": "string" +}, +"timeUnit": { +"description": "The unit of time in which the target frequency will be applied. The following time unit is applicable: * `TIME_UNIT_WEEKS`", +"enum": [ +"TIME_UNIT_UNSPECIFIED", +"TIME_UNIT_LIFETIME", +"TIME_UNIT_MONTHS", +"TIME_UNIT_WEEKS", +"TIME_UNIT_DAYS", +"TIME_UNIT_HOURS", +"TIME_UNIT_MINUTES" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Time unit value is not specified or is unknown in this version.", +"The frequency cap will be applied to the whole life time of the line item.", +"The frequency cap will be applied to a number of months.", +"The frequency cap will be applied to a number of weeks.", +"The frequency cap will be applied to a number of days.", +"The frequency cap will be applied to a number of hours.", +"The frequency cap will be applied to a number of minutes." +], +"type": "string" +}, +"timeUnitCount": { +"description": "The number of time_unit the target frequency will last. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_WEEKS` - must be 1", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TargetingExpansionConfig": { +"description": "Settings that control the [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item.", +"id": "TargetingExpansionConfig", +"properties": { +"audienceExpansionLevel": { +"description": "Output only. Magnitude of expansion for eligible first-party user lists under this ad group. This field only applies to YouTube and Partners line item and ad group resources.", +"enum": [ +"UNKNOWN", +"NO_REACH", +"LEAST_REACH", +"MID_REACH", +"MOST_REACH" +], +"enumDescriptions": [ +"Audience expansion level is not specified or is unknown in this version.", +"Audience expansion off.", +"Conservative audience expansion.", +"Moderate audience expansion.", +"Aggressive audience expansion." +], +"readOnly": true, +"type": "string" +}, +"audienceExpansionSeedListExcluded": { +"description": "Output only. Whether to exclude seed list for audience expansion. This field only applies to YouTube and Partners line item and ad group resources.", +"readOnly": true, +"type": "boolean" +}, +"enableOptimizedTargeting": { +"description": "Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using the BiddingStrategy field fixed_bid or one of the following combinations of BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in an error: maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` This also applies if the line item inherits one of the above bid strategies from the parent insertion order. Bid strategies set at the insertion order-level will be inherited by their line items if the `InsertionOrder` budget field automationType is set to `INSERTION_ORDER_AUTOMATION_TYPE_BUDGET` or `INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET`.", +"type": "boolean" +} +}, +"type": "object" +}, +"TargetingOption": { +"description": "Represents a single targeting option, which is a targetable concept in DV360.", +"id": "TargetingOption", +"properties": { +"ageRangeDetails": { +"$ref": "AgeRangeTargetingOptionDetails", +"description": "Age range details." +}, +"appCategoryDetails": { +"$ref": "AppCategoryTargetingOptionDetails", +"description": "App category details." +}, +"audioContentTypeDetails": { +"$ref": "AudioContentTypeTargetingOptionDetails", +"description": "Audio content type details." +}, +"authorizedSellerStatusDetails": { +"$ref": "AuthorizedSellerStatusTargetingOptionDetails", +"description": "Authorized seller status resource details." +}, +"browserDetails": { +"$ref": "BrowserTargetingOptionDetails", +"description": "Browser details." +}, +"businessChainDetails": { +"$ref": "BusinessChainTargetingOptionDetails", +"description": "Business chain resource details." +}, +"carrierAndIspDetails": { +"$ref": "CarrierAndIspTargetingOptionDetails", +"description": "Carrier and ISP details." +}, +"categoryDetails": { +"$ref": "CategoryTargetingOptionDetails", +"description": "Category resource details." +}, +"contentDurationDetails": { +"$ref": "ContentDurationTargetingOptionDetails", +"description": "Content duration resource details." +}, +"contentGenreDetails": { +"$ref": "ContentGenreTargetingOptionDetails", +"description": "Content genre resource details." +}, +"contentInstreamPositionDetails": { +"$ref": "ContentInstreamPositionTargetingOptionDetails", +"description": "Content instream position details." +}, +"contentOutstreamPositionDetails": { +"$ref": "ContentOutstreamPositionTargetingOptionDetails", +"description": "Content outstream position details." +}, +"contentStreamTypeDetails": { +"$ref": "ContentStreamTypeTargetingOptionDetails", +"description": "Content stream type resource details." +}, +"contentThemeDetails": { +"$ref": "ContentThemeTargetingOptionDetails", +"description": "Content theme details." +}, +"deviceMakeModelDetails": { +"$ref": "DeviceMakeModelTargetingOptionDetails", +"description": "Device make and model resource details." +}, +"deviceTypeDetails": { +"$ref": "DeviceTypeTargetingOptionDetails", +"description": "Device type details." +}, +"digitalContentLabelDetails": { +"$ref": "DigitalContentLabelTargetingOptionDetails", +"description": "Digital content label details." +}, +"environmentDetails": { +"$ref": "EnvironmentTargetingOptionDetails", +"description": "Environment details." +}, +"exchangeDetails": { +"$ref": "ExchangeTargetingOptionDetails", +"description": "Exchange details." +}, +"genderDetails": { +"$ref": "GenderTargetingOptionDetails", +"description": "Gender details." +}, +"geoRegionDetails": { +"$ref": "GeoRegionTargetingOptionDetails", +"description": "Geographic region resource details." +}, +"householdIncomeDetails": { +"$ref": "HouseholdIncomeTargetingOptionDetails", +"description": "Household income details." +}, +"languageDetails": { +"$ref": "LanguageTargetingOptionDetails", +"description": "Language resource details." +}, +"name": { +"description": "Output only. The resource name for this targeting option.", +"readOnly": true, +"type": "string" +}, +"nativeContentPositionDetails": { +"$ref": "NativeContentPositionTargetingOptionDetails", +"description": "Native content position details." +}, +"omidDetails": { +"$ref": "OmidTargetingOptionDetails", +"description": "Open Measurement enabled inventory details." +}, +"onScreenPositionDetails": { +"$ref": "OnScreenPositionTargetingOptionDetails", +"description": "On screen position details." +}, +"operatingSystemDetails": { +"$ref": "OperatingSystemTargetingOptionDetails", +"description": "Operating system resources details." +}, +"parentalStatusDetails": { +"$ref": "ParentalStatusTargetingOptionDetails", +"description": "Parental status details." +}, +"poiDetails": { +"$ref": "PoiTargetingOptionDetails", +"description": "POI resource details." +}, +"sensitiveCategoryDetails": { +"$ref": "SensitiveCategoryTargetingOptionDetails", +"description": "Sensitive Category details." +}, +"subExchangeDetails": { +"$ref": "SubExchangeTargetingOptionDetails", +"description": "Sub-exchange details." +}, +"targetingOptionId": { +"description": "Output only. A unique identifier for this targeting option. The tuple {`targeting_type`, `targeting_option_id`} will be unique.", +"readOnly": true, +"type": "string" +}, +"targetingType": { +"description": "Output only. The type of this targeting option.", +"enum": [ +"TARGETING_TYPE_UNSPECIFIED", +"TARGETING_TYPE_CHANNEL", +"TARGETING_TYPE_APP_CATEGORY", +"TARGETING_TYPE_APP", +"TARGETING_TYPE_URL", +"TARGETING_TYPE_DAY_AND_TIME", +"TARGETING_TYPE_AGE_RANGE", +"TARGETING_TYPE_REGIONAL_LOCATION_LIST", +"TARGETING_TYPE_PROXIMITY_LOCATION_LIST", +"TARGETING_TYPE_GENDER", +"TARGETING_TYPE_VIDEO_PLAYER_SIZE", +"TARGETING_TYPE_USER_REWARDED_CONTENT", +"TARGETING_TYPE_PARENTAL_STATUS", +"TARGETING_TYPE_CONTENT_INSTREAM_POSITION", +"TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", +"TARGETING_TYPE_DEVICE_TYPE", +"TARGETING_TYPE_AUDIENCE_GROUP", +"TARGETING_TYPE_BROWSER", +"TARGETING_TYPE_HOUSEHOLD_INCOME", +"TARGETING_TYPE_ON_SCREEN_POSITION", +"TARGETING_TYPE_THIRD_PARTY_VERIFIER", +"TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", +"TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", +"TARGETING_TYPE_ENVIRONMENT", +"TARGETING_TYPE_CARRIER_AND_ISP", +"TARGETING_TYPE_OPERATING_SYSTEM", +"TARGETING_TYPE_DEVICE_MAKE_MODEL", +"TARGETING_TYPE_KEYWORD", +"TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", +"TARGETING_TYPE_VIEWABILITY", +"TARGETING_TYPE_CATEGORY", +"TARGETING_TYPE_INVENTORY_SOURCE", +"TARGETING_TYPE_LANGUAGE", +"TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", +"TARGETING_TYPE_GEO_REGION", +"TARGETING_TYPE_INVENTORY_SOURCE_GROUP", +"TARGETING_TYPE_EXCHANGE", +"TARGETING_TYPE_SUB_EXCHANGE", +"TARGETING_TYPE_POI", +"TARGETING_TYPE_BUSINESS_CHAIN", +"TARGETING_TYPE_CONTENT_DURATION", +"TARGETING_TYPE_CONTENT_STREAM_TYPE", +"TARGETING_TYPE_NATIVE_CONTENT_POSITION", +"TARGETING_TYPE_OMID", +"TARGETING_TYPE_AUDIO_CONTENT_TYPE", +"TARGETING_TYPE_CONTENT_GENRE", +"TARGETING_TYPE_YOUTUBE_VIDEO", +"TARGETING_TYPE_YOUTUBE_CHANNEL", +"TARGETING_TYPE_SESSION_POSITION", +"TARGETING_TYPE_CONTENT_THEME_EXCLUSION" +], +"enumDescriptions": [ +"Default value when type is not specified or is unknown in this version.", +"Target a channel (a custom group of related websites or apps).", +"Target an app category (for example, education or puzzle games).", +"Target a specific app (for example, Angry Birds).", +"Target a specific url (for example, quora.com).", +"Target ads during a chosen time period on a specific day.", +"Target ads to a specific age range (for example, 18-24).", +"Target ads to the specified regions on a regional location list.", +"Target ads to the specified points of interest on a proximity location list.", +"Target ads to a specific gender (for example, female or male).", +"Target a specific video player size for video ads.", +"Target user rewarded content for video ads.", +"Target ads to a specific parental status (for example, parent or not a parent).", +"Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).", +"Target ads in a specific content outstream position.", +"Target ads to a specific device type (for example, tablet or connected TV).", +"Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.", +"Target ads to specific web browsers (for example, Chrome).", +"Target ads to a specific household income range (for example, top 10%).", +"Target ads in a specific on screen position.", +"Filter web sites through third party verification (for example, IAS or DoubleVerify).", +"Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).", +"Filter website content by sensitive categories (for example, adult).", +"Target ads to a specific environment (for example, web or app).", +"Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).", +"Target ads to a specific operating system (for example, macOS).", +"Target ads to a specific device make or model (for example, Roku or Samsung).", +"Target ads to a specific keyword (for example, dog or retriever).", +"Target ads to a specific negative keyword list.", +"Target ads to a specific viewability (for example, 80% viewable).", +"Target ads to a specific content category (for example, arts & entertainment).", +"Purchase impressions from specific deals and auction packages.", +"Target ads to a specific language (for example, English or Japanese).", +"Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.", +"Target ads to a specific regional location (for example, a city or state).", +"Purchase impressions from a group of deals and auction packages.", +"Purchase impressions from specific exchanges.", +"Purchase impressions from specific sub-exchanges.", +"Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.", +"Target ads around locations of a business chain within a specific geo region.", +"Target ads to a specific video content duration.", +"Target ads to a specific video content stream type.", +"Target ads to a specific native content position.", +"Target ads in an Open Measurement enabled inventory.", +"Target ads to a specific audio content type.", +"Target ads to a specific content genre.", +"Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.", +"Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API.", +"Filter website content by content themes (for example, religion). Only supported for Advertiser resources. Targeting of this type cannot be created or updated using the API. This targeting is only inherited by child YouTube and Demand Gen line item resources." +], +"readOnly": true, +"type": "string" +}, +"userRewardedContentDetails": { +"$ref": "UserRewardedContentTargetingOptionDetails", +"description": "User rewarded content details." +}, +"videoPlayerSizeDetails": { +"$ref": "VideoPlayerSizeTargetingOptionDetails", +"description": "Video player size details." +}, +"viewabilityDetails": { +"$ref": "ViewabilityTargetingOptionDetails", +"description": "Viewability resource details." +} +}, +"type": "object" +}, +"ThirdPartyMeasurementConfigs": { +"description": "Settings that control what third-party vendors are measuring specific line item metrics.", +"id": "ThirdPartyMeasurementConfigs", +"properties": { +"brandLiftVendorConfigs": { +"description": "Optional. The third-party vendors measuring brand lift. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_DYNATA` * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_INTAGE` * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_MACROMILL`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"brandSafetyVendorConfigs": { +"description": "Optional. The third-party vendors measuring brand safety. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_ZERF` * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_ZEFR`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"reachVendorConfigs": { +"description": "Optional. The third-party vendors measuring reach. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * `THIRD_PARTY_VENDOR_VIDEO_RESEARCH` * `THIRD_PARTY_VENDOR_MEDIA_SCOPE` * `THIRD_PARTY_VENDOR_AUDIENCE_PROJECT` * `THIRD_PARTY_VENDOR_VIDEO_AMP` * `THIRD_PARTY_VENDOR_ISPOT_TV`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +}, +"viewabilityVendorConfigs": { +"description": "Optional. The third-party vendors measuring viewability. The following third-party vendors are applicable: * `THIRD_PARTY_VENDOR_MOAT` * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL`", +"items": { +"$ref": "ThirdPartyVendorConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"ThirdPartyOnlyConfig": { +"description": "Settings for advertisers that use third-party ad servers only.", +"id": "ThirdPartyOnlyConfig", +"properties": { +"pixelOrderIdReportingEnabled": { +"description": "Whether or not order ID reporting for pixels is enabled. This value cannot be changed once set to `true`.", +"type": "boolean" +} +}, +"type": "object" +}, +"ThirdPartyUrl": { +"description": "Tracking URLs from third parties to track interactions with an audio or a video creative.", +"id": "ThirdPartyUrl", +"properties": { +"type": { +"description": "Optional. The type of interaction needs to be tracked by the tracking URL", +"enum": [ +"THIRD_PARTY_URL_TYPE_UNSPECIFIED", +"THIRD_PARTY_URL_TYPE_IMPRESSION", +"THIRD_PARTY_URL_TYPE_CLICK_TRACKING", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP", +"THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS" +], +"enumDescriptions": [ +"The type of third-party URL is unspecified or is unknown in this version.", +"Used to count impressions of the creative after the audio or video buffering is complete.", +"Used to track user clicks on the audio or video.", +"Used to track the number of times a user starts the audio or video.", +"Used to track the number of times the audio or video plays to 25% of its length.", +"Used to track the number of times the audio or video plays to 50% of its length.", +"Used to track the number of times the audio or video plays to 75% of its length.", +"Used to track the number of times the audio or video plays to the end.", +"Used to track the number of times a user mutes the audio or video.", +"Used to track the number of times a user pauses the audio or video.", +"Used to track the number of times a user replays the audio or video.", +"Used to track the number of times a user expands the player to full-screen size.", +"Used to track the number of times a user stops the audio or video.", +"Used to track the number of times a user performs a custom click, such as clicking on a video hot spot.", +"Used to track the number of times the audio or video was skipped.", +"Used to track the number of times the audio or video plays to an offset determined by the progress_offset." +], +"type": "string" +}, +"url": { +"description": "Optional. Tracking URL used to track the interaction. Provide a URL with optional path or query string, beginning with `https:`. For example, `https://www.example.com/path`", +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyVendorConfig": { +"description": "Settings that control how third-party measurement vendors are configured.", +"id": "ThirdPartyVendorConfig", +"properties": { +"placementId": { +"description": "The ID used by the platform of the third-party vendor to identify the line item.", +"type": "string" +}, +"vendor": { +"description": "The third-party measurement vendor.", +"enum": [ +"THIRD_PARTY_VENDOR_UNSPECIFIED", +"THIRD_PARTY_VENDOR_MOAT", +"THIRD_PARTY_VENDOR_DOUBLE_VERIFY", +"THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE", +"THIRD_PARTY_VENDOR_COMSCORE", +"THIRD_PARTY_VENDOR_TELEMETRY", +"THIRD_PARTY_VENDOR_MEETRICS", +"THIRD_PARTY_VENDOR_ZEFR", +"THIRD_PARTY_VENDOR_NIELSEN", +"THIRD_PARTY_VENDOR_KANTAR", +"THIRD_PARTY_VENDOR_DYNATA", +"THIRD_PARTY_VENDOR_TRANSUNION" +], +"enumDescriptions": [ +"Unknown third-party vendor.", +"Moat.", +"DoubleVerify.", +"Integral Ad Science.", +"Comscore.", +"Telemetry.", +"Meetrics.", +"ZEFR.", +"Nielsen.", +"Kantar.", +"Dynata.", +"Transunion." +], +"type": "string" +} +}, +"type": "object" +}, +"ThirdPartyVerifierAssignedTargetingOptionDetails": { +"description": "Assigned third party verifier targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.", +"id": "ThirdPartyVerifierAssignedTargetingOptionDetails", +"properties": { +"adloox": { +"$ref": "Adloox", +"description": "Third party brand verifier -- Scope3 (previously known as Adloox)." +}, +"doubleVerify": { +"$ref": "DoubleVerify", +"description": "Third party brand verifier -- DoubleVerify." +}, +"integralAdScience": { +"$ref": "IntegralAdScience", +"description": "Third party brand verifier -- Integral Ad Science." +} +}, +"type": "object" +}, +"TimeRange": { +"description": "A time range.", +"id": "TimeRange", +"properties": { +"endTime": { +"description": "Required. The upper bound of a time range, inclusive.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Required. The lower bound of a time range, inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TimerEvent": { +"description": "Timer event of the creative.", +"id": "TimerEvent", +"properties": { +"name": { +"description": "Required. The name of the timer event.", +"type": "string" +}, +"reportingName": { +"description": "Required. The name used to identify this timer event in reports.", +"type": "string" +} +}, +"type": "object" +}, +"TrackingFloodlightActivityConfig": { +"description": "Settings that control the behavior of a single Floodlight activity config.", +"id": "TrackingFloodlightActivityConfig", +"properties": { +"floodlightActivityId": { +"description": "Required. The ID of the Floodlight activity.", +"format": "int64", +"type": "string" +}, +"postClickLookbackWindowDays": { +"description": "Required. The number of days after an ad has been clicked in which a conversion may be counted. Must be between 0 and 90 inclusive.", +"format": "int32", +"type": "integer" +}, +"postViewLookbackWindowDays": { +"description": "Required. The number of days after an ad has been viewed in which a conversion may be counted. Must be between 0 and 90 inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Transcode": { +"description": "Represents information about the transcoded audio or video file.", +"id": "Transcode", +"properties": { +"audioBitRateKbps": { +"description": "Optional. The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in kilobits per second.", +"format": "int64", +"type": "string" +}, +"audioSampleRateHz": { +"description": "Optional. The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, in hertz.", +"format": "int64", +"type": "string" +}, +"bitRateKbps": { +"description": "Optional. The transcoding bit rate of the transcoded video, in kilobits per second.", +"format": "int64", +"type": "string" +}, +"dimensions": { +"$ref": "Dimensions", +"description": "Optional. The dimensions of the transcoded video." +}, +"fileSizeBytes": { +"description": "Optional. The size of the transcoded file, in bytes.", +"format": "int64", +"type": "string" +}, +"frameRate": { +"description": "Optional. The frame rate of the transcoded video, in frames per second.", +"format": "float", +"type": "number" +}, +"mimeType": { +"description": "Optional. The MIME type of the transcoded file.", +"type": "string" +}, +"name": { +"description": "Optional. The name of the transcoded file.", +"type": "string" +}, +"transcoded": { +"description": "Optional. Indicates if the transcoding was successful.", +"type": "boolean" +} +}, +"type": "object" +}, +"UniversalAdId": { +"description": "A creative identifier provided by a registry that is unique across all platforms. This is part of the VAST 4.0 standard.", +"id": "UniversalAdId", +"properties": { +"id": { +"description": "Optional. The unique creative identifier.", +"type": "string" +}, +"registry": { +"description": "Optional. The registry provides unique creative identifiers.", +"enum": [ +"UNIVERSAL_AD_REGISTRY_UNSPECIFIED", +"UNIVERSAL_AD_REGISTRY_OTHER", +"UNIVERSAL_AD_REGISTRY_AD_ID", +"UNIVERSAL_AD_REGISTRY_CLEARCAST", +"UNIVERSAL_AD_REGISTRY_DV360", +"UNIVERSAL_AD_REGISTRY_CM" +], +"enumDescriptions": [ +"The Universal Ad registry is unspecified or is unknown in this version.", +"Use a custom provider to provide the Universal Ad ID.", +"Use Ad-ID to provide the Universal Ad ID.", +"Use clearcast.co.uk to provide the Universal Ad ID.", +"Use Display & Video 360 to provide the Universal Ad ID.", +"Use Campaign Manager 360 to provide the Universal Ad ID." +], +"type": "string" +} +}, +"type": "object" +}, +"UrlAssignedTargetingOptionDetails": { +"description": "Details for assigned URL targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`.", +"id": "UrlAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"url": { +"description": "Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for example `five.four.three.two.one.example.com`.", +"type": "string" +} +}, +"type": "object" +}, +"User": { +"description": "A single user in Display & Video 360.", +"id": "User", +"properties": { +"assignedUserRoles": { +"description": "The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through BulkEditAssignedUserRoles.", +"items": { +"$ref": "AssignedUserRole" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The display name of the user. Must be UTF-8 encoded with a maximum size of 240 bytes.", +"type": "string" +}, +"email": { +"description": "Required. Immutable. The email address used to identify the user.", +"type": "string" +}, +"lastLoginTime": { +"description": "Output only. The timestamp when the user last logged in DV360 UI.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the user.", +"readOnly": true, +"type": "string" +}, +"userId": { +"description": "Output only. The unique ID of the user. Assigned by the system.", +"format": "int64", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserRewardedContentAssignedTargetingOptionDetails": { +"description": "User rewarded content targeting option details. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"id": "UserRewardedContentAssignedTargetingOptionDetails", +"properties": { +"targetingOptionId": { +"description": "Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"type": "string" +}, +"userRewardedContent": { +"description": "Output only. User rewarded content status for video ads.", +"enum": [ +"USER_REWARDED_CONTENT_UNSPECIFIED", +"USER_REWARDED_CONTENT_USER_REWARDED", +"USER_REWARDED_CONTENT_NOT_USER_REWARDED" +], +"enumDescriptions": [ +"User rewarded content is not specified or is unknown in this version.", +"Represents ads where the user will see a reward after viewing.", +"Represents all other ads besides user-rewarded." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UserRewardedContentTargetingOptionDetails": { +"description": "Represents a targetable user rewarded content status for video ads only. This will be populated in the user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.", +"id": "UserRewardedContentTargetingOptionDetails", +"properties": { +"userRewardedContent": { +"description": "Output only. User rewarded content status for video ads.", +"enum": [ +"USER_REWARDED_CONTENT_UNSPECIFIED", +"USER_REWARDED_CONTENT_USER_REWARDED", +"USER_REWARDED_CONTENT_NOT_USER_REWARDED" +], +"enumDescriptions": [ +"User rewarded content is not specified or is unknown in this version.", +"Represents ads where the user will see a reward after viewing.", +"Represents all other ads besides user-rewarded." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VideoAdInventoryControl": { +"description": "The video ad inventory control used in certain YouTube line item types.", +"id": "VideoAdInventoryControl", +"properties": { +"allowInFeed": { +"description": "Optional. Whether ads can serve as in-feed format.", +"type": "boolean" +}, +"allowInStream": { +"description": "Optional. Whether ads can serve as in-stream format.", +"type": "boolean" +}, +"allowShorts": { +"description": "Optional. Whether ads can serve as shorts format.", +"type": "boolean" +} +}, +"type": "object" +}, +"VideoAdSequenceSettings": { +"description": "Settings related to VideoAdSequence.", +"id": "VideoAdSequenceSettings", +"properties": { +"minimumDuration": { +"description": "The minimum time interval before the same user sees this sequence again.", +"enum": [ +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_UNSPECIFIED", +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_WEEK", +"VIDEO_AD_SEQUENCE_MINIMUM_DURATION_MONTH" +], +"enumDescriptions": [ +"Unspecified or unknown.", +"7 days.", +"30 days." +], +"type": "string" +}, +"steps": { +"description": "The steps of which the sequence consists.", +"items": { +"$ref": "VideoAdSequenceStep" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoAdSequenceStep": { +"description": "The detail of a single step in a VideoAdSequence.", +"id": "VideoAdSequenceStep", +"properties": { +"adGroupId": { +"description": "The ID of the corresponding ad group of the step.", +"format": "int64", +"type": "string" +}, +"interactionType": { +"description": "The interaction on the previous step that will lead the viewer to this step. The first step does not have interaction_type.", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"INTERACTION_TYPE_PAID_VIEW", +"INTERACTION_TYPE_SKIP", +"INTERACTION_TYPE_IMPRESSION", +"INTERACTION_TYPE_ENGAGED_IMPRESSION" +], +"enumDescriptions": [ +"Unspecified or unknown", +"A paid view.", +"Skipped by the viewer.", +"A (viewed) ad impression.", +"An ad impression that was not immediately skipped by the viewer, but didn't reach the billable event either." +], +"type": "string" +}, +"previousStepId": { +"description": "The ID of the previous step. The first step does not have previous step.", +"format": "int64", +"type": "string" +}, +"stepId": { +"description": "The ID of the step.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"VideoDiscoveryAd": { +"description": "Details for a video discovery ad.", +"id": "VideoDiscoveryAd", +"properties": { +"description1": { +"description": "First text line for the ad.", +"type": "string" +}, +"description2": { +"description": "Second text line for the ad.", +"type": "string" +}, +"headline": { +"description": "The headline of ad.", +"type": "string" +}, +"thumbnail": { +"description": "Thumbnail image used in the ad.", +"enum": [ +"THUMBNAIL_UNSPECIFIED", +"THUMBNAIL_DEFAULT", +"THUMBNAIL_1", +"THUMBNAIL_2", +"THUMBNAIL_3" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"The default thumbnail, can be auto-generated or user-uploaded.", +"Thumbnail 1, generated from the video.", +"Thumbnail 2, generated from the video.", +"Thumbnail 3, generated from the video." +], +"type": "string" +}, +"video": { +"$ref": "YoutubeVideoDetails", +"description": "The YouTube video the ad promotes." +} +}, +"type": "object" +}, +"VideoPerformanceAd": { +"description": "Details for a video performance ad.", +"id": "VideoPerformanceAd", +"properties": { +"actionButtonLabels": { +"description": "The list of text assets shown on the call-to-action button.", +"items": { +"type": "string" +}, +"type": "array" +}, +"companionBanners": { +"description": "The list of companion banners used by this ad.", +"items": { +"$ref": "ImageAsset" +}, +"type": "array" +}, +"customParameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The custom parameters to pass custom values to tracking URL template.", +"type": "object" +}, +"descriptions": { +"description": "The list of descriptions shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayUrlBreadcrumb1": { +"description": "The first piece after the domain in the display URL.", +"type": "string" +}, +"displayUrlBreadcrumb2": { +"description": "The second piece after the domain in the display URL.", +"type": "string" +}, +"domain": { +"description": "The domain of the display URL.", +"type": "string" +}, +"finalUrl": { +"description": "The URL address of the webpage that people reach after they click the ad.", +"type": "string" +}, +"headlines": { +"description": "The list of headlines shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"longHeadlines": { +"description": "The list of lone headlines shown on the call-to-action banner.", +"items": { +"type": "string" +}, +"type": "array" +}, +"trackingUrl": { +"description": "The URL address loaded in the background for tracking purposes.", +"type": "string" +}, +"videos": { +"description": "The list of YouTube video assets used by this ad.", +"items": { +"$ref": "YoutubeVideoDetails" +}, +"type": "array" +} +}, +"type": "object" +}, +"VideoPlayerSizeAssignedTargetingOptionDetails": { +"description": "Video player size targeting option details. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove all video player size targeting options to achieve this effect.", +"id": "VideoPlayerSizeAssignedTargetingOptionDetails", +"properties": { +"videoPlayerSize": { +"description": "Required. The video player size.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"type": "string" +} +}, +"type": "object" +}, +"VideoPlayerSizeTargetingOptionDetails": { +"description": "Represents a targetable video player size. This will be populated in the video_player_size_details field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.", +"id": "VideoPlayerSizeTargetingOptionDetails", +"properties": { +"videoPlayerSize": { +"description": "Output only. The video player size.", +"enum": [ +"VIDEO_PLAYER_SIZE_UNSPECIFIED", +"VIDEO_PLAYER_SIZE_SMALL", +"VIDEO_PLAYER_SIZE_LARGE", +"VIDEO_PLAYER_SIZE_HD", +"VIDEO_PLAYER_SIZE_UNKNOWN" +], +"enumDescriptions": [ +"Video player size is not specified in this version. This enum is a place holder for a default value and does not represent a real video player size.", +"The dimensions of the video player are less than 400\u00d7300 (desktop), or up to 20% of screen covered (mobile).", +"The dimensions of the video player are between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the screen covered (mobile).", +"The dimensions of the video player are 1280\u00d7720 or greater (desktop), or over 90% of the screen covered (mobile).", +"The dimensions of the video player are unknown." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ViewabilityAssignedTargetingOptionDetails": { +"description": "Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", +"id": "ViewabilityAssignedTargetingOptionDetails", +"properties": { +"viewability": { +"description": "Required. The predicted viewability percentage.", +"enum": [ +"VIEWABILITY_UNSPECIFIED", +"VIEWABILITY_10_PERCENT_OR_MORE", +"VIEWABILITY_20_PERCENT_OR_MORE", +"VIEWABILITY_30_PERCENT_OR_MORE", +"VIEWABILITY_40_PERCENT_OR_MORE", +"VIEWABILITY_50_PERCENT_OR_MORE", +"VIEWABILITY_60_PERCENT_OR_MORE", +"VIEWABILITY_70_PERCENT_OR_MORE", +"VIEWABILITY_80_PERCENT_OR_MORE", +"VIEWABILITY_90_PERCENT_OR_MORE" +], +"enumDescriptions": [ +"Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", +"Bid only on impressions that are at least 10% likely to be viewable.", +"Bid only on impressions that are at least 20% likely to be viewable.", +"Bid only on impressions that are at least 30% likely to be viewable.", +"Bid only on impressions that are at least 40% likely to be viewable.", +"Bid only on impressions that are at least 50% likely to be viewable.", +"Bid only on impressions that are at least 60% likely to be viewable.", +"Bid only on impressions that are at least 70% likely to be viewable.", +"Bid only on impressions that are at least 80% likely to be viewable.", +"Bid only on impressions that are at least 90% likely to be viewable." +], +"type": "string" +} +}, +"type": "object" +}, +"ViewabilityTargetingOptionDetails": { +"description": "Represents a targetable viewability. This will be populated in the viewability_details field of a TargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.", +"id": "ViewabilityTargetingOptionDetails", +"properties": { +"viewability": { +"description": "Output only. The predicted viewability percentage.", +"enum": [ +"VIEWABILITY_UNSPECIFIED", +"VIEWABILITY_10_PERCENT_OR_MORE", +"VIEWABILITY_20_PERCENT_OR_MORE", +"VIEWABILITY_30_PERCENT_OR_MORE", +"VIEWABILITY_40_PERCENT_OR_MORE", +"VIEWABILITY_50_PERCENT_OR_MORE", +"VIEWABILITY_60_PERCENT_OR_MORE", +"VIEWABILITY_70_PERCENT_OR_MORE", +"VIEWABILITY_80_PERCENT_OR_MORE", +"VIEWABILITY_90_PERCENT_OR_MORE" +], +"enumDescriptions": [ +"Default value when viewability is not specified in this version. This enum is a placeholder for default value and does not represent a real viewability option.", +"Bid only on impressions that are at least 10% likely to be viewable.", +"Bid only on impressions that are at least 20% likely to be viewable.", +"Bid only on impressions that are at least 30% likely to be viewable.", +"Bid only on impressions that are at least 40% likely to be viewable.", +"Bid only on impressions that are at least 50% likely to be viewable.", +"Bid only on impressions that are at least 60% likely to be viewable.", +"Bid only on impressions that are at least 70% likely to be viewable.", +"Bid only on impressions that are at least 80% likely to be viewable.", +"Bid only on impressions that are at least 90% likely to be viewable." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAndPartnersBiddingStrategy": { +"description": "Settings that control the bid strategy for YouTube and Partners resources.", +"id": "YoutubeAndPartnersBiddingStrategy", +"properties": { +"adGroupEffectiveTargetCpaSource": { +"description": "Output only. Source of the effective target CPA value for ad group.", +"enum": [ +"BIDDING_SOURCE_UNSPECIFIED", +"BIDDING_SOURCE_LINE_ITEM", +"BIDDING_SOURCE_AD_GROUP" +], +"enumDescriptions": [ +"Bidding source is not specified or unknown.", +"Bidding value is inherited from the line item.", +"Bidding value is defined in the ad group." +], +"readOnly": true, +"type": "string" +}, +"adGroupEffectiveTargetCpaValue": { +"description": "Output only. The effective target CPA for ad group, in micros of advertiser's currency.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "The type of the bidding strategy.", +"enum": [ +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_CPM", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_LIFT", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSIONS", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPV", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS", +"YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MAXIMIZE_CONVERSION_VALUE" +], +"enumDescriptions": [ +"Type is not specified or unknown.", +"A bidding strategy that pays a configurable amount per video view.", +"A bidding strategy that pays a configurable amount per impression.", +"A bidding strategy that automatically optimizes conversions per dollar.", +"A bidding strategy that pays a configurable amount per impression.", +"A bidding strategy for YouTube Instant Reserve line items that pays a fixed amount per impression.", +"An automated bidding strategy that sets bids to achieve maximum lift.", +"A bidding strategy that automatically maximizes number of conversions given a daily budget.", +"A bidding strategy that automatically optimizes cost per video view.", +"A bidding strategy that automatically maximizes revenue while averaging a specific target Return On Ad Spend (ROAS).", +"A bidding strategy that automatically sets bids to maximize revenue while spending your budget." +], +"type": "string" +}, +"value": { +"description": "The value used by the bidding strategy. When the bidding strategy is assigned at the line item level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the bidding strategy is assigned at the ad group level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` If not using an applicable strategy, the value of this field will be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeAndPartnersInventorySourceConfig": { +"description": "Settings that control what YouTube related inventories the YouTube and Partners line item will target.", +"id": "YoutubeAndPartnersInventorySourceConfig", +"properties": { +"includeGoogleTv": { +"description": "Optional. Whether to target inventory in video apps available with Google TV.", +"type": "boolean" +}, +"includeYoutube": { +"description": "Optional. Whether to target inventory on YouTube. This includes both search, channels and videos.", +"type": "boolean" +}, +"includeYoutubeVideoPartners": { +"description": "Whether to target inventory on a collection of partner sites and apps that follow the same brand safety standards as YouTube.", +"type": "boolean" +} +}, +"type": "object" +}, +"YoutubeAndPartnersSettings": { +"description": "Settings for YouTube and Partners line items.", +"id": "YoutubeAndPartnersSettings", +"properties": { +"contentCategory": { +"description": "Output only. The kind of content on which the YouTube and Partners ads will be shown. *Warning*: This field will be removed in the near future. Use effective_content_category instead.", +"enum": [ +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED" +], +"enumDescriptions": [ +"Content category is not specified or is unknown in this version.", +"A category consisting of a wide range of content appropriate for most brands. The content is based off of YouTube's [advertiser-friendly content guidelines](https://support.google.com/youtube/answer/6162278).", +"A category including all content across YouTube and video partners that meets standards for monetization.", +"A category consisting of a reduced range of content that meets heightened requirements, especially regarding inappropriate language and sexual suggestiveness." +], +"readOnly": true, +"type": "string" +}, +"effectiveContentCategory": { +"description": "Output only. The content category which takes effect when serving the line item. When content category is set in both line item and advertiser, the stricter one will take effect when serving the line item. New line items will only inherit the advertiser level setting.", +"enum": [ +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_UNSPECIFIED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_STANDARD", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_EXPANDED", +"YOUTUBE_AND_PARTNERS_CONTENT_CATEGORY_LIMITED" +], +"enumDescriptions": [ +"Content category is not specified or is unknown in this version.", +"A category consisting of a wide range of content appropriate for most brands. The content is based off of YouTube's [advertiser-friendly content guidelines](https://support.google.com/youtube/answer/6162278).", +"A category including all content across YouTube and video partners that meets standards for monetization.", +"A category consisting of a reduced range of content that meets heightened requirements, especially regarding inappropriate language and sexual suggestiveness." +], +"readOnly": true, +"type": "string" +}, +"inventorySourceSettings": { +"$ref": "YoutubeAndPartnersInventorySourceConfig", +"description": "Settings that control what YouTube and Partners inventories the line item will target." +}, +"leadFormId": { +"description": "Optional. The ID of the form to generate leads.", +"format": "int64", +"type": "string" +}, +"linkedMerchantId": { +"description": "Optional. The ID of the merchant which is linked to the line item for product feed.", +"format": "int64", +"type": "string" +}, +"relatedVideoIds": { +"description": "Optional. The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetFrequency": { +"$ref": "TargetFrequency", +"description": "Optional. The average number of times you want ads from this line item to show to the same person over a certain period of time." +}, +"thirdPartyMeasurementConfigs": { +"$ref": "ThirdPartyMeasurementConfigs", +"description": "Optional. The third-party measurement configs of the line item." +}, +"videoAdInventoryControl": { +"$ref": "VideoAdInventoryControl", +"description": "Optional. The settings to control which inventory is allowed for this line item." +}, +"videoAdSequenceSettings": { +"$ref": "VideoAdSequenceSettings", +"description": "Optional. The settings related to VideoAdSequence." +}, +"viewFrequencyCap": { +"$ref": "FrequencyCap", +"description": "The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap." +} +}, +"type": "object" +}, +"YoutubeChannelAssignedTargetingOptionDetails": { +"description": "Details for YouTube channel assigned targeting option. This will be populated in the youtube_channel_details field when targeting_type is `TARGETING_TYPE_YOUTUBE_CHANNEL`.", +"id": "YoutubeChannelAssignedTargetingOptionDetails", +"properties": { +"channelId": { +"description": "The YouTube uploader channel id or the channel code of a YouTube channel.", +"type": "string" +}, +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +} +}, +"type": "object" +}, +"YoutubeVideoAssignedTargetingOptionDetails": { +"description": "Details for YouTube video assigned targeting option. This will be populated in the youtube_video_details field when targeting_type is `TARGETING_TYPE_YOUTUBE_VIDEO`.", +"id": "YoutubeVideoAssignedTargetingOptionDetails", +"properties": { +"negative": { +"description": "Indicates if this option is being negatively targeted.", +"type": "boolean" +}, +"videoId": { +"description": "YouTube video id as it appears on the YouTube watch page.", +"type": "string" +} +}, +"type": "object" +}, +"YoutubeVideoDetails": { +"description": "Details of a YouTube video.", +"id": "YoutubeVideoDetails", +"properties": { +"id": { +"description": "Output only. The YouTube video ID which can be searched on YouTube webpage.", +"readOnly": true, +"type": "string" +}, +"unavailableReason": { +"description": "The reason why the video data is not available.", +"enum": [ +"VIDEO_UNAVAILABLE_REASON_UNSPECIFIED", +"VIDEO_UNAVAILABLE_REASON_PRIVATE", +"VIDEO_UNAVAILABLE_REASON_DELETED" +], +"enumDescriptions": [ +"Unknown or unspecified.", +"The video is private.", +"The video is deleted." +], +"type": "string" +}, +"videoAssetId": { +"description": "Required. The YouTube video asset id. This is ad_asset.ad_asset_id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Display & Video 360 API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..9f318d09920fbca69a38af9e31b4e79b7371df0e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/domains.v1beta1.json @@ -0,0 +1,2778 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://domains.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Domains", +"description": "Enables management and configuration of domain names.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/domains/", +"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": "domains:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://domains.mtls.googleapis.com/", +"name": "domains", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "domains.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "domains.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"registrations": { +"methods": { +"configureContactSettings": { +"description": "Updates a `Registration`'s contact settings. Some changes require confirmation by the domain's registrant contact . Caution: Please consider carefully any changes to contact privacy settings when changing from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA.` There may be a delay in reflecting updates you make to registrant contact information such that any changes you make to contact privacy (including from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA`) will be applied without delay but changes to registrant contact information may take a limited time to be publicized. This means that changes to contact privacy from `REDACTED_CONTACT_DATA` to `PUBLIC_CONTACT_DATA` may make the previous registrant contact data public until the modified registrant contact details are published.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureContactSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureContactSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose contact settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:configureContactSettings", +"request": { +"$ref": "ConfigureContactSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"configureDnsSettings": { +"description": "Updates a `Registration`'s DNS settings.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureDnsSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureDnsSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose DNS settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:configureDnsSettings", +"request": { +"$ref": "ConfigureDnsSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"configureManagementSettings": { +"description": "Updates a `Registration`'s management settings.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:configureManagementSettings", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.configureManagementSettings", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose management settings are being updated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:configureManagementSettings", +"request": { +"$ref": "ConfigureManagementSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Registration` resource. This method works on any `Registration` resource using [Subscription or Commitment billing](/domains/pricing#billing-models), provided that the resource was created at least 1 day in the past. When an active registration is successfully deleted, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains. After January 2024 you will only be able to delete `Registration` resources when `state` is one of: `EXPORTED`, `EXPIRED`,`REGISTRATION_FAILED` or `TRANSFER_FAILED`. See [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) for more details.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "DELETE", +"id": "domains.projects.locations.registrations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to delete, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Exports a `Registration` resource, such that it is no longer managed by Cloud Domains. When an active domain is successfully exported, you can continue to use the domain in [Google Domains](https://domains.google/) until it expires. The calling user becomes the domain's sole owner in Google Domains, and permissions for the domain are subsequently managed there. The domain does not renew automatically unless the new owner sets up billing in Google Domains.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:export", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to export, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportRegistrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a `Registration` resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Registration` to get, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Registration" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Imports a domain name from [Google Domains](https://domains.google/) for use in Cloud Domains. To transfer a domain from another registrar, use the `TransferDomain` method instead. Since individual users can own domains in Google Domains, the calling user must have ownership permission on the domain.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:import", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the Registration. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/registrations:import", +"request": { +"$ref": "ImportDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"initiatePushTransfer": { +"description": "Initiates the `Push Transfer` process to transfer the domain to another registrar. The process might complete instantly or might require confirmation or additional work. Check the emails sent to the email address of the registrant. The process is aborted after a timeout if it's not completed. This method is only supported for domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The domain must also be unlocked before it can be transferred to a different registrar. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:initiatePushTransfer", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.initiatePushTransfer", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` for which the push transfer is initiated, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:initiatePushTransfer", +"request": { +"$ref": "InitiatePushTransferRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `Registration` resources in a project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter expression to restrict the `Registration`s returned. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, a boolean, or an enum value. The comparison operator should be one of =, !=, >, <, >=, <=, or : for prefix or wildcard matches. For example, to filter to a specific domain name, use an expression like `domainName=\"example.com\"`. You can also check for the existence of a field; for example, to find domains using custom DNS settings, use an expression like `dnsSettings.customDns:*`. You can also create compound filters by combining expressions with the `AND` and `OR` operators. For example, to find domains that are suspended or have specific issues flagged, use an expression like `(state=SUSPENDED) OR (issue:*)`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The project and location from which to list `Registration`s, specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/registrations", +"response": { +"$ref": "ListRegistrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates select fields of a `Registration` resource, notably `labels`. To update other fields, use the appropriate custom update method: * To update management settings, see `ConfigureManagementSettings` * To update DNS configuration, see `ConfigureDnsSettings` * To update contact information, see `ConfigureContactSettings`", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}", +"httpMethod": "PATCH", +"id": "domains.projects.locations.registrations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the `update_mask` is `\"labels\"`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Registration" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"register": { +"description": "Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:register", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.register", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/registrations:register", +"request": { +"$ref": "RegisterDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"renewDomain": { +"description": "Renews a recently expired domain. This method can only be called on domains that expired in the previous 30 days. After the renewal, the new expiration time of the domain is one year after the old expiration time and you are charged a `yearly_price` for the renewal.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:renewDomain", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.renewDomain", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whish is being renewed, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:renewDomain", +"request": { +"$ref": "RenewDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetAuthorizationCode": { +"description": "Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:resetAuthorizationCode", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.resetAuthorizationCode", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose authorization code is being reset, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:resetAuthorizationCode", +"request": { +"$ref": "ResetAuthorizationCodeRequest" +}, +"response": { +"$ref": "AuthorizationCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveAuthorizationCode": { +"description": "Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveAuthorizationCode", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveAuthorizationCode", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose authorization code is being retrieved, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:retrieveAuthorizationCode", +"response": { +"$ref": "AuthorizationCode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveGoogleDomainsDnsRecords": { +"description": "Lists the DNS records from the Google Domains DNS zone for domains that use the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsDnsRecords", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveGoogleDomainsDnsRecords", +"parameterOrder": [ +"registration" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +}, +"registration": { +"description": "Required. The name of the `Registration` whose Google Domains DNS records details you are retrieving, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:retrieveGoogleDomainsDnsRecords", +"response": { +"$ref": "RetrieveGoogleDomainsDnsRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveGoogleDomainsForwardingConfig": { +"description": "Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsForwardingConfig", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveGoogleDomainsForwardingConfig", +"parameterOrder": [ +"registration" +], +"parameters": { +"registration": { +"description": "Required. The name of the `Registration` whose Google Domains forwarding configuration details are being retrieved, in the format `projects/*/locations/*/registrations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+registration}:retrieveGoogleDomainsForwardingConfig", +"response": { +"$ref": "RetrieveGoogleDomainsForwardingConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveImportableDomains": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveImportableDomains", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveImportableDomains", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Maximum number of results to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "When set to the `next_page_token` from a prior response, provides the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+location}/registrations:retrieveImportableDomains", +"response": { +"$ref": "RetrieveImportableDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRegisterParameters": { +"description": "Gets parameters needed to register a new domain name, including price and up-to-date availability. Use the returned values to call `RegisterDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveRegisterParameters", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveRegisterParameters", +"parameterOrder": [ +"location" +], +"parameters": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"location": "query", +"type": "string" +}, +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+location}/registrations:retrieveRegisterParameters", +"response": { +"$ref": "RetrieveRegisterParametersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveTransferParameters": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Use the returned values to call `TransferDomain`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:retrieveTransferParameters", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.retrieveTransferParameters", +"parameterOrder": [ +"location" +], +"parameters": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"location": "query", +"type": "string" +}, +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+location}/registrations:retrieveTransferParameters", +"response": { +"$ref": "RetrieveTransferParametersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchDomains": { +"description": "Searches for available domain names similar to the provided query. Availability results from this method are approximate; call `RetrieveRegisterParameters` on a domain before registering to confirm availability.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:searchDomains", +"httpMethod": "GET", +"id": "domains.projects.locations.registrations.searchDomains", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"query": { +"description": "Required. String used to search for available domain names.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+location}/registrations:searchDomains", +"response": { +"$ref": "SearchDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.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/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.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/[^/]+/registrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"transfer": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Transfers a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `ImportDomain` instead. Before calling this method, go to the domain's current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to this method. A successful call creates a `Registration` resource in state `TRANSFER_PENDING`. It can take several days to complete the transfer process. The registrant can often speed up this process by approving the transfer through the current registrar, either by clicking a link in an email from the registrar or by visiting the registrar's website. A few minutes after transfer approval, the resource transitions to state `ACTIVE`, indicating that the transfer was successful. If the transfer is rejected or the request expires without being approved, the resource can end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete the resource and retry the transfer.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/registrations:transfer", +"httpMethod": "POST", +"id": "domains.projects.locations.registrations.transfer", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource of the `Registration`. Must be in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/registrations:transfer", +"request": { +"$ref": "TransferDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260126", +"rootUrl": "https://domains.googleapis.com/", +"schemas": { +"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" +}, +"AuthorizationCode": { +"description": "Defines an authorization code.", +"id": "AuthorizationCode", +"properties": { +"code": { +"description": "The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.", +"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" +}, +"ConfigureContactSettingsRequest": { +"description": "Request for the `ConfigureContactSettings` method.", +"id": "ConfigureContactSettingsRequest", +"properties": { +"contactNotices": { +"description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"contactSettings": { +"$ref": "ContactSettings", +"description": "Fields of the `ContactSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the `update_mask` is `\"registrant_contact\"`.", +"format": "google-fieldmask", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually updating the contact settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigureDnsSettingsRequest": { +"description": "Request for the `ConfigureDnsSettings` method.", +"id": "ConfigureDnsSettingsRequest", +"properties": { +"dnsSettings": { +"$ref": "DnsSettings", +"description": "Fields of the `DnsSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the name servers are being updated for an existing Custom DNS configuration, the `update_mask` is `\"custom_dns.name_servers\"`. When changing the DNS provider from one type to another, pass the new provider's field name as part of the field mask. For example, when changing from a Google Domains DNS configuration to a Custom DNS configuration, the `update_mask` is `\"custom_dns\"`. //", +"format": "google-fieldmask", +"type": "string" +}, +"validateOnly": { +"description": "Validate the request without actually updating the DNS settings.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigureManagementSettingsRequest": { +"description": "Request for the `ConfigureManagementSettings` method.", +"id": "ConfigureManagementSettingsRequest", +"properties": { +"managementSettings": { +"$ref": "ManagementSettings", +"description": "Fields of the `ManagementSettings` to update." +}, +"updateMask": { +"description": "Required. The field mask describing which fields to update as a comma-separated list. For example, if only the transfer lock is being updated, the `update_mask` is `\"transfer_lock_state\"`.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"Contact": { +"description": "Details required for a contact associated with a `Registration`.", +"id": "Contact", +"properties": { +"email": { +"description": "Required. Email address of the contact.", +"type": "string" +}, +"faxNumber": { +"description": "Fax number of the contact in international format. For example, `\"+1-800-555-0123\"`.", +"type": "string" +}, +"phoneNumber": { +"description": "Required. Phone number of the contact in international format. For example, `\"+1-800-555-0123\"`.", +"type": "string" +}, +"postalAddress": { +"$ref": "PostalAddress", +"description": "Required. Postal address of the contact." +} +}, +"type": "object" +}, +"ContactSettings": { +"description": "Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical.", +"id": "ContactSettings", +"properties": { +"adminContact": { +"$ref": "Contact", +"description": "Required. The administrative contact for the `Registration`." +}, +"privacy": { +"description": "Required. Privacy setting for the contacts associated with the `Registration`.", +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"registrantContact": { +"$ref": "Contact", +"description": "Required. The registrant contact for the `Registration`. *Caution: Anyone with access to this email address, phone number, and/or postal address can take control of the domain.* *Warning: For new `Registration`s, the registrant receives an email confirmation that they must complete within 15 days to avoid domain suspension.*" +}, +"technicalContact": { +"$ref": "Contact", +"description": "Required. The technical contact for the `Registration`." +} +}, +"type": "object" +}, +"CustomDns": { +"description": "Configuration for an arbitrary DNS provider.", +"id": "CustomDns", +"properties": { +"dsRecords": { +"description": "The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.", +"items": { +"$ref": "DsRecord" +}, +"type": "array" +}, +"nameServers": { +"description": "Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DnsSettings": { +"description": "Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records.", +"id": "DnsSettings", +"properties": { +"customDns": { +"$ref": "CustomDns", +"description": "An arbitrary DNS provider identified by its name servers." +}, +"glueRecords": { +"description": "The list of glue records for this `Registration`. Commonly empty.", +"items": { +"$ref": "GlueRecord" +}, +"type": "array" +}, +"googleDomainsDns": { +"$ref": "GoogleDomainsDns", +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The free DNS zone provided by [Google Domains](https://domains.google/)." +}, +"googleDomainsRedirectsDataAvailable": { +"description": "Output only. Indicates if this `Registration` has configured one of the following deprecated Google Domains DNS features: * Domain forwarding (HTTP `301` and `302` response status codes), * Email forwarding. See https://cloud.google.com/domains/docs/deprecations/feature-deprecations for more details. If any of these features is enabled call the `RetrieveGoogleDomainsForwardingConfig` method to get details about the feature's configuration. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"Domain": { +"description": "A domain that the calling user manages in Google Domains.", +"id": "Domain", +"properties": { +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"resourceState": { +"description": "The state of this domain as a `Registration` resource.", +"enum": [ +"RESOURCE_STATE_UNSPECIFIED", +"IMPORTABLE", +"UNSUPPORTED", +"SUSPENDED", +"EXPIRED", +"DELETED" +], +"enumDescriptions": [ +"The assessment is undefined.", +"A `Registration` resource can be created for this domain by calling `ImportDomain`.", +"A `Registration` resource cannot be created for this domain because it is not supported by Cloud Domains; for example, the top-level domain is not supported or the registry charges non-standard pricing for yearly renewals.", +"A `Registration` resource cannot be created for this domain because it is suspended and needs to be resolved with Google Domains.", +"A `Registration` resource cannot be created for this domain because it is expired and needs to be renewed with Google Domains.", +"A `Registration` resource cannot be created for this domain because it is deleted, but it may be possible to restore it with Google Domains." +], +"type": "string" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to renew the domain for one year. Only set when `resource_state` is `IMPORTABLE`." +} +}, +"type": "object" +}, +"DomainForwarding": { +"description": "Domain forwarding configuration.", +"id": "DomainForwarding", +"properties": { +"pathForwarding": { +"description": "If true, forwards the path after the domain name to the same path at the new address.", +"type": "boolean" +}, +"pemCertificate": { +"description": "The PEM-encoded certificate chain.", +"type": "string" +}, +"redirectType": { +"description": "The redirect type.", +"enum": [ +"REDIRECT_TYPE_UNSPECIFIED", +"TEMPORARY", +"PERMANENT" +], +"enumDescriptions": [ +"Redirect Type is unspecified.", +"301 redirect. Allows to propagate changes to the forwarding address quickly.", +"302 redirect. Allows browsers to cache the forwarding address. This may help the address resolve more quickly. Changes may take longer to propagate" +], +"type": "string" +}, +"sslEnabled": { +"description": "If true, the forwarding works also over HTTPS.", +"type": "boolean" +}, +"subdomain": { +"description": "The subdomain of the registered domain that is being forwarded. E.g. `www.example.com`, `example.com` (i.e. the registered domain itself) or `*.example.com` (i.e. all subdomains).", +"type": "string" +}, +"targetUri": { +"description": "The target of the domain forwarding, i.e. the path to redirect the `subdomain` to.", +"type": "string" +} +}, +"type": "object" +}, +"DsRecord": { +"description": "Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.", +"id": "DsRecord", +"properties": { +"algorithm": { +"description": "The algorithm used to generate the referenced DNSKEY.", +"enum": [ +"ALGORITHM_UNSPECIFIED", +"RSAMD5", +"DH", +"DSA", +"ECC", +"RSASHA1", +"DSANSEC3SHA1", +"RSASHA1NSEC3SHA1", +"RSASHA256", +"RSASHA512", +"ECCGOST", +"ECDSAP256SHA256", +"ECDSAP384SHA384", +"ED25519", +"ED448", +"INDIRECT", +"PRIVATEDNS", +"PRIVATEOID" +], +"enumDescriptions": [ +"The algorithm is unspecified.", +"RSA/MD5. Cannot be used for new deployments.", +"Diffie-Hellman. Cannot be used for new deployments.", +"DSA/SHA1. Not recommended for new deployments.", +"ECC. Not recommended for new deployments.", +"RSA/SHA-1. Not recommended for new deployments.", +"DSA-NSEC3-SHA1. Not recommended for new deployments.", +"RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.", +"RSA/SHA-256.", +"RSA/SHA-512.", +"GOST R 34.10-2001.", +"ECDSA Curve P-256 with SHA-256.", +"ECDSA Curve P-384 with SHA-384.", +"Ed25519.", +"Ed448.", +"Reserved for Indirect Keys. Cannot be used for new deployments.", +"Private algorithm. Cannot be used for new deployments.", +"Private algorithm OID. Cannot be used for new deployments." +], +"type": "string" +}, +"digest": { +"description": "The digest generated from the referenced DNSKEY.", +"type": "string" +}, +"digestType": { +"description": "The hash function used to generate the digest of the referenced DNSKEY.", +"enum": [ +"DIGEST_TYPE_UNSPECIFIED", +"SHA1", +"SHA256", +"GOST3411", +"SHA384" +], +"enumDescriptions": [ +"The DigestType is unspecified.", +"SHA-1. Not recommended for new deployments.", +"SHA-256.", +"GOST R 34.11-94.", +"SHA-384." +], +"type": "string" +}, +"keyTag": { +"description": "The key tag of the record. Must be set in range 0 -- 65535.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EmailForwarding": { +"description": "Email forwarding configuration.", +"id": "EmailForwarding", +"properties": { +"alias": { +"description": "An alias recipient email that forwards emails to the `target_email_address`. For example, `admin@example.com` or `*@example.com` (wildcard alias forwards all the emails under the registered domain).", +"type": "string" +}, +"targetEmailAddress": { +"description": "Target email that receives emails sent to the `alias`.", +"type": "string" +} +}, +"type": "object" +}, +"ExportRegistrationRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method.", +"id": "ExportRegistrationRequest", +"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" +}, +"GeoPolicy": { +"description": "Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.", +"id": "GeoPolicy", +"properties": { +"enableFencing": { +"description": "Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.", +"type": "boolean" +}, +"item": { +"description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.", +"items": { +"$ref": "GeoPolicyItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"GeoPolicyItem": { +"description": "ResourceRecordSet data for one geo location.", +"id": "GeoPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "HealthCheckTargets", +"description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item." +}, +"location": { +"description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.", +"type": "string" +}, +"rrdata": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GlueRecord": { +"description": "Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference.", +"id": "GlueRecord", +"properties": { +"hostName": { +"description": "Required. Domain name of the host in Punycode format.", +"type": "string" +}, +"ipv4Addresses": { +"description": "List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. `198.51.100.1`). At least one of `ipv4_address` and `ipv6_address` must be set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipv6Addresses": { +"description": "List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. `2001:db8::`). At least one of `ipv4_address` and `ipv6_address` must be set.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleDomainsDns": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/).", +"id": "GoogleDomainsDns", +"properties": { +"dsRecords": { +"description": "Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.", +"items": { +"$ref": "DsRecord" +}, +"readOnly": true, +"type": "array" +}, +"dsState": { +"description": "Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.", +"enum": [ +"DS_STATE_UNSPECIFIED", +"DS_RECORDS_UNPUBLISHED", +"DS_RECORDS_PUBLISHED" +], +"enumDescriptions": [ +"DS state is unspecified.", +"DNSSEC is disabled for this domain. No DS records for this domain are published in the parent DNS zone.", +"DNSSEC is enabled for this domain. Appropriate DS records for this domain are published in the parent DNS zone. This option is valid only if the DNS zone referenced in the `Registration`'s `dns_provider` field is already DNSSEC-signed." +], +"type": "string" +}, +"nameServers": { +"description": "Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"HealthCheckTargets": { +"description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Set either `internal_load_balancer` or `external_endpoints`. Do not set both.", +"id": "HealthCheckTargets", +"properties": { +"externalEndpoints": { +"description": "The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)", +"items": { +"type": "string" +}, +"type": "array" +}, +"internalLoadBalancer": { +"description": "Configuration for internal load balancers to be health checked.", +"items": { +"$ref": "LoadBalancerTarget" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImportDomainRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ImportDomain` method.", +"id": "ImportDomainRequest", +"properties": { +"domainName": { +"description": "Required. The domain name. Unicode domain names must be expressed in Punycode format.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of labels associated with the `Registration`.", +"type": "object" +} +}, +"type": "object" +}, +"InitiatePushTransferRequest": { +"description": "Request for the `InitiatePushTransfer` method.", +"id": "InitiatePushTransferRequest", +"properties": { +"tag": { +"description": "Required. The Tag of the new registrar. Can be found at [List of registrars](https://nominet.uk/registrar-list/).", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegistrationsResponse": { +"description": "Response for the `ListRegistrations` method.", +"id": "ListRegistrationsResponse", +"properties": { +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +}, +"registrations": { +"description": "A list of `Registration`s.", +"items": { +"$ref": "Registration" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancerTarget": { +"description": "The configuration for an individual load balancer to health check.", +"id": "LoadBalancerTarget", +"properties": { +"ipAddress": { +"description": "The frontend IP address of the load balancer to health check.", +"type": "string" +}, +"ipProtocol": { +"description": "The protocol of the load balancer to health check.", +"enum": [ +"UNDEFINED", +"TCP", +"UDP" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is accessible via TCP.", +"Indicates the load balancer is accessible via UDP." +], +"type": "string" +}, +"loadBalancerType": { +"description": "The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. ", +"enum": [ +"NONE", +"GLOBAL_L7ILB", +"REGIONAL_L4ILB", +"REGIONAL_L7ILB" +], +"enumDescriptions": [ +"", +"Indicates the load balancer is a Cross-Region Application Load Balancer.", +"Indicates the load balancer is a Regional Network Passthrough Load Balancer.", +"Indicates the load balancer is a Regional Application Load Balancer." +], +"type": "string" +}, +"networkUrl": { +"description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.", +"type": "string" +}, +"port": { +"description": "The configured port of the load balancer.", +"type": "string" +}, +"project": { +"description": "The project ID in which the load balancer is located.", +"type": "string" +}, +"region": { +"description": "The region in which the load balancer is located.", +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManagementSettings": { +"description": "Defines renewal, billing, and transfer settings for a `Registration`.", +"id": "ManagementSettings", +"properties": { +"effectiveTransferLockState": { +"description": "Output only. The actual transfer lock state for this `Registration`.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"readOnly": true, +"type": "string" +}, +"preferredRenewalMethod": { +"description": "Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours.", +"enum": [ +"RENEWAL_METHOD_UNSPECIFIED", +"AUTOMATIC_RENEWAL", +"MANUAL_RENEWAL", +"RENEWAL_DISABLED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The renewal method is undefined.", +"The domain is automatically renewed each year.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). This option was never used. Use `RENEWAL_DISABLED` instead.", +"The domain won't be renewed and will expire at its expiration time." +], +"type": "string" +}, +"renewalMethod": { +"description": "Output only. The actual renewal method for this `Registration`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be equal to `RENEWAL_DISABLED`\u2014for example, when there are problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours.", +"enum": [ +"RENEWAL_METHOD_UNSPECIFIED", +"AUTOMATIC_RENEWAL", +"MANUAL_RENEWAL", +"RENEWAL_DISABLED" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The renewal method is undefined.", +"The domain is automatically renewed each year.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). This option was never used. Use `RENEWAL_DISABLED` instead.", +"The domain won't be renewed and will expire at its expiration time." +], +"readOnly": true, +"type": "string" +}, +"transferLockState": { +"description": "This is the desired transfer lock state for this `Registration`. A transfer lock controls whether the domain can be transferred to another registrar. The transfer lock state of the domain is returned in the `effective_transfer_lock_state` property. The transfer lock state values might be different for the following reasons: * `transfer_lock_state` was updated only a short time ago. * Domains with the `TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of `domain_properties`. These domains are always in the `UNLOCKED` state.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"type": "string" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation. Output only.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"statusDetail": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"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" +}, +"PostalAddress": { +"description": "Represents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.", +"id": "PostalAddress", +"properties": { +"addressLines": { +"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", +"items": { +"type": "string" +}, +"type": "array" +}, +"administrativeArea": { +"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example, \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.", +"type": "string" +}, +"languageCode": { +"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".", +"type": "string" +}, +"locality": { +"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.", +"type": "string" +}, +"organization": { +"description": "Optional. The name of the organization at the address.", +"type": "string" +}, +"postalCode": { +"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).", +"type": "string" +}, +"recipients": { +"description": "Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain \"care of\" information.", +"items": { +"type": "string" +}, +"type": "array" +}, +"regionCode": { +"description": "Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See https://cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: \"CH\" for Switzerland.", +"type": "string" +}, +"revision": { +"description": "The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.", +"format": "int32", +"type": "integer" +}, +"sortingCode": { +"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example, \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).", +"type": "string" +}, +"sublocality": { +"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.", +"type": "string" +} +}, +"type": "object" +}, +"PrimaryBackupPolicy": { +"description": "Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.", +"id": "PrimaryBackupPolicy", +"properties": { +"backupGeoTargets": { +"$ref": "GeoPolicy", +"description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy." +}, +"primaryTargets": { +"$ref": "HealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`." +}, +"trickleTraffic": { +"description": "When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"RRSetRoutingPolicy": { +"description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.", +"id": "RRSetRoutingPolicy", +"properties": { +"geo": { +"$ref": "GeoPolicy" +}, +"geoPolicy": { +"$ref": "GeoPolicy", +"deprecated": true +}, +"healthCheck": { +"description": "The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}`. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks", +"type": "string" +}, +"primaryBackup": { +"$ref": "PrimaryBackupPolicy" +}, +"wrr": { +"$ref": "WrrPolicy" +}, +"wrrPolicy": { +"$ref": "WrrPolicy", +"deprecated": true +} +}, +"type": "object" +}, +"RegisterDomainRequest": { +"description": "Request for the `RegisterDomain` method.", +"id": "RegisterDomainRequest", +"properties": { +"contactNotices": { +"description": "The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"domainNotices": { +"description": "The list of domain notices that you acknowledge. Call `RetrieveRegisterParameters` to see the notices that need acknowledgement.", +"items": { +"enum": [ +"DOMAIN_NOTICE_UNSPECIFIED", +"HSTS_PRELOADED" +], +"enumDescriptions": [ +"The notice is undefined.", +"Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." +], +"type": "string" +}, +"type": "array" +}, +"registration": { +"$ref": "Registration", +"description": "Required. The complete `Registration` resource to be created." +}, +"validateOnly": { +"description": "When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls." +} +}, +"type": "object" +}, +"RegisterParameters": { +"description": "Parameters required to register a new domain.", +"id": "RegisterParameters", +"properties": { +"availability": { +"description": "Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`.", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"AVAILABLE", +"UNAVAILABLE", +"UNSUPPORTED", +"UNKNOWN" +], +"enumDescriptions": [ +"The availability is unspecified.", +"The domain is available for registration.", +"The domain is not available for registration. Generally this means it is already registered to another party.", +"The domain is not currently supported by Cloud Domains, but may be available elsewhere.", +"Cloud Domains is unable to determine domain availability, generally due to system maintenance at the domain name registry." +], +"type": "string" +}, +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"domainNotices": { +"description": "Notices about special properties of the domain.", +"items": { +"enum": [ +"DOMAIN_NOTICE_UNSPECIFIED", +"HSTS_PRELOADED" +], +"enumDescriptions": [ +"The notice is undefined.", +"Indicates that the domain is preloaded on the HTTP Strict Transport Security list in browsers. Serving a website on such domain requires an SSL certificate. For details, see [how to get an SSL certificate](https://support.google.com/domains/answer/7638036)." +], +"type": "string" +}, +"type": "array" +}, +"supportedPrivacy": { +"description": "Contact privacy options that the domain supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"type": "array" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to register or renew the domain for one year." +} +}, +"type": "object" +}, +"Registration": { +"description": "The `Registration` resource facilitates managing and configuring domain name registrations. There are several ways to create a new `Registration` resource: To create a new `Registration` resource, find a suitable domain name by calling the `SearchDomains` method with a query to see available domain name options. After choosing a name, call `RetrieveRegisterParameters` to ensure availability and obtain information like pricing, which is needed to build a call to `RegisterDomain`. Another way to create a new `Registration` is to transfer an existing domain from another registrar (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, go to the current registrar to unlock the domain for transfer and retrieve the domain's transfer authorization code. Then call `RetrieveTransferParameters` to confirm that the domain is unlocked and to get values needed to build a call to `TransferDomain`. Finally, you can create a new `Registration` by importing an existing domain managed with [Google Domains](https://domains.google/) (Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)). First, call `RetrieveImportableDomains` to list domains to which the calling user has sufficient access. Then call `ImportDomain` on any domain names you want to use with Cloud Domains.", +"id": "Registration", +"properties": { +"contactSettings": { +"$ref": "ContactSettings", +"description": "Required. Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method." +}, +"createTime": { +"description": "Output only. The creation timestamp of the `Registration` resource.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dnsSettings": { +"$ref": "DnsSettings", +"description": "Settings controlling the DNS configuration of the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureDnsSettings` method." +}, +"domainName": { +"description": "Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.", +"type": "string" +}, +"domainProperties": { +"description": "Output only. Special properties of the domain.", +"items": { +"enum": [ +"DOMAIN_PROPERTY_UNSPECIFIED", +"TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", +"REQUIRE_PUSH_TRANSFER" +], +"enumDescriptions": [ +"The property is undefined.", +"The domain does not support transfer locks due to restrictions of the registry. Such domains are effectively always unlocked and any change made to `management_settings.transfer_lock_state` is ignored.", +"The domain uses an alternative `Push Transfer` process to transfer the domain to another registrar. There are two important consequences: * Cloud Domains does not supply the authorization codes. * To initiate the process to transfer the domain to another registrar, you must provide a tag of the registrar you want to transfer to. You can do this by using the `InitiatePushTransfer` method. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar)." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"expireTime": { +"description": "Output only. The expiration timestamp of the `Registration`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. The set of issues with the `Registration` that require attention.", +"items": { +"enum": [ +"ISSUE_UNSPECIFIED", +"CONTACT_SUPPORT", +"UNVERIFIED_EMAIL", +"PROBLEM_WITH_BILLING", +"DNS_NOT_ACTIVATED", +"AUTO_RENEWAL_UPDATE_NOT_EFFECTIVE" +], +"enumDescriptions": [ +"The issue is undefined.", +"Contact the Cloud Support team to resolve a problem with this domain.", +"[ICANN](https://icann.org/) requires verification of the email address in the `Registration`'s `contact_settings.registrant_contact` field. To verify the email address, follow the instructions in the email the `registrant_contact` receives following registration. If you do not complete email verification within 15 days of registration, the domain is suspended. To resend the verification email, call ConfigureContactSettings and provide the current `registrant_contact.email`.", +"The billing account is not in good standing. The domain is not automatically renewed at its expiration time unless you resolve problems with your billing account.", +"The registry failed to validate your DNS configuration and activate your domain. The failure might happen for the following reasons: * You recently registered the domain (wait up to 72 hours). * You provided invalid name servers or name servers that correspond to a newly created DNS zone. Verify your DNS configuration. If the configuration is incorrect, you must fix it. If the configuration is correct, either wait or call the ConfigureDnsSettings method to retry the registry validation.", +"Due to SquareSpace's constraints, the auto-renewal update you made may not be effective during a certain period of time. Generally, the time period is 15 days before expiration for generic TLD domains, and 15 days before expiration + 3 days after expiration for country-code TLD domains." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Set of labels associated with the `Registration`.", +"type": "object" +}, +"managementSettings": { +"$ref": "ManagementSettings", +"description": "Settings for management of the `Registration`, including renewal, billing, and transfer. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureManagementSettings` method." +}, +"name": { +"description": "Output only. Name of the `Registration` resource, in the format `projects/*/locations/*/registrations/`.", +"readOnly": true, +"type": "string" +}, +"pendingContactSettings": { +"$ref": "ContactSettings", +"description": "Output only. Pending contact settings for the `Registration`. Updates to the `contact_settings` field that change its `registrant_contact` or `privacy` fields require email confirmation by the `registrant_contact` before taking effect. This field is set only if there are pending updates to the `contact_settings` that have not been confirmed. To confirm the changes, the `registrant_contact` must follow the instructions in the email they receive.", +"readOnly": true +}, +"registerFailureReason": { +"description": "Output only. The reason the domain registration failed. Only set for domains in REGISTRATION_FAILED state.", +"enum": [ +"REGISTER_FAILURE_REASON_UNSPECIFIED", +"REGISTER_FAILURE_REASON_UNKNOWN", +"DOMAIN_NOT_AVAILABLE", +"INVALID_CONTACTS" +], +"enumDescriptions": [ +"Register failure unspecified.", +"Registration failed for an unknown reason.", +"The domain is not available for registration.", +"The provided contact information was rejected." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the `Registration`", +"enum": [ +"STATE_UNSPECIFIED", +"REGISTRATION_PENDING", +"REGISTRATION_FAILED", +"TRANSFER_PENDING", +"TRANSFER_FAILED", +"IMPORT_PENDING", +"ACTIVE", +"SUSPENDED", +"EXPORTED", +"EXPIRED" +], +"enumDeprecated": [ +false, +false, +false, +true, +true, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"The state is undefined.", +"The domain is being registered.", +"The domain registration failed. You can delete resources in this state to allow registration to be retried.", +"The domain is being transferred from another registrar to Cloud Domains.", +"The attempt to transfer the domain from another registrar to Cloud Domains failed. You can delete resources in this state and retry the transfer.", +"The domain is being imported from Google Domains to Cloud Domains.", +"The domain is registered and operational. The domain renews automatically as long as it remains in this state and the `RenewalMethod` is set to `AUTOMATIC_RENEWAL`.", +"The domain is suspended and inoperative. For more details, see the `issues` field.", +"The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.", +"The domain is expired." +], +"readOnly": true, +"type": "string" +}, +"supportedPrivacy": { +"description": "Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"transferFailureReason": { +"deprecated": true, +"description": "Output only. Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). The reason the domain transfer failed. Only set for domains in TRANSFER_FAILED state.", +"enum": [ +"TRANSFER_FAILURE_REASON_UNSPECIFIED", +"TRANSFER_FAILURE_REASON_UNKNOWN", +"EMAIL_CONFIRMATION_FAILURE", +"DOMAIN_NOT_REGISTERED", +"DOMAIN_HAS_TRANSFER_LOCK", +"INVALID_AUTHORIZATION_CODE", +"TRANSFER_CANCELLED", +"TRANSFER_REJECTED", +"INVALID_REGISTRANT_EMAIL_ADDRESS", +"DOMAIN_NOT_ELIGIBLE_FOR_TRANSFER", +"TRANSFER_ALREADY_PENDING" +], +"enumDescriptions": [ +"Transfer failure unspecified.", +"Transfer failed for an unknown reason.", +"An email confirmation sent to the user was rejected or expired.", +"The domain is available for registration.", +"The domain has a transfer lock with its current registrar which must be removed prior to transfer.", +"The authorization code entered is not valid.", +"The transfer was cancelled by the domain owner, current registrar, or TLD registry.", +"The transfer was rejected by the current registrar. Contact the current registrar for more information.", +"The registrant email address cannot be parsed from the domain's current public contact data.", +"The domain is not eligible for transfer due requirements imposed by the current registrar or TLD registry.", +"Another transfer is already pending for this domain. The existing transfer attempt must expire or be cancelled in order to proceed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RenewDomainRequest": { +"description": "Request for the `RenewDomain` method.", +"id": "RenewDomainRequest", +"properties": { +"validateOnly": { +"description": "Optional. When true, only validation is performed, without actually renewing the domain. For more information, see [Request validation](https://cloud.google.com/apis/design/design_patterns#request_validation)", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Acknowledgement of the price to renew the domain for one year. To get the price, see [Cloud Domains pricing](https://cloud.google.com/domains/pricing). If not provided, the expected price is returned in the error message." +} +}, +"type": "object" +}, +"ResetAuthorizationCodeRequest": { +"description": "Request for the `ResetAuthorizationCode` method.", +"id": "ResetAuthorizationCodeRequest", +"properties": {}, +"type": "object" +}, +"ResourceRecordSet": { +"description": "A unit of data that is returned by the DNS servers.", +"id": "ResourceRecordSet", +"properties": { +"name": { +"description": "For example, www.example.com.", +"type": "string" +}, +"routingPolicy": { +"$ref": "RRSetRoutingPolicy", +"description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution)." +}, +"rrdata": { +"description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "As defined in RFC 4034 (section 3.2).", +"items": { +"type": "string" +}, +"type": "array" +}, +"ttl": { +"description": "Number of seconds that this `ResourceRecordSet` can be cached by resolvers.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The identifier of a supported record type. See the list of Supported DNS record types.", +"type": "string" +} +}, +"type": "object" +}, +"RetrieveGoogleDomainsDnsRecordsResponse": { +"description": "Response for the `RetrieveGoogleDomainsDnsRecords` method.", +"id": "RetrieveGoogleDomainsDnsRecordsResponse", +"properties": { +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +}, +"rrset": { +"description": "The resource record set resources (DNS Zone records).", +"items": { +"$ref": "ResourceRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveGoogleDomainsForwardingConfigResponse": { +"description": "Response for the `RetrieveGoogleDomainsForwardingConfig` method.", +"id": "RetrieveGoogleDomainsForwardingConfigResponse", +"properties": { +"domainForwardings": { +"description": "The list of domain forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", +"items": { +"$ref": "DomainForwarding" +}, +"type": "array" +}, +"emailForwardings": { +"description": "The list of email forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", +"items": { +"$ref": "EmailForwarding" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrieveImportableDomainsResponse": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method.", +"id": "RetrieveImportableDomainsResponse", +"properties": { +"domains": { +"description": "A list of domains that the calling user manages in Google Domains.", +"items": { +"$ref": "Domain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"RetrieveRegisterParametersResponse": { +"description": "Response for the `RetrieveRegisterParameters` method.", +"id": "RetrieveRegisterParametersResponse", +"properties": { +"registerParameters": { +"$ref": "RegisterParameters", +"description": "Parameters to use when calling the `RegisterDomain` method." +} +}, +"type": "object" +}, +"RetrieveTransferParametersResponse": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveTransferParameters` method.", +"id": "RetrieveTransferParametersResponse", +"properties": { +"transferParameters": { +"$ref": "TransferParameters", +"description": "Parameters to use when calling the `TransferDomain` method." +} +}, +"type": "object" +}, +"SearchDomainsResponse": { +"description": "Response for the `SearchDomains` method.", +"id": "SearchDomainsResponse", +"properties": { +"registerParameters": { +"description": "Results of the domain name search.", +"items": { +"$ref": "RegisterParameters" +}, +"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" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"TransferDomainRequest": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `TransferDomain` method.", +"id": "TransferDomainRequest", +"properties": { +"authorizationCode": { +"$ref": "AuthorizationCode", +"description": "The domain's transfer authorization code. You can obtain this from the domain's current registrar." +}, +"contactNotices": { +"description": "The list of contact notices that you acknowledge. The notices needed here depend on the values specified in `registration.contact_settings`.", +"items": { +"enum": [ +"CONTACT_NOTICE_UNSPECIFIED", +"PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT" +], +"enumDescriptions": [ +"The notice is undefined.", +"Required when setting the `privacy` field of `ContactSettings` to `PUBLIC_CONTACT_DATA`, which exposes contact data publicly." +], +"type": "string" +}, +"type": "array" +}, +"registration": { +"$ref": "Registration", +"description": "Required. The complete `Registration` resource to be created. You can leave `registration.dns_settings` unset to import the domain's current DNS configuration from its current registrar. Use this option only if you are sure that the domain's current DNS service does not cease upon transfer, as is often the case for DNS services provided for free by the registrar." +}, +"validateOnly": { +"description": "Validate the request without actually transferring the domain.", +"type": "boolean" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Required. Acknowledgement of the price to transfer or renew the domain for one year. Call `RetrieveTransferParameters` to obtain the price, which you must acknowledge." +} +}, +"type": "object" +}, +"TransferParameters": { +"deprecated": true, +"description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar.", +"id": "TransferParameters", +"properties": { +"currentRegistrar": { +"description": "The registrar that currently manages the domain.", +"type": "string" +}, +"currentRegistrarUri": { +"description": "The URL of the registrar that currently manages the domain.", +"type": "string" +}, +"domainName": { +"description": "The domain name. Unicode domain names are expressed in Punycode format.", +"type": "string" +}, +"nameServers": { +"description": "The name servers that currently store the configuration of the domain.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportedPrivacy": { +"description": "Contact privacy options that the domain supports.", +"items": { +"enum": [ +"CONTACT_PRIVACY_UNSPECIFIED", +"PUBLIC_CONTACT_DATA", +"PRIVATE_CONTACT_DATA", +"REDACTED_CONTACT_DATA" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"The contact privacy settings are undefined.", +"All the data from `ContactSettings` is publicly available. When setting this option, you must also provide a `PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT` in the `contact_notices` field of the request.", +"Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). None of the data from `ContactSettings` is publicly available. Instead, proxy contact data is published for your domain. Email sent to the proxy email address is forwarded to the registrant's email address. Cloud Domains provides this privacy proxy service at no additional cost.", +"The organization name (if provided) and limited non-identifying data from `ContactSettings` is available to the public (e.g. country and state). The remaining data is marked as `REDACTED FOR PRIVACY` in the WHOIS database. The actual information redacted depends on the domain. For details, see [the registration privacy article](https://support.google.com/domains/answer/3251242)." +], +"type": "string" +}, +"type": "array" +}, +"transferLockState": { +"description": "Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show `UNLOCKED`. To unlock a domain, go to its current registrar.", +"enum": [ +"TRANSFER_LOCK_STATE_UNSPECIFIED", +"UNLOCKED", +"LOCKED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The domain is unlocked and can be transferred to another registrar.", +"The domain is locked and cannot be transferred to another registrar." +], +"type": "string" +}, +"yearlyPrice": { +"$ref": "Money", +"description": "Price to transfer or renew the domain for one year." +} +}, +"type": "object" +}, +"WrrPolicy": { +"description": "Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.", +"id": "WrrPolicy", +"properties": { +"item": { +"items": { +"$ref": "WrrPolicyItem" +}, +"type": "array" +} +}, +"type": "object" +}, +"WrrPolicyItem": { +"description": "A routing block which contains the routing information for one WRR item.", +"id": "WrrPolicyItem", +"properties": { +"healthCheckedTargets": { +"$ref": "HealthCheckTargets", +"description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set." +}, +"rrdata": { +"items": { +"type": "string" +}, +"type": "array" +}, +"signatureRrdata": { +"description": "DNSSEC generated signatures for all the `rrdata` within this item. When using health-checked targets for DNSSEC-enabled zones, you can only use at most one health-checked IP address per item.", +"items": { +"type": "string" +}, +"type": "array" +}, +"weight": { +"description": "The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", +"format": "double", +"type": "number" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Domains API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dad44054be9c78f978b862797adaebe5c4b08e98 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json @@ -0,0 +1,105 @@ +{ + "basePath": "/doubleclickbidmanager/v1/", + "baseUrl": "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1/", + "batchPath": "batch", + "canonicalName": "DoubleClick Bid Manager", + "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/bid-manager/", + "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": "doubleclickbidmanager:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://doubleclickbidmanager.mtls.googleapis.com/", + "name": "doubleclickbidmanager", + "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": {}, + "revision": "20210921", + "rootUrl": "https://doubleclickbidmanager.googleapis.com/", + "schemas": {}, + "servicePath": "doubleclickbidmanager/v1/", + "title": "DoubleClick Bid Manager API", + "version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..cd3d33e37375086dbaa9d6922058aa5678177a3f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json @@ -0,0 +1,1013 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://essentialcontacts.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Essentialcontacts", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/essentialcontacts/docs/", +"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": "essentialcontacts:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://essentialcontacts.mtls.googleapis.com/", +"name": "essentialcontacts", +"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": { +"folders": { +"resources": { +"contacts": { +"methods": { +"compute": { +"description": "Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.", +"flatPath": "v1/folders/{foldersId}/contacts:compute", +"httpMethod": "GET", +"id": "essentialcontacts.folders.contacts.compute", +"parameterOrder": [ +"parent" +], +"parameters": { +"notificationCategories": { +"description": "The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.", +"enum": [ +"NOTIFICATION_CATEGORY_UNSPECIFIED", +"ALL", +"SUSPENSION", +"SECURITY", +"TECHNICAL", +"BILLING", +"LEGAL", +"PRODUCT_UPDATES", +"TECHNICAL_INCIDENTS" +], +"enumDescriptions": [ +"Notification category is unrecognized or unspecified.", +"All notifications related to the resource, including notifications pertaining to categories added in the future.", +"Notifications related to imminent account suspension.", +"Notifications related to security/privacy incidents, notifications, and vulnerabilities.", +"Notifications related to technical events and issues such as outages, errors, or bugs.", +"Notifications related to billing and payments notifications, price updates, errors, or credits.", +"Notifications related to enforcement actions, regulatory compliance, or government notices.", +"Notifications related to new versions, product terms updates, or deprecations.", +"Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts:compute", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Adds a new contact for a resource.", +"flatPath": "v1/folders/{foldersId}/contacts", +"httpMethod": "POST", +"id": "essentialcontacts.folders.contacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a contact.", +"flatPath": "v1/folders/{foldersId}/contacts/{contactsId}", +"httpMethod": "DELETE", +"id": "essentialcontacts.folders.contacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to delete. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^folders/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single contact.", +"flatPath": "v1/folders/{foldersId}/contacts/{contactsId}", +"httpMethod": "GET", +"id": "essentialcontacts.folders.contacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to retrieve. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^folders/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the contacts that have been set on a resource.", +"flatPath": "v1/folders/{foldersId}/contacts", +"httpMethod": "GET", +"id": "essentialcontacts.folders.contacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a contact. Note: A contact's email address cannot be changed.", +"flatPath": "v1/folders/{foldersId}/contacts/{contactsId}", +"httpMethod": "PATCH", +"id": "essentialcontacts.folders.contacts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^folders/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"sendTestMessage": { +"description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", +"flatPath": "v1/folders/{foldersId}/contacts:sendTestMessage", +"httpMethod": "POST", +"id": "essentialcontacts.folders.contacts.sendTestMessage", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}/contacts:sendTestMessage", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1SendTestMessageRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"organizations": { +"resources": { +"contacts": { +"methods": { +"compute": { +"description": "Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.", +"flatPath": "v1/organizations/{organizationsId}/contacts:compute", +"httpMethod": "GET", +"id": "essentialcontacts.organizations.contacts.compute", +"parameterOrder": [ +"parent" +], +"parameters": { +"notificationCategories": { +"description": "The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.", +"enum": [ +"NOTIFICATION_CATEGORY_UNSPECIFIED", +"ALL", +"SUSPENSION", +"SECURITY", +"TECHNICAL", +"BILLING", +"LEGAL", +"PRODUCT_UPDATES", +"TECHNICAL_INCIDENTS" +], +"enumDescriptions": [ +"Notification category is unrecognized or unspecified.", +"All notifications related to the resource, including notifications pertaining to categories added in the future.", +"Notifications related to imminent account suspension.", +"Notifications related to security/privacy incidents, notifications, and vulnerabilities.", +"Notifications related to technical events and issues such as outages, errors, or bugs.", +"Notifications related to billing and payments notifications, price updates, errors, or credits.", +"Notifications related to enforcement actions, regulatory compliance, or government notices.", +"Notifications related to new versions, product terms updates, or deprecations.", +"Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts:compute", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Adds a new contact for a resource.", +"flatPath": "v1/organizations/{organizationsId}/contacts", +"httpMethod": "POST", +"id": "essentialcontacts.organizations.contacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a contact.", +"flatPath": "v1/organizations/{organizationsId}/contacts/{contactsId}", +"httpMethod": "DELETE", +"id": "essentialcontacts.organizations.contacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to delete. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^organizations/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single contact.", +"flatPath": "v1/organizations/{organizationsId}/contacts/{contactsId}", +"httpMethod": "GET", +"id": "essentialcontacts.organizations.contacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to retrieve. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^organizations/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the contacts that have been set on a resource.", +"flatPath": "v1/organizations/{organizationsId}/contacts", +"httpMethod": "GET", +"id": "essentialcontacts.organizations.contacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a contact. Note: A contact's email address cannot be changed.", +"flatPath": "v1/organizations/{organizationsId}/contacts/{contactsId}", +"httpMethod": "PATCH", +"id": "essentialcontacts.organizations.contacts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^organizations/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"sendTestMessage": { +"description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", +"flatPath": "v1/organizations/{organizationsId}/contacts:sendTestMessage", +"httpMethod": "POST", +"id": "essentialcontacts.organizations.contacts.sendTestMessage", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}/contacts:sendTestMessage", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1SendTestMessageRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"projects": { +"resources": { +"contacts": { +"methods": { +"compute": { +"description": "Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.", +"flatPath": "v1/projects/{projectsId}/contacts:compute", +"httpMethod": "GET", +"id": "essentialcontacts.projects.contacts.compute", +"parameterOrder": [ +"parent" +], +"parameters": { +"notificationCategories": { +"description": "The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.", +"enum": [ +"NOTIFICATION_CATEGORY_UNSPECIFIED", +"ALL", +"SUSPENSION", +"SECURITY", +"TECHNICAL", +"BILLING", +"LEGAL", +"PRODUCT_UPDATES", +"TECHNICAL_INCIDENTS" +], +"enumDescriptions": [ +"Notification category is unrecognized or unspecified.", +"All notifications related to the resource, including notifications pertaining to categories added in the future.", +"Notifications related to imminent account suspension.", +"Notifications related to security/privacy incidents, notifications, and vulnerabilities.", +"Notifications related to technical events and issues such as outages, errors, or bugs.", +"Notifications related to billing and payments notifications, price updates, errors, or credits.", +"Notifications related to enforcement actions, regulatory compliance, or government notices.", +"Notifications related to new versions, product terms updates, or deprecations.", +"Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL." +], +"location": "query", +"repeated": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts:compute", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ComputeContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Adds a new contact for a resource.", +"flatPath": "v1/projects/{projectsId}/contacts", +"httpMethod": "POST", +"id": "essentialcontacts.projects.contacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a contact.", +"flatPath": "v1/projects/{projectsId}/contacts/{contactsId}", +"httpMethod": "DELETE", +"id": "essentialcontacts.projects.contacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to delete. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^projects/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a single contact.", +"flatPath": "v1/projects/{projectsId}/contacts/{contactsId}", +"httpMethod": "GET", +"id": "essentialcontacts.projects.contacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the contact to retrieve. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^projects/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the contacts that have been set on a resource.", +"flatPath": "v1/projects/{projectsId}/contacts", +"httpMethod": "GET", +"id": "essentialcontacts.projects.contacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/contacts", +"response": { +"$ref": "GoogleCloudEssentialcontactsV1ListContactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a contact. Note: A contact's email address cannot be changed.", +"flatPath": "v1/projects/{projectsId}/contacts/{contactsId}", +"httpMethod": "PATCH", +"id": "essentialcontacts.projects.contacts.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}", +"location": "path", +"pattern": "^projects/[^/]+/contacts/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The update mask applied to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"response": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"sendTestMessage": { +"description": "Allows a contact admin to send a test message to contact to verify that it has been configured correctly.", +"flatPath": "v1/projects/{projectsId}/contacts:sendTestMessage", +"httpMethod": "POST", +"id": "essentialcontacts.projects.contacts.sendTestMessage", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}/contacts:sendTestMessage", +"request": { +"$ref": "GoogleCloudEssentialcontactsV1SendTestMessageRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20250522", +"rootUrl": "https://essentialcontacts.googleapis.com/", +"schemas": { +"GoogleCloudEssentialcontactsV1ComputeContactsResponse": { +"description": "Response message for the ComputeContacts method.", +"id": "GoogleCloudEssentialcontactsV1ComputeContactsResponse", +"properties": { +"contacts": { +"description": "All contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.", +"items": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token` and the rest of the parameters the same as the original request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEssentialcontactsV1Contact": { +"description": "A contact that will receive notifications from Google Cloud.", +"id": "GoogleCloudEssentialcontactsV1Contact", +"properties": { +"email": { +"description": "Required. The email address to send notifications to. The email address does not need to be a Google Account.", +"type": "string" +}, +"languageTag": { +"description": "Required. The preferred language for notifications, as a ISO 639-1 language code. See [Supported languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) for a list of supported languages.", +"type": "string" +}, +"name": { +"description": "Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}", +"readOnly": true, +"type": "string" +}, +"notificationCategorySubscriptions": { +"description": "Required. The categories of notifications that the contact will receive communications for.", +"items": { +"enum": [ +"NOTIFICATION_CATEGORY_UNSPECIFIED", +"ALL", +"SUSPENSION", +"SECURITY", +"TECHNICAL", +"BILLING", +"LEGAL", +"PRODUCT_UPDATES", +"TECHNICAL_INCIDENTS" +], +"enumDescriptions": [ +"Notification category is unrecognized or unspecified.", +"All notifications related to the resource, including notifications pertaining to categories added in the future.", +"Notifications related to imminent account suspension.", +"Notifications related to security/privacy incidents, notifications, and vulnerabilities.", +"Notifications related to technical events and issues such as outages, errors, or bugs.", +"Notifications related to billing and payments notifications, price updates, errors, or credits.", +"Notifications related to enforcement actions, regulatory compliance, or government notices.", +"Notifications related to new versions, product terms updates, or deprecations.", +"Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL." +], +"type": "string" +}, +"type": "array" +}, +"validateTime": { +"description": "Output only. The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validationState": { +"description": "Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.", +"enum": [ +"VALIDATION_STATE_UNSPECIFIED", +"VALID", +"INVALID" +], +"enumDescriptions": [ +"The validation state is unknown or unspecified.", +"The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.", +"The contact is considered invalid. This may become the state if the contact's email is found to be unreachable." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEssentialcontactsV1ListContactsResponse": { +"description": "Response message for the ListContacts method.", +"id": "GoogleCloudEssentialcontactsV1ListContactsResponse", +"properties": { +"contacts": { +"description": "The contacts for the specified resource.", +"items": { +"$ref": "GoogleCloudEssentialcontactsV1Contact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there are more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token` and the rest of the parameters the same as the original request.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEssentialcontactsV1SendTestMessageRequest": { +"description": "Request message for the SendTestMessage method.", +"id": "GoogleCloudEssentialcontactsV1SendTestMessageRequest", +"properties": { +"contacts": { +"description": "Required. The list of names of the contacts to send a test message to. Format: organizations/{organization_id}/contacts/{contact_id}, folders/{folder_id}/contacts/{contact_id} or projects/{project_id}/contacts/{contact_id}", +"items": { +"type": "string" +}, +"type": "array" +}, +"notificationCategory": { +"description": "Required. The notification category to send the test message for. All contacts must be subscribed to this category.", +"enum": [ +"NOTIFICATION_CATEGORY_UNSPECIFIED", +"ALL", +"SUSPENSION", +"SECURITY", +"TECHNICAL", +"BILLING", +"LEGAL", +"PRODUCT_UPDATES", +"TECHNICAL_INCIDENTS" +], +"enumDescriptions": [ +"Notification category is unrecognized or unspecified.", +"All notifications related to the resource, including notifications pertaining to categories added in the future.", +"Notifications related to imminent account suspension.", +"Notifications related to security/privacy incidents, notifications, and vulnerabilities.", +"Notifications related to technical events and issues such as outages, errors, or bugs.", +"Notifications related to billing and payments notifications, price updates, errors, or credits.", +"Notifications related to enforcement actions, regulatory compliance, or government notices.", +"Notifications related to new versions, product terms updates, or deprecations.", +"Child category of TECHNICAL. If assigned, technical incident notifications will go to these contacts instead of TECHNICAL." +], +"type": "string" +} +}, +"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", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Essential Contacts API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ad315537e629ca763ef80885a1729acdd67b03a6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/eventarc.v1.json @@ -0,0 +1,4284 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://eventarc.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Eventarc", +"description": "Build event-driven applications on Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/eventarc", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us-west8.rep.googleapis.com/", +"location": "us-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://eventarc.eu.rep.googleapis.com/", +"location": "eu" +} +], +"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": "eventarc:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://eventarc.mtls.googleapis.com/", +"name": "eventarc", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getGoogleChannelConfig": { +"description": "Get a GoogleChannelConfig. The name of the GoogleChannelConfig in the response is ALWAYS coded with projectID.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleChannelConfig", +"httpMethod": "GET", +"id": "eventarc.projects.locations.getGoogleChannelConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the config to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/googleChannelConfig$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleChannelConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "eventarc.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateGoogleChannelConfig": { +"description": "Update a single GoogleChannelConfig", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleChannelConfig", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.updateGoogleChannelConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/googleChannelConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleChannelConfig" +}, +"response": { +"$ref": "GoogleChannelConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"channelConnections": { +"methods": { +"create": { +"description": "Create a new ChannelConnection in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channelConnections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"channelConnectionId": { +"description": "Required. The user-provided ID to be assigned to the channel connection.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection in which to add this channel connection.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/channelConnections", +"request": { +"$ref": "ChannelConnection" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single ChannelConnection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.channelConnections.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the channel connection to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single ChannelConnection.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channelConnections.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the channel connection to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/channelConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ChannelConnection" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channelConnections.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/channelConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List channel connections.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channelConnections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of channel connections to return on each page. Note: The service may send fewer responses.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token; provide the value from the `next_page_token` field in a previous `ListChannelConnections` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannelConnetions` match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection from which to list channel connections.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/channelConnections", +"response": { +"$ref": "ListChannelConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channelConnections.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/[^/]+/channelConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channelConnections.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/[^/]+/channelConnections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"channels": { +"methods": { +"create": { +"description": "Create a new channel in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channels.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"channelId": { +"description": "Required. The user-provided ID to be assigned to the channel.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection in which to add this channel.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/channels", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.channels.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the channel to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single Channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channels.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the channel to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Channel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channels.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List channels.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels", +"httpMethod": "GET", +"id": "eventarc.projects.locations.channels.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, channel_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of channels to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token; provide the value from the `next_page_token` field in a previous `ListChannels` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannels` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list channels on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/channels", +"response": { +"$ref": "ListChannelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single channel.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.channels.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Channel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channels.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/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.channels.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/[^/]+/channels/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"enrollments": { +"methods": { +"create": { +"description": "Create a new Enrollment in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments", +"httpMethod": "POST", +"id": "eventarc.projects.locations.enrollments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"enrollmentId": { +"description": "Required. The user-provided ID to be assigned to the Enrollment. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection in which to add this enrollment.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/enrollments", +"request": { +"$ref": "Enrollment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single Enrollment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.enrollments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the Enrollment is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. If provided, the Enrollment will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the Enrollment to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single Enrollment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.enrollments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Enrollment to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Enrollment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.enrollments.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List Enrollments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments", +"httpMethod": "GET", +"id": "eventarc.projects.locations.enrollments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list triggers on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/enrollments", +"response": { +"$ref": "ListEnrollmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single Enrollment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.enrollments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Enrollment" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.enrollments.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/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.enrollments.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/[^/]+/enrollments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"googleApiSources": { +"methods": { +"create": { +"description": "Create a new GoogleApiSource in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources", +"httpMethod": "POST", +"id": "eventarc.projects.locations.googleApiSources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"googleApiSourceId": { +"description": "Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection in which to add this google api source.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/googleApiSources", +"request": { +"$ref": "GoogleApiSource" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single GoogleApiSource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.googleApiSources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the GoogleApiSource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single GoogleApiSource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.googleApiSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the google api source to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleApiSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.googleApiSources.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List GoogleApiSources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources", +"httpMethod": "GET", +"id": "eventarc.projects.locations.googleApiSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list GoogleApiSources on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/googleApiSources", +"response": { +"$ref": "ListGoogleApiSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single GoogleApiSource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.googleApiSources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the GoogleApiSource is not found, a new GoogleApiSource will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleApiSource" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.googleApiSources.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/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.googleApiSources.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/[^/]+/googleApiSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"messageBuses": { +"methods": { +"create": { +"description": "Create a new MessageBus in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses", +"httpMethod": "POST", +"id": "eventarc.projects.locations.messageBuses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"messageBusId": { +"description": "Required. The user-provided ID to be assigned to the MessageBus. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection in which to add this message bus.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/messageBuses", +"request": { +"$ref": "MessageBus" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single message bus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.messageBuses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the MessageBus is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. If provided, the MessageBus will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the MessageBus to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single MessageBus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.messageBuses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the message bus to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MessageBus" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.messageBuses.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List message buses.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses", +"httpMethod": "GET", +"id": "eventarc.projects.locations.messageBuses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter field that the list request will filter on. Possible filtersare described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list message buses on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/messageBuses", +"response": { +"$ref": "ListMessageBusesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listEnrollments": { +"description": "List message bus enrollments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:listEnrollments", +"httpMethod": "GET", +"id": "eventarc.projects.locations.messageBuses.listEnrollments", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent message bus to list enrollments on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:listEnrollments", +"response": { +"$ref": "ListMessageBusEnrollmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single message bus.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.messageBuses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the MessageBus is not found, a new MessageBus will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MessageBus" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.messageBuses.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/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.messageBuses.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/[^/]+/messageBuses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "eventarc.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "eventarc.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"pipelines": { +"methods": { +"create": { +"description": "Create a new Pipeline in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", +"httpMethod": "POST", +"id": "eventarc.projects.locations.pipelines.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent collection in which to add this pipeline.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pipelineId": { +"description": "Required. The user-provided ID to be assigned to the Pipeline. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/pipelines", +"request": { +"$ref": "Pipeline" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single pipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.pipelines.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the Pipeline is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. If provided, the Pipeline will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the Pipeline to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single Pipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.pipelines.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the pipeline to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Pipeline" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.pipelines.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List pipelines.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", +"httpMethod": "GET", +"id": "eventarc.projects.locations.pipelines.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter field that the list request will filter on. Possible filters are described in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, update_time`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token; provide the value from the `next_page_token` field in a previous call to retrieve the subsequent page. When paginating, all other parameters provided must match the previous call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list pipelines on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/pipelines", +"response": { +"$ref": "ListPipelinesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single pipeline.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.pipelines.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Pipeline" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.pipelines.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/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.pipelines.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/[^/]+/pipelines/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"providers": { +"methods": { +"get": { +"description": "Get a single Provider.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/providers/{providersId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.providers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the provider to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/providers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Provider" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List providers.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/providers", +"httpMethod": "GET", +"id": "eventarc.projects.locations.providers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter field that the list request will filter on.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting oder is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, _id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of providers to return on each page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token; provide the value from the `next_page_token` field in a previous `ListProviders` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListProviders` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the provider to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/providers", +"response": { +"$ref": "ListProvidersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Create a new trigger in a particular project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent collection in which to add this trigger.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"triggerId": { +"description": "Required. The user-provided ID to be assigned to the trigger.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/triggers", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a single trigger.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "DELETE", +"id": "eventarc.projects.locations.triggers.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the trigger is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "If provided, the trigger will only be deleted if the etag matches the current etag on the resource.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the trigger to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a single trigger.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the trigger to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:getIamPolicy", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List triggers.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers", +"httpMethod": "GET", +"id": "eventarc.projects.locations.triggers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter field. Used to filter the Triggers to be listed. Possible filters are described in https://google.aip.dev/160. For example, using \"?filter=destination:gke\" would list only Triggers with a gke destination.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "The sorting order of the resources returned. Value should be a comma-separated list of fields. The default sorting order is ascending. To specify descending order for a field, append a `desc` suffix; for example: `name desc, trigger_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of triggers to return on each page. Note: The service may send fewer.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token; provide the value from the `next_page_token` field in a previous `ListTriggers` call to retrieve the subsequent page. When paginating, all other parameters provided to `ListTriggers` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent collection to list triggers on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/triggers", +"response": { +"$ref": "ListTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a single trigger.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}", +"httpMethod": "PATCH", +"id": "eventarc.projects.locations.triggers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the trigger is not found, a new trigger will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of \"*\".", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the review, but do not post it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:setIamPolicy", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.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/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:testIamPermissions", +"httpMethod": "POST", +"id": "eventarc.projects.locations.triggers.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/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260206", +"rootUrl": "https://eventarc.googleapis.com/", +"schemas": { +"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" +}, +"Channel": { +"description": "A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.", +"id": "Channel", +"properties": { +"activationToken": { +"description": "Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"name": { +"description": "Required. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.", +"type": "string" +}, +"provider": { +"description": "The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.", +"type": "string" +}, +"pubsubTopic": { +"description": "Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.", +"readOnly": true, +"type": "string" +}, +"satisfiesPzs": { +"description": "Output only. Whether or not this Channel satisfies the requirements of physical zone separation", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of a Channel.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The PENDING state indicates that a Channel has been created successfully and there is a new activation token available for the subscriber to use to convey the Channel to the provider in order to create a Connection.", +"The ACTIVE state indicates that a Channel has been successfully connected with the event provider. An ACTIVE Channel is ready to receive and route events from the event provider.", +"The INACTIVE state indicates that the Channel cannot receive events permanently. There are two possible cases this state can happen: 1. The SaaS provider disconnected from this Channel. 2. The Channel activation token has expired but the SaaS provider wasn't connected. To re-establish a Connection with a provider, the subscriber should create a new Channel and give it to the provider." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ChannelConnection": { +"description": "A representation of the ChannelConnection resource. A ChannelConnection is a resource which event providers create during the activation process to establish a connection between the provider and the subscriber channel.", +"id": "ChannelConnection", +"properties": { +"activationToken": { +"description": "Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.", +"type": "string" +}, +"channel": { +"description": "Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.", +"type": "string" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"name": { +"description": "Required. The name of the connection.", +"type": "string" +}, +"uid": { +"description": "Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CloudRun": { +"description": "Represents a Cloud Run destination.", +"id": "CloudRun", +"properties": { +"path": { +"description": "Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", +"type": "string" +}, +"region": { +"description": "Required. The region the Cloud Run service is deployed in.", +"type": "string" +}, +"service": { +"description": "Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.", +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "Represents a target of an invocation over HTTP.", +"id": "Destination", +"properties": { +"cloudFunction": { +"description": "The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.", +"type": "string" +}, +"cloudRun": { +"$ref": "CloudRun", +"description": "Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger." +}, +"gke": { +"$ref": "GKE", +"description": "A GKE service capable of receiving events. The service should be running in the same project as the trigger." +}, +"httpEndpoint": { +"$ref": "HttpEndpoint", +"description": "An HTTP endpoint destination described by an URI." +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type." +}, +"workflow": { +"description": "The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`", +"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" +}, +"Enrollment": { +"description": "An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.", +"id": "Enrollment", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource annotations.", +"type": "object" +}, +"celMatch": { +"description": "Required. A CEL expression identifying which messages this enrollment applies to.", +"type": "string" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destination": { +"description": "Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: \"projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)\"", +"type": "string" +}, +"displayName": { +"description": "Optional. Resource display name.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"messageBus": { +"description": "Required. Immutable. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}", +"type": "string" +}, +"uid": { +"description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"EventFilter": { +"description": "Filters events based on exact matches on the CloudEvents attributes.", +"id": "EventFilter", +"properties": { +"attribute": { +"description": "Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute.", +"type": "string" +}, +"operator": { +"description": "Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The allowed values are `path_pattern` and `match-path-pattern`. `path_pattern` is only allowed for GCFv1 triggers.", +"type": "string" +}, +"value": { +"description": "Required. The value for the attribute.", +"type": "string" +} +}, +"type": "object" +}, +"EventType": { +"description": "A representation of the event type resource.", +"id": "EventType", +"properties": { +"description": { +"description": "Output only. Human friendly description of what the event type is about. For example \"Bucket created in Cloud Storage\".", +"readOnly": true, +"type": "string" +}, +"eventSchemaUri": { +"description": "Output only. URI for the event schema. For example \"https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto\"", +"readOnly": true, +"type": "string" +}, +"filteringAttributes": { +"description": "Output only. Filtering attributes for the event type.", +"items": { +"$ref": "FilteringAttribute" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Output only. The full name of the event type (for example, \"google.cloud.storage.object.v1.finalized\"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match.", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"FilteringAttribute": { +"description": "A representation of the FilteringAttribute resource. Filtering attributes are per event type.", +"id": "FilteringAttribute", +"properties": { +"attribute": { +"description": "Output only. Attribute used for filtering the event type.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of the purpose of the attribute.", +"readOnly": true, +"type": "string" +}, +"pathPatternSupported": { +"description": "Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.", +"readOnly": true, +"type": "boolean" +}, +"required": { +"description": "Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GKE": { +"description": "Represents a GKE destination.", +"id": "GKE", +"properties": { +"cluster": { +"description": "Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.", +"type": "string" +}, +"location": { +"description": "Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.", +"type": "string" +}, +"namespace": { +"description": "Required. The namespace the GKE service is running in.", +"type": "string" +}, +"path": { +"description": "Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: \"/route\", \"route\", \"route/subroute\".", +"type": "string" +}, +"service": { +"description": "Required. Name of the GKE service.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleApiSource": { +"description": "A GoogleApiSource represents a subscription of 1P events from a MessageBus.", +"id": "GoogleApiSource", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource annotations.", +"type": "object" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"destination": { +"description": "Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: \"projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)", +"type": "string" +}, +"displayName": { +"description": "Optional. Resource display name.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. Config to control Platform logging for the GoogleApiSource." +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}", +"type": "string" +}, +"organizationSubscription": { +"$ref": "OrganizationSubscription", +"description": "Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org." +}, +"projectSubscriptions": { +"$ref": "ProjectSubscriptions", +"description": "Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource." +}, +"uid": { +"description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleChannelConfig": { +"description": "A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.", +"id": "GoogleChannelConfig", +"properties": { +"cryptoKeyName": { +"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"name": { +"description": "Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestination": { +"description": "Represents a target of an invocation over HTTP.", +"id": "GoogleCloudEventarcV1PipelineDestination", +"properties": { +"authenticationConfig": { +"$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig", +"description": "Optional. An authentication config used to authenticate message requests, such that destinations can verify the source. For example, this can be used with private Google Cloud destinations that require Google Cloud credentials for access like Cloud Run. This field is optional and should be set only by users interested in authenticated push." +}, +"httpEndpoint": { +"$ref": "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint", +"description": "Optional. An HTTP endpoint destination described by an URI. If a DNS FQDN is provided as the endpoint, Pipeline will create a peering zone to the consumer VPC and forward DNS requests to the VPC specified by network config to resolve the service endpoint. See: https://cloud.google.com/dns/docs/zones/zones-overview#peering_zones" +}, +"messageBus": { +"description": "Optional. The resource name of the Message Bus to which events should be published. The Message Bus resource should exist in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/messageBuses/{message_bus}`", +"type": "string" +}, +"networkConfig": { +"$ref": "GoogleCloudEventarcV1PipelineDestinationNetworkConfig", +"description": "Optional. Network config is used to configure how Pipeline resolves and connects to a destination." +}, +"outputPayloadFormat": { +"$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", +"description": "Optional. The message format before it is delivered to the destination. If not set, the message will be delivered in the format it was originally delivered to the Pipeline. This field can only be set if Pipeline.input_payload_format is also set." +}, +"topic": { +"description": "Optional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`", +"type": "string" +}, +"workflow": { +"description": "Optional. The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/workflows/{workflow}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig": { +"description": "Represents a config used to authenticate message requests.", +"id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig", +"properties": { +"googleOidc": { +"$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken", +"description": "Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests." +}, +"oauthToken": { +"$ref": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken", +"description": "Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com." +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken": { +"description": "Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.", +"id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken", +"properties": { +"scope": { +"description": "Optional. OAuth scope to be used for generating OAuth access token. If not specified, \"https://www.googleapis.com/auth/cloud-platform\" will be used.", +"type": "string" +}, +"serviceAccount": { +"description": "Required. Service account email used to generate the [OAuth token](https://developers.google.com/identity/protocols/OAuth2). The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow Pipeline to create OAuth2 tokens for authenticated requests.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken": { +"description": "Represents a config used to authenticate with a Google OIDC token using a Google Cloud service account. Use this authentication method to invoke your Cloud Run and Cloud Functions destinations or HTTP endpoints that support Google OIDC.", +"id": "GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken", +"properties": { +"audience": { +"description": "Optional. Audience to be used to generate the OIDC Token. The audience claim identifies the recipient that the JWT is intended for. If unspecified, the destination URI will be used.", +"type": "string" +}, +"serviceAccount": { +"description": "Required. Service account email used to generate the OIDC Token. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts for more information. Eventarc service agents must have roles/roles/iam.serviceAccountTokenCreator role to allow the Pipeline to create OpenID tokens for authenticated requests.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestinationHttpEndpoint": { +"description": "Represents a HTTP endpoint destination.", +"id": "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint", +"properties": { +"messageBindingTemplate": { +"description": "Optional. The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). In this representation, all fields except the `data` and `datacontenttype` field on the message are mapped to HTTP request headers with a prefix of `ce-`. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows: 1) Use the output_payload_format_type on the Pipeline.Destination if it is set, else: 2) Use the input_payload_format_type on the Pipeline if it is set, else: 3) Treat the payload as opaque binary data. The `data` field of the message is converted to the payload format or left as-is for case 3) and then attached as the payload of the HTTP request. The `content-type` header on the HTTP request is set to the payload format type or left empty for case 3). However, if a mediation has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header on the HTTP request is set to this `datacontenttype` value. For example, if the `datacontenttype` is \"application/json\" and the payload format type is \"application/json; charset=utf-8\", then the `content-type` header on the HTTP request is set to \"application/json; charset=utf-8\". If a non-empty binding expression is specified then this expression is used to modify the default CloudEvent HTTP Protocol Binding Binary Content representation. The result of the CEL expression must be a map of key/value pairs which is used as follows: - If a map named `headers` exists on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. The headers values are constructed from the corresponding value type's canonical representation. If the `headers` field doesn't exist then the resulting HTTP request will be the headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message. Note: If the specified binding expression, has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header in the `headers` map is set to this `datacontenttype` value. - If a field named `body` exists on the result of the expression then its value is directly mapped to the body of the request. If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, with no conversion. If the body field is of any other type then it is converted to a JSON string. If the body field does not exist then the resulting payload of the HTTP request will be data value of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. - Any other fields in the resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the `message.data` value. Subfields of `message.data` may also be accessed if an input_payload_format has been specified on the Pipeline. - Each attribute of the incoming CloudEvent message can be accessed using the `message.` value, where is replaced with the name of the attribute. - Existing headers can be accessed in the CEL expression using the `headers` variable. The `headers` variable defines a map of key/value pairs corresponding to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. For example, the following CEL expression can be used to construct an HTTP request by adding an additional header to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message and by overwriting the body of the request: ``` { \"headers\": headers.merge({\"new-header-key\": \"new-header-value\"}), \"body\": \"new-body\" } ``` - The default binding for the message payload can be accessed using the `body` variable. It conatins a string representation of the message payload in the format specified by the `output_payload_format` field. If the `input_payload_format` field is not set, the `body` variable contains the same message payload bytes that were published. Additionally, the following CEL extension functions are provided for use in this CEL expression: - toBase64Url: map.toBase64Url() -> string - Converts a CelValue to a base64url encoded string - toJsonString: map.toJsonString() -> string - Converts a CelValue to a JSON string - merge: map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -> map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are \".\" separated indices of the map keys. - For example: { \"a\": 1, \"b\": { \"c\": 2, \"d\": 3 } \"e\": [4, 5] } .denormalize() -> { \"a\": 1, \"b.c\": 2, \"b.d\": 3, \"e.0\": 4, \"e.1\": 5 } - setField: map.setField(key, value) -> message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -> message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -> map - Converts a CEL list of CEL maps to a single CEL map - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to the corresponding structure of JSON format for CloudEvents. - It converts `data` to destination payload format specified in `output_payload_format`. If `output_payload_format` is not set, the data will remain unchanged. - It also sets the corresponding datacontenttype of the CloudEvent, as indicated by `output_payload_format`. If no `output_payload_format` is set it will use the value of the \"datacontenttype\" attribute on the CloudEvent if present, else remove \"datacontenttype\" attribute. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. The Pipeline expects that the message it receives adheres to the standard CloudEvent format. If it doesn't then the outgoing message request may fail with a persistent error.", +"type": "string" +}, +"uri": { +"description": "Required. The URI of the HTTP endpoint. The value must be a RFC2396 URI string. Examples: `https://svc.us-central1.p.local:8080/route`. Only the HTTPS protocol is supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineDestinationNetworkConfig": { +"description": "Represents a network config to be used for destination resolution and connectivity.", +"id": "GoogleCloudEventarcV1PipelineDestinationNetworkConfig", +"properties": { +"networkAttachment": { +"description": "Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMediation": { +"description": "Mediation defines different ways to modify the Pipeline.", +"id": "GoogleCloudEventarcV1PipelineMediation", +"properties": { +"transformation": { +"$ref": "GoogleCloudEventarcV1PipelineMediationTransformation", +"description": "Optional. How the Pipeline is to transform messages" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMediationTransformation": { +"description": "Transformation defines the way to transform an incoming message.", +"id": "GoogleCloudEventarcV1PipelineMediationTransformation", +"properties": { +"transformationTemplate": { +"description": "Optional. The CEL expression template to apply to transform messages. The following CEL extension functions are provided for use in this CEL expression: - merge: map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -> map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are \".\" separated indices of the map keys. - For example: { \"a\": 1, \"b\": { \"c\": 2, \"d\": 3 } \"e\": [4, 5] } .denormalize() -> { \"a\": 1, \"b.c\": 2, \"b.d\": 3, \"e.0\": 4, \"e.1\": 5 } - setField: map.setField(key, value) -> message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -> message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -> map - Converts a CEL list of CEL maps to a single CEL map - toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -> string or bytes - Converts the message data to the destination payload format specified in Pipeline.Destination.output_payload_format - This function is meant to be applied to the message.data field. - If the destination payload format is not set, the function will return the message data unchanged. - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to the corresponding structure of JSON format for CloudEvents - This function applies toDestinationPayloadFormat() to the message data. It also sets the corresponding datacontenttype of the CloudEvent, as indicated by Pipeline.Destination.output_payload_format. If no output_payload_format is set it will use the existing datacontenttype on the CloudEvent if present, else leave datacontenttype absent. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMessagePayloadFormat": { +"description": "Represents the format of message data.", +"id": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", +"properties": { +"avro": { +"$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat", +"description": "Optional. Avro format." +}, +"json": { +"$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat", +"description": "Optional. JSON format." +}, +"protobuf": { +"$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat", +"description": "Optional. Protobuf format." +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat": { +"description": "The format of an AVRO message payload.", +"id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat", +"properties": { +"schemaDefinition": { +"description": "Optional. The entire schema definition is stored in this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat": { +"description": "The format of a JSON message payload.", +"id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat", +"properties": {}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat": { +"description": "The format of a Protobuf message payload.", +"id": "GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat", +"properties": { +"schemaDefinition": { +"description": "Optional. The entire schema definition is stored in this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudEventarcV1PipelineRetryPolicy": { +"description": "The retry policy configuration for the Pipeline. The pipeline exponentially backs off in case the destination is non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay fields to the same value this will make the duration between retries constant.", +"id": "GoogleCloudEventarcV1PipelineRetryPolicy", +"properties": { +"maxAttempts": { +"description": "Optional. The maximum number of delivery attempts for any message. The value must be between 1 and 100. The default value for this field is 5.", +"format": "int32", +"type": "integer" +}, +"maxRetryDelay": { +"description": "Optional. The maximum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 60.", +"format": "google-duration", +"type": "string" +}, +"minRetryDelay": { +"description": "Optional. The minimum amount of seconds to wait between retry attempts. The value must be between 1 and 600. The default value for this field is 5.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"HttpEndpoint": { +"description": "Represents a HTTP endpoint destination.", +"id": "HttpEndpoint", +"properties": { +"uri": { +"description": "Required. The URI of the HTTP endpoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.", +"type": "string" +} +}, +"type": "object" +}, +"ListChannelConnectionsResponse": { +"description": "The response message for the `ListChannelConnections` method.", +"id": "ListChannelConnectionsResponse", +"properties": { +"channelConnections": { +"description": "The requested channel connections, up to the number specified in `page_size`.", +"items": { +"$ref": "ChannelConnection" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListChannelConnections` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListChannelsResponse": { +"description": "The response message for the `ListChannels` method.", +"id": "ListChannelsResponse", +"properties": { +"channels": { +"description": "The requested channels, up to the number specified in `page_size`.", +"items": { +"$ref": "Channel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListChannels` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListEnrollmentsResponse": { +"description": "The response message for the `ListEnrollments` method.", +"id": "ListEnrollmentsResponse", +"properties": { +"enrollments": { +"description": "The requested Enrollments, up to the number specified in `page_size`.", +"items": { +"$ref": "Enrollment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListEnrollments` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListGoogleApiSourcesResponse": { +"description": "The response message for the `ListGoogleApiSources` method.", +"id": "ListGoogleApiSourcesResponse", +"properties": { +"googleApiSources": { +"description": "The requested GoogleApiSources, up to the number specified in `page_size`.", +"items": { +"$ref": "GoogleApiSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMessageBusEnrollmentsResponse": { +"description": "The response message for the `ListMessageBusEnrollments` method.`", +"id": "ListMessageBusEnrollmentsResponse", +"properties": { +"enrollments": { +"description": "The requested enrollments, up to the number specified in `page_size`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListMessageBusEnrollments` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMessageBusesResponse": { +"description": "The response message for the `ListMessageBuses` method.", +"id": "ListMessageBusesResponse", +"properties": { +"messageBuses": { +"description": "The requested message buses, up to the number specified in `page_size`.", +"items": { +"$ref": "MessageBus" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be sent to `ListMessageBuses` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPipelinesResponse": { +"description": "The response message for the ListPipelines method.", +"id": "ListPipelinesResponse", +"properties": { +"nextPageToken": { +"description": "A page token that can be sent to `ListPipelines` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"pipelines": { +"description": "The requested pipelines, up to the number specified in `page_size`.", +"items": { +"$ref": "Pipeline" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListProvidersResponse": { +"description": "The response message for the `ListProviders` method.", +"id": "ListProvidersResponse", +"properties": { +"nextPageToken": { +"description": "A page token that can be sent to `ListProviders` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"providers": { +"description": "The requested providers, up to the number specified in `page_size`.", +"items": { +"$ref": "Provider" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTriggersResponse": { +"description": "The response message for the `ListTriggers` method.", +"id": "ListTriggersResponse", +"properties": { +"nextPageToken": { +"description": "A page token that can be sent to `ListTriggers` to request the next page. If this is empty, then there are no more pages.", +"type": "string" +}, +"triggers": { +"description": "The requested triggers, up to the number specified in `page_size`.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"unreachable": { +"description": "Unreachable resources, if any.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LoggingConfig": { +"description": "The configuration for Platform Telemetry logging for Eventarc Advanced resources.", +"id": "LoggingConfig", +"properties": { +"logSeverity": { +"description": "Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy \u2265 this value will be sent, unless it is NONE.", +"enum": [ +"LOG_SEVERITY_UNSPECIFIED", +"NONE", +"DEBUG", +"INFO", +"NOTICE", +"WARNING", +"ERROR", +"CRITICAL", +"ALERT", +"EMERGENCY" +], +"enumDescriptions": [ +"Log severity is not specified. This value is treated the same as NONE, but is used to distinguish between no update and update to NONE in update_masks.", +"Default value at resource creation, presence of this value must be treated as no logging/disable logging.", +"Debug or trace level logging.", +"Routine information, such as ongoing status or performance.", +"Normal but significant events, such as start up, shut down, or a configuration change.", +"Warning events might cause problems.", +"Error events are likely to cause problems.", +"Critical events cause more severe problems or outages.", +"A person must take action immediately.", +"One or more systems are unusable." +], +"type": "string" +} +}, +"type": "object" +}, +"MessageBus": { +"description": "MessageBus for the messages flowing through the system. The admin has visibility and control over the messages being published and consumed and can restrict publishers and subscribers to only a subset of data available in the system by defining authorization policies.", +"id": "MessageBus", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource annotations.", +"type": "object" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"displayName": { +"description": "Optional. Resource display name.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels.", +"type": "object" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it." +}, +"name": { +"description": "Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}", +"type": "string" +}, +"uid": { +"description": "Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network Configuration that can be inherited by other protos.", +"id": "NetworkConfig", +"properties": { +"networkAttachment": { +"description": "Required. Name of the NetworkAttachment that allows access to the customer's VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OrganizationSubscription": { +"description": "Config to enabled subscribing to events from other projects in the org.", +"id": "OrganizationSubscription", +"properties": { +"enabled": { +"description": "Required. Enable org level subscription.", +"type": "boolean" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "A representation of the Pipeline resource.", +"id": "Pipeline", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined annotations. See https://google.aip.dev/128#annotations.", +"type": "object" +}, +"createTime": { +"description": "Output only. The creation time. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern \"projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}\".", +"type": "string" +}, +"destinations": { +"description": "Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.", +"items": { +"$ref": "GoogleCloudEventarcV1PipelineDestination" +}, +"type": "array" +}, +"displayName": { +"description": "Optional. Display name of resource.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"inputPayloadFormat": { +"$ref": "GoogleCloudEventarcV1PipelineMessagePayloadFormat", +"description": "Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.", +"type": "object" +}, +"loggingConfig": { +"$ref": "LoggingConfig", +"description": "Optional. Config to control Platform Logging for Pipelines." +}, +"mediations": { +"description": "Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.", +"items": { +"$ref": "GoogleCloudEventarcV1PipelineMediation" +}, +"type": "array" +}, +"name": { +"description": "Identifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format.", +"type": "string" +}, +"retryPolicy": { +"$ref": "GoogleCloudEventarcV1PipelineRetryPolicy", +"description": "Optional. The retry policy to use in the pipeline." +}, +"satisfiesPzs": { +"description": "Output only. Whether or not this Pipeline satisfies the requirements of physical zone separation", +"readOnly": true, +"type": "boolean" +}, +"uid": { +"description": "Output only. Server-assigned unique identifier for the Pipeline. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\".", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"ProjectSubscriptions": { +"description": "Config to enable subscribing to all events from a list of projects.", +"id": "ProjectSubscriptions", +"properties": { +"list": { +"description": "Required. A list of projects to receive events from. All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Provider": { +"description": "A representation of the Provider resource.", +"id": "Provider", +"properties": { +"displayName": { +"description": "Output only. Human friendly name for the Provider. For example \"Cloud Storage\".", +"readOnly": true, +"type": "string" +}, +"eventTypes": { +"description": "Output only. Event types for this provider.", +"items": { +"$ref": "EventType" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. In `projects/{project}/locations/{location}/providers/{provider_id}` format.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Pubsub": { +"description": "Represents a Pub/Sub transport.", +"id": "Pubsub", +"properties": { +"subscription": { +"description": "Output only. The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.", +"readOnly": true, +"type": "string" +}, +"topic": { +"description": "Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion.", +"type": "string" +} +}, +"type": "object" +}, +"RetryPolicy": { +"description": "The retry policy configuration for the Trigger. Can only be set with Cloud Run destinations.", +"id": "RetryPolicy", +"properties": { +"maxAttempts": { +"description": "Optional. The maximum number of delivery attempts for any message. The only valid value is 1.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"StateCondition": { +"description": "A condition that is part of the trigger state computation.", +"id": "StateCondition", +"properties": { +"code": { +"description": "The canonical code of the condition.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"message": { +"description": "Human-readable message.", +"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" +}, +"Transport": { +"description": "Represents the transport intermediaries created for the trigger to deliver events.", +"id": "Transport", +"properties": { +"pubsub": { +"$ref": "Pubsub", +"description": "The Pub/Sub topic and subscription used by Eventarc as a transport intermediary." +} +}, +"type": "object" +}, +"Trigger": { +"description": "A representation of the trigger resource.", +"id": "Trigger", +"properties": { +"channel": { +"description": "Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.", +"type": "string" +}, +"conditions": { +"additionalProperties": { +"$ref": "StateCondition" +}, +"description": "Output only. The reason(s) why a trigger is in FAILED state.", +"readOnly": true, +"type": "object" +}, +"createTime": { +"description": "Output only. The creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"destination": { +"$ref": "Destination", +"description": "Required. Destination specifies where the events should be sent to." +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding.", +"readOnly": true, +"type": "string" +}, +"eventDataContentType": { +"description": "Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.", +"type": "string" +}, +"eventFilters": { +"description": "Required. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.", +"items": { +"$ref": "EventFilter" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User labels attached to the triggers that can be used to group resources.", +"type": "object" +}, +"name": { +"description": "Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.", +"type": "string" +}, +"retryPolicy": { +"$ref": "RetryPolicy", +"description": "Optional. The retry policy to use in the Trigger. If unset, event delivery will be retried for up to 24 hours by default: https://cloud.google.com/eventarc/docs/retry-events" +}, +"satisfiesPzs": { +"description": "Output only. Whether or not this Trigger satisfies the requirements of physical zone separation", +"readOnly": true, +"type": "boolean" +}, +"serviceAccount": { +"description": "Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.", +"type": "string" +}, +"transport": { +"$ref": "Transport", +"description": "Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes." +}, +"uid": { +"description": "Output only. Server-assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The last-modified time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Eventarc API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..099d13c57134f042650bd9d68a592ac2162adc2d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json @@ -0,0 +1,2798 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaseapphosting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase App Hosting", +"description": "Firebase App Hosting streamlines the development and deployment of dynamic Next.js and Angular applications, offering built-in framework support, GitHub integration, and integration with other Firebase products. You can use this API to intervene in the Firebase App Hosting build process and add custom functionality not supported in our default Console & CLI flows, including triggering builds from external CI/CD workflows or deploying from pre-built container images. ", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/app-hosting", +"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": "firebaseapphosting:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaseapphosting.mtls.googleapis.com/", +"name": "firebaseapphosting", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backends": { +"methods": { +"create": { +"description": "Creates a new backend in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backendId": { +"description": "Required. Id of the backend. Also used as the service ID for Cloud Run, and as part of the default domain name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", +"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 t he 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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/backends", +"request": { +"$ref": "Backend" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any resources for this backend will also be deleted. Otherwise, any children resources will block deletion.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"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 t he 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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backend" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists backends in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. A parent name of the form `projects/{project}/locations/{locationId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/backends", +"response": { +"$ref": "ListBackendsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the information for a single backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the backend is not found, a new backend will be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"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 t he 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 backend resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Backend" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"builds": { +"methods": { +"create": { +"description": "Creates a new build for a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.builds.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"buildId": { +"description": "Required. Desired ID of the build being created.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/builds", +"request": { +"$ref": "Build" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single build.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.builds.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a build.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds/{buildsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.builds.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/builds/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Build" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists builds in a given project, location, and backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/builds", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.builds.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the form `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/builds", +"response": { +"$ref": "ListBuildsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"domains": { +"methods": { +"create": { +"description": "Links a new domain to a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"domainId": { +"description": "Required. Id of the domain to create. Must be a valid domain name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single domain.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.backends.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. If the client provided etag is out of date, delete will be returned FAILED_PRECONDITION error.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or deleting any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a domain.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists domains of a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the information for a single domain.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/domains/{domainsId}", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.domains.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the domain is not found, a new domain will be created.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/domains/[^/]+$", +"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 Domain resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or modifying any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rollouts": { +"methods": { +"create": { +"description": "Creates a new rollout for a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.backends.rollouts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"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" +}, +"rolloutId": { +"description": "Optional. Desired ID of the rollout being created.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/rollouts", +"request": { +"$ref": "Rollout" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a rollout.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts/{rolloutsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.rollouts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists rollouts for a backend.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/rollouts", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.rollouts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to narrow down results to a preferred subset. Learn more about filtering in Google's [AIP 160 standard](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Hint for how to order the results. Supported fields are `name` and `createTime`. To specify descending order, append a `desc` suffix.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent backend in the format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, the request returns soft-deleted resources that haven't been fully-deleted yet.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/rollouts", +"response": { +"$ref": "ListRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"traffic": { +"methods": { +"get": { +"description": "Gets information about a backend's traffic.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.backends.traffic.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Traffic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a backend's traffic.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backends/{backendsId}/traffic", +"httpMethod": "PATCH", +"id": "firebaseapphosting.projects.locations.backends.traffic.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/backends/[^/]+/traffic$", +"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 t he 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 traffic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. Indicates that the request should be validated, without persisting the request or updating any resources.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Traffic" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebaseapphosting.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebaseapphosting.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "firebaseapphosting.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://firebaseapphosting.googleapis.com/", +"schemas": { +"ArchiveSource": { +"description": "The URI of an storage archive or a signed URL to use as the build source.", +"id": "ArchiveSource", +"properties": { +"author": { +"$ref": "SourceUserMetadata", +"deprecated": true, +"description": "Optional. Deprecated: Not used. The author contained in the metadata of a version control change." +}, +"description": { +"description": "Optional. An optional message that describes the uploaded version of the source code.", +"type": "string" +}, +"externalSignedUri": { +"description": "Signed URL to an archive in a storage bucket.", +"type": "string" +}, +"rootDirectory": { +"description": "Optional. The directory relative to the root of the archive to use as the root for the deployed web app. Defaults to use the root of the repository if not provided. If deploying a [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the directory that contains the `package.json` or `apphosting.yaml` file.", +"type": "string" +}, +"userStorageUri": { +"description": "URI to an archive in Cloud Storage. The object must be a zipped (.zip) or gzipped archive file (.tar.gz) containing source to deploy.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "A backend is the primary resource of App Hosting.", +"id": "Backend", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"appId": { +"description": "Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the backend.", +"type": "string" +}, +"codebase": { +"$ref": "Codebase", +"description": "Optional. If specified, the connection to an external source repository to watch for event-driven updates to the backend." +}, +"createTime": { +"description": "Output only. Time at which the backend was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the backend was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"environment": { +"description": "Optional. The environment name of the backend, used to load environment variables from environment specific configuration.", +"type": "string" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"managedResources": { +"description": "Output only. A list of the resources managed by this backend.", +"items": { +"$ref": "ManagedResource" +}, +"readOnly": true, +"type": "array" +}, +"mode": { +"deprecated": true, +"description": "Optional. Deprecated: Use `environment` instead.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the backend. Format: `projects/{project}/locations/{locationId}/backends/{backendId}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.", +"readOnly": true, +"type": "boolean" +}, +"requestLogsDisabled": { +"description": "Optional. A field that, if true, indicates that incoming request logs are disabled for this backend. Incoming request logs are enabled by default.", +"type": "boolean" +}, +"serviceAccount": { +"description": "Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.", +"type": "string" +}, +"servingLocality": { +"description": "Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).", +"enum": [ +"SERVING_LOCALITY_UNSPECIFIED", +"REGIONAL_STRICT", +"GLOBAL_ACCESS" +], +"enumDescriptions": [ +"Unspecified. Will return an error if used.", +"In this mode, App Hosting serves your backend's content from your chosen parent region. App Hosting only maintains data and serving infrastructure in that chosen region and does not replicate your data to other regions.", +"In this mode, App Hosting serves your backend's content from multiple points-of-presence (POP) across the globe. App Hosting replicates your backend's configuration and cached data to these POPs and uses a global CDN to further decrease response latency. App Hosting-maintained Cloud Resources on your project, such as Cloud Run services, Cloud Build build, and Artifact Registry Images are still confined to your backend's parent region. Responses cached by the CDN may be stored in the POPs for the duration of the cache's TTL." +], +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the backend was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. The primary URI to communicate with the backend.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Build": { +"description": "A single build for a backend, at a specific point codebase reference tag and point in time. Encapsulates several resources, including an Artifact Registry container image, a Cloud Build invocation that built the image, and the Cloud Run revision that uses that image.", +"id": "Build", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"buildLogsUri": { +"description": "Output only. The location of the [Cloud Build logs](https://cloud.google.com/build/docs/view-build-results) for the build process.", +"readOnly": true, +"type": "string" +}, +"config": { +"$ref": "Config", +"description": "Optional. Additional configuration of the service." +}, +"createTime": { +"description": "Output only. Time at which the build was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the build was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"environment": { +"description": "Output only. The environment name of the backend when this build was created.", +"readOnly": true, +"type": "string" +}, +"errors": { +"description": "Output only. A list of all errors that occurred during an App Hosting build.", +"items": { +"$ref": "Error" +}, +"readOnly": true, +"type": "array" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"image": { +"description": "Output only. The Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) URI, used by the Cloud Run [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) for this build.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the build. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "BuildSource", +"description": "Required. Immutable. The source for the build." +}, +"state": { +"description": "Output only. The state of the build.", +"enum": [ +"STATE_UNSPECIFIED", +"BUILDING", +"BUILT", +"DEPLOYING", +"READY", +"FAILED", +"SKIPPED" +], +"enumDescriptions": [ +"The build is in an unknown state.", +"The build is building.", +"The build has completed and is awaiting the next step. This may move to DEPLOYING once App Hosting starts to set up infrastructure.", +"The infrastructure for this build is being set up.", +"The infrastructure for this build is ready. The build may or may not be serving traffic - see `Backend.traffic` for the current state, or `Backend.traffic_statuses` for the desired state.", +"The build has failed.", +"The build was skipped." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the build was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BuildSource": { +"description": "The source for the build.", +"id": "BuildSource", +"properties": { +"archive": { +"$ref": "ArchiveSource", +"description": "An archive source." +}, +"codebase": { +"$ref": "CodebaseSource", +"description": "A codebase source." +}, +"container": { +"$ref": "ContainerSource", +"description": "An Artifact Registry container image source." +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Codebase": { +"description": "The connection to an external source repository to watch for event-driven updates to the backend.", +"id": "Codebase", +"properties": { +"repository": { +"description": "Required. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) connected to this backend, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}` The connection for the `gitRepositoryLink` must made be using the Firebase App Hosting GitHub App via the Firebase Console.", +"type": "string" +}, +"rootDirectory": { +"description": "Optional. If `repository` is provided, the directory relative to the root of the repository to use as the root for the deployed web app. Defaults to use the root of the repository if not provided. If deploying a [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the directory that contains the `package.json` or `apphosting.yaml` file.", +"type": "string" +} +}, +"type": "object" +}, +"CodebaseSource": { +"description": "A codebase source, representing the state of the codebase that the build will be created at.", +"id": "CodebaseSource", +"properties": { +"author": { +"$ref": "UserMetadata", +"description": "Output only. The author contained in the metadata of a version control change.", +"readOnly": true +}, +"branch": { +"description": "The branch in the codebase to build from, using the latest commit.", +"type": "string" +}, +"commit": { +"description": "The commit in the codebase to build from.", +"type": "string" +}, +"commitMessage": { +"description": "Output only. The message of a codebase change.", +"readOnly": true, +"type": "string" +}, +"commitTime": { +"description": "Output only. The time the change was made.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The human-friendly name to use for this Codebase when displaying a build. We use the first eight characters of the SHA-1 hash for GitHub.com.", +"readOnly": true, +"type": "string" +}, +"hash": { +"description": "Output only. The full SHA-1 hash of a Git commit, if available.", +"readOnly": true, +"type": "string" +}, +"repository": { +"description": "Output only. The resource name for the Developer Connect [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) used for this build, in the format: `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}`", +"readOnly": true, +"type": "string" +}, +"uri": { +"description": "Output only. A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Config": { +"description": "Additional configuration of the backend for this build.", +"id": "Config", +"properties": { +"effectiveEnv": { +"description": "Output only. [OUTPUT_ONLY] This field represents all environment variables employed during both the build and runtime. This list reflects the result of merging variables from all sources (Backend.override_env, Build.Config.env, YAML, defaults, system). Each variable includes its `origin`", +"items": { +"$ref": "EnvironmentVariable" +}, +"readOnly": true, +"type": "array" +}, +"env": { +"description": "Optional. Supplied environment variables for a specific build. Provided at Build creation time and immutable afterwards. This field is only applicable for Builds using a build image - (e.g., ContainerSource or ArchiveSource with locally_built_source) Attempts to set this for other build types will result in an error", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"runConfig": { +"$ref": "RunConfig", +"description": "Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service)." +} +}, +"type": "object" +}, +"ContainerSource": { +"description": "The URI of an Artifact Registry [container image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) to use as the build source.", +"id": "ContainerSource", +"properties": { +"image": { +"description": "Required. A URI representing a container for the backend to use.", +"type": "string" +} +}, +"type": "object" +}, +"CustomDomainOperationMetadata": { +"description": "Additional metadata for operations on custom domains.", +"id": "CustomDomainOperationMetadata", +"properties": { +"certState": { +"description": "Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` for the create operations to complete.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", +"App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. App Hosting can no longer serve secure content on your domain name." +], +"readOnly": true, +"type": "string" +}, +"hostState": { +"description": "Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` for Create operations of the domain name this `CustomDomain` refers toto complete.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_NON_FAH", +"HOST_CONFLICT", +"HOST_WRONG_SHARD", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain isn't associated with any IP addresses.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your domain has only IP addresses that don't ultimately resolve to App Hosting.", +"Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", +"Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", +"All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." +], +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A list of issues that are currently preventing the operation from completing. These are generally DNS-related issues encountered when querying a domain's records or attempting to mint an SSL certificate.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"liveMigrationSteps": { +"description": "Output only. A list of steps that the user must complete to migrate their domain to App Hosting without downtime.", +"items": { +"$ref": "LiveMigrationStep" +}, +"readOnly": true, +"type": "array" +}, +"ownershipState": { +"description": "Output only. The custom domain's `OwnershipState`, which must be `OWNERSHIP_ACTIVE` for the create operations to complete.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", +"Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", +"Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", +"Your custom domain owns its domain." +], +"readOnly": true, +"type": "string" +}, +"quickSetupUpdates": { +"description": "Output only. A set of DNS record updates to perform, to allow App Hosting to serve secure content on the domain.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CustomDomainStatus": { +"description": "The status of a custom domain's linkage to a backend.", +"id": "CustomDomainStatus", +"properties": { +"certState": { +"description": "Output only. Tracks SSL certificate status for the domain.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents App Hosting's intent to create a certificate before requests to a Certificate Authority are made.", +"App Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in App Hosting's load balancers.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. App Hosting can no longer serve secure content on your domain name." +], +"readOnly": true, +"type": "string" +}, +"hostState": { +"description": "Output only. Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_NON_FAH", +"HOST_CONFLICT", +"HOST_WRONG_SHARD", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain isn't associated with any IP addresses.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your domain has only IP addresses that don't ultimately resolve to App Hosting.", +"Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove `A` and `AAAA` records related to non-App-Hosting services.", +"Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.", +"All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's `OwnershipState` is also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for the domain." +], +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. A list of issues with domain configuration. Allows users to self-correct problems with DNS records.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"ownershipState": { +"description": "Output only. Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.", +"Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your `CustomDomainStatus`'s `issues` field for more details.", +"Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.", +"Your custom domain has conflicting `TXT` records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.", +"Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.", +"Your custom domain owns its domain." +], +"readOnly": true, +"type": "string" +}, +"requiredDnsUpdates": { +"description": "Output only. Lists the records that must added or removed to a custom domain's DNS in order to finish setup and start serving content. Field is present during onboarding. Also present after onboarding if one or more of the above states is not *_ACTIVE, indicating the domain's DNS records are in a bad state.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsRecord": { +"description": "A representation of a DNS records for a domain. DNS records are resource records that define how systems and services should behave when handling requests for a domain. For example, when you add `A` records to your domain's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain (such as your App Hosting files).", +"id": "DnsRecord", +"properties": { +"domainName": { +"description": "Output only. The domain the record pertains to, e.g. `foo.bar.com.`.", +"readOnly": true, +"type": "string" +}, +"rdata": { +"description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain. App Hosting uses TXT records to determine which Firebase projects have permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", +"readOnly": true, +"type": "string" +}, +"relevantState": { +"description": "Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records with an `ADD` or `REMOVE` required action.", +"items": { +"enum": [ +"CUSTOM_DOMAIN_STATE_UNSPECIFIED", +"HOST_STATE", +"OWNERSHIP_STATE", +"CERT_STATE" +], +"enumDescriptions": [ +"This message is invalid if this is unspecified.", +"The custom domain's host state.", +"The custom domain's ownership state.", +"The custom domain's certificate state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"requiredAction": { +"description": "Output only. An enum that indicates the a required action for this record. Populated when the record is part of a required change in a `DnsUpdates` `discovered` or `desired` record set.", +"enum": [ +"NONE", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"No action necessary.", +"Add this record to your DNS records.", +"Remove this record from your DNS records." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The record's type, which determines what data the record contains.", +"enum": [ +"TYPE_UNSPECIFIED", +"A", +"CNAME", +"TXT", +"AAAA", +"CAA" +], +"enumDescriptions": [ +"The record's type is unspecified. The message is invalid if this is unspecified.", +"An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain directs traffic towards.", +"A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain to a different, canonical domain. If a `CNAME` record is present, it should be the only record on the domain.", +"A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain.", +"An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain directs traffic towards.", +"A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain. App Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, App Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsRecordSet": { +"description": "A set of DNS records relevant to the setup and maintenance of a custom domain in App Hosting.", +"id": "DnsRecordSet", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error App Hosting services encountered when querying your domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", +"readOnly": true +}, +"domainName": { +"description": "Output only. The domain name the record set pertains to.", +"readOnly": true, +"type": "string" +}, +"records": { +"description": "Output only. Records on the domain.", +"items": { +"$ref": "DnsRecord" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsUpdates": { +"description": "A set of DNS record updates that you should make to allow App Hosting to serve secure content in response to requests against your domain. These updates present the current state of your domain's and related subdomains' DNS records when App Hosting last queried them, and the desired set of records that App Hosting needs to see before your custom domain can be fully active.", +"id": "DnsUpdates", +"properties": { +"checkTime": { +"description": "Output only. The last time App Hosting checked your custom domain's DNS records.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"desired": { +"description": "Output only. The set of DNS records App Hosting needs in order to be able to serve secure content on the domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"readOnly": true, +"type": "array" +}, +"discovered": { +"description": "Output only. The set of DNS records App Hosting discovered when inspecting a domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"readOnly": true, +"type": "array" +}, +"domainName": { +"description": "Output only. The domain name the DNS updates pertain to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Domain": { +"description": "A domain name that is associated with a backend.", +"id": "Domain", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Annotations as key value pairs.", +"type": "object" +}, +"createTime": { +"description": "Output only. Time at which the domain was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customDomainStatus": { +"$ref": "CustomDomainStatus", +"description": "Output only. Represents the state and configuration of a `CUSTOM` type domain. It is only present on Domains of that type.", +"readOnly": true +}, +"deleteTime": { +"description": "Output only. Time at which the domain was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Whether the domain is disabled. Defaults to false.", +"type": "boolean" +}, +"displayName": { +"description": "Optional. Mutable human-readable name for the domain. 63 character limit. e.g. `prod domain`.", +"type": "string" +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the domain, e.g. `/projects/p/locations/l/backends/b/domains/foo.com`", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the build has an ongoing LRO.", +"readOnly": true, +"type": "boolean" +}, +"serve": { +"$ref": "ServingBehavior", +"description": "Optional. The serving behavior of the domain. If specified, the domain will serve content other than its backend's live content." +}, +"type": { +"description": "Output only. The type of the domain.", +"enum": [ +"TYPE_UNSPECIFIED", +"DEFAULT", +"CUSTOM" +], +"enumDescriptions": [ +"The type is unspecified (this should not happen).", +"Default, App Hosting-provided and managed domains. These domains are created automatically with their parent backend and cannot be deleted except by deleting that parent, and cannot be moved to another backend. Default domains can be disabled via the `disabled` field.", +"Custom, developer-owned domains. Custom Domains allow you to associate a domain you own with your App Hosting backend, and configure that domain to serve your backend's content." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the domain was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DomainOperationMetadata": { +"description": "Represents the metadata of a long-running operation on domains.", +"id": "DomainOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customDomainOperationMetadata": { +"$ref": "CustomDomainOperationMetadata", +"description": "Output only. Additional metadata for operations on custom domains.", +"readOnly": true +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"EnvironmentVariable": { +"description": "Environment variables for this build.", +"id": "EnvironmentVariable", +"properties": { +"availability": { +"description": "Optional. Where this variable should be made available. If left unspecified, will be available in both BUILD and BACKEND.", +"items": { +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"BUILD", +"RUNTIME" +], +"enumDescriptions": [ +"The default value, unspecified, which is unused.", +"This value is available when creating a Build from source code.", +"This value is available at runtime within Cloud Run." +], +"type": "string" +}, +"type": "array" +}, +"origin": { +"description": "Output only. The high-level origin category of the environment variable.", +"enum": [ +"ORIGIN_UNSPECIFIED", +"BACKEND_OVERRIDES", +"BUILD_CONFIG", +"APPHOSTING_YAML", +"FIREBASE_SYSTEM" +], +"enumDescriptions": [ +"Source is unspecified.", +"Variable was set on the backend resource (e.g. via API or Console). Represents variables from `Backend.override_env`", +"Variable was provided specifically for the build upon creation via the `Build.Config.env` field. Only used for pre-built images.", +"Variable is defined in apphosting.yaml file.", +"Variable is defined provided by the firebase platform." +], +"readOnly": true, +"type": "string" +}, +"originFileName": { +"description": "Output only. Specific detail about the source. For APPHOSTING_YAML origins, this will contain the exact filename, such as \"apphosting.yaml\" or \"apphosting.staging.yaml\".", +"readOnly": true, +"type": "string" +}, +"secret": { +"description": "A fully qualified secret version. The value of the secret will be accessed once while building the application and once per cold start of the container at runtime. The service account used by Cloud Build and by Cloud Run must each have the `secretmanager.versions.access` permission on the secret.", +"type": "string" +}, +"value": { +"description": "A plaintext value. This value is encrypted at rest, but all project readers can view the value when reading your backend configuration.", +"type": "string" +}, +"variable": { +"description": "Required. The name of the environment variable. - Must be a valid environment variable name (e.g. A-Z or underscores). - May not start with \"FIREBASE\" or \"GOOGLE\". - May not be a reserved environment variable for KNative/Cloud Run", +"type": "string" +} +}, +"type": "object" +}, +"Error": { +"description": "The container for the rpc status and source for any errors found during the build process.", +"id": "Error", +"properties": { +"cloudResource": { +"description": "Output only. Resource link", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. A status and (human readable) error message for the build, if in a `FAILED` state.", +"readOnly": true +}, +"errorSource": { +"description": "Output only. The source of the error for the build, if in a `FAILED` state.", +"enum": [ +"ERROR_SOURCE_UNSPECIFIED", +"CLOUD_BUILD", +"CLOUD_RUN" +], +"enumDescriptions": [ +"Indicates that generic error occurred outside of the Cloud Build or Cloud Run processes, such as a pre-empted or user-canceled App Hosting Build.", +"Indicates that the build failed during the Cloud Build process, such as a build timeout.", +"Indicates that the build failed during the Cloud Run process, such as a service creation failure." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBackendsResponse": { +"description": "Message for response to list backends", +"id": "ListBackendsResponse", +"properties": { +"backends": { +"description": "The list of backends", +"items": { +"$ref": "Backend" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBuildsResponse": { +"description": "Message for response to list builds.", +"id": "ListBuildsResponse", +"properties": { +"builds": { +"description": "The list of builds.", +"items": { +"$ref": "Build" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDomainsResponse": { +"description": "Message for response to list domains.", +"id": "ListDomainsResponse", +"properties": { +"domains": { +"description": "Output only. The list of domains.", +"items": { +"$ref": "Domain" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Output only. A token identifying the next page of results the server should return.", +"readOnly": true, +"type": "string" +}, +"unreachable": { +"description": "Output only. Locations that could not be reached.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutsResponse": { +"description": "Message for response to list rollouts.", +"id": "ListRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying the next page of results the server should return.", +"type": "string" +}, +"rollouts": { +"description": "The list of rollouts.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiveMigrationStep": { +"description": "A set of updates including ACME challenges and DNS records that allow App Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to App Hosting servers. Use these updates to facilitate zero downtime migrations to App Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", +"id": "LiveMigrationStep", +"properties": { +"dnsUpdates": { +"description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to App Hosting.", +"items": { +"$ref": "DnsUpdates" +}, +"readOnly": true, +"type": "array" +}, +"issues": { +"description": "Output only. Issues that prevent the current step from completing.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"relevantDomainStates": { +"description": "Output only. One or more states from the `CustomDomainStatus` of the migrating domain that this step is attempting to make ACTIVE. For example, if the step is attempting to mint an SSL certificate, this field will include `CERT_STATE`.", +"items": { +"enum": [ +"CUSTOM_DOMAIN_STATE_UNSPECIFIED", +"HOST_STATE", +"OWNERSHIP_STATE", +"CERT_STATE" +], +"enumDescriptions": [ +"This message is invalid if this is unspecified.", +"The custom domain's host state.", +"The custom domain's ownership state.", +"The custom domain's certificate state." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"stepState": { +"description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", +"enum": [ +"STEP_STATE_UNSPECIFIED", +"PREPARING", +"PENDING", +"INCOMPLETE", +"PROCESSING", +"COMPLETE" +], +"enumDescriptions": [ +"The step's state is unspecified. The message is invalid if this is unspecified.", +"App Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", +"The step's state is pending. Complete prior steps before working on a `PENDING` step.", +"The step is incomplete. You should complete any `dnsUpdates` changes to complete it.", +"You've done your part to update records and present challenges as necessary. App Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain.", +"The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, App Hosting is ready to serve secure content on your domain." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"ManagedResource": { +"description": "An external resource managed by App Hosting on the project.", +"id": "ManagedResource", +"properties": { +"runService": { +"$ref": "RunService", +"description": "A Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), managed by App Hosting." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Path": { +"description": "A file path pattern to match against.", +"id": "Path", +"properties": { +"pattern": { +"description": "Optional. The pattern to match against.", +"type": "string" +}, +"type": { +"description": "Optional. The type of pattern to match against.", +"enum": [ +"PATTERN_TYPE_UNSPECIFIED", +"RE2", +"GLOB", +"PREFIX" +], +"enumDescriptions": [ +"The pattern type is unspecified - this is an invalid value.", +"RE2 - regular expression (https://github.com/google/re2/wiki/Syntax).", +"The pattern is a glob.", +"The pattern is a prefix." +], +"type": "string" +} +}, +"type": "object" +}, +"Redirect": { +"description": "Specifies redirect behavior for a domain.", +"id": "Redirect", +"properties": { +"status": { +"description": "Optional. The status code to use in a redirect response. Must be a valid HTTP 3XX status code. Defaults to 302 if not present.", +"format": "int64", +"type": "string" +}, +"uri": { +"description": "Required. The URI of the redirect's intended destination. This URI will be prepended to the original request path. URI without a scheme are assumed to be HTTPS.", +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "A single rollout of a build for a backend.", +"id": "Rollout", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"build": { +"description": "Required. Immutable. The name of a build that already exists. It doesn't have to be built; a rollout will wait for a build to be ready before updating traffic.", +"type": "string" +}, +"createTime": { +"description": "Output only. Time at which the rollout was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Time at which the rollout was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human-readable name. 63 character limit.", +"type": "string" +}, +"error": { +"$ref": "Status", +"description": "Output only. A status and (human readable) error message for the rollout, if in a `FAILED` state.", +"readOnly": true +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the rollout. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the Rollout currently has an LRO.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the rollout.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"PENDING_BUILD", +"PROGRESSING", +"PAUSED", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"SKIPPED" +], +"enumDescriptions": [ +"The rollout is in an unknown state.", +"The rollout is waiting for actuation to begin. This may be because it is waiting on another rollout to complete.", +"The rollout is waiting for the build process to complete, which builds the code and sets up the underlying infrastructure.", +"The rollout has started and is actively modifying traffic.", +"The rollout has been paused due to either being manually paused or a PAUSED stage. This should be set while `paused = true`.", +"The rollout has completed.", +"The rollout has failed. See error for more information.", +"The rollout has been cancelled.", +"The rollout has been skipped." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the rollout was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutPolicy": { +"description": "The policy for how automatic builds and rollouts are triggered and rolled out.", +"id": "RolloutPolicy", +"properties": { +"codebaseBranch": { +"description": "If set, specifies a branch that triggers a new build to be started with this policy. Otherwise, no automatic rollouts will happen.", +"type": "string" +}, +"disabled": { +"description": "Optional. A flag that, if true, prevents automatic rollouts from being created via this RolloutPolicy.", +"type": "boolean" +}, +"disabledTime": { +"description": "Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"ignoredPaths": { +"description": "Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this list take precedence over required_paths. **Note**: All paths must be in the ignored_paths in order for the rollout to be skipped. Limited to 100 paths. Example: ignored_paths: { pattern: \"foo/bar/excluded/*\u201d type: GLOB }", +"items": { +"$ref": "Path" +}, +"type": "array" +}, +"requiredPaths": { +"description": "Optional. A list of file paths patterns that trigger a build and rollout if at least one of the changed files in the commit are present in this list. This field is optional; the rollout policy will default to triggering on all paths if not populated. Limited to 100 paths. Example: \u201crequired_paths: { pattern: \"foo/bar/*\u201d type: GLOB }", +"items": { +"$ref": "Path" +}, +"type": "array" +} +}, +"type": "object" +}, +"RunConfig": { +"description": "Configuration applied to the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", +"id": "RunConfig", +"properties": { +"concurrency": { +"description": "Optional. Maximum number of requests that each Cloud Run instance can receive. By default, each instance can receive Cloud Run's default of up to 80 requests at the same time. Concurrency can be set to any integer value up to 1000.", +"format": "int32", +"type": "integer" +}, +"cpu": { +"description": "Optional. Number of CPUs used for each serving instance. By default, cpu defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, in increments of 0.01. If you set a value of less than 1 CPU, you must set concurrency to 1, and CPU will only be allocated during request processing. Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB", +"format": "float", +"type": "number" +}, +"maxInstances": { +"description": "Optional. Number of Cloud Run instances to maintain at maximum for each revision. By default, each Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) scales out to Cloud Run's default of a maximum of 100 instances. The maximum max_instances limit is based on your quota. See https://cloud.google.com/run/docs/configuring/max-instances#limits.", +"format": "int32", +"type": "integer" +}, +"memoryMib": { +"description": "Optional. Amount of memory allocated for each serving instance in MiB. By default, memory defaults to the Cloud Run's default where each instance is allocated 512 MiB of memory. Memory can be set to any integer value between 128 to 32768. Increasing memory limit may require increase in CPUs limits: - Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at least 6 CPUs - Over 24 GiB: at least 8 CPUs", +"format": "int32", +"type": "integer" +}, +"minInstances": { +"description": "Optional. Number of Cloud Run instances to maintain at minimum for each Cloud Run Service. By default, there are no minimum. Even if the service splits traffic across multiple revisions, the total number of instances for a service will be capped at this value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"RunService": { +"description": "A managed Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).", +"id": "RunService", +"properties": { +"service": { +"description": "Optional. The name of the Cloud Run [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), in the format: `projects/{project}/locations/{location}/services/{serviceId}`", +"type": "string" +} +}, +"type": "object" +}, +"ServingBehavior": { +"description": "Indicates whether App Hosting will serve content on the domain.", +"id": "ServingBehavior", +"properties": { +"redirect": { +"$ref": "Redirect", +"description": "Optional. Redirect behavior for a domain, if provided." +} +}, +"type": "object" +}, +"SourceUserMetadata": { +"deprecated": true, +"description": "Deprecated: Not used. Metadata for the user who started the build.", +"id": "SourceUserMetadata", +"properties": { +"displayName": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The user-chosen displayname. May be empty.", +"readOnly": true, +"type": "string" +}, +"email": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The account email linked to the EUC that created the build. May be a service account or other robot account.", +"readOnly": true, +"type": "string" +}, +"imageUri": { +"deprecated": true, +"description": "Output only. Deprecated: Not used. The URI of a profile photo associated with the user who created the build.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Traffic": { +"description": "Controls traffic configuration for the backend.", +"id": "Traffic", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.", +"type": "object" +}, +"createTime": { +"description": "Output only. Time at which the backend was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"current": { +"$ref": "TrafficSet", +"description": "Output only. Current state of traffic allocation for the backend. When setting `target`, this field may differ for some time until the desired state is reached.", +"readOnly": true +}, +"etag": { +"description": "Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Unstructured key value map that can be used to organize and categorize objects.", +"type": "object" +}, +"name": { +"description": "Identifier. The resource name of the backend's traffic. Format: `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that, if true, indicates that the system is working to make the backend's `current` match the requested `target` list.", +"readOnly": true, +"type": "boolean" +}, +"rolloutPolicy": { +"$ref": "RolloutPolicy", +"description": "A rollout policy specifies how new builds and automatic deployments are created." +}, +"target": { +"$ref": "TrafficSet", +"description": "Set to manually control the desired traffic for the backend. This will cause `current` to eventually match this value. The percentages must add up to 100%." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time at which the backend was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TrafficSet": { +"description": "A list of traffic splits that together represent where traffic is being routed.", +"id": "TrafficSet", +"properties": { +"splits": { +"description": "Required. The list of traffic splits.", +"items": { +"$ref": "TrafficSplit" +}, +"type": "array" +} +}, +"type": "object" +}, +"TrafficSplit": { +"description": "The traffic allocation for the backend.", +"id": "TrafficSplit", +"properties": { +"build": { +"description": "Required. The build that traffic is being routed to.", +"type": "string" +}, +"percent": { +"description": "Required. The percentage of traffic to send to the build. Currently must be 100% or 0%.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UserMetadata": { +"description": "Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user.", +"id": "UserMetadata", +"properties": { +"displayName": { +"description": "Output only. The 'name' field in a Git user's git.config. Required by Git.", +"readOnly": true, +"type": "string" +}, +"email": { +"description": "Output only. The 'email' field in a Git user's git.config, if available.", +"readOnly": true, +"type": "string" +}, +"imageUri": { +"description": "Output only. The URI of an image file associated with the user's account in an external source control provider, if available.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase App Hosting API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..08f39c087258c74695b15e6abbbcc41bca35f74a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json @@ -0,0 +1,2163 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebasedataconnect.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Data Connect", +"description": "Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. The REST API lets developers manage the connections to their database, change the schema of their database, and query the database.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/data-connect", +"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": "firebasedataconnect:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebasedataconnect.mtls.googleapis.com/", +"name": "firebasedataconnect", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"create": { +"description": "Creates a new Service in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value of 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" +}, +"serviceId": { +"description": "Required. The ID to use for the service, which will become the final component of the service's resource name.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Service is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Service. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. Schema, SchemaRevisions, Connectors, and ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Service has no child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the service to delete, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeGraphql": { +"description": "Execute any GraphQL query and mutation against the Firebase Data Connect's generated GraphQL schema. Grants full read and write access to the connected data sources. Note: Use introspection query to explore the generated GraphQL schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:executeGraphql", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.executeGraphql", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeGraphql", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeGraphqlRead": { +"description": "Execute any GraphQL query against the Firebase Data Connect's generated GraphQL schema. Grants full read to the connected data sources. `ExecuteGraphqlRead` is identical to `ExecuteGraphql` except it only accepts read-only query.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:executeGraphqlRead", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.executeGraphqlRead", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeGraphqlRead", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"introspectGraphql": { +"description": "Execute introspection query against the Firebase Data Connect's generated GraphQL schema. GraphQL introspection query provides metadata such as what tables the schema have, what queries and mutations can be performed on the schema, and so on. Read more at https://graphql.org/learn/introspection. IntrospectGraphql can read schema metadata but cannot read rows from Cloud SQL instance, which can be done via ExecuteGraphqlRead.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:introspectGraphql", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.introspectGraphql", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:introspectGraphql", +"request": { +"$ref": "GraphqlRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Services in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.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 page token, received from a previous `ListServices` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListServices` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Service is not found, a new Service will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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 Service resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Service, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"connectors": { +"methods": { +"create": { +"description": "Creates a new Connector in a given project and location. The operations are validated against and must be compatible with the active schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"connectorId": { +"description": "Required. The ID to use for the connector, which will become the final component of the connector's resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually create it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/connectors", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.connectors.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Connector is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Connector. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. ConnectorRevisions) will also be deleted. Otherwise, the request will only work if the Connector has no child resources.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the connector to delete, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeMutation": { +"description": "Execute a predefined mutation in a Connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:executeMutation", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.executeMutation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeMutation", +"request": { +"$ref": "ExecuteMutationRequest" +}, +"response": { +"$ref": "ExecuteMutationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeQuery": { +"description": "Execute a predefined query in a Connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:executeQuery", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.executeQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeQuery", +"request": { +"$ref": "ExecuteQueryRequest" +}, +"response": { +"$ref": "ExecuteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Connector.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.connectors.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the connector to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Connector" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"impersonateMutation": { +"description": "Impersonate a mutation defined on a Firebase Data Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateMutation", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.impersonateMutation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:impersonateMutation", +"request": { +"$ref": "ImpersonateRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"impersonateQuery": { +"description": "Impersonate a query defined on a Firebase Data Connect connector. It grants the admin SDK access to queries defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}:impersonateQuery", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.connectors.impersonateQuery", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the connector to find the predefined query/mutation, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:impersonateQuery", +"request": { +"$ref": "ImpersonateRequest" +}, +"response": { +"$ref": "GraphqlResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Connectors in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.connectors.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 page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connectors", +"response": { +"$ref": "ListConnectorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Connector, and creates a new ConnectorRevision with the updated Connector. The operations are validated against and must be compatible with the live schema. If the operations and schema are not compatible or if the schema is not present, this will result in an error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/connectors/{connectorsId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.connectors.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Connector is not found, a new Connector will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/connectors/[^/]+$", +"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 Connector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Connector, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Connector" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schemas": { +"methods": { +"create": { +"description": "Creates a new Schema in a given project and location. Only creation of `schemas/main` is supported and calling create with any other schema ID will result in an error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas", +"httpMethod": "POST", +"id": "firebasedataconnect.projects.locations.services.schemas.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Value for parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"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" +}, +"schemaId": { +"description": "Required. The ID to use for the schema, which will become the final component of the schema's resource name. Currently, only `main` is supported and any other schema ID will result in an error.", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/schemas", +"request": { +"$ref": "Schema" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Schema. Because the schema and connectors must be compatible at all times, if this is called while any connectors are active, this will result in an error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "DELETE", +"id": "firebasedataconnect.projects.locations.services.schemas.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Schema is not found, the request will succeed but no action will be taken on the server.", +"location": "query", +"type": "boolean" +}, +"etag": { +"description": "Optional. The etag of the Schema. If this is provided, it must match the server's etag.", +"location": "query", +"type": "string" +}, +"force": { +"description": "Optional. If set to true, any child resources (i.e. SchemaRevisions) will also be deleted.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The name of the schema to delete, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"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" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually delete it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.schemas.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the schema to retrieve, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ```", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Schema" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Schemas in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas", +"httpMethod": "GET", +"id": "firebasedataconnect.projects.locations.services.schemas.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 page token, received from a previous `ListSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSchemas` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value of parent.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schemas", +"response": { +"$ref": "ListSchemasResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Schema, and creates a new SchemaRevision with the updated Schema.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/schemas/{schemasId}", +"httpMethod": "PATCH", +"id": "firebasedataconnect.projects.locations.services.schemas.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If true and the Schema is not found, a new Schema will be created. In this case, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Identifier. The relative resource name of the schema, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ``` Right now, the only supported schema is \"main\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/schemas/[^/]+$", +"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 Schema resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"validateOnly": { +"description": "Optional. If set, validate the request and preview the Schema, but do not actually update it.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Schema" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260201", +"rootUrl": "https://firebasedataconnect.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ClientCache": { +"description": "Client caching settings of a connector.", +"id": "ClientCache", +"properties": { +"entityIdIncluded": { +"description": "Optional. A field that, if true, means that responses served by this connector will include entityIds in GraphQL response extensions. This helps the client SDK cache responses in an improved way, known as \"normalized caching\", if caching is enabled on the client. Each entityId is a stable key based on primary key values. Therefore, this field should only be set to true if the primary keys of accessed tables do not contain sensitive information.", +"type": "boolean" +}, +"strictValidationEnabled": { +"description": "Optional. A field that, if true, enables stricter validation on the connector source code to make sure the operation response shapes are suitable for client-side caching. This can include additional errors and warnings. For example, using the same alias for different fields is disallowed, as it may cause conflicts or confusion with normalized caching. (This field is off by default for compatibility, but enabling it is highly recommended to catch common caching pitfalls.)", +"type": "boolean" +} +}, +"type": "object" +}, +"CloudSqlInstance": { +"description": "Settings for CloudSQL instance configuration.", +"id": "CloudSqlInstance", +"properties": { +"instance": { +"description": "Required. Name of the CloudSQL instance, in the format: ``` projects/{project}/locations/{location}/instances/{instance} ```", +"type": "string" +} +}, +"type": "object" +}, +"Connector": { +"description": "Connector consists of a set of operations, i.e. queries and mutations.", +"id": "Connector", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"clientCache": { +"$ref": "ClientCache", +"description": "Optional. The client cache settings of the connector." +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the connector, in the format: ``` projects/{project}/locations/{location}/services/{service}/connectors/{connector} ```", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working to compile and deploy the connector.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "Source", +"description": "Required. The source files that comprise the connector." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DataConnectProperties": { +"description": "Data Connect specific properties for a path under response.data.", +"id": "DataConnectProperties", +"properties": { +"entityId": { +"description": "A single Entity ID. Set if the path points to a single entity.", +"type": "string" +}, +"entityIds": { +"description": "A list of Entity IDs. Set if the path points to an array of entities. An ID is present for each element of the array at the corresponding index.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxAge": { +"description": "The server-suggested duration before data under path is considered stale.", +"format": "google-duration", +"type": "string" +}, +"path": { +"description": "The path under response.data where the rest of the fields apply. Each element may be a string (field name) or number (array index). The root of response.data is denoted by the empty list `[]`.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"Datasource": { +"description": "A data source that backs Firebase Data Connect services.", +"id": "Datasource", +"properties": { +"httpGraphql": { +"$ref": "HttpGraphql", +"description": "HTTP GraphQL server webhook configurations." +}, +"postgresql": { +"$ref": "PostgreSql", +"description": "PostgreSQL configurations." +} +}, +"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" +}, +"ExecuteMutationRequest": { +"description": "The ExecuteMutation request to Firebase Data Connect.", +"id": "ExecuteMutationRequest", +"properties": { +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteMutationResponse": { +"description": "The ExecuteMutation response from Firebase Data Connect.", +"id": "ExecuteMutationResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of executing the requested operation.", +"type": "object" +}, +"errors": { +"description": "Errors of this response.", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information." +} +}, +"type": "object" +}, +"ExecuteQueryRequest": { +"description": "The ExecuteQuery request to Firebase Data Connect.", +"id": "ExecuteQueryRequest", +"properties": { +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"ExecuteQueryResponse": { +"description": "The ExecuteQuery response from Firebase Data Connect.", +"id": "ExecuteQueryResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of executing the requested operation.", +"type": "object" +}, +"errors": { +"description": "Errors of this response.", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information." +} +}, +"type": "object" +}, +"File": { +"description": "Individual files.", +"id": "File", +"properties": { +"content": { +"description": "Required. The file's textual content.", +"type": "string" +}, +"path": { +"description": "Required. The file name including folder path, if applicable. The path should be relative to a local workspace (e.g. dataconnect/(schema|connector)/*.gql) and not an absolute path (e.g. /absolute/path/(schema|connector)/*.gql).", +"type": "string" +} +}, +"type": "object" +}, +"GraphqlError": { +"description": "GraphqlError conforms to the GraphQL error spec. https://spec.graphql.org/draft/#sec-Errors Firebase Data Connect API surfaces `GraphqlError` in various APIs: - Upon compile error, `UpdateSchema` and `UpdateConnector` return Code.Invalid_Argument with a list of `GraphqlError` in error details. - Upon query compile error, `ExecuteGraphql`, `ExecuteGraphqlRead` and `IntrospectGraphql` return Code.OK with a list of `GraphqlError` in response body. - Upon query execution error, `ExecuteGraphql`, `ExecuteGraphqlRead`, `ExecuteMutation`, `ExecuteQuery`, `IntrospectGraphql`, `ImpersonateQuery` and `ImpersonateMutation` all return Code.OK with a list of `GraphqlError` in response body.", +"id": "GraphqlError", +"properties": { +"extensions": { +"$ref": "GraphqlErrorExtensions", +"description": "Additional error information." +}, +"locations": { +"description": "The source locations where the error occurred. Locations should help developers and toolings identify the source of error quickly. Included in admin endpoints (`ExecuteGraphql`, `ExecuteGraphqlRead`, `IntrospectGraphql`, `ImpersonateQuery`, `ImpersonateMutation`, `UpdateSchema` and `UpdateConnector`) to reference the provided GraphQL GQL document. Omitted in `ExecuteMutation` and `ExecuteQuery` since the caller shouldn't have access access the underlying GQL source.", +"items": { +"$ref": "SourceLocation" +}, +"type": "array" +}, +"message": { +"description": "The detailed error message. The message should help developer understand the underlying problem without leaking internal data.", +"type": "string" +}, +"path": { +"description": "The result field which could not be populated due to error. Clients can use path to identify whether a null result is intentional or caused by a runtime error. It should be a list of string or index from the root of GraphQL query document.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"GraphqlErrorExtensions": { +"description": "GraphqlErrorExtensions contains additional information of `GraphqlError`.", +"id": "GraphqlErrorExtensions", +"properties": { +"code": { +"description": "Maps to canonical gRPC codes. If not specified, it represents `Code.INTERNAL`.", +"enum": [ +"OK", +"CANCELLED", +"UNKNOWN", +"INVALID_ARGUMENT", +"DEADLINE_EXCEEDED", +"NOT_FOUND", +"ALREADY_EXISTS", +"PERMISSION_DENIED", +"UNAUTHENTICATED", +"RESOURCE_EXHAUSTED", +"FAILED_PRECONDITION", +"ABORTED", +"OUT_OF_RANGE", +"UNIMPLEMENTED", +"INTERNAL", +"UNAVAILABLE", +"DATA_LOSS" +], +"enumDescriptions": [ +"Not an error; returned on success. HTTP Mapping: 200 OK", +"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request", +"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error", +"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request", +"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout", +"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found", +"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict", +"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden", +"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized", +"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests", +"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request", +"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict", +"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request", +"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented", +"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error", +"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable", +"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error" +], +"type": "string" +}, +"debugDetails": { +"description": "More detailed error message to assist debugging. It contains application business logic that are inappropriate to leak publicly. In the emulator, Data Connect API always includes it to assist local development and debugging. In the backend, ConnectorService always hides it. GraphqlService without impersonation always include it. GraphqlService with impersonation includes it only if explicitly opted-in with `include_debug_details` in `GraphqlRequestExtensions`.", +"type": "string" +}, +"file": { +"description": "The source file name where the error occurred. Included only for `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the provided `Source`.", +"type": "string" +}, +"warningLevel": { +"description": "Warning level describes the severity and required action to suppress this warning when Firebase CLI run into it.", +"enum": [ +"WARNING_LEVEL_UNKNOWN", +"LOG_ONLY", +"INTERACTIVE_ACK", +"REQUIRE_ACK", +"REQUIRE_FORCE" +], +"enumDescriptions": [ +"Warning level is not specified.", +"Display a warning without action needed.", +"Request a confirmation in interactive deployment flow.", +"Require an explicit confirmation in all deployment flows.", +"Require --force in all deployment flows." +], +"type": "string" +}, +"workarounds": { +"description": "Workarounds provide suggestions to address the compile errors or warnings.", +"items": { +"$ref": "Workaround" +}, +"type": "array" +} +}, +"type": "object" +}, +"GraphqlRequest": { +"description": "The GraphQL request to Firebase Data Connect. It strives to match the GraphQL over HTTP spec. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#post", +"id": "GraphqlRequest", +"properties": { +"extensions": { +"$ref": "GraphqlRequestExtensions", +"description": "Optional. Additional GraphQL request information." +}, +"operationName": { +"description": "Optional. The name of the GraphQL operation name. Required only if `query` contains multiple operations. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"query": { +"description": "Required. The GraphQL query document source.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"GraphqlRequestExtensions": { +"description": "GraphqlRequestExtensions contains additional information of `GraphqlRequest`.", +"id": "GraphqlRequestExtensions", +"properties": { +"impersonate": { +"$ref": "Impersonation", +"description": "Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies." +} +}, +"type": "object" +}, +"GraphqlResponse": { +"description": "The GraphQL response from Firebase Data Connect. It strives to match the GraphQL over HTTP spec. Note: Firebase Data Connect always responds with `Content-Type: application/json`. https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#body", +"id": "GraphqlResponse", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The result of the execution of the requested operation. If an error was raised before execution begins, the data entry should not be present in the result. (a request error: https://spec.graphql.org/draft/#sec-Errors.Request-Errors) If an error was raised during the execution that prevented a valid response, the data entry in the response should be null. (a field error: https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format)", +"type": "object" +}, +"errors": { +"description": "Errors of this response. If the data entry in the response is not present, the errors entry must be present. It conforms to https://spec.graphql.org/draft/#sec-Errors .", +"items": { +"$ref": "GraphqlError" +}, +"type": "array" +}, +"extensions": { +"$ref": "GraphqlResponseExtensions", +"description": "Additional response information. It conforms to https://spec.graphql.org/draft/#sec-Extensions ." +} +}, +"type": "object" +}, +"GraphqlResponseExtensions": { +"description": "GraphqlResponseExtensions contains additional information of `GraphqlResponse` or `ExecuteQueryResponse`.", +"id": "GraphqlResponseExtensions", +"properties": { +"dataConnect": { +"description": "Data Connect specific GraphQL extension, a list of paths and properties.", +"items": { +"$ref": "DataConnectProperties" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpGraphql": { +"description": "Settings for HTTP GraphQL server webhook.", +"id": "HttpGraphql", +"properties": { +"timeout": { +"description": "Optional. Timeout duration for the HTTP request.", +"format": "google-duration", +"type": "string" +}, +"uri": { +"description": "Required. The endpoint of the HTTP GraphQL server.", +"type": "string" +} +}, +"type": "object" +}, +"ImpersonateRequest": { +"description": "The Impersonate request to Firebase Data Connect.", +"id": "ImpersonateRequest", +"properties": { +"extensions": { +"$ref": "GraphqlRequestExtensions", +"description": "Optional. Additional GraphQL request information." +}, +"operationName": { +"description": "Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.", +"type": "string" +}, +"variables": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Values for GraphQL variables provided in this request.", +"type": "object" +} +}, +"type": "object" +}, +"Impersonation": { +"description": "Impersonation configures the Firebase Auth context to impersonate.", +"id": "Impersonation", +"properties": { +"authClaims": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {\"sub\": , \"email_verified\": true}", +"type": "object" +}, +"includeDebugDetails": { +"description": "Optional. If set, include debug details in GraphQL error extensions.", +"type": "boolean" +}, +"unauthenticated": { +"description": "Evaluate the auth policy as an unauthenticated request. Can only be set to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListConnectorsResponse": { +"description": "Message for response to listing Connectors. By default, `connectors.source` will not be included in the response. To specify the fields included in the response, the response field mask can be provided by using the query parameter `$fields` or the header `X-Goog-FieldMask`.", +"id": "ListConnectorsResponse", +"properties": { +"connectors": { +"description": "The list of Connectors.", +"items": { +"$ref": "Connector" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchemasResponse": { +"description": "Message for response to listing Schemas. By default, `schemas.source` will not be included in the response. To specify the fields included in the response, the response field mask can be provided by using the query parameter `$fields` or the header `X-Goog-FieldMask`.", +"id": "ListSchemasResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"schemas": { +"description": "The list of Schemas.", +"items": { +"$ref": "Schema" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Message for response to listing Services.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"services": { +"description": "The list of Services.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation. Note: This message is auto-generated by CCFE. CCFE's storage, called Resource Metadata Store (RMS), holds metadata about long-running operations (i.e. OperationMetadata) and resources (i.e. ResourceMetadata). OperationMetadata documents the status of the operation. See [CCFE documentation for sidechannel data](https://g3doc.corp.google.com/cloud/control2/g3doc/dev/codelab_extras/sidechannel.md?cl=head#sidechannel-data) and yaqs/4289526912465764352.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PostgreSql": { +"description": "Settings for PostgreSQL data source.", +"id": "PostgreSql", +"properties": { +"cloudSql": { +"$ref": "CloudSqlInstance", +"description": "Cloud SQL configurations." +}, +"database": { +"description": "Required. Name of the PostgreSQL database.", +"type": "string" +}, +"ephemeral": { +"description": "Output only. Ephemeral is true if this data connect service is served from temporary in-memory emulation of Postgres. While Cloud SQL is being provisioned, the data connect service provides the ephemeral service to help developers get started. Once the Cloud SQL is provisioned, Data Connect service will transfer its data on a best-effort basis to the Cloud SQL instance. WARNING: Ephemeral data sources will expire after 24 hour. The data will be lost if they aren't transferred to the Cloud SQL instance. WARNING: When `ephemeral=true`, mutations to the database are not guaranteed to be durably persisted, even if an OK status code is returned. All or parts of the data may be lost or reverted to earlier versions.", +"readOnly": true, +"type": "boolean" +}, +"schemaMigration": { +"description": "Optional. Configure how to perform Postgresql schema migration.", +"enum": [ +"SQL_SCHEMA_MIGRATION_UNSPECIFIED", +"MIGRATE_COMPATIBLE" +], +"enumDescriptions": [ +"Unspecified SQL schema migration.", +"Connect to the SQL database and identify any missing SQL resources used in the given Firebase Data Connect Schema. Automatically create necessary SQL resources (SQL table, column, etc) before deploying the schema. During migration steps, the SQL Schema must comply with the previous before_deploy setting in case the migration is interrupted. Therefore, the previous before_deploy setting must not be `schema_validation=STRICT`." +], +"type": "string" +}, +"schemaValidation": { +"description": "Optional. Configure how much Postgresql schema validation to perform.", +"enum": [ +"SQL_SCHEMA_VALIDATION_UNSPECIFIED", +"NONE", +"STRICT", +"COMPATIBLE" +], +"enumDescriptions": [ +"Unspecified SQL schema validation. Default to STRICT.", +"Skip no SQL schema validation. Use it with extreme caution. CreateSchema or UpdateSchema will succeed even if SQL database is unavailable or SQL schema is incompatible. Generated SQL may fail at execution time.", +"Connect to the SQL database and validate that the SQL DDL matches the schema exactly. Surface any discrepancies as `FAILED_PRECONDITION` with an `IncompatibleSqlSchemaError` error detail.", +"Connect to the SQL database and validate that the SQL DDL has all the SQL resources used in the given Firebase Data Connect Schema. Surface any missing resources as `FAILED_PRECONDITION` with an `IncompatibleSqlSchemaError` error detail. Succeed even if there are unknown tables and columns." +], +"type": "string" +}, +"unlinked": { +"deprecated": true, +"description": "No Postgres data source is linked. If set, don't allow `database` and `schema_validation` to be configured.", +"type": "boolean" +} +}, +"type": "object" +}, +"Schema": { +"description": "The application schema of a Firebase Data Connect service.", +"id": "Schema", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"datasources": { +"description": "Required. The data sources linked in the schema.", +"items": { +"$ref": "Datasource" +}, +"type": "array" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the schema, in the format: ``` projects/{project}/locations/{location}/services/{service}/schemas/{schema} ``` Right now, the only supported schema is \"main\".", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working to compile and deploy the schema.", +"readOnly": true, +"type": "boolean" +}, +"source": { +"$ref": "Source", +"description": "Required. The source files that comprise the application schema." +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "A Firebase Data Connect service.", +"id": "Service", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Stores small amounts of arbitrary data.", +"type": "object" +}, +"createTime": { +"description": "Output only. [Output only] Create time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Mutable human-readable name. 63 character limit.", +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. [AIP-154](https://google.aip.dev/154)", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs.", +"type": "object" +}, +"name": { +"description": "Identifier. The relative resource name of the Firebase Data Connect service, in the format: ``` projects/{project}/locations/{location}/services/{service} ``` Note that the service ID is specific to Firebase Data Connect and does not correspond to any of the instance IDs of the underlying data source connections.", +"type": "string" +}, +"reconciling": { +"description": "Output only. A field that if true, indicates that the system is working update the service.", +"readOnly": true, +"type": "boolean" +}, +"uid": { +"description": "Output only. System-assigned, unique identifier.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Used to represent a set of source files.", +"id": "Source", +"properties": { +"files": { +"description": "Required. The files that comprise the source set.", +"items": { +"$ref": "File" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourceLocation": { +"description": "SourceLocation references a location in a GraphQL source.", +"id": "SourceLocation", +"properties": { +"column": { +"description": "Column number starting at 1.", +"format": "int32", +"type": "integer" +}, +"line": { +"description": "Line number starting at 1.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Workaround": { +"description": "Workaround provides suggestions to address errors and warnings.", +"id": "Workaround", +"properties": { +"description": { +"description": "Description of this workaround.", +"type": "string" +}, +"reason": { +"description": "Why would this workaround address the error and warning.", +"type": "string" +}, +"replace": { +"description": "A suggested code snippet to fix the error and warning.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Data Connect API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..02af05b2bb73e26a3597dc9185a9976702e3f8b7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebasehosting.v1.json @@ -0,0 +1,673 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/firebase": { +"description": "View and administer all your Firebase data and settings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebasehosting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Hosting", +"description": "The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/hosting/", +"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": "firebasehosting:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebasehosting.mtls.googleapis.com/", +"name": "firebasehosting", +"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": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebasehosting.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +} +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +} +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "firebasehosting.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +} +} +} +}, +"projects": { +"resources": { +"sites": { +"resources": { +"customDomains": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "CancelOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain resources.", +"flatPath": "v1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "firebasehosting.projects.sites.customDomains.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "DeleteOperation is a part of the google.longrunning.Operations interface, but is not implemented for CustomDomain resources.", +"flatPath": "v1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "firebasehosting.projects.sites.customDomains.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/sites/[^/]+/customDomains/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20251207", +"rootUrl": "https://firebasehosting.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CertVerification": { +"description": "A set of ACME challenges you can use to allow Hosting to create an SSL certificate for your domain name before directing traffic to Hosting servers. Use either the DNS or HTTP challenge; it's not necessary to provide both.", +"id": "CertVerification", +"properties": { +"dns": { +"$ref": "DnsUpdates", +"description": "Output only. A `TXT` record to add to your DNS records that confirms your intent to let Hosting create an SSL cert for your domain name.", +"readOnly": true +}, +"http": { +"$ref": "HttpUpdate", +"description": "Output only. A file to add to your existing, non-Hosting hosting service that confirms your intent to let Hosting create an SSL cert for your domain name.", +"readOnly": true +} +}, +"type": "object" +}, +"CustomDomainMetadata": { +"description": "Metadata associated with a`CustomDomain` operation.", +"id": "CustomDomainMetadata", +"properties": { +"certState": { +"description": "The `CertState` of the domain name's SSL certificate.", +"enum": [ +"CERT_STATE_UNSPECIFIED", +"CERT_PREPARING", +"CERT_VALIDATING", +"CERT_PROPAGATING", +"CERT_ACTIVE", +"CERT_EXPIRING_SOON", +"CERT_EXPIRED" +], +"enumDescriptions": [ +"The certificate's state is unspecified. The message is invalid if this is unspecified.", +"The initial state of every certificate, represents Hosting's intent to create a certificate, before requests to a Certificate Authority are made.", +"Hosting is validating whether a domain name's DNS records are in a state that allow certificate creation on its behalf.", +"The certificate was recently created, and needs time to propagate in Hosting's CDN.", +"The certificate is active, providing secure connections for the domain names it represents.", +"The certificate is expiring, all domain names on it will be given new certificates.", +"The certificate has expired. Hosting can no longer serve secure content on your domain name." +], +"type": "string" +}, +"hostState": { +"description": "The `HostState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"HOST_STATE_UNSPECIFIED", +"HOST_UNHOSTED", +"HOST_UNREACHABLE", +"HOST_MISMATCH", +"HOST_CONFLICT", +"HOST_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", +"Your custom domain's domain name isn't associated with any IP addresses.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", +"Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", +"All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." +], +"type": "string" +}, +"issues": { +"description": "A list of issues that are currently preventing Hosting from completing the operation. These are generally DNS-related issues that Hosting encounters when querying a domain name's records or attempting to mint an SSL certificate.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"liveMigrationSteps": { +"description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended DNS updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", +"items": { +"$ref": "LiveMigrationStep" +}, +"type": "array" +}, +"ownershipState": { +"description": "The `OwnershipState` of the domain name this `CustomDomain` refers to.", +"enum": [ +"OWNERSHIP_STATE_UNSPECIFIED", +"OWNERSHIP_MISSING", +"OWNERSHIP_UNREACHABLE", +"OWNERSHIP_MISMATCH", +"OWNERSHIP_CONFLICT", +"OWNERSHIP_PENDING", +"OWNERSHIP_ACTIVE" +], +"enumDescriptions": [ +"Your custom domain's ownership state is unspecified. This should never happen.", +"Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", +"Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", +"Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", +"Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", +"Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", +"Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." +], +"type": "string" +}, +"quickSetupUpdates": { +"$ref": "DnsUpdates", +"description": "A set of DNS record updates that allow Hosting to serve secure content on your domain name. The record type determines the update's purpose: - `A` and `AAAA`: Updates your domain name's IP addresses so that they direct traffic to Hosting servers. - `TXT`: Updates ownership permissions on your domain name, letting Hosting know that your custom domain's project has permission to perform actions for that domain name. - `CAA`: Updates your domain name's list of authorized Certificate Authorities (CAs). Only present if you have existing `CAA` records that prohibit Hosting's CA from minting certs for your domain name. These updates include all DNS changes you'll need to get started with Hosting, but, if made all at once, can result in a brief period of downtime for your domain name--while Hosting creates and uploads an SSL cert, for example. If you'd like to add your domain name to Hosting without downtime, complete the `liveMigrationSteps` first, before making the remaining updates in this field." +} +}, +"type": "object" +}, +"DnsRecord": { +"description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).", +"id": "DnsRecord", +"properties": { +"domainName": { +"description": "Output only. The domain name the record pertains to, e.g. `foo.bar.com.`.", +"readOnly": true, +"type": "string" +}, +"rdata": { +"description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", +"readOnly": true, +"type": "string" +}, +"requiredAction": { +"description": "Output only. An enum that indicates the a required action for this record.", +"enum": [ +"NONE", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"No action necessary.", +"Add this record to your DNS records.", +"Remove this record from your DNS records." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The record's type, which determines what data the record contains.", +"enum": [ +"TYPE_UNSPECIFIED", +"A", +"CNAME", +"TXT", +"AAAA", +"CAA" +], +"enumDescriptions": [ +"The record's type is unspecified. The message is invalid if this is unspecified.", +"An `A` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 addresses a domain name directs traffic towards.", +"A `CNAME` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name records map a domain name to a different, canonical domain name. If a `CNAME` record is present, it should be the only record on the domain name.", +"A `TXT` record, as defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary text data on a domain name. Hosting uses `TXT` records to establish which Firebase Project has permission to act on a domain name.", +"An AAAA record, as defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 addresses a domain name directs traffic towards.", +"A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or Certificate Authority Authorization, records determine which Certificate Authorities (SSL certificate minting organizations) are authorized to mint a certificate for the domain name. Firebase Hosting uses `pki.goog` as its primary CA. CAA records cascade. A CAA record on `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA records. CAA records are optional. If a domain name and its parents have no CAA records, all CAs are authorized to mint certificates on its behalf. In general, Hosting only asks you to modify CAA records when doing so is required to unblock SSL cert creation." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DnsRecordSet": { +"description": "A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.", +"id": "DnsRecordSet", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error Hosting services encountered when querying your domain name's DNS records. Note: Hosting ignores `NXDOMAIN` errors, as those generally just mean that a domain name hasn't been set up yet.", +"readOnly": true +}, +"domainName": { +"description": "Output only. The domain name the record set pertains to.", +"readOnly": true, +"type": "string" +}, +"records": { +"description": "Output only. Records on the domain.", +"items": { +"$ref": "DnsRecord" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"DnsUpdates": { +"description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.", +"id": "DnsUpdates", +"properties": { +"checkTime": { +"description": "The last time Hosting checked your custom domain's DNS records.", +"format": "google-datetime", +"type": "string" +}, +"desired": { +"description": "The set of DNS records Hosting needs to serve secure content on the domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"type": "array" +}, +"discovered": { +"description": "The set of DNS records Hosting discovered when inspecting a domain.", +"items": { +"$ref": "DnsRecordSet" +}, +"type": "array" +} +}, +"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" +}, +"HttpUpdate": { +"description": "A file you can add to your existing, non-Hosting hosting service that confirms your intent to allow Hosting's Certificate Authorities to create an SSL certificate for your domain.", +"id": "HttpUpdate", +"properties": { +"checkError": { +"$ref": "Status", +"description": "Output only. An error encountered during the last contents check. If null, the check completed successfully.", +"readOnly": true +}, +"desired": { +"description": "Output only. A text string to serve at the path.", +"readOnly": true, +"type": "string" +}, +"discovered": { +"description": "Output only. Whether Hosting was able to find the required file contents on the specified path during its last check.", +"readOnly": true, +"type": "string" +}, +"lastCheckTime": { +"description": "Output only. The last time Hosting systems checked for the file contents.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"path": { +"description": "Output only. The path to the file.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LiveMigrationStep": { +"description": "A set of updates including ACME challenges and DNS records that allow Hosting to create an SSL certificate and establish project ownership for your domain name before you direct traffic to Hosting servers. Use these updates to facilitate zero downtime migrations to Hosting from other services. After you've made the recommended updates, check your custom domain's `ownershipState` and `certState`. To avoid downtime, they should be `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your `A` and `AAAA` records.", +"id": "LiveMigrationStep", +"properties": { +"certVerification": { +"$ref": "CertVerification", +"description": "Output only. A pair of ACME challenges that Hosting's Certificate Authority (CA) can use to create an SSL cert for your domain name. Use either the DNS or HTTP challenge; it's not necessary to provide both.", +"readOnly": true +}, +"dnsUpdates": { +"$ref": "DnsUpdates", +"description": "Output only. DNS updates to facilitate your domain's zero-downtime migration to Hosting.", +"readOnly": true +}, +"issues": { +"description": "Output only. Issues that prevent the current step from completing.", +"items": { +"$ref": "Status" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The state of the live migration step, indicates whether you should work to complete the step now, in the future, or have already completed it.", +"enum": [ +"STATE_UNSPECIFIED", +"PREPARING", +"PENDING", +"INCOMPLETE", +"PROCESSING", +"COMPLETE" +], +"enumDescriptions": [ +"The step's state is unspecified. The message is invalid if this is unspecified.", +"Hosting doesn't have enough information to construct the step yet. Complete any prior steps and/or resolve this step's issue to proceed.", +"The step's state is pending. Complete prior steps before working on a `PENDING` step.", +"The step is incomplete. You should complete any `certVerification` or `dnsUpdates` changes to complete it.", +"You've done your part to update records and present challenges as necessary. Hosting is now completing background processes to complete the step, e.g. minting an SSL cert for your domain name.", +"The step is complete. You've already made the necessary changes to your domain and/or prior hosting service to advance to the next step. Once all steps are complete, Hosting is ready to serve secure content on your domain." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Hosting API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json new file mode 100644 index 0000000000000000000000000000000000000000..d60e8c3f18b3d0b480922c9a7e148eae9e04df4c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json @@ -0,0 +1,572 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaseml.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase ML", +"description": "Access custom machine learning models hosted via Firebase ML.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com", +"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": "firebaseml:v1beta2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaseml.mtls.googleapis.com/", +"name": "firebaseml", +"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": { +"models": { +"methods": { +"create": { +"description": "Creates a model in Firebase ML. The longrunning operation will eventually return a Model", +"flatPath": "v1beta2/projects/{projectsId}/models", +"httpMethod": "POST", +"id": "firebaseml.projects.models.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent project resource where the model is to be created. The parent must have the form `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/models", +"request": { +"$ref": "Model" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a model", +"flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "firebaseml.projects.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to delete. The name must have the form `projects/{project_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"download": { +"description": "Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.", +"flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}:download", +"httpMethod": "GET", +"id": "firebaseml.projects.models.download", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to download. The name must have the form `projects/{project}/models/{model}`", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}:download", +"response": { +"$ref": "DownloadModelResponse" +} +}, +"get": { +"description": "Gets a model resource.", +"flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "firebaseml.projects.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to get. The name must have the form `projects/{project_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the models", +"flatPath": "v1beta2/projects/{projectsId}/models", +"httpMethod": "GET", +"id": "firebaseml.projects.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter for the list e.g. 'tags: abc' to list models which are tagged with \"abc\"", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of items to return", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent to list models for. The parent must have the form `projects/{project_id}'", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+parent}/models", +"response": { +"$ref": "ListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a model. The longrunning operation will eventually return a Model.", +"flatPath": "v1beta2/projects/{projectsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "firebaseml.projects.models.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the Model. Model names have the form `projects/{project_id}/models/{model_id}` The name is ignored when creating a model.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"request": { +"$ref": "Model" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta2/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "firebaseml.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta2/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20240705", +"rootUrl": "https://firebaseml.googleapis.com/", +"schemas": { +"DownloadModelResponse": { +"description": "The response for downloading a model to device.", +"id": "DownloadModelResponse", +"properties": { +"downloadUri": { +"description": "Output only. A download URI for the model/zip file.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time that the download URI link expires. If the link has expired, the REST call must be repeated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFormat": { +"description": "Output only. The format of the model being downloaded.", +"enum": [ +"MODEL_FORMAT_UNSPECIFIED", +"TFLITE" +], +"enumDescriptions": [ +"Unknown format", +"TFLite model" +], +"readOnly": true, +"type": "string" +}, +"sizeBytes": { +"description": "Output only. The size of the file(s), if this information is available.", +"format": "int64", +"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" +}, +"ListModelsResponse": { +"description": "The response for list models", +"id": "ListModelsResponse", +"properties": { +"models": { +"description": "The list of models", +"items": { +"$ref": "Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"Model": { +"description": "An ML model hosted in Firebase ML", +"id": "Model", +"properties": { +"activeOperations": { +"description": "Output only. Lists operation ids associated with this model whose status is NOT done.", +"items": { +"$ref": "Operation" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Timestamp when this model was created in Firebase ML.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter.", +"type": "string" +}, +"etag": { +"description": "Output only. See RFC7232 https://tools.ietf.org/html/rfc7232#section-2.3", +"readOnly": true, +"type": "string" +}, +"modelHash": { +"description": "Output only. The model_hash will change if a new file is available for download.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the Model. Model names have the form `projects/{project_id}/models/{model_id}` The name is ignored when creating a model.", +"type": "string" +}, +"state": { +"$ref": "ModelState", +"description": "State common to all model types. Includes publishing and validation information." +}, +"tags": { +"description": "User defined tags which can be used to group/filter models during listing", +"items": { +"type": "string" +}, +"type": "array" +}, +"tfliteModel": { +"$ref": "TfLiteModel", +"description": "A TFLite Model" +}, +"updateTime": { +"description": "Output only. Timestamp when this model was updated in Firebase ML.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ModelOperationMetadata": { +"description": "This is returned in the longrunning operations for create/update.", +"id": "ModelOperationMetadata", +"properties": { +"basicOperationStatus": { +"enum": [ +"BASIC_OPERATION_STATUS_UNSPECIFIED", +"BASIC_OPERATION_STATUS_UPLOADING", +"BASIC_OPERATION_STATUS_VERIFYING" +], +"enumDescriptions": [ +"The status is unspecified", +"The model file is being uploaded", +"The model file is being verified" +], +"type": "string" +}, +"name": { +"description": "The name of the model we are creating/updating The name must have the form `projects/{project_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"ModelState": { +"description": "State common to all model types. Includes publishing and validation information.", +"id": "ModelState", +"properties": { +"published": { +"description": "Indicates if this model has been published.", +"type": "boolean" +}, +"validationError": { +"$ref": "Status", +"description": "Output only. Indicates the latest validation error on the model if any. A model may have validation errors if there were problems during the model creation/update. e.g. in the case of a TfLiteModel, if a tflite model file was missing or in the wrong format. This field will be empty for valid models.", +"readOnly": true +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TfLiteModel": { +"description": "Information that is specific to TfLite models.", +"id": "TfLiteModel", +"properties": { +"automlModel": { +"description": "The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API)", +"type": "string" +}, +"gcsTfliteUri": { +"description": "The TfLite file containing the model. (Stored in Google Cloud). The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite Note: If you update the file in the original location, it is necessary to call UpdateModel for ML to pick up and validate the updated file.", +"type": "string" +}, +"sizeBytes": { +"description": "Output only. The size of the TFLite model", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase ML API", +"version": "v1beta2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaserules.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaserules.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a4d34afca121989f1165de66f483d7100768fd7f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firebaserules.v1.json @@ -0,0 +1,1063 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/firebase": { +"description": "View and administer all your Firebase data and settings" +}, +"https://www.googleapis.com/auth/firebase.readonly": { +"description": "View all your Firebase data and settings" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firebaserules.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firebase Rules", +"description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. ", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/storage/security", +"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": "firebaserules:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firebaserules.mtls.googleapis.com/", +"name": "firebaserules", +"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": { +"methods": { +"test": { +"description": "Test `Source` for syntactic and semantic correctness. Issues present, if any, will be returned to the caller with a description, severity, and source location. The test method may be executed with `Source` or a `Ruleset` name. Passing `Source` is useful for unit testing new rules. Passing a `Ruleset` name is useful for regression testing an existing rule. The following is an example of `Source` that permits users to upload images to a bucket bearing their user id and matching the correct metadata: _*Example*_ // Users are allowed to subscribe and unsubscribe to the blog. service firebase.storage { match /users/{userId}/images/{imageName} { allow write: if userId == request.auth.uid && (imageName.matches('*.png$') || imageName.matches('*.jpg$')) && resource.mimeType.matches('^image/') } }", +"flatPath": "v1/projects/{projectsId}:test", +"httpMethod": "POST", +"id": "firebaserules.projects.test", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Tests may either provide `source` or a `Ruleset` resource name. For tests against `source`, the resource name must refer to the project: Format: `projects/{project_id}` For tests against a `Ruleset`, this must be the `Ruleset` resource name: Format: `projects/{project_id}/rulesets/{ruleset_id}`", +"location": "path", +"pattern": "^projects/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:test", +"request": { +"$ref": "TestRulesetRequest" +}, +"response": { +"$ref": "TestRulesetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +}, +"resources": { +"releases": { +"methods": { +"create": { +"description": "Create a `Release`. Release names should reflect the developer's deployment practices. For example, the release name may include the environment name, application name, application version, or any other name meaningful to the developer. Once a `Release` refers to a `Ruleset`, the rules can be enforced by Firebase Rules-enabled services. More than one `Release` may be 'live' concurrently. Consider the following three `Release` names for `projects/foo` and the `Ruleset` to which they refer. Release Name -> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23 -> projects/foo/rulesets/uuid456 The relationships reflect a `Ruleset` rollout in progress. The `prod` and `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23` refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be updated using the UpdateRelease method.", +"flatPath": "v1/projects/{projectsId}/releases", +"httpMethod": "POST", +"id": "firebaserules.projects.releases.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the project which owns this `Release`. Format: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/releases", +"request": { +"$ref": "Release" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Delete a `Release` by resource name.", +"flatPath": "v1/projects/{projectsId}/releases/{releasesId}", +"httpMethod": "DELETE", +"id": "firebaserules.projects.releases.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the `Release` to delete. Format: `projects/{project_id}/releases/{release_id}`", +"location": "path", +"pattern": "^projects/[^/]+/releases/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Get a `Release` by name.", +"flatPath": "v1/projects/{projectsId}/releases/{releasesId}", +"httpMethod": "GET", +"id": "firebaserules.projects.releases.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the `Release`. Format: `projects/{project_id}/releases/{release_id}`", +"location": "path", +"pattern": "^projects/[^/]+/releases/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"getExecutable": { +"description": "Get the `Release` executable to use when enforcing rules.", +"flatPath": "v1/projects/{projectsId}/releases/{releasesId}:getExecutable", +"httpMethod": "GET", +"id": "firebaserules.projects.releases.getExecutable", +"parameterOrder": [ +"name" +], +"parameters": { +"executableVersion": { +"description": "Optional. The requested runtime executable version. Defaults to FIREBASE_RULES_EXECUTABLE_V1.", +"enum": [ +"RELEASE_EXECUTABLE_VERSION_UNSPECIFIED", +"FIREBASE_RULES_EXECUTABLE_V1", +"FIREBASE_RULES_EXECUTABLE_V2" +], +"enumDescriptions": [ +"Executable format unspecified. Defaults to FIREBASE_RULES_EXECUTABLE_V1", +"Firebase Rules syntax 'rules2' executable versions: Custom AST for use with Java clients.", +"CEL-based executable for use with C++ clients." +], +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name of the `Release`. Format: `projects/{project_id}/releases/{release_id}`", +"location": "path", +"pattern": "^projects/[^/]+/releases/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getExecutable", +"response": { +"$ref": "GetReleaseExecutableResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "List the `Release` values for a project. This list may optionally be filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any combination thereof.", +"flatPath": "v1/projects/{projectsId}/releases", +"httpMethod": "GET", +"id": "firebaserules.projects.releases.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. `Release` filter. The list method supports filters with restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * projects/foo/releases/prod -> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for the project. Format: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Next page token for the next batch of `Release` instances.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/releases", +"response": { +"$ref": "ListReleasesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"patch": { +"description": "Update a `Release` via PATCH. Only updates to `ruleset_name` will be honored. `Release` rename is not supported. To create a `Release` use the CreateRelease method.", +"flatPath": "v1/projects/{projectsId}/releases/{releasesId}", +"httpMethod": "PATCH", +"id": "firebaserules.projects.releases.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the project which owns this `Release`. Format: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+/releases/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UpdateReleaseRequest" +}, +"response": { +"$ref": "Release" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +} +} +}, +"rulesets": { +"methods": { +"create": { +"description": "Create a `Ruleset` from `Source`. The `Ruleset` is given a unique generated name which is returned to the caller. `Source` containing syntactic or semantics errors will result in an error response indicating the first error encountered. For a detailed view of `Source` issues, use TestRuleset.", +"flatPath": "v1/projects/{projectsId}/rulesets", +"httpMethod": "POST", +"id": "firebaserules.projects.rulesets.create", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for Project which owns this `Ruleset`. Format: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/rulesets", +"request": { +"$ref": "Ruleset" +}, +"response": { +"$ref": "Ruleset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"delete": { +"description": "Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a `Release` the operation will fail.", +"flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}", +"httpMethod": "DELETE", +"id": "firebaserules.projects.rulesets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the ruleset to delete. Format: `projects/{project_id}/rulesets/{ruleset_id}`", +"location": "path", +"pattern": "^projects/[^/]+/rulesets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"get": { +"description": "Get a `Ruleset` by name including the full `Source` contents.", +"flatPath": "v1/projects/{projectsId}/rulesets/{rulesetsId}", +"httpMethod": "GET", +"id": "firebaserules.projects.rulesets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the ruleset to get. Format: `projects/{project_id}/rulesets/{ruleset_id}`", +"location": "path", +"pattern": "^projects/[^/]+/rulesets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Ruleset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +}, +"list": { +"description": "List `Ruleset` metadata only and optionally filter the results by `Ruleset` name. The full `Source` contents of a `Ruleset` may be retrieved with GetRuleset.", +"flatPath": "v1/projects/{projectsId}/rulesets", +"httpMethod": "GET", +"id": "firebaserules.projects.rulesets.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. `Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time > date(\"2017-01-01T00:00:00Z\") AND name=UUID-*`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Resource name for the project. Format: `projects/{project_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Next page token for loading the next batch of `Ruleset` instances.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/rulesets", +"response": { +"$ref": "ListRulesetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase", +"https://www.googleapis.com/auth/firebase.readonly" +] +} +} +} +} +} +}, +"revision": "20241125", +"rootUrl": "https://firebaserules.googleapis.com/", +"schemas": { +"Arg": { +"description": "Arg matchers for the mock function.", +"id": "Arg", +"properties": { +"anyValue": { +"$ref": "Empty", +"description": "Argument matches any value provided." +}, +"exactValue": { +"description": "Argument exactly matches value provided.", +"type": "any" +} +}, +"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" +}, +"ExpressionReport": { +"description": "Describes where in a file an expression is found and what it was evaluated to over the course of its use.", +"id": "ExpressionReport", +"properties": { +"children": { +"description": "Subexpressions", +"items": { +"$ref": "ExpressionReport" +}, +"type": "array" +}, +"sourcePosition": { +"$ref": "SourcePosition", +"description": "Position of expression in original rules source." +}, +"values": { +"description": "Values that this expression evaluated to when encountered.", +"items": { +"$ref": "ValueCount" +}, +"type": "array" +} +}, +"type": "object" +}, +"File": { +"description": "`File` containing source content.", +"id": "File", +"properties": { +"content": { +"description": "Required. Textual Content.", +"type": "string" +}, +"fingerprint": { +"description": "Fingerprint (e.g. github sha) associated with the `File`.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "Required. File name.", +"type": "string" +} +}, +"type": "object" +}, +"FunctionCall": { +"description": "Represents a service-defined function call that was invoked during test execution.", +"id": "FunctionCall", +"properties": { +"args": { +"description": "The arguments that were provided to the function.", +"items": { +"type": "any" +}, +"type": "array" +}, +"function": { +"description": "Name of the function invoked.", +"type": "string" +} +}, +"type": "object" +}, +"FunctionMock": { +"description": "Mock function definition. Mocks must refer to a function declared by the target service. The type of the function args and result will be inferred at test time. If either the arg or result values are not compatible with function type declaration, the request will be considered invalid. More than one `FunctionMock` may be provided for a given function name so long as the `Arg` matchers are distinct. There may be only one function for a given overload where all `Arg` values are `Arg.any_value`.", +"id": "FunctionMock", +"properties": { +"args": { +"description": "The list of `Arg` values to match. The order in which the arguments are provided is the order in which they must appear in the function invocation.", +"items": { +"$ref": "Arg" +}, +"type": "array" +}, +"function": { +"description": "The name of the function. The function name must match one provided by a service declaration.", +"type": "string" +}, +"result": { +"$ref": "Result", +"description": "The mock result of the function call." +} +}, +"type": "object" +}, +"GetReleaseExecutableResponse": { +"description": "The response for FirebaseRulesService.GetReleaseExecutable", +"id": "GetReleaseExecutableResponse", +"properties": { +"executable": { +"description": "Executable view of the `Ruleset` referenced by the `Release`.", +"format": "byte", +"type": "string" +}, +"executableVersion": { +"description": "The Rules runtime version of the executable.", +"enum": [ +"RELEASE_EXECUTABLE_VERSION_UNSPECIFIED", +"FIREBASE_RULES_EXECUTABLE_V1", +"FIREBASE_RULES_EXECUTABLE_V2" +], +"enumDescriptions": [ +"Executable format unspecified. Defaults to FIREBASE_RULES_EXECUTABLE_V1", +"Firebase Rules syntax 'rules2' executable versions: Custom AST for use with Java clients.", +"CEL-based executable for use with C++ clients." +], +"type": "string" +}, +"language": { +"description": "`Language` used to generate the executable bytes.", +"enum": [ +"LANGUAGE_UNSPECIFIED", +"FIREBASE_RULES", +"EVENT_FLOW_TRIGGERS" +], +"enumDescriptions": [ +"Language unspecified. Defaults to FIREBASE_RULES.", +"Firebase Rules language.", +"Event Flow triggers." +], +"type": "string" +}, +"rulesetName": { +"description": "`Ruleset` name associated with the `Release` executable.", +"type": "string" +}, +"syncTime": { +"description": "Optional, indicates the freshness of the result. The response is guaranteed to be the latest within an interval up to the sync_time (inclusive).", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Timestamp for the most recent `Release.update_time`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Issue": { +"description": "Issues include warnings, errors, and deprecation notices.", +"id": "Issue", +"properties": { +"description": { +"description": "Short error description.", +"type": "string" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"DEPRECATION", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"An unspecified severity.", +"Deprecation issue for statements and method that may no longer be supported or maintained.", +"Warnings such as: unused variables.", +"Errors such as: unmatched curly braces or variable redefinition." +], +"type": "string" +}, +"sourcePosition": { +"$ref": "SourcePosition", +"description": "Position of the issue in the `Source`." +} +}, +"type": "object" +}, +"ListReleasesResponse": { +"description": "The response for FirebaseRulesService.ListReleases.", +"id": "ListReleasesResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", +"type": "string" +}, +"releases": { +"description": "List of `Release` instances.", +"items": { +"$ref": "Release" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRulesetsResponse": { +"description": "The response for FirebaseRulesService.ListRulesets.", +"id": "ListRulesetsResponse", +"properties": { +"nextPageToken": { +"description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.", +"type": "string" +}, +"rulesets": { +"description": "List of `Ruleset` instances.", +"items": { +"$ref": "Ruleset" +}, +"type": "array" +} +}, +"type": "object" +}, +"Metadata": { +"description": "Metadata for a Ruleset.", +"id": "Metadata", +"properties": { +"services": { +"description": "Services that this ruleset has declarations for (e.g., \"cloud.firestore\"). There may be 0+ of these.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Release": { +"description": "`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.", +"id": "Release", +"properties": { +"createTime": { +"description": "Output only. Time the release was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. Format: `projects/{project_id}/releases/{release_id}`", +"type": "string" +}, +"rulesetName": { +"description": "Required. Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the release was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Result": { +"description": "Possible result values from the function mock invocation.", +"id": "Result", +"properties": { +"undefined": { +"$ref": "Empty", +"description": "The result is undefined, meaning the result could not be computed." +}, +"value": { +"description": "The result is an actual value. The type of the value must match that of the type declared by the service.", +"type": "any" +} +}, +"type": "object" +}, +"Ruleset": { +"description": "`Ruleset` is an immutable copy of `Source` with a globally unique identifier and a creation time.", +"id": "Ruleset", +"properties": { +"attachmentPoint": { +"description": "Immutable. Intended resource to which this Ruleset should be released. May be left blank to signify the resource associated with the default release. Expected format: firestore.googleapis.com/projects//databases/", +"type": "string" +}, +"createTime": { +"description": "Output only. Time the `Ruleset` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"metadata": { +"$ref": "Metadata", +"description": "Output only. The metadata for this ruleset.", +"readOnly": true +}, +"name": { +"description": "Output only. Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}`", +"readOnly": true, +"type": "string" +}, +"source": { +"$ref": "Source", +"description": "Required. `Source` for the `Ruleset`." +} +}, +"type": "object" +}, +"Source": { +"description": "`Source` is one or more `File` messages comprising a logical set of rules.", +"id": "Source", +"properties": { +"files": { +"description": "Required. `File` set constituting the `Source` bundle.", +"items": { +"$ref": "File" +}, +"type": "array" +} +}, +"type": "object" +}, +"SourcePosition": { +"description": "Position in the `Source` content including its line, column number, and an index of the `File` in the `Source` message. Used for debug purposes.", +"id": "SourcePosition", +"properties": { +"column": { +"description": "First column on the source line associated with the source fragment.", +"format": "int32", +"type": "integer" +}, +"currentOffset": { +"description": "Start position relative to the beginning of the file.", +"format": "int32", +"type": "integer" +}, +"endOffset": { +"description": "End position relative to the beginning of the file.", +"format": "int32", +"type": "integer" +}, +"fileName": { +"description": "Name of the `File`.", +"type": "string" +}, +"line": { +"description": "Line number of the source fragment. 1-based.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TestCase": { +"description": "`TestCase` messages provide the request context and an expectation as to whether the given context will be allowed or denied. Test cases may specify the `request`, `resource`, and `function_mocks` to mock a function call to a service-provided function. The `request` object represents context present at request-time. The `resource` is the value of the target resource as it appears in persistent storage before the request is executed.", +"id": "TestCase", +"properties": { +"expectation": { +"description": "Test expectation.", +"enum": [ +"EXPECTATION_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"Unspecified expectation.", +"Expect an allowed result.", +"Expect a denied result." +], +"type": "string" +}, +"expressionReportLevel": { +"description": "Specifies what should be included in the response.", +"enum": [ +"LEVEL_UNSPECIFIED", +"NONE", +"FULL", +"VISITED" +], +"enumDescriptions": [ +"No level has been specified. Defaults to \"NONE\" behavior.", +"Do not include any additional information.", +"Include detailed reporting on expressions evaluated.", +"Only include the expressions that were visited during evaluation." +], +"type": "string" +}, +"functionMocks": { +"description": "Optional function mocks for service-defined functions. If not set, any service defined function is expected to return an error, which may or may not influence the test outcome.", +"items": { +"$ref": "FunctionMock" +}, +"type": "array" +}, +"pathEncoding": { +"description": "Specifies whether paths (such as request.path) are encoded and how.", +"enum": [ +"ENCODING_UNSPECIFIED", +"URL_ENCODED", +"PLAIN" +], +"enumDescriptions": [ +"No encoding has been specified. Defaults to \"URL_ENCODED\" behavior.", +"Treats path segments as URL encoded but with non-encoded separators (\"/\"). This is the default behavior.", +"Treats total path as non-URL encoded e.g. raw." +], +"type": "string" +}, +"request": { +"description": "Request context. The exact format of the request context is service-dependent. See the appropriate service documentation for information about the supported fields and types on the request. Minimally, all services support the following fields and types: Request field | Type ---------------|----------------- auth.uid | `string` auth.token | `map` headers | `map` method | `string` params | `map` path | `string` time | `google.protobuf.Timestamp` If the request value is not well-formed for the service, the request will be rejected as an invalid argument.", +"type": "any" +}, +"resource": { +"description": "Optional resource value as it appears in persistent storage before the request is fulfilled. The resource type depends on the `request.path` value.", +"type": "any" +} +}, +"type": "object" +}, +"TestResult": { +"description": "Test result message containing the state of the test as well as a description and source position for test failures.", +"id": "TestResult", +"properties": { +"debugMessages": { +"description": "Debug messages related to test execution issues encountered during evaluation. Debug messages may be related to too many or too few invocations of function mocks or to runtime errors that occur during evaluation. For example: ```Unable to read variable [name: \"resource\"]```", +"items": { +"type": "string" +}, +"type": "array" +}, +"errorPosition": { +"$ref": "SourcePosition", +"description": "Position in the `Source` or `Ruleset` where the principle runtime error occurs. Evaluation of an expression may result in an error. Rules are deny by default, so a `DENY` expectation when an error is generated is valid. When there is a `DENY` with an error, the `SourcePosition` is returned. E.g. `error_position { line: 19 column: 37 }`" +}, +"expressionReports": { +"description": "The mapping from expression in the ruleset AST to the values they were evaluated to. Partially-nested to mirror AST structure. Note that this field is actually tracking expressions and not permission statements in contrast to the \"visited_expressions\" field above. Literal expressions are omitted.", +"items": { +"$ref": "ExpressionReport" +}, +"type": "array" +}, +"functionCalls": { +"description": "The set of function calls made to service-defined methods. Function calls are included in the order in which they are encountered during evaluation, are provided for both mocked and unmocked functions, and included on the response regardless of the test `state`.", +"items": { +"$ref": "FunctionCall" +}, +"type": "array" +}, +"state": { +"description": "State of the test.", +"enum": [ +"STATE_UNSPECIFIED", +"SUCCESS", +"FAILURE" +], +"enumDescriptions": [ +"Test state is not set.", +"Test is a success.", +"Test is a failure." +], +"type": "string" +}, +"visitedExpressions": { +"description": "The set of visited permission expressions for a given test. This returns the positions and evaluation results of all visited permission expressions which were relevant to the test case, e.g. ``` match /path { allow read if: } ``` For a detailed report of the intermediate evaluation states, see the `expression_reports` field", +"items": { +"$ref": "VisitedExpression" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestRulesetRequest": { +"description": "The request for FirebaseRulesService.TestRuleset.", +"id": "TestRulesetRequest", +"properties": { +"source": { +"$ref": "Source", +"description": "Optional. Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`." +}, +"testSuite": { +"$ref": "TestSuite", +"description": "Required. The tests to execute against the `Source`. When `Source` is provided inline, the test cases will only be run if the `Source` is syntactically and semantically valid. Inline `TestSuite` to run." +} +}, +"type": "object" +}, +"TestRulesetResponse": { +"description": "The response for FirebaseRulesService.TestRuleset.", +"id": "TestRulesetResponse", +"properties": { +"issues": { +"description": "Syntactic and semantic `Source` issues of varying severity. Issues of `ERROR` severity will prevent tests from executing.", +"items": { +"$ref": "Issue" +}, +"type": "array" +}, +"testResults": { +"description": "The set of test results given the test cases in the `TestSuite`. The results will appear in the same order as the test cases appear in the `TestSuite`.", +"items": { +"$ref": "TestResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestSuite": { +"description": "`TestSuite` is a collection of `TestCase` instances that validate the logical correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within a `TestRuleset` invocation or as part of a `Release` object as a pre-release check.", +"id": "TestSuite", +"properties": { +"testCases": { +"description": "Collection of test cases associated with the `TestSuite`.", +"items": { +"$ref": "TestCase" +}, +"type": "array" +} +}, +"type": "object" +}, +"UpdateReleaseRequest": { +"description": "The request for FirebaseRulesService.UpdateRelease.", +"id": "UpdateReleaseRequest", +"properties": { +"release": { +"$ref": "Release", +"description": "Required. `Release` to update." +}, +"updateMask": { +"description": "Optional. Specifies which fields to update.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"ValueCount": { +"description": "Tuple for how many times an Expression was evaluated to a particular ExpressionValue.", +"id": "ValueCount", +"properties": { +"count": { +"description": "The amount of times that expression returned.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The return value of the expression", +"type": "any" +} +}, +"type": "object" +}, +"VisitedExpression": { +"description": "Store the position and access outcome for an expression visited in rules.", +"id": "VisitedExpression", +"properties": { +"sourcePosition": { +"$ref": "SourcePosition", +"description": "Position in the `Source` or `Ruleset` where an expression was visited." +}, +"value": { +"description": "The evaluated value for the visited expression, e.g. true/false", +"type": "any" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Firebase Rules API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..dcfad340c909589dd6cc615c8ce17fe8445b3af8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/firestore.v1beta1.json @@ -0,0 +1,3753 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/datastore": { +"description": "View and manage your Google Cloud Datastore data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://firestore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Firestore", +"description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/firestore", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.asia-southeast3.rep.googleapis.com/", +"location": "asia-southeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://batch-firestore.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://firestore.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"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, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "firestore:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://firestore.mtls.googleapis.com/", +"name": "firestore", +"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": { +"databases": { +"methods": { +"exportDocuments": { +"description": "Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}:exportDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.exportDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Database to export. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:exportDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1beta1ExportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"importDocuments": { +"description": "Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}:importDocuments", +"httpMethod": "POST", +"id": "firestore.projects.databases.importDocuments", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Database to import into. Should be of the form: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:importDocuments", +"request": { +"$ref": "GoogleFirestoreAdminV1beta1ImportDocumentsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +}, +"resources": { +"documents": { +"methods": { +"batchGet": { +"description": "Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:batchGet", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.batchGet", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:batchGet", +"request": { +"$ref": "BatchGetDocumentsRequest" +}, +"response": { +"$ref": "BatchGetDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"batchWrite": { +"description": "Applies a batch of write operations. The BatchWrite method does not apply the write operations atomically and can apply them out of order. Method does not allow more than one write per document. Each write succeeds or fails independently. See the BatchWriteResponse for the success status of each write. If you require an atomically applied set of writes, use Commit instead.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:batchWrite", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.batchWrite", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:batchWrite", +"request": { +"$ref": "BatchWriteRequest" +}, +"response": { +"$ref": "BatchWriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"beginTransaction": { +"description": "Starts a new transaction.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:beginTransaction", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.beginTransaction", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:beginTransaction", +"request": { +"$ref": "BeginTransactionRequest" +}, +"response": { +"$ref": "BeginTransactionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"commit": { +"description": "Commits a transaction, while optionally updating documents.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:commit", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.commit", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:commit", +"request": { +"$ref": "CommitRequest" +}, +"response": { +"$ref": "CommitResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"createDocument": { +"description": "Creates a new document.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{collectionId}", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.createDocument", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.", +"location": "path", +"required": true, +"type": "string" +}, +"documentId": { +"description": "The client-assigned document ID to use for this document. Optional. If not specified, an ID will be assigned by the service.", +"location": "query", +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. The parent resource. For example: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/{collectionId}", +"request": { +"$ref": "Document" +}, +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes a document.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.documents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"currentDocument.exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"location": "query", +"type": "boolean" +}, +"currentDocument.updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Document to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"executePipeline": { +"description": "Executes a pipeline query.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:executePipeline", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.executePipeline", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. Database identifier, in the form `projects/{project}/databases/{database}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:executePipeline", +"request": { +"$ref": "ExecutePipelineRequest" +}, +"response": { +"$ref": "ExecutePipelineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets a single document.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Document to get. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Reads the version of the document at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"transaction": { +"description": "Reads the document in a transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists documents.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}/{collectionId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.list", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", +"location": "path", +"required": true, +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"showMissing": { +"description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", +"location": "query", +"type": "boolean" +}, +"transaction": { +"description": "Perform the read as part of an already active transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/{collectionId}", +"response": { +"$ref": "ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listCollectionIds": { +"description": "Lists all the collection IDs underneath a document.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:listCollectionIds", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.listCollectionIds", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent document. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:listCollectionIds", +"request": { +"$ref": "ListCollectionIdsRequest" +}, +"response": { +"$ref": "ListCollectionIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listDocuments": { +"description": "Lists documents.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{collectionId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.documents.listDocuments", +"parameterOrder": [ +"parent", +"collectionId" +], +"parameters": { +"collectionId": { +"description": "Optional. The collection ID, relative to `parent`, to list. For example: `chatrooms` or `messages`. This is optional, and when not provided, Firestore will list documents from all collections under the provided `parent`.", +"location": "path", +"required": true, +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. The optional ordering of the documents to return. For example: `priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore queries but in a string representation. When absent, documents are ordered based on `__name__ ASC`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDocuments` response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of `page_size`) must match the values set in the request that generated the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Perform the read at the provided time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"showMissing": { +"description": "If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, `create_time`, or `update_time` set. Requests with `show_missing` may not specify `where` or `order_by`.", +"location": "query", +"type": "boolean" +}, +"transaction": { +"description": "Perform the read as part of an already active transaction.", +"format": "byte", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/{collectionId}", +"response": { +"$ref": "ListDocumentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"listen": { +"description": "Listens to changes. This method is only available via gRPC or WebChannel (not REST).", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:listen", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.listen", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:listen", +"request": { +"$ref": "ListenRequest" +}, +"response": { +"$ref": "ListenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"partitionQuery": { +"description": "Partitions a query by returning partition cursors that can be used to run the query in parallel. The returned partition cursors are split points that can be used by RunQuery as starting/end points for the query results.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:partitionQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.partitionQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents`. Document resource names are not supported; only database resource names can be specified.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:partitionQuery", +"request": { +"$ref": "PartitionQueryRequest" +}, +"response": { +"$ref": "PartitionQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"patch": { +"description": "Updates or inserts a document.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}", +"httpMethod": "PATCH", +"id": "firestore.projects.databases.documents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"currentDocument.exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"location": "query", +"type": "boolean" +}, +"currentDocument.updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"mask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +}, +"name": { +"description": "The resource name of the document, for example `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +}, +"updateMask.fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Document" +}, +"response": { +"$ref": "Document" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"rollback": { +"description": "Rolls back a transaction.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:rollback", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.rollback", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:rollback", +"request": { +"$ref": "RollbackRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runAggregationQuery": { +"description": "Runs an aggregation query. Rather than producing Document results like Firestore.RunQuery, this API allows running an aggregation to produce a series of AggregationResult server-side. High-Level Example: ``` -- Return the number of documents in table given a filter. SELECT COUNT(*) FROM ( SELECT * FROM k where a = true ); ```", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:runAggregationQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.runAggregationQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:runAggregationQuery", +"request": { +"$ref": "RunAggregationQueryRequest" +}, +"response": { +"$ref": "RunAggregationQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"runQuery": { +"description": "Runs a query.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents/{documentsId}/{documentsId1}:runQuery", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.runQuery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/documents/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}:runQuery", +"request": { +"$ref": "RunQueryRequest" +}, +"response": { +"$ref": "RunQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"write": { +"description": "Streams batches of document updates and deletes, in order. This method is only available via gRPC or WebChannel (not REST).", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/documents:write", +"httpMethod": "POST", +"id": "firestore.projects.databases.documents.write", +"parameterOrder": [ +"database" +], +"parameters": { +"database": { +"description": "Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`. This is only required in the first message.", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+database}/documents:write", +"request": { +"$ref": "WriteRequest" +}, +"response": { +"$ref": "WriteResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +}, +"indexes": { +"methods": { +"create": { +"description": "Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned google.longrunning.Operation, the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. During creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single field cannot be created.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/indexes", +"httpMethod": "POST", +"id": "firestore.projects.databases.indexes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The name of the database this index will apply to. For example: `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/indexes", +"request": { +"$ref": "GoogleFirestoreAdminV1beta1Index" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"delete": { +"description": "Deletes an index.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/indexes/{indexesId}", +"httpMethod": "DELETE", +"id": "firestore.projects.databases.indexes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The index name. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"get": { +"description": "Gets an index.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/indexes/{indexesId}", +"httpMethod": "GET", +"id": "firestore.projects.databases.indexes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the index. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+/indexes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GoogleFirestoreAdminV1beta1Index" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +}, +"list": { +"description": "Lists the indexes that match the specified filters.", +"flatPath": "v1beta1/projects/{projectsId}/databases/{databasesId}/indexes", +"httpMethod": "GET", +"id": "firestore.projects.databases.indexes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard List page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard List page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The database name. For example: `projects/{project_id}/databases/{database_id}`", +"location": "path", +"pattern": "^projects/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/indexes", +"response": { +"$ref": "GoogleFirestoreAdminV1beta1ListIndexesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/datastore" +] +} +} +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://firestore.googleapis.com/", +"schemas": { +"Aggregation": { +"description": "Defines an aggregation that produces a single result.", +"id": "Aggregation", +"properties": { +"alias": { +"description": "Optional. Optional name of the field to store the result of the aggregation into. If not provided, Firestore will pick a default name following the format `field_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to document field name limitations.", +"type": "string" +}, +"avg": { +"$ref": "Avg", +"description": "Average aggregator." +}, +"count": { +"$ref": "Count", +"description": "Count aggregator." +}, +"sum": { +"$ref": "Sum", +"description": "Sum aggregator." +} +}, +"type": "object" +}, +"AggregationResult": { +"description": "The result of a single bucket from a Firestore aggregation query. The keys of `aggregate_fields` are the same for all results in an aggregation query, unlike document queries which can have different fields present for each result.", +"id": "AggregationResult", +"properties": { +"aggregateFields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The result of the aggregation functions, ex: `COUNT(*) AS total_docs`. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.", +"type": "object" +} +}, +"type": "object" +}, +"ArrayValue": { +"description": "An array value.", +"id": "ArrayValue", +"properties": { +"values": { +"description": "Values in the array.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Avg": { +"description": "Average of the values of the requested field. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns `NULL`. * Always returns the result as a double.", +"id": "Avg", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to aggregate on." +} +}, +"type": "object" +}, +"BatchGetDocumentsRequest": { +"description": "The request for Firestore.BatchGetDocuments.", +"id": "BatchGetDocumentsRequest", +"properties": { +"documents": { +"description": "The names of the documents to retrieve. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. The request will fail if any of the document is not a child resource of the given `database`. Duplicate names will be elided.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mask": { +"$ref": "DocumentMask", +"description": "The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "Reads documents in a transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BatchGetDocumentsResponse": { +"description": "The streamed response for Firestore.BatchGetDocuments.", +"id": "BatchGetDocumentsResponse", +"properties": { +"found": { +"$ref": "Document", +"description": "A document that was requested." +}, +"missing": { +"description": "A document name that was requested but does not exist. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"readTime": { +"description": "The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.", +"format": "google-datetime", +"type": "string" +}, +"transaction": { +"description": "The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BatchWriteRequest": { +"description": "The request for Firestore.BatchWrite.", +"id": "BatchWriteRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this batch write.", +"type": "object" +}, +"writes": { +"description": "The writes to apply. Method does not apply writes atomically and does not guarantee ordering. Each write succeeds or fails independently. You cannot write to the same document more than once per request.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchWriteResponse": { +"description": "The response from Firestore.BatchWrite.", +"id": "BatchWriteResponse", +"properties": { +"status": { +"description": "The status of applying the writes. This i-th write status corresponds to the i-th write in the request.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"BeginTransactionRequest": { +"description": "The request for Firestore.BeginTransaction.", +"id": "BeginTransactionRequest", +"properties": { +"options": { +"$ref": "TransactionOptions", +"description": "The options for the transaction. Defaults to a read-write transaction." +} +}, +"type": "object" +}, +"BeginTransactionResponse": { +"description": "The response for Firestore.BeginTransaction.", +"id": "BeginTransactionResponse", +"properties": { +"transaction": { +"description": "The transaction that was started.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"BitSequence": { +"description": "A sequence of bits, encoded in a byte array. Each byte in the `bitmap` byte array stores 8 bits of the sequence. The only exception is the last byte, which may store 8 _or fewer_ bits. The `padding` defines the number of bits of the last byte to be ignored as \"padding\". The values of these \"padding\" bits are unspecified and must be ignored. To retrieve the first bit, bit 0, calculate: `(bitmap[0] & 0x01) != 0`. To retrieve the second bit, bit 1, calculate: `(bitmap[0] & 0x02) != 0`. To retrieve the third bit, bit 2, calculate: `(bitmap[0] & 0x04) != 0`. To retrieve the fourth bit, bit 3, calculate: `(bitmap[0] & 0x08) != 0`. To retrieve bit n, calculate: `(bitmap[n / 8] & (0x01 << (n % 8))) != 0`. The \"size\" of a `BitSequence` (the number of bits it contains) is calculated by this formula: `(bitmap.length * 8) - padding`.", +"id": "BitSequence", +"properties": { +"bitmap": { +"description": "The bytes that encode the bit sequence. May have a length of zero.", +"format": "byte", +"type": "string" +}, +"padding": { +"description": "The number of bits of the last byte in `bitmap` to ignore as \"padding\". If the length of `bitmap` is zero, then this value must be `0`. Otherwise, this value must be between 0 and 7, inclusive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"BloomFilter": { +"description": "A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter). The bloom filter hashes the entries with MD5 and treats the resulting 128-bit hash as 2 distinct 64-bit hash values, interpreted as unsigned integers using 2's complement encoding. These two hash values, named `h1` and `h2`, are then used to compute the `hash_count` hash values using the formula, starting at `i=0`: h(i) = h1 + (i * h2) These resulting values are then taken modulo the number of bits in the bloom filter to get the bits of the bloom filter to test for the given entry.", +"id": "BloomFilter", +"properties": { +"bits": { +"$ref": "BitSequence", +"description": "The bloom filter data." +}, +"hashCount": { +"description": "The number of hashes used by the algorithm.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CollectionSelector": { +"description": "A selection of a collection, such as `messages as m1`.", +"id": "CollectionSelector", +"properties": { +"allDescendants": { +"description": "When false, selects only collections that are immediate children of the `parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections.", +"type": "boolean" +}, +"collectionId": { +"description": "The collection ID. When set, selects only collections with this ID.", +"type": "string" +} +}, +"type": "object" +}, +"CommitRequest": { +"description": "The request for Firestore.Commit.", +"id": "CommitRequest", +"properties": { +"transaction": { +"description": "If set, applies all writes in this transaction, and commits it.", +"format": "byte", +"type": "string" +}, +"writes": { +"description": "The writes to apply. Always executed atomically and in order.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"CommitResponse": { +"description": "The response for Firestore.Commit.", +"id": "CommitResponse", +"properties": { +"commitTime": { +"description": "The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the commit.", +"format": "google-datetime", +"type": "string" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"CompositeFilter": { +"description": "A filter that merges multiple other filters using the given operator.", +"id": "CompositeFilter", +"properties": { +"filters": { +"description": "The list of filters to combine. Requires: * At least one filter is present.", +"items": { +"$ref": "Filter" +}, +"type": "array" +}, +"op": { +"description": "The operator for combining multiple filters.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"AND", +"OR" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"Documents are required to satisfy all of the combined filters.", +"Documents are required to satisfy at least one of the combined filters." +], +"type": "string" +} +}, +"type": "object" +}, +"Count": { +"description": "Count of documents that match the query. The `COUNT(*)` aggregation function operates on the entire document so it does not require a field reference.", +"id": "Count", +"properties": { +"upTo": { +"description": "Optional. Optional constraint on the maximum number of documents to count. This provides a way to set an upper bound on the number of documents to scan, limiting latency, and cost. Unspecified is interpreted as no bound. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ``` Requires: * Must be greater than zero when present.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Cursor": { +"description": "A position in a query result set.", +"id": "Cursor", +"properties": { +"before": { +"description": "If the position is just before or just after the given values, relative to the sort order defined by the query.", +"type": "boolean" +}, +"values": { +"description": "The values that represent a position, in the order they appear in the order by clause of a query. Can contain fewer values than specified in the order by clause.", +"items": { +"$ref": "Value" +}, +"type": "array" +} +}, +"type": "object" +}, +"Document": { +"description": "A Firestore document. Must not exceed 1 MiB - 4 bytes.", +"id": "Document", +"properties": { +"createTime": { +"description": "Output only. The time at which the document was created. This value increases monotonically when a document is deleted then recreated. It can also be compared to values from other documents and the `read_time` of a query.", +"format": "google-datetime", +"type": "string" +}, +"fields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The document's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The field names, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty. Field paths may be used in other contexts to refer to structured fields defined here. For `map_value`, the field path is represented by a dot-delimited (`.`) string of segments. Each segment is either a simple field name (defined below) or a quoted field name. For example, the structured field `\"foo\" : { map_value: { \"x&y\" : { string_value: \"hello\" }}}` would be represented by the field path `` foo.`x&y` ``. A simple field name contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must not start with `0` to `9`. For example, `foo_bar_17`. A quoted field name starts and ends with `` ` `` and may contain any character. Some characters, including `` ` ``, must be escaped using a `\\`. For example, `` `x&y` `` represents `x&y` and `` `bak\\`tik` `` represents `` bak`tik ``.", +"type": "object" +}, +"name": { +"description": "The resource name of the document, for example `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the document was last changed. This value is initially set to the `create_time` then increases monotonically with each change to the document. It can also be compared to values from other documents and the `read_time` of a query.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"DocumentChange": { +"description": "A Document has changed. May be the result of multiple writes, including deletes, that ultimately resulted in a new value for the Document. Multiple DocumentChange messages may be returned for the same logical change, if multiple targets are affected.", +"id": "DocumentChange", +"properties": { +"document": { +"$ref": "Document", +"description": "The new state of the Document. If `mask` is set, contains only fields that were updated or added." +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that no longer match this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"targetIds": { +"description": "A set of target IDs of targets that match this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentDelete": { +"description": "A Document has been deleted. May be the result of multiple writes, including updates, the last of which deleted the Document. Multiple DocumentDelete messages may be returned for the same logical delete, if multiple targets are affected.", +"id": "DocumentDelete", +"properties": { +"document": { +"description": "The resource name of the Document that was deleted.", +"type": "string" +}, +"readTime": { +"description": "The read timestamp at which the delete was observed. Greater or equal to the `commit_time` of the delete.", +"format": "google-datetime", +"type": "string" +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that previously matched this entity.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentMask": { +"description": "A set of field paths on a document. Used to restrict a get or update operation on a document to a subset of its fields. This is different from standard field masks, as this is always scoped to a Document, and takes in account the dynamic nature of Value.", +"id": "DocumentMask", +"properties": { +"fieldPaths": { +"description": "The list of field paths in the mask. See Document.fields for a field path syntax reference.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentRemove": { +"description": "A Document has been removed from the view of the targets. Sent if the document is no longer relevant to a target and is out of view. Can be sent instead of a DocumentDelete or a DocumentChange if the server can not send the new value of the document. Multiple DocumentRemove messages may be returned for the same logical write or delete, if multiple targets are affected.", +"id": "DocumentRemove", +"properties": { +"document": { +"description": "The resource name of the Document that has gone out of view.", +"type": "string" +}, +"readTime": { +"description": "The read timestamp at which the remove was observed. Greater or equal to the `commit_time` of the change/delete/remove.", +"format": "google-datetime", +"type": "string" +}, +"removedTargetIds": { +"description": "A set of target IDs for targets that previously matched this document.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentTransform": { +"description": "A transformation of a document.", +"id": "DocumentTransform", +"properties": { +"document": { +"description": "The name of the document to transform.", +"type": "string" +}, +"fieldTransforms": { +"description": "The list of transformations to apply to the fields of the document, in order. This must not be empty.", +"items": { +"$ref": "FieldTransform" +}, +"type": "array" +} +}, +"type": "object" +}, +"DocumentsTarget": { +"description": "A target specified by a set of documents names.", +"id": "DocumentsTarget", +"properties": { +"documents": { +"description": "The names of the documents to retrieve. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`. The request will fail if any of the document is not a child resource of the given `database`. Duplicate names will be elided.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"ExecutePipelineRequest": { +"description": "The request for Firestore.ExecutePipeline.", +"id": "ExecutePipelineRequest", +"properties": { +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Execute the pipeline in a new transaction. The identifier of the newly created transaction will be returned in the first response on the stream. This defaults to a read-only transaction." +}, +"readTime": { +"description": "Execute the pipeline in a snapshot transaction at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredPipeline": { +"$ref": "StructuredPipeline", +"description": "A pipelined operation." +}, +"transaction": { +"description": "Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExecutePipelineResponse": { +"description": "The response for Firestore.Execute.", +"id": "ExecutePipelineResponse", +"properties": { +"executionTime": { +"description": "The time at which the results are valid. This is a (not strictly) monotonically increasing value across multiple responses in the same stream. The API guarantees that all previously returned results are still valid at the latest `execution_time`. This allows the API consumer to treat the query if it ran at the latest `execution_time` returned. If the query returns no results, a response with `execution_time` and no `results` will be sent, and this represents the time at which the operation was run.", +"format": "google-datetime", +"type": "string" +}, +"explainStats": { +"$ref": "ExplainStats", +"description": "Query explain stats. This is present on the **last** response if the request configured explain to run in 'analyze' or 'explain' mode in the pipeline options. If the query does not return any results, a response with `explain_stats` and no `results` will still be sent." +}, +"results": { +"description": "An ordered batch of results returned executing a pipeline. The batch size is variable, and can even be zero for when only a partial progress message is returned. The fields present in the returned documents are only those that were explicitly requested in the pipeline, this includes those like `__name__` and `__update_time__`. This is explicitly a divergence from `Firestore.RunQuery` / `Firestore.GetDocument` RPCs which always return such fields even when they are not specified in the `mask`.", +"items": { +"$ref": "Document" +}, +"type": "array" +}, +"transaction": { +"description": "Newly created transaction identifier. This field is only specified as part of the first response from the server, alongside the `results` field when the original request specified ExecuteRequest.new_transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExecutionStats": { +"description": "Execution statistics for the query.", +"id": "ExecutionStats", +"properties": { +"debugStats": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { \"indexes_entries_scanned\": \"1000\", \"documents_scanned\": \"20\", \"billing_details\" : { \"documents_billable\": \"20\", \"index_entries_billable\": \"1000\", \"min_query_cost\": \"0\" } }", +"type": "object" +}, +"executionDuration": { +"description": "Total time to execute the query in the backend.", +"format": "google-duration", +"type": "string" +}, +"readOperations": { +"description": "Total billable read operations.", +"format": "int64", +"type": "string" +}, +"resultsReturned": { +"description": "Total number of results returned, including documents, projections, aggregation results, keys.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExistenceFilter": { +"description": "A digest of all the documents that match a given target.", +"id": "ExistenceFilter", +"properties": { +"count": { +"description": "The total count of documents that match target_id. If different from the count of documents in the client that match, the client must manually determine which documents no longer match the target. The client can use the `unchanged_names` bloom filter to assist with this determination by testing ALL the document names against the filter; if the document name is NOT in the filter, it means the document no longer matches the target.", +"format": "int32", +"type": "integer" +}, +"targetId": { +"description": "The target ID to which this filter applies.", +"format": "int32", +"type": "integer" +}, +"unchangedNames": { +"$ref": "BloomFilter", +"description": "A bloom filter that, despite its name, contains the UTF-8 byte encodings of the resource names of ALL the documents that match target_id, in the form `projects/{project_id}/databases/{database_id}/documents/{document_path}`. This bloom filter may be omitted at the server's discretion, such as if it is deemed that the client will not make use of it or if it is too computationally expensive to calculate or transmit. Clients must gracefully handle this field being absent by falling back to the logic used before this field existed; that is, re-add the target without a resume token to figure out which documents in the client's cache are out of sync." +} +}, +"type": "object" +}, +"ExplainMetrics": { +"description": "Explain metrics for the query.", +"id": "ExplainMetrics", +"properties": { +"executionStats": { +"$ref": "ExecutionStats", +"description": "Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true." +}, +"planSummary": { +"$ref": "PlanSummary", +"description": "Planning phase information for the query." +} +}, +"type": "object" +}, +"ExplainOptions": { +"description": "Explain options for the query.", +"id": "ExplainOptions", +"properties": { +"analyze": { +"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", +"type": "boolean" +} +}, +"type": "object" +}, +"ExplainStats": { +"description": "Pipeline explain stats. Depending on the explain options in the original request, this can contain the optimized plan and / or execution stats.", +"id": "ExplainStats", +"properties": { +"data": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The format depends on the `output_format` options in the request. Currently there are two supported options: `TEXT` and `JSON`. Both supply a `google.protobuf.StringValue`.", +"type": "object" +} +}, +"type": "object" +}, +"FieldFilter": { +"description": "A filter on a specific field.", +"id": "FieldFilter", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to filter by." +}, +"op": { +"description": "The operator to filter by.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"LESS_THAN", +"LESS_THAN_OR_EQUAL", +"GREATER_THAN", +"GREATER_THAN_OR_EQUAL", +"EQUAL", +"NOT_EQUAL", +"ARRAY_CONTAINS", +"IN", +"ARRAY_CONTAINS_ANY", +"NOT_IN" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `field` is less than the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is less than or equal to the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is greater than the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is greater than or equal to the given `value`. Requires: * That `field` come first in `order_by`.", +"The given `field` is equal to the given `value`.", +"The given `field` is not equal to the given `value`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.", +"The given `field` is an array that contains the given `value`.", +"The given `field` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` filters in the same query.", +"The given `field` is an array that contains any of the values in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction. * No `NOT_IN` filters in the same query.", +"The value of the `field` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`." +], +"type": "string" +}, +"value": { +"$ref": "Value", +"description": "The value to compare to." +} +}, +"type": "object" +}, +"FieldReference": { +"description": "A reference to a field in a document, ex: `stats.operations`.", +"id": "FieldReference", +"properties": { +"fieldPath": { +"description": "A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to document field name limitations.", +"type": "string" +} +}, +"type": "object" +}, +"FieldTransform": { +"description": "A transformation of a field of the document.", +"id": "FieldTransform", +"properties": { +"appendMissingElements": { +"$ref": "ArrayValue", +"description": "Append the given elements in order if they are not already present in the current field value. If the field is not an array, or if the field does not yet exist, it is first set to the empty array. Equivalent numbers of different types (e.g. 3L and 3.0) are considered equal when checking if a value is missing. NaN is equal to NaN, and Null is equal to Null. If the input contains multiple equivalent values, only the first will be considered. The corresponding transform_result will be the null value." +}, +"fieldPath": { +"description": "The path of the field. See Document.fields for the field path syntax reference.", +"type": "string" +}, +"increment": { +"$ref": "Value", +"description": "Adds the given value to the field's current value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If either of the given value or the current field value are doubles, both values will be interpreted as doubles. Double arithmetic and representation of double values follow IEEE 754 semantics. If there is positive/negative integer overflow, the field is resolved to the largest magnitude positive/negative integer." +}, +"maximum": { +"$ref": "Value", +"description": "Sets the field to the maximum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the given value. If a maximum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the larger operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and zero input value is always the stored value. The maximum of any numeric value x and NaN is NaN." +}, +"minimum": { +"$ref": "Value", +"description": "Sets the field to the minimum of its current value and the given value. This must be an integer or a double value. If the field is not an integer or double, or if the field does not yet exist, the transformation will set the field to the input value. If a minimum operation is applied where the field and the input value are of mixed types (that is - one is an integer and one is a double) the field takes on the type of the smaller operand. If the operands are equivalent (e.g. 3 and 3.0), the field does not change. 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and zero input value is always the stored value. The minimum of any numeric value x and NaN is NaN." +}, +"removeAllFromArray": { +"$ref": "ArrayValue", +"description": "Remove all of the given elements from the array in the field. If the field is not an array, or if the field does not yet exist, it is set to the empty array. Equivalent numbers of the different types (e.g. 3L and 3.0) are considered equal when deciding whether an element should be removed. NaN is equal to NaN, and Null is equal to Null. This will remove all equivalent values if there are duplicates. The corresponding transform_result will be the null value." +}, +"setToServerValue": { +"description": "Sets the field to the given server value.", +"enum": [ +"SERVER_VALUE_UNSPECIFIED", +"REQUEST_TIME" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The time at which the server processed the request, with millisecond precision. If used on multiple fields (same or different documents) in a transaction, all the fields will get the same server timestamp." +], +"type": "string" +} +}, +"type": "object" +}, +"Filter": { +"description": "A filter.", +"id": "Filter", +"properties": { +"compositeFilter": { +"$ref": "CompositeFilter", +"description": "A composite filter." +}, +"fieldFilter": { +"$ref": "FieldFilter", +"description": "A filter on a document field." +}, +"unaryFilter": { +"$ref": "UnaryFilter", +"description": "A filter that takes exactly one argument." +} +}, +"type": "object" +}, +"FindNearest": { +"description": "Nearest Neighbors search config. The ordering provided by FindNearest supersedes the order_by stage. If multiple documents have the same vector distance, the returned document order is not guaranteed to be stable between queries.", +"id": "FindNearest", +"properties": { +"distanceMeasure": { +"description": "Required. The distance measure to use, required.", +"enum": [ +"DISTANCE_MEASURE_UNSPECIFIED", +"EUCLIDEAN", +"COSINE", +"DOT_PRODUCT" +], +"enumDescriptions": [ +"Should not be set.", +"Measures the EUCLIDEAN distance between the vectors. See [Euclidean](https://en.wikipedia.org/wiki/Euclidean_distance) to learn more. The resulting distance decreases the more similar two vectors are.", +"COSINE distance compares vectors based on the angle between them, which allows you to measure similarity that isn't based on the vectors magnitude. We recommend using DOT_PRODUCT with unit normalized vectors instead of COSINE distance, which is mathematically equivalent with better performance. See [Cosine Similarity](https://en.wikipedia.org/wiki/Cosine_similarity) to learn more about COSINE similarity and COSINE distance. The resulting COSINE distance decreases the more similar two vectors are.", +"Similar to cosine but is affected by the magnitude of the vectors. See [Dot Product](https://en.wikipedia.org/wiki/Dot_product) to learn more. The resulting distance increases the more similar two vectors are." +], +"type": "string" +}, +"distanceResultField": { +"description": "Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.", +"type": "string" +}, +"distanceThreshold": { +"description": "Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: `WHERE distance <= distance_threshold` * For DOT_PRODUCT: `WHERE distance >= distance_threshold`", +"format": "double", +"type": "number" +}, +"limit": { +"description": "Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.", +"format": "int32", +"type": "integer" +}, +"queryVector": { +"$ref": "Value", +"description": "Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions." +}, +"vectorField": { +"$ref": "FieldReference", +"description": "Required. An indexed vector field to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned." +} +}, +"type": "object" +}, +"Function": { +"description": "Represents an unevaluated scalar expression. For example, the expression `like(user_name, \"%alice%\")` is represented as: ``` name: \"like\" args { field_reference: \"user_name\" } args { string_value: \"%alice%\" } ```", +"id": "Function", +"properties": { +"args": { +"description": "Optional. Ordered list of arguments the given function expects.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the function to evaluate. **Requires:** * must be in snake case (lower case with underscore separator).", +"type": "string" +}, +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional named arguments that certain functions may support.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata": { +"description": "Metadata for google.longrunning.Operation results from FirestoreAdmin.BulkDeleteDocuments.", +"id": "GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "The IDs of the collection groups that are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time this operation completed. Will be unset if operation still in progress.", +"format": "google-datetime", +"type": "string" +}, +"namespaceIds": { +"description": "Which namespace IDs are being deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"operationState": { +"description": "The state of the operation.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in bytes, of this operation." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "The progress, in documents, of this operation." +}, +"snapshotTime": { +"description": "The timestamp that corresponds to the version of the database that is being read to get the list of documents to delete. This time can also be used as the timestamp of PITR in case of disaster recovery (subject to PITR window limit).", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time this operation started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CloneDatabaseMetadata": { +"description": "Metadata for the long-running operation from the CloneDatabase request.", +"id": "GoogleFirestoreAdminV1CloneDatabaseMetadata", +"properties": { +"database": { +"description": "The name of the database being cloned to.", +"type": "string" +}, +"endTime": { +"description": "The time the clone finished, unset for ongoing clones.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the clone.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"pitrSnapshot": { +"$ref": "GoogleFirestoreAdminV1PitrSnapshot", +"description": "The snapshot from which this database was cloned." +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the clone is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the clone was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1CreateDatabaseMetadata": { +"description": "Metadata related to the create database operation.", +"id": "GoogleFirestoreAdminV1CreateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1DeleteDatabaseMetadata": { +"description": "Metadata related to the delete database operation.", +"id": "GoogleFirestoreAdminV1DeleteDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1PitrSnapshot": { +"description": "A consistent snapshot of a database at a specific point in time. A PITR (Point-in-time recovery) snapshot with previous versions of a database's data is available for every minute up to the associated database's data retention period. If the PITR feature is enabled, the retention period is 7 days; otherwise, it is one hour.", +"id": "GoogleFirestoreAdminV1PitrSnapshot", +"properties": { +"database": { +"description": "Required. The name of the database that this was a snapshot of. Format: `projects/{project}/databases/{database}`.", +"type": "string" +}, +"databaseUid": { +"description": "Output only. Public UUID of the database the snapshot was associated with.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"snapshotTime": { +"description": "Required. Snapshot time of the database.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1Progress": { +"description": "Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used.", +"id": "GoogleFirestoreAdminV1Progress", +"properties": { +"completedWork": { +"description": "The amount of work completed.", +"format": "int64", +"type": "string" +}, +"estimatedWork": { +"description": "The amount of work estimated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1RestoreDatabaseMetadata": { +"description": "Metadata for the long-running operation from the RestoreDatabase request.", +"id": "GoogleFirestoreAdminV1RestoreDatabaseMetadata", +"properties": { +"backup": { +"description": "The name of the backup restoring from.", +"type": "string" +}, +"database": { +"description": "The name of the database being restored to.", +"type": "string" +}, +"endTime": { +"description": "The time the restore finished, unset for ongoing restores.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The operation state of the restore.", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressPercentage": { +"$ref": "GoogleFirestoreAdminV1Progress", +"description": "How far along the restore is as an estimated percentage of remaining time." +}, +"startTime": { +"description": "The time the restore was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1UpdateDatabaseMetadata": { +"description": "Metadata related to the update database operation.", +"id": "GoogleFirestoreAdminV1UpdateDatabaseMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ExportDocumentsMetadata": { +"description": "Metadata for ExportDocuments operations.", +"id": "GoogleFirestoreAdminV1beta1ExportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection ids are being exported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time the operation ended, either successfully or otherwise. Unset if the operation is still active.", +"format": "google-datetime", +"type": "string" +}, +"operationState": { +"description": "The state of the export operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"outputUriPrefix": { +"description": "Where the entities are being exported to.", +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1beta1Progress", +"description": "An estimate of the number of documents processed." +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ExportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ExportDocuments.", +"id": "GoogleFirestoreAdminV1beta1ExportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "Which collection ids to export. Unspecified means all collections.", +"items": { +"type": "string" +}, +"type": "array" +}, +"outputUriPrefix": { +"description": "The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ExportDocumentsResponse": { +"description": "Returned in the google.longrunning.Operation response field.", +"id": "GoogleFirestoreAdminV1beta1ExportDocumentsResponse", +"properties": { +"outputUriPrefix": { +"description": "Location of the output files. This can be used to begin an import into Cloud Firestore (this project or another project) after the operation completes successfully.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ImportDocumentsMetadata": { +"description": "Metadata for ImportDocuments operations.", +"id": "GoogleFirestoreAdminV1beta1ImportDocumentsMetadata", +"properties": { +"collectionIds": { +"description": "Which collection ids are being imported.", +"items": { +"type": "string" +}, +"type": "array" +}, +"endTime": { +"description": "The time the operation ended, either successfully or otherwise. Unset if the operation is still active.", +"format": "google-datetime", +"type": "string" +}, +"inputUriPrefix": { +"description": "The location of the documents being imported.", +"type": "string" +}, +"operationState": { +"description": "The state of the import operation.", +"enum": [ +"STATE_UNSPECIFIED", +"INITIALIZING", +"PROCESSING", +"CANCELLING", +"FINALIZING", +"SUCCESSFUL", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified.", +"Request is being prepared for processing.", +"Request is actively being processed.", +"Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.", +"Request has been processed and is in its finalization stage.", +"Request has completed successfully.", +"Request has finished being processed, but encountered an error.", +"Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation." +], +"type": "string" +}, +"progressBytes": { +"$ref": "GoogleFirestoreAdminV1beta1Progress", +"description": "An estimate of the number of bytes processed." +}, +"progressDocuments": { +"$ref": "GoogleFirestoreAdminV1beta1Progress", +"description": "An estimate of the number of documents processed." +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ImportDocumentsRequest": { +"description": "The request for FirestoreAdmin.ImportDocuments.", +"id": "GoogleFirestoreAdminV1beta1ImportDocumentsRequest", +"properties": { +"collectionIds": { +"description": "Which collection ids to import. Unspecified means all collections included in the import.", +"items": { +"type": "string" +}, +"type": "array" +}, +"inputUriPrefix": { +"description": "Location of the exported files. This must match the output_uri_prefix of an ExportDocumentsResponse from an export that has completed successfully. See: google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1Index": { +"description": "An index definition.", +"id": "GoogleFirestoreAdminV1beta1Index", +"properties": { +"collectionId": { +"description": "The collection ID to which this index applies. Required.", +"type": "string" +}, +"fields": { +"description": "The fields to index.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta1IndexField" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the index. Output only.", +"type": "string" +}, +"state": { +"description": "The state of the index. Output only.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"ERROR" +], +"enumDescriptions": [ +"The state is unspecified.", +"The index is being created. There is an active long-running operation for the index. The index is updated when writing a document. Some index data may exist.", +"The index is ready to be used. The index is updated when writing a document. The index is fully populated from all stored documents it applies to.", +"The index was being created, but something went wrong. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing a document. Some index data may exist." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1IndexField": { +"description": "A field of an index.", +"id": "GoogleFirestoreAdminV1beta1IndexField", +"properties": { +"fieldPath": { +"description": "The path of the field. Must match the field path specification described by google.firestore.v1beta1.Document.fields. Special field path `__name__` may be used by itself or at the end of a path. `__type__` may be used only at the end of path.", +"type": "string" +}, +"mode": { +"description": "The field's mode.", +"enum": [ +"MODE_UNSPECIFIED", +"ASCENDING", +"DESCENDING", +"ARRAY_CONTAINS" +], +"enumDescriptions": [ +"The mode is unspecified.", +"The field's values are indexed so as to support sequencing in ascending order and also query by <, >, <=, >=, and =.", +"The field's values are indexed so as to support sequencing in descending order and also query by <, >, <=, >=, and =.", +"The field's array values are indexed so as to support membership using ARRAY_CONTAINS queries." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1IndexOperationMetadata": { +"description": "Metadata for index operations. This metadata populates the metadata field of google.longrunning.Operation.", +"id": "GoogleFirestoreAdminV1beta1IndexOperationMetadata", +"properties": { +"cancelled": { +"description": "True if the [google.longrunning.Operation] was cancelled. If the cancellation is in progress, cancelled will be true but google.longrunning.Operation.done will be false.", +"type": "boolean" +}, +"documentProgress": { +"$ref": "GoogleFirestoreAdminV1beta1Progress", +"description": "Progress of the existing operation, measured in number of documents." +}, +"endTime": { +"description": "The time the operation ended, either successfully or otherwise. Unset if the operation is still active.", +"format": "google-datetime", +"type": "string" +}, +"index": { +"description": "The index resource that this operation is acting on. For example: `projects/{project_id}/databases/{database_id}/indexes/{index_id}`", +"type": "string" +}, +"operationType": { +"description": "The type of index operation.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATING_INDEX" +], +"enumDescriptions": [ +"Unspecified. Never set by server.", +"The operation is creating the index. Initiated by a `CreateIndex` call." +], +"type": "string" +}, +"startTime": { +"description": "The time that work began on the operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1ListIndexesResponse": { +"description": "The response for FirestoreAdmin.ListIndexes.", +"id": "GoogleFirestoreAdminV1beta1ListIndexesResponse", +"properties": { +"indexes": { +"description": "The indexes.", +"items": { +"$ref": "GoogleFirestoreAdminV1beta1Index" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1LocationMetadata": { +"description": "The metadata message for google.cloud.location.Location.metadata.", +"id": "GoogleFirestoreAdminV1beta1LocationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleFirestoreAdminV1beta1Progress": { +"description": "Measures the progress of a particular metric.", +"id": "GoogleFirestoreAdminV1beta1Progress", +"properties": { +"workCompleted": { +"description": "An estimate of how much work has been completed. Note that this may be greater than `work_estimated`.", +"format": "int64", +"type": "string" +}, +"workEstimated": { +"description": "An estimate of how much work needs to be performed. Zero if the work estimate is unavailable. May change as work progresses.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"LatLng": { +"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", +"id": "LatLng", +"properties": { +"latitude": { +"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"ListCollectionIdsRequest": { +"description": "The request for Firestore.ListCollectionIds.", +"id": "ListCollectionIdsRequest", +"properties": { +"pageSize": { +"description": "The maximum number of results to return.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token. Must be a value from ListCollectionIdsResponse.", +"type": "string" +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListCollectionIdsResponse": { +"description": "The response from Firestore.ListCollectionIds.", +"id": "ListCollectionIdsResponse", +"properties": { +"collectionIds": { +"description": "The collection ids.", +"items": { +"type": "string" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that may be used to continue the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDocumentsResponse": { +"description": "The response for Firestore.ListDocuments.", +"id": "ListDocumentsResponse", +"properties": { +"documents": { +"description": "The Documents found.", +"items": { +"$ref": "Document" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of documents. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListenRequest": { +"description": "A request for Firestore.Listen", +"id": "ListenRequest", +"properties": { +"addTarget": { +"$ref": "Target", +"description": "A target to add to this stream." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this target change.", +"type": "object" +}, +"removeTarget": { +"description": "The ID of a target to remove from this stream.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListenResponse": { +"description": "The response for Firestore.Listen.", +"id": "ListenResponse", +"properties": { +"documentChange": { +"$ref": "DocumentChange", +"description": "A Document has changed." +}, +"documentDelete": { +"$ref": "DocumentDelete", +"description": "A Document has been deleted." +}, +"documentRemove": { +"$ref": "DocumentRemove", +"description": "A Document has been removed from a target (because it is no longer relevant to that target)." +}, +"filter": { +"$ref": "ExistenceFilter", +"description": "A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown." +}, +"targetChange": { +"$ref": "TargetChange", +"description": "Targets have changed." +} +}, +"type": "object" +}, +"MapValue": { +"description": "A map value.", +"id": "MapValue", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "The map's fields. The map keys represent field names. Field names matching the regular expression `__.*__` are reserved. Reserved field names are forbidden except in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.", +"type": "object" +} +}, +"type": "object" +}, +"Order": { +"description": "An order on a field.", +"id": "Order", +"properties": { +"direction": { +"description": "The direction to order by. Defaults to `ASCENDING`.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"ASCENDING", +"DESCENDING" +], +"enumDescriptions": [ +"Unspecified.", +"Ascending.", +"Descending." +], +"type": "string" +}, +"field": { +"$ref": "FieldReference", +"description": "The field to order by." +} +}, +"type": "object" +}, +"PartitionQueryRequest": { +"description": "The request for Firestore.PartitionQuery.", +"id": "PartitionQueryRequest", +"properties": { +"pageSize": { +"description": "The maximum number of partitions to return in this call, subject to `partition_count`. For example, if `partition_count` = 10 and `page_size` = 8, the first call to PartitionQuery will return up to 8 partitions and a `next_page_token` if more results exist. A second call to PartitionQuery will return up to 2 partitions, to complete the total of 10 specified in `partition_count`.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The `next_page_token` value returned from a previous call to PartitionQuery that may be used to get an additional set of results. There are no ordering guarantees between sets of results. Thus, using multiple sets of results will require merging the different result sets. For example, two subsequent calls using a page_token may return: * cursor B, cursor M, cursor Q * cursor A, cursor U, cursor W To obtain a complete result set ordered with respect to the results of the query supplied to PartitionQuery, the results sets should be merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W", +"type": "string" +}, +"partitionCount": { +"description": "The desired maximum number of partition points. The partitions may be returned across multiple pages of results. The number must be positive. The actual number of partitions returned may be fewer. For example, this may be set to one fewer than the number of parallel queries to be run, or in running a data pipeline job, one fewer than the number of workers or compute instances available.", +"format": "int64", +"type": "string" +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported." +} +}, +"type": "object" +}, +"PartitionQueryResponse": { +"description": "The response for Firestore.PartitionQuery.", +"id": "PartitionQueryResponse", +"properties": { +"nextPageToken": { +"description": "A page token that may be used to request an additional set of results, up to the number specified by `partition_count` in the PartitionQuery request. If blank, there are no more results.", +"type": "string" +}, +"partitions": { +"description": "Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query: * query, end_at A * query, start_at A, end_at B * query, start_at B An empty result may indicate that the query has too few results to be partitioned, or that the query is not yet supported for partitioning.", +"items": { +"$ref": "Cursor" +}, +"type": "array" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "A Firestore query represented as an ordered list of operations / stages.", +"id": "Pipeline", +"properties": { +"stages": { +"description": "Required. Ordered list of stages to evaluate.", +"items": { +"$ref": "Stage" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlanSummary": { +"description": "Planning phase information for the query.", +"id": "PlanSummary", +"properties": { +"indexesUsed": { +"description": "The indexes selected for the query. For example: [ {\"query_scope\": \"Collection\", \"properties\": \"(foo ASC, __name__ ASC)\"}, {\"query_scope\": \"Collection\", \"properties\": \"(bar ASC, __name__ ASC)\"} ]", +"items": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Precondition": { +"description": "A precondition on a document, used for conditional operations.", +"id": "Precondition", +"properties": { +"exists": { +"description": "When set to `true`, the target document must exist. When set to `false`, the target document must not exist.", +"type": "boolean" +}, +"updateTime": { +"description": "When set, the target document must exist and have been last updated at that time. Timestamp must be microsecond aligned.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Projection": { +"description": "The projection of document's fields to return.", +"id": "Projection", +"properties": { +"fields": { +"description": "The fields to return. If empty, all fields are returned. To only return the name of the document, use `['__name__']`.", +"items": { +"$ref": "FieldReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryTarget": { +"description": "A target specified by a query.", +"id": "QueryTarget", +"properties": { +"parent": { +"description": "The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query." +} +}, +"type": "object" +}, +"ReadOnly": { +"description": "Options for a transaction that can only be used to read documents.", +"id": "ReadOnly", +"properties": { +"readTime": { +"description": "Reads documents at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ReadWrite": { +"description": "Options for a transaction that can be used to read and write documents. Firestore does not allow 3rd party auth requests to create read-write. transactions.", +"id": "ReadWrite", +"properties": { +"retryTransaction": { +"description": "An optional transaction to retry.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RollbackRequest": { +"description": "The request for Firestore.Rollback.", +"id": "RollbackRequest", +"properties": { +"transaction": { +"description": "Required. The transaction to roll back.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunAggregationQueryRequest": { +"description": "The request for Firestore.RunAggregationQuery.", +"id": "RunAggregationQueryRequest", +"properties": { +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Executes the query at the given timestamp. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredAggregationQuery": { +"$ref": "StructuredAggregationQuery", +"description": "An aggregation query." +}, +"transaction": { +"description": "Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunAggregationQueryResponse": { +"description": "The response for Firestore.RunAggregationQuery.", +"id": "RunAggregationQueryResponse", +"properties": { +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunAggregationQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"readTime": { +"description": "The time at which the aggregate result was computed. This is always monotonically increasing; in this case, the previous AggregationResult in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `result` will be sent, and this represents the time at which the query was run.", +"format": "google-datetime", +"type": "string" +}, +"result": { +"$ref": "AggregationResult", +"description": "A single aggregation result. Not present when reporting partial progress." +}, +"transaction": { +"description": "The transaction that was started as part of this request. Only present on the first response when the request requested to start a new transaction.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunQueryRequest": { +"description": "The request for Firestore.RunQuery.", +"id": "RunQueryRequest", +"properties": { +"explainOptions": { +"$ref": "ExplainOptions", +"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." +}, +"newTransaction": { +"$ref": "TransactionOptions", +"description": "Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream." +}, +"readTime": { +"description": "Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.", +"format": "google-datetime", +"type": "string" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "A structured query." +}, +"transaction": { +"description": "Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RunQueryResponse": { +"description": "The response for Firestore.RunQuery.", +"id": "RunQueryResponse", +"properties": { +"document": { +"$ref": "Document", +"description": "A query result, not set when reporting partial progress." +}, +"done": { +"description": "If present, Firestore has completely finished the request and no more documents will be returned.", +"type": "boolean" +}, +"explainMetrics": { +"$ref": "ExplainMetrics", +"description": "Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream." +}, +"readTime": { +"description": "The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.", +"format": "google-datetime", +"type": "string" +}, +"skippedResults": { +"description": "The number of results that have been skipped due to an offset between the last response and the current response.", +"format": "int32", +"type": "integer" +}, +"transaction": { +"description": "The transaction that was started as part of this request. Can only be set in the first response, and only if RunQueryRequest.new_transaction was set in the request. If set, no other fields will be set in this response.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Stage": { +"description": "A single operation within a pipeline. A stage is made up of a unique name, and a list of arguments. The exact number of arguments & types is dependent on the stage type. To give an example, the stage `filter(state = \"MD\")` would be encoded as: ``` name: \"filter\" args { function_value { name: \"eq\" args { field_reference_value: \"state\" } args { string_value: \"MD\" } } } ``` See public documentation for the full list.", +"id": "Stage", +"properties": { +"args": { +"description": "Optional. Ordered list of arguments the given stage expects.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"name": { +"description": "Required. The name of the stage to evaluate. **Requires:** * must be in snake case (lower case with underscore separator).", +"type": "string" +}, +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional named arguments that certain functions may support.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StructuredAggregationQuery": { +"description": "Firestore query for running an aggregation over a StructuredQuery.", +"id": "StructuredAggregationQuery", +"properties": { +"aggregations": { +"description": "Optional. Series of aggregations to apply over the results of the `structured_query`. Requires: * A minimum of one and maximum of five aggregations per query.", +"items": { +"$ref": "Aggregation" +}, +"type": "array" +}, +"structuredQuery": { +"$ref": "StructuredQuery", +"description": "Nested structured query." +} +}, +"type": "object" +}, +"StructuredPipeline": { +"description": "A Firestore query represented as an ordered list of operations / stages. This is considered the top-level function which plans and executes a query. It is logically equivalent to `query(stages, options)`, but prevents the client from having to build a function wrapper.", +"id": "StructuredPipeline", +"properties": { +"options": { +"additionalProperties": { +"$ref": "Value" +}, +"description": "Optional. Optional query-level arguments. ", +"type": "object" +}, +"pipeline": { +"$ref": "Pipeline", +"description": "Required. The pipeline query to execute." +} +}, +"type": "object" +}, +"StructuredQuery": { +"description": "A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7. find_nearest", +"id": "StructuredQuery", +"properties": { +"endAt": { +"$ref": "Cursor", +"description": "A potential prefix of a position in the result set to end the query at. This is similar to `START_AT` but with it controlling the end position rather than the start position. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause." +}, +"findNearest": { +"$ref": "FindNearest", +"description": "Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector." +}, +"from": { +"description": "The collections to query.", +"items": { +"$ref": "CollectionSelector" +}, +"type": "array" +}, +"limit": { +"description": "The maximum number of results to return. Applies after all other constraints. Requires: * The value must be greater than or equal to zero if specified.", +"format": "int32", +"type": "integer" +}, +"offset": { +"description": "The number of documents to skip before returning the first result. This applies after the constraints specified by the `WHERE`, `START AT`, & `END AT` but before the `LIMIT` clause. Requires: * The value must be greater than or equal to zero if specified.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`", +"items": { +"$ref": "Order" +}, +"type": "array" +}, +"select": { +"$ref": "Projection", +"description": "Optional sub-set of the fields to return. This acts as a DocumentMask over the documents returned from a query. When not set, assumes that the caller wants all fields returned." +}, +"startAt": { +"$ref": "Cursor", +"description": "A potential prefix of a position in the result set to start the query at. The ordering of the result set is based on the `ORDER BY` clause of the original query. ``` SELECT * FROM k WHERE a = 1 AND b > 2 ORDER BY b ASC, __name__ ASC; ``` This query's results are ordered by `(b ASC, __name__ ASC)`. Cursors can reference either the full ordering or a prefix of the location, though it cannot reference more fields than what are in the provided `ORDER BY`. Continuing off the example above, attaching the following start cursors will have varying impact: - `START BEFORE (2, /k/123)`: start the query right before `a = 1 AND b > 2 AND __name__ > /k/123`. - `START AFTER (10)`: start the query right after `a = 1 AND b > 10`. Unlike `OFFSET` which requires scanning over the first N results to skip, a start cursor allows the query to begin at a logical position. This position is not required to match an actual result, it will scan forward from this position to find the next document. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause." +}, +"where": { +"$ref": "Filter", +"description": "The filter to apply." +} +}, +"type": "object" +}, +"Sum": { +"description": "Sum of the values of the requested field. * Only numeric values will be aggregated. All non-numeric values including `NULL` are skipped. * If the aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returns 0. * Returns a 64-bit integer if all aggregated numbers are integers and the sum result does not overflow. Otherwise, the result is returned as a double. Note that even if all the aggregated values are integers, the result is returned as a double if it cannot fit within a 64-bit signed integer. When this occurs, the returned value will lose precision. * When underflow occurs, floating-point aggregation is non-deterministic. This means that running the same query repeatedly without any changes to the underlying values could produce slightly different results each time. In those cases, values should be stored as integers over floating-point numbers.", +"id": "Sum", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to aggregate on." +} +}, +"type": "object" +}, +"Target": { +"description": "A specification of a set of documents to listen to.", +"id": "Target", +"properties": { +"documents": { +"$ref": "DocumentsTarget", +"description": "A target specified by a set of document names." +}, +"expectedCount": { +"description": "The number of documents that last matched the query at the resume token or read time. This value is only relevant when a `resume_type` is provided. This value being present and greater than zero signals that the client wants `ExistenceFilter.unchanged_names` to be included in the response.", +"format": "int32", +"type": "integer" +}, +"once": { +"description": "If the target should be removed once it is current and consistent.", +"type": "boolean" +}, +"query": { +"$ref": "QueryTarget", +"description": "A target specified by a query." +}, +"readTime": { +"description": "Start listening after a specific `read_time`. The client must know the state of matching documents at this time.", +"format": "google-datetime", +"type": "string" +}, +"resumeToken": { +"description": "A resume token from a prior TargetChange for an identical target. Using a resume token with a different target is unsupported and may fail.", +"format": "byte", +"type": "string" +}, +"targetId": { +"description": "The target ID that identifies the target on the stream. Must be a positive number and non-zero. If `target_id` is 0 (or unspecified), the server will assign an ID for this target and return that in a `TargetChange::ADD` event. Once a target with `target_id=0` is added, all subsequent targets must also have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent to the server after a target with `target_id=0` is added, the server will immediately send a response with a `TargetChange::Remove` event. Note that if the client sends multiple `AddTarget` requests without an ID, the order of IDs returned in `TargetChange.target_ids` are undefined. Therefore, clients should provide a target ID instead of relying on the server to assign one. If `target_id` is non-zero, there must not be an existing active target on this stream with the same ID.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TargetChange": { +"description": "Targets being watched have changed.", +"id": "TargetChange", +"properties": { +"cause": { +"$ref": "Status", +"description": "The error that resulted in this change, if applicable." +}, +"readTime": { +"description": "The consistent `read_time` for the given `target_ids` (omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send a `read_time` with `target_ids` empty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream, `read_time` is guaranteed to be monotonically increasing.", +"format": "google-datetime", +"type": "string" +}, +"resumeToken": { +"description": "A token that can be used to resume the stream for the given `target_ids`, or all targets if `target_ids` is empty. Not set on every target change.", +"format": "byte", +"type": "string" +}, +"targetChangeType": { +"description": "The type of change that occurred.", +"enum": [ +"NO_CHANGE", +"ADD", +"REMOVE", +"CURRENT", +"RESET" +], +"enumDescriptions": [ +"No change has occurred. Used only to send an updated `resume_token`.", +"The targets have been added.", +"The targets have been removed.", +"The targets reflect all changes committed before the targets were added to the stream. This will be sent after or with a `read_time` that is greater than or equal to the time at which the targets were added. Listeners can wait for this change if read-after-write semantics are desired.", +"The targets have been reset, and a new initial state for the targets will be returned in subsequent changes. After the initial state is complete, `CURRENT` will be returned even if the target was previously indicated to be `CURRENT`." +], +"type": "string" +}, +"targetIds": { +"description": "The target IDs of targets that have changed. If empty, the change applies to all targets. The order of the target IDs is not defined.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"TransactionOptions": { +"description": "Options for creating a new transaction.", +"id": "TransactionOptions", +"properties": { +"readOnly": { +"$ref": "ReadOnly", +"description": "The transaction can only be used for read operations." +}, +"readWrite": { +"$ref": "ReadWrite", +"description": "The transaction can be used for both read and write operations." +} +}, +"type": "object" +}, +"UnaryFilter": { +"description": "A filter with a single operand.", +"id": "UnaryFilter", +"properties": { +"field": { +"$ref": "FieldReference", +"description": "The field to which to apply the operator." +}, +"op": { +"description": "The unary operator to apply.", +"enum": [ +"OPERATOR_UNSPECIFIED", +"IS_NAN", +"IS_NULL", +"IS_NOT_NAN", +"IS_NOT_NULL" +], +"enumDescriptions": [ +"Unspecified. This value must not be used.", +"The given `field` is equal to `NaN`.", +"The given `field` is equal to `NULL`.", +"The given `field` is not equal to `NaN`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.", +"The given `field` is not equal to `NULL`. Requires: * A single `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`." +], +"type": "string" +} +}, +"type": "object" +}, +"Value": { +"description": "A message that can hold any of the supported value types.", +"id": "Value", +"properties": { +"arrayValue": { +"$ref": "ArrayValue", +"description": "An array value. Cannot directly contain another array value, though can contain a map which contains another array." +}, +"booleanValue": { +"description": "A boolean value.", +"type": "boolean" +}, +"bytesValue": { +"description": "A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.", +"format": "byte", +"type": "string" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"fieldReferenceValue": { +"description": "Value which references a field. This is considered relative (vs absolute) since it only refers to a field and not a field within a particular document. **Requires:** * Must follow field reference limitations. * Not allowed to be used when writing documents.", +"type": "string" +}, +"functionValue": { +"$ref": "Function", +"description": "A value that represents an unevaluated expression. **Requires:** * Not allowed to be used when writing documents." +}, +"geoPointValue": { +"$ref": "LatLng", +"description": "A geo point value representing a point on the surface of Earth." +}, +"integerValue": { +"description": "An integer value.", +"format": "int64", +"type": "string" +}, +"mapValue": { +"$ref": "MapValue", +"description": "A map value." +}, +"nullValue": { +"description": "A null value.", +"enum": [ +"NULL_VALUE" +], +"enumDescriptions": [ +"Null value." +], +"type": "string" +}, +"pipelineValue": { +"$ref": "Pipeline", +"description": "A value that represents an unevaluated pipeline. **Requires:** * Not allowed to be used when writing documents." +}, +"referenceValue": { +"description": "A reference to a document. For example: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"stringValue": { +"description": "A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.", +"type": "string" +}, +"timestampValue": { +"description": "A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Write": { +"description": "A write on a document.", +"id": "Write", +"properties": { +"currentDocument": { +"$ref": "Precondition", +"description": "An optional precondition on the document. The write will fail if this is set and not met by the target document." +}, +"delete": { +"description": "A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.", +"type": "string" +}, +"transform": { +"$ref": "DocumentTransform", +"description": "Applies a transformation to a document." +}, +"update": { +"$ref": "Document", +"description": "A document to write." +}, +"updateMask": { +"$ref": "DocumentMask", +"description": "The fields to update in this write. This field can be set only when the operation is `update`. If the mask is not set for an `update` and the document exists, any existing data will be overwritten. If the mask is set and the document on the server has fields not covered by the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server. The field paths in this mask must not contain a reserved field name." +}, +"updateTransforms": { +"description": "The transforms to perform after update. This field can be set only when the operation is `update`. If present, this write is equivalent to performing `update` and `transform` to the same document atomically and in order.", +"items": { +"$ref": "FieldTransform" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteRequest": { +"description": "The request for Firestore.Write. The first request creates a stream, or resumes an existing one from a token. When creating a new stream, the server replies with a response containing only an ID and a token, to use in the next request. When resuming a stream, the server first streams any responses later than the given token, then a response containing only an up-to-date token, to use in the next request.", +"id": "WriteRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this write request.", +"type": "object" +}, +"streamId": { +"description": "The ID of the write stream to resume. This may only be set in the first message. When left empty, a new write stream will be created.", +"type": "string" +}, +"streamToken": { +"description": "A stream token that was previously sent by the server. The client should set this field to the token from the most recent WriteResponse it has received. This acknowledges that the client has received responses up to this token. After sending this token, earlier tokens may not be used anymore. The server may close the stream if there are too many unacknowledged responses. Leave this field unset when creating a new stream. To resume a stream at a specific point, set this field and the `stream_id` field. Leave this field unset when creating a new stream.", +"format": "byte", +"type": "string" +}, +"writes": { +"description": "The writes to apply. Always executed atomically and in order. This must be empty on the first request. This may be empty on the last request. This must not be empty on all other requests.", +"items": { +"$ref": "Write" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteResponse": { +"description": "The response for Firestore.Write.", +"id": "WriteResponse", +"properties": { +"commitTime": { +"description": "The time at which the commit occurred. Any read with an equal or greater `read_time` is guaranteed to see the effects of the write.", +"format": "google-datetime", +"type": "string" +}, +"streamId": { +"description": "The ID of the stream. Only set on the first message, when a new stream was created.", +"type": "string" +}, +"streamToken": { +"description": "A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.", +"format": "byte", +"type": "string" +}, +"writeResults": { +"description": "The result of applying the writes. This i-th write result corresponds to the i-th write in the request.", +"items": { +"$ref": "WriteResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"WriteResult": { +"description": "The result of applying a write.", +"id": "WriteResult", +"properties": { +"transformResults": { +"description": "The results of applying each DocumentTransform.FieldTransform, in the same order.", +"items": { +"$ref": "Value" +}, +"type": "array" +}, +"updateTime": { +"description": "The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Firestore API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/games.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/games.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..77b1c4605052c574a53273729d9edacc09b68f4f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/games.v1.json @@ -0,0 +1,3628 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/androidpublisher": { +"description": "View and manage your Google Play Developer account" +}, +"https://www.googleapis.com/auth/drive.appdata": { +"description": "See, create, and delete its own configuration data in your Google Drive" +}, +"https://www.googleapis.com/auth/games": { +"description": "Create, edit, and delete your Google Play Games activity" +} +} +} +}, +"basePath": "", +"baseUrl": "https://games.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Games", +"description": "The Google Play Games Service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/games/", +"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": "games:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://games.mtls.googleapis.com/", +"name": "games", +"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": { +"accesstokens": { +"methods": { +"generatePlayGroupingApiToken": { +"description": "Generates a Play Grouping API token for the PGS user identified by the attached credential.", +"flatPath": "games/v1/accesstokens/generatePlayGroupingApiToken", +"httpMethod": "POST", +"id": "games.accesstokens.generatePlayGroupingApiToken", +"parameterOrder": [], +"parameters": { +"packageName": { +"description": "Required. App package name to generate the token for (e.g. com.example.mygame).", +"location": "query", +"type": "string" +}, +"persona": { +"description": "Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/accesstokens/generatePlayGroupingApiToken", +"response": { +"$ref": "GeneratePlayGroupingApiTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"generateRecallPlayGroupingApiToken": { +"description": "Generates a Play Grouping API token for the PGS user identified by the Recall session ID provided in the request.", +"flatPath": "games/v1/accesstokens/generateRecallPlayGroupingApiToken", +"httpMethod": "POST", +"id": "games.accesstokens.generateRecallPlayGroupingApiToken", +"parameterOrder": [], +"parameters": { +"packageName": { +"description": "Required. App package name to generate the token for (e.g. com.example.mygame).", +"location": "query", +"type": "string" +}, +"persona": { +"description": "Required. Persona to associate with the token. Persona is a developer-provided stable identifier of the user. Must be deterministically generated (e.g. as a one-way hash) from the user account ID and user profile ID (if the app has the concept), according to the developer's own user identity system.", +"location": "query", +"type": "string" +}, +"recallSessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. See https://developer.android.com/games/pgs/recall/recall-setup on how to integrate with Recall and get session ID.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/accesstokens/generateRecallPlayGroupingApiToken", +"response": { +"$ref": "GenerateRecallPlayGroupingApiTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +} +} +}, +"achievementDefinitions": { +"methods": { +"list": { +"description": "Lists all the achievement definitions for your application.", +"flatPath": "games/v1/achievements", +"httpMethod": "GET", +"id": "games.achievementDefinitions.list", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/achievements", +"response": { +"$ref": "AchievementDefinitionsListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"achievements": { +"methods": { +"increment": { +"description": "Increments the steps of the achievement with the given ID for the currently authenticated player.", +"flatPath": "games/v1/achievements/{achievementId}/increment", +"httpMethod": "POST", +"id": "games.achievements.increment", +"parameterOrder": [ +"achievementId", +"stepsToIncrement" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.", +"format": "int64", +"location": "query", +"type": "string" +}, +"stepsToIncrement": { +"description": "Required. The number of steps to increment.", +"format": "int32", +"location": "query", +"required": true, +"type": "integer" +} +}, +"path": "games/v1/achievements/{achievementId}/increment", +"response": { +"$ref": "AchievementIncrementResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"list": { +"description": "Lists the progress for all your application's achievements for the currently authenticated player.", +"flatPath": "games/v1/players/{playerId}/achievements", +"httpMethod": "GET", +"id": "games.achievements.list", +"parameterOrder": [ +"playerId" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +}, +"state": { +"description": "Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.", +"enum": [ +"ALL", +"HIDDEN", +"REVEALED", +"UNLOCKED" +], +"enumDescriptions": [ +"List all achievements. This is the default.", +"List only hidden achievements.", +"List only revealed achievements.", +"List only unlocked achievements." +], +"location": "query", +"type": "string" +} +}, +"path": "games/v1/players/{playerId}/achievements", +"response": { +"$ref": "PlayerAchievementListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"reveal": { +"description": "Sets the state of the achievement with the given ID to `REVEALED` for the currently authenticated player.", +"flatPath": "games/v1/achievements/{achievementId}/reveal", +"httpMethod": "POST", +"id": "games.achievements.reveal", +"parameterOrder": [ +"achievementId" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/achievements/{achievementId}/reveal", +"response": { +"$ref": "AchievementRevealResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"setStepsAtLeast": { +"description": "Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.", +"flatPath": "games/v1/achievements/{achievementId}/setStepsAtLeast", +"httpMethod": "POST", +"id": "games.achievements.setStepsAtLeast", +"parameterOrder": [ +"achievementId", +"steps" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +}, +"steps": { +"description": "Required. The minimum value to set the steps to.", +"format": "int32", +"location": "query", +"required": true, +"type": "integer" +} +}, +"path": "games/v1/achievements/{achievementId}/setStepsAtLeast", +"response": { +"$ref": "AchievementSetStepsAtLeastResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"unlock": { +"description": "Unlocks this achievement for the currently authenticated player.", +"flatPath": "games/v1/achievements/{achievementId}/unlock", +"httpMethod": "POST", +"id": "games.achievements.unlock", +"parameterOrder": [ +"achievementId" +], +"parameters": { +"achievementId": { +"description": "The ID of the achievement used by this method.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/achievements/{achievementId}/unlock", +"response": { +"$ref": "AchievementUnlockResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"updateMultiple": { +"description": "Updates multiple achievements for the currently authenticated player.", +"flatPath": "games/v1/achievements/updateMultiple", +"httpMethod": "POST", +"id": "games.achievements.updateMultiple", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/achievements/updateMultiple", +"request": { +"$ref": "AchievementUpdateMultipleRequest" +}, +"response": { +"$ref": "AchievementUpdateMultipleResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"applications": { +"methods": { +"get": { +"description": "Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified `platformType`, the returned response will not include any instance data.", +"flatPath": "games/v1/applications/{applicationId}", +"httpMethod": "GET", +"id": "games.applications.get", +"parameterOrder": [ +"applicationId" +], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "path", +"required": true, +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"platformType": { +"description": "Restrict application details returned to the specific platform.", +"enum": [ +"ANDROID", +"IOS", +"WEB_APP" +], +"enumDescriptions": [ +"Retrieve applications that can be played on Android.", +"Retrieve applications that can be played on iOS.", +"Retrieve applications that can be played on desktop web." +], +"location": "query", +"type": "string" +} +}, +"path": "games/v1/applications/{applicationId}", +"response": { +"$ref": "Application" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"getEndPoint": { +"description": "Returns a URL for the requested end point type.", +"flatPath": "games/v1/applications/getEndPoint", +"httpMethod": "POST", +"id": "games.applications.getEndPoint", +"parameterOrder": [], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "query", +"type": "string" +}, +"endPointType": { +"description": "Type of endpoint being requested.", +"enum": [ +"PROFILE_CREATION", +"PROFILE_SETTINGS" +], +"enumDescriptions": [ +"Request a URL to create a new profile.", +"Request a URL for the Settings view." +], +"location": "query", +"type": "string" +} +}, +"path": "games/v1/applications/getEndPoint", +"response": { +"$ref": "EndPoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"played": { +"description": "Indicate that the currently authenticated user is playing your application.", +"flatPath": "games/v1/applications/played", +"httpMethod": "POST", +"id": "games.applications.played", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/applications/played", +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"verify": { +"description": "Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.", +"flatPath": "games/v1/applications/{applicationId}/verify", +"httpMethod": "GET", +"id": "games.applications.verify", +"parameterOrder": [ +"applicationId" +], +"parameters": { +"applicationId": { +"description": "The application ID from the Google Play developer console.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/applications/{applicationId}/verify", +"response": { +"$ref": "ApplicationVerifyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"events": { +"methods": { +"listByPlayer": { +"description": "Returns a list showing the current progress on events in this application for the currently authenticated user.", +"flatPath": "games/v1/events", +"httpMethod": "GET", +"id": "games.events.listByPlayer", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the specified maxResults.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/events", +"response": { +"$ref": "PlayerEventListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"listDefinitions": { +"description": "Returns a list of the event definitions in this application.", +"flatPath": "games/v1/eventDefinitions", +"httpMethod": "GET", +"id": "games.events.listDefinitions", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/eventDefinitions", +"response": { +"$ref": "EventDefinitionListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"record": { +"description": "Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.", +"flatPath": "games/v1/events", +"httpMethod": "POST", +"id": "games.events.record", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/events", +"request": { +"$ref": "EventRecordRequest" +}, +"response": { +"$ref": "EventUpdateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"leaderboards": { +"methods": { +"get": { +"description": "Retrieves the metadata of the leaderboard with the given ID.", +"flatPath": "games/v1/leaderboards/{leaderboardId}", +"httpMethod": "GET", +"id": "games.leaderboards.get", +"parameterOrder": [ +"leaderboardId" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/leaderboards/{leaderboardId}", +"response": { +"$ref": "Leaderboard" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"list": { +"description": "Lists all the leaderboard metadata for your application.", +"flatPath": "games/v1/leaderboards", +"httpMethod": "GET", +"id": "games.leaderboards.list", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/leaderboards", +"response": { +"$ref": "LeaderboardListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"metagame": { +"methods": { +"getMetagameConfig": { +"description": "Return the metagame configuration data for the calling application.", +"flatPath": "games/v1/metagameConfig", +"httpMethod": "GET", +"id": "games.metagame.getMetagameConfig", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/metagameConfig", +"response": { +"$ref": "MetagameConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"listCategoriesByPlayer": { +"description": "List play data aggregated per category for the player corresponding to `playerId`.", +"flatPath": "games/v1/players/{playerId}/categories/{collection}", +"httpMethod": "GET", +"id": "games.metagame.listCategoriesByPlayer", +"parameterOrder": [ +"playerId", +"collection" +], +"parameters": { +"collection": { +"description": "The collection of categories for which data will be returned.", +"enum": [ +"ALL" +], +"enumDescriptions": [ +"Retrieve data for all categories. This is the default." +], +"location": "path", +"required": true, +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of category resources to return in the response, used for paging. For any response, the actual number of category resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/players/{playerId}/categories/{collection}", +"response": { +"$ref": "CategoryListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"players": { +"methods": { +"get": { +"description": "Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set `playerId` to `me`.", +"flatPath": "games/v1/players/{playerId}", +"httpMethod": "GET", +"id": "games.players.get", +"parameterOrder": [ +"playerId" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +}, +"playerIdConsistencyToken": { +"description": "Consistency token of the player id. The call returns a 'not found' result when the token is present and invalid. Empty value is ignored. See also GlobalPlayerIdConsistencyTokenProto", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/players/{playerId}", +"response": { +"$ref": "Player" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"getMultipleApplicationPlayerIds": { +"description": "Get the application player ids for the currently authenticated player across all requested games by the same developer as the calling application. This will only return ids for players that actually have an id (scoped or otherwise) with that game.", +"flatPath": "games/v1/players/me/multipleApplicationPlayerIds", +"httpMethod": "GET", +"id": "games.players.getMultipleApplicationPlayerIds", +"parameterOrder": [], +"parameters": { +"applicationIds": { +"description": "Required. The application IDs from the Google Play developer console for the games to return scoped ids for.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "games/v1/players/me/multipleApplicationPlayerIds", +"response": { +"$ref": "GetMultipleApplicationPlayerIdsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"getScopedPlayerIds": { +"description": "Retrieves scoped player identifiers for currently authenticated user.", +"flatPath": "games/v1/players/me/scopedIds", +"httpMethod": "GET", +"id": "games.players.getScopedPlayerIds", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/players/me/scopedIds", +"response": { +"$ref": "ScopedPlayerIds" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"list": { +"description": "Get the collection of players for the currently authenticated user.", +"flatPath": "games/v1/players/me/players/{collection}", +"httpMethod": "GET", +"id": "games.players.list", +"parameterOrder": [ +"collection" +], +"parameters": { +"collection": { +"description": "Collection of players being retrieved", +"enum": [ +"CONNECTED", +"VISIBLE", +"FRIENDS_ALL" +], +"enumDeprecated": [ +true, +true, +false +], +"enumDescriptions": [ +"Retrieve a list of players that are also playing this game in reverse chronological order.", +"Retrieve a list of players in the user's social graph that are visible to this game.", +"Retrieve a list of players who are friends of the user in alphabetical order." +], +"location": "path", +"required": true, +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/players/me/players/{collection}", +"response": { +"$ref": "PlayerListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"recall": { +"methods": { +"gamesPlayerTokens": { +"description": "Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.", +"flatPath": "games/v1/recall/gamesPlayerTokens/{sessionId}", +"httpMethod": "GET", +"id": "games.recall.gamesPlayerTokens", +"parameterOrder": [ +"sessionId" +], +"parameters": { +"applicationIds": { +"description": "Required. The application IDs from the Google Play developer console for the games to return scoped ids for.", +"location": "query", +"repeated": true, +"type": "string" +}, +"sessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/recall/gamesPlayerTokens/{sessionId}", +"response": { +"$ref": "RetrieveGamesPlayerTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +}, +"lastTokenFromAllDeveloperGames": { +"description": "Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", +"flatPath": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}", +"httpMethod": "GET", +"id": "games.recall.lastTokenFromAllDeveloperGames", +"parameterOrder": [ +"sessionId" +], +"parameters": { +"sessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}", +"response": { +"$ref": "RetrieveDeveloperGamesLastPlayerTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +}, +"linkPersona": { +"description": "Associate the PGS Player principal encoded in the provided recall session id with an in-game account", +"flatPath": "games/v1/recall:linkPersona", +"httpMethod": "POST", +"id": "games.recall.linkPersona", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/recall:linkPersona", +"request": { +"$ref": "LinkPersonaRequest" +}, +"response": { +"$ref": "LinkPersonaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +}, +"resetPersona": { +"description": "Delete all Recall tokens linking the given persona to any player (with or without a profile).", +"flatPath": "games/v1/recall:resetPersona", +"httpMethod": "POST", +"id": "games.recall.resetPersona", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/recall:resetPersona", +"request": { +"$ref": "ResetPersonaRequest" +}, +"response": { +"$ref": "ResetPersonaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +}, +"retrieveTokens": { +"description": "Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", +"flatPath": "games/v1/recall/tokens/{sessionId}", +"httpMethod": "GET", +"id": "games.recall.retrieveTokens", +"parameterOrder": [ +"sessionId" +], +"parameters": { +"sessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/recall/tokens/{sessionId}", +"response": { +"$ref": "RetrievePlayerTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +}, +"unlinkPersona": { +"description": "Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value.", +"flatPath": "games/v1/recall:unlinkPersona", +"httpMethod": "POST", +"id": "games.recall.unlinkPersona", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/recall:unlinkPersona", +"request": { +"$ref": "UnlinkPersonaRequest" +}, +"response": { +"$ref": "UnlinkPersonaResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +] +} +} +}, +"revisions": { +"methods": { +"check": { +"description": "Checks whether the games client is out of date.", +"flatPath": "games/v1/revisions/check", +"httpMethod": "GET", +"id": "games.revisions.check", +"parameterOrder": [ +"clientRevision" +], +"parameters": { +"clientRevision": { +"description": "Required. The revision of the client SDK used by your application. Format: `[PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible values of `PLATFORM_TYPE` are: * `ANDROID` - Client is running the Android SDK. * `IOS` - Client is running the iOS SDK. * `WEB_APP` - Client is running as a Web App.", +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "games/v1/revisions/check", +"response": { +"$ref": "RevisionCheckResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"scores": { +"methods": { +"get": { +"description": "Get high scores, and optionally ranks, in leaderboards for the currently authenticated player. For a specific time span, `leaderboardId` can be set to `ALL` to retrieve data for all leaderboards in a given time span. `NOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; only one parameter may be set to 'ALL'.", +"flatPath": "games/v1/players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}", +"httpMethod": "GET", +"id": "games.scores.get", +"parameterOrder": [ +"playerId", +"leaderboardId", +"timeSpan" +], +"parameters": { +"includeRankType": { +"description": "The types of ranks to return. If the parameter is omitted, no ranks will be returned.", +"enum": [ +"ALL", +"PUBLIC", +"SOCIAL", +"FRIENDS" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Retrieve all supported ranks. In HTTP, this parameter value can also be specified as `ALL`.", +"Retrieve public ranks, if the player is sharing their gameplay activity publicly.", +"(Obsolete) Retrieve the social rank.", +"Retrieve the rank on the friends collection." +], +"location": "query", +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"leaderboardId": { +"description": "The ID of the leaderboard. Can be set to 'ALL' to retrieve data for all leaderboards for this application.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +}, +"timeSpan": { +"description": "The time span for the scores and ranks you're requesting.", +"enum": [ +"ALL", +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"Get the high scores for all time spans. If this is used, maxResults values will be ignored.", +"Get the all time high score.", +"List the top scores for the current day.", +"List the top scores for the current week." +], +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}", +"response": { +"$ref": "PlayerLeaderboardScoreListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"list": { +"description": "Lists the scores in a leaderboard, starting from the top.", +"flatPath": "games/v1/leaderboards/{leaderboardId}/scores/{collection}", +"httpMethod": "GET", +"id": "games.scores.list", +"parameterOrder": [ +"leaderboardId", +"collection", +"timeSpan" +], +"parameters": { +"collection": { +"description": "The collection of scores you're requesting.", +"enum": [ +"PUBLIC", +"SOCIAL", +"FRIENDS" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"List all scores in the public leaderboard.", +"(Obsolete) Legacy G+ social scores.", +"List only scores of friends." +], +"location": "path", +"required": true, +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"timeSpan": { +"description": "Required. The time span for the scores and ranks you're requesting.", +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "games/v1/leaderboards/{leaderboardId}/scores/{collection}", +"response": { +"$ref": "LeaderboardScores" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"listWindow": { +"description": "Lists the scores in a leaderboard around (and including) a player's score.", +"flatPath": "games/v1/leaderboards/{leaderboardId}/window/{collection}", +"httpMethod": "GET", +"id": "games.scores.listWindow", +"parameterOrder": [ +"leaderboardId", +"collection", +"timeSpan" +], +"parameters": { +"collection": { +"description": "The collection of scores you're requesting.", +"enum": [ +"PUBLIC", +"SOCIAL", +"FRIENDS" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"List all scores in the public leaderboard.", +"(Obsolete) Legacy G+ social scores.", +"List only scores of friends." +], +"location": "path", +"required": true, +"type": "string" +}, +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +}, +"maxResults": { +"description": "The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"resultsAbove": { +"description": "The preferred number of scores to return above the player's score. More scores may be returned if the player is at the bottom of the leaderboard; fewer may be returned if the player is at the top. Must be less than or equal to maxResults.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"returnTopIfAbsent": { +"description": "True if the top scores should be returned when the player is not in the leaderboard. Defaults to true.", +"location": "query", +"type": "boolean" +}, +"timeSpan": { +"description": "Required. The time span for the scores and ranks you're requesting.", +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"location": "query", +"required": true, +"type": "string" +} +}, +"path": "games/v1/leaderboards/{leaderboardId}/window/{collection}", +"response": { +"$ref": "LeaderboardScores" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"submit": { +"description": "Submits a score to the specified leaderboard.", +"flatPath": "games/v1/leaderboards/{leaderboardId}/scores", +"httpMethod": "POST", +"id": "games.scores.submit", +"parameterOrder": [ +"leaderboardId", +"score" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"leaderboardId": { +"description": "The ID of the leaderboard.", +"location": "path", +"required": true, +"type": "string" +}, +"score": { +"description": "Required. The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the score represents elapsed time in milliseconds. For currency, the score represents a value in micro units.", +"format": "int64", +"location": "query", +"required": true, +"type": "string" +}, +"scoreTag": { +"description": "Additional information about the score you're submitting. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"location": "query", +"pattern": "[a-zA-Z0-9-._~]{0,64}", +"type": "string" +} +}, +"path": "games/v1/leaderboards/{leaderboardId}/scores", +"response": { +"$ref": "PlayerScoreResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +}, +"submitMultiple": { +"description": "Submits multiple scores to leaderboards.", +"flatPath": "games/v1/leaderboards/scores", +"httpMethod": "POST", +"id": "games.scores.submitMultiple", +"parameterOrder": [], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +} +}, +"path": "games/v1/leaderboards/scores", +"request": { +"$ref": "PlayerScoreSubmissionList" +}, +"response": { +"$ref": "PlayerScoreListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +}, +"snapshots": { +"methods": { +"get": { +"description": "Retrieves the metadata for a given snapshot ID.", +"flatPath": "games/v1/snapshots/{snapshotId}", +"httpMethod": "GET", +"id": "games.snapshots.get", +"parameterOrder": [ +"snapshotId" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"snapshotId": { +"description": "The ID of the snapshot.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/snapshots/{snapshotId}", +"response": { +"$ref": "Snapshot" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.appdata", +"https://www.googleapis.com/auth/games" +] +}, +"list": { +"description": "Retrieves a list of snapshots created by your application for the player corresponding to the player ID.", +"flatPath": "games/v1/players/{playerId}/snapshots", +"httpMethod": "GET", +"id": "games.snapshots.list", +"parameterOrder": [ +"playerId" +], +"parameters": { +"language": { +"description": "The preferred language to use for strings returned by this method.", +"location": "query", +"type": "string" +}, +"maxResults": { +"description": "The maximum number of snapshot resources to return in the response, used for paging. For any response, the actual number of snapshot resources returned may be less than the specified `maxResults`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token returned by the previous request.", +"location": "query", +"type": "string" +}, +"playerId": { +"description": "A player ID. A value of `me` may be used in place of the authenticated player's ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "games/v1/players/{playerId}/snapshots", +"response": { +"$ref": "SnapshotListResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/drive.appdata", +"https://www.googleapis.com/auth/games" +] +} +} +}, +"stats": { +"methods": { +"get": { +"description": "Returns engagement and spend statistics in this application for the currently authenticated user.", +"flatPath": "games/v1/stats", +"httpMethod": "GET", +"id": "games.stats.get", +"parameterOrder": [], +"parameters": {}, +"path": "games/v1/stats", +"response": { +"$ref": "StatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/games" +] +} +} +} +}, +"revision": "20251003", +"rootUrl": "https://games.googleapis.com/", +"schemas": { +"AchievementDefinition": { +"description": "An achievement definition object.", +"id": "AchievementDefinition", +"properties": { +"achievementType": { +"description": "The type of the achievement.", +"enum": [ +"STANDARD", +"INCREMENTAL" +], +"enumDescriptions": [ +"Achievement is either locked or unlocked.", +"Achievement is incremental." +], +"type": "string" +}, +"description": { +"description": "The description of the achievement.", +"type": "string" +}, +"experiencePoints": { +"description": "Experience points which will be earned when unlocking this achievement.", +"format": "int64", +"type": "string" +}, +"formattedTotalSteps": { +"description": "The total steps for an incremental achievement as a string.", +"type": "string" +}, +"id": { +"description": "The ID of the achievement.", +"type": "string" +}, +"initialState": { +"description": "The initial state of the achievement.", +"enum": [ +"HIDDEN", +"REVEALED", +"UNLOCKED" +], +"enumDescriptions": [ +"Achievement is hidden.", +"Achievement is revealed.", +"Achievement is unlocked." +], +"type": "string" +}, +"isRevealedIconUrlDefault": { +"description": "Indicates whether the revealed icon image being returned is a default image, or is provided by the game.", +"type": "boolean" +}, +"isUnlockedIconUrlDefault": { +"description": "Indicates whether the unlocked icon image being returned is a default image, or is game-provided.", +"type": "boolean" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementDefinition`.", +"type": "string" +}, +"name": { +"description": "The name of the achievement.", +"type": "string" +}, +"revealedIconUrl": { +"description": "The image URL for the revealed achievement icon.", +"type": "string" +}, +"totalSteps": { +"description": "The total steps for an incremental achievement.", +"format": "int32", +"type": "integer" +}, +"unlockedIconUrl": { +"description": "The image URL for the unlocked achievement icon.", +"type": "string" +} +}, +"type": "object" +}, +"AchievementDefinitionsListResponse": { +"description": "A list of achievement definition objects.", +"id": "AchievementDefinitionsListResponse", +"properties": { +"items": { +"description": "The achievement definitions.", +"items": { +"$ref": "AchievementDefinition" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementDefinitionsListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"AchievementIncrementResponse": { +"description": "An achievement increment response", +"id": "AchievementIncrementResponse", +"properties": { +"currentSteps": { +"description": "The current steps recorded for this incremental achievement.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementIncrementResponse`.", +"type": "string" +}, +"newlyUnlocked": { +"description": "Whether the current steps for the achievement has reached the number of steps required to unlock.", +"type": "boolean" +} +}, +"type": "object" +}, +"AchievementRevealResponse": { +"description": "An achievement reveal response", +"id": "AchievementRevealResponse", +"properties": { +"currentState": { +"description": "The current state of the achievement for which a reveal was attempted. This might be `UNLOCKED` if the achievement was already unlocked.", +"enum": [ +"REVEALED", +"UNLOCKED" +], +"enumDescriptions": [ +"Achievement is revealed.", +"Achievement is unlocked." +], +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementRevealResponse`.", +"type": "string" +} +}, +"type": "object" +}, +"AchievementSetStepsAtLeastResponse": { +"description": "An achievement set steps at least response.", +"id": "AchievementSetStepsAtLeastResponse", +"properties": { +"currentSteps": { +"description": "The current steps recorded for this incremental achievement.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementSetStepsAtLeastResponse`.", +"type": "string" +}, +"newlyUnlocked": { +"description": "Whether the current steps for the achievement has reached the number of steps required to unlock.", +"type": "boolean" +} +}, +"type": "object" +}, +"AchievementUnlockResponse": { +"description": "An achievement unlock response", +"id": "AchievementUnlockResponse", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUnlockResponse`.", +"type": "string" +}, +"newlyUnlocked": { +"description": "Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).", +"type": "boolean" +} +}, +"type": "object" +}, +"AchievementUpdateMultipleRequest": { +"description": "A list of achievement update requests.", +"id": "AchievementUpdateMultipleRequest", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateMultipleRequest`.", +"type": "string" +}, +"updates": { +"description": "The individual achievement update requests.", +"items": { +"$ref": "AchievementUpdateRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"AchievementUpdateMultipleResponse": { +"description": "Response message for UpdateMultipleAchievements rpc.", +"id": "AchievementUpdateMultipleResponse", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateMultipleResponse`.", +"type": "string" +}, +"updatedAchievements": { +"description": "The updated state of the achievements.", +"items": { +"$ref": "AchievementUpdateResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"AchievementUpdateRequest": { +"description": "A request to update an achievement.", +"id": "AchievementUpdateRequest", +"properties": { +"achievementId": { +"description": "The achievement this update is being applied to.", +"type": "string" +}, +"incrementPayload": { +"$ref": "GamesAchievementIncrement", +"description": "The payload if an update of type `INCREMENT` was requested for the achievement." +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateRequest`.", +"type": "string" +}, +"setStepsAtLeastPayload": { +"$ref": "GamesAchievementSetStepsAtLeast", +"description": "The payload if an update of type `SET_STEPS_AT_LEAST` was requested for the achievement." +}, +"updateType": { +"description": "The type of update being applied.", +"enum": [ +"REVEAL", +"UNLOCK", +"INCREMENT", +"SET_STEPS_AT_LEAST" +], +"enumDescriptions": [ +"Achievement is revealed.", +"Achievement is unlocked.", +"Achievement is incremented.", +"Achievement progress is set to at least the passed value." +], +"type": "string" +} +}, +"type": "object" +}, +"AchievementUpdateResponse": { +"description": "An updated achievement.", +"id": "AchievementUpdateResponse", +"properties": { +"achievementId": { +"description": "The achievement this update is was applied to.", +"type": "string" +}, +"currentState": { +"description": "The current state of the achievement.", +"enum": [ +"HIDDEN", +"REVEALED", +"UNLOCKED" +], +"enumDescriptions": [ +"Achievement is hidden.", +"Achievement is revealed.", +"Achievement is unlocked." +], +"type": "string" +}, +"currentSteps": { +"description": "The current steps recorded for this achievement if it is incremental.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateResponse`.", +"type": "string" +}, +"newlyUnlocked": { +"description": "Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).", +"type": "boolean" +}, +"updateOccurred": { +"description": "Whether the requested updates actually affected the achievement.", +"type": "boolean" +} +}, +"type": "object" +}, +"Application": { +"description": "The Application resource.", +"id": "Application", +"properties": { +"achievement_count": { +"description": "The number of achievements visible to the currently authenticated player.", +"format": "int32", +"type": "integer" +}, +"assets": { +"description": "The assets of the application.", +"items": { +"$ref": "ImageAsset" +}, +"type": "array" +}, +"author": { +"description": "The author of the application.", +"type": "string" +}, +"category": { +"$ref": "ApplicationCategory", +"description": "The category of the application." +}, +"description": { +"description": "The description of the application.", +"type": "string" +}, +"enabledFeatures": { +"description": "A list of features that have been enabled for the application.", +"items": { +"enum": [ +"SNAPSHOTS" +], +"enumDescriptions": [ +"Saved Games (snapshots)." +], +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "The ID of the application.", +"type": "string" +}, +"instances": { +"description": "The instances of the application.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#application`.", +"type": "string" +}, +"lastUpdatedTimestamp": { +"description": "The last updated timestamp of the application.", +"format": "int64", +"type": "string" +}, +"leaderboard_count": { +"description": "The number of leaderboards visible to the currently authenticated player.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the application.", +"type": "string" +}, +"themeColor": { +"description": "A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. \"E0E0E0\").", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationCategory": { +"description": "An application category object.", +"id": "ApplicationCategory", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#applicationCategory`.", +"type": "string" +}, +"primary": { +"description": "The primary category.", +"type": "string" +}, +"secondary": { +"description": "The secondary category.", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationPlayerId": { +"description": "Primary scoped player identifier for an application.", +"id": "ApplicationPlayerId", +"properties": { +"applicationId": { +"description": "The application that this player identifier is for.", +"type": "string" +}, +"playerId": { +"description": "The player identifier for the application.", +"type": "string" +} +}, +"type": "object" +}, +"ApplicationVerifyResponse": { +"description": "A third party application verification response resource.", +"id": "ApplicationVerifyResponse", +"properties": { +"alternate_player_id": { +"description": "An alternate ID that was once used for the player that was issued the auth token used in this request. (This field is not normally populated.)", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#applicationVerifyResponse`.", +"type": "string" +}, +"player_id": { +"description": "The ID of the player that was issued the auth token used in this request.", +"type": "string" +} +}, +"type": "object" +}, +"Category": { +"description": "Data related to individual game categories.", +"id": "Category", +"properties": { +"category": { +"description": "The category name.", +"type": "string" +}, +"experiencePoints": { +"description": "Experience points earned in this category.", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#category`.", +"type": "string" +} +}, +"type": "object" +}, +"CategoryListResponse": { +"description": "A third party list metagame categories response.", +"id": "CategoryListResponse", +"properties": { +"items": { +"description": "The list of categories with usage data.", +"items": { +"$ref": "Category" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#categoryListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"EndPoint": { +"description": "Container for a URL end point of the requested type.", +"id": "EndPoint", +"properties": { +"url": { +"description": "A URL suitable for loading in a web browser for the requested endpoint.", +"type": "string" +} +}, +"type": "object" +}, +"EventBatchRecordFailure": { +"description": "A batch update failure resource.", +"id": "EventBatchRecordFailure", +"properties": { +"failureCause": { +"description": "The cause for the update failure.", +"enum": [ +"TOO_LARGE", +"TIME_PERIOD_EXPIRED", +"TIME_PERIOD_SHORT", +"TIME_PERIOD_LONG", +"ALREADY_UPDATED", +"RECORD_RATE_HIGH" +], +"enumDescriptions": [ +"A batch request was issued with more events than are allowed in a single batch.", +"A batch was sent with data too far in the past to record.", +"A batch was sent with a time range that was too short.", +"A batch was sent with a time range that was too long.", +"An attempt was made to record a batch of data which was already seen.", +"An attempt was made to record data faster than the server will apply updates." +], +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventBatchRecordFailure`.", +"type": "string" +}, +"range": { +"$ref": "EventPeriodRange", +"description": "The time range which was rejected; empty for a request-wide failure." +} +}, +"type": "object" +}, +"EventChild": { +"description": "An event child relationship resource.", +"id": "EventChild", +"properties": { +"childId": { +"description": "The ID of the child event.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventChild`.", +"type": "string" +} +}, +"type": "object" +}, +"EventDefinition": { +"description": "An event definition resource.", +"id": "EventDefinition", +"properties": { +"childEvents": { +"description": "A list of events that are a child of this event.", +"items": { +"$ref": "EventChild" +}, +"type": "array" +}, +"description": { +"description": "Description of what this event represents.", +"type": "string" +}, +"displayName": { +"description": "The name to display for the event.", +"type": "string" +}, +"id": { +"description": "The ID of the event.", +"type": "string" +}, +"imageUrl": { +"description": "The base URL for the image that represents the event.", +"type": "string" +}, +"isDefaultImageUrl": { +"description": "Indicates whether the icon image being returned is a default image, or is game-provided.", +"type": "boolean" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventDefinition`.", +"type": "string" +}, +"visibility": { +"description": "The visibility of event being tracked in this definition.", +"enum": [ +"REVEALED", +"HIDDEN" +], +"enumDescriptions": [ +"This event should be visible to all users.", +"This event should only be shown to users that have recorded this event at least once." +], +"type": "string" +} +}, +"type": "object" +}, +"EventDefinitionListResponse": { +"description": "A ListDefinitions response.", +"id": "EventDefinitionListResponse", +"properties": { +"items": { +"description": "The event definitions.", +"items": { +"$ref": "EventDefinition" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventDefinitionListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "The pagination token for the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"EventPeriodRange": { +"description": "An event period time range.", +"id": "EventPeriodRange", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventPeriodRange`.", +"type": "string" +}, +"periodEndMillis": { +"description": "The time when this update period ends, in millis, since 1970 UTC (Unix Epoch).", +"format": "int64", +"type": "string" +}, +"periodStartMillis": { +"description": "The time when this update period begins, in millis, since 1970 UTC (Unix Epoch).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EventPeriodUpdate": { +"description": "An event period update resource.", +"id": "EventPeriodUpdate", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventPeriodUpdate`.", +"type": "string" +}, +"timePeriod": { +"$ref": "EventPeriodRange", +"description": "The time period being covered by this update." +}, +"updates": { +"description": "The updates being made for this time period.", +"items": { +"$ref": "EventUpdateRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventRecordFailure": { +"description": "An event update failure resource.", +"id": "EventRecordFailure", +"properties": { +"eventId": { +"description": "The ID of the event that was not updated.", +"type": "string" +}, +"failureCause": { +"description": "The cause for the update failure.", +"enum": [ +"NOT_FOUND", +"INVALID_UPDATE_VALUE" +], +"enumDescriptions": [ +"An attempt was made to set an event that was not defined.", +"An attempt was made to increment an event by a non-positive value." +], +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventRecordFailure`.", +"type": "string" +} +}, +"type": "object" +}, +"EventRecordRequest": { +"description": "An event period update resource.", +"id": "EventRecordRequest", +"properties": { +"currentTimeMillis": { +"description": "The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).", +"format": "int64", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventRecordRequest`.", +"type": "string" +}, +"requestId": { +"description": "The request ID used to identify this attempt to record events.", +"format": "int64", +"type": "string" +}, +"timePeriods": { +"description": "A list of the time period updates being made in this request.", +"items": { +"$ref": "EventPeriodUpdate" +}, +"type": "array" +} +}, +"type": "object" +}, +"EventUpdateRequest": { +"description": "An event period update resource.", +"id": "EventUpdateRequest", +"properties": { +"definitionId": { +"description": "The ID of the event being modified in this update.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventUpdateRequest`.", +"type": "string" +}, +"updateCount": { +"description": "The number of times this event occurred in this time period.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"EventUpdateResponse": { +"description": "An event period update resource.", +"id": "EventUpdateResponse", +"properties": { +"batchFailures": { +"description": "Any batch-wide failures which occurred applying updates.", +"items": { +"$ref": "EventBatchRecordFailure" +}, +"type": "array" +}, +"eventFailures": { +"description": "Any failures updating a particular event.", +"items": { +"$ref": "EventRecordFailure" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#eventUpdateResponse`.", +"type": "string" +}, +"playerEvents": { +"description": "The current status of any updated events", +"items": { +"$ref": "PlayerEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GamePlayerToken": { +"description": "Recall tokens for a game.", +"id": "GamePlayerToken", +"properties": { +"applicationId": { +"description": "The application that this player identifier is for.", +"type": "string" +}, +"recallToken": { +"$ref": "RecallToken", +"description": "Recall token data." +} +}, +"type": "object" +}, +"GamesAchievementIncrement": { +"description": "The payload to request to increment an achievement.", +"id": "GamesAchievementIncrement", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#GamesAchievementIncrement`.", +"type": "string" +}, +"requestId": { +"description": "The requestId associated with an increment to an achievement.", +"format": "int64", +"type": "string" +}, +"steps": { +"description": "The number of steps to be incremented.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GamesAchievementSetStepsAtLeast": { +"description": "The payload to request to increment an achievement.", +"id": "GamesAchievementSetStepsAtLeast", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#GamesAchievementSetStepsAtLeast`.", +"type": "string" +}, +"steps": { +"description": "The minimum number of steps for the achievement to be set to.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GeneratePlayGroupingApiTokenResponse": { +"description": "Response for the GeneratePlayGroupingApiToken RPC.", +"id": "GeneratePlayGroupingApiTokenResponse", +"properties": { +"token": { +"$ref": "PlayGroupingApiToken", +"description": "Token for accessing the Play Grouping API." +} +}, +"type": "object" +}, +"GenerateRecallPlayGroupingApiTokenResponse": { +"description": "Response for the GenerateRecallPlayGroupingApiToken RPC.", +"id": "GenerateRecallPlayGroupingApiTokenResponse", +"properties": { +"token": { +"$ref": "PlayGroupingApiToken", +"description": "Token for accessing the Play Grouping API." +} +}, +"type": "object" +}, +"GetMultipleApplicationPlayerIdsResponse": { +"description": "Response message for GetMultipleApplicationPlayerIds rpc.", +"id": "GetMultipleApplicationPlayerIdsResponse", +"properties": { +"playerIds": { +"description": "Output only. The requested applications along with the scoped ids for tha player, if that player has an id for the application. If not, the application is not included in the response.", +"items": { +"$ref": "ApplicationPlayerId" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ImageAsset": { +"description": "An image asset object.", +"id": "ImageAsset", +"properties": { +"height": { +"description": "The height of the asset.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#imageAsset`.", +"type": "string" +}, +"name": { +"description": "The name of the asset.", +"type": "string" +}, +"url": { +"description": "The URL of the asset.", +"type": "string" +}, +"width": { +"description": "The width of the asset.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Instance": { +"description": "The Instance resource.", +"id": "Instance", +"properties": { +"acquisitionUri": { +"description": "URI which shows where a user can acquire this instance.", +"type": "string" +}, +"androidInstance": { +"$ref": "InstanceAndroidDetails", +"description": "Platform dependent details for Android." +}, +"iosInstance": { +"$ref": "InstanceIosDetails", +"description": "Platform dependent details for iOS." +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#instance`.", +"type": "string" +}, +"name": { +"description": "Localized display name.", +"type": "string" +}, +"platformType": { +"description": "The platform type.", +"enum": [ +"ANDROID", +"IOS", +"WEB_APP" +], +"enumDescriptions": [ +"Instance is for Android.", +"Instance is for iOS.", +"Instance is for Web App." +], +"type": "string" +}, +"realtimePlay": { +"description": "Flag to show if this game instance supports realtime play.", +"type": "boolean" +}, +"turnBasedPlay": { +"description": "Flag to show if this game instance supports turn based play.", +"type": "boolean" +}, +"webInstance": { +"$ref": "InstanceWebDetails", +"description": "Platform dependent details for Web." +} +}, +"type": "object" +}, +"InstanceAndroidDetails": { +"description": "The Android instance details resource.", +"id": "InstanceAndroidDetails", +"properties": { +"enablePiracyCheck": { +"description": "Flag indicating whether the anti-piracy check is enabled.", +"type": "boolean" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceAndroidDetails`.", +"type": "string" +}, +"packageName": { +"description": "Android package name which maps to Google Play URL.", +"type": "string" +}, +"preferred": { +"description": "Indicates that this instance is the default for new installations.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceIosDetails": { +"description": "The iOS details resource.", +"id": "InstanceIosDetails", +"properties": { +"bundleIdentifier": { +"description": "Bundle identifier.", +"type": "string" +}, +"itunesAppId": { +"description": "iTunes App ID.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceIosDetails`.", +"type": "string" +}, +"preferredForIpad": { +"description": "Indicates that this instance is the default for new installations on iPad devices.", +"type": "boolean" +}, +"preferredForIphone": { +"description": "Indicates that this instance is the default for new installations on iPhone devices.", +"type": "boolean" +}, +"supportIpad": { +"description": "Flag to indicate if this instance supports iPad.", +"type": "boolean" +}, +"supportIphone": { +"description": "Flag to indicate if this instance supports iPhone.", +"type": "boolean" +} +}, +"type": "object" +}, +"InstanceWebDetails": { +"description": "The Web details resource.", +"id": "InstanceWebDetails", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#instanceWebDetails`.", +"type": "string" +}, +"launchUrl": { +"description": "Launch URL for the game.", +"type": "string" +}, +"preferred": { +"description": "Indicates that this instance is the default for new installations.", +"type": "boolean" +} +}, +"type": "object" +}, +"Leaderboard": { +"description": "The Leaderboard resource.", +"id": "Leaderboard", +"properties": { +"iconUrl": { +"description": "The icon for the leaderboard.", +"type": "string" +}, +"id": { +"description": "The leaderboard ID.", +"type": "string" +}, +"isIconUrlDefault": { +"description": "Indicates whether the icon image being returned is a default image, or is game-provided.", +"type": "boolean" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboard`.", +"type": "string" +}, +"name": { +"description": "The name of the leaderboard.", +"type": "string" +}, +"order": { +"description": "How scores are ordered.", +"enum": [ +"LARGER_IS_BETTER", +"SMALLER_IS_BETTER" +], +"enumDescriptions": [ +"Larger values are better; scores are sorted in descending order", +"Smaller values are better; scores are sorted in ascending order" +], +"type": "string" +} +}, +"type": "object" +}, +"LeaderboardEntry": { +"description": "The Leaderboard Entry resource.", +"id": "LeaderboardEntry", +"properties": { +"formattedScore": { +"description": "The localized string for the numerical value of this score.", +"type": "string" +}, +"formattedScoreRank": { +"description": "The localized string for the rank of this score for this leaderboard.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardEntry`.", +"type": "string" +}, +"player": { +"$ref": "Player", +"description": "The player who holds this score." +}, +"scoreRank": { +"description": "The rank of this score for this leaderboard.", +"format": "int64", +"type": "string" +}, +"scoreTag": { +"description": "Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +}, +"scoreValue": { +"description": "The numerical value of this score.", +"format": "int64", +"type": "string" +}, +"timeSpan": { +"description": "The time span of this high score.", +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"type": "string" +}, +"writeTimestampMillis": { +"description": "The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LeaderboardListResponse": { +"description": "A list of leaderboard objects.", +"id": "LeaderboardListResponse", +"properties": { +"items": { +"description": "The leaderboards.", +"items": { +"$ref": "Leaderboard" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"LeaderboardScoreRank": { +"description": "A score rank in a leaderboard.", +"id": "LeaderboardScoreRank", +"properties": { +"formattedNumScores": { +"description": "The number of scores in the leaderboard as a string.", +"type": "string" +}, +"formattedRank": { +"description": "The rank in the leaderboard as a string.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardScoreRank`.", +"type": "string" +}, +"numScores": { +"description": "The number of scores in the leaderboard.", +"format": "int64", +"type": "string" +}, +"rank": { +"description": "The rank in the leaderboard.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"LeaderboardScores": { +"description": "A ListScores response.", +"id": "LeaderboardScores", +"properties": { +"items": { +"description": "The scores in the leaderboard.", +"items": { +"$ref": "LeaderboardEntry" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardScores`.", +"type": "string" +}, +"nextPageToken": { +"description": "The pagination token for the next page of results.", +"type": "string" +}, +"numScores": { +"description": "The total number of scores in the leaderboard.", +"format": "int64", +"type": "string" +}, +"playerScore": { +"$ref": "LeaderboardEntry", +"description": "The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the `scoreRank`and `formattedScoreRank` values will not be present." +}, +"prevPageToken": { +"description": "The pagination token for the previous page of results.", +"type": "string" +} +}, +"type": "object" +}, +"LinkPersonaRequest": { +"description": "Request to link an in-game account with a PGS principal (encoded in the session id).", +"id": "LinkPersonaRequest", +"properties": { +"cardinalityConstraint": { +"description": "Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.", +"enum": [ +"ONE_PERSONA_TO_ONE_PLAYER" +], +"enumDescriptions": [ +"1:1 cardinality between in-game personas and Play Games Services players. By the end of the linking operation only one entry for the player and the persona should remain in the scope of the application. Whether a new link is created or not when this constraint is specified is determined by the chosen `ConflictingLinksResolutionPolicy`: * If `KEEP_EXISTING_LINKS` is specified and the provided persona is already linked to a different player, or the player is already linked to a different persona, no new link will be created and the already existing link(s) will remain as is(are). * If `CREATE_NEW_LINK` is specified and the provided persona is already linked to a different player, or the player is already linked to another persona, the older link(s) will be removed in favour of the new link being created." +], +"type": "string" +}, +"conflictingLinksResolutionPolicy": { +"description": "Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.", +"enum": [ +"KEEP_EXISTING_LINKS", +"CREATE_NEW_LINK" +], +"enumDescriptions": [ +"If link(s) between a player and persona already exists which would result in violating the specified `RecallTokensCardinalityConstraint` if the new link was created, keep the already existing link(s). For example, if Persona1-Player1 is already linked in the scope of application1 and a new link Persona1-Player2 is attempted to be created in the scope of application1, then the old link will remain and no new link will be added. Note that if the already existing links do violate the specified policy (which could occur if not all `LinkPersona` calls use the same `RecallTokensCardinalityConstraint`) this policy will leave these violations unresolved; in order to resolve conflicts, the {@link `CREATE_NEW_LINK` policy needs to be used to rewrite links resolving conflicts.", +"If an existing link between a player and persona already exists which would result in violating the specified `RecallTokensCardinalityConstraint` if the new link was created, replace the already existing link(s) with the new link. For example, if Persona1-Player1 is already linked in the scope of application1 and a new link Persona1-Player2 is attempted to be created in the scope of application1, then the old link will be removed and the new link will be added to replace it." +], +"type": "string" +}, +"expireTime": { +"description": "Input only. Optional expiration time.", +"format": "google-datetime", +"type": "string" +}, +"persona": { +"description": "Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.", +"type": "string" +}, +"sessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", +"type": "string" +}, +"token": { +"description": "Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).", +"type": "string" +}, +"ttl": { +"description": "Input only. Optional time-to-live.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"LinkPersonaResponse": { +"description": "Outcome of a persona linking attempt.", +"id": "LinkPersonaResponse", +"properties": { +"state": { +"description": "Output only. State of a persona linking attempt.", +"enum": [ +"LINK_CREATED", +"PERSONA_OR_PLAYER_ALREADY_LINKED" +], +"enumDescriptions": [ +"The link specified in the request was created.", +"The link specified in the request was not created because already existing links would result in the new link violating the specified `RecallTokensCardinalityConstraint` if created." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetagameConfig": { +"description": "The metagame config resource", +"id": "MetagameConfig", +"properties": { +"currentVersion": { +"description": "Current version of the metagame configuration data. When this data is updated, the version number will be increased by one.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#metagameConfig`.", +"type": "string" +}, +"playerLevels": { +"description": "The list of player levels.", +"items": { +"$ref": "PlayerLevel" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlayGroupingApiToken": { +"description": "Token data returned from GeneratePlayGroupingApiToken RPC.", +"id": "PlayGroupingApiToken", +"properties": { +"tokenValue": { +"description": "Value of the token.", +"type": "string" +} +}, +"type": "object" +}, +"Player": { +"description": "A Player resource.", +"id": "Player", +"properties": { +"avatarImageUrl": { +"description": "The base URL for the image that represents the player.", +"type": "string" +}, +"bannerUrlLandscape": { +"description": "The url to the landscape mode player banner image.", +"type": "string" +}, +"bannerUrlPortrait": { +"description": "The url to the portrait mode player banner image.", +"type": "string" +}, +"displayName": { +"description": "The name to display for the player.", +"type": "string" +}, +"experienceInfo": { +"$ref": "PlayerExperienceInfo", +"description": "An object to represent Play Game experience information for the player." +}, +"friendStatus": { +"description": "The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.", +"enum": [ +"NO_RELATIONSHIP", +"FRIEND" +], +"enumDescriptions": [ +"There is no relationship between the players.", +"The player and requester are friends." +], +"type": "string" +}, +"gamePlayerId": { +"description": "Per-application unique player identifier.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#player`", +"type": "string" +}, +"name": { +"description": "A representation of the individual components of the name.", +"properties": { +"familyName": { +"description": "The family name of this player. In some places, this is known as the last name.", +"type": "string" +}, +"givenName": { +"description": "The given name of this player. In some places, this is known as the first name.", +"type": "string" +} +}, +"type": "object" +}, +"originalPlayerId": { +"description": "The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.", +"type": "string" +}, +"playerId": { +"description": "The ID of the player.", +"type": "string" +}, +"profileSettings": { +"$ref": "ProfileSettings", +"description": "The player's profile settings. Controls whether or not the player's profile is visible to other players." +}, +"title": { +"description": "The player's title rewarded for their game activities.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerAchievement": { +"description": "An achievement object.", +"id": "PlayerAchievement", +"properties": { +"achievementState": { +"description": "The state of the achievement.", +"enum": [ +"HIDDEN", +"REVEALED", +"UNLOCKED" +], +"enumDescriptions": [ +"Achievement is hidden.", +"Achievement is revealed.", +"Achievement is unlocked." +], +"type": "string" +}, +"currentSteps": { +"description": "The current steps for an incremental achievement.", +"format": "int32", +"type": "integer" +}, +"experiencePoints": { +"description": "Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.", +"format": "int64", +"type": "string" +}, +"formattedCurrentStepsString": { +"description": "The current steps for an incremental achievement as a string.", +"type": "string" +}, +"id": { +"description": "The ID of the achievement.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerAchievement`.", +"type": "string" +}, +"lastUpdatedTimestamp": { +"description": "The timestamp of the last modification to this achievement's state.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PlayerAchievementListResponse": { +"description": "A list of achievement objects.", +"id": "PlayerAchievementListResponse", +"properties": { +"items": { +"description": "The achievements.", +"items": { +"$ref": "PlayerAchievement" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerAchievementListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerEvent": { +"description": "An event status resource.", +"id": "PlayerEvent", +"properties": { +"definitionId": { +"description": "The ID of the event definition.", +"type": "string" +}, +"formattedNumEvents": { +"description": "The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerEvent`.", +"type": "string" +}, +"numEvents": { +"description": "The current number of times this event has occurred.", +"format": "int64", +"type": "string" +}, +"playerId": { +"description": "The ID of the player.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerEventListResponse": { +"description": "A ListByPlayer response.", +"id": "PlayerEventListResponse", +"properties": { +"items": { +"description": "The player events.", +"items": { +"$ref": "PlayerEvent" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerEventListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "The pagination token for the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerExperienceInfo": { +"description": "1P/3P metadata about the player's experience.", +"id": "PlayerExperienceInfo", +"properties": { +"currentExperiencePoints": { +"description": "The current number of experience points for the player.", +"format": "int64", +"type": "string" +}, +"currentLevel": { +"$ref": "PlayerLevel", +"description": "The current level of the player." +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerExperienceInfo`.", +"type": "string" +}, +"lastLevelUpTimestampMillis": { +"description": "The timestamp when the player was leveled up, in millis since Unix epoch UTC.", +"format": "int64", +"type": "string" +}, +"nextLevel": { +"$ref": "PlayerLevel", +"description": "The next level of the player. If the current level is the maximum level, this should be same as the current level." +} +}, +"type": "object" +}, +"PlayerLeaderboardScore": { +"description": "A player leaderboard score object.", +"id": "PlayerLeaderboardScore", +"properties": { +"friendsRank": { +"$ref": "LeaderboardScoreRank", +"description": "The rank of the score in the friends collection for this leaderboard." +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerLeaderboardScore`.", +"type": "string" +}, +"leaderboard_id": { +"description": "The ID of the leaderboard this score is in.", +"type": "string" +}, +"publicRank": { +"$ref": "LeaderboardScoreRank", +"description": "The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly." +}, +"scoreString": { +"description": "The formatted value of this score.", +"type": "string" +}, +"scoreTag": { +"description": "Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +}, +"scoreValue": { +"description": "The numerical value of this score.", +"format": "int64", +"type": "string" +}, +"socialRank": { +"$ref": "LeaderboardScoreRank", +"description": "The social rank of the score in this leaderboard." +}, +"timeSpan": { +"description": "The time span of this score.", +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"type": "string" +}, +"writeTimestamp": { +"description": "The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PlayerLeaderboardScoreListResponse": { +"description": "A list of player leaderboard scores.", +"id": "PlayerLeaderboardScoreListResponse", +"properties": { +"items": { +"description": "The leaderboard scores.", +"items": { +"$ref": "PlayerLeaderboardScore" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerLeaderboardScoreListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "The pagination token for the next page of results.", +"type": "string" +}, +"player": { +"$ref": "Player", +"description": "The Player resources for the owner of this score." +} +}, +"type": "object" +}, +"PlayerLevel": { +"description": "1P/3P metadata about a user's level.", +"id": "PlayerLevel", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerLevel`.", +"type": "string" +}, +"level": { +"description": "The level for the user.", +"format": "int32", +"type": "integer" +}, +"maxExperiencePoints": { +"description": "The maximum experience points for this level.", +"format": "int64", +"type": "string" +}, +"minExperiencePoints": { +"description": "The minimum experience points for this level.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PlayerListResponse": { +"description": "A third party player list response.", +"id": "PlayerListResponse", +"properties": { +"items": { +"description": "The players.", +"items": { +"$ref": "Player" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"PlayerScore": { +"description": "A player score.", +"id": "PlayerScore", +"properties": { +"formattedScore": { +"description": "The formatted score for this player score.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScore`.", +"type": "string" +}, +"score": { +"description": "The numerical value for this player score.", +"format": "int64", +"type": "string" +}, +"scoreTag": { +"description": "Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +}, +"timeSpan": { +"description": "The time span for this player score.", +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"type": "string" +} +}, +"type": "object" +}, +"PlayerScoreListResponse": { +"description": "A list of score submission statuses.", +"id": "PlayerScoreListResponse", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScoreListResponse`.", +"type": "string" +}, +"submittedScores": { +"description": "The score submissions statuses.", +"items": { +"$ref": "PlayerScoreResponse" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlayerScoreResponse": { +"description": "A list of leaderboard entry resources.", +"id": "PlayerScoreResponse", +"properties": { +"beatenScoreTimeSpans": { +"description": "The time spans where the submitted score is better than the existing score for that time span.", +"items": { +"enum": [ +"ALL_TIME", +"WEEKLY", +"DAILY" +], +"enumDescriptions": [ +"The score is an all-time score.", +"The score is a weekly score.", +"The score is a daily score." +], +"type": "string" +}, +"type": "array" +}, +"formattedScore": { +"description": "The formatted value of the submitted score.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScoreResponse`.", +"type": "string" +}, +"leaderboardId": { +"description": "The leaderboard ID that this score was submitted to.", +"type": "string" +}, +"scoreTag": { +"description": "Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +}, +"unbeatenScores": { +"description": "The scores in time spans that have not been beaten. As an example, the submitted score may be better than the player's `DAILY` score, but not better than the player's scores for the `WEEKLY` or `ALL_TIME` time spans.", +"items": { +"$ref": "PlayerScore" +}, +"type": "array" +} +}, +"type": "object" +}, +"PlayerScoreSubmissionList": { +"description": "A list of score submission requests.", +"id": "PlayerScoreSubmissionList", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScoreSubmissionList`.", +"type": "string" +}, +"scores": { +"description": "The score submissions.", +"items": { +"$ref": "ScoreSubmission" +}, +"type": "array" +} +}, +"type": "object" +}, +"ProfileSettings": { +"description": "Profile settings", +"id": "ProfileSettings", +"properties": { +"friendsListVisibility": { +"enum": [ +"VISIBLE", +"REQUEST_REQUIRED", +"UNAVAILABLE" +], +"enumDescriptions": [ +"The friends list is currently visible to the game.", +"The developer does not have access to the friends list, but can call the Android API to show a consent dialog.", +"The friends list is currently unavailable for this user, and it is not possible to request access at this time, either because the user has permanently declined or the friends feature is not available to them. In this state, any attempts to request access to the friends list will be unsuccessful." +], +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#profileSettings`.", +"type": "string" +}, +"profileVisible": { +"description": "Whether the player's profile is visible to the currently signed in player.", +"type": "boolean" +} +}, +"type": "object" +}, +"RecallToken": { +"description": "Recall token data returned from RetrievePlayerTokens RPC", +"id": "RecallToken", +"properties": { +"expireTime": { +"description": "Optional. Optional expiration time of the token", +"format": "google-datetime", +"type": "string" +}, +"multiPlayerPersona": { +"description": "Required. Whether the persona identified by the token is linked to multiple PGS Players", +"type": "boolean" +}, +"token": { +"description": "Required. Value of the Recall token as it is provided by the client via LinkPersona RPC", +"type": "string" +} +}, +"type": "object" +}, +"ResetPersonaRequest": { +"description": "Request to remove all Recall tokens associated with a persona for an app.", +"id": "ResetPersonaRequest", +"properties": { +"persona": { +"description": "Value of the 'persona' field as it was provided by the client in LinkPersona RPC", +"type": "string" +} +}, +"type": "object" +}, +"ResetPersonaResponse": { +"description": "Response for the ResetPersona RPC", +"id": "ResetPersonaResponse", +"properties": { +"unlinked": { +"description": "Required. Whether any tokens were unlinked as a result of this request.", +"type": "boolean" +} +}, +"type": "object" +}, +"RetrieveDeveloperGamesLastPlayerTokenResponse": { +"description": "Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC", +"id": "RetrieveDeveloperGamesLastPlayerTokenResponse", +"properties": { +"gamePlayerToken": { +"$ref": "GamePlayerToken", +"description": "The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal." +} +}, +"type": "object" +}, +"RetrieveGamesPlayerTokensResponse": { +"description": "A list of recall token data returned from the RetrieveGamesPlayerTokens RPC", +"id": "RetrieveGamesPlayerTokensResponse", +"properties": { +"gamePlayerTokens": { +"description": "The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.", +"items": { +"$ref": "GamePlayerToken" +}, +"type": "array" +} +}, +"type": "object" +}, +"RetrievePlayerTokensResponse": { +"description": "Response for the RetrievePlayerTokens RPC", +"id": "RetrievePlayerTokensResponse", +"properties": { +"tokens": { +"description": "Required. Recall tokens associated with the requested PGS Player principal", +"items": { +"$ref": "RecallToken" +}, +"type": "array" +} +}, +"type": "object" +}, +"RevisionCheckResponse": { +"description": "A third party checking a revision response.", +"id": "RevisionCheckResponse", +"properties": { +"apiVersion": { +"description": "The version of the API this client revision should use when calling API methods.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#revisionCheckResponse`.", +"type": "string" +}, +"revisionStatus": { +"description": "The result of the revision check.", +"enum": [ +"OK", +"DEPRECATED", +"INVALID" +], +"enumDescriptions": [ +"The revision being used is current.", +"There is currently a newer version available, but the revision being used still works.", +"The revision being used is not supported in any released version." +], +"type": "string" +} +}, +"type": "object" +}, +"ScopedPlayerIds": { +"description": "Scoped player identifiers.", +"id": "ScopedPlayerIds", +"properties": { +"developerPlayerKey": { +"description": "Identifier of the player across all games of the given developer. Every player has the same developer_player_key in all games of one developer. Developer player key changes for the game if the game is transferred to another developer. Note that game_player_id will stay unchanged.", +"type": "string" +}, +"gamePlayerId": { +"description": "Game-scoped player identifier. This is the same id that is returned in GetPlayer game_player_id field.", +"type": "string" +} +}, +"type": "object" +}, +"ScoreSubmission": { +"description": "A request to submit a score to leaderboards.", +"id": "ScoreSubmission", +"properties": { +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#scoreSubmission`.", +"type": "string" +}, +"leaderboardId": { +"description": "The leaderboard this score is being submitted to.", +"type": "string" +}, +"score": { +"description": "The new score being submitted.", +"format": "int64", +"type": "string" +}, +"scoreTag": { +"description": "Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +}, +"signature": { +"description": "Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986.", +"type": "string" +} +}, +"type": "object" +}, +"Snapshot": { +"description": "An snapshot object.", +"id": "Snapshot", +"properties": { +"coverImage": { +"$ref": "SnapshotImage", +"description": "The cover image of this snapshot. May be absent if there is no image." +}, +"description": { +"description": "The description of this snapshot.", +"type": "string" +}, +"driveId": { +"description": "The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.", +"type": "string" +}, +"durationMillis": { +"description": "The duration associated with this snapshot, in millis.", +"format": "int64", +"type": "string" +}, +"id": { +"description": "The ID of the snapshot.", +"type": "string" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshot`.", +"type": "string" +}, +"lastModifiedMillis": { +"description": "The timestamp (in millis since Unix epoch) of the last modification to this snapshot.", +"format": "int64", +"type": "string" +}, +"progressValue": { +"description": "The progress value (64-bit integer set by developer) associated with this snapshot.", +"format": "int64", +"type": "string" +}, +"title": { +"description": "The title of this snapshot.", +"type": "string" +}, +"type": { +"description": "The type of this snapshot.", +"enum": [ +"SAVE_GAME" +], +"enumDescriptions": [ +"A snapshot representing a save game." +], +"type": "string" +}, +"uniqueName": { +"description": "The unique name provided when the snapshot was created.", +"type": "string" +} +}, +"type": "object" +}, +"SnapshotImage": { +"description": "An image of a snapshot.", +"id": "SnapshotImage", +"properties": { +"height": { +"description": "The height of the image.", +"format": "int32", +"type": "integer" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshotImage`.", +"type": "string" +}, +"mime_type": { +"description": "The MIME type of the image.", +"type": "string" +}, +"url": { +"description": "The URL of the image. This URL may be invalidated at any time and should not be cached.", +"type": "string" +}, +"width": { +"description": "The width of the image.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SnapshotListResponse": { +"description": "A third party list snapshots response.", +"id": "SnapshotListResponse", +"properties": { +"items": { +"description": "The snapshots.", +"items": { +"$ref": "Snapshot" +}, +"type": "array" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#snapshotListResponse`.", +"type": "string" +}, +"nextPageToken": { +"description": "Token corresponding to the next page of results. If there are no more results, the token is omitted.", +"type": "string" +} +}, +"type": "object" +}, +"StatsResponse": { +"description": "A third party stats resource.", +"id": "StatsResponse", +"properties": { +"avg_session_length_minutes": { +"description": "Average session length in minutes of the player. E.g., 1, 30, 60, ... . Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"churn_probability": { +"description": "The probability of the player not returning to play the game in the next day. E.g., 0, 0.1, 0.5, ..., 1.0. Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"days_since_last_played": { +"description": "Number of days since the player last played this game. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information.", +"format": "int32", +"type": "integer" +}, +"high_spender_probability": { +"description": "The probability of the player going to spend beyond a threshold amount of money. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"kind": { +"description": "Uniquely identifies the type of this resource. Value is always the fixed string `games#statsResponse`.", +"type": "string" +}, +"num_purchases": { +"description": "Number of in-app purchases made by the player in this game. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information.", +"format": "int32", +"type": "integer" +}, +"num_sessions": { +"description": "The approximate number of sessions of the player within the last 28 days, where a session begins when the player is connected to Play Games Services and ends when they are disconnected. E.g., 0, 1, 5, 10, ... . Not populated if there is not enough information.", +"format": "int32", +"type": "integer" +}, +"num_sessions_percentile": { +"description": "The approximation of the sessions percentile of the player within the last 30 days, where a session begins when the player is connected to Play Games Services and ends when they are disconnected. E.g., 0, 0.25, 0.5, 0.75. Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"spend_percentile": { +"description": "The approximate spend percentile of the player in this game. E.g., 0, 0.25, 0.5, 0.75. Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"spend_probability": { +"description": "The probability of the player going to spend the game in the next seven days. E.g., 0, 0.25, 0.50, 0.75. Not populated if there is not enough information.", +"format": "float", +"type": "number" +}, +"total_spend_next_28_days": { +"description": "The predicted amount of money that the player going to spend in the next 28 days. E.g., 1, 30, 60, ... . Not populated if there is not enough information.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"UnlinkPersonaRequest": { +"description": "Request to remove a Recall token linking PGS principal and an in-game account", +"id": "UnlinkPersonaRequest", +"properties": { +"persona": { +"description": "Value of the 'persona' field as it was provided by the client in LinkPersona RPC", +"type": "string" +}, +"sessionId": { +"description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", +"type": "string" +}, +"token": { +"description": "Value of the Recall token as it was provided by the client in LinkPersona RPC", +"type": "string" +} +}, +"type": "object" +}, +"UnlinkPersonaResponse": { +"description": "Response for the UnlinkPersona RPC", +"id": "UnlinkPersonaResponse", +"properties": { +"unlinked": { +"description": "Required. Whether a Recall token specified by the request was deleted. Can be 'false' when there were no Recall tokens satisfied the criteria from the request.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Play Games Services API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gameservices.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gameservices.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..f87bed8655570e4076952d51f774550614d8b655 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gameservices.v1.json @@ -0,0 +1,1007 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://gameservices.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Game Services", + "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/solutions/gaming/", + "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": "gameservices:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://gameservices.mtls.googleapis.com/", + "name": "gameservices", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "gameservices.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "gameservices.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "includeUnrevealedLocations": { + "description": "If true, the returned list will include locations which are not yet revealed.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "gameServerDeployments": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:getIamPolicy", + "httpMethod": "GET", + "id": "gameservices.projects.locations.gameServerDeployments.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.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", + "location": "query", + "type": "integer" + }, + "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/[^/]+/gameServerDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:setIamPolicy", + "httpMethod": "POST", + "id": "gameservices.projects.locations.gameServerDeployments.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/[^/]+/gameServerDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:testIamPermissions", + "httpMethod": "POST", + "id": "gameservices.projects.locations.gameServerDeployments.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/[^/]+/gameServerDeployments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "gameservices.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "gameservices.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "gameservices.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "gameservices.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20230706", + "rootUrl": "https://gameservices.googleapis.com/", + "schemas": { + "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" + }, + "ignoreChildExemptions": { + "type": "boolean" + }, + "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" + }, + "AuthorizationLoggingOptions": { + "description": "Authorization-related information used by Cloud Audit Logging.", + "id": "AuthorizationLoggingOptions", + "properties": { + "permissionType": { + "description": "The type of the permission that was checked.", + "enum": [ + "PERMISSION_TYPE_UNSPECIFIED", + "ADMIN_READ", + "ADMIN_WRITE", + "DATA_READ", + "DATA_WRITE" + ], + "enumDescriptions": [ + "Default. Should not be used.", + "A read of admin (meta) data.", + "A write of admin (meta) data.", + "A read of standard data.", + "A write of standard data." + ], + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "bindingId": { + "type": "string" + }, + "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`. * `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.", + "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`.", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CloudAuditOptions": { + "description": "Write a Cloud Audit log", + "id": "CloudAuditOptions", + "properties": { + "authorizationLoggingOptions": { + "$ref": "AuthorizationLoggingOptions", + "description": "Information used by the Cloud Audit Logging pipeline." + }, + "logName": { + "description": "The log_name to populate in the Cloud Audit Record.", + "enum": [ + "UNSPECIFIED_LOG_NAME", + "ADMIN_ACTIVITY", + "DATA_ACCESS" + ], + "enumDescriptions": [ + "Default. Should not be used.", + "Corresponds to \"cloudaudit.googleapis.com/activity\"", + "Corresponds to \"cloudaudit.googleapis.com/data_access\"" + ], + "type": "string" + } + }, + "type": "object" + }, + "Condition": { + "description": "A condition to be met.", + "id": "Condition", + "properties": { + "iam": { + "description": "Trusted attributes supplied by the IAM system.", + "enum": [ + "NO_ATTR", + "AUTHORITY", + "ATTRIBUTION", + "SECURITY_REALM", + "APPROVER", + "JUSTIFICATION_TYPE", + "CREDENTIALS_TYPE", + "CREDS_ASSERTION" + ], + "enumDescriptions": [ + "Default non-attribute.", + "Either principal or (if present) authority selector.", + "The principal (even if an authority selector is present), which must only be used for attribution, not authorization.", + "Any of the security realms in the IAMContext (go/security-realms). When used with IN, the condition indicates \"any of the request's realms match one of the given values; with NOT_IN, \"none of the realms match any of the given values\". Note that a value can be: - 'self:campus' (i.e., clients that are in the same campus) - 'self:metro' (i.e., clients that are in the same metro) - 'self:cloud-region' (i.e., allow connections from clients that are in the same cloud region) - 'self:prod-region' (i.e., allow connections from clients that are in the same prod region) - 'guardians' (i.e., allow connections from its guardian realms. See go/security-realms-glossary#guardian for more information.) - 'self' [DEPRECATED] (i.e., allow connections from clients that are in the same security realm, which is currently but not guaranteed to be campus-sized) - a realm (e.g., 'campus-abc') - a realm group (e.g., 'realms-for-borg-cell-xx', see: go/realm-groups) A match is determined by a realm group membership check performed by a RealmAclRep object (go/realm-acl-howto). It is not permitted to grant access based on the *absence* of a realm, so realm conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", + "An approver (distinct from the requester) that has authorized this request. When used with IN, the condition indicates that one of the approvers associated with the request matches the specified principal, or is a member of the specified group. Approvers can only grant additional access, and are thus only used in a strictly positive context (e.g. ALLOW/IN or DENY/NOT_IN).", + "What types of justifications have been supplied with this request. String values should match enum names from security.credentials.JustificationType, e.g. \"MANUAL_STRING\". It is not permitted to grant access based on the *absence* of a justification, so justification conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN). Multiple justifications, e.g., a Buganizer ID and a manually-entered reason, are normal and supported.", + "What type of credentials have been supplied with this request. String values should match enum names from security_loas_l2.CredentialsType - currently, only CREDS_TYPE_EMERGENCY is supported. It is not permitted to grant access based on the *absence* of a credentials type, so the conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).", + "EXPERIMENTAL -- DO NOT USE. The conditions can only be used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN)." + ], + "type": "string" + }, + "op": { + "description": "An operator to apply the subject with.", + "enum": [ + "NO_OP", + "EQUALS", + "NOT_EQUALS", + "IN", + "NOT_IN", + "DISCHARGED" + ], + "enumDescriptions": [ + "Default no-op.", + "DEPRECATED. Use IN instead.", + "DEPRECATED. Use NOT_IN instead.", + "The condition is true if the subject (or any element of it if it is a set) matches any of the supplied values.", + "The condition is true if the subject (or every element of it if it is a set) matches none of the supplied values.", + "Subject is discharged" + ], + "type": "string" + }, + "svc": { + "description": "Trusted attributes discharged by the service.", + "type": "string" + }, + "sys": { + "description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.", + "enum": [ + "NO_ATTR", + "REGION", + "SERVICE", + "NAME", + "IP" + ], + "enumDescriptions": [ + "Default non-attribute type", + "Region of the resource", + "Service name", + "Resource name", + "IP address of the caller" + ], + "type": "string" + }, + "values": { + "description": "The objects of the condition.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CounterOptions": { + "description": "Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]}", + "id": "CounterOptions", + "properties": { + "customFields": { + "description": "Custom fields.", + "items": { + "$ref": "CustomField" + }, + "type": "array" + }, + "field": { + "description": "The field value to attribute.", + "type": "string" + }, + "metric": { + "description": "The metric to update.", + "type": "string" + } + }, + "type": "object" + }, + "CustomField": { + "description": "Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields.", + "id": "CustomField", + "properties": { + "name": { + "description": "Name is the field name.", + "type": "string" + }, + "value": { + "description": "Value is the field value. It is important that in contrast to the CounterOptions.field, the value here is a constant that is not derived from the IAMContext.", + "type": "string" + } + }, + "type": "object" + }, + "DataAccessOptions": { + "description": "Write a Data Access (Gin) log", + "id": "DataAccessOptions", + "properties": { + "logMode": { + "enum": [ + "LOG_MODE_UNSPECIFIED", + "LOG_FAIL_CLOSED" + ], + "enumDescriptions": [ + "Client is not required to write a partial Gin log immediately after the authorization check. If client chooses to write one and it fails, client may either fail open (allow the operation to continue) or fail closed (handle as a DENY outcome).", + "The application's operation in the context of which this authorization check is being made may only be performed if it is successfully logged to Gin. For instance, the authorization library may satisfy this obligation by emitting a partial log entry at authorization check time and only returning ALLOW to the application if it succeeds. If a matching Rule has this directive, but the client has not indicated that it will honor such requirements, then the IAM check will result in authorization failure by setting CheckPolicyResponse.success=false." + ], + "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" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "LogConfig": { + "description": "Specifies what kind of log the caller must write", + "id": "LogConfig", + "properties": { + "cloudAudit": { + "$ref": "CloudAuditOptions", + "description": "Cloud audit options." + }, + "counter": { + "$ref": "CounterOptions", + "description": "Counter options." + }, + "dataAccess": { + "$ref": "DataAccessOptions", + "description": "Data access options." + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "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" + }, + "rules": { + "description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.", + "items": { + "$ref": "Rule" + }, + "type": "array" + }, + "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" + }, + "Rule": { + "description": "A rule to be applied in a Policy.", + "id": "Rule", + "properties": { + "action": { + "description": "Required", + "enum": [ + "NO_ACTION", + "ALLOW", + "ALLOW_WITH_LOG", + "DENY", + "DENY_WITH_LOG", + "LOG" + ], + "enumDescriptions": [ + "Default no action.", + "Matching 'Entries' grant access.", + "Matching 'Entries' grant access and the caller promises to log the request per the returned log_configs.", + "Matching 'Entries' deny access.", + "Matching 'Entries' deny access and the caller promises to log the request per the returned log_configs.", + "Matching 'Entries' tell IAM.Check callers to generate logs." + ], + "type": "string" + }, + "conditions": { + "description": "Additional restrictions that must be met. All conditions must pass for the rule to match.", + "items": { + "$ref": "Condition" + }, + "type": "array" + }, + "description": { + "description": "Human-readable description of the rule.", + "type": "string" + }, + "in": { + "description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logConfig": { + "description": "The config returned to callers of CheckPolicy for any entries that match the LOG action.", + "items": { + "$ref": "LogConfig" + }, + "type": "array" + }, + "notIn": { + "description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. The format for in and not_in entries can be found at in the Local IAM documentation (see go/local-iam#features).", + "items": { + "type": "string" + }, + "type": "array" + }, + "permissions": { + "description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", + "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" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "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": "Game Services API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..d27c7427be30231b97798e13846fa60bcfb40b7a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json @@ -0,0 +1,8424 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkehub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE Hub", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"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": "gkehub:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", +"name": "gkehub", +"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": { +"organizations": { +"resources": { +"locations": { +"resources": { +"fleets": { +"methods": { +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.organizations.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"features": { +"methods": { +"create": { +"description": "Adds a new Feature.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "The ID of the feature to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/features", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Feature.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Feature.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Feature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Features in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features", +"httpMethod": "GET", +"id": "gkehub.projects.locations.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name \"servicemesh\" in project \"foo-proj\": name = \"projects/foo-proj/locations/global/features/servicemesh\" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+parent}/features", +"response": { +"$ref": "ListFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Feature.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Feature resource name in the format `projects/*/locations/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A 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" +}, +"updateMask": { +"description": "Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Feature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.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/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/features/{featuresId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.features.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/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"fleets": { +"methods": { +"create": { +"description": "Creates a fleet.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "POST", +"id": "gkehub.projects.locations.fleets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/fleets", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Fleet. There must be no memberships remaining in the Fleet.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.fleets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Fleet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns all fleets within an organization or a project that the caller has access to.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/fleets", +"httpMethod": "GET", +"id": "gkehub.projects.locations.fleets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/fleets", +"response": { +"$ref": "ListFleetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/fleets/{fleetsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.fleets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/fleets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated;", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Fleet" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"memberships": { +"methods": { +"create": { +"description": "Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipId": { +"description": "Required. Client chosen ID for the membership. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/memberships", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a Membership. **This is currently only supported for GKE clusters on Google Cloud**. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateConnectManifest": { +"description": "Generates the manifest for deployment of the GKE connect agent. **This method is used internally by Google-provided libraries.** Most clients should not need to call this method directly.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateConnectManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateConnectManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"imagePullSecretContent": { +"description": "Optional. The image pull secret content for the registry, if not public.", +"format": "byte", +"location": "query", +"type": "string" +}, +"isUpgrade": { +"description": "Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"namespace": { +"description": "Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.", +"location": "query", +"type": "string" +}, +"proxy": { +"description": "Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.", +"format": "byte", +"location": "query", +"type": "string" +}, +"registry": { +"description": "Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.", +"location": "query", +"type": "string" +}, +"version": { +"description": "Optional. The Connect agent version to use. Defaults to the most current version.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}:generateConnectManifest", +"response": { +"$ref": "GenerateConnectManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateExclusivityManifest": { +"description": "GenerateExclusivityManifest generates the manifests to update the exclusivity artifacts in the cluster if needed. Exclusivity artifacts include the Membership custom resource definition (CRD) and the singleton Membership custom resource (CR). Combined with ValidateExclusivity, exclusivity artifacts guarantee that a Kubernetes cluster is only registered to a single GKE Hub. The Membership CRD is versioned, and may require conversion when the GKE Hub API server begins serving a newer version of the CRD and corresponding CR. The response will be the converted CRD and CR if there are any differences between the versions.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateExclusivityManifest", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.generateExclusivityManifest", +"parameterOrder": [ +"name" +], +"parameters": { +"crManifest": { +"description": "Optional. The YAML manifest of the membership CR retrieved by `kubectl get memberships membership`. Leave empty if the resource does not exist.", +"location": "query", +"type": "string" +}, +"crdManifest": { +"description": "Optional. The YAML manifest of the membership CRD retrieved by `kubectl get customresourcedefinitions membership`. Leave empty if the resource does not exist.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:generateExclusivityManifest", +"response": { +"$ref": "GenerateExclusivityManifestResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a Membership.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Membership" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Memberships in a given project and location.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in project `foo-proj` and location `global`: name = \"projects/foo-proj/locations/global/membership/bar\" - Memberships that have a label called `foo`: labels.foo:* - Memberships that have a label called `foo` whose value is `bar`: labels.foo = bar - Memberships in the CREATING state: state = CREATING", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be listed. Specified in the format `projects/*/locations/*`. `projects/*/locations/-` list memberships in all the regions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/memberships", +"response": { +"$ref": "ListMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listAdmin": { +"description": "Lists Memberships of admin clusters in a given project and location. **This method is only used internally**.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships:listAdmin", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.listAdmin", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships of admin clusters that match the filter expression.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListAdminClusterMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships of admin cluster will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/memberships:listAdmin", +"response": { +"$ref": "ListAdminClusterMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing Membership.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Membership resource name in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server 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" +}, +"updateMask": { +"description": "Required. Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Membership" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.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/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.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/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateCreate": { +"description": "ValidateCreateMembership is a preflight check for CreateMembership. It checks the following: 1. Caller has the required `gkehub.memberships.create` permission. 2. The membership_id is still available.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships:validateCreate", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.validateCreate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/memberships:validateCreate", +"request": { +"$ref": "ValidateCreateMembershipRequest" +}, +"response": { +"$ref": "ValidateCreateMembershipResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateExclusivity": { +"description": "ValidateExclusivity validates the state of exclusivity in the cluster. The validation does not depend on an existing Hub membership resource.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships:validateExclusivity", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.validateExclusivity", +"parameterOrder": [ +"parent" +], +"parameters": { +"crManifest": { +"description": "Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.", +"location": "query", +"type": "string" +}, +"intendedMembership": { +"description": "Required. The intended membership name under the `parent`. This method only does validation in anticipation of a CreateMembership call with the same name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/memberships:validateExclusivity", +"response": { +"$ref": "ValidateExclusivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bindings": { +"methods": { +"create": { +"description": "Creates a MembershipBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.bindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"membershipBindingId": { +"description": "Required. The ID to use for the MembershipBinding.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/bindings", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a MembershipBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.bindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a MembershipBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipBinding resource name in the format `projects/*/locations/*/memberships/*/bindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "MembershipBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MembershipBindings.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.bindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists MembershipBindings that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent Membership for which the MembershipBindings will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/bindings", +"response": { +"$ref": "ListMembershipBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a MembershipBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/bindings/{bindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.bindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/bindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "MembershipBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Membership RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Membership RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"generateMembershipRBACRoleBindingYAML": { +"description": "Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.generateMembershipRBACRoleBindingYAML", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "GenerateMembershipRBACRoleBindingYAMLResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Membership RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Membership RBACRoleBindings.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListMembershipRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Membership RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkehub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rolloutSequences": { +"methods": { +"create": { +"description": "Create a new rollout sequence resource.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rolloutSequences", +"httpMethod": "POST", +"id": "gkehub.projects.locations.rolloutSequences.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this rollout sequence will be created. projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"rolloutSequenceId": { +"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rolloutSequences", +"request": { +"$ref": "RolloutSequence" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Remove a RolloutSequence.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.rolloutSequences.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout sequence to delete. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Retrieve a single rollout sequence.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rolloutSequences.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout sequence to retrieve. projects/{project}/locations/{location}/rolloutSequences/{rollout_sequence}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "RolloutSequence" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve the list of all rollout sequences.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rolloutSequences", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rolloutSequences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Rollout Sequences that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of rollout sequences to return. The service may return fewer than this value. If unspecified, at most 50 rollout sequences will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListRolloutSequences` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRolloutSequences` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of rollout sequences. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rolloutSequences", +"response": { +"$ref": "ListRolloutSequencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a rollout sequence.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rolloutSequences/{rolloutSequencesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.rolloutSequences.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rolloutSequences/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "RolloutSequence" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rollouts": { +"methods": { +"get": { +"description": "Retrieve a single rollout.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rollouts/{rolloutsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rollouts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the rollout to retrieve. projects/{project}/locations/{location}/rollouts/{rollout}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/rollouts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Retrieve the list of all rollouts.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/rollouts", +"httpMethod": "GET", +"id": "gkehub.projects.locations.rollouts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Lists Rollouts that match the filter expression, following the syntax outlined in https://google.aip.dev/160.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of rollout to return. The service may return fewer than this value. If unspecified, at most 50 rollouts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRollouts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRollouts` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of rollout. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rollouts", +"response": { +"$ref": "ListRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scopes": { +"methods": { +"create": { +"description": "Creates a Scope.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Scope will be created. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scopeId": { +"description": "Required. Client chosen ID for the Scope. `scope_id` must be a ????", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/scopes", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Scope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:getIamPolicy", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Scopes.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/scopes", +"response": { +"$ref": "ListScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listMemberships": { +"description": "Lists Memberships bound to a Scope. The response includes relevant Memberships from all regions.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:listMemberships", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listMemberships", +"parameterOrder": [ +"scopeName" +], +"parameters": { +"filter": { +"description": "Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. Pagination is currently not supported; therefore, setting this field does not have any impact for now.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"scopeName": { +"description": "Required. Name of the Scope, in the format `projects/*/locations/global/scopes/*`, to which the Memberships are bound.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+scopeName}:listMemberships", +"response": { +"$ref": "ListBoundMembershipsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listPermitted": { +"description": "Lists permitted Scopes.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes:listPermitted", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.listPermitted", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Scope will be listed. Specified in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/scopes:listPermitted", +"response": { +"$ref": "ListPermittedScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a scopes.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:setIamPolicy", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.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/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}:testIamPermissions", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.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/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"namespaces": { +"methods": { +"create": { +"description": "Creates a fleet namespace.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.namespaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the Namespace will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"scopeNamespaceId": { +"description": "Required. Client chosen ID for the Namespace. `namespace_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/namespaces", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a fleet namespace.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.namespaces.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a fleet namespace.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The Namespace resource name in the format `projects/*/locations/*/scopes/*/namespaces/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Namespace" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists fleet namespaces.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.namespaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/namespaces", +"response": { +"$ref": "ListScopeNamespacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a fleet namespace.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/namespaces/{namespacesId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.namespaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/namespaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "Namespace" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"rbacrolebindings": { +"methods": { +"create": { +"description": "Creates a Scope RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "POST", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"rbacrolebindingId": { +"description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rbacrolebindings", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Scope RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the details of a Scope RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/scopes/*/rbacrolebindings/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "RBACRoleBinding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Scope RBACRoleBindings.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings", +"httpMethod": "GET", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*/scopes/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/rbacrolebindings", +"response": { +"$ref": "ListScopeRBACRoleBindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Scope RBACRoleBinding.", +"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}/rbacrolebindings/{rbacrolebindingsId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.scopes.rbacrolebindings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+/rbacrolebindings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"request": { +"$ref": "RBACRoleBinding" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260215", +"rootUrl": "https://gkehub.googleapis.com/", +"schemas": { +"AppDevExperienceFeatureSpec": { +"description": "Spec for App Dev Experience Feature.", +"id": "AppDevExperienceFeatureSpec", +"properties": {}, +"type": "object" +}, +"AppDevExperienceFeatureState": { +"description": "State for App Dev Exp Feature.", +"id": "AppDevExperienceFeatureState", +"properties": { +"networkingInstallSucceeded": { +"$ref": "Status", +"description": "Status of subcomponent that detects configured Service Mesh resources." +} +}, +"type": "object" +}, +"ApplianceCluster": { +"description": "ApplianceCluster contains information specific to GDC Edge Appliance Clusters.", +"id": "ApplianceCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance", +"type": "string" +} +}, +"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" +}, +"Authority": { +"description": "Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity", +"id": "Authority", +"properties": { +"identityProvider": { +"description": "Output only. An identity provider that reflects the `issuer` in the workload identity pool.", +"readOnly": true, +"type": "string" +}, +"issuer": { +"description": "Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters, it must use `location` rather than `zone` for GKE clusters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity).", +"type": "string" +}, +"oidcJwks": { +"description": "Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). When this field is set, OIDC discovery will NOT be performed on `issuer`, and instead OIDC tokens will be validated using this field.", +"format": "byte", +"type": "string" +}, +"scopeTenancyIdentityProvider": { +"description": "Optional. Output only. The identity provider for the scope-tenancy workload identity pool.", +"readOnly": true, +"type": "string" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "Optional. Output only. The name of the scope-tenancy workload identity pool. This pool is set in the fleet-level feature.", +"readOnly": true, +"type": "string" +}, +"workloadIdentityPool": { +"description": "Output only. The name of the workload identity pool in which `issuer` will be recognized. There is a single Workload Identity Pool per Hub that is shared between all Memberships that belong to that Hub. For a Hub hosted in {PROJECT_ID}, the workload pool format is `{PROJECT_ID}.hub.id.goog`, although this is subject to change in newer versions of this API.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BinaryAuthorizationConfig": { +"description": "BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.", +"id": "BinaryAuthorizationConfig", +"properties": { +"evaluationMode": { +"description": "Optional. Mode of operation for binauthz policy evaluation.", +"enum": [ +"EVALUATION_MODE_UNSPECIFIED", +"DISABLED", +"POLICY_BINDINGS" +], +"enumDescriptions": [ +"Default value", +"Disable BinaryAuthorization", +"Use Binary Authorization with the policies specified in policy_bindings." +], +"type": "string" +}, +"policyBindings": { +"description": "Optional. Binauthz policies that apply to this cluster.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"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" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudAuditLoggingFeatureSpec": { +"description": "**Cloud Audit Logging**: Spec for Audit Logging Allowlisting.", +"id": "CloudAuditLoggingFeatureSpec", +"properties": { +"allowlistedServiceAccounts": { +"description": "Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudBuildMembershipSpec": { +"description": "**Cloud Build**: Configurations for each Cloud Build enabled cluster.", +"id": "CloudBuildMembershipSpec", +"properties": { +"securityPolicy": { +"description": "Whether it is allowed to run the privileged builds on the cluster or not.", +"enum": [ +"SECURITY_POLICY_UNSPECIFIED", +"NON_PRIVILEGED", +"PRIVILEGED" +], +"enumDescriptions": [ +"Unspecified policy", +"Privileged build pods are disallowed", +"Privileged build pods are allowed" +], +"type": "string" +}, +"version": { +"description": "Version of the cloud build software on the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterSelector": { +"description": "Selector for clusters.", +"id": "ClusterSelector", +"properties": { +"labelSelector": { +"description": "Required. A valid CEL (Common Expression Language) expression which evaluates `resource.labels`.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeFleetSpec": { +"description": "**ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetSpec", +"properties": { +"gkeUpgradeOverrides": { +"description": "Allow users to override some properties of each GKE upgrade.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeOverride" +}, +"type": "array" +}, +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required." +}, +"upgradeEngine": { +"description": "Output only. The effective upgrade engine for the fleet.", +"enum": [ +"UPGRADE_ENGINE_UNSPECIFIED", +"SEQUENCING_V1", +"SEQUENCING_V2" +], +"enumDescriptions": [ +"Default value.", +"Upgrades are managed using fleet-based rollout sequencing.", +"Upgrades are managed using rollout sequencing with custom stages." +], +"readOnly": true, +"type": "string" +}, +"upstreamFleets": { +"description": "This fleet consumes upgrades that have COMPLETE status code in the upstream fleets. See UpgradeStatus.Code for code definitions. The fleet name should be either fleet project number or id. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream fleet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeFleetState": { +"description": "**ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.", +"id": "ClusterUpgradeFleetState", +"properties": { +"downstreamFleets": { +"description": "This fleets whose upstream_fleets contain the current fleet. The fleet name should be either fleet project number or id.", +"items": { +"type": "string" +}, +"type": "array" +}, +"gkeState": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureState", +"description": "Feature state for GKE clusters." +}, +"ignored": { +"additionalProperties": { +"$ref": "ClusterUpgradeIgnoredMembership" +}, +"description": "A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.", +"type": "object" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgrade": { +"description": "GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.", +"id": "ClusterUpgradeGKEUpgrade", +"properties": { +"name": { +"description": "Name of the upgrade, e.g., \"k8s_control_plane\". It should be a valid upgrade name. It must not exceet 99 characters.", +"type": "string" +}, +"version": { +"description": "Version of the upgrade, e.g., \"1.22.1-gke.100\". It should be a valid version. It must not exceet 99 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureCondition": { +"description": "GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.", +"id": "ClusterUpgradeGKEUpgradeFeatureCondition", +"properties": { +"reason": { +"description": "Reason why the feature is in this status.", +"type": "string" +}, +"status": { +"description": "Status of the condition, one of True, False, Unknown.", +"type": "string" +}, +"type": { +"description": "Type of the condition, for example, \"ready\".", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the condition was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeFeatureState": { +"description": "GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.", +"id": "ClusterUpgradeGKEUpgradeFeatureState", +"properties": { +"conditions": { +"description": "Current conditions of the feature.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureCondition" +}, +"type": "array" +}, +"upgradeState": { +"description": "Upgrade state. It will eventually replace `state`.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeOverride": { +"description": "Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.", +"id": "ClusterUpgradeGKEUpgradeOverride", +"properties": { +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to override for the specified upgrade (name + version). Required." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Required. Which upgrade to override. Required." +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgradeState": { +"description": "GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.", +"id": "ClusterUpgradeGKEUpgradeState", +"properties": { +"stats": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Number of GKE clusters in each status code.", +"type": "object" +}, +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeIgnoredMembership": { +"description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.", +"id": "ClusterUpgradeIgnoredMembership", +"properties": { +"ignoredTime": { +"description": "Time when the membership was first set to ignored.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "Reason why the membership is ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipGKEUpgradeState": { +"description": "ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.", +"id": "ClusterUpgradeMembershipGKEUpgradeState", +"properties": { +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipState": { +"description": "Per-membership state for this feature.", +"id": "ClusterUpgradeMembershipState", +"properties": { +"ignored": { +"$ref": "ClusterUpgradeIgnoredMembership", +"description": "Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel." +}, +"scopes": { +"description": "Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled.", +"items": { +"type": "string" +}, +"type": "array" +}, +"upgrades": { +"description": "Actual upgrade state against desired.", +"items": { +"$ref": "ClusterUpgradeMembershipGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradePostConditions": { +"description": "Post conditional checks after an upgrade has been applied on all eligible clusters.", +"id": "ClusterUpgradePostConditions", +"properties": { +"soaking": { +"description": "Required. Amount of time to \"soak\" after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeScopeSpec": { +"description": "**ClusterUpgrade**: The configuration for the scope-level ClusterUpgrade feature.", +"id": "ClusterUpgradeScopeSpec", +"properties": { +"gkeUpgradeOverrides": { +"description": "Allow users to override some properties of each GKE upgrade.", +"items": { +"$ref": "ClusterUpgradeGKEUpgradeOverride" +}, +"type": "array" +}, +"postConditions": { +"$ref": "ClusterUpgradePostConditions", +"description": "Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required." +}, +"upstreamScopes": { +"description": "This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. This is defined as repeated for future proof reasons. Initial implementation will enforce at most one upstream scope.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeScopeState": { +"description": "**ClusterUpgrade**: The state for the scope-level ClusterUpgrade feature.", +"id": "ClusterUpgradeScopeState", +"properties": { +"downstreamScopes": { +"description": "This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.", +"items": { +"type": "string" +}, +"type": "array" +}, +"gkeState": { +"$ref": "ClusterUpgradeGKEUpgradeFeatureState", +"description": "Feature state for GKE clusters." +}, +"ignored": { +"additionalProperties": { +"$ref": "ClusterUpgradeIgnoredMembership" +}, +"description": "A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.", +"type": "object" +} +}, +"type": "object" +}, +"ClusterUpgradeUpgradeStatus": { +"description": "UpgradeStatus provides status information for each upgrade.", +"id": "ClusterUpgradeUpgradeStatus", +"properties": { +"code": { +"description": "Status code of the upgrade.", +"enum": [ +"CODE_UNSPECIFIED", +"INELIGIBLE", +"PENDING", +"IN_PROGRESS", +"SOAKING", +"FORCED_SOAKING", +"COMPLETE" +], +"enumDescriptions": [ +"Required by https://linter.aip.dev/126/unspecified.", +"The upgrade is ineligible. At the scope level, this means the upgrade is ineligible for all the clusters in the scope.", +"The upgrade is pending. At the scope level, this means the upgrade is pending for all the clusters in the scope.", +"The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", +"The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", +"A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", +"The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." +], +"type": "string" +}, +"reason": { +"description": "Reason for this status.", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the status was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CommonFeatureSpec": { +"description": "CommonFeatureSpec contains Fleet-wide configuration information", +"id": "CommonFeatureSpec", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureSpec", +"description": "Appdevexperience specific spec." +}, +"cloudauditlogging": { +"$ref": "CloudAuditLoggingFeatureSpec", +"description": "Cloud Audit Logging-specific spec." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetSpec", +"description": "ClusterUpgrade (fleet-based) feature spec." +}, +"dataplanev2": { +"$ref": "DataplaneV2FeatureSpec", +"description": "DataplaneV2 feature spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureSpec", +"description": "FleetObservability feature spec." +}, +"multiclusteringress": { +"$ref": "MultiClusterIngressFeatureSpec", +"description": "Multicluster Ingress-specific spec." +}, +"namespaceactuation": { +"$ref": "NamespaceActuationFeatureSpec", +"description": "Namespace Actuation feature spec" +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureSpec", +"description": "RBAC Role Binding Actuation feature spec" +}, +"workloadcertificate": { +"$ref": "FeatureSpec", +"description": "Workload Certificate spec." +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureSpec", +"description": "Workload Identity feature spec." +} +}, +"type": "object" +}, +"CommonFeatureState": { +"description": "CommonFeatureState contains Fleet-wide Feature status information.", +"id": "CommonFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeFleetState", +"description": "ClusterUpgrade fleet-level state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityFeatureState", +"description": "FleetObservability feature state." +}, +"namespaceactuation": { +"$ref": "NamespaceActuationFeatureState", +"description": "Namespace Actuation feature state." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationFeatureState", +"description": "RBAC Role Binding Actuation feature state" +}, +"servicemesh": { +"$ref": "ServiceMeshFeatureState", +"description": "Service Mesh-specific state." +}, +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Fleet.", +"readOnly": true +}, +"workloadidentity": { +"$ref": "WorkloadIdentityFeatureState", +"description": "WorkloadIdentity fleet-level state." +} +}, +"type": "object" +}, +"CommonFleetDefaultMemberConfigSpec": { +"description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", +"id": "CommonFleetDefaultMemberConfigSpec", +"properties": { +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +} +}, +"type": "object" +}, +"CompliancePostureConfig": { +"deprecated": true, +"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.", +"id": "CompliancePostureConfig", +"properties": { +"complianceStandards": { +"description": "List of enabled compliance standards.", +"items": { +"$ref": "ComplianceStandard" +}, +"type": "array" +}, +"mode": { +"description": "Defines the enablement mode for Compliance Posture.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Compliance Posture features on the cluster.", +"Enables Compliance Posture features on the cluster." +], +"type": "string" +} +}, +"type": "object" +}, +"ComplianceStandard": { +"id": "ComplianceStandard", +"properties": { +"standard": { +"description": "Name of the compliance standard.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzConfig": { +"description": "Configuration for Binauthz", +"id": "ConfigManagementBinauthzConfig", +"properties": { +"enabled": { +"description": "Whether binauthz is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzState": { +"description": "State for Binauthz", +"id": "ConfigManagementBinauthzState", +"properties": { +"version": { +"$ref": "ConfigManagementBinauthzVersion", +"description": "The version of binauthz that is installed." +}, +"webhook": { +"description": "The state of the binauthz webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzVersion": { +"description": "The version of binauthz.", +"id": "ConfigManagementBinauthzVersion", +"properties": { +"webhookVersion": { +"description": "The version of the binauthz webhook.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSync": { +"description": "Configuration for Config Sync", +"id": "ConfigManagementConfigSync", +"properties": { +"deploymentOverrides": { +"description": "Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.", +"items": { +"$ref": "ConfigManagementDeploymentOverride" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.", +"type": "boolean" +}, +"git": { +"$ref": "ConfigManagementGitConfig", +"description": "Optional. Git repo configuration for the cluster." +}, +"metricsGcpServiceAccountEmail": { +"deprecated": true, +"description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", +"type": "string" +}, +"oci": { +"$ref": "ConfigManagementOciConfig", +"description": "Optional. OCI repo configuration for the cluster" +}, +"preventDrift": { +"description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.", +"type": "boolean" +}, +"sourceFormat": { +"description": "Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.", +"type": "string" +}, +"stopSyncing": { +"description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncDeploymentState": { +"description": "The state of ConfigSync's deployment on a cluster", +"id": "ConfigManagementConfigSyncDeploymentState", +"properties": { +"admissionWebhook": { +"description": "Deployment state of admission-webhook", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gitSync": { +"description": "Deployment state of the git-sync pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"importer": { +"description": "Deployment state of the importer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"monitor": { +"description": "Deployment state of the monitor pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"otelCollector": { +"description": "Deployment state of otel-collector", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"reconcilerManager": { +"description": "Deployment state of reconciler-manager pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Deployment state of resource-group-controller-manager", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"rootReconciler": { +"description": "Deployment state of root-reconciler", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"syncer": { +"description": "Deployment state of the syncer pod", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncError": { +"description": "Errors pertaining to the installation of Config Sync", +"id": "ConfigManagementConfigSyncError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncState": { +"description": "State information for ConfigSync", +"id": "ConfigManagementConfigSyncState", +"properties": { +"clusterLevelStopSyncingState": { +"description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", +"enum": [ +"STOP_SYNCING_STATE_UNSPECIFIED", +"NOT_STOPPED", +"PENDING", +"STOPPED" +], +"enumDescriptions": [ +"State cannot be determined", +"Syncing resources to the cluster is not stopped at the cluster level.", +"Some reconcilers stop syncing resources to the cluster, while others are still syncing.", +"Syncing resources to the cluster is stopped at the cluster level." +], +"readOnly": true, +"type": "string" +}, +"crCount": { +"description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"deploymentState": { +"$ref": "ConfigManagementConfigSyncDeploymentState", +"description": "Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed", +"readOnly": true +}, +"errors": { +"description": "Output only. Errors pertaining to the installation of Config Sync.", +"items": { +"$ref": "ConfigManagementConfigSyncError" +}, +"readOnly": true, +"type": "array" +}, +"reposyncCrd": { +"description": "Output only. The state of the Reposync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"rootsyncCrd": { +"description": "Output only. The state of the RootSync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of CS This field summarizes the other fields in this message.", +"enum": [ +"STATE_UNSPECIFIED", +"CONFIG_SYNC_NOT_INSTALLED", +"CONFIG_SYNC_INSTALLED", +"CONFIG_SYNC_ERROR", +"CONFIG_SYNC_PENDING" +], +"enumDescriptions": [ +"CS's state cannot be determined.", +"CS is not installed.", +"The expected CS version is installed successfully.", +"CS encounters errors.", +"CS is installing or terminating." +], +"readOnly": true, +"type": "string" +}, +"syncState": { +"$ref": "ConfigManagementSyncState", +"description": "Output only. The state of ConfigSync's process to sync configs to a cluster", +"readOnly": true +}, +"version": { +"$ref": "ConfigManagementConfigSyncVersion", +"description": "Output only. The version of ConfigSync deployed", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncVersion": { +"description": "Specific versioning information pertaining to ConfigSync's Pods", +"id": "ConfigManagementConfigSyncVersion", +"properties": { +"admissionWebhook": { +"description": "Version of the deployed admission-webhook pod", +"type": "string" +}, +"gitSync": { +"description": "Version of the deployed git-sync pod", +"type": "string" +}, +"importer": { +"description": "Version of the deployed importer pod", +"type": "string" +}, +"monitor": { +"description": "Version of the deployed monitor pod", +"type": "string" +}, +"otelCollector": { +"description": "Version of the deployed otel-collector pod", +"type": "string" +}, +"reconcilerManager": { +"description": "Version of the deployed reconciler-manager pod", +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Version of the deployed resource-group-controller-manager pod", +"type": "string" +}, +"rootReconciler": { +"description": "Version of the deployed reconciler container in root-reconciler pod", +"type": "string" +}, +"syncer": { +"description": "Version of the deployed syncer pod", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementContainerOverride": { +"description": "Configuration for a container override.", +"id": "ConfigManagementContainerOverride", +"properties": { +"containerName": { +"description": "Required. The name of the container.", +"type": "string" +}, +"cpuLimit": { +"description": "Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"cpuRequest": { +"description": "Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"memoryLimit": { +"description": "Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +}, +"memoryRequest": { +"description": "Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementDeploymentOverride": { +"description": "Configuration for a deployment override.", +"id": "ConfigManagementDeploymentOverride", +"properties": { +"containers": { +"description": "Optional. The containers of the deployment resource to be overridden.", +"items": { +"$ref": "ConfigManagementContainerOverride" +}, +"type": "array" +}, +"deploymentName": { +"description": "Required. The name of the deployment resource to be overridden.", +"type": "string" +}, +"deploymentNamespace": { +"description": "Required. The namespace of the deployment resource to be overridden.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementErrorResource": { +"description": "Model for a config file in the git repo with an associated Sync error", +"id": "ConfigManagementErrorResource", +"properties": { +"resourceGvk": { +"$ref": "ConfigManagementGroupVersionKind", +"description": "Group/version/kind of the resource that is causing an error" +}, +"resourceName": { +"description": "Metadata name of the resource that is causing an error", +"type": "string" +}, +"resourceNamespace": { +"description": "Namespace of the resource that is causing an error", +"type": "string" +}, +"sourcePath": { +"description": "Path in the git repo of the erroneous config", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGatekeeperDeploymentState": { +"description": "State of Policy Controller installation.", +"id": "ConfigManagementGatekeeperDeploymentState", +"properties": { +"gatekeeperAudit": { +"description": "Status of gatekeeper-audit deployment.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperControllerManagerState": { +"description": "Status of gatekeeper-controller-manager pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperMutation": { +"description": "Status of the pod serving the mutation webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGitConfig": { +"description": "Git repo configuration for a single cluster.", +"id": "ConfigManagementGitConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"httpsProxy": { +"description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncBranch": { +"description": "Optional. The branch of the repository to sync from. Default: master.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The URL of the Git repository to use as the source of truth.", +"type": "string" +}, +"syncRev": { +"description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGroupVersionKind": { +"description": "A Kubernetes object's GVK", +"id": "ConfigManagementGroupVersionKind", +"properties": { +"group": { +"description": "Kubernetes Group", +"type": "string" +}, +"kind": { +"description": "Kubernetes Kind", +"type": "string" +}, +"version": { +"description": "Kubernetes Version", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerConfig": { +"description": "Configuration for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerConfig", +"properties": { +"enableHierarchicalResourceQuota": { +"description": "Whether hierarchical resource quota is enabled in this cluster.", +"type": "boolean" +}, +"enablePodTreeLabels": { +"description": "Whether pod tree labels are enabled in this cluster.", +"type": "boolean" +}, +"enabled": { +"description": "Whether Hierarchy Controller is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerDeploymentState": { +"description": "Deployment state for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerDeploymentState", +"properties": { +"extension": { +"description": "The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"hnc": { +"description": "The deployment state for open source HNC (e.g. v0.7.0-hc.0)", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerState": { +"description": "State for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerState", +"properties": { +"state": { +"$ref": "ConfigManagementHierarchyControllerDeploymentState", +"description": "The deployment state for Hierarchy Controller" +}, +"version": { +"$ref": "ConfigManagementHierarchyControllerVersion", +"description": "The version for Hierarchy Controller" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerVersion": { +"description": "Version for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerVersion", +"properties": { +"extension": { +"description": "Version for Hierarchy Controller extension", +"type": "string" +}, +"hnc": { +"description": "Version for open source HNC", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementInstallError": { +"description": "Errors pertaining to the installation of ACM", +"id": "ConfigManagementInstallError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipSpec": { +"description": "**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.", +"id": "ConfigManagementMembershipSpec", +"properties": { +"binauthz": { +"$ref": "ConfigManagementBinauthzConfig", +"deprecated": true, +"description": "Optional. Deprecated: Binauthz configuration will be ignored and should not be set." +}, +"cluster": { +"description": "Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.", +"type": "string" +}, +"configSync": { +"$ref": "ConfigManagementConfigSync", +"description": "Optional. Config Sync configuration for the cluster." +}, +"hierarchyController": { +"$ref": "ConfigManagementHierarchyControllerConfig", +"deprecated": true, +"description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." +}, +"management": { +"deprecated": true, +"description": "Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google will manage the Feature for the cluster.", +"User will manually manage the Feature for the cluster." +], +"type": "string" +}, +"policyController": { +"$ref": "ConfigManagementPolicyController", +"deprecated": true, +"description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." +}, +"version": { +"description": "Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementMembershipState": { +"description": "**Anthos Config Management**: State for a single cluster.", +"id": "ConfigManagementMembershipState", +"properties": { +"binauthzState": { +"$ref": "ConfigManagementBinauthzState", +"description": "Output only. Binauthz status", +"readOnly": true +}, +"clusterName": { +"description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", +"readOnly": true, +"type": "string" +}, +"configSyncState": { +"$ref": "ConfigManagementConfigSyncState", +"description": "Output only. Current sync status", +"readOnly": true +}, +"hierarchyControllerState": { +"$ref": "ConfigManagementHierarchyControllerState", +"description": "Output only. Hierarchy Controller status", +"readOnly": true +}, +"kubernetesApiServerVersion": { +"description": "Output only. The Kubernetes API server version of the cluster.", +"readOnly": true, +"type": "string" +}, +"membershipSpec": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state", +"readOnly": true +}, +"operatorState": { +"$ref": "ConfigManagementOperatorState", +"description": "Output only. Current install status of ACM's Operator", +"readOnly": true +}, +"policyControllerState": { +"$ref": "ConfigManagementPolicyControllerState", +"description": "Output only. PolicyController status", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementOciConfig": { +"description": "OCI repo configuration for a single cluster", +"id": "ConfigManagementOciConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementOperatorState": { +"description": "State information for an ACM's Operator", +"id": "ConfigManagementOperatorState", +"properties": { +"deploymentState": { +"description": "The state of the Operator's deployment", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined", +"Deployment is not installed", +"Deployment is installed", +"Deployment was attempted to be installed, but has errors", +"Deployment is installing or terminating" +], +"type": "string" +}, +"errors": { +"description": "Install errors.", +"items": { +"$ref": "ConfigManagementInstallError" +}, +"type": "array" +}, +"version": { +"description": "The semenatic version number of the operator", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyController": { +"description": "Configuration for Policy Controller", +"id": "ConfigManagementPolicyController", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"enabled": { +"description": "Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.", +"type": "boolean" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "ConfigManagementPolicyControllerMonitoring", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.", +"type": "boolean" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +}, +"templateLibraryInstalled": { +"description": "Installs the default template library along with Policy Controller.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Last time this membership spec was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMigration": { +"description": "State for the migration of PolicyController from ACM -> PoCo Hub.", +"id": "ConfigManagementPolicyControllerMigration", +"properties": { +"copyTime": { +"description": "Last time this membership spec was copied to PoCo feature.", +"format": "google-datetime", +"type": "string" +}, +"stage": { +"description": "Stage of the migration.", +"enum": [ +"STAGE_UNSPECIFIED", +"ACM_MANAGED", +"POCO_MANAGED" +], +"enumDescriptions": [ +"Unknown state of migration.", +"ACM Hub/Operator manages policycontroller. No migration yet completed.", +"All migrations steps complete; Poco Hub now manages policycontroller." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMonitoring": { +"description": "PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "ConfigManagementPolicyControllerMonitoring", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerState": { +"description": "State for PolicyControllerState.", +"id": "ConfigManagementPolicyControllerState", +"properties": { +"deploymentState": { +"$ref": "ConfigManagementGatekeeperDeploymentState", +"description": "The state about the policy controller installation." +}, +"migration": { +"$ref": "ConfigManagementPolicyControllerMigration", +"description": "Record state of ACM -> PoCo Hub migration for this feature." +}, +"version": { +"$ref": "ConfigManagementPolicyControllerVersion", +"description": "The version of Gatekeeper Policy Controller deployed." +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerVersion": { +"description": "The build version of Gatekeeper Policy Controller is using.", +"id": "ConfigManagementPolicyControllerVersion", +"properties": { +"version": { +"description": "The gatekeeper image tag that is composed of ACM version, git tag, build number.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementSyncError": { +"description": "An ACM created error representing a problem syncing configurations", +"id": "ConfigManagementSyncError", +"properties": { +"code": { +"description": "An ACM defined error code", +"type": "string" +}, +"errorMessage": { +"description": "A description of the error", +"type": "string" +}, +"errorResources": { +"description": "A list of config(s) associated with the error, if any", +"items": { +"$ref": "ConfigManagementErrorResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementSyncState": { +"description": "State indicating an ACM's progress syncing configurations to a cluster", +"id": "ConfigManagementSyncState", +"properties": { +"code": { +"description": "Sync status code", +"enum": [ +"SYNC_CODE_UNSPECIFIED", +"SYNCED", +"PENDING", +"ERROR", +"NOT_CONFIGURED", +"NOT_INSTALLED", +"UNAUTHORIZED", +"UNREACHABLE" +], +"enumDescriptions": [ +"Config Sync cannot determine a sync code", +"Config Sync successfully synced the git Repo with the cluster", +"Config Sync is in the progress of syncing a new change", +"Indicates an error configuring Config Sync, and user action is required", +"Config Sync has been installed but not configured", +"Config Sync has not been installed", +"Error authorizing with the cluster", +"Cluster could not be reached" +], +"type": "string" +}, +"errors": { +"description": "A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.", +"items": { +"$ref": "ConfigManagementSyncError" +}, +"type": "array" +}, +"importToken": { +"description": "Token indicating the state of the importer.", +"type": "string" +}, +"lastSync": { +"deprecated": true, +"description": "Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String", +"type": "string" +}, +"lastSyncTime": { +"description": "Timestamp type of when ACM last successfully synced the repo", +"format": "google-datetime", +"type": "string" +}, +"sourceToken": { +"description": "Token indicating the state of the repo.", +"type": "string" +}, +"syncToken": { +"description": "Token indicating the state of the syncer.", +"type": "string" +} +}, +"type": "object" +}, +"ConnectAgentResource": { +"description": "ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.", +"id": "ConnectAgentResource", +"properties": { +"manifest": { +"description": "YAML manifest of the resource.", +"type": "string" +}, +"type": { +"$ref": "TypeMeta", +"description": "Kubernetes type of the resource." +} +}, +"type": "object" +}, +"DataplaneV2FeatureSpec": { +"description": "**Dataplane V2**: Spec", +"id": "DataplaneV2FeatureSpec", +"properties": { +"enableEncryption": { +"description": "Enable dataplane-v2 based encryption for multiple clusters.", +"type": "boolean" +} +}, +"type": "object" +}, +"DefaultClusterConfig": { +"description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", +"id": "DefaultClusterConfig", +"properties": { +"binaryAuthorizationConfig": { +"$ref": "BinaryAuthorizationConfig", +"description": "Optional. Enable/Disable binary authorization features for the cluster." +}, +"compliancePostureConfig": { +"$ref": "CompliancePostureConfig", +"deprecated": true, +"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask." +}, +"securityPostureConfig": { +"$ref": "SecurityPostureConfig", +"description": "Optional. Enable/Disable Security Posture features for the cluster." +} +}, +"type": "object" +}, +"EdgeCluster": { +"description": "EdgeCluster contains information specific to Google Edge Clusters.", +"id": "EdgeCluster", +"properties": { +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster", +"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" +}, +"Feature": { +"description": "Feature represents the settings and status of any Fleet Feature.", +"id": "Feature", +"properties": { +"createTime": { +"description": "Output only. When the Feature resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Feature resource was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fleetDefaultMemberConfig": { +"$ref": "CommonFleetDefaultMemberConfigSpec", +"description": "Optional. Feature configuration applicable to all memberships of the fleet." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for this Feature.", +"type": "object" +}, +"membershipSpecs": { +"additionalProperties": { +"$ref": "MembershipFeatureSpec" +}, +"description": "Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused. The keys indicate which Membership the configuration is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"membershipStates": { +"additionalProperties": { +"$ref": "MembershipFeatureState" +}, +"description": "Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused. The keys indicate which Membership the state is for, in the form: `projects/{p}/locations/{l}/memberships/{m}` Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.", +"readOnly": true, +"type": "string" +}, +"resourceState": { +"$ref": "FeatureResourceState", +"description": "Output only. State of the Feature resource itself.", +"readOnly": true +}, +"scopeSpecs": { +"additionalProperties": { +"$ref": "ScopeFeatureSpec" +}, +"description": "Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused. The keys indicate which Scope the configuration is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.", +"type": "object" +}, +"scopeStates": { +"additionalProperties": { +"$ref": "ScopeFeatureState" +}, +"description": "Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form: `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.", +"readOnly": true, +"type": "object" +}, +"spec": { +"$ref": "CommonFeatureSpec", +"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused." +}, +"state": { +"$ref": "CommonFeatureState", +"description": "Output only. The Fleet-wide Feature state.", +"readOnly": true +}, +"unreachable": { +"description": "Output only. List of locations that could not be reached while fetching this feature.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. When the Feature resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FeatureResourceState": { +"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.", +"id": "FeatureResourceState", +"properties": { +"state": { +"description": "The current state of the Feature resource in the Hub API.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLING", +"ACTIVE", +"DISABLING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"State is unknown or not set.", +"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.", +"The Feature is enabled in this Fleet, and the Feature resource is fully available.", +"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.", +"The Feature resource is being updated.", +"The Feature resource is being updated by the Hub Service." +], +"type": "string" +} +}, +"type": "object" +}, +"FeatureSpec": { +"description": "**Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature.", +"id": "FeatureSpec", +"properties": { +"defaultConfig": { +"$ref": "MembershipSpec", +"description": "Specifies default membership spec. Users can override the default in the member_configs for each member." +}, +"provisionGoogleCa": { +"description": "Immutable. Specifies CA configuration.", +"enum": [ +"GOOGLE_CA_PROVISIONING_UNSPECIFIED", +"DISABLED", +"ENABLED", +"ENABLED_WITH_MANAGED_CA", +"ENABLED_WITH_DEFAULT_CA" +], +"enumDescriptions": [ +"Disable default Google managed CA.", +"Disable default Google managed CA.", +"Use default Google managed CA.", +"Workload certificate feature is enabled, and the entire certificate provisioning process is managed by Google with managed CAS which is more secure than the default CA.", +"Workload certificate feature is enabled, and the entire certificate provisioning process is using the default CA which is free." +], +"type": "string" +} +}, +"type": "object" +}, +"FeatureState": { +"description": "FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.", +"id": "FeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature has encountered an issue, and is operating in a degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information.", +"The Feature is not operating or is in a severely degraded state. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +}, +"updateTime": { +"description": "The time this status and any related Feature-specific details were updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Fleet": { +"description": "Fleet contains the Fleet-wide metadata and configuration.", +"id": "Fleet", +"properties": { +"createTime": { +"description": "Output only. When the Fleet was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"defaultClusterConfig": { +"$ref": "DefaultClusterConfig", +"description": "Optional. The default cluster configurations to apply across the fleet." +}, +"deleteTime": { +"description": "Output only. When the Fleet was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Fleet.", +"type": "object" +}, +"name": { +"description": "Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named \"default\".", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "FleetLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Fleet was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetLifecycleState": { +"description": "FleetLifecycleState describes the state of a Fleet resource.", +"id": "FleetLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Fleet resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The fleet is being created.", +"The fleet active.", +"The fleet is being deleted.", +"The fleet is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureError": { +"description": "All error details of the fleet observability feature.", +"id": "FleetObservabilityFeatureError", +"properties": { +"code": { +"description": "The code of the error.", +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +} +}, +"type": "object" +}, +"FleetObservabilityFeatureSpec": { +"description": "**Fleet Observability**: The Hub-wide input for the FleetObservability feature.", +"id": "FleetObservabilityFeatureSpec", +"properties": { +"loggingConfig": { +"$ref": "FleetObservabilityLoggingConfig", +"description": "Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet." +} +}, +"type": "object" +}, +"FleetObservabilityFeatureState": { +"description": "**FleetObservability**: Hub-wide Feature for FleetObservability feature. state.", +"id": "FleetObservabilityFeatureState", +"properties": { +"logging": { +"$ref": "FleetObservabilityFleetObservabilityLoggingState", +"description": "The feature state of default logging." +}, +"monitoring": { +"$ref": "FleetObservabilityFleetObservabilityMonitoringState", +"description": "The feature state of fleet monitoring." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityBaseFeatureState": { +"description": "Base state for fleet observability feature.", +"id": "FleetObservabilityFleetObservabilityBaseFeatureState", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this Feature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The Feature is operating normally.", +"The Feature is encountering errors in the reconciliation. The Feature may need intervention to return to normal operation. See the description and any associated Feature-specific details for more information." +], +"type": "string" +}, +"errors": { +"description": "Errors after reconciling the monitoring and logging feature if the code is not OK.", +"items": { +"$ref": "FleetObservabilityFeatureError" +}, +"type": "array" +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityLoggingState": { +"description": "Feature state for logging feature.", +"id": "FleetObservabilityFleetObservabilityLoggingState", +"properties": { +"defaultLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet default log." +}, +"scopeLog": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet scope log." +} +}, +"type": "object" +}, +"FleetObservabilityFleetObservabilityMonitoringState": { +"description": "Feature state for monitoring feature.", +"id": "FleetObservabilityFleetObservabilityMonitoringState", +"properties": { +"state": { +"$ref": "FleetObservabilityFleetObservabilityBaseFeatureState", +"description": "The base feature state of fleet monitoring feature." +} +}, +"type": "object" +}, +"FleetObservabilityLoggingConfig": { +"description": "LoggingConfig defines the configuration for different types of logs.", +"id": "FleetObservabilityLoggingConfig", +"properties": { +"defaultConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the default routing config to logs not specified in other configs." +}, +"fleetScopeLogsConfig": { +"$ref": "FleetObservabilityRoutingConfig", +"description": "Specified if applying the routing config to all logs for all fleet scopes." +} +}, +"type": "object" +}, +"FleetObservabilityMembershipSpec": { +"description": "**FleetObservability**: The membership-specific input for FleetObservability feature.", +"id": "FleetObservabilityMembershipSpec", +"properties": {}, +"type": "object" +}, +"FleetObservabilityMembershipState": { +"description": "**FleetObservability**: Membership-specific Feature state for fleetobservability.", +"id": "FleetObservabilityMembershipState", +"properties": {}, +"type": "object" +}, +"FleetObservabilityRoutingConfig": { +"description": "RoutingConfig configures the behaviour of fleet logging feature.", +"id": "FleetObservabilityRoutingConfig", +"properties": { +"mode": { +"description": "mode configures the logs routing mode.", +"enum": [ +"MODE_UNSPECIFIED", +"COPY", +"MOVE" +], +"enumDescriptions": [ +"If UNSPECIFIED, fleet logging feature is disabled.", +"logs will be copied to the destination project.", +"logs will be moved to the destination project." +], +"type": "string" +} +}, +"type": "object" +}, +"GenerateConnectManifestResponse": { +"description": "GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.", +"id": "GenerateConnectManifestResponse", +"properties": { +"manifest": { +"description": "The ordered list of Kubernetes resources that need to be applied to the cluster for GKE Connect agent installation/upgrade.", +"items": { +"$ref": "ConnectAgentResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"GenerateExclusivityManifestResponse": { +"description": "The response of the exclusivity artifacts manifests for the client to apply.", +"id": "GenerateExclusivityManifestResponse", +"properties": { +"crManifest": { +"description": "The YAML manifest of the membership CR to apply if a new version of the CR is available. Empty if no update needs to be applied.", +"type": "string" +}, +"crdManifest": { +"description": "The YAML manifest of the membership CRD to apply if a newer version of the CRD is available. Empty if no update needs to be applied.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateMembershipRBACRoleBindingYAMLResponse": { +"description": "Response for GenerateRBACRoleBindingYAML.", +"id": "GenerateMembershipRBACRoleBindingYAMLResponse", +"properties": { +"roleBindingsYaml": { +"description": "a yaml text blob including the RBAC policies.", +"type": "string" +} +}, +"type": "object" +}, +"GkeCluster": { +"description": "GkeCluster contains information specific to GKE clusters.", +"id": "GkeCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceAuthMethod": { +"description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", +"id": "IdentityServiceAuthMethod", +"properties": { +"azureadConfig": { +"$ref": "IdentityServiceAzureADConfig", +"description": "AzureAD specific Configuration." +}, +"googleConfig": { +"$ref": "IdentityServiceGoogleConfig", +"description": "GoogleConfig specific configuration." +}, +"ldapConfig": { +"$ref": "IdentityServiceLdapConfig", +"description": "LDAP specific configuration." +}, +"name": { +"description": "Identifier for auth config.", +"type": "string" +}, +"oidcConfig": { +"$ref": "IdentityServiceOidcConfig", +"description": "OIDC specific configuration." +}, +"proxy": { +"description": "Proxy server address to use for auth method.", +"type": "string" +}, +"samlConfig": { +"$ref": "IdentityServiceSamlConfig", +"description": "SAML specific configuration." +} +}, +"type": "object" +}, +"IdentityServiceAzureADConfig": { +"description": "Configuration for the AzureAD Auth flow.", +"id": "IdentityServiceAzureADConfig", +"properties": { +"clientId": { +"description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted AzureAD client secret.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"groupFormat": { +"description": "Optional. Format of the AzureAD groups that the client wants for auth.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "The redirect URL that kubectl uses for authorization.", +"type": "string" +}, +"tenant": { +"description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", +"type": "string" +}, +"userClaim": { +"description": "Optional. Claim in the AzureAD ID Token that holds the user details.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceDiagnosticInterface": { +"description": "Configuration options for the AIS diagnostic interface.", +"id": "IdentityServiceDiagnosticInterface", +"properties": { +"enabled": { +"description": "Determines whether to enable the diagnostic interface.", +"type": "boolean" +}, +"expirationTime": { +"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceGoogleConfig": { +"description": "Configuration for the Google Plugin Auth flow.", +"id": "IdentityServiceGoogleConfig", +"properties": { +"disable": { +"description": "Disable automatic configuration of Google Plugin on supported platforms.", +"type": "boolean" +} +}, +"type": "object" +}, +"IdentityServiceGroupConfig": { +"description": "Contains the properties for locating and authenticating groups in the directory.", +"id": "IdentityServiceGroupConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for group entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to \"(objectClass=Group)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. The identifying name of each group a user belongs to. For example, if this is set to \"distinguishedName\" then RBACs and other group expectations should be written as full DNs. This defaults to \"distinguishedName\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceIdentityServiceOptions": { +"description": "Holds non-protocol-related configuration options.", +"id": "IdentityServiceIdentityServiceOptions", +"properties": { +"diagnosticInterface": { +"$ref": "IdentityServiceDiagnosticInterface", +"description": "Configuration options for the AIS diagnostic interface." +}, +"sessionDuration": { +"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceLdapConfig": { +"description": "Configuration for the LDAP Auth flow.", +"id": "IdentityServiceLdapConfig", +"properties": { +"group": { +"$ref": "IdentityServiceGroupConfig", +"description": "Optional. Contains the properties for locating and authenticating groups in the directory." +}, +"server": { +"$ref": "IdentityServiceServerConfig", +"description": "Required. Server settings for the external LDAP server." +}, +"serviceAccount": { +"$ref": "IdentityServiceServiceAccountConfig", +"description": "Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate." +}, +"user": { +"$ref": "IdentityServiceUserConfig", +"description": "Required. Defines where users exist in the LDAP directory." +} +}, +"type": "object" +}, +"IdentityServiceMembershipSpec": { +"description": "**Anthos Identity Service**: Configuration for a single Membership.", +"id": "IdentityServiceMembershipSpec", +"properties": { +"authMethods": { +"description": "A member may support multiple auth methods.", +"items": { +"$ref": "IdentityServiceAuthMethod" +}, +"type": "array" +}, +"identityServiceOptions": { +"$ref": "IdentityServiceIdentityServiceOptions", +"description": "Optional. non-protocol-related configuration options." +} +}, +"type": "object" +}, +"IdentityServiceMembershipState": { +"description": "**Anthos Identity Service**: State for a single Membership.", +"id": "IdentityServiceMembershipState", +"properties": { +"failureReason": { +"description": "The reason of the failure.", +"type": "string" +}, +"installedVersion": { +"description": "Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.", +"type": "string" +}, +"memberConfig": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Last reconciled membership configuration" +}, +"state": { +"description": "Deployment state on this member", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state", +"deployment succeeds", +"Failure with error." +], +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceOidcConfig": { +"description": "Configuration for OIDC Auth flow.", +"id": "IdentityServiceOidcConfig", +"properties": { +"certificateAuthorityData": { +"description": "PEM-encoded CA for OIDC provider.", +"type": "string" +}, +"clientId": { +"description": "ID for OIDC client application.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"deployCloudConsoleProxy": { +"description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", +"type": "boolean" +}, +"enableAccessToken": { +"description": "Enable access token.", +"type": "boolean" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted OIDC Client secret", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"extraParams": { +"description": "Comma-separated list of key-value pairs.", +"type": "string" +}, +"groupPrefix": { +"description": "Prefix to prepend to group name.", +"type": "string" +}, +"groupsClaim": { +"description": "Claim in OIDC ID token that holds group information.", +"type": "string" +}, +"issuerUri": { +"description": "URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.", +"type": "string" +}, +"scopes": { +"description": "Comma-separated list of identifiers.", +"type": "string" +}, +"userClaim": { +"description": "Claim in OIDC ID token that holds username.", +"type": "string" +}, +"userPrefix": { +"description": "Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceSamlConfig": { +"description": "Configuration for the SAML Auth flow.", +"id": "IdentityServiceSamlConfig", +"properties": { +"attributeMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is \"attribute.nickname\" and `value` is \"assertion.nickname\".", +"type": "object" +}, +"groupPrefix": { +"description": "Optional. Prefix to prepend to group name.", +"type": "string" +}, +"groupsAttribute": { +"description": "Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).", +"type": "string" +}, +"identityProviderCertificates": { +"description": "Required. The list of IdP certificates to validate the SAML response against.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityProviderId": { +"description": "Required. The entity ID of the SAML IdP.", +"type": "string" +}, +"identityProviderSsoUri": { +"description": "Required. The URI where the SAML IdP exposes the SSO service.", +"type": "string" +}, +"userAttribute": { +"description": "Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).", +"type": "string" +}, +"userPrefix": { +"description": "Optional. Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServerConfig": { +"description": "Server settings for the external LDAP server.", +"id": "IdentityServiceServerConfig", +"properties": { +"certificateAuthorityData": { +"description": "Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the \"ldaps\" and \"startTLS\" connections.", +"format": "byte", +"type": "string" +}, +"connectionType": { +"description": "Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.", +"type": "string" +}, +"host": { +"description": "Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, \"ldap.server.example\" or \"10.10.10.10:389\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServiceAccountConfig": { +"description": "Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.", +"id": "IdentityServiceServiceAccountConfig", +"properties": { +"simpleBindCredentials": { +"$ref": "IdentityServiceSimpleBindCredentials", +"description": "Credentials for basic auth." +} +}, +"type": "object" +}, +"IdentityServiceSimpleBindCredentials": { +"description": "The structure holds the LDAP simple binding credential.", +"id": "IdentityServiceSimpleBindCredentials", +"properties": { +"dn": { +"description": "Required. The distinguished name(DN) of the service account object/user.", +"type": "string" +}, +"encryptedPassword": { +"description": "Output only. The encrypted password of the service account object/user.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the service account object/user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceUserConfig": { +"description": "Defines where users exist in the LDAP directory.", +"id": "IdentityServiceUserConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for user entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to \"(objectClass=User)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to \"sAMAccountName\" and identifierAttribute to \"userPrincipalName\" would allow a user to login as \"bsmith\", but actual RBAC policies for the user would be written as \"bsmith@example.com\". Using \"userPrincipalName\" is recommended since this will be unique for each user. This defaults to \"userPrincipalName\".", +"type": "string" +}, +"loginAttribute": { +"description": "Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. \"(=)\" and is combined with the optional filter field. This defaults to \"userPrincipalName\".", +"type": "string" +} +}, +"type": "object" +}, +"KubernetesMetadata": { +"description": "KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.", +"id": "KubernetesMetadata", +"properties": { +"kubernetesApiServerVersion": { +"description": "Output only. Kubernetes API server version string as reported by `/version`.", +"readOnly": true, +"type": "string" +}, +"memoryMb": { +"description": "Output only. The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeCount": { +"description": "Output only. Node count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"nodeProviderId": { +"description": "Output only. Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"vcpuCount": { +"description": "Output only. vCPU count as reported by Kubernetes nodes resources.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"KubernetesResource": { +"description": "KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster.", +"id": "KubernetesResource", +"properties": { +"connectResources": { +"description": "Output only. The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"membershipCrManifest": { +"description": "Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership.", +"type": "string" +}, +"membershipResources": { +"description": "Output only. Additional Kubernetes resources that need to be applied to the cluster after Membership creation, and after every update. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask.", +"items": { +"$ref": "ResourceManifest" +}, +"readOnly": true, +"type": "array" +}, +"resourceOptions": { +"$ref": "ResourceOptions", +"description": "Optional. Options for Kubernetes resource generation." +} +}, +"type": "object" +}, +"ListAdminClusterMembershipsResponse": { +"description": "Response message for the `GkeHub.ListAdminClusterMemberships` method.", +"id": "ListAdminClusterMembershipsResponse", +"properties": { +"adminClusterMemberships": { +"description": "The list of matching Memberships of admin clusters.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListAdminClusterMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListBoundMembershipsResponse": { +"description": "List of Memberships bound to a Scope.", +"id": "ListBoundMembershipsResponse", +"properties": { +"memberships": { +"description": "The list of Memberships bound to the given Scope.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFeaturesResponse": { +"description": "Response message for the `GkeHub.ListFeatures` method.", +"id": "ListFeaturesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Features", +"items": { +"$ref": "Feature" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFleetsResponse": { +"description": "Response message for the `GkeHub.ListFleetsResponse` method.", +"id": "ListFleetsResponse", +"properties": { +"fleets": { +"description": "The list of matching fleets.", +"items": { +"$ref": "Fleet" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipBindingsResponse": { +"description": "List of MembershipBindings.", +"id": "ListMembershipBindingsResponse", +"properties": { +"membershipBindings": { +"description": "The list of membership_bindings", +"items": { +"$ref": "MembershipBinding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipRBACRoleBindingsResponse": { +"description": "List of Membership RBACRoleBindings.", +"id": "ListMembershipRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Membership RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMembershipsResponse": { +"description": "Response message for the `GkeHub.ListMemberships` method.", +"id": "ListMembershipsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"resources": { +"description": "The list of matching Memberships.", +"items": { +"$ref": "Membership" +}, +"type": "array" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPermittedScopesResponse": { +"description": "List of permitted Scopes.", +"id": "ListPermittedScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListPermittedScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of permitted Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutSequencesResponse": { +"description": "Response message for listing rollout sequences.", +"id": "ListRolloutSequencesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"rolloutSequences": { +"description": "The rollout sequences from the specified parent resource.", +"items": { +"$ref": "RolloutSequence" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRolloutsResponse": { +"description": "Response message for listing rollouts.", +"id": "ListRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"rollouts": { +"description": "The rollouts from the specified parent resource.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeNamespacesResponse": { +"description": "List of fleet namespaces.", +"id": "ListScopeNamespacesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopeNamespaces": { +"description": "The list of fleet namespaces", +"items": { +"$ref": "Namespace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopeRBACRoleBindingsResponse": { +"description": "List of Scope RBACRoleBindings.", +"id": "ListScopeRBACRoleBindingsResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"rbacrolebindings": { +"description": "The list of Scope RBACRoleBindings.", +"items": { +"$ref": "RBACRoleBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListScopesResponse": { +"description": "List of Scopes.", +"id": "ListScopesResponse", +"properties": { +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListScopes` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"scopes": { +"description": "The list of Scopes", +"items": { +"$ref": "Scope" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Membership": { +"description": "Membership contains information about a member cluster.", +"id": "Membership", +"properties": { +"authority": { +"$ref": "Authority", +"description": "Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity" +}, +"clusterTier": { +"description": "Output only. The tier of the cluster.", +"enum": [ +"CLUSTER_TIER_UNSPECIFIED", +"STANDARD", +"ENTERPRISE" +], +"enumDescriptions": [ +"The ClusterTier is not set.", +"The ClusterTier is standard.", +"The ClusterTier is enterprise." +], +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. When the Membership was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the Membership was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. Description of this membership, limited to 63 characters. Must match the regex: `a-zA-Z0-9*` This field is present for legacy purposes.", +"readOnly": true, +"type": "string" +}, +"endpoint": { +"$ref": "MembershipEndpoint", +"description": "Optional. Endpoint information to reach this member." +}, +"externalId": { +"description": "Optional. An externally-generated and managed ID for this Membership. This ID may be modified after creation, but this is not recommended. The ID must match the regex: `a-zA-Z0-9*` If this Membership represents a Kubernetes cluster, this value should be set to the UID of the `kube-system` namespace object.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this membership. These labels are not leveraged by multi-cluster features, instead, we prefer cluster labels, which can be set on GKE cluster or other cluster types.", +"type": "object" +}, +"lastConnectionTime": { +"description": "Output only. For clusters using Connect, the timestamp of the most recent connection established with Google Cloud. This time is updated every several minutes, not continuously. For clusters that do not use GKE Connect, or that have never connected successfully, this field will be unset.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"membershipType": { +"description": "Output only. The type of the membership.", +"enum": [ +"MEMBERSHIP_TYPE_UNSPECIFIED", +"LIGHTWEIGHT" +], +"enumDescriptions": [ +"The MembershipType is not set.", +"The membership supports only lightweight compatible features." +], +"readOnly": true, +"type": "string" +}, +"monitoringConfig": { +"$ref": "MonitoringConfig", +"description": "Optional. The monitoring config information for this membership." +}, +"name": { +"description": "Output only. The full, unique name of this Membership resource in the format `projects/*/locations/*/memberships/{membership_id}`, set during creation. `membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", +"readOnly": true, +"type": "string" +}, +"state": { +"$ref": "MembershipState", +"description": "Output only. State of the Membership resource.", +"readOnly": true +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Membership resources. If a Membership resource is deleted and another resource with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the Membership was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBinding": { +"description": "MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.", +"id": "MembershipBinding", +"properties": { +"createTime": { +"description": "Output only. When the membership binding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the membership binding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this MembershipBinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`", +"type": "string" +}, +"scope": { +"description": "A Scope resource name in the format `projects/*/locations/*/scopes/*`.", +"type": "string" +}, +"state": { +"$ref": "MembershipBindingLifecycleState", +"description": "Output only. State of the membership binding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the membership binding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipBindingLifecycleState": { +"description": "MembershipBindingLifecycleState describes the state of a Binding resource.", +"id": "MembershipBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the MembershipBinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The membershipbinding is being created.", +"The membershipbinding active.", +"The membershipbinding is being deleted.", +"The membershipbinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MembershipEndpoint": { +"description": "MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.", +"id": "MembershipEndpoint", +"properties": { +"applianceCluster": { +"$ref": "ApplianceCluster", +"description": "Optional. Specific information for a GDC Edge Appliance cluster." +}, +"edgeCluster": { +"$ref": "EdgeCluster", +"description": "Optional. Specific information for a Google Edge cluster." +}, +"gkeCluster": { +"$ref": "GkeCluster", +"description": "Optional. Specific information for a GKE-on-GCP cluster." +}, +"googleManaged": { +"description": "Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.", +"readOnly": true, +"type": "boolean" +}, +"kubernetesMetadata": { +"$ref": "KubernetesMetadata", +"description": "Output only. Useful Kubernetes-specific metadata.", +"readOnly": true +}, +"kubernetesResource": { +"$ref": "KubernetesResource", +"description": "Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources: * Ensure that the cluster is exclusively registered to one and only one Hub Membership. * Propagate Workload Pool Information available in the Membership Authority field. * Ensure proper initial configuration of default Hub Features." +}, +"multiCloudCluster": { +"$ref": "MultiCloudCluster", +"description": "Optional. Specific information for a GKE Multi-Cloud cluster." +}, +"onPremCluster": { +"$ref": "OnPremCluster", +"description": "Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil \"type\" instead." +} +}, +"type": "object" +}, +"MembershipFeatureSpec": { +"description": "MembershipFeatureSpec contains configuration information for a single Membership.", +"id": "MembershipFeatureSpec", +"properties": { +"cloudbuild": { +"$ref": "CloudBuildMembershipSpec", +"description": "Cloud Build-specific spec" +}, +"configmanagement": { +"$ref": "ConfigManagementMembershipSpec", +"description": "Config Management-specific spec." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipSpec", +"description": "Fleet observability membership spec" +}, +"identityservice": { +"$ref": "IdentityServiceMembershipSpec", +"description": "Identity Service-specific spec." +}, +"mesh": { +"$ref": "ServiceMeshMembershipSpec", +"description": "Anthos Service Mesh-specific spec" +}, +"namespaceactuation": { +"$ref": "NamespaceActuationMembershipSpec", +"description": "FNS Actuation membership spec" +}, +"origin": { +"$ref": "Origin", +"description": "Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly." +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipSpec", +"description": "Policy Controller spec." +}, +"workloadcertificate": { +"$ref": "MembershipSpec", +"description": "Workload Certificate spec." +} +}, +"type": "object" +}, +"MembershipFeatureState": { +"description": "MembershipFeatureState contains Feature status information for a single Membership.", +"id": "MembershipFeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceFeatureState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeMembershipState", +"description": "ClusterUpgrade state." +}, +"configmanagement": { +"$ref": "ConfigManagementMembershipState", +"description": "Config Management-specific state." +}, +"fleetobservability": { +"$ref": "FleetObservabilityMembershipState", +"description": "Fleet observability membership state." +}, +"identityservice": { +"$ref": "IdentityServiceMembershipState", +"description": "Identity Service-specific state." +}, +"metering": { +"$ref": "MeteringMembershipState", +"description": "Metering-specific state." +}, +"namespaceactuation": { +"$ref": "NamespaceActuationMembershipState", +"description": "FNS Actuation membership state" +}, +"policycontroller": { +"$ref": "PolicyControllerMembershipState", +"description": "Policycontroller-specific state." +}, +"servicemesh": { +"$ref": "ServiceMeshMembershipState", +"description": "Service Mesh-specific state." +}, +"state": { +"$ref": "FeatureState", +"description": "The high-level state of this Feature for a single membership." +}, +"workloadidentity": { +"$ref": "WorkloadIdentityMembershipState", +"description": "Workload Identity membership specific state." +} +}, +"type": "object" +}, +"MembershipSpec": { +"description": "**Workload Certificate**: The membership-specific input for WorkloadCertificate feature.", +"id": "MembershipSpec", +"properties": { +"certificateManagement": { +"description": "Specifies workload certificate management.", +"enum": [ +"CERTIFICATE_MANAGEMENT_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Disable workload certificate feature.", +"Disable workload certificate feature.", +"Enable workload certificate feature." +], +"type": "string" +} +}, +"type": "object" +}, +"MembershipState": { +"description": "MembershipState describes the state of a Membership resource.", +"id": "MembershipState", +"properties": { +"code": { +"description": "Output only. The current state of the Membership resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The cluster is being registered.", +"The cluster is registered.", +"The cluster is being unregistered.", +"The Membership is being updated.", +"The Membership is being updated by the Hub Service." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MeteringMembershipState": { +"description": "**Metering**: Per-Membership Feature State.", +"id": "MeteringMembershipState", +"properties": { +"lastMeasurementTime": { +"description": "The time stamp of the most recent measurement of the number of vCPUs in the cluster.", +"format": "google-datetime", +"type": "string" +}, +"preciseLastMeasuredClusterVcpuCapacity": { +"description": "The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"MonitoringConfig": { +"description": "MonitoringConfig informs Fleet-based applications/services/UIs how the metrics for the underlying cluster is reported to cloud monitoring services. It can be set from empty to non-empty, but can't be mutated directly to prevent accidentally breaking the constinousty of metrics.", +"id": "MonitoringConfig", +"properties": { +"cluster": { +"description": "Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g., \"awsClusters/cluster_1\".", +"type": "string" +}, +"clusterHash": { +"description": "Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID.", +"type": "string" +}, +"kubernetesMetricsPrefix": { +"description": "Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.", +"type": "string" +}, +"location": { +"description": "Optional. Location used to report Metrics", +"type": "string" +}, +"projectId": { +"description": "Optional. Project used to report Metrics", +"type": "string" +} +}, +"type": "object" +}, +"MultiCloudCluster": { +"description": "MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.", +"id": "MultiCloudCluster", +"properties": { +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"MultiClusterIngressFeatureSpec": { +"description": "**Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature.", +"id": "MultiClusterIngressFeatureSpec", +"properties": { +"billing": { +"deprecated": true, +"description": "Deprecated: This field will be ignored and should not be set. Customer's billing structure.", +"enum": [ +"BILLING_UNSPECIFIED", +"PAY_AS_YOU_GO", +"ANTHOS_LICENSE" +], +"enumDescriptions": [ +"Unknown", +"User pays a fee per-endpoint.", +"User is paying for Anthos as a whole." +], +"type": "string" +}, +"configMembership": { +"description": "Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`", +"type": "string" +} +}, +"type": "object" +}, +"Namespace": { +"description": "Namespace represents a namespace across the Fleet", +"id": "Namespace", +"properties": { +"createTime": { +"description": "Output only. When the namespace was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the namespace was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Namespace.", +"type": "object" +}, +"name": { +"description": "The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"scope": { +"description": "Required. Scope associated with the namespace", +"type": "string" +}, +"state": { +"$ref": "NamespaceLifecycleState", +"description": "Output only. State of the namespace resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the namespace was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NamespaceActuationFeatureSpec": { +"description": "An empty spec for actuation feature. This is required since Feature proto requires a spec.", +"id": "NamespaceActuationFeatureSpec", +"properties": { +"actuationMode": { +"description": "actuation_mode controls the behavior of the controller", +"enum": [ +"ACTUATION_MODE_UNSPECIFIED", +"ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED", +"ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS" +], +"enumDescriptions": [ +"ACTUATION_MODE_UNSPECIFIED is similar to CREATE_AND_DELETE_IF_CREATED in the default controller behavior.", +"ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED has the controller create cluster namespaces for each fleet namespace and it deletes only the ones it created, which are identified by a label.", +"ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS has the controller only apply labels to cluster namespaces to signal fleet namespace enablement. It doesn't create or delete cluster namespaces." +], +"type": "string" +} +}, +"type": "object" +}, +"NamespaceActuationFeatureState": { +"description": "NamespaceActuation Feature State.", +"id": "NamespaceActuationFeatureState", +"properties": {}, +"type": "object" +}, +"NamespaceActuationMembershipSpec": { +"description": "**Namespace Actuation**: The membership-specific input for NamespaceActuation feature.", +"id": "NamespaceActuationMembershipSpec", +"properties": {}, +"type": "object" +}, +"NamespaceActuationMembershipState": { +"description": "**Namespace Actuation**: An empty state left as an example membership-specific Feature state.", +"id": "NamespaceActuationMembershipState", +"properties": {}, +"type": "object" +}, +"NamespaceLifecycleState": { +"description": "NamespaceLifecycleState describes the state of a Namespace resource.", +"id": "NamespaceLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the Namespace resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The namespace is being created.", +"The namespace active.", +"The namespace is being deleted.", +"The namespace is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"OnPremCluster": { +"description": "OnPremCluster contains information specific to GKE On-Prem clusters.", +"id": "OnPremCluster", +"properties": { +"adminCluster": { +"description": "Immutable. Whether the cluster is an admin cluster.", +"type": "boolean" +}, +"clusterMissing": { +"description": "Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.", +"readOnly": true, +"type": "boolean" +}, +"clusterType": { +"description": "Immutable. The on prem cluster's type.", +"enum": [ +"CLUSTERTYPE_UNSPECIFIED", +"BOOTSTRAP", +"HYBRID", +"STANDALONE", +"USER" +], +"enumDescriptions": [ +"The ClusterType is not set.", +"The ClusterType is bootstrap cluster.", +"The ClusterType is baremetal hybrid cluster.", +"The ClusterType is baremetal standalone cluster.", +"The ClusterType is user cluster." +], +"type": "string" +}, +"resourceLink": { +"description": "Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Origin": { +"description": "Origin defines where this MembershipFeatureSpec originated from.", +"id": "Origin", +"properties": { +"type": { +"description": "Type specifies which type of origin is set.", +"enum": [ +"TYPE_UNSPECIFIED", +"FLEET", +"FLEET_OUT_OF_SYNC", +"USER" +], +"enumDescriptions": [ +"Type is unknown or not set.", +"Per-Membership spec was inherited from the fleet-level default.", +"Per-Membership spec was inherited from the fleet-level default but is now out of sync with the current default.", +"Per-Membership spec was inherited from a user specification." +], +"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" +}, +"PolicyBinding": { +"description": "Binauthz policy that applies to this cluster.", +"id": "PolicyBinding", +"properties": { +"name": { +"description": "The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerBundleInstallSpec": { +"description": "BundleInstallSpec is the specification configuration for a single managed bundle.", +"id": "PolicyControllerBundleInstallSpec", +"properties": { +"exemptedNamespaces": { +"description": "The set of namespaces to be exempted from the bundle.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerHubConfig": { +"description": "Configuration for Policy Controller", +"id": "PolicyControllerHubConfig", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"constraintViolationLimit": { +"description": "The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.", +"format": "int64", +"type": "string" +}, +"deploymentConfigs": { +"additionalProperties": { +"$ref": "PolicyControllerPolicyControllerDeploymentConfig" +}, +"description": "Map of deployment configs to deployments (\"admission\", \"audit\", \"mutation').", +"type": "object" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installSpec": { +"description": "The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.", +"enum": [ +"INSTALL_SPEC_UNSPECIFIED", +"INSTALL_SPEC_NOT_INSTALLED", +"INSTALL_SPEC_ENABLED", +"INSTALL_SPEC_SUSPENDED", +"INSTALL_SPEC_DETACHED" +], +"enumDescriptions": [ +"Spec is unknown.", +"Request to uninstall Policy Controller.", +"Request to install and enable Policy Controller.", +"Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", +"Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." +], +"type": "string" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "PolicyControllerMonitoringConfig", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enables the ability to mutate resources using Policy Controller.", +"type": "boolean" +}, +"policyContent": { +"$ref": "PolicyControllerPolicyContentSpec", +"description": "Specifies the desired policy content on the cluster" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PolicyControllerMembershipSpec": { +"description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.", +"id": "PolicyControllerMembershipSpec", +"properties": { +"policyControllerHubConfig": { +"$ref": "PolicyControllerHubConfig", +"description": "Policy Controller configuration for the cluster." +}, +"version": { +"description": "Version of Policy Controller installed.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMembershipState": { +"description": "**Policy Controller**: State for a single cluster.", +"id": "PolicyControllerMembershipState", +"properties": { +"componentStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"", +"type": "object" +}, +"policyContentState": { +"$ref": "PolicyControllerPolicyContentState", +"description": "The overall content state observed by the Hub Feature controller." +}, +"state": { +"description": "The overall Policy Controller lifecycle state observed by the Hub Feature controller.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerMonitoringConfig": { +"description": "MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "PolicyControllerMonitoringConfig", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerOnClusterState": { +"description": "OnClusterState represents the state of a sub-component of Policy Controller.", +"id": "PolicyControllerOnClusterState", +"properties": { +"details": { +"description": "Surface potential errors or information logs.", +"type": "string" +}, +"state": { +"description": "The lifecycle state of this component.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentSpec": { +"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.", +"id": "PolicyControllerPolicyContentSpec", +"properties": { +"bundles": { +"additionalProperties": { +"$ref": "PolicyControllerBundleInstallSpec" +}, +"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.", +"type": "object" +}, +"templateLibrary": { +"$ref": "PolicyControllerTemplateLibraryConfig", +"description": "Configures the installation of the Template Library." +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentState": { +"description": "The state of the policy controller policy content", +"id": "PolicyControllerPolicyContentState", +"properties": { +"bundleStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "The state of the any bundles included in the chosen version of the manifest", +"type": "object" +}, +"referentialSyncConfigState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user." +}, +"templateLibraryState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the template library" +} +}, +"type": "object" +}, +"PolicyControllerPolicyControllerDeploymentConfig": { +"description": "Deployment-specific configuration.", +"id": "PolicyControllerPolicyControllerDeploymentConfig", +"properties": { +"containerResources": { +"$ref": "PolicyControllerResourceRequirements", +"description": "Container resource requirements." +}, +"podAffinity": { +"description": "Pod affinity configuration.", +"enum": [ +"AFFINITY_UNSPECIFIED", +"NO_AFFINITY", +"ANTI_AFFINITY" +], +"enumDescriptions": [ +"No affinity configuration has been specified.", +"Affinity configurations will be removed from the deployment.", +"Anti-affinity configuration will be applied to this deployment. Default for admissions deployment." +], +"type": "string" +}, +"podAntiAffinity": { +"deprecated": true, +"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", +"type": "boolean" +}, +"podTolerations": { +"description": "Pod tolerations of node taints.", +"items": { +"$ref": "PolicyControllerToleration" +}, +"type": "array" +}, +"replicaCount": { +"description": "Pod replica count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceList": { +"description": "ResourceList contains container resource requirements.", +"id": "PolicyControllerResourceList", +"properties": { +"cpu": { +"description": "CPU requirement expressed in Kubernetes resource units.", +"type": "string" +}, +"memory": { +"description": "Memory requirement expressed in Kubernetes resource units.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceRequirements": { +"description": "ResourceRequirements describes the compute resource requirements.", +"id": "PolicyControllerResourceRequirements", +"properties": { +"limits": { +"$ref": "PolicyControllerResourceList", +"description": "Limits describes the maximum amount of compute resources allowed for use by the running container." +}, +"requests": { +"$ref": "PolicyControllerResourceList", +"description": "Requests describes the amount of compute resources reserved for the container by the kube-scheduler." +} +}, +"type": "object" +}, +"PolicyControllerTemplateLibraryConfig": { +"description": "The config specifying which default library templates to install.", +"id": "PolicyControllerTemplateLibraryConfig", +"properties": { +"installation": { +"description": "Configures the manner in which the template library is installed on the cluster.", +"enum": [ +"INSTALLATION_UNSPECIFIED", +"NOT_INSTALLED", +"ALL" +], +"enumDescriptions": [ +"No installation strategy has been specified.", +"Do not install the template library.", +"Install the entire template library." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerToleration": { +"description": "Toleration of a node taint.", +"id": "PolicyControllerToleration", +"properties": { +"effect": { +"description": "Matches a taint effect.", +"type": "string" +}, +"key": { +"description": "Matches a taint key (not necessarily unique).", +"type": "string" +}, +"operator": { +"description": "Matches a taint operator.", +"type": "string" +}, +"value": { +"description": "Matches a taint value.", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBinding": { +"description": "RBACRoleBinding represents a rbacrolebinding across the Fleet", +"id": "RBACRoleBinding", +"properties": { +"createTime": { +"description": "Output only. When the rbacrolebinding was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the rbacrolebinding was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"group": { +"description": "group is the group, as seen by the kubernetes cluster.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this RBACRolebinding.", +"type": "object" +}, +"name": { +"description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "Required. Role to bind to the principal" +}, +"state": { +"$ref": "RBACRoleBindingLifecycleState", +"description": "Output only. State of the rbacrolebinding resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the rbacrolebinding was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"user": { +"description": "user is the name of the user as seen by the kubernetes cluster, example \"alice\" or \"alice@domain.tld\"", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureSpec": { +"description": "**RBAC RoleBinding Actuation**: The Hub-wide input for the RBACRoleBindingActuation feature.", +"id": "RBACRoleBindingActuationFeatureSpec", +"properties": { +"allowedCustomRoles": { +"description": "The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationFeatureState": { +"description": "**RBAC RoleBinding Actuation**: An empty state left as an example Hub-wide Feature state.", +"id": "RBACRoleBindingActuationFeatureState", +"properties": {}, +"type": "object" +}, +"RBACRoleBindingLifecycleState": { +"description": "RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource.", +"id": "RBACRoleBindingLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the rbacrolebinding resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The rbacrolebinding is being created.", +"The rbacrolebinding active.", +"The rbacrolebinding is being deleted.", +"The rbacrolebinding is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceManifest": { +"description": "ResourceManifest represents a single Kubernetes resource to be applied to the cluster.", +"id": "ResourceManifest", +"properties": { +"clusterScoped": { +"description": "Output only. Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster.", +"readOnly": true, +"type": "boolean" +}, +"manifest": { +"description": "Output only. YAML manifest of the resource.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourceOptions": { +"description": "ResourceOptions represent options for Kubernetes resource generation.", +"id": "ResourceOptions", +"properties": { +"connectVersion": { +"description": "Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected.", +"type": "string" +}, +"k8sGitVersion": { +"description": "Optional. Git version of the Kubernetes cluster. This is only used to gate the Connect Agent migration to svc.id.goog on GDC-SO 1.33.100 patch and above.", +"type": "string" +}, +"k8sVersion": { +"description": "Optional. Major and minor version of the Kubernetes cluster. This is only used to determine which version to use for the CustomResourceDefinition resources, `apiextensions/v1beta1` or`apiextensions/v1`.", +"type": "string" +}, +"v1beta1Crd": { +"description": "Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for CustomResourceDefinition resources. This option should be set for clusters with Kubernetes apiserver versions <1.16.", +"type": "boolean" +} +}, +"type": "object" +}, +"Role": { +"description": "Role is the type for Kubernetes roles", +"id": "Role", +"properties": { +"customRole": { +"description": "Optional. custom_role is the name of a custom KubernetesClusterRole to use.", +"type": "string" +}, +"predefinedRole": { +"description": "predefined_role is the Kubernetes default role to use", +"enum": [ +"UNKNOWN", +"ADMIN", +"EDIT", +"VIEW", +"ANTHOS_SUPPORT" +], +"enumDescriptions": [ +"UNKNOWN", +"ADMIN has EDIT and RBAC permissions", +"EDIT can edit all resources except RBAC", +"VIEW can only read resources", +"ANTHOS_SUPPORT gives Google Support read-only access to a number of cluster resources." +], +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "Rollout contains the Rollout metadata and configuration.", +"id": "Rollout", +"properties": { +"completeTime": { +"description": "Output only. The timestamp at which the Rollout was completed.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp at which the Rollout was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp at the Rollout was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human readable display name of the Rollout.", +"type": "string" +}, +"etag": { +"description": "Output only. etag of the Rollout Ex. abc1234", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Rollout.", +"type": "object" +}, +"membershipStates": { +"additionalProperties": { +"$ref": "RolloutMembershipState" +}, +"description": "Output only. States of upgrading control plane or node pool targets of a single cluster (GKE Hub membership) that's part of this Rollout. The key is the membership name of the cluster. The value is the state of the cluster.", +"readOnly": true, +"type": "object" +}, +"name": { +"description": "Identifier. The full, unique resource name of this Rollout in the format of `projects/{project}/locations/global/rollouts/{rollout}`.", +"type": "string" +}, +"rolloutSequence": { +"description": "Optional. Immutable. The full, unique resource name of the rollout sequence that initiatied this Rollout. In the format of `projects/{project}/locations/global/rolloutSequences/{rollout_sequence}`.", +"type": "string" +}, +"stages": { +"description": "Output only. The stages of the Rollout.", +"items": { +"$ref": "RolloutStage" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. State specifies various states of the Rollout.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"PAUSED", +"CANCELLED", +"COMPLETED" +], +"enumDescriptions": [ +"Unspecified state.", +"The Rollout is running.", +"The Rollout is paused.", +"The Rollout is in a failure terminal state.", +"The Rollout is in a terminal state." +], +"readOnly": true, +"type": "string" +}, +"stateReason": { +"description": "Output only. A human-readable description explaining the reason for the current state.", +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout resources. If a Rollout resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which the Rollout was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"versionUpgrade": { +"$ref": "VersionUpgrade", +"description": "Optional. Config for version upgrade of clusters." +} +}, +"type": "object" +}, +"RolloutMembershipState": { +"description": "Metadata about single cluster (GKE Hub membership) that's part of this Rollout.", +"id": "RolloutMembershipState", +"properties": { +"lastUpdateTime": { +"description": "Optional. Output only. The time this status and any related Rollout-specific details for the membership were updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"stageAssignment": { +"description": "Output only. The stage assignment of this cluster in this rollout.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"targets": { +"description": "Output only. The targets of the rollout - clusters or node pools that are being upgraded. All targets belongs to the same cluster, identified by the membership name (key of membership_states map).", +"items": { +"$ref": "RolloutTarget" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RolloutSequence": { +"description": "RolloutSequence defines the desired order of upgrades.", +"id": "RolloutSequence", +"properties": { +"createTime": { +"description": "Output only. The timestamp at which the Rollout Sequence was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The timestamp at the Rollout Sequence was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Optional. Human readable display name of the Rollout Sequence.", +"type": "string" +}, +"etag": { +"description": "Output only. etag of the Rollout Sequence Ex. abc1234", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Rollout Sequence.", +"type": "object" +}, +"name": { +"description": "Identifier. Name of the rollout sequence in the format of: projects/{PROJECT_ID}/locations/global/rolloutSequences/{NAME}", +"type": "string" +}, +"stages": { +"description": "Required. Ordered list of stages that constitutes this Rollout.", +"items": { +"$ref": "Stage" +}, +"type": "array" +}, +"state": { +"$ref": "RolloutSequenceState", +"description": "Output only. State of the Rollout Sequence as a whole.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Rollout Sequence resources. If a Rollout Sequence resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp at which the Rollout Sequence was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutSequenceState": { +"description": "State and reasons of the Rollout Sequence.", +"id": "RolloutSequenceState", +"properties": { +"lifecycleState": { +"description": "Output only. Lifecycle state of the Rollout Sequence.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"LIFECYCLE_STATE_ACTIVE", +"LIFECYCLE_STATE_WARNING", +"LIFECYCLE_STATE_ERROR" +], +"enumDescriptions": [ +"The default value. This value is used if the state is omitted.", +"The Rollout Sequence is active.", +"The Rollout Sequence has warnings.", +"The Rollout Sequence has errors." +], +"readOnly": true, +"type": "string" +}, +"stateReasons": { +"description": "Output only. StateReason represents the reason for the Rollout Sequence state.", +"items": { +"enum": [ +"STATE_REASON_UNSPECIFIED", +"FLEET_FEATURE_DELETED_ERROR", +"FLEET_DELETED_ERROR", +"EMPTY_STAGE_WARNING", +"MIXED_RELEASE_CHANNELS_WARNING", +"INTERNAL_ERROR" +], +"enumDescriptions": [ +"Default unspecified value.", +"A fleet feature is deleted.", +"A fleet is deleted.", +"A stage is empty.", +"Mixed release channels in the sequence.", +"Internal error, for example when host project is soft-deleted." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RolloutStage": { +"description": "Stage represents a single stage in the Rollout.", +"id": "RolloutStage", +"properties": { +"endTime": { +"description": "Optional. Output only. The time at which the wave ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"soakDuration": { +"description": "Optional. Duration to soak after this wave before starting the next wave.", +"format": "google-duration", +"type": "string" +}, +"stageNumber": { +"description": "Output only. The wave number to which this status applies.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Optional. Output only. The time at which the wave started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the wave.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SOAKING", +"COMPLETED", +"FORCED_SOAKING" +], +"enumDescriptions": [ +"Default value.", +"The wave is pending.", +"The wave is running.", +"The wave is soaking.", +"The wave is completed.", +"The wave is force soaking." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RolloutTarget": { +"description": "Metadata about the status of targets (clusters or node pools) involved in the Rollout.", +"id": "RolloutTarget", +"properties": { +"cluster": { +"description": "Optional. Output only. The resource link of the Cluster resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}`. .", +"readOnly": true, +"type": "string" +}, +"nodePool": { +"description": "Optional. Output only. The resource link of the NodePool resource upgraded in this Rollout. It is formatted as: `//{api_service}/projects/{project_number}/locations/{location}/clusters/{cluster_name}/nodePools/{node_pool_name}`.", +"readOnly": true, +"type": "string" +}, +"operation": { +"description": "Optional. Output only. The operation resource name performing the mutation.", +"readOnly": true, +"type": "string" +}, +"reason": { +"description": "Optional. Output only. A human-readable description of the current status.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The high-level, machine-readable status of this Rollout for the target.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"FAILED", +"SUCCEEDED", +"PAUSED", +"REMOVED", +"INELIGIBLE" +], +"enumDescriptions": [ +"Unspecified state.", +"The Rollout is pending for the target.", +"The Rollout is running for the target.", +"The Rollout failed for the target.", +"The Rollout succeeded for the target.", +"The Rollout is paused for the target.", +"The target was removed from the Rollout.", +"The target is ineligible for the Rollout." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Scope represents a Scope in a Fleet.", +"id": "Scope", +"properties": { +"createTime": { +"description": "Output only. When the scope was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the scope was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels for this Scope.", +"type": "object" +}, +"name": { +"description": "The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`", +"type": "string" +}, +"namespaceLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.", +"type": "object" +}, +"state": { +"$ref": "ScopeLifecycleState", +"description": "Output only. State of the scope resource.", +"readOnly": true +}, +"uid": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. When the scope was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ScopeFeatureSpec": { +"description": "ScopeFeatureSpec contains feature specs for a fleet scope.", +"id": "ScopeFeatureSpec", +"properties": { +"clusterupgrade": { +"$ref": "ClusterUpgradeScopeSpec", +"description": "Spec for the ClusterUpgrade feature at the scope level" +} +}, +"type": "object" +}, +"ScopeFeatureState": { +"description": "ScopeFeatureState contains Scope-wide Feature status information.", +"id": "ScopeFeatureState", +"properties": { +"clusterupgrade": { +"$ref": "ClusterUpgradeScopeState", +"description": "State for the ClusterUpgrade feature at the scope level" +}, +"state": { +"$ref": "FeatureState", +"description": "Output only. The \"running state\" of the Feature in this Scope.", +"readOnly": true +} +}, +"type": "object" +}, +"ScopeLifecycleState": { +"description": "ScopeLifecycleState describes the state of a Scope resource.", +"id": "ScopeLifecycleState", +"properties": { +"code": { +"description": "Output only. The current state of the scope resource.", +"enum": [ +"CODE_UNSPECIFIED", +"CREATING", +"READY", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The code is not set.", +"The scope is being created.", +"The scope active.", +"The scope is being deleted.", +"The scope is being updated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SecurityPostureConfig": { +"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", +"id": "SecurityPostureConfig", +"properties": { +"mode": { +"description": "Sets which mode to use for Security Posture features.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"BASIC", +"ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +false, +true +], +"enumDescriptions": [ +"Default value not specified.", +"Disables Security Posture features on the cluster.", +"Applies Security Posture features on the cluster.", +"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features." +], +"type": "string" +}, +"vulnerabilityMode": { +"description": "Sets which mode to use for vulnerability scanning.", +"enum": [ +"VULNERABILITY_MODE_UNSPECIFIED", +"VULNERABILITY_DISABLED", +"VULNERABILITY_BASIC", +"VULNERABILITY_ENTERPRISE" +], +"enumDeprecated": [ +false, +false, +true, +false +], +"enumDescriptions": [ +"Default value not specified.", +"Disables vulnerability scanning on the cluster.", +"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.", +"Applies the Security Posture's vulnerability on cluster Enterprise level features." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshAnalysisMessage": { +"description": "AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.", +"id": "ServiceMeshAnalysisMessage", +"properties": { +"args": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.", +"type": "object" +}, +"description": { +"description": "A human readable description of what the error means. It is suitable for non-internationalize display purposes.", +"type": "string" +}, +"messageBase": { +"$ref": "ServiceMeshAnalysisMessageBase", +"description": "Details common to all types of Istio and ServiceMesh analysis messages." +}, +"resourcePaths": { +"description": "A list of strings specifying the resource identifiers that were the cause of message generation. A \"path\" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceMeshAnalysisMessageBase": { +"description": "AnalysisMessageBase describes some common information that is needed for all messages.", +"id": "ServiceMeshAnalysisMessageBase", +"properties": { +"documentationUrl": { +"description": "A url pointing to the Service Mesh or Istio documentation for this specific error type.", +"type": "string" +}, +"level": { +"description": "Represents how severe a message is.", +"enum": [ +"LEVEL_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Illegal. Same istio.analysis.v1alpha1.AnalysisMessageBase.Level.UNKNOWN.", +"ERROR represents a misconfiguration that must be fixed.", +"WARNING represents a misconfiguration that should be fixed.", +"INFO represents an informational finding." +], +"type": "string" +}, +"type": { +"$ref": "ServiceMeshType", +"description": "Represents the specific type of a message." +} +}, +"type": "object" +}, +"ServiceMeshCondition": { +"description": "Condition being reported.", +"id": "ServiceMeshCondition", +"properties": { +"code": { +"description": "Unique identifier of the condition which describes the condition recognizable to the user.", +"enum": [ +"CODE_UNSPECIFIED", +"MESH_IAM_PERMISSION_DENIED", +"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", +"CNI_CONFIG_UNSUPPORTED", +"GKE_SANDBOX_UNSUPPORTED", +"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", +"CNI_INSTALLATION_FAILED", +"CNI_POD_UNSCHEDULABLE", +"CLUSTER_HAS_ZERO_NODES", +"CANONICAL_SERVICE_ERROR", +"UNSUPPORTED_MULTIPLE_CONTROL_PLANES", +"VPCSC_GA_SUPPORTED", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", +"CONFIG_APPLY_INTERNAL_ERROR", +"CONFIG_VALIDATION_ERROR", +"CONFIG_VALIDATION_WARNING", +"QUOTA_EXCEEDED_BACKEND_SERVICES", +"QUOTA_EXCEEDED_HEALTH_CHECKS", +"QUOTA_EXCEEDED_HTTP_ROUTES", +"QUOTA_EXCEEDED_TCP_ROUTES", +"QUOTA_EXCEEDED_TLS_ROUTES", +"QUOTA_EXCEEDED_TRAFFIC_POLICIES", +"QUOTA_EXCEEDED_ENDPOINT_POLICIES", +"QUOTA_EXCEEDED_GATEWAYS", +"QUOTA_EXCEEDED_MESHES", +"QUOTA_EXCEEDED_SERVER_TLS_POLICIES", +"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", +"QUOTA_EXCEEDED_SERVICE_LB_POLICIES", +"QUOTA_EXCEEDED_HTTP_FILTERS", +"QUOTA_EXCEEDED_TCP_FILTERS", +"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", +"LEGACY_MC_SECRETS", +"WORKLOAD_IDENTITY_REQUIRED", +"NON_STANDARD_BINARY_USAGE", +"UNSUPPORTED_GATEWAY_CLASS", +"MANAGED_CNI_NOT_ENABLED", +"MODERNIZATION_SCHEDULED", +"MODERNIZATION_IN_PROGRESS", +"MODERNIZATION_COMPLETED", +"MODERNIZATION_ABORTED", +"MODERNIZATION_PREPARING", +"MODERNIZATION_STALLED", +"MODERNIZATION_PREPARED", +"MODERNIZATION_MIGRATING_WORKLOADS", +"MODERNIZATION_ROLLING_BACK_CLUSTER", +"MODERNIZATION_WILL_BE_SCHEDULED", +"MODERNIZATION_MANUAL", +"MODERNIZATION_ELIGIBLE", +"MODERNIZATION_MODERNIZING", +"MODERNIZATION_MODERNIZED_SOAKING", +"MODERNIZATION_FINALIZED", +"MODERNIZATION_ROLLING_BACK_FLEET" +], +"enumDescriptions": [ +"Default Unspecified code", +"Mesh IAM permission denied error code", +"Permission denied error code for cross-project", +"CNI config unsupported error code", +"GKE sandbox unsupported error code", +"Nodepool workload identity federation required error code", +"CNI installation failed error code", +"CNI pod unschedulable error code", +"Cluster has zero node code", +"Failure to reconcile CanonicalServices", +"Multiple control planes unsupported error code", +"VPC-SC GA is supported for this control plane.", +"User is using deprecated ControlPlaneManagement and they have not yet set Management.", +"User is using deprecated ControlPlaneManagement and they have already set Management.", +"Configuration (Istio/k8s resources) failed to apply due to internal error.", +"Configuration failed to be applied due to being invalid.", +"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.", +"BackendService quota exceeded error code.", +"HealthCheck quota exceeded error code.", +"HTTPRoute quota exceeded error code.", +"TCPRoute quota exceeded error code.", +"TLS routes quota exceeded error code.", +"TrafficPolicy quota exceeded error code.", +"EndpointPolicy quota exceeded error code.", +"Gateway quota exceeded error code.", +"Mesh quota exceeded error code.", +"ServerTLSPolicy quota exceeded error code.", +"ClientTLSPolicy quota exceeded error code.", +"ServiceLBPolicy quota exceeded error code.", +"HTTPFilter quota exceeded error code.", +"TCPFilter quota exceeded error code.", +"NetworkEndpointGroup quota exceeded error code.", +"Legacy istio secrets found for multicluster error code", +"Workload identity required error code", +"Non-standard binary usage error code", +"Unsupported gateway class error code", +"Managed CNI not enabled error code", +"Modernization is scheduled for a cluster.", +"Modernization is in progress for a cluster.", +"Modernization is completed for a cluster.", +"Modernization is aborted for a cluster.", +"Preparing cluster so that its workloads can be migrated.", +"Modernization is stalled for a cluster.", +"Cluster has been prepared for its workloads to be migrated.", +"Migrating the cluster's workloads to the new implementation.", +"Rollback is in progress for modernization of a cluster.", +"Modernization will be scheduled for a fleet.", +"Fleet is opted out from automated modernization.", +"Fleet is eligible for modernization.", +"Modernization of one or more clusters in a fleet is in progress.", +"Modernization of all the fleet's clusters is complete. Soaking before finalizing the modernization.", +"Modernization is finalized for all clusters in a fleet. Rollback is no longer allowed.", +"Rollback is in progress for modernization of all clusters in a fleet." +], +"type": "string" +}, +"details": { +"description": "A short summary about the issue.", +"type": "string" +}, +"documentationLink": { +"description": "Links contains actionable information.", +"type": "string" +}, +"severity": { +"description": "Severity level of the condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity", +"Indicates an issue that prevents the mesh from operating correctly", +"Indicates a setting is likely wrong, but the mesh is still able to operate", +"An informational message, not requiring any action" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshControlPlaneManagement": { +"description": "Status of control plane management.", +"id": "ServiceMeshControlPlaneManagement", +"properties": { +"details": { +"description": "Explanation of state.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"implementation": { +"description": "Output only. Implementation of managed control plane.", +"enum": [ +"IMPLEMENTATION_UNSPECIFIED", +"ISTIOD", +"TRAFFIC_DIRECTOR", +"UPDATING" +], +"enumDescriptions": [ +"Unspecified", +"A Google build of istiod is used for the managed control plane.", +"Traffic director is used for the managed control plane.", +"The control plane implementation is being updated." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "LifecycleState of control plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshDataPlaneManagement": { +"description": "Status of data plane management. Only reported per-member.", +"id": "ServiceMeshDataPlaneManagement", +"properties": { +"details": { +"description": "Explanation of the status.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"state": { +"description": "Lifecycle status of data plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshFeatureCondition": { +"description": "Condition being reported.", +"id": "ServiceMeshFeatureCondition", +"properties": { +"code": { +"description": "Unique identifier of the condition which describes the condition recognizable to the user.", +"enum": [ +"CODE_UNSPECIFIED", +"MESH_IAM_PERMISSION_DENIED", +"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", +"CNI_CONFIG_UNSUPPORTED", +"GKE_SANDBOX_UNSUPPORTED", +"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", +"CNI_INSTALLATION_FAILED", +"CNI_POD_UNSCHEDULABLE", +"CLUSTER_HAS_ZERO_NODES", +"CANONICAL_SERVICE_ERROR", +"UNSUPPORTED_MULTIPLE_CONTROL_PLANES", +"VPCSC_GA_SUPPORTED", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", +"CONFIG_APPLY_INTERNAL_ERROR", +"CONFIG_VALIDATION_ERROR", +"CONFIG_VALIDATION_WARNING", +"QUOTA_EXCEEDED_BACKEND_SERVICES", +"QUOTA_EXCEEDED_HEALTH_CHECKS", +"QUOTA_EXCEEDED_HTTP_ROUTES", +"QUOTA_EXCEEDED_TCP_ROUTES", +"QUOTA_EXCEEDED_TLS_ROUTES", +"QUOTA_EXCEEDED_TRAFFIC_POLICIES", +"QUOTA_EXCEEDED_ENDPOINT_POLICIES", +"QUOTA_EXCEEDED_GATEWAYS", +"QUOTA_EXCEEDED_MESHES", +"QUOTA_EXCEEDED_SERVER_TLS_POLICIES", +"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", +"QUOTA_EXCEEDED_SERVICE_LB_POLICIES", +"QUOTA_EXCEEDED_HTTP_FILTERS", +"QUOTA_EXCEEDED_TCP_FILTERS", +"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", +"LEGACY_MC_SECRETS", +"WORKLOAD_IDENTITY_REQUIRED", +"NON_STANDARD_BINARY_USAGE", +"UNSUPPORTED_GATEWAY_CLASS", +"MANAGED_CNI_NOT_ENABLED", +"MODERNIZATION_SCHEDULED", +"MODERNIZATION_IN_PROGRESS", +"MODERNIZATION_COMPLETED", +"MODERNIZATION_ABORTED", +"MODERNIZATION_PREPARING", +"MODERNIZATION_STALLED", +"MODERNIZATION_PREPARED", +"MODERNIZATION_MIGRATING_WORKLOADS", +"MODERNIZATION_ROLLING_BACK_CLUSTER", +"MODERNIZATION_WILL_BE_SCHEDULED", +"MODERNIZATION_MANUAL", +"MODERNIZATION_ELIGIBLE", +"MODERNIZATION_MODERNIZING", +"MODERNIZATION_MODERNIZED_SOAKING", +"MODERNIZATION_FINALIZED", +"MODERNIZATION_ROLLING_BACK_FLEET" +], +"enumDescriptions": [ +"Default Unspecified code", +"Mesh IAM permission denied error code", +"Permission denied error code for cross-project", +"CNI config unsupported error code", +"GKE sandbox unsupported error code", +"Nodepool workload identity federation required error code", +"CNI installation failed error code", +"CNI pod unschedulable error code", +"Cluster has zero node code", +"Failure to reconcile CanonicalServices", +"Multiple control planes unsupported error code", +"VPC-SC GA is supported for this control plane.", +"User is using deprecated ControlPlaneManagement and they have not yet set Management.", +"User is using deprecated ControlPlaneManagement and they have already set Management.", +"Configuration (Istio/k8s resources) failed to apply due to internal error.", +"Configuration failed to be applied due to being invalid.", +"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.", +"BackendService quota exceeded error code.", +"HealthCheck quota exceeded error code.", +"HTTPRoute quota exceeded error code.", +"TCPRoute quota exceeded error code.", +"TLS routes quota exceeded error code.", +"TrafficPolicy quota exceeded error code.", +"EndpointPolicy quota exceeded error code.", +"Gateway quota exceeded error code.", +"Mesh quota exceeded error code.", +"ServerTLSPolicy quota exceeded error code.", +"ClientTLSPolicy quota exceeded error code.", +"ServiceLBPolicy quota exceeded error code.", +"HTTPFilter quota exceeded error code.", +"TCPFilter quota exceeded error code.", +"NetworkEndpointGroup quota exceeded error code.", +"Legacy istio secrets found for multicluster error code.", +"Workload identity required error code.", +"Non-standard binary usage error code.", +"Unsupported gateway class error code.", +"Managed CNI not enabled error code.", +"Modernization is scheduled for a cluster.", +"Modernization is in progress for a cluster.", +"Modernization is completed for a cluster.", +"Modernization is aborted for a cluster.", +"Preparing cluster so that its workloads can be migrated.", +"Modernization is stalled for a cluster.", +"Cluster has been prepared for its workloads to be migrated.", +"Migrating the cluster's workloads to the new implementation.", +"Rollback is in progress for modernization of a cluster.", +"Modernization will be scheduled for a fleet.", +"Fleet is opted out from automated modernization.", +"Fleet is eligible for modernization.", +"Modernization of one or more clusters in a fleet is in progress.", +"Modernization of all the fleet's clusters is complete. Soaking before finalizing the modernization.", +"Modernization is finalized for all clusters in a fleet. Rollback is no longer allowed.", +"Rollback is in progress for modernization of all clusters in a fleet." +], +"type": "string" +}, +"details": { +"description": "A short summary about the issue.", +"type": "string" +}, +"documentationLink": { +"description": "Links contains actionable information.", +"type": "string" +}, +"severity": { +"description": "Severity level of the condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity", +"Indicates an issue that prevents the mesh from operating correctly", +"Indicates a setting is likely wrong, but the mesh is still able to operate", +"An informational message, not requiring any action" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshFeatureState": { +"description": "**Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub Controller.", +"id": "ServiceMeshFeatureState", +"properties": { +"analysisMessages": { +"description": "Output only. Results of running Service Mesh analyzers.", +"items": { +"$ref": "ServiceMeshAnalysisMessage" +}, +"readOnly": true, +"type": "array" +}, +"conditions": { +"description": "Output only. List of conditions reported for this feature.", +"items": { +"$ref": "ServiceMeshFeatureCondition" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ServiceMeshMembershipSpec": { +"description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", +"id": "ServiceMeshMembershipSpec", +"properties": { +"configApi": { +"description": "Optional. Specifies the API that will be used for configuring the mesh workloads.", +"enum": [ +"CONFIG_API_UNSPECIFIED", +"CONFIG_API_ISTIO", +"CONFIG_API_GATEWAY" +], +"enumDescriptions": [ +"Unspecified", +"Use the Istio API for configuration.", +"Use the K8s Gateway API for configuration." +], +"type": "string" +}, +"controlPlane": { +"deprecated": true, +"description": "Deprecated: use `management` instead Enables automatic control plane management.", +"enum": [ +"CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google should provision a control plane revision and make it available in the cluster. Google will enroll this revision in a release channel and keep it up to date. The control plane revision may be a managed service, or a managed install.", +"User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" +], +"type": "string" +}, +"defaultChannel": { +"deprecated": true, +"description": "Determines which release channel to use for default injection and service mesh APIs.", +"enum": [ +"CHANNEL_UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE" +], +"enumDescriptions": [ +"Unspecified", +"RAPID channel is offered on an early access basis for customers who want to test new releases.", +"REGULAR channel is intended for production users who want to take advantage of new features.", +"STABLE channel includes versions that are known to be stable and reliable in production." +], +"type": "string" +}, +"management": { +"description": "Optional. Enables automatic Service Mesh management.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL", +"MANAGEMENT_NOT_INSTALLED" +], +"enumDescriptions": [ +"Unspecified", +"Google should manage my Service Mesh for the cluster.", +"User will manually configure their service mesh components.", +"Google should remove any managed Service Mesh components from this cluster and deprovision any resources." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshMembershipState": { +"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", +"id": "ServiceMeshMembershipState", +"properties": { +"analysisMessages": { +"description": "Output only. Results of running Service Mesh analyzers.", +"items": { +"$ref": "ServiceMeshAnalysisMessage" +}, +"readOnly": true, +"type": "array" +}, +"conditions": { +"description": "Output only. List of conditions reported for this membership.", +"items": { +"$ref": "ServiceMeshCondition" +}, +"readOnly": true, +"type": "array" +}, +"configApiVersion": { +"description": "The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.", +"type": "string" +}, +"controlPlaneManagement": { +"$ref": "ServiceMeshControlPlaneManagement", +"description": "Output only. Status of control plane management", +"readOnly": true +}, +"dataPlaneManagement": { +"$ref": "ServiceMeshDataPlaneManagement", +"description": "Output only. Status of data plane management.", +"readOnly": true +} +}, +"type": "object" +}, +"ServiceMeshStatusDetails": { +"description": "Structured and human-readable details for a status.", +"id": "ServiceMeshStatusDetails", +"properties": { +"code": { +"description": "A machine-readable code that further describes a broad status.", +"type": "string" +}, +"details": { +"description": "Human-readable explanation of code.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshType": { +"description": "A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type", +"id": "ServiceMeshType", +"properties": { +"code": { +"description": "A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. \"IST0001\" is mapped to the \"InternalError\" message type.)", +"type": "string" +}, +"displayName": { +"description": "A human-readable name for the message type. e.g. \"InternalError\", \"PodMissingProxy\". This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)", +"type": "string" +} +}, +"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" +}, +"Stage": { +"description": "Rollout stage.", +"id": "Stage", +"properties": { +"clusterSelector": { +"$ref": "ClusterSelector", +"description": "Optional. Filter members of fleets (above) to a subset of clusters. If not specified, all clusters in the fleets are selected." +}, +"fleetProjects": { +"description": "Required. List of Fleet projects to select the clusters from. Expected format: projects/{project}", +"items": { +"type": "string" +}, +"type": "array" +}, +"soakDuration": { +"description": "Optional. Soak time after upgrading all the clusters in the stage.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "Status specifies state for the subcomponent.", +"id": "Status", +"properties": { +"code": { +"description": "Code specifies AppDevExperienceFeature's subcomponent ready state.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"FAILED", +"UNKNOWN" +], +"enumDescriptions": [ +"Not set.", +"AppDevExperienceFeature's specified subcomponent is ready.", +"AppDevExperienceFeature's specified subcomponent ready state is false. This means AppDevExperienceFeature has encountered an issue that blocks all, or a portion, of its normal operation. See the `description` for more details.", +"AppDevExperienceFeature's specified subcomponent has a pending or unknown state." +], +"type": "string" +}, +"description": { +"description": "Description is populated if Code is Failed, explaining why it has failed.", +"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" +}, +"TypeMeta": { +"description": "TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.", +"id": "TypeMeta", +"properties": { +"apiVersion": { +"description": "APIVersion of the resource (e.g. v1).", +"type": "string" +}, +"kind": { +"description": "Kind of the resource (e.g. Deployment).", +"type": "string" +} +}, +"type": "object" +}, +"ValidateCreateMembershipRequest": { +"description": "Request message for the `GkeHub.ValidateCreateMembership` method.", +"id": "ValidateCreateMembershipRequest", +"properties": { +"membership": { +"$ref": "Membership", +"description": "Required. Membership resource to be created." +}, +"membershipId": { +"description": "Required. Client chosen membership id.", +"type": "string" +} +}, +"type": "object" +}, +"ValidateCreateMembershipResponse": { +"description": "Response message for the `GkeHub.ValidateCreateMembership` method.", +"id": "ValidateCreateMembershipResponse", +"properties": { +"validationResults": { +"description": "Wraps all the validator results.", +"items": { +"$ref": "ValidationResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"ValidateExclusivityResponse": { +"description": "The response of exclusivity artifacts validation result status.", +"id": "ValidateExclusivityResponse", +"properties": { +"status": { +"$ref": "GoogleRpcStatus", +"description": "The validation result. * `OK` means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied. * `ALREADY_EXISTS` means that the Membership CRD is already owned by another Hub. See `status.message` for more information." +} +}, +"type": "object" +}, +"ValidationResult": { +"description": "ValidationResults are results set by each validator running during ValidateCreateMembership.", +"id": "ValidationResult", +"properties": { +"result": { +"description": "Additional information for the validation.", +"type": "string" +}, +"success": { +"description": "Whether the validation is passed or not.", +"type": "boolean" +}, +"validator": { +"description": "Validator type to validate membership with.", +"enum": [ +"VALIDATOR_TYPE_UNSPECIFIED", +"MEMBERSHIP_ID", +"CROSS_PROJECT_PERMISSION", +"FLEET_ALLOWED_FOR_PROJECT_GUARDRAIL" +], +"enumDescriptions": [ +"UNSPECIFIED validator.", +"MEMBERSHIP_ID validator validates that the membership_id is still available.", +"CROSS_PROJECT_PERMISSION validator validates that the cross-project role binding for the service agent is in place.", +"FLEET_ALLOWED_FOR_PROJECT_GUARDRAIL validator validates that the fleet project is allowed for the project guardrail." +], +"type": "string" +} +}, +"type": "object" +}, +"VersionUpgrade": { +"description": "Config for version upgrade of clusters.", +"id": "VersionUpgrade", +"properties": { +"desiredVersion": { +"description": "Optional. Desired version of the component.", +"type": "string" +}, +"type": { +"description": "Optional. Type of version upgrade specifies which component should be upgraded.", +"enum": [ +"TYPE_UNSPECIFIED", +"TYPE_CONTROL_PLANE", +"TYPE_NODE_POOL" +], +"enumDescriptions": [ +"Default value.", +"Control plane upgrade.", +"Node pool upgrade." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureSpec": { +"description": "**WorkloadIdentity**: Global feature specification.", +"id": "WorkloadIdentityFeatureSpec", +"properties": { +"scopeTenancyPool": { +"description": "Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet Tenancy, so that sameness can be enforced. ex: projects/example/locations/global/workloadidentitypools/custompool", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityFeatureState": { +"description": "**WorkloadIdentity**: Global feature state.", +"id": "WorkloadIdentityFeatureState", +"properties": { +"namespaceStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityNamespaceStateDetail" +}, +"description": "The state of the IAM namespaces for the fleet.", +"type": "object" +}, +"namespaceStates": { +"additionalProperties": { +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "object" +}, +"scopeTenancyWorkloadIdentityPool": { +"description": "The full name of the scope-tenancy pool for the fleet.", +"type": "string" +}, +"workloadIdentityPool": { +"description": "The full name of the svc.id.goog pool for the fleet.", +"type": "string" +}, +"workloadIdentityPoolStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityWorkloadIdentityPoolStateDetail" +}, +"description": "The state of the Workload Identity Pools for the fleet.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityIdentityProviderStateDetail": { +"description": "IdentityProviderStateDetail represents the state of an Identity Provider.", +"id": "WorkloadIdentityIdentityProviderStateDetail", +"properties": { +"code": { +"description": "The state of the Identity Provider.", +"enum": [ +"IDENTITY_PROVIDER_STATE_UNSPECIFIED", +"IDENTITY_PROVIDER_STATE_OK", +"IDENTITY_PROVIDER_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Identity Provider was created/updated successfully.", +"The Identity Provider was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityMembershipState": { +"description": "**WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature.", +"id": "WorkloadIdentityMembershipState", +"properties": { +"description": { +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "string" +}, +"identityProviderStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityIdentityProviderStateDetail" +}, +"description": "The state of the Identity Providers corresponding to the membership.", +"type": "object" +} +}, +"type": "object" +}, +"WorkloadIdentityNamespaceStateDetail": { +"description": "NamespaceStateDetail represents the state of a IAM namespace.", +"id": "WorkloadIdentityNamespaceStateDetail", +"properties": { +"code": { +"description": "The state of the IAM namespace.", +"enum": [ +"NAMESPACE_STATE_UNSPECIFIED", +"NAMESPACE_STATE_OK", +"NAMESPACE_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Namespace was created/updated successfully.", +"The Namespace was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityWorkloadIdentityPoolStateDetail": { +"description": "WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the fleet.", +"id": "WorkloadIdentityWorkloadIdentityPoolStateDetail", +"properties": { +"code": { +"description": "The state of the Workload Identity Pool.", +"enum": [ +"WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", +"WORKLOAD_IDENTITY_POOL_STATE_OK", +"WORKLOAD_IDENTITY_POOL_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Workload Identity Pool was created/updated successfully.", +"The Workload Identity Pool was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE Hub API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..33d7ba9bd31d535576d2193343edfacfb9b3dc04 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gkehub.v2beta.json @@ -0,0 +1,3519 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://gkehub.googleapis.com/", +"batchPath": "batch", +"canonicalName": "GKE Hub", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", +"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": "gkehub:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gkehub.mtls.googleapis.com/", +"name": "gkehub", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v2beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"memberships": { +"resources": { +"features": { +"methods": { +"create": { +"description": "Creates membershipFeature under a given parent.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/features", +"httpMethod": "POST", +"id": "gkehub.projects.locations.memberships.features.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"featureId": { +"description": "Required. The ID of the membership_feature to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of parent where the MembershipFeature will be created. Specified in the format `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}/features", +"request": { +"$ref": "MembershipFeature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Removes a membershipFeature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/features/{featuresId}", +"httpMethod": "DELETE", +"id": "gkehub.projects.locations.memberships.features.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the membershipFeature to be deleted. Specified in the format `projects/*/locations/*/memberships/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "========= MembershipFeature Services ========= Gets details of a membershipFeature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/features/{featuresId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.features.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The MembershipFeature resource name in the format `projects/*/locations/*/memberships/*/features/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "MembershipFeature" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists MembershipFeatures in a given project and location.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/features", +"httpMethod": "GET", +"id": "gkehub.projects.locations.memberships.features.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Lists MembershipFeatures that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Examples: - Feature with the name \"helloworld\" in project \"foo-proj\" and membership \"member-bar\": name = \"projects/foo-proj/locations/global/memberships/member-bar/features/helloworld\" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent where the MembershipFeature will be listed. In the format: `projects/*/locations/*/memberships/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}/features", +"response": { +"$ref": "ListMembershipFeaturesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing MembershipFeature.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/features/{featuresId}", +"httpMethod": "PATCH", +"id": "gkehub.projects.locations.memberships.features.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "Optional. If set to true, and the MembershipFeature is not found, a new MembershipFeature will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the membershipFeature, in the format: `projects/{project}/locations/{location}/memberships/{membership}/features/{feature}`. Note that `membershipFeatures` is shortened to `features` in the resource name. (see http://go/aip/122#collection-identifiers)", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/features/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "MembershipFeature" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "gkehub.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "gkehub.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260126", +"rootUrl": "https://gkehub.googleapis.com/", +"schemas": { +"AppDevExperienceState": { +"description": "State for App Dev Exp Feature.", +"id": "AppDevExperienceState", +"properties": { +"networkingInstallSucceeded": { +"$ref": "AppDevExperienceStatus", +"description": "Status of subcomponent that detects configured Service Mesh resources." +} +}, +"type": "object" +}, +"AppDevExperienceStatus": { +"description": "Status specifies state for the subcomponent.", +"id": "AppDevExperienceStatus", +"properties": { +"code": { +"description": "Code specifies AppDevExperienceFeature's subcomponent ready state.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"FAILED", +"UNKNOWN" +], +"enumDescriptions": [ +"Not set.", +"AppDevExperienceFeature's specified subcomponent is ready.", +"AppDevExperienceFeature's specified subcomponent ready state is false. This means AppDevExperienceFeature has encountered an issue that blocks all, or a portion, of its normal operation. See the `description` for more details.", +"AppDevExperienceFeature's specified subcomponent has a pending or unknown state." +], +"type": "string" +}, +"description": { +"description": "Description is populated if Code is Failed, explaining why it has failed.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloudBuildSpec": { +"description": "**Cloud Build**: Configurations for each Cloud Build enabled cluster.", +"id": "CloudBuildSpec", +"properties": { +"securityPolicy": { +"description": "Whether it is allowed to run the privileged builds on the cluster or not.", +"enum": [ +"SECURITY_POLICY_UNSPECIFIED", +"NON_PRIVILEGED", +"PRIVILEGED" +], +"enumDescriptions": [ +"Unspecified policy", +"Privileged build pods are disallowed", +"Privileged build pods are allowed" +], +"type": "string" +}, +"version": { +"description": "Version of the cloud build software on the cluster.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeGKEUpgrade": { +"description": "GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.", +"id": "ClusterUpgradeGKEUpgrade", +"properties": { +"name": { +"description": "Name of the upgrade, e.g., \"k8s_control_plane\".", +"type": "string" +}, +"version": { +"description": "Version of the upgrade, e.g., \"1.22.1-gke.100\".", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeIgnoredMembership": { +"description": "IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.", +"id": "ClusterUpgradeIgnoredMembership", +"properties": { +"ignoredTime": { +"description": "Time when the membership was first set to ignored.", +"format": "google-datetime", +"type": "string" +}, +"reason": { +"description": "Reason why the membership is ignored.", +"type": "string" +} +}, +"type": "object" +}, +"ClusterUpgradeMembershipGKEUpgradeState": { +"description": "MembershipGKEUpgradeState is a GKEUpgrade and its state per-membership.", +"id": "ClusterUpgradeMembershipGKEUpgradeState", +"properties": { +"status": { +"$ref": "ClusterUpgradeUpgradeStatus", +"description": "Status of the upgrade." +}, +"upgrade": { +"$ref": "ClusterUpgradeGKEUpgrade", +"description": "Which upgrade to track the state." +} +}, +"type": "object" +}, +"ClusterUpgradeState": { +"description": "Per-membership state for this feature.", +"id": "ClusterUpgradeState", +"properties": { +"ignored": { +"$ref": "ClusterUpgradeIgnoredMembership", +"description": "Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel." +}, +"upgrades": { +"description": "Actual upgrade state against desired.", +"items": { +"$ref": "ClusterUpgradeMembershipGKEUpgradeState" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClusterUpgradeUpgradeStatus": { +"description": "UpgradeStatus provides status information for each upgrade.", +"id": "ClusterUpgradeUpgradeStatus", +"properties": { +"code": { +"description": "Status code of the upgrade.", +"enum": [ +"CODE_UNSPECIFIED", +"INELIGIBLE", +"PENDING", +"IN_PROGRESS", +"SOAKING", +"FORCED_SOAKING", +"COMPLETE" +], +"enumDescriptions": [ +"Required by https://linter.aip.dev/126/unspecified.", +"The upgrade is ineligible. At the scope level, this means the upgrade is ineligible for all the clusters in the scope.", +"The upgrade is pending. At the scope level, this means the upgrade is pending for all the clusters in the scope.", +"The upgrade is in progress. At the scope level, this means the upgrade is in progress for at least one cluster in the scope.", +"The upgrade has finished and is soaking until the soaking time is up. At the scope level, this means at least one cluster is in soaking while the rest are either soaking or complete.", +"A cluster will be forced to enter soaking if an upgrade doesn't finish within a certain limit, despite it's actual status.", +"The upgrade has passed all post conditions (soaking). At the scope level, this means all eligible clusters are in COMPLETE status." +], +"type": "string" +}, +"reason": { +"description": "Reason for this status.", +"type": "string" +}, +"updateTime": { +"description": "Last timestamp the status was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzConfig": { +"description": "Configuration for Binauthz.", +"id": "ConfigManagementBinauthzConfig", +"properties": { +"enabled": { +"description": "Whether binauthz is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzState": { +"description": "State for Binauthz.", +"id": "ConfigManagementBinauthzState", +"properties": { +"version": { +"$ref": "ConfigManagementBinauthzVersion", +"description": "The version of binauthz that is installed." +}, +"webhook": { +"description": "The state of the binauthz webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementBinauthzVersion": { +"description": "The version of binauthz.", +"id": "ConfigManagementBinauthzVersion", +"properties": { +"webhookVersion": { +"description": "The version of the binauthz webhook.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSync": { +"description": "Configuration for Config Sync", +"id": "ConfigManagementConfigSync", +"properties": { +"deploymentOverrides": { +"description": "Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.", +"items": { +"$ref": "ConfigManagementDeploymentOverride" +}, +"type": "array" +}, +"enabled": { +"description": "Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.", +"type": "boolean" +}, +"git": { +"$ref": "ConfigManagementGitConfig", +"description": "Optional. Git repo configuration for the cluster." +}, +"metricsGcpServiceAccountEmail": { +"deprecated": true, +"description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", +"type": "string" +}, +"oci": { +"$ref": "ConfigManagementOciConfig", +"description": "Optional. OCI repo configuration for the cluster." +}, +"preventDrift": { +"description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.", +"type": "boolean" +}, +"sourceFormat": { +"description": "Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.", +"type": "string" +}, +"stopSyncing": { +"description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncDeploymentState": { +"description": "The state of ConfigSync's deployment on a cluster.", +"id": "ConfigManagementConfigSyncDeploymentState", +"properties": { +"admissionWebhook": { +"description": "Deployment state of admission-webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gitSync": { +"description": "Deployment state of the git-sync pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"importer": { +"description": "Deployment state of the importer pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"monitor": { +"description": "Deployment state of the monitor pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"otelCollector": { +"description": "Deployment state of otel-collector", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"reconcilerManager": { +"description": "Deployment state of reconciler-manager pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Deployment state of resource-group-controller-manager", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"rootReconciler": { +"description": "Deployment state of root-reconciler.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"syncer": { +"description": "Deployment state of the syncer pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncError": { +"description": "Errors pertaining to the installation of Config Sync", +"id": "ConfigManagementConfigSyncError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncState": { +"description": "State information for ConfigSync.", +"id": "ConfigManagementConfigSyncState", +"properties": { +"clusterLevelStopSyncingState": { +"description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", +"enum": [ +"STOP_SYNCING_STATE_UNSPECIFIED", +"NOT_STOPPED", +"PENDING", +"STOPPED" +], +"enumDescriptions": [ +"State cannot be determined", +"Syncing resources to the cluster is not stopped at the cluster level.", +"Some reconcilers stop syncing resources to the cluster, while others are still syncing.", +"Syncing resources to the cluster is stopped at the cluster level." +], +"readOnly": true, +"type": "string" +}, +"crCount": { +"description": "Output only. The number of RootSync and RepoSync CRs in the cluster.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"deploymentState": { +"$ref": "ConfigManagementConfigSyncDeploymentState", +"description": "Output only. Information about the deployment of ConfigSync, including the version. of the various Pods deployed", +"readOnly": true +}, +"errors": { +"description": "Output only. Errors pertaining to the installation of Config Sync.", +"items": { +"$ref": "ConfigManagementConfigSyncError" +}, +"readOnly": true, +"type": "array" +}, +"reposyncCrd": { +"description": "Output only. The state of the Reposync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"rootsyncCrd": { +"description": "Output only. The state of the RootSync CRD", +"enum": [ +"CRD_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"TERMINATING", +"INSTALLING" +], +"enumDescriptions": [ +"CRD's state cannot be determined", +"CRD is not installed", +"CRD is installed", +"CRD is terminating (i.e., it has been deleted and is cleaning up)", +"CRD is installing" +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of CS This field summarizes the other fields in this message.", +"enum": [ +"STATE_UNSPECIFIED", +"CONFIG_SYNC_NOT_INSTALLED", +"CONFIG_SYNC_INSTALLED", +"CONFIG_SYNC_ERROR", +"CONFIG_SYNC_PENDING" +], +"enumDescriptions": [ +"CS's state cannot be determined.", +"CS is not installed.", +"The expected CS version is installed successfully.", +"CS encounters errors.", +"CS is installing or terminating." +], +"readOnly": true, +"type": "string" +}, +"syncState": { +"$ref": "ConfigManagementSyncState", +"description": "Output only. The state of ConfigSync's process to sync configs to a cluster.", +"readOnly": true +}, +"version": { +"$ref": "ConfigManagementConfigSyncVersion", +"description": "Output only. The version of ConfigSync deployed.", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementConfigSyncVersion": { +"description": "Specific versioning information pertaining to ConfigSync's Pods.", +"id": "ConfigManagementConfigSyncVersion", +"properties": { +"admissionWebhook": { +"description": "Version of the deployed admission-webhook pod.", +"type": "string" +}, +"gitSync": { +"description": "Version of the deployed git-sync pod.", +"type": "string" +}, +"importer": { +"description": "Version of the deployed importer pod.", +"type": "string" +}, +"monitor": { +"description": "Version of the deployed monitor pod.", +"type": "string" +}, +"otelCollector": { +"description": "Version of the deployed otel-collector pod", +"type": "string" +}, +"reconcilerManager": { +"description": "Version of the deployed reconciler-manager pod.", +"type": "string" +}, +"resourceGroupControllerManager": { +"description": "Version of the deployed resource-group-controller-manager pod", +"type": "string" +}, +"rootReconciler": { +"description": "Version of the deployed reconciler container in root-reconciler pod.", +"type": "string" +}, +"syncer": { +"description": "Version of the deployed syncer pod.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementContainerOverride": { +"description": "Configuration for a container override.", +"id": "ConfigManagementContainerOverride", +"properties": { +"containerName": { +"description": "Required. The name of the container.", +"type": "string" +}, +"cpuLimit": { +"description": "Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"cpuRequest": { +"description": "Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.", +"type": "string" +}, +"memoryLimit": { +"description": "Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +}, +"memoryRequest": { +"description": "Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementDeploymentOverride": { +"description": "Configuration for a deployment override.", +"id": "ConfigManagementDeploymentOverride", +"properties": { +"containers": { +"description": "Optional. The containers of the deployment resource to be overridden.", +"items": { +"$ref": "ConfigManagementContainerOverride" +}, +"type": "array" +}, +"deploymentName": { +"description": "Required. The name of the deployment resource to be overridden.", +"type": "string" +}, +"deploymentNamespace": { +"description": "Required. The namespace of the deployment resource to be overridden.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementErrorResource": { +"description": "Model for a config file in the git repo with an associated Sync error.", +"id": "ConfigManagementErrorResource", +"properties": { +"resourceGvk": { +"$ref": "ConfigManagementGroupVersionKind", +"description": "Group/version/kind of the resource that is causing an error" +}, +"resourceName": { +"description": "Metadata name of the resource that is causing an error", +"type": "string" +}, +"resourceNamespace": { +"description": "Namespace of the resource that is causing an error", +"type": "string" +}, +"sourcePath": { +"description": "Path in the git repo of the erroneous config", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGatekeeperDeploymentState": { +"description": "State of Policy Controller installation.", +"id": "ConfigManagementGatekeeperDeploymentState", +"properties": { +"gatekeeperAudit": { +"description": "Status of gatekeeper-audit deployment.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperControllerManagerState": { +"description": "Status of gatekeeper-controller-manager pod.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"gatekeeperMutation": { +"description": "Status of the pod serving the mutation webhook.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGitConfig": { +"description": "Git repo configuration for a single cluster.", +"id": "ConfigManagementGitConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"httpsProxy": { +"description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncBranch": { +"description": "Optional. The branch of the repository to sync from. Default: master.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The URL of the Git repository to use as the source of truth.", +"type": "string" +}, +"syncRev": { +"description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementGroupVersionKind": { +"description": "A Kubernetes object's GVK.", +"id": "ConfigManagementGroupVersionKind", +"properties": { +"group": { +"description": "Kubernetes Group", +"type": "string" +}, +"kind": { +"description": "Kubernetes Kind", +"type": "string" +}, +"version": { +"description": "Kubernetes Version", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerConfig": { +"description": "Configuration for Hierarchy Controller.", +"id": "ConfigManagementHierarchyControllerConfig", +"properties": { +"enableHierarchicalResourceQuota": { +"description": "Whether hierarchical resource quota is enabled in this cluster.", +"type": "boolean" +}, +"enablePodTreeLabels": { +"description": "Whether pod tree labels are enabled in this cluster.", +"type": "boolean" +}, +"enabled": { +"description": "Whether Hierarchy Controller is enabled in this cluster.", +"type": "boolean" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerDeploymentState": { +"description": "Deployment state for Hierarchy Controller", +"id": "ConfigManagementHierarchyControllerDeploymentState", +"properties": { +"extension": { +"description": "The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1).", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"hnc": { +"description": "The deployment state for open source HNC (e.g. v0.7.0-hc.0).", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerState": { +"description": "State for Hierarchy Controller.", +"id": "ConfigManagementHierarchyControllerState", +"properties": { +"state": { +"$ref": "ConfigManagementHierarchyControllerDeploymentState", +"description": "The deployment state for Hierarchy Controller." +}, +"version": { +"$ref": "ConfigManagementHierarchyControllerVersion", +"description": "The version for Hierarchy Controller." +} +}, +"type": "object" +}, +"ConfigManagementHierarchyControllerVersion": { +"description": "Version for Hierarchy Controller.", +"id": "ConfigManagementHierarchyControllerVersion", +"properties": { +"extension": { +"description": "Version for Hierarchy Controller extension.", +"type": "string" +}, +"hnc": { +"description": "Version for open source HNC.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementInstallError": { +"description": "Errors pertaining to the installation of ACM.", +"id": "ConfigManagementInstallError", +"properties": { +"errorMessage": { +"description": "A string representing the user facing error message.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementOciConfig": { +"description": "OCI repo configuration for a single cluster.", +"id": "ConfigManagementOciConfig", +"properties": { +"gcpServiceAccountEmail": { +"description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.", +"type": "string" +}, +"policyDir": { +"description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", +"type": "string" +}, +"secretType": { +"description": "Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.", +"type": "string" +}, +"syncRepo": { +"description": "Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", +"type": "string" +}, +"syncWaitSecs": { +"description": "Optional. Period in seconds between consecutive syncs. Default: 15.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementOperatorState": { +"description": "State information for an ACM's Operator.", +"id": "ConfigManagementOperatorState", +"properties": { +"deploymentState": { +"description": "The state of the Operator's deployment.", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLED", +"ERROR", +"PENDING" +], +"enumDescriptions": [ +"Deployment's state cannot be determined.", +"Deployment is not installed.", +"Deployment is installed.", +"Deployment was attempted to be installed, but has errors.", +"Deployment is installing or terminating" +], +"type": "string" +}, +"errors": { +"description": "Install errors.", +"items": { +"$ref": "ConfigManagementInstallError" +}, +"type": "array" +}, +"version": { +"description": "The semenatic version number of the operator.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyController": { +"description": "Configuration for Policy Controller", +"id": "ConfigManagementPolicyController", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"enabled": { +"description": "Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.", +"type": "boolean" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "ConfigManagementPolicyControllerMonitoring", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.", +"type": "boolean" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +}, +"templateLibraryInstalled": { +"description": "Installs the default template library along with Policy Controller.", +"type": "boolean" +}, +"updateTime": { +"description": "Output only. Last time this membership spec was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMigration": { +"description": "State for the migration of PolicyController from ACM -> PoCo Hub.", +"id": "ConfigManagementPolicyControllerMigration", +"properties": { +"copyTime": { +"description": "Last time this membership spec was copied to PoCo feature.", +"format": "google-datetime", +"type": "string" +}, +"stage": { +"description": "Stage of the migration.", +"enum": [ +"STAGE_UNSPECIFIED", +"ACM_MANAGED", +"POCO_MANAGED" +], +"enumDescriptions": [ +"Unknown state of migration.", +"ACM Hub/Operator manages policycontroller. No migration yet completed.", +"All migrations steps complete; Poco Hub now manages policycontroller." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerMonitoring": { +"description": "PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "ConfigManagementPolicyControllerMonitoring", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerState": { +"description": "State for PolicyControllerState.", +"id": "ConfigManagementPolicyControllerState", +"properties": { +"deploymentState": { +"$ref": "ConfigManagementGatekeeperDeploymentState", +"description": "The state about the policy controller installation." +}, +"migration": { +"$ref": "ConfigManagementPolicyControllerMigration", +"description": "Record state of ACM -> PoCo Hub migration for this feature." +}, +"version": { +"$ref": "ConfigManagementPolicyControllerVersion", +"description": "The version of Gatekeeper Policy Controller deployed." +} +}, +"type": "object" +}, +"ConfigManagementPolicyControllerVersion": { +"description": "The build version of Gatekeeper Policy Controller is using.", +"id": "ConfigManagementPolicyControllerVersion", +"properties": { +"version": { +"description": "The gatekeeper image tag that is composed of ACM version, git tag, build number.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementSpec": { +"description": "**Anthos Config Management**: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.", +"id": "ConfigManagementSpec", +"properties": { +"binauthz": { +"$ref": "ConfigManagementBinauthzConfig", +"deprecated": true, +"description": "Optional. Deprecated: Binauthz configuration will be ignored and should not be set." +}, +"cluster": { +"description": "Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.", +"type": "string" +}, +"configSync": { +"$ref": "ConfigManagementConfigSync", +"description": "Optional. Config Sync configuration for the cluster." +}, +"hierarchyController": { +"$ref": "ConfigManagementHierarchyControllerConfig", +"deprecated": true, +"description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." +}, +"management": { +"deprecated": true, +"description": "Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google will manage the Feature for the cluster.", +"User will manually manage the Feature for the cluster." +], +"type": "string" +}, +"policyController": { +"$ref": "ConfigManagementPolicyController", +"deprecated": true, +"description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." +}, +"version": { +"description": "Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigManagementState": { +"description": "**Anthos Config Management**: State for a single cluster.", +"id": "ConfigManagementState", +"properties": { +"binauthzState": { +"$ref": "ConfigManagementBinauthzState", +"description": "Output only. Binauthz status.", +"readOnly": true +}, +"clusterName": { +"description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", +"readOnly": true, +"type": "string" +}, +"configSyncState": { +"$ref": "ConfigManagementConfigSyncState", +"description": "Output only. Current sync status.", +"readOnly": true +}, +"hierarchyControllerState": { +"$ref": "ConfigManagementHierarchyControllerState", +"description": "Output only. Hierarchy Controller status.", +"readOnly": true +}, +"kubernetesApiServerVersion": { +"description": "Output only. The Kubernetes API server version of the cluster.", +"readOnly": true, +"type": "string" +}, +"membershipSpec": { +"$ref": "ConfigManagementSpec", +"description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state.", +"readOnly": true +}, +"operatorState": { +"$ref": "ConfigManagementOperatorState", +"description": "Output only. Current install status of ACM's Operator.", +"readOnly": true +}, +"policyControllerState": { +"$ref": "ConfigManagementPolicyControllerState", +"description": "Output only. PolicyController status.", +"readOnly": true +} +}, +"type": "object" +}, +"ConfigManagementSyncError": { +"description": "An ACM created error representing a problem syncing configurations.", +"id": "ConfigManagementSyncError", +"properties": { +"code": { +"description": "An ACM defined error code", +"type": "string" +}, +"errorMessage": { +"description": "A description of the error", +"type": "string" +}, +"errorResources": { +"description": "A list of config(s) associated with the error, if any", +"items": { +"$ref": "ConfigManagementErrorResource" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConfigManagementSyncState": { +"description": "State indicating an ACM's progress syncing configurations to a cluster.", +"id": "ConfigManagementSyncState", +"properties": { +"code": { +"description": "Sync status code.", +"enum": [ +"SYNC_CODE_UNSPECIFIED", +"SYNCED", +"PENDING", +"ERROR", +"NOT_CONFIGURED", +"NOT_INSTALLED", +"UNAUTHORIZED", +"UNREACHABLE" +], +"enumDescriptions": [ +"Config Sync cannot determine a sync code", +"Config Sync successfully synced the git Repo with the cluster", +"Config Sync is in the progress of syncing a new change", +"Indicates an error configuring Config Sync, and user action is required", +"Config Sync has been installed but not configured", +"Config Sync has not been installed", +"Error authorizing with the cluster", +"Cluster could not be reached" +], +"type": "string" +}, +"errors": { +"description": "A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.", +"items": { +"$ref": "ConfigManagementSyncError" +}, +"type": "array" +}, +"importToken": { +"description": "Token indicating the state of the importer.", +"type": "string" +}, +"lastSync": { +"deprecated": true, +"description": "Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo. The time format is specified in https://golang.org/pkg/time/#Time.String", +"type": "string" +}, +"lastSyncTime": { +"description": "Timestamp type of when ACM last successfully synced the repo.", +"format": "google-datetime", +"type": "string" +}, +"sourceToken": { +"description": "Token indicating the state of the repo.", +"type": "string" +}, +"syncToken": { +"description": "Token indicating the state of the syncer.", +"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" +}, +"FeatureSpec": { +"description": "FeatureSpec contains user input per-feature spec information.", +"id": "FeatureSpec", +"properties": { +"cloudbuild": { +"$ref": "CloudBuildSpec", +"description": "Cloudbuild-specific FeatureSpec." +}, +"configmanagement": { +"$ref": "ConfigManagementSpec", +"description": "Config Management FeatureSpec." +}, +"identityservice": { +"$ref": "IdentityServiceSpec", +"description": "IdentityService FeatureSpec." +}, +"origin": { +"$ref": "Origin", +"description": "Whether this per-Feature spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Feature config (updated to USER implicitly) or setting to FLEET explicitly." +}, +"policycontroller": { +"$ref": "PolicyControllerSpec", +"description": "Policycontroller-specific FeatureSpec." +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationSpec", +"description": "Rbacrolebindingactuation-specific FeatureSpec." +}, +"servicemesh": { +"$ref": "ServiceMeshSpec", +"description": "ServiceMesh Feature Spec." +}, +"workloadcertificate": { +"$ref": "WorkloadCertificateSpec", +"description": "Workloadcertificate-specific FeatureSpec." +} +}, +"type": "object" +}, +"FeatureState": { +"description": "FeatureState contains high-level state information and per-feature state information for this MembershipFeature.", +"id": "FeatureState", +"properties": { +"appdevexperience": { +"$ref": "AppDevExperienceState", +"description": "Appdevexperience specific state." +}, +"clusterupgrade": { +"$ref": "ClusterUpgradeState", +"description": "Cluster upgrade state." +}, +"configmanagement": { +"$ref": "ConfigManagementState", +"description": "Config Management state" +}, +"identityservice": { +"$ref": "IdentityServiceState", +"description": "Identity service state" +}, +"metering": { +"$ref": "MeteringState", +"description": "Metering state" +}, +"policycontroller": { +"$ref": "PolicyControllerState", +"description": "Policy Controller state" +}, +"rbacrolebindingactuation": { +"$ref": "RBACRoleBindingActuationState", +"description": "RBAC Role Binding Actuation state" +}, +"servicemesh": { +"$ref": "ServiceMeshState", +"description": "Service mesh state" +}, +"state": { +"$ref": "State", +"description": "The high-level state of this MembershipFeature." +}, +"workloadidentity": { +"$ref": "WorkloadIdentityState", +"description": "Workload Identity state" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceAuthMethod": { +"description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.", +"id": "IdentityServiceAuthMethod", +"properties": { +"azureadConfig": { +"$ref": "IdentityServiceAzureADConfig", +"description": "AzureAD specific Configuration." +}, +"googleConfig": { +"$ref": "IdentityServiceGoogleConfig", +"description": "GoogleConfig specific configuration" +}, +"ldapConfig": { +"$ref": "IdentityServiceLdapConfig", +"description": "LDAP specific configuration." +}, +"name": { +"description": "Identifier for auth config.", +"type": "string" +}, +"oidcConfig": { +"$ref": "IdentityServiceOidcConfig", +"description": "OIDC specific configuration." +}, +"proxy": { +"description": "Proxy server address to use for auth method.", +"type": "string" +}, +"samlConfig": { +"$ref": "IdentityServiceSamlConfig", +"description": "SAML specific configuration." +} +}, +"type": "object" +}, +"IdentityServiceAzureADConfig": { +"description": "Configuration for the AzureAD Auth flow.", +"id": "IdentityServiceAzureADConfig", +"properties": { +"clientId": { +"description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted AzureAD client secret.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"groupFormat": { +"description": "Optional. Format of the AzureAD groups that the client wants for auth.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "The redirect URL that kubectl uses for authorization.", +"type": "string" +}, +"tenant": { +"description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.", +"type": "string" +}, +"userClaim": { +"description": "Optional. Claim in the AzureAD ID Token that holds the user details.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceDiagnosticInterface": { +"description": "Configuration options for the AIS diagnostic interface.", +"id": "IdentityServiceDiagnosticInterface", +"properties": { +"enabled": { +"description": "Determines whether to enable the diagnostic interface.", +"type": "boolean" +}, +"expirationTime": { +"description": "Determines the expiration time of the diagnostic interface enablement. When reached, requests to the interface would be automatically rejected.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceGoogleConfig": { +"description": "Configuration for the Google Plugin Auth flow.", +"id": "IdentityServiceGoogleConfig", +"properties": { +"disable": { +"description": "Disable automatic configuration of Google Plugin on supported platforms.", +"type": "boolean" +} +}, +"type": "object" +}, +"IdentityServiceGroupConfig": { +"description": "Contains the properties for locating and authenticating groups in the directory.", +"id": "IdentityServiceGroupConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for group entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Optional filter to be used when searching for groups a user belongs to. This can be used to explicitly match only certain groups in order to reduce the amount of groups returned for each user. This defaults to \"(objectClass=Group)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. The identifying name of each group a user belongs to. For example, if this is set to \"distinguishedName\" then RBACs and other group expectations should be written as full DNs. This defaults to \"distinguishedName\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceIdentityServiceOptions": { +"description": "Holds non-protocol-related configuration options.", +"id": "IdentityServiceIdentityServiceOptions", +"properties": { +"diagnosticInterface": { +"$ref": "IdentityServiceDiagnosticInterface", +"description": "Configuration options for the AIS diagnostic interface." +}, +"sessionDuration": { +"description": "Determines the lifespan of STS tokens issued by Anthos Identity Service.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceLdapConfig": { +"description": "Configuration for the LDAP Auth flow.", +"id": "IdentityServiceLdapConfig", +"properties": { +"group": { +"$ref": "IdentityServiceGroupConfig", +"description": "Optional. Contains the properties for locating and authenticating groups in the directory." +}, +"server": { +"$ref": "IdentityServiceServerConfig", +"description": "Required. Server settings for the external LDAP server." +}, +"serviceAccount": { +"$ref": "IdentityServiceServiceAccountConfig", +"description": "Required. Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate." +}, +"user": { +"$ref": "IdentityServiceUserConfig", +"description": "Required. Defines where users exist in the LDAP directory." +} +}, +"type": "object" +}, +"IdentityServiceOidcConfig": { +"description": "Configuration for OIDC Auth flow.", +"id": "IdentityServiceOidcConfig", +"properties": { +"certificateAuthorityData": { +"description": "PEM-encoded CA for OIDC provider.", +"type": "string" +}, +"clientId": { +"description": "ID for OIDC client application.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.", +"type": "string" +}, +"deployCloudConsoleProxy": { +"description": "Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console.", +"type": "boolean" +}, +"enableAccessToken": { +"description": "Enable access token.", +"type": "boolean" +}, +"encryptedClientSecret": { +"description": "Output only. Encrypted OIDC Client secret", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"extraParams": { +"description": "Comma-separated list of key-value pairs.", +"type": "string" +}, +"groupPrefix": { +"description": "Prefix to prepend to group name.", +"type": "string" +}, +"groupsClaim": { +"description": "Claim in OIDC ID token that holds group information.", +"type": "string" +}, +"issuerUri": { +"description": "URI for the OIDC provider. This should point to the level below .well-known/openid-configuration.", +"type": "string" +}, +"kubectlRedirectUri": { +"description": "Registered redirect uri to redirect users going through OAuth flow using kubectl plugin.", +"type": "string" +}, +"scopes": { +"description": "Comma-separated list of identifiers.", +"type": "string" +}, +"userClaim": { +"description": "Claim in OIDC ID token that holds username.", +"type": "string" +}, +"userPrefix": { +"description": "Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceSamlConfig": { +"description": "Configuration for the SAML Auth flow.", +"id": "IdentityServiceSamlConfig", +"properties": { +"attributeMapping": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The mapping of additional user attributes like nickname, birthday and address etc.. `key` is the name of this additional attribute. `value` is a string presenting as CEL(common expression language, go/cel) used for getting the value from the resources. Take nickname as an example, in this case, `key` is \"attribute.nickname\" and `value` is \"assertion.nickname\".", +"type": "object" +}, +"groupPrefix": { +"description": "Optional. Prefix to prepend to group name.", +"type": "string" +}, +"groupsAttribute": { +"description": "Optional. The SAML attribute to read groups from. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `group_prefix`).", +"type": "string" +}, +"identityProviderCertificates": { +"description": "Required. The list of IdP certificates to validate the SAML response against.", +"items": { +"type": "string" +}, +"type": "array" +}, +"identityProviderId": { +"description": "Required. The entity ID of the SAML IdP.", +"type": "string" +}, +"identityProviderSsoUri": { +"description": "Required. The URI where the SAML IdP exposes the SSO service.", +"type": "string" +}, +"userAttribute": { +"description": "Optional. The SAML attribute to read username from. If unspecified, the username will be read from the NameID element of the assertion in SAML response. This value is expected to be a string and will be passed along as-is (with the option of being prefixed by the `user_prefix`).", +"type": "string" +}, +"userPrefix": { +"description": "Optional. Prefix to prepend to user name.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServerConfig": { +"description": "Server settings for the external LDAP server.", +"id": "IdentityServiceServerConfig", +"properties": { +"certificateAuthorityData": { +"description": "Optional. Contains a Base64 encoded, PEM formatted certificate authority certificate for the LDAP server. This must be provided for the \"ldaps\" and \"startTLS\" connections.", +"format": "byte", +"type": "string" +}, +"connectionType": { +"description": "Optional. Defines the connection type to communicate with the LDAP server. If `starttls` or `ldaps` is specified, the certificate_authority_data should not be empty.", +"type": "string" +}, +"host": { +"description": "Required. Defines the hostname or IP of the LDAP server. Port is optional and will default to 389, if unspecified. For example, \"ldap.server.example\" or \"10.10.10.10:389\".", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceServiceAccountConfig": { +"description": "Contains the credentials of the service account which is authorized to perform the LDAP search in the directory. The credentials can be supplied by the combination of the DN and password or the client certificate.", +"id": "IdentityServiceServiceAccountConfig", +"properties": { +"simpleBindCredentials": { +"$ref": "IdentityServiceSimpleBindCredentials", +"description": "Credentials for basic auth." +} +}, +"type": "object" +}, +"IdentityServiceSimpleBindCredentials": { +"description": "The structure holds the LDAP simple binding credential.", +"id": "IdentityServiceSimpleBindCredentials", +"properties": { +"dn": { +"description": "Required. The distinguished name(DN) of the service account object/user.", +"type": "string" +}, +"encryptedPassword": { +"description": "Output only. The encrypted password of the service account object/user.", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"password": { +"description": "Required. Input only. The password of the service account object/user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceSpec": { +"description": "**IdentityService**: Configuration for a single membership.", +"id": "IdentityServiceSpec", +"properties": { +"authMethods": { +"description": "A member may support multiple auth methods.", +"items": { +"$ref": "IdentityServiceAuthMethod" +}, +"type": "array" +}, +"identityServiceOptions": { +"$ref": "IdentityServiceIdentityServiceOptions", +"description": "Optional. non-protocol-related configuration options." +} +}, +"type": "object" +}, +"IdentityServiceState": { +"description": "**IdentityService**: State for a single membership, analyzed and reported by feature controller.", +"id": "IdentityServiceState", +"properties": { +"failureReason": { +"description": "The reason of the failure.", +"type": "string" +}, +"installedVersion": { +"description": "Installed AIS version. This is the AIS version installed on this member. The values makes sense iff state is OK.", +"type": "string" +}, +"memberConfig": { +"$ref": "IdentityServiceSpec", +"description": "Last reconciled membership configuration" +}, +"state": { +"description": "Deployment state on this member", +"enum": [ +"DEPLOYMENT_STATE_UNSPECIFIED", +"OK", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state", +"deployment succeeds", +"Failure with error." +], +"type": "string" +} +}, +"type": "object" +}, +"IdentityServiceUserConfig": { +"description": "Defines where users exist in the LDAP directory.", +"id": "IdentityServiceUserConfig", +"properties": { +"baseDn": { +"description": "Required. The location of the subtree in the LDAP directory to search for user entries.", +"type": "string" +}, +"filter": { +"description": "Optional. Filter to apply when searching for the user. This can be used to further restrict the user accounts which are allowed to login. This defaults to \"(objectClass=User)\".", +"type": "string" +}, +"idAttribute": { +"description": "Optional. Determines which attribute to use as the user's identity after they are authenticated. This is distinct from the loginAttribute field to allow users to login with a username, but then have their actual identifier be an email address or full Distinguished Name (DN). For example, setting loginAttribute to \"sAMAccountName\" and identifierAttribute to \"userPrincipalName\" would allow a user to login as \"bsmith\", but actual RBAC policies for the user would be written as \"bsmith@example.com\". Using \"userPrincipalName\" is recommended since this will be unique for each user. This defaults to \"userPrincipalName\".", +"type": "string" +}, +"loginAttribute": { +"description": "Optional. The name of the attribute which matches against the input username. This is used to find the user in the LDAP database e.g. \"(=)\" and is combined with the optional filter field. This defaults to \"userPrincipalName\".", +"type": "string" +} +}, +"type": "object" +}, +"LifecycleState": { +"description": "LifecycleState describes the state of a MembershipFeature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the MembershipFeature.", +"id": "LifecycleState", +"properties": { +"state": { +"description": "Output only. The current state of the Feature resource in the Hub API.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLING", +"ACTIVE", +"DISABLING", +"UPDATING", +"SERVICE_UPDATING" +], +"enumDescriptions": [ +"State is unknown or not set.", +"The MembershipFeature is being enabled, and the MembershipFeature resource is being created. Once complete, the corresponding MembershipFeature will be enabled in this Hub.", +"The MembershipFeature is enabled in this Hub, and the MembershipFeature resource is fully available.", +"The MembershipFeature is being disabled in this Hub, and the MembershipFeature resource is being deleted.", +"The MembershipFeature resource is being updated.", +"The MembershipFeature resource is being updated by the Hub Service." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMembershipFeaturesResponse": { +"description": "Response message for the `GkeHubFeature.ListMembershipFeatures` method.", +"id": "ListMembershipFeaturesResponse", +"properties": { +"membershipFeatures": { +"description": "The list of matching MembershipFeatures.", +"items": { +"$ref": "MembershipFeature" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to request the next page of resources from the `ListMembershipFeatures` method. The value of an empty string means that there are no more resources to return.", +"type": "string" +}, +"unreachable": { +"description": "List of locations that could not be reached while fetching this list.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MembershipFeature": { +"description": "MembershipFeature represents the settings and status of a Fleet Feature enabled on a single Fleet Membership.", +"id": "MembershipFeature", +"properties": { +"createTime": { +"description": "Output only. When the MembershipFeature resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. When the MembershipFeature resource was deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "GCP labels for this MembershipFeature.", +"type": "object" +}, +"lifecycleState": { +"$ref": "LifecycleState", +"description": "Output only. Lifecycle information of the resource itself.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the membershipFeature, in the format: `projects/{project}/locations/{location}/memberships/{membership}/features/{feature}`. Note that `membershipFeatures` is shortened to `features` in the resource name. (see http://go/aip/122#collection-identifiers)", +"readOnly": true, +"type": "string" +}, +"spec": { +"$ref": "FeatureSpec", +"description": "Optional. Spec of this membershipFeature." +}, +"state": { +"$ref": "FeatureState", +"description": "Output only. State of the this membershipFeature.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. When the MembershipFeature resource was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MeteringState": { +"description": "**Metering**: State for a single membership, analyzed and reported by feature controller.", +"id": "MeteringState", +"properties": { +"lastMeasurementTime": { +"description": "The time stamp of the most recent measurement of the number of vCPUs in the cluster.", +"format": "google-datetime", +"type": "string" +}, +"preciseLastMeasuredClusterVcpuCapacity": { +"description": "The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Origin": { +"description": "Origin defines where this FeatureSpec originated from.", +"id": "Origin", +"properties": { +"type": { +"description": "Type specifies which type of origin is set.", +"enum": [ +"TYPE_UNSPECIFIED", +"FLEET", +"FLEET_OUT_OF_SYNC", +"USER" +], +"enumDescriptions": [ +"Type is unknown or not set.", +"Per-Feature spec was inherited from the fleet-level default.", +"Per-Feature spec was inherited from the fleet-level default but is now out of sync with the current default.", +"Per-Feature spec was inherited from a user specification." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerBundleInstallSpec": { +"description": "BundleInstallSpec is the specification configuration for a single managed bundle.", +"id": "PolicyControllerBundleInstallSpec", +"properties": { +"exemptedNamespaces": { +"description": "the set of namespaces to be exempted from the bundle", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerHubConfig": { +"description": "Configuration for Policy Controller", +"id": "PolicyControllerHubConfig", +"properties": { +"auditIntervalSeconds": { +"description": "Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.", +"format": "int64", +"type": "string" +}, +"constraintViolationLimit": { +"description": "The maximum number of audit violations to be stored in a constraint. If not set, the internal default (currently 20) will be used.", +"format": "int64", +"type": "string" +}, +"deploymentConfigs": { +"additionalProperties": { +"$ref": "PolicyControllerPolicyControllerDeploymentConfig" +}, +"description": "Map of deployment configs to deployments (\u201cadmission\u201d, \u201caudit\u201d, \u201cmutation\u201d).", +"type": "object" +}, +"exemptableNamespaces": { +"description": "The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.", +"items": { +"type": "string" +}, +"type": "array" +}, +"installSpec": { +"description": "The install_spec represents the intended state specified by the latest request that mutated install_spec in the feature spec, not the lifecycle state of the feature observed by the Hub feature controller that is reported in the feature state.", +"enum": [ +"INSTALL_SPEC_UNSPECIFIED", +"INSTALL_SPEC_NOT_INSTALLED", +"INSTALL_SPEC_ENABLED", +"INSTALL_SPEC_SUSPENDED", +"INSTALL_SPEC_DETACHED" +], +"enumDescriptions": [ +"Spec is unknown.", +"Request to uninstall Policy Controller.", +"Request to install and enable Policy Controller.", +"Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.", +"Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources." +], +"type": "string" +}, +"logDeniesEnabled": { +"description": "Logs all denies and dry run failures.", +"type": "boolean" +}, +"monitoring": { +"$ref": "PolicyControllerMonitoringConfig", +"description": "Monitoring specifies the configuration of monitoring." +}, +"mutationEnabled": { +"description": "Enables the ability to mutate resources using Policy Controller.", +"type": "boolean" +}, +"policyContent": { +"$ref": "PolicyControllerPolicyContentSpec", +"description": "Specifies the desired policy content on the cluster" +}, +"referentialRulesEnabled": { +"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.", +"type": "boolean" +} +}, +"type": "object" +}, +"PolicyControllerMonitoringConfig": { +"description": "MonitoringConfig specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: [\"cloudmonitoring\", \"prometheus\"]", +"id": "PolicyControllerMonitoringConfig", +"properties": { +"backends": { +"description": "Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.", +"items": { +"enum": [ +"MONITORING_BACKEND_UNSPECIFIED", +"PROMETHEUS", +"CLOUD_MONITORING" +], +"enumDescriptions": [ +"Backend cannot be determined", +"Prometheus backend for monitoring", +"Stackdriver/Cloud Monitoring backend for monitoring" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PolicyControllerOnClusterState": { +"description": "OnClusterState represents the state of a sub-component of Policy Controller.", +"id": "PolicyControllerOnClusterState", +"properties": { +"details": { +"description": "Surface potential errors or information logs.", +"type": "string" +}, +"state": { +"description": "The lifecycle state of this component.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as \u2018install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to \u2018take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentSpec": { +"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.", +"id": "PolicyControllerPolicyContentSpec", +"properties": { +"bundles": { +"additionalProperties": { +"$ref": "PolicyControllerBundleInstallSpec" +}, +"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.", +"type": "object" +}, +"templateLibrary": { +"$ref": "PolicyControllerTemplateLibraryConfig", +"description": "Configures the installation of the Template Library." +} +}, +"type": "object" +}, +"PolicyControllerPolicyContentState": { +"description": "The state of the policy controller policy content", +"id": "PolicyControllerPolicyContentState", +"properties": { +"bundleStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "The state of the any bundles included in the chosen version of the manifest", +"type": "object" +}, +"referentialSyncConfigState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the referential data sync configuration. This could represent the state of either the syncSet object(s) or the config object, depending on the version of PoCo configured by the user." +}, +"templateLibraryState": { +"$ref": "PolicyControllerOnClusterState", +"description": "The state of the template library" +} +}, +"type": "object" +}, +"PolicyControllerPolicyControllerDeploymentConfig": { +"description": "Deployment-specific configuration.", +"id": "PolicyControllerPolicyControllerDeploymentConfig", +"properties": { +"containerResources": { +"$ref": "PolicyControllerResourceRequirements", +"description": "Container resource requirements." +}, +"podAffinity": { +"description": "Pod affinity configuration.", +"enum": [ +"AFFINITY_UNSPECIFIED", +"NO_AFFINITY", +"ANTI_AFFINITY" +], +"enumDescriptions": [ +"No affinity configuration has been specified.", +"Affinity configurations will be removed from the deployment.", +"Anti-affinity configuration will be applied to this deployment. Default for admissions deployment." +], +"type": "string" +}, +"podAntiAffinity": { +"deprecated": true, +"description": "Pod anti-affinity enablement. Deprecated: use `pod_affinity` instead.", +"type": "boolean" +}, +"podTolerations": { +"description": "Pod tolerations of node taints.", +"items": { +"$ref": "PolicyControllerToleration" +}, +"type": "array" +}, +"replicaCount": { +"description": "Pod replica count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceList": { +"description": "ResourceList contains container resource requirements.", +"id": "PolicyControllerResourceList", +"properties": { +"cpu": { +"description": "CPU requirement expressed in Kubernetes resource units.", +"type": "string" +}, +"memory": { +"description": "Memory requirement expressed in Kubernetes resource units.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerResourceRequirements": { +"description": "ResourceRequirements describes the compute resource requirements.", +"id": "PolicyControllerResourceRequirements", +"properties": { +"limits": { +"$ref": "PolicyControllerResourceList", +"description": "Limits describes the maximum amount of compute resources allowed for use by the running container." +}, +"requests": { +"$ref": "PolicyControllerResourceList", +"description": "Requests describes the amount of compute resources reserved for the container by the kube-scheduler." +} +}, +"type": "object" +}, +"PolicyControllerSpec": { +"description": "**Policy Controller**: Configuration for a single cluster. Intended to parallel the PolicyController CR.", +"id": "PolicyControllerSpec", +"properties": { +"policyControllerHubConfig": { +"$ref": "PolicyControllerHubConfig", +"description": "Policy Controller configuration for the cluster." +}, +"version": { +"description": "Version of Policy Controller installed.", +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerState": { +"description": "**Policy Controller**: State for a single cluster.", +"id": "PolicyControllerState", +"properties": { +"componentStates": { +"additionalProperties": { +"$ref": "PolicyControllerOnClusterState" +}, +"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"", +"type": "object" +}, +"policyContentState": { +"$ref": "PolicyControllerPolicyContentState", +"description": "The overall content state observed by the Hub Feature controller." +}, +"state": { +"description": "The overall Policy Controller lifecycle state observed by the Hub Feature controller.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"NOT_INSTALLED", +"INSTALLING", +"ACTIVE", +"UPDATING", +"DECOMMISSIONING", +"CLUSTER_ERROR", +"HUB_ERROR", +"SUSPENDED", +"DETACHED" +], +"enumDescriptions": [ +"The lifecycle state is unspecified.", +"The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.", +"The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.", +"The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.", +"The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.", +"The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.", +"The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as \u2018install').", +"In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to \u2018take hands off' to avoid corrupting the PC or other data.", +"Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).", +"PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerTemplateLibraryConfig": { +"description": "The config specifying which default library templates to install.", +"id": "PolicyControllerTemplateLibraryConfig", +"properties": { +"installation": { +"description": "Configures the manner in which the template library is installed on the cluster.", +"enum": [ +"INSTALLATION_UNSPECIFIED", +"NOT_INSTALLED", +"ALL" +], +"enumDescriptions": [ +"No installation strategy has been specified.", +"Do not install the template library.", +"Install the entire template library." +], +"type": "string" +} +}, +"type": "object" +}, +"PolicyControllerToleration": { +"description": "Toleration of a node taint.", +"id": "PolicyControllerToleration", +"properties": { +"effect": { +"description": "Matches a taint effect.", +"type": "string" +}, +"key": { +"description": "Matches a taint key (not necessarily unique).", +"type": "string" +}, +"operator": { +"description": "Matches a taint operator.", +"type": "string" +}, +"value": { +"description": "Matches a taint value.", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationRBACRoleBindingState": { +"description": "RBACRoleBindingState is the status of an RBACRoleBinding which exists on a membership.", +"id": "RBACRoleBindingActuationRBACRoleBindingState", +"properties": { +"description": { +"description": "The reason for the failure.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the RBACRoleBinding.", +"enum": [ +"ROLE_BINDING_STATE_UNSPECIFIED", +"OK", +"CUSTOM_ROLE_MISSING_FROM_CLUSTER" +], +"enumDescriptions": [ +"Unspecified state.", +"RBACRoleBinding is created properly on the cluster.", +"The RBACRoleBinding was created on the cluster but the specified custom role does not exist on the cluster, hence the RBACRoleBinding has no effect." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "The time the RBACRoleBinding status was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RBACRoleBindingActuationSpec": { +"description": "**RBAC RoleBinding Actuation**: The membership-specific input for RBACRoleBindingActuation feature.", +"id": "RBACRoleBindingActuationSpec", +"properties": {}, +"type": "object" +}, +"RBACRoleBindingActuationState": { +"description": "**RBAC RoleBinding Actuation**: A membership-specific Feature state for the RBACRoleBindingActuation fleet feature.", +"id": "RBACRoleBindingActuationState", +"properties": { +"rbacrolebindingStates": { +"additionalProperties": { +"$ref": "RBACRoleBindingActuationRBACRoleBindingState" +}, +"description": "Output only. The state of RBACRoleBindings using custom roles that exist on the cluster, keyed by RBACRoleBinding resource name with format: projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"ServiceMeshAnalysisMessage": { +"description": "AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.", +"id": "ServiceMeshAnalysisMessage", +"properties": { +"args": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A UI can combine these args with a template (based on message_base.type) to produce an internationalized message.", +"type": "object" +}, +"description": { +"description": "A human readable description of what the error means. It is suitable for non-internationalize display purposes.", +"type": "string" +}, +"messageBase": { +"$ref": "ServiceMeshAnalysisMessageBase", +"description": "Details common to all types of Istio and ServiceMesh analysis messages." +}, +"resourcePaths": { +"description": "A list of strings specifying the resource identifiers that were the cause of message generation. A \"path\" here may be: * MEMBERSHIP_ID if the cause is a specific member cluster * MEMBERSHIP_ID/(NAMESPACE\\/)?RESOURCETYPE/NAME if the cause is a resource in a cluster", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ServiceMeshAnalysisMessageBase": { +"description": "AnalysisMessageBase describes some common information that is needed for all messages.", +"id": "ServiceMeshAnalysisMessageBase", +"properties": { +"documentationUrl": { +"description": "A url pointing to the Service Mesh or Istio documentation for this specific error type.", +"type": "string" +}, +"level": { +"description": "Represents how severe a message is.", +"enum": [ +"LEVEL_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Illegal. Same istio.analysis.v1alpha1.AnalysisMessageBase.Level.UNKNOWN.", +"ERROR represents a misconfiguration that must be fixed.", +"WARNING represents a misconfiguration that should be fixed.", +"INFO represents an informational finding." +], +"type": "string" +}, +"type": { +"$ref": "ServiceMeshType", +"description": "Represents the specific type of a message." +} +}, +"type": "object" +}, +"ServiceMeshCondition": { +"description": "Condition being reported.", +"id": "ServiceMeshCondition", +"properties": { +"code": { +"description": "Unique identifier of the condition which describes the condition recognizable to the user.", +"enum": [ +"CODE_UNSPECIFIED", +"MESH_IAM_PERMISSION_DENIED", +"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED", +"CNI_CONFIG_UNSUPPORTED", +"GKE_SANDBOX_UNSUPPORTED", +"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", +"CNI_INSTALLATION_FAILED", +"CNI_POD_UNSCHEDULABLE", +"CLUSTER_HAS_ZERO_NODES", +"CANONICAL_SERVICE_ERROR", +"UNSUPPORTED_MULTIPLE_CONTROL_PLANES", +"VPCSC_GA_SUPPORTED", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT", +"DEPRECATED_SPEC_CONTROL_PLANE_MANAGEMENT_SAFE", +"CONFIG_APPLY_INTERNAL_ERROR", +"CONFIG_VALIDATION_ERROR", +"CONFIG_VALIDATION_WARNING", +"QUOTA_EXCEEDED_BACKEND_SERVICES", +"QUOTA_EXCEEDED_HEALTH_CHECKS", +"QUOTA_EXCEEDED_HTTP_ROUTES", +"QUOTA_EXCEEDED_TCP_ROUTES", +"QUOTA_EXCEEDED_TLS_ROUTES", +"QUOTA_EXCEEDED_TRAFFIC_POLICIES", +"QUOTA_EXCEEDED_ENDPOINT_POLICIES", +"QUOTA_EXCEEDED_GATEWAYS", +"QUOTA_EXCEEDED_MESHES", +"QUOTA_EXCEEDED_SERVER_TLS_POLICIES", +"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES", +"QUOTA_EXCEEDED_SERVICE_LB_POLICIES", +"QUOTA_EXCEEDED_HTTP_FILTERS", +"QUOTA_EXCEEDED_TCP_FILTERS", +"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS", +"LEGACY_MC_SECRETS", +"WORKLOAD_IDENTITY_REQUIRED", +"NON_STANDARD_BINARY_USAGE", +"UNSUPPORTED_GATEWAY_CLASS", +"MANAGED_CNI_NOT_ENABLED", +"MODERNIZATION_SCHEDULED", +"MODERNIZATION_IN_PROGRESS", +"MODERNIZATION_COMPLETED", +"MODERNIZATION_ABORTED", +"MODERNIZATION_PREPARING", +"MODERNIZATION_STALLED", +"MODERNIZATION_PREPARED", +"MODERNIZATION_MIGRATING_WORKLOADS", +"MODERNIZATION_ROLLING_BACK_CLUSTER", +"MODERNIZATION_WILL_BE_SCHEDULED", +"MODERNIZATION_MANUAL", +"MODERNIZATION_ELIGIBLE", +"MODERNIZATION_MODERNIZING", +"MODERNIZATION_MODERNIZED_SOAKING", +"MODERNIZATION_FINALIZED", +"MODERNIZATION_ROLLING_BACK_FLEET" +], +"enumDescriptions": [ +"Default Unspecified code", +"Mesh IAM permission denied error code", +"Permission denied error code for cross-project", +"CNI config unsupported error code", +"GKE sandbox unsupported error code", +"Nodepool workload identity federation required error code", +"CNI installation failed error code", +"CNI pod unschedulable error code", +"Cluster has zero node code", +"Failure to reconcile CanonicalServices", +"Multiple control planes unsupported error code", +"VPC-SC GA is supported for this control plane.", +"User is using deprecated ControlPlaneManagement and they have not yet set Management.", +"User is using deprecated ControlPlaneManagement and they have already set Management.", +"Configuration (Istio/k8s resources) failed to apply due to internal error.", +"Configuration failed to be applied due to being invalid.", +"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.", +"BackendService quota exceeded error code.", +"HealthCheck quota exceeded error code.", +"HTTPRoute quota exceeded error code.", +"TCPRoute quota exceeded error code.", +"TLS routes quota exceeded error code.", +"TrafficPolicy quota exceeded error code.", +"EndpointPolicy quota exceeded error code.", +"Gateway quota exceeded error code.", +"Mesh quota exceeded error code.", +"ServerTLSPolicy quota exceeded error code.", +"ClientTLSPolicy quota exceeded error code.", +"ServiceLBPolicy quota exceeded error code.", +"HTTPFilter quota exceeded error code.", +"TCPFilter quota exceeded error code.", +"NetworkEndpointGroup quota exceeded error code.", +"Legacy istio secrets found for multicluster error code", +"Workload identity required error code", +"Non-standard binary usage error code", +"Unsupported gateway class error code", +"Managed CNI not enabled error code", +"Modernization is scheduled for a cluster.", +"Modernization is in progress for a cluster.", +"Modernization is completed for a cluster.", +"Modernization is aborted for a cluster.", +"Preparing cluster so that its workloads can be migrated.", +"Modernization is stalled for a cluster.", +"Cluster has been prepared for its workloads to be migrated.", +"Migrating the cluster's workloads to the new implementation.", +"Rollback is in progress for modernization of a cluster.", +"Modernization will be scheduled for a fleet.", +"Fleet is opted out from automated modernization.", +"Fleet is eligible for modernization.", +"Modernization of one or more clusters in a fleet is in progress.", +"Modernization of all the fleet's clusters is complete. Soaking before finalizing the modernization.", +"Modernization is finalized for all clusters in a fleet. Rollback is no longer allowed.", +"Rollback is in progress for modernization of all clusters in a fleet." +], +"type": "string" +}, +"details": { +"description": "A short summary about the issue.", +"type": "string" +}, +"documentationLink": { +"description": "Links contains actionable information.", +"type": "string" +}, +"severity": { +"description": "Severity level of the condition.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"ERROR", +"WARNING", +"INFO" +], +"enumDescriptions": [ +"Unspecified severity", +"Indicates an issue that prevents the mesh from operating correctly", +"Indicates a setting is likely wrong, but the mesh is still able to operate", +"An informational message, not requiring any action" +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshControlPlaneManagement": { +"description": "Status of control plane management.", +"id": "ServiceMeshControlPlaneManagement", +"properties": { +"details": { +"description": "Explanation of state.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"implementation": { +"description": "Output only. Implementation of managed control plane.", +"enum": [ +"IMPLEMENTATION_UNSPECIFIED", +"ISTIOD", +"TRAFFIC_DIRECTOR", +"UPDATING" +], +"enumDescriptions": [ +"Unspecified", +"A Google build of istiod is used for the managed control plane.", +"Traffic director is used for the managed control plane.", +"The control plane implementation is being updated." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "LifecycleState of control plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshDataPlaneManagement": { +"description": "Status of data plane management. Only reported per-member.", +"id": "ServiceMeshDataPlaneManagement", +"properties": { +"details": { +"description": "Explanation of the status.", +"items": { +"$ref": "ServiceMeshStatusDetails" +}, +"type": "array" +}, +"state": { +"description": "Lifecycle status of data plane management.", +"enum": [ +"LIFECYCLE_STATE_UNSPECIFIED", +"DISABLED", +"FAILED_PRECONDITION", +"PROVISIONING", +"ACTIVE", +"STALLED", +"NEEDS_ATTENTION", +"DEGRADED", +"DEPROVISIONING" +], +"enumDescriptions": [ +"Unspecified", +"DISABLED means that the component is not enabled.", +"FAILED_PRECONDITION means that provisioning cannot proceed because of some characteristic of the member cluster.", +"PROVISIONING means that provisioning is in progress.", +"ACTIVE means that the component is ready for use.", +"STALLED means that provisioning could not be done.", +"NEEDS_ATTENTION means that the component is ready, but some user intervention is required. (For example that the user should migrate workloads to a new control plane revision.)", +"DEGRADED means that the component is ready, but operating in a degraded state.", +"DEPROVISIONING means that deprovisioning is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshSpec": { +"description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", +"id": "ServiceMeshSpec", +"properties": { +"configApi": { +"description": "Optional. Specifies the API that will be used for configuring the mesh workloads.", +"enum": [ +"CONFIG_API_UNSPECIFIED", +"CONFIG_API_ISTIO", +"CONFIG_API_GATEWAY" +], +"enumDescriptions": [ +"Unspecified", +"Use the Istio API for configuration.", +"Use the K8s Gateway API for configuration." +], +"type": "string" +}, +"controlPlane": { +"deprecated": true, +"description": "Deprecated: use `management` instead Enables automatic control plane management.", +"enum": [ +"CONTROL_PLANE_MANAGEMENT_UNSPECIFIED", +"AUTOMATIC", +"MANUAL" +], +"enumDescriptions": [ +"Unspecified", +"Google should provision a control plane revision and make it available in the cluster. Google will enroll this revision in a release channel and keep it up to date. The control plane revision may be a managed service, or a managed install.", +"User will manually configure the control plane (e.g. via CLI, or via the ControlPlaneRevision KRM API)" +], +"type": "string" +}, +"defaultChannel": { +"deprecated": true, +"description": "Determines which release channel to use for default injection and service mesh APIs.", +"enum": [ +"CHANNEL_UNSPECIFIED", +"RAPID", +"REGULAR", +"STABLE" +], +"enumDescriptions": [ +"Unspecified", +"RAPID channel is offered on an early access basis for customers who want to test new releases.", +"REGULAR channel is intended for production users who want to take advantage of new features.", +"STABLE channel includes versions that are known to be stable and reliable in production." +], +"type": "string" +}, +"management": { +"description": "Optional. Enables automatic Service Mesh management.", +"enum": [ +"MANAGEMENT_UNSPECIFIED", +"MANAGEMENT_AUTOMATIC", +"MANAGEMENT_MANUAL", +"MANAGEMENT_NOT_INSTALLED" +], +"enumDescriptions": [ +"Unspecified.", +"Google should manage my Service Mesh for the cluster.", +"User will manually configure their service mesh components.", +"Google should remove any managed Service Mesh components from this cluster and deprovision any resources." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshState": { +"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", +"id": "ServiceMeshState", +"properties": { +"analysisMessages": { +"description": "Output only. Results of running Service Mesh analyzers.", +"items": { +"$ref": "ServiceMeshAnalysisMessage" +}, +"readOnly": true, +"type": "array" +}, +"conditions": { +"description": "Output only. List of conditions reported for this membership.", +"items": { +"$ref": "ServiceMeshCondition" +}, +"readOnly": true, +"type": "array" +}, +"configApiVersion": { +"description": "The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.", +"type": "string" +}, +"controlPlaneManagement": { +"$ref": "ServiceMeshControlPlaneManagement", +"description": "Output only. Status of control plane management", +"readOnly": true +}, +"dataPlaneManagement": { +"$ref": "ServiceMeshDataPlaneManagement", +"description": "Output only. Status of data plane management.", +"readOnly": true +} +}, +"type": "object" +}, +"ServiceMeshStatusDetails": { +"description": "Structured and human-readable details for a status.", +"id": "ServiceMeshStatusDetails", +"properties": { +"code": { +"description": "A machine-readable code that further describes a broad status.", +"type": "string" +}, +"details": { +"description": "Human-readable explanation of code.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceMeshType": { +"description": "A unique identifier for the type of message. Display_name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between display_name and code. (i.e. do not re-use display_names or codes between message types.) See istio.analysis.v1alpha1.AnalysisMessageBase.Type", +"id": "ServiceMeshType", +"properties": { +"code": { +"description": "A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. \"IST0001\" is mapped to the \"InternalError\" message type.)", +"type": "string" +}, +"displayName": { +"description": "A human-readable name for the message type. e.g. \"InternalError\", \"PodMissingProxy\". This should be the same for all messages of the same type. (This corresponds to the `name` field in open-source Istio.)", +"type": "string" +} +}, +"type": "object" +}, +"State": { +"description": "High-level state of a MembershipFeature.", +"id": "State", +"properties": { +"code": { +"description": "The high-level, machine-readable status of this MembershipFeature.", +"enum": [ +"CODE_UNSPECIFIED", +"OK", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Unknown or not set.", +"The MembershipFeature is operating normally.", +"The MembershipFeature has encountered an issue, and is operating in a degraded state. The MembershipFeature may need intervention to return to normal operation. See the description and any associated MembershipFeature-specific details for more information.", +"The MembershipFeature is not operating or is in a severely degraded state. The MembershipFeature may need intervention to return to normal operation. See the description and any associated MembershipFeature-specific details for more information." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current status.", +"type": "string" +}, +"updateTime": { +"description": "The time this status and any related Feature-specific details were updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadCertificateSpec": { +"description": "**WorkloadCertificate**: The membership-specific input for WorkloadCertificate feature.", +"id": "WorkloadCertificateSpec", +"properties": { +"certificateManagement": { +"description": "CertificateManagement specifies workload certificate management.", +"enum": [ +"CERTIFICATE_MANAGEMENT_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Disable workload certificate feature.", +"Disable workload certificate feature.", +"Enable workload certificate feature." +], +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityIdentityProviderStateDetail": { +"description": "IdentityProviderStateDetail represents the state of an Identity Provider.", +"id": "WorkloadIdentityIdentityProviderStateDetail", +"properties": { +"code": { +"description": "The state of the Identity Provider.", +"enum": [ +"IDENTITY_PROVIDER_STATE_UNSPECIFIED", +"IDENTITY_PROVIDER_STATE_OK", +"IDENTITY_PROVIDER_STATE_ERROR" +], +"enumDescriptions": [ +"Unknown state.", +"The Identity Provider was created/updated successfully.", +"The Identity Provider was not created/updated successfully. The error message is in the description field." +], +"type": "string" +}, +"description": { +"description": "A human-readable description of the current state or returned error.", +"type": "string" +} +}, +"type": "object" +}, +"WorkloadIdentityState": { +"description": "**WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature.", +"id": "WorkloadIdentityState", +"properties": { +"description": { +"description": "Deprecated, this field will be erased after code is changed to use the new field.", +"type": "string" +}, +"identityProviderStateDetails": { +"additionalProperties": { +"$ref": "WorkloadIdentityIdentityProviderStateDetail" +}, +"description": "The state of the Identity Providers corresponding to the membership.", +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "GKE Hub API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gmail.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gmail.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..0334fa71f59cc13bf423f5d62f9af8958d413057 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/gmail.v1.json @@ -0,0 +1,4484 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://mail.google.com/": { +"description": "Read, compose, send, and permanently delete all your email from Gmail" +}, +"https://www.googleapis.com/auth/gmail.addons.current.action.compose": { +"description": "Manage drafts and send emails when you interact with the add-on" +}, +"https://www.googleapis.com/auth/gmail.addons.current.message.action": { +"description": "View your email messages when you interact with the add-on" +}, +"https://www.googleapis.com/auth/gmail.addons.current.message.metadata": { +"description": "View your email message metadata when the add-on is running" +}, +"https://www.googleapis.com/auth/gmail.addons.current.message.readonly": { +"description": "View your email messages when the add-on is running" +}, +"https://www.googleapis.com/auth/gmail.compose": { +"description": "Manage drafts and send emails" +}, +"https://www.googleapis.com/auth/gmail.insert": { +"description": "Add emails into your Gmail mailbox" +}, +"https://www.googleapis.com/auth/gmail.labels": { +"description": "See and edit your email labels" +}, +"https://www.googleapis.com/auth/gmail.metadata": { +"description": "View your email message metadata such as labels and headers, but not the email body" +}, +"https://www.googleapis.com/auth/gmail.modify": { +"description": "Read, compose, and send emails from your Gmail account" +}, +"https://www.googleapis.com/auth/gmail.readonly": { +"description": "View your email messages and settings" +}, +"https://www.googleapis.com/auth/gmail.send": { +"description": "Send email on your behalf" +}, +"https://www.googleapis.com/auth/gmail.settings.basic": { +"description": "See, edit, create, or change your email settings and filters in Gmail" +}, +"https://www.googleapis.com/auth/gmail.settings.sharing": { +"description": "Manage your sensitive mail settings, including who can manage your mail" +} +} +} +}, +"basePath": "", +"baseUrl": "https://gmail.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Gmail", +"description": "The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/gmail/api/", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "gmail:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://gmail.mtls.googleapis.com/", +"name": "gmail", +"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": { +"users": { +"methods": { +"getProfile": { +"description": "Gets the current user's Gmail profile.", +"flatPath": "gmail/v1/users/{userId}/profile", +"httpMethod": "GET", +"id": "gmail.users.getProfile", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/profile", +"response": { +"$ref": "Profile" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"stop": { +"description": "Stop receiving push notifications for the given user mailbox.", +"flatPath": "gmail/v1/users/{userId}/stop", +"httpMethod": "POST", +"id": "gmail.users.stop", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/stop", +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"watch": { +"description": "Set up or update a push notification watch on the given user mailbox.", +"flatPath": "gmail/v1/users/{userId}/watch", +"httpMethod": "POST", +"id": "gmail.users.watch", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/watch", +"request": { +"$ref": "WatchRequest" +}, +"response": { +"$ref": "WatchResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +} +}, +"resources": { +"drafts": { +"methods": { +"create": { +"description": "Creates a new draft with the `DRAFT` label.", +"flatPath": "gmail/v1/users/{userId}/drafts", +"httpMethod": "POST", +"id": "gmail.users.drafts.create", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "36700160", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/drafts" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/drafts" +} +} +}, +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts", +"request": { +"$ref": "Draft" +}, +"response": { +"$ref": "Draft" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.action.compose", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify" +], +"supportsMediaUpload": true +}, +"delete": { +"description": "Immediately and permanently deletes the specified draft. Does not simply trash it.", +"flatPath": "gmail/v1/users/{userId}/drafts/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.drafts.delete", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the draft to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts/{id}", +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.action.compose", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"get": { +"description": "Gets the specified draft.", +"flatPath": "gmail/v1/users/{userId}/drafts/{id}", +"httpMethod": "GET", +"id": "gmail.users.drafts.get", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"format": { +"default": "full", +"description": "The format to return the draft in.", +"enum": [ +"minimal", +"full", +"raw", +"metadata" +], +"enumDescriptions": [ +"Returns only email message ID and labels; does not return the email headers, body, or payload.", +"Returns the full email message data with body content parsed in the `payload` field; the `raw` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope.", +"Returns the full email message data with body content in the `raw` field as a base64url encoded string; the `payload` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope.", +"Returns only email message ID, labels, and email headers." +], +"location": "query", +"type": "string" +}, +"id": { +"description": "The ID of the draft to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts/{id}", +"response": { +"$ref": "Draft" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"list": { +"description": "Lists the drafts in the user's mailbox.", +"flatPath": "gmail/v1/users/{userId}/drafts", +"httpMethod": "GET", +"id": "gmail.users.drafts.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"includeSpamTrash": { +"default": "false", +"description": "Include drafts from `SPAM` and `TRASH` in the results.", +"location": "query", +"type": "boolean" +}, +"maxResults": { +"default": "100", +"description": "Maximum number of drafts to return. This field defaults to 100. The maximum allowed value for this field is 500.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token to retrieve a specific page of results in the list.", +"location": "query", +"type": "string" +}, +"q": { +"description": "Only return draft messages matching the specified query. Supports the same query format as the Gmail search box. For example, `\"from:someuser@example.com rfc822msgid: is:unread\"`.", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts", +"response": { +"$ref": "ListDraftsResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"send": { +"description": "Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.", +"flatPath": "gmail/v1/users/{userId}/drafts/send", +"httpMethod": "POST", +"id": "gmail.users.drafts.send", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "36700160", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/drafts/send" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/drafts/send" +} +} +}, +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts/send", +"request": { +"$ref": "Draft" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.action.compose", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify" +], +"supportsMediaUpload": true +}, +"update": { +"description": "Replaces a draft's content.", +"flatPath": "gmail/v1/users/{userId}/drafts/{id}", +"httpMethod": "PUT", +"id": "gmail.users.drafts.update", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "36700160", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/drafts/{id}" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/drafts/{id}" +} +} +}, +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the draft to update.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/drafts/{id}", +"request": { +"$ref": "Draft" +}, +"response": { +"$ref": "Draft" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.action.compose", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify" +], +"supportsMediaUpload": true +} +} +}, +"history": { +"methods": { +"list": { +"description": "Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`).", +"flatPath": "gmail/v1/users/{userId}/history", +"httpMethod": "GET", +"id": "gmail.users.history.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"historyTypes": { +"description": "History types to be returned by the function", +"enum": [ +"messageAdded", +"messageDeleted", +"labelAdded", +"labelRemoved" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +}, +"labelId": { +"description": "Only return messages with a label matching the ID.", +"location": "query", +"type": "string" +}, +"maxResults": { +"default": "100", +"description": "Maximum number of history records to return. This field defaults to 100. The maximum allowed value for this field is 500.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token to retrieve a specific page of results in the list.", +"location": "query", +"type": "string" +}, +"startHistoryId": { +"description": "Required. Returns history records after the specified `startHistoryId`. The supplied `startHistoryId` should be obtained from the `historyId` of a message, thread, or previous `list` response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an invalid or out of date `startHistoryId` typically returns an `HTTP 404` error code. A `historyId` is typically valid for at least a week, but in some rare circumstances may be valid for only a few hours. If you receive an `HTTP 404` error response, your application should perform a full sync. If you receive no `nextPageToken` in the response, there are no updates to retrieve and you can store the returned `historyId` for a future request.", +"format": "uint64", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/history", +"response": { +"$ref": "ListHistoryResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +} +} +}, +"labels": { +"methods": { +"create": { +"description": "Creates a new label.", +"flatPath": "gmail/v1/users/{userId}/labels", +"httpMethod": "POST", +"id": "gmail.users.labels.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels", +"request": { +"$ref": "Label" +}, +"response": { +"$ref": "Label" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"delete": { +"description": "Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.", +"flatPath": "gmail/v1/users/{userId}/labels/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.labels.delete", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the label to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels/{id}", +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"get": { +"description": "Gets the specified label.", +"flatPath": "gmail/v1/users/{userId}/labels/{id}", +"httpMethod": "GET", +"id": "gmail.users.labels.get", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the label to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels/{id}", +"response": { +"$ref": "Label" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"list": { +"description": "Lists all labels in the user's mailbox.", +"flatPath": "gmail/v1/users/{userId}/labels", +"httpMethod": "GET", +"id": "gmail.users.labels.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels", +"response": { +"$ref": "ListLabelsResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"patch": { +"description": "Patch the specified label.", +"flatPath": "gmail/v1/users/{userId}/labels/{id}", +"httpMethod": "PATCH", +"id": "gmail.users.labels.patch", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the label to update.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels/{id}", +"request": { +"$ref": "Label" +}, +"response": { +"$ref": "Label" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"update": { +"description": "Updates the specified label.", +"flatPath": "gmail/v1/users/{userId}/labels/{id}", +"httpMethod": "PUT", +"id": "gmail.users.labels.update", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the label to update.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/labels/{id}", +"request": { +"$ref": "Label" +}, +"response": { +"$ref": "Label" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.labels", +"https://www.googleapis.com/auth/gmail.modify" +] +} +} +}, +"messages": { +"methods": { +"batchDelete": { +"description": "Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.", +"flatPath": "gmail/v1/users/{userId}/messages/batchDelete", +"httpMethod": "POST", +"id": "gmail.users.messages.batchDelete", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/batchDelete", +"request": { +"$ref": "BatchDeleteMessagesRequest" +}, +"scopes": [ +"https://mail.google.com/" +] +}, +"batchModify": { +"description": "Modifies the labels on the specified messages.", +"flatPath": "gmail/v1/users/{userId}/messages/batchModify", +"httpMethod": "POST", +"id": "gmail.users.messages.batchModify", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/batchModify", +"request": { +"$ref": "BatchModifyMessagesRequest" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"delete": { +"description": "Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead.", +"flatPath": "gmail/v1/users/{userId}/messages/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.messages.delete", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the message to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{id}", +"scopes": [ +"https://mail.google.com/" +] +}, +"get": { +"description": "Gets the specified message.", +"flatPath": "gmail/v1/users/{userId}/messages/{id}", +"httpMethod": "GET", +"id": "gmail.users.messages.get", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"format": { +"default": "full", +"description": "The format to return the message in.", +"enum": [ +"minimal", +"full", +"raw", +"metadata" +], +"enumDescriptions": [ +"Returns only email message ID and labels; does not return the email headers, body, or payload.", +"Returns the full email message data with body content parsed in the `payload` field; the `raw` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope.", +"Returns the full email message data with body content in the `raw` field as a base64url encoded string; the `payload` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope.", +"Returns only email message ID, labels, and email headers." +], +"location": "query", +"type": "string" +}, +"id": { +"description": "The ID of the message to retrieve. This ID is usually retrieved using `messages.list`. The ID is also contained in the result when a message is inserted (`messages.insert`) or imported (`messages.import`).", +"location": "path", +"required": true, +"type": "string" +}, +"metadataHeaders": { +"description": "When given and format is `METADATA`, only include headers specified.", +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{id}", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.message.action", +"https://www.googleapis.com/auth/gmail.addons.current.message.metadata", +"https://www.googleapis.com/auth/gmail.addons.current.message.readonly", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"import": { +"description": "Imports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages, such as those attempting to perform domain spoofing. This method does not send a message. Note that the maximum size of the message is 150MB.", +"flatPath": "gmail/v1/users/{userId}/messages/import", +"httpMethod": "POST", +"id": "gmail.users.messages.import", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "157286400", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/messages/import" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/messages/import" +} +} +}, +"parameterOrder": [ +"userId" +], +"parameters": { +"deleted": { +"default": "false", +"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.", +"location": "query", +"type": "boolean" +}, +"internalDateSource": { +"default": "dateHeader", +"description": "Source for Gmail's internal date of the message.", +"enum": [ +"receivedTime", +"dateHeader" +], +"enumDescriptions": [ +"Internal message date set to current time when received by Gmail.", +"Internal message time based on 'Date' header in email, when valid." +], +"location": "query", +"type": "string" +}, +"neverMarkSpam": { +"default": "false", +"description": "Ignore the Gmail spam classifier decision and never mark this email as SPAM in the mailbox.", +"location": "query", +"type": "boolean" +}, +"processForCalendar": { +"default": "false", +"description": "Process calendar invites in the email and add any extracted meetings to the Google Calendar for this user.", +"location": "query", +"type": "boolean" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/import", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.insert", +"https://www.googleapis.com/auth/gmail.modify" +], +"supportsMediaUpload": true +}, +"insert": { +"description": "Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification. Does not send a message.", +"flatPath": "gmail/v1/users/{userId}/messages", +"httpMethod": "POST", +"id": "gmail.users.messages.insert", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "157286400", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/messages" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/messages" +} +} +}, +"parameterOrder": [ +"userId" +], +"parameters": { +"deleted": { +"default": "false", +"description": "Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for Google Workspace accounts.", +"location": "query", +"type": "boolean" +}, +"internalDateSource": { +"default": "receivedTime", +"description": "Source for Gmail's internal date of the message.", +"enum": [ +"receivedTime", +"dateHeader" +], +"enumDescriptions": [ +"Internal message date set to current time when received by Gmail.", +"Internal message time based on 'Date' header in email, when valid." +], +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.insert", +"https://www.googleapis.com/auth/gmail.modify" +], +"supportsMediaUpload": true +}, +"list": { +"description": "Lists the messages in the user's mailbox. For example usage, see [List Gmail messages](https://developers.google.com/workspace/gmail/api/guides/list-messages).", +"flatPath": "gmail/v1/users/{userId}/messages", +"httpMethod": "GET", +"id": "gmail.users.messages.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"includeSpamTrash": { +"default": "false", +"description": "Include messages from `SPAM` and `TRASH` in the results.", +"location": "query", +"type": "boolean" +}, +"labelIds": { +"description": "Only return messages with labels that match all of the specified label IDs. Messages in a thread might have labels that other messages in the same thread don't have. To learn more, see [Manage labels on messages and threads](https://developers.google.com/workspace/gmail/api/guides/labels#manage_labels_on_messages_threads).", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "100", +"description": "Maximum number of messages to return. This field defaults to 100. The maximum allowed value for this field is 500.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token to retrieve a specific page of results in the list.", +"location": "query", +"type": "string" +}, +"q": { +"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, `\"from:someuser@example.com rfc822msgid: is:unread\"`. Parameter cannot be used when accessing the api using the gmail.metadata scope.", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages", +"response": { +"$ref": "ListMessagesResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"modify": { +"description": "Modifies the labels on the specified message.", +"flatPath": "gmail/v1/users/{userId}/messages/{id}/modify", +"httpMethod": "POST", +"id": "gmail.users.messages.modify", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the message to modify.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{id}/modify", +"request": { +"$ref": "ModifyMessageRequest" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"send": { +"description": "Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/workspace/gmail/api/guides/sending).", +"flatPath": "gmail/v1/users/{userId}/messages/send", +"httpMethod": "POST", +"id": "gmail.users.messages.send", +"mediaUpload": { +"accept": [ +"message/*" +], +"maxSize": "36700160", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/gmail/v1/users/{userId}/messages/send" +}, +"simple": { +"multipart": true, +"path": "/upload/gmail/v1/users/{userId}/messages/send" +} +} +}, +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/send", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.action.compose", +"https://www.googleapis.com/auth/gmail.compose", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.send" +], +"supportsMediaUpload": true +}, +"trash": { +"description": "Moves the specified message to the trash.", +"flatPath": "gmail/v1/users/{userId}/messages/{id}/trash", +"httpMethod": "POST", +"id": "gmail.users.messages.trash", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the message to Trash.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{id}/trash", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"untrash": { +"description": "Removes the specified message from the trash.", +"flatPath": "gmail/v1/users/{userId}/messages/{id}/untrash", +"httpMethod": "POST", +"id": "gmail.users.messages.untrash", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the message to remove from Trash.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{id}/untrash", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +} +}, +"resources": { +"attachments": { +"methods": { +"get": { +"description": "Gets the specified message attachment.", +"flatPath": "gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}", +"httpMethod": "GET", +"id": "gmail.users.messages.attachments.get", +"parameterOrder": [ +"userId", +"messageId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"messageId": { +"description": "The ID of the message containing the attachment.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}", +"response": { +"$ref": "MessagePartBody" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.message.action", +"https://www.googleapis.com/auth/gmail.addons.current.message.readonly", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +} +} +} +} +}, +"settings": { +"methods": { +"getAutoForwarding": { +"description": "Gets the auto-forwarding setting for the specified account.", +"flatPath": "gmail/v1/users/{userId}/settings/autoForwarding", +"httpMethod": "GET", +"id": "gmail.users.settings.getAutoForwarding", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/autoForwarding", +"response": { +"$ref": "AutoForwarding" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"getImap": { +"description": "Gets IMAP settings.", +"flatPath": "gmail/v1/users/{userId}/settings/imap", +"httpMethod": "GET", +"id": "gmail.users.settings.getImap", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/imap", +"response": { +"$ref": "ImapSettings" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"getLanguage": { +"description": "Gets language settings.", +"flatPath": "gmail/v1/users/{userId}/settings/language", +"httpMethod": "GET", +"id": "gmail.users.settings.getLanguage", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/language", +"response": { +"$ref": "LanguageSettings" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"getPop": { +"description": "Gets POP settings.", +"flatPath": "gmail/v1/users/{userId}/settings/pop", +"httpMethod": "GET", +"id": "gmail.users.settings.getPop", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/pop", +"response": { +"$ref": "PopSettings" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"getVacation": { +"description": "Gets vacation responder settings.", +"flatPath": "gmail/v1/users/{userId}/settings/vacation", +"httpMethod": "GET", +"id": "gmail.users.settings.getVacation", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/vacation", +"response": { +"$ref": "VacationSettings" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"updateAutoForwarding": { +"description": "Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/autoForwarding", +"httpMethod": "PUT", +"id": "gmail.users.settings.updateAutoForwarding", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/autoForwarding", +"request": { +"$ref": "AutoForwarding" +}, +"response": { +"$ref": "AutoForwarding" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"updateImap": { +"description": "Updates IMAP settings.", +"flatPath": "gmail/v1/users/{userId}/settings/imap", +"httpMethod": "PUT", +"id": "gmail.users.settings.updateImap", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/imap", +"request": { +"$ref": "ImapSettings" +}, +"response": { +"$ref": "ImapSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"updateLanguage": { +"description": "Updates language settings. If successful, the return object contains the `displayLanguage` that was saved for the user, which may differ from the value passed into the request. This is because the requested `displayLanguage` may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.", +"flatPath": "gmail/v1/users/{userId}/settings/language", +"httpMethod": "PUT", +"id": "gmail.users.settings.updateLanguage", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/language", +"request": { +"$ref": "LanguageSettings" +}, +"response": { +"$ref": "LanguageSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"updatePop": { +"description": "Updates POP settings.", +"flatPath": "gmail/v1/users/{userId}/settings/pop", +"httpMethod": "PUT", +"id": "gmail.users.settings.updatePop", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/pop", +"request": { +"$ref": "PopSettings" +}, +"response": { +"$ref": "PopSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"updateVacation": { +"description": "Updates vacation responder settings.", +"flatPath": "gmail/v1/users/{userId}/settings/vacation", +"httpMethod": "PUT", +"id": "gmail.users.settings.updateVacation", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/vacation", +"request": { +"$ref": "VacationSettings" +}, +"response": { +"$ref": "VacationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +} +}, +"resources": { +"cse": { +"resources": { +"identities": { +"methods": { +"create": { +"description": "Creates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/identities", +"httpMethod": "POST", +"id": "gmail.users.settings.cse.identities.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/identities", +"request": { +"$ref": "CseIdentity" +}, +"response": { +"$ref": "CseIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"delete": { +"description": "Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.cse.identities.delete", +"parameterOrder": [ +"userId", +"cseEmailAddress" +], +"parameters": { +"cseEmailAddress": { +"description": "The primary email address associated with the client-side encryption identity configuration that's removed.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Retrieves a client-side encryption identity configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", +"httpMethod": "GET", +"id": "gmail.users.settings.cse.identities.get", +"parameterOrder": [ +"userId", +"cseEmailAddress" +], +"parameters": { +"cseEmailAddress": { +"description": "The primary email address associated with the client-side encryption identity configuration that's retrieved.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}", +"response": { +"$ref": "CseIdentity" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"list": { +"description": "Lists the client-side encrypted identities for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/identities", +"httpMethod": "GET", +"id": "gmail.users.settings.cse.identities.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"pageSize": { +"default": "20", +"description": "The number of identities to return. If not provided, the page size will default to 20 entries.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of results.", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/identities", +"response": { +"$ref": "ListCseIdentitiesResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"patch": { +"description": "Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profiles](https://support.google.com/a/answer/7300887). For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", +"httpMethod": "PATCH", +"id": "gmail.users.settings.cse.identities.patch", +"parameterOrder": [ +"userId", +"emailAddress" +], +"parameters": { +"emailAddress": { +"description": "The email address of the client-side encryption identity to update.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}", +"request": { +"$ref": "CseIdentity" +}, +"response": { +"$ref": "CseIdentity" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +} +} +}, +"keypairs": { +"methods": { +"create": { +"description": "Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs", +"httpMethod": "POST", +"id": "gmail.users.settings.cse.keypairs.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs", +"request": { +"$ref": "CseKeyPair" +}, +"response": { +"$ref": "CseKeyPair" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"disable": { +"description": "Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair. After 30 days, you can permanently delete the key pair by using the ObliterateCseKeyPair method. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", +"httpMethod": "POST", +"id": "gmail.users.settings.cse.keypairs.disable", +"parameterOrder": [ +"userId", +"keyPairId" +], +"parameters": { +"keyPairId": { +"description": "The identifier of the key pair to turn off.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable", +"request": { +"$ref": "DisableCseKeyPairRequest" +}, +"response": { +"$ref": "CseKeyPair" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"enable": { +"description": "Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable", +"httpMethod": "POST", +"id": "gmail.users.settings.cse.keypairs.enable", +"parameterOrder": [ +"userId", +"keyPairId" +], +"parameters": { +"keyPairId": { +"description": "The identifier of the key pair to turn on.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable", +"request": { +"$ref": "EnableCseKeyPairRequest" +}, +"response": { +"$ref": "CseKeyPair" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Retrieves an existing client-side encryption key pair. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", +"httpMethod": "GET", +"id": "gmail.users.settings.cse.keypairs.get", +"parameterOrder": [ +"userId", +"keyPairId" +], +"parameters": { +"keyPairId": { +"description": "The identifier of the key pair to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}", +"response": { +"$ref": "CseKeyPair" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"list": { +"description": "Lists client-side encryption key pairs for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs", +"httpMethod": "GET", +"id": "gmail.users.settings.cse.keypairs.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"pageSize": { +"default": "20", +"description": "The number of key pairs to return. If not provided, the page size will default to 20 entries.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Pagination token indicating which page of key pairs to return. If the token is not supplied, then the API will return the first page of results.", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs", +"response": { +"$ref": "ListCseKeyPairsResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"obliterate": { +"description": "Deletes a client-side encryption key pair permanently and immediately. You can only permanently delete key pairs that have been turned off for more than 30 days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't restore or decrypt any messages that were encrypted by an obliterated key. Authenticated users and Google Workspace administrators lose access to reading the encrypted messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"flatPath": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate", +"httpMethod": "POST", +"id": "gmail.users.settings.cse.keypairs.obliterate", +"parameterOrder": [ +"userId", +"keyPairId" +], +"parameters": { +"keyPairId": { +"description": "The identifier of the key pair to obliterate.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The requester's primary email address. To indicate the authenticated user, you can use the special value `me`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate", +"request": { +"$ref": "ObliterateCseKeyPairRequest" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +} +} +} +} +}, +"delegates": { +"methods": { +"create": { +"description": "Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. The delegate user must be a member of the same Google Workspace organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a Google Workspace organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/delegates", +"httpMethod": "POST", +"id": "gmail.users.settings.delegates.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/delegates", +"request": { +"$ref": "Delegate" +}, +"response": { +"$ref": "Delegate" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"delete": { +"description": "Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.delegates.delete", +"parameterOrder": [ +"userId", +"delegateEmail" +], +"parameters": { +"delegateEmail": { +"description": "The email address of the user to be removed as a delegate.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", +"httpMethod": "GET", +"id": "gmail.users.settings.delegates.get", +"parameterOrder": [ +"userId", +"delegateEmail" +], +"parameters": { +"delegateEmail": { +"description": "The email address of the user whose delegate relationship is to be retrieved.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/delegates/{delegateEmail}", +"response": { +"$ref": "Delegate" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"list": { +"description": "Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/delegates", +"httpMethod": "GET", +"id": "gmail.users.settings.delegates.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/delegates", +"response": { +"$ref": "ListDelegatesResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +} +} +}, +"filters": { +"methods": { +"create": { +"description": "Creates a filter. Note: you can only create a maximum of 1,000 filters.", +"flatPath": "gmail/v1/users/{userId}/settings/filters", +"httpMethod": "POST", +"id": "gmail.users.settings.filters.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/filters", +"request": { +"$ref": "Filter" +}, +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"delete": { +"description": "Immediately and permanently deletes the specified filter.", +"flatPath": "gmail/v1/users/{userId}/settings/filters/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.filters.delete", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the filter to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/filters/{id}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"get": { +"description": "Gets a filter.", +"flatPath": "gmail/v1/users/{userId}/settings/filters/{id}", +"httpMethod": "GET", +"id": "gmail.users.settings.filters.get", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the filter to be fetched.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/filters/{id}", +"response": { +"$ref": "Filter" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"list": { +"description": "Lists the message filters of a Gmail user.", +"flatPath": "gmail/v1/users/{userId}/settings/filters", +"httpMethod": "GET", +"id": "gmail.users.settings.filters.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/filters", +"response": { +"$ref": "ListFiltersResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +} +} +}, +"forwardingAddresses": { +"methods": { +"create": { +"description": "Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to `pending`; otherwise, the resource will be created with verification status set to `accepted`. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/forwardingAddresses", +"httpMethod": "POST", +"id": "gmail.users.settings.forwardingAddresses.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/forwardingAddresses", +"request": { +"$ref": "ForwardingAddress" +}, +"response": { +"$ref": "ForwardingAddress" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"delete": { +"description": "Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.forwardingAddresses.delete", +"parameterOrder": [ +"userId", +"forwardingEmail" +], +"parameters": { +"forwardingEmail": { +"description": "The forwarding address to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Gets the specified forwarding address.", +"flatPath": "gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}", +"httpMethod": "GET", +"id": "gmail.users.settings.forwardingAddresses.get", +"parameterOrder": [ +"userId", +"forwardingEmail" +], +"parameters": { +"forwardingEmail": { +"description": "The forwarding address to be retrieved.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}", +"response": { +"$ref": "ForwardingAddress" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"list": { +"description": "Lists the forwarding addresses for the specified account.", +"flatPath": "gmail/v1/users/{userId}/settings/forwardingAddresses", +"httpMethod": "GET", +"id": "gmail.users.settings.forwardingAddresses.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/forwardingAddresses", +"response": { +"$ref": "ListForwardingAddressesResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +} +} +}, +"sendAs": { +"methods": { +"create": { +"description": "Creates a custom \"from\" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to `pending`; otherwise, the resource will be created with verification status set to `accepted`. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs", +"httpMethod": "POST", +"id": "gmail.users.settings.sendAs.create", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs", +"request": { +"$ref": "SendAs" +}, +"response": { +"$ref": "SendAs" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"delete": { +"description": "Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.sendAs.delete", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The send-as alias to be deleted.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"httpMethod": "GET", +"id": "gmail.users.settings.sendAs.get", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The send-as alias to be retrieved.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"response": { +"$ref": "SendAs" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"list": { +"description": "Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom \"from\" aliases.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs", +"httpMethod": "GET", +"id": "gmail.users.settings.sendAs.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs", +"response": { +"$ref": "ListSendAsResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic" +] +}, +"patch": { +"description": "Patch the specified send-as alias.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"httpMethod": "PATCH", +"id": "gmail.users.settings.sendAs.patch", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The send-as alias to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"request": { +"$ref": "SendAs" +}, +"response": { +"$ref": "SendAs" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"update": { +"description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"httpMethod": "PUT", +"id": "gmail.users.settings.sendAs.update", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The send-as alias to be updated.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}", +"request": { +"$ref": "SendAs" +}, +"response": { +"$ref": "SendAs" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"verify": { +"description": "Sends a verification email to the specified send-as alias address. The verification status must be `pending`. This method is only available to service account clients that have been delegated domain-wide authority.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify", +"httpMethod": "POST", +"id": "gmail.users.settings.sendAs.verify", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The send-as alias to be verified.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "User's email address. The special value \"me\" can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +} +}, +"resources": { +"smimeInfo": { +"methods": { +"delete": { +"description": "Deletes the specified S/MIME config for the specified send-as alias.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.settings.sendAs.smimeInfo.delete", +"parameterOrder": [ +"userId", +"sendAsEmail", +"id" +], +"parameters": { +"id": { +"description": "The immutable ID for the SmimeInfo.", +"location": "path", +"required": true, +"type": "string" +}, +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"get": { +"description": "Gets the specified S/MIME config for the specified send-as alias.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", +"httpMethod": "GET", +"id": "gmail.users.settings.sendAs.smimeInfo.get", +"parameterOrder": [ +"userId", +"sendAsEmail", +"id" +], +"parameters": { +"id": { +"description": "The immutable ID for the SmimeInfo.", +"location": "path", +"required": true, +"type": "string" +}, +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}", +"response": { +"$ref": "SmimeInfo" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"insert": { +"description": "Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", +"httpMethod": "POST", +"id": "gmail.users.settings.sendAs.smimeInfo.insert", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", +"request": { +"$ref": "SmimeInfo" +}, +"response": { +"$ref": "SmimeInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"list": { +"description": "Lists S/MIME configs for the specified send-as alias.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", +"httpMethod": "GET", +"id": "gmail.users.settings.sendAs.smimeInfo.list", +"parameterOrder": [ +"userId", +"sendAsEmail" +], +"parameters": { +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo", +"response": { +"$ref": "ListSmimeInfoResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly", +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +}, +"setDefault": { +"description": "Sets the default S/MIME config for the specified send-as alias.", +"flatPath": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault", +"httpMethod": "POST", +"id": "gmail.users.settings.sendAs.smimeInfo.setDefault", +"parameterOrder": [ +"userId", +"sendAsEmail", +"id" +], +"parameters": { +"id": { +"description": "The immutable ID for the SmimeInfo.", +"location": "path", +"required": true, +"type": "string" +}, +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault", +"scopes": [ +"https://www.googleapis.com/auth/gmail.settings.basic", +"https://www.googleapis.com/auth/gmail.settings.sharing" +] +} +} +} +} +} +} +}, +"threads": { +"methods": { +"delete": { +"description": "Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer `threads.trash` instead.", +"flatPath": "gmail/v1/users/{userId}/threads/{id}", +"httpMethod": "DELETE", +"id": "gmail.users.threads.delete", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "ID of the Thread to delete.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads/{id}", +"scopes": [ +"https://mail.google.com/" +] +}, +"get": { +"description": "Gets the specified thread.", +"flatPath": "gmail/v1/users/{userId}/threads/{id}", +"httpMethod": "GET", +"id": "gmail.users.threads.get", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"format": { +"default": "full", +"description": "The format to return the messages in.", +"enum": [ +"full", +"metadata", +"minimal" +], +"enumDescriptions": [ +"Returns the full email message data with body content parsed in the `payload` field; the `raw` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope.", +"Returns only email message IDs, labels, and email headers.", +"Returns only email message IDs and labels; does not return the email headers, body, or payload." +], +"location": "query", +"type": "string" +}, +"id": { +"description": "The ID of the thread to retrieve.", +"location": "path", +"required": true, +"type": "string" +}, +"metadataHeaders": { +"description": "When given and format is METADATA, only include headers specified.", +"location": "query", +"repeated": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads/{id}", +"response": { +"$ref": "Thread" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.addons.current.message.action", +"https://www.googleapis.com/auth/gmail.addons.current.message.metadata", +"https://www.googleapis.com/auth/gmail.addons.current.message.readonly", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"list": { +"description": "Lists the threads in the user's mailbox.", +"flatPath": "gmail/v1/users/{userId}/threads", +"httpMethod": "GET", +"id": "gmail.users.threads.list", +"parameterOrder": [ +"userId" +], +"parameters": { +"includeSpamTrash": { +"default": "false", +"description": "Include threads from `SPAM` and `TRASH` in the results.", +"location": "query", +"type": "boolean" +}, +"labelIds": { +"description": "Only return threads with labels that match all of the specified label IDs.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxResults": { +"default": "100", +"description": "Maximum number of threads to return. This field defaults to 100. The maximum allowed value for this field is 500.", +"format": "uint32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token to retrieve a specific page of results in the list.", +"location": "query", +"type": "string" +}, +"q": { +"description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, `\"from:someuser@example.com rfc822msgid: is:unread\"`. Parameter cannot be used when accessing the api using the gmail.metadata scope.", +"location": "query", +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads", +"response": { +"$ref": "ListThreadsResponse" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.metadata", +"https://www.googleapis.com/auth/gmail.modify", +"https://www.googleapis.com/auth/gmail.readonly" +] +}, +"modify": { +"description": "Modifies the labels applied to the thread. This applies to all messages in the thread.", +"flatPath": "gmail/v1/users/{userId}/threads/{id}/modify", +"httpMethod": "POST", +"id": "gmail.users.threads.modify", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the thread to modify.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads/{id}/modify", +"request": { +"$ref": "ModifyThreadRequest" +}, +"response": { +"$ref": "Thread" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"trash": { +"description": "Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.", +"flatPath": "gmail/v1/users/{userId}/threads/{id}/trash", +"httpMethod": "POST", +"id": "gmail.users.threads.trash", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the thread to Trash.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads/{id}/trash", +"response": { +"$ref": "Thread" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +}, +"untrash": { +"description": "Removes the specified thread from the trash. Any messages that belong to the thread are also removed from the trash.", +"flatPath": "gmail/v1/users/{userId}/threads/{id}/untrash", +"httpMethod": "POST", +"id": "gmail.users.threads.untrash", +"parameterOrder": [ +"userId", +"id" +], +"parameters": { +"id": { +"description": "The ID of the thread to remove from Trash.", +"location": "path", +"required": true, +"type": "string" +}, +"userId": { +"default": "me", +"description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "gmail/v1/users/{userId}/threads/{id}/untrash", +"response": { +"$ref": "Thread" +}, +"scopes": [ +"https://mail.google.com/", +"https://www.googleapis.com/auth/gmail.modify" +] +} +} +} +} +} +}, +"revision": "20260112", +"rootUrl": "https://gmail.googleapis.com/", +"schemas": { +"AutoForwarding": { +"description": "Auto-forwarding settings for an account.", +"id": "AutoForwarding", +"properties": { +"disposition": { +"description": "The state that a message should be left in after it has been forwarded.", +"enum": [ +"dispositionUnspecified", +"leaveInInbox", +"archive", +"trash", +"markRead" +], +"enumDescriptions": [ +"Unspecified disposition.", +"Leave the message in the `INBOX`.", +"Archive the message.", +"Move the message to the `TRASH`.", +"Leave the message in the `INBOX` and mark it as read." +], +"type": "string" +}, +"emailAddress": { +"description": "Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.", +"type": "string" +}, +"enabled": { +"description": "Whether all incoming mail is automatically forwarded to another address.", +"type": "boolean" +} +}, +"type": "object" +}, +"BatchDeleteMessagesRequest": { +"id": "BatchDeleteMessagesRequest", +"properties": { +"ids": { +"description": "The IDs of the messages to delete.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchModifyMessagesRequest": { +"id": "BatchModifyMessagesRequest", +"properties": { +"addLabelIds": { +"description": "A list of label IDs to add to messages.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ids": { +"description": "The IDs of the messages to modify. There is a limit of 1000 ids per request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeLabelIds": { +"description": "A list of label IDs to remove from messages.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassificationLabelFieldValue": { +"description": "Field values for a classification label.", +"id": "ClassificationLabelFieldValue", +"properties": { +"fieldId": { +"description": "Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive `Label.Field` object.", +"type": "string" +}, +"selection": { +"description": "Selection choice ID for the selection option. Should only be set if the field type is `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive `Label.Field.SelectionOptions` resource.", +"type": "string" +} +}, +"type": "object" +}, +"ClassificationLabelValue": { +"description": "Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. Only used for Google Workspace accounts. [Learn more about classification labels](https://support.google.com/a/answer/9292382).", +"id": "ClassificationLabelValue", +"properties": { +"fields": { +"description": "Field values for the given classification label ID.", +"items": { +"$ref": "ClassificationLabelFieldValue" +}, +"type": "array" +}, +"labelId": { +"description": "Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of the Google Drive Label resource.", +"type": "string" +} +}, +"type": "object" +}, +"CseIdentity": { +"description": "The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"id": "CseIdentity", +"properties": { +"emailAddress": { +"description": "The email address for the sending identity. The email address must be the primary email address of the authenticated user.", +"type": "string" +}, +"primaryKeyPairId": { +"description": "If a key pair is associated, the ID of the key pair, CseKeyPair.", +"type": "string" +}, +"signAndEncryptKeyPairs": { +"$ref": "SignAndEncryptKeyPairs", +"description": "The configuration of a CSE identity that uses different key pairs for signing and encryption." +} +}, +"type": "object" +}, +"CseKeyPair": { +"description": "A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key. Gmail uses the key pair to complete the following tasks: - Sign outgoing client-side encrypted messages. - Save and reopen drafts of client-side encrypted messages. - Save and reopen sent messages. - Decrypt incoming or archived S/MIME messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", +"id": "CseKeyPair", +"properties": { +"disableTime": { +"description": "Output only. If a key pair is set to `DISABLED`, the time that the key pair's state changed from `ENABLED` to `DISABLED`. This field is present only when the key pair is in state `DISABLED`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"enablementState": { +"description": "Output only. The current state of the key pair.", +"enum": [ +"stateUnspecified", +"enabled", +"disabled" +], +"enumDescriptions": [ +"The current state of the key pair is not set. The key pair is neither turned on nor turned off.", +"The key pair is turned on. For any email messages that this key pair encrypts, Gmail decrypts the messages and signs any outgoing mail with the private key. To turn on a key pair, use the EnableCseKeyPair method.", +"The key pair is turned off. Authenticated users cannot decrypt email messages nor sign outgoing messages. If a key pair is turned off for more than 30 days, you can permanently delete it. To turn off a key pair, use the DisableCseKeyPair method." +], +"readOnly": true, +"type": "string" +}, +"keyPairId": { +"description": "Output only. The immutable ID for the client-side encryption S/MIME key pair.", +"readOnly": true, +"type": "string" +}, +"pem": { +"description": "Output only. The public key and its certificate chain, in [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail) format.", +"readOnly": true, +"type": "string" +}, +"pkcs7": { +"description": "Input only. The public key and its certificate chain. The chain must be in [PKCS#7](https://en.wikipedia.org/wiki/PKCS_7) format and use PEM encoding and ASCII armor.", +"type": "string" +}, +"privateKeyMetadata": { +"description": "Metadata for instances of this key pair's private key.", +"items": { +"$ref": "CsePrivateKeyMetadata" +}, +"type": "array" +}, +"subjectEmailAddresses": { +"description": "Output only. The email address identities that are specified on the leaf certificate.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CsePrivateKeyMetadata": { +"description": "Metadata for a private key instance.", +"id": "CsePrivateKeyMetadata", +"properties": { +"hardwareKeyMetadata": { +"$ref": "HardwareKeyMetadata", +"description": "Metadata for hardware keys." +}, +"kaclsKeyMetadata": { +"$ref": "KaclsKeyMetadata", +"description": "Metadata for a private key instance managed by an external key access control list service." +}, +"privateKeyMetadataId": { +"description": "Output only. The immutable ID for the private key metadata instance.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Delegate": { +"description": "Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See \"Set up mail delegation\" for more information about delegates.", +"id": "Delegate", +"properties": { +"delegateEmail": { +"description": "The email address of the delegate.", +"type": "string" +}, +"verificationStatus": { +"description": "Indicates whether this address has been verified and can act as a delegate for the account. Read-only.", +"enum": [ +"verificationStatusUnspecified", +"accepted", +"pending", +"rejected", +"expired" +], +"enumDescriptions": [ +"Unspecified verification status.", +"The address can act a delegate for the account.", +"A verification request was mailed to the address, and the owner has not yet accepted it.", +"A verification request was mailed to the address, and the owner rejected it.", +"A verification request was mailed to the address, and it expired without verification." +], +"type": "string" +} +}, +"type": "object" +}, +"DisableCseKeyPairRequest": { +"description": "Requests to turn off a client-side encryption key pair.", +"id": "DisableCseKeyPairRequest", +"properties": {}, +"type": "object" +}, +"Draft": { +"description": "A draft email in the user's mailbox.", +"id": "Draft", +"properties": { +"id": { +"annotations": { +"required": [ +"gmail.users.drafts.send" +] +}, +"description": "The immutable ID of the draft.", +"type": "string" +}, +"message": { +"$ref": "Message", +"description": "The message content of the draft." +} +}, +"type": "object" +}, +"EnableCseKeyPairRequest": { +"description": "Requests to turn on a client-side encryption key pair.", +"id": "EnableCseKeyPairRequest", +"properties": {}, +"type": "object" +}, +"Filter": { +"description": "Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.", +"id": "Filter", +"properties": { +"action": { +"$ref": "FilterAction", +"description": "Action that the filter performs." +}, +"criteria": { +"$ref": "FilterCriteria", +"description": "Matching criteria for the filter." +}, +"id": { +"description": "The server assigned ID of the filter.", +"type": "string" +} +}, +"type": "object" +}, +"FilterAction": { +"description": "A set of actions to perform on a message.", +"id": "FilterAction", +"properties": { +"addLabelIds": { +"description": "List of labels to add to the message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"forward": { +"description": "Email address that the message should be forwarded to.", +"type": "string" +}, +"removeLabelIds": { +"description": "List of labels to remove from the message.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"FilterCriteria": { +"description": "Message matching criteria.", +"id": "FilterCriteria", +"properties": { +"excludeChats": { +"description": "Whether the response should exclude chats.", +"type": "boolean" +}, +"from": { +"description": "The sender's display name or email address.", +"type": "string" +}, +"hasAttachment": { +"description": "Whether the message has any attachment.", +"type": "boolean" +}, +"negatedQuery": { +"description": "Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, `\"from:someuser@example.com rfc822msgid: is:unread\"`.", +"type": "string" +}, +"query": { +"description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, `\"from:someuser@example.com rfc822msgid: is:unread\"`.", +"type": "string" +}, +"size": { +"description": "The size of the entire RFC822 message in bytes, including all headers and attachments.", +"format": "int32", +"type": "integer" +}, +"sizeComparison": { +"description": "How the message size in bytes should be in relation to the size field.", +"enum": [ +"unspecified", +"smaller", +"larger" +], +"enumDescriptions": [ +"", +"Find messages smaller than the given size.", +"Find messages larger than the given size." +], +"type": "string" +}, +"subject": { +"description": "Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.", +"type": "string" +}, +"to": { +"description": "The recipient's display name or email address. Includes recipients in the \"to\", \"cc\", and \"bcc\" header fields. You can use simply the local part of the email address. For example, \"example\" and \"example@\" both match \"example@gmail.com\". This field is case-insensitive.", +"type": "string" +} +}, +"type": "object" +}, +"ForwardingAddress": { +"description": "Settings for a forwarding address.", +"id": "ForwardingAddress", +"properties": { +"forwardingEmail": { +"description": "An email address to which messages can be forwarded.", +"type": "string" +}, +"verificationStatus": { +"description": "Indicates whether this address has been verified and is usable for forwarding. Read-only.", +"enum": [ +"verificationStatusUnspecified", +"accepted", +"pending" +], +"enumDescriptions": [ +"Unspecified verification status.", +"The address is ready to use for forwarding.", +"The address is awaiting verification by the owner." +], +"type": "string" +} +}, +"type": "object" +}, +"HardwareKeyMetadata": { +"description": "Metadata for hardware keys. If [hardware key encryption](https://support.google.com/a/answer/14153163) is set up for the Google Workspace organization, users can optionally store their private key on their smart card and use it to sign and decrypt email messages in Gmail by inserting their smart card into a reader attached to their Windows device.", +"id": "HardwareKeyMetadata", +"properties": { +"description": { +"description": "Description about the hardware key.", +"type": "string" +} +}, +"type": "object" +}, +"History": { +"description": "A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.", +"id": "History", +"properties": { +"id": { +"description": "The mailbox sequence ID.", +"format": "uint64", +"type": "string" +}, +"labelsAdded": { +"description": "Labels added to messages in this history record.", +"items": { +"$ref": "HistoryLabelAdded" +}, +"type": "array" +}, +"labelsRemoved": { +"description": "Labels removed from messages in this history record.", +"items": { +"$ref": "HistoryLabelRemoved" +}, +"type": "array" +}, +"messages": { +"description": "List of messages changed in this history record. The fields for specific change types, such as `messagesAdded` may duplicate messages in this field. We recommend using the specific change-type fields instead of this.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"messagesAdded": { +"description": "Messages added to the mailbox in this history record.", +"items": { +"$ref": "HistoryMessageAdded" +}, +"type": "array" +}, +"messagesDeleted": { +"description": "Messages deleted (not Trashed) from the mailbox in this history record.", +"items": { +"$ref": "HistoryMessageDeleted" +}, +"type": "array" +} +}, +"type": "object" +}, +"HistoryLabelAdded": { +"id": "HistoryLabelAdded", +"properties": { +"labelIds": { +"description": "Label IDs added to the message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"message": { +"$ref": "Message" +} +}, +"type": "object" +}, +"HistoryLabelRemoved": { +"id": "HistoryLabelRemoved", +"properties": { +"labelIds": { +"description": "Label IDs removed from the message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"message": { +"$ref": "Message" +} +}, +"type": "object" +}, +"HistoryMessageAdded": { +"id": "HistoryMessageAdded", +"properties": { +"message": { +"$ref": "Message" +} +}, +"type": "object" +}, +"HistoryMessageDeleted": { +"id": "HistoryMessageDeleted", +"properties": { +"message": { +"$ref": "Message" +} +}, +"type": "object" +}, +"ImapSettings": { +"description": "IMAP settings for an account.", +"id": "ImapSettings", +"properties": { +"autoExpunge": { +"description": "If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.", +"type": "boolean" +}, +"enabled": { +"description": "Whether IMAP is enabled for the account.", +"type": "boolean" +}, +"expungeBehavior": { +"description": "The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.", +"enum": [ +"expungeBehaviorUnspecified", +"archive", +"trash", +"deleteForever" +], +"enumDescriptions": [ +"Unspecified behavior.", +"Archive messages marked as deleted.", +"Move messages marked as deleted to the trash.", +"Immediately and permanently delete messages marked as deleted. The expunged messages cannot be recovered." +], +"type": "string" +}, +"maxFolderSize": { +"description": "An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"KaclsKeyMetadata": { +"description": "Metadata for private keys managed by an external key access control list service. For details about managing key access, see [Google Workspace CSE API Reference](https://developers.google.com/workspace/cse/reference).", +"id": "KaclsKeyMetadata", +"properties": { +"kaclsData": { +"description": "Opaque data generated and used by the key access control list service. Maximum size: 8 KiB.", +"type": "string" +}, +"kaclsUri": { +"description": "The URI of the key access control list service that manages the private key.", +"type": "string" +} +}, +"type": "object" +}, +"Label": { +"description": "Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.", +"id": "Label", +"properties": { +"color": { +"$ref": "LabelColor", +"description": "The color to assign to the label. Color is only available for labels that have their `type` set to `user`." +}, +"id": { +"annotations": { +"required": [ +"gmail.users.labels.update" +] +}, +"description": "The immutable ID of the label.", +"type": "string" +}, +"labelListVisibility": { +"annotations": { +"required": [ +"gmail.users.labels.create", +"gmail.users.labels.update" +] +}, +"description": "The visibility of the label in the label list in the Gmail web interface.", +"enum": [ +"labelShow", +"labelShowIfUnread", +"labelHide" +], +"enumDescriptions": [ +"Show the label in the label list.", +"Show the label if there are any unread messages with that label.", +"Do not show the label in the label list." +], +"type": "string" +}, +"messageListVisibility": { +"annotations": { +"required": [ +"gmail.users.labels.create", +"gmail.users.labels.update" +] +}, +"description": "The visibility of messages with this label in the message list in the Gmail web interface.", +"enum": [ +"show", +"hide" +], +"enumDescriptions": [ +"Show the label in the message list.", +"Do not show the label in the message list." +], +"type": "string" +}, +"messagesTotal": { +"description": "The total number of messages with the label.", +"format": "int32", +"type": "integer" +}, +"messagesUnread": { +"description": "The number of unread messages with the label.", +"format": "int32", +"type": "integer" +}, +"name": { +"annotations": { +"required": [ +"gmail.users.labels.create", +"gmail.users.labels.update" +] +}, +"description": "The display name of the label.", +"type": "string" +}, +"threadsTotal": { +"description": "The total number of threads with the label.", +"format": "int32", +"type": "integer" +}, +"threadsUnread": { +"description": "The number of unread threads with the label.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the `INBOX` and `UNREAD` labels from messages and threads, but cannot apply or remove the `DRAFTS` or `SENT` labels from messages or threads.", +"enum": [ +"system", +"user" +], +"enumDescriptions": [ +"Labels created by Gmail.", +"Custom labels created by the user or application." +], +"type": "string" +} +}, +"type": "object" +}, +"LabelColor": { +"id": "LabelColor", +"properties": { +"backgroundColor": { +"description": "The background color represented as hex string #RRGGBB (ex #000000). This field is required in order to set the color of a label. Only the following predefined set of color values are allowed: \\#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, \\#fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, \\#f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, \\#efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, \\#e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, \\#cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, \\#ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, \\#822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c \\#464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff, \\#711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5, \\#594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1, \\#c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46, \\#662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765", +"type": "string" +}, +"textColor": { +"description": "The text color of the label, represented as hex string. This field is required in order to set the color of a label. Only the following predefined set of color values are allowed: \\#000000, #434343, #666666, #999999, #cccccc, #efefef, #f3f3f3, #ffffff, \\#fb4c2f, #ffad47, #fad165, #16a766, #43d692, #4a86e8, #a479e2, #f691b3, \\#f6c5be, #ffe6c7, #fef1d1, #b9e4d0, #c6f3de, #c9daf8, #e4d7f5, #fcdee8, \\#efa093, #ffd6a2, #fce8b3, #89d3b2, #a0eac9, #a4c2f4, #d0bcf1, #fbc8d9, \\#e66550, #ffbc6b, #fcda83, #44b984, #68dfa9, #6d9eeb, #b694e8, #f7a7c0, \\#cc3a21, #eaa041, #f2c960, #149e60, #3dc789, #3c78d8, #8e63ce, #e07798, \\#ac2b16, #cf8933, #d5ae49, #0b804b, #2a9c68, #285bac, #653e9b, #b65775, \\#822111, #a46a21, #aa8831, #076239, #1a764d, #1c4587, #41236d, #83334c \\#464646, #e7e7e7, #0d3472, #b6cff5, #0d3b44, #98d7e4, #3d188e, #e3d7ff, \\#711a36, #fbd3e0, #8a1c0a, #f2b2a8, #7a2e0b, #ffc8af, #7a4706, #ffdeb5, \\#594c05, #fbe983, #684e07, #fdedc1, #0b4f30, #b3efd3, #04502e, #a2dcc1, \\#c2c2c2, #4986e7, #2da2bb, #b99aff, #994a64, #f691b2, #ff7537, #ffad46, \\#662e37, #ebdbde, #cca6ac, #094228, #42d692, #16a765", +"type": "string" +} +}, +"type": "object" +}, +"LanguageSettings": { +"description": "Language settings for an account. These settings correspond to the \"Language settings\" feature in the web interface.", +"id": "LanguageSettings", +"properties": { +"displayLanguage": { +"description": "The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the \"Language\" dropdown in the Gmail settings for all available options, as described in the language settings help article. For a table of sample values, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings). Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).", +"type": "string" +} +}, +"type": "object" +}, +"ListCseIdentitiesResponse": { +"id": "ListCseIdentitiesResponse", +"properties": { +"cseIdentities": { +"description": "One page of the list of CSE identities configured for the user.", +"items": { +"$ref": "CseIdentity" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be passed to a subsequent ListCseIdentities call in order to retrieve the next page of identities. If this value is not returned or is the empty string, then no further pages remain.", +"type": "string" +} +}, +"type": "object" +}, +"ListCseKeyPairsResponse": { +"id": "ListCseKeyPairsResponse", +"properties": { +"cseKeyPairs": { +"description": "One page of the list of CSE key pairs installed for the user.", +"items": { +"$ref": "CseKeyPair" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token to be passed to a subsequent ListCseKeyPairs call in order to retrieve the next page of key pairs. If this value is not returned, then no further pages remain.", +"type": "string" +} +}, +"type": "object" +}, +"ListDelegatesResponse": { +"description": "Response for the ListDelegates method.", +"id": "ListDelegatesResponse", +"properties": { +"delegates": { +"description": "List of the user's delegates (with any verification status). If an account doesn't have delegates, this field doesn't appear.", +"items": { +"$ref": "Delegate" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDraftsResponse": { +"id": "ListDraftsResponse", +"properties": { +"drafts": { +"description": "List of drafts. Note that the `Message` property in each `Draft` resource only contains an `id` and a `threadId`. The [`messages.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/messages/get) method can fetch additional message details.", +"items": { +"$ref": "Draft" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results in the list.", +"type": "string" +}, +"resultSizeEstimate": { +"description": "Estimated total number of results.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"ListFiltersResponse": { +"description": "Response for the ListFilters method.", +"id": "ListFiltersResponse", +"properties": { +"filter": { +"description": "List of a user's filters.", +"items": { +"$ref": "Filter" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListForwardingAddressesResponse": { +"description": "Response for the ListForwardingAddresses method.", +"id": "ListForwardingAddressesResponse", +"properties": { +"forwardingAddresses": { +"description": "List of addresses that may be used for forwarding.", +"items": { +"$ref": "ForwardingAddress" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListHistoryResponse": { +"id": "ListHistoryResponse", +"properties": { +"history": { +"description": "List of history records. Any `messages` contained in the response will typically only have `id` and `threadId` fields populated.", +"items": { +"$ref": "History" +}, +"type": "array" +}, +"historyId": { +"description": "The ID of the mailbox's current history record.", +"format": "uint64", +"type": "string" +}, +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListLabelsResponse": { +"id": "ListLabelsResponse", +"properties": { +"labels": { +"description": "List of labels. Note that each label resource only contains an `id`, `name`, `messageListVisibility`, `labelListVisibility`, and `type`. The [`labels.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/labels/get) method can fetch additional label details.", +"items": { +"$ref": "Label" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMessagesResponse": { +"id": "ListMessagesResponse", +"properties": { +"messages": { +"description": "List of messages. Note that each message resource contains only an `id` and a `threadId`. Additional message details can be fetched using the messages.get method.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results in the list.", +"type": "string" +}, +"resultSizeEstimate": { +"description": "Estimated total number of results.", +"format": "uint32", +"type": "integer" +} +}, +"type": "object" +}, +"ListSendAsResponse": { +"description": "Response for the ListSendAs method.", +"id": "ListSendAsResponse", +"properties": { +"sendAs": { +"description": "List of send-as aliases.", +"items": { +"$ref": "SendAs" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSmimeInfoResponse": { +"id": "ListSmimeInfoResponse", +"properties": { +"smimeInfo": { +"description": "List of SmimeInfo.", +"items": { +"$ref": "SmimeInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListThreadsResponse": { +"id": "ListThreadsResponse", +"properties": { +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list.", +"type": "string" +}, +"resultSizeEstimate": { +"description": "Estimated total number of results.", +"format": "uint32", +"type": "integer" +}, +"threads": { +"description": "List of threads. Note that each thread resource does not contain a list of `messages`. The list of `messages` for a given thread can be fetched using the [`threads.get`](https://developers.google.com/workspace/gmail/api/v1/reference/users/threads/get) method.", +"items": { +"$ref": "Thread" +}, +"type": "array" +} +}, +"type": "object" +}, +"Message": { +"description": "An email message.", +"id": "Message", +"properties": { +"classificationLabelValues": { +"description": "Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts.", +"items": { +"$ref": "ClassificationLabelValue" +}, +"type": "array" +}, +"historyId": { +"description": "The ID of the last history record that modified this message.", +"format": "uint64", +"type": "string" +}, +"id": { +"description": "The immutable ID of the message.", +"type": "string" +}, +"internalDate": { +"description": "The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the `Date` header. However, for API-migrated mail, it can be configured by client to be based on the `Date` header.", +"format": "int64", +"type": "string" +}, +"labelIds": { +"description": "List of IDs of labels applied to this message.", +"items": { +"type": "string" +}, +"type": "array" +}, +"payload": { +"$ref": "MessagePart", +"description": "The parsed email structure in the message parts." +}, +"raw": { +"annotations": { +"required": [ +"gmail.users.drafts.create", +"gmail.users.drafts.update", +"gmail.users.messages.insert", +"gmail.users.messages.send" +] +}, +"description": "The entire email message in an RFC 2822 formatted and base64url encoded string. Returned in `messages.get` and `drafts.get` responses when the `format=RAW` parameter is supplied.", +"format": "byte", +"type": "string" +}, +"sizeEstimate": { +"description": "Estimated size in bytes of the message.", +"format": "int32", +"type": "integer" +}, +"snippet": { +"description": "A short part of the message text.", +"type": "string" +}, +"threadId": { +"description": "The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: 1. The requested `threadId` must be specified on the `Message` or `Draft.Message` you supply with your request. 2. The `References` and `In-Reply-To` headers must be set in compliance with the [RFC 2822](https://tools.ietf.org/html/rfc2822) standard. 3. The `Subject` headers must match. ", +"type": "string" +} +}, +"type": "object" +}, +"MessagePart": { +"description": "A single MIME message part.", +"id": "MessagePart", +"properties": { +"body": { +"$ref": "MessagePartBody", +"description": "The message part body for this part, which may be empty for container MIME message parts." +}, +"filename": { +"description": "The filename of the attachment. Only present if this message part represents an attachment.", +"type": "string" +}, +"headers": { +"description": "List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as `To`, `From`, and `Subject`.", +"items": { +"$ref": "MessagePartHeader" +}, +"type": "array" +}, +"mimeType": { +"description": "The MIME type of the message part.", +"type": "string" +}, +"partId": { +"description": "The immutable ID of the message part.", +"type": "string" +}, +"parts": { +"description": "The child MIME message parts of this part. This only applies to container MIME message parts, for example `multipart/*`. For non- container MIME message part types, such as `text/plain`, this field is empty. For more information, see RFC 1521.", +"items": { +"$ref": "MessagePart" +}, +"type": "array" +} +}, +"type": "object" +}, +"MessagePartBody": { +"description": "The body of a single MIME message part.", +"id": "MessagePartBody", +"properties": { +"attachmentId": { +"description": "When present, contains the ID of an external attachment that can be retrieved in a separate `messages.attachments.get` request. When not present, the entire content of the message part body is contained in the data field.", +"type": "string" +}, +"data": { +"description": "The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.", +"format": "byte", +"type": "string" +}, +"size": { +"description": "Number of bytes for the message part data (encoding notwithstanding).", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MessagePartHeader": { +"id": "MessagePartHeader", +"properties": { +"name": { +"description": "The name of the header before the `:` separator. For example, `To`.", +"type": "string" +}, +"value": { +"description": "The value of the header after the `:` separator. For example, `someuser@example.com`.", +"type": "string" +} +}, +"type": "object" +}, +"ModifyMessageRequest": { +"id": "ModifyMessageRequest", +"properties": { +"addLabelIds": { +"description": "A list of IDs of labels to add to this message. You can add up to 100 labels with each update.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeLabelIds": { +"description": "A list IDs of labels to remove from this message. You can remove up to 100 labels with each update.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModifyThreadRequest": { +"id": "ModifyThreadRequest", +"properties": { +"addLabelIds": { +"description": "A list of IDs of labels to add to this thread. You can add up to 100 labels with each update.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeLabelIds": { +"description": "A list of IDs of labels to remove from this thread. You can remove up to 100 labels with each update.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ObliterateCseKeyPairRequest": { +"description": "Request to obliterate a CSE key pair.", +"id": "ObliterateCseKeyPairRequest", +"properties": {}, +"type": "object" +}, +"PopSettings": { +"description": "POP settings for an account.", +"id": "PopSettings", +"properties": { +"accessWindow": { +"description": "The range of messages which are accessible via POP.", +"enum": [ +"accessWindowUnspecified", +"disabled", +"fromNowOn", +"allMail" +], +"enumDescriptions": [ +"Unspecified range.", +"Indicates that no messages are accessible via POP.", +"Indicates that unfetched messages received after some past point in time are accessible via POP.", +"Indicates that all unfetched messages are accessible via POP." +], +"type": "string" +}, +"disposition": { +"description": "The action that will be executed on a message after it has been fetched via POP.", +"enum": [ +"dispositionUnspecified", +"leaveInInbox", +"archive", +"trash", +"markRead" +], +"enumDescriptions": [ +"Unspecified disposition.", +"Leave the message in the `INBOX`.", +"Archive the message.", +"Move the message to the `TRASH`.", +"Leave the message in the `INBOX` and mark it as read." +], +"type": "string" +} +}, +"type": "object" +}, +"Profile": { +"description": "Profile for a Gmail user.", +"id": "Profile", +"properties": { +"emailAddress": { +"description": "The user's email address.", +"type": "string" +}, +"historyId": { +"description": "The ID of the mailbox's current history record.", +"format": "uint64", +"type": "string" +}, +"messagesTotal": { +"description": "The total number of messages in the mailbox.", +"format": "int32", +"type": "integer" +}, +"threadsTotal": { +"description": "The total number of threads in the mailbox.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"SendAs": { +"description": "Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom \"from\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the web interface.", +"id": "SendAs", +"properties": { +"displayName": { +"description": "A name that appears in the \"From:\" header for mail sent using this alias. For custom \"from\" addresses, when this is empty, Gmail will populate the \"From:\" header with the name that is used for the primary address associated with the account. If the admin has disabled the ability for users to update their name format, requests to update this field for the primary login will silently fail.", +"type": "string" +}, +"isDefault": { +"description": "Whether this address is selected as the default \"From:\" address in situations such as composing a new message or sending a vacation auto-reply. Every Gmail account has exactly one default send-as address, so the only legal value that clients may write to this field is `true`. Changing this from `false` to `true` for an address will result in this field becoming `false` for the other previous default address.", +"type": "boolean" +}, +"isPrimary": { +"description": "Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary address, and it cannot be deleted from the collection of send-as aliases. This field is read-only.", +"type": "boolean" +}, +"replyToAddress": { +"description": "An optional email address that is included in a \"Reply-To:\" header for mail sent using this alias. If this is empty, Gmail will not generate a \"Reply-To:\" header.", +"type": "string" +}, +"sendAsEmail": { +"description": "The email address that appears in the \"From:\" header for mail sent using this alias. This is read-only for all operations except create.", +"type": "string" +}, +"signature": { +"description": "An optional HTML signature that is included in messages composed with this alias in the Gmail web UI. This signature is added to new emails only.", +"type": "string" +}, +"smtpMsa": { +"$ref": "SmtpMsa", +"description": "An optional SMTP service that will be used as an outbound relay for mail sent using this alias. If this is empty, outbound mail will be sent directly from Gmail's servers to the destination SMTP service. This setting only applies to custom \"from\" aliases." +}, +"treatAsAlias": { +"description": "Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom \"from\" aliases.", +"type": "boolean" +}, +"verificationStatus": { +"description": "Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom \"from\" aliases.", +"enum": [ +"verificationStatusUnspecified", +"accepted", +"pending" +], +"enumDescriptions": [ +"Unspecified verification status.", +"The address is ready to use as a send-as alias.", +"The address is awaiting verification by the owner." +], +"type": "string" +} +}, +"type": "object" +}, +"SignAndEncryptKeyPairs": { +"description": "The configuration of a CSE identity that uses different key pairs for signing and encryption.", +"id": "SignAndEncryptKeyPairs", +"properties": { +"encryptionKeyPairId": { +"description": "The ID of the CseKeyPair that encrypts signed outgoing mail.", +"type": "string" +}, +"signingKeyPairId": { +"description": "The ID of the CseKeyPair that signs outgoing mail.", +"type": "string" +} +}, +"type": "object" +}, +"SmimeInfo": { +"description": "An S/MIME email config.", +"id": "SmimeInfo", +"properties": { +"encryptedKeyPassword": { +"description": "Encrypted key password, when key is encrypted.", +"type": "string" +}, +"expiration": { +"description": "When the certificate expires (in milliseconds since epoch).", +"format": "int64", +"type": "string" +}, +"id": { +"description": "The immutable ID for the SmimeInfo.", +"type": "string" +}, +"isDefault": { +"description": "Whether this SmimeInfo is the default one for this user's send-as address.", +"type": "boolean" +}, +"issuerCn": { +"description": "The S/MIME certificate issuer's common name.", +"type": "string" +}, +"pem": { +"description": "PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).", +"type": "string" +}, +"pkcs12": { +"description": "PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"SmtpMsa": { +"description": "Configuration for communication with an SMTP service.", +"id": "SmtpMsa", +"properties": { +"host": { +"description": "The hostname of the SMTP service. Required.", +"type": "string" +}, +"password": { +"description": "The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.", +"type": "string" +}, +"port": { +"description": "The port of the SMTP service. Required.", +"format": "int32", +"type": "integer" +}, +"securityMode": { +"description": "The protocol that will be used to secure communication with the SMTP service. Required.", +"enum": [ +"securityModeUnspecified", +"none", +"ssl", +"starttls" +], +"enumDescriptions": [ +"Unspecified security mode.", +"Communication with the remote SMTP service is unsecured. Requires port 25.", +"Communication with the remote SMTP service is secured using SSL.", +"Communication with the remote SMTP service is secured using STARTTLS." +], +"type": "string" +}, +"username": { +"description": "The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.", +"type": "string" +} +}, +"type": "object" +}, +"Thread": { +"description": "A collection of messages representing a conversation.", +"id": "Thread", +"properties": { +"historyId": { +"description": "The ID of the last history record that modified this thread.", +"format": "uint64", +"type": "string" +}, +"id": { +"description": "The unique ID of the thread.", +"type": "string" +}, +"messages": { +"description": "The list of messages in the thread.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"snippet": { +"description": "A short part of the message text.", +"type": "string" +} +}, +"type": "object" +}, +"VacationSettings": { +"description": "Vacation auto-reply settings for an account. These settings correspond to the \"Vacation responder\" feature in the web interface.", +"id": "VacationSettings", +"properties": { +"enableAutoReply": { +"description": "Flag that controls whether Gmail automatically replies to messages.", +"type": "boolean" +}, +"endTime": { +"description": "An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both `startTime` and `endTime` are specified, `startTime` must precede `endTime`.", +"format": "int64", +"type": "string" +}, +"responseBodyHtml": { +"description": "Response body in HTML format. Gmail will sanitize the HTML before storing it. If both `response_body_plain_text` and `response_body_html` are specified, `response_body_html` will be used.", +"type": "string" +}, +"responseBodyPlainText": { +"description": "Response body in plain text format. If both `response_body_plain_text` and `response_body_html` are specified, `response_body_html` will be used.", +"type": "string" +}, +"responseSubject": { +"description": "Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty.", +"type": "string" +}, +"restrictToContacts": { +"description": "Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.", +"type": "boolean" +}, +"restrictToDomain": { +"description": "Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Workspace users.", +"type": "boolean" +}, +"startTime": { +"description": "An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both `startTime` and `endTime` are specified, `startTime` must precede `endTime`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"WatchRequest": { +"description": "Set up or update a new push notification watch on this user's mailbox.", +"id": "WatchRequest", +"properties": { +"labelFilterAction": { +"deprecated": true, +"description": "Filtering behavior of `labelIds list` specified. This field is deprecated because it caused incorrect behavior in some cases; use `label_filter_behavior` instead.", +"enum": [ +"include", +"exclude" +], +"enumDescriptions": [ +"Only get push notifications for message changes relating to labelIds specified.", +"Get push notifications for all message changes except those relating to labelIds specified." +], +"type": "string" +}, +"labelFilterBehavior": { +"description": "Filtering behavior of `labelIds list` specified. This field replaces `label_filter_action`; if set, `label_filter_action` is ignored.", +"enum": [ +"include", +"exclude" +], +"enumDescriptions": [ +"Only get push notifications for message changes relating to labelIds specified.", +"Get push notifications for all message changes except those relating to labelIds specified." +], +"type": "string" +}, +"labelIds": { +"description": "List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated.", +"items": { +"type": "string" +}, +"type": "array" +}, +"topicName": { +"description": "A fully qualified Google Cloud Pub/Sub API topic name to publish the events to. This topic name **must** already exist in Cloud Pub/Sub and you **must** have already granted gmail \"publish\" permission on it. For example, \"projects/my-project-identifier/topics/my-topic-name\" (using the Cloud Pub/Sub \"v1\" topic naming format). Note that the \"my-project-identifier\" portion must exactly match your Google developer project id (the one executing this watch request).", +"type": "string" +} +}, +"type": "object" +}, +"WatchResponse": { +"description": "Push notification watch response.", +"id": "WatchResponse", +"properties": { +"expiration": { +"description": "When Gmail will stop sending notifications for mailbox updates (epoch millis). Call `watch` again before this time to renew the watch.", +"format": "int64", +"type": "string" +}, +"historyId": { +"description": "The ID of the mailbox's current history record.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Gmail API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..45f09eff0ce1a4476f3d89be9da1a9c19aba2fb7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1.json @@ -0,0 +1,9078 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-healthcare": { +"description": "Read, write and manage healthcare data" +}, +"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://healthcare.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Healthcare", +"description": "Manage, store, and access healthcare data in Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/healthcare", +"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": "healthcare:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://healthcare.mtls.googleapis.com/", +"name": "healthcare", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "healthcare.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"datasets": { +"methods": { +"create": { +"description": "Creates a new health dataset. Results are returned through the Operation interface which returns either an `Operation.response` which contains a Dataset or `Operation.error`. The metadata field type is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"datasetId": { +"description": "Required. The ID of the dataset that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project where the server creates the dataset. For example, `projects/{project_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datasets", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifySummary. If errors occur, error is set. The LRO result may still be successful if de-identification fails for some DICOM instances. The new de-identified dataset will not contain these failed resources. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.deidentify", +"parameterOrder": [ +"sourceDataset" +], +"parameters": { +"sourceDataset": { +"description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. R5 FHIR stores are not supported and will be skipped.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+sourceDataset}:deidentify", +"request": { +"$ref": "DeidentifyDatasetRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified health dataset and all data contained in the dataset. Deleting a dataset does not affect the sources from which the dataset was imported (if any).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the dataset to delete. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets any metadata associated with a dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the dataset to read. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the health datasets in the current project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project whose datasets should be listed. For example, `projects/{project_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/datasets", +"response": { +"$ref": "ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates dataset metadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"consentStores": { +"methods": { +"checkDataAccess": { +"description": "Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:checkDataAccess", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.checkDataAccess", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store where the requested data_id is stored, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+consentStore}:checkDataAccess", +"request": { +"$ref": "CheckDataAccessRequest" +}, +"response": { +"$ref": "CheckDataAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"consentStoreId": { +"description": "Required. The ID of the consent store to create. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`. Cannot be changed after creation.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this consent store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consentStores", +"request": { +"$ref": "ConsentStore" +}, +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified consent store and removes all the consent store's data.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the consent store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateUserConsents": { +"description": "Evaluates the user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, which can cause a slight delay between the time mappings are created or updated and when they are included in EvaluateUserConsents results.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:evaluateUserConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.evaluateUserConsents", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+consentStore}:evaluateUserConsents", +"request": { +"$ref": "EvaluateUserConsentsRequest" +}, +"response": { +"$ref": "EvaluateUserConsentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the consent store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the consent stores in the specified dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the stores returned to those matching a filter. Only filtering on labels is supported. For example, `filter=labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of consent stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consentStores", +"response": { +"$ref": "ListConsentStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the consent store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `labels`, `default_consent_ttl`, and `enable_consent_create_on_update` fields are allowed to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ConsentStore" +}, +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryAccessibleData": { +"description": "Queries all data_ids that are consented for a specified use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. If the request is successful, a detailed response is returned of type QueryAccessibleDataResponse, contained in the response field when the operation finishes. The metadata field type is OperationMetadata. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). For example, the following sample log entry shows a `failed to evaluate consent policy` error that occurred during a QueryAccessibleData call to consent store `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. ```json jsonPayload: { @type: \"type.googleapis.com/google.cloud.healthcare.logging.QueryAccessibleDataLogEntry\" error: { code: 9 message: \"failed to evaluate consent policy\" } resourceName: \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}\" } logName: \"projects/{project_id}/logs/healthcare.googleapis.com%2Fquery_accessible_data\" operation: { id: \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/operations/{operation_id}\" producer: \"healthcare.googleapis.com/QueryAccessibleData\" } receiveTimestamp: \"TIMESTAMP\" resource: { labels: { consent_store_id: \"{consent_store_id}\" dataset_id: \"{dataset_id}\" location: \"{location_id}\" project_id: \"{project_id}\" } type: \"healthcare_consent_store\" } severity: \"ERROR\" timestamp: \"TIMESTAMP\" ```", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:queryAccessibleData", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.queryAccessibleData", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+consentStore}:queryAccessibleData", +"request": { +"$ref": "QueryAccessibleDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributeDefinitions": { +"methods": { +"create": { +"description": "Creates a new Attribute definition in the parent consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"attributeDefinitionId": { +"description": "Required. The ID of the Attribute definition to create. The string must match the following regex: `_a-zA-Z{0,255}` and must not be a reserved keyword within the Common Expression Language as listed on https://github.com/google/cel-spec/blob/master/doc/langdef.md.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the consent store that this Attribute definition belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributeDefinitions", +"request": { +"$ref": "AttributeDefinition" +}, +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Attribute definition to delete. To preserve referential integrity, Attribute definitions referenced by a User data mapping or the latest revision of a Consent cannot be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Attribute definition.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Attribute definition to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Attribute definitions in the specified consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the attributes returned to those matching a filter. The only field available for filtering is `category`. For example, `filter=category=\\\"REQUEST\\\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of Attribute definitions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve Attribute definitions from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/attributeDefinitions", +"response": { +"$ref": "ListAttributeDefinitionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified Attribute definition.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `description`, `allowed_values`, `consent_default_values` and `data_mapping_default_value` fields can be updated. The updated `allowed_values` must contain all values from the previous `allowed_values`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "AttributeDefinition" +}, +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"consentArtifacts": { +"methods": { +"create": { +"description": "Creates a new Consent artifact in the parent consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the consent store this Consent artifact belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consentArtifacts", +"request": { +"$ref": "ConsentArtifact" +}, +"response": { +"$ref": "ConsentArtifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts/{consentArtifactsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent artifact to delete. To preserve referential integrity, Consent artifacts referenced by the latest revision of a Consent cannot be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consentArtifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Consent artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts/{consentArtifactsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent artifact to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consentArtifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConsentArtifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Consent artifacts in the specified consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the artifacts returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - user_id. For example, `filter=user_id=\\\"user123\\\"`. - consent_content_version - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of consent artifacts to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve consent artifacts from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consentArtifacts", +"response": { +"$ref": "ListConsentArtifactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"consents": { +"methods": { +"activate": { +"description": "Activates the latest revision of the specified Consent by committing a new revision with `state` updated to `ACTIVE`. If the latest revision of the specified Consent is in the `ACTIVE` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `REJECTED` or `REVOKED` state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:activate", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to activate, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:activate", +"request": { +"$ref": "ActivateConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Consent in the parent consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the consent store.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consents", +"request": { +"$ref": "Consent" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the Consent and its revisions. To keep a record of the Consent but mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [DeleteConsentRevision]. This operation does not delete the related Consent artifact.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to delete, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteRevision": { +"description": "Deletes the specified revision of a Consent. An INVALID_ARGUMENT error occurs if the specified revision is the latest revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:deleteRevision", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consents.deleteRevision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent revision to delete, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is not specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:deleteRevision", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified revision of a Consent, or the latest revision if `revision_id` is not specified in the resource name.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to retrieve, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. In order to retrieve a previous revision of the Consent, also provide the revision ID: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Consent in the given consent store, returning each Consent's latest revision.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the Consents returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - user_id. For example, `filter='user_id=\"user123\"'`. - consent_artifact - state - revision_create_time - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of Consents to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve Consents from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/consents", +"response": { +"$ref": "ListConsentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listRevisions": { +"description": "Lists the revisions of the specified Consent in reverse chronological order.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:listRevisions", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the revisions returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields available for filtering are: - user_id. For example, `filter='user_id=\"user123\"'`. - consent_artifact - state - revision_create_time - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Consent to retrieve revisions for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of revisions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results or empty if there are no more results in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listRevisions", +"response": { +"$ref": "ListConsentRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the latest revision of the specified Consent by committing a new revision with the changes. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `REJECTED` or `REVOKED` state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.consents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask to apply to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `user_id`, `policies`, `consent_artifact`, and `metadata` fields can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Consent" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reject": { +"description": "Rejects the latest revision of the specified Consent by committing a new revision with `state` updated to `REJECTED`. If the latest revision of the specified Consent is in the `REJECTED` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `ACTIVE` or `REVOKED` state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:reject", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to reject, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reject", +"request": { +"$ref": "RejectConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"revoke": { +"description": "Revokes the latest revision of the specified Consent by committing a new revision with `state` updated to `REVOKED`. If the latest revision of the specified Consent is in the `REVOKED` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in `DRAFT` or `REJECTED` state.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:revoke", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.revoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to revoke, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:revoke", +"request": { +"$ref": "RevokeConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"userDataMappings": { +"methods": { +"archive": { +"description": "Archives the specified User data mapping.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}:archive", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.archive", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to archive.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:archive", +"request": { +"$ref": "ArchiveUserDataMappingRequest" +}, +"response": { +"$ref": "ArchiveUserDataMappingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new User data mapping in the parent consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the consent store.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userDataMappings", +"request": { +"$ref": "UserDataMapping" +}, +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified User data mapping.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified User data mapping.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the User data mappings in the specified consent store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the User data mappings returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - data_id - user_id. For example, `filter=user_id=\\\"user123\\\"`. - archived - archive_time", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/userDataMappings", +"response": { +"$ref": "ListUserDataMappingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified User data mapping.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `data_id`, `user_id` and `resource_attributes` fields can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "UserDataMapping" +}, +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataMapperWorkspaces": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"dicomStores": { +"methods": { +"create": { +"description": "Creates a new DICOM store within the parent dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dicomStoreId": { +"description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this DICOM store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomStores", +"request": { +"$ref": "DicomStore" +}, +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyDicomStoreSummary. If errors occur, error is set. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.deidentify", +"parameterOrder": [ +"sourceStore" +], +"parameters": { +"sourceStore": { +"description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+sourceStore}:deidentify", +"request": { +"$ref": "DeidentifyDicomStoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified DICOM store and removes all images that are contained within it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports data to the specified destination by copying it from the DICOM store. Errors are also logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "ExportDicomDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified DICOM store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDICOMStoreMetrics": { +"description": "Gets metrics associated with the DICOM store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getDICOMStoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.getDICOMStoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to get metrics for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getDICOMStoreMetrics", +"response": { +"$ref": "DicomStoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports data into the DICOM store by copying it from the specified source. Errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "ImportDicomDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the DICOM stores in the given dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported. For example, `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomStores", +"response": { +"$ref": "ListDicomStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified DICOM store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.dicomStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DicomStore" +}, +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForSeries": { +"description": "SearchForSeries returns a list of matching series. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForSeries, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/series", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", +"location": "path", +"pattern": "^series$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForStudies": { +"description": "SearchForStudies returns a list of matching studies. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForStudies, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForStudies, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForStudies", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", +"location": "path", +"pattern": "^studies$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setBlobStorageSettings": { +"description": "SetBlobStorageSettings sets the blob storage settings of the specified resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:setBlobStorageSettings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.setBlobStorageSettings", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the resource to update the blob storage settings in the format of `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}`, `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/`, or `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setBlobStorageSettings", +"request": { +"$ref": "SetBlobStorageSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"storeInstances": { +"description": "StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see [Store transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see [Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.storeInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dicomWeb": { +"resources": { +"studies": { +"methods": { +"getStudyMetrics": { +"description": "GetStudyMetrics returns metrics for a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}:getStudyMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.getStudyMetrics", +"parameterOrder": [ +"study" +], +"parameters": { +"study": { +"description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+study}:getStudyMetrics", +"response": { +"$ref": "StudyMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setBlobStorageSettings": { +"description": "SetBlobStorageSettings sets the blob storage settings of the specified resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}:setBlobStorageSettings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.setBlobStorageSettings", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the resource to update the blob storage settings in the format of `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}`, `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/`, or `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setBlobStorageSettings", +"request": { +"$ref": "SetBlobStorageSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"series": { +"methods": { +"getSeriesMetrics": { +"description": "GetSeriesMetrics returns metrics for a series.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}:getSeriesMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.series.getSeriesMetrics", +"parameterOrder": [ +"series" +], +"parameters": { +"series": { +"description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+series}:getSeriesMetrics", +"response": { +"$ref": "SeriesMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"getStorageInfo": { +"description": "GetStorageInfo returns the storage info of the specified resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}:getStorageInfo", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.series.instances.getStorageInfo", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the instance to return storage info for, in the form: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getStorageInfo", +"response": { +"$ref": "StorageInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"studies": { +"methods": { +"delete": { +"description": "DeleteStudy deletes all instances within the given study. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a study that is being deleted by an operation until the operation completes. For samples that show how to call DeleteStudy, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveStudyMetadata returns instance associated with the given study presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudyMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudyMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveStudy": { +"description": "RetrieveStudy returns all instances within the given study. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudy, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudy, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^studies/[^/]+/instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForSeries": { +"description": "SearchForSeries returns a list of matching series. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForSeries, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", +"location": "path", +"pattern": "^studies/[^/]+/series$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"storeInstances": { +"description": "StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see [Store transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see [Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.storeInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"series": { +"methods": { +"delete": { +"description": "DeleteSeries deletes all instances within the given study and series. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a series that is being deleted by an operation until the operation completes. For samples that show how to call DeleteSeries, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveSeries": { +"description": "RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"delete": { +"description": "DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveInstance": { +"description": "RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRendered": { +"description": "RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/rendered", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"viewport": { +"description": "Optional. The viewport setting to use as specified in https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bulkdata": { +"methods": { +"retrieveBulkdata": { +"description": "Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/bulkdata/{bulkdataId}/{bulkdataId1}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.bulkdata.retrieveBulkdata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path for the `RetrieveBulkdata` DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/bulkdata/[^/]+/.*$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"frames": { +"methods": { +"retrieveFrames": { +"description": "RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/frames/{framesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRendered": { +"description": "RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/frames/{framesId}/rendered", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"viewport": { +"description": "Optional. The viewport setting to use as specified in https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +}, +"fhirStores": { +"methods": { +"applyAdminConsents": { +"description": "Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in the FHIR store according to the aggregate consents. This method also updates the `consent_config.enforced_admin_consents` field of the FhirStore unless `validate_only=true` in ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution (including deletion) requires you to call ApplyAdminConsents again for the change to take effect. This method returns an Operation that can be used to track the progress of the resources that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse additionally contains the number of resources that were reindexed. If at least one Consent resource contains an error or fails be be enforced for any reason, the method returns an error instead of an Operation. No resources will be reindexed and the `consent_config.enforced_admin_consents` field will be unchanged. To enforce a consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyAdminConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.applyAdminConsents", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:applyAdminConsents", +"request": { +"$ref": "ApplyAdminConsentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"applyConsents": { +"description": "Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR store according to the aggregate consent. The aggregate consent of the patient in scope in this request replaces any previous call of this method. Any Consent resource change after this operation execution (including deletion) requires you to call ApplyConsents again to have effect. This method returns an Operation that can be used to track the progress of the consent resources that were processed by calling GetOperation. Upon completion, the ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To enforce consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.applyConsents", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:applyConsents", +"request": { +"$ref": "ApplyConsentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulk-export-group": { +"description": "Bulk exports a Group resource and resources in the member field, including related resources for each Patient member. The export for each Patient is identical to a GetPatientEverything request. Implements the FHIR implementation guide [$export group of patients](https://build.fhir.org/ig/HL7/bulk-data/export.html#endpoint---group-of-patients). The following headers must be set in the request: * `Accept`: specifies the format of the `OperationOutcome` response. Only `application/fhir+json` is supported. * `Prefer`: specifies whether the response is immediate or asynchronous. Must be to `respond-async` because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * `_type`: string of comma-delimited FHIR resource types. If provided, only resources of the specified type(s) are exported. * `_since`: if provided, only resources updated after the specified time are exported. * `_outputFormat`: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. * `organizeOutputBy`: resource type to organize the output by. Required and must be set to `Patient`. When specified, output files are organized by instances of the specified resource type, including the resource, referenced resources, and resources that contain references to that resource. On success, the `Content-Location` header of response is set to a URL that you can use to query the status of the export. The URL is in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}`. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Group/{GroupId}/$export", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.bulk-export-group", +"parameterOrder": [ +"name" +], +"parameters": { +"_since": { +"description": "Optional. If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the Group resource that is exported, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Group/[^/]+$", +"required": true, +"type": "string" +}, +"organizeOutputBy": { +"description": "Required. The FHIR resource type used to organize exported resources. Only supports \"Patient\". When organized by Patient resource, output files are grouped as follows: * Patient file(s) containing the Patient resources. Each Patient is sequentially followed by all resources the Patient references, and all resources that reference the Patient (equivalent to a GetPatientEverything request). * Individual files grouped by resource type for resources in the Group's member field and the Group resource itself. Resources may be duplicated across multiple Patients. For example, if two Patient resources reference the same Organization resource, it will appear twice, once after each Patient. The Group resource from the request does not appear in the Patient files.", +"location": "query", +"type": "string" +}, +"outputFormat": { +"description": "Optional. Output format of the export. This field is optional and only `application/fhir+ndjson` is supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/$export", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulkDelete": { +"description": "Bulk deletes the FHIR resources from the given FHIR store. This method returns an Operation that can be used to track the progress of the deletion by calling GetOperation. The success and secondary_success counters correspond to the deleted current version and historical versions, respectively.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:bulkDelete", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.bulkDelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to bulk delete resources from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:bulkDelete", +"request": { +"$ref": "BulkDeleteResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new FHIR store within the parent dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"fhirStoreId": { +"description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this FHIR store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhirStores", +"request": { +"$ref": "FhirStore" +}, +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyFhirStoreSummary. If errors occur, error is set. Error details are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.deidentify", +"parameterOrder": [ +"sourceStore" +], +"parameters": { +"sourceStore": { +"description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. R5 stores are not supported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+sourceStore}:deidentify", +"request": { +"$ref": "DeidentifyFhirStoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified FHIR store and removes all resources within it.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"explainDataAccess": { +"description": "Explains all the permitted/denied actor, purpose and environment for a given resource. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:explainDataAccess", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.explainDataAccess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceId": { +"description": "Required. The ID (`{resourceType}/{id}`) of the resource to explain data access on.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:explainDataAccess", +"response": { +"$ref": "ExplainDataAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Export resources from the FHIR store to the specified destination. This method returns an Operation that can be used to track the status of the export by calling GetOperation. To improve performance, it is recommended to make the `type` filter as specific as possible, including only the resource types that are absolutely needed. This minimizes the size of the initial dataset to be processed and is the most effective way to improve performance. While post-filters like `_since` are useful for refining results, they do not speed up the initial data retrieval phase, which is primarily governed by the `type` filter. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "ExportResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the configuration of the specified FHIR store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getFHIRStoreMetrics": { +"description": "Gets metrics associated with the FHIR store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getFHIRStoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.getFHIRStoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to get metrics for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getFHIRStoreMetrics", +"response": { +"$ref": "FhirStoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports resources to the FHIR store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some FHIR store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty FHIR store that is not being used by other clients. In cases where this method is not appropriate, consider using ExecuteBundle to load data. Every resource in the input must contain a client-supplied ID. Each resource is stored using the supplied ID regardless of the enable_update_create setting on the FHIR store. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Cloud Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The import process does not enforce referential integrity, regardless of the disable_referential_integrity setting on the FHIR store. This allows the import of resources with arbitrary interdependencies without considering grouping or ordering, but if the input data contains invalid references or if some resources fail to be imported, the FHIR store might be left in a state that violates referential integrity. The import process does not trigger Pub/Sub notification or BigQuery streaming update, regardless of how those are configured on the FHIR store. If a resource with the specified ID already exists, the most recent version of the resource is overwritten without creating a new historical version, regardless of the disable_resource_versioning setting on the FHIR store. If transient failures occur during the import, it's possible that successfully imported resources will be overwritten more than once. The import operation is idempotent unless the input data contains multiple valid resources with the same ID but different contents. In that case, after the import completes, the store contains exactly one resource with that ID but there is no ordering guarantee on which version of the contents it will have. The operation result counters do not count duplicate IDs as an error and count one success for each resource in the input, which might result in a success count larger than the number of resources in the FHIR store. This often occurs when importing data organized in bundles produced by Patient-everything where each bundle contains its own copy of a resource such as Practitioner that might be referred to by many patients. If some resources fail to import, for example due to parsing errors, successfully imported resources are not rolled back. The location and format of the input data is specified by the parameters in ImportResourcesRequest. Note that if no format is specified, this method assumes the `BUNDLE` format. When using the `BUNDLE` format this method ignores the `Bundle.type` field, except that `history` bundles are rejected, and does not apply any of the bundle processing semantics for batch or transaction bundles. Unlike in ExecuteBundle, transaction bundles are not executed as a single transaction and bundle-internal references are not rewritten. The bundle is treated as a collection of resources to be written as provided in `Bundle.entry.resource`, ignoring `Bundle.entry.request`. As an example, this allows the import of `searchset` bundles produced by a FHIR search or Patient-everything operation. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ImportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "ImportResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the FHIR stores in the given dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported, for example `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhirStores", +"response": { +"$ref": "ListFhirStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the configuration of the specified FHIR store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "FhirStore" +}, +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:rollback", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "RollbackFhirResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"fhir": { +"methods": { +"Binary-create": { +"description": "Creates a FHIR Binary resource. This method can be used to create a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is created with this method using the FHIR content type this method's behavior is the same as [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). If a resource type other than Binary is used in the request it's treated in the same way as non-FHIR data (e.g., images, zip archives, pdf files, documents). When a non-FHIR content type is used in the request, a Binary resource will be generated, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 1 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\" extension will be present to indicate that including the data is `unsupported`. On success, an empty `201 Created` response is returned. The newly created resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/Binary", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-read": { +"description": "Gets the contents of a FHIR Binary resource. This method can be used to retrieve a Binary resource either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource's `contentType` field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-read", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Binary resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-update": { +"description": "Updates the entire contents of a Binary resource. If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. This method can be used to update a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is updated with this method using the FHIR content type this method's behavior is the same as `update`. If a resource type other than Binary is used in the request it will be treated in the same way as non-FHIR data. When a non-FHIR content type is used in the request, a Binary resource will be generated using the ID from the resource path, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 2 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\" extension will be present to indicate that including the data is `unsupported`. On success, an empty 200 OK response will be returned, or a 201 Created if the resource did not exit. The resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-vread": { +"description": "Gets the contents of a version (current or historical) of a FHIR Binary resource by version ID. This method can be used to retrieve a Binary resource version either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource version was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource version's `contentType` field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}/_history/{_historyId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-vread", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Binary resource version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+/_history/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Consent-enforcement-status": { +"description": "Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Consent/{ConsentId}/$consent-enforcement-status", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Consent-enforcement-status", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the consent resource to find enforcement status, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Consent/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/$consent-enforcement-status", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Patient-consent-enforcement-status": { +"description": "Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$consent-enforcement-status", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Patient-consent-enforcement-status", +"parameterOrder": [ +"name" +], +"parameters": { +"_count": { +"description": "Optional. The maximum number of results on a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Optional. Used to retrieve the first, previous, next, or last page of consent enforcement statuses when using pagination. Value should be set to the value of `_page_token` set in next or previous page links' URLs. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the patient to find enforcement statuses, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/$consent-enforcement-status", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Patient-everything": { +"description": "Retrieves a Patient resource and resources related to that patient. Implements the FHIR extended operation Patient-everything ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), [R4](https://hl7.org/fhir/R4/patient-operation-everything.html), [R5](https://hl7.org/fhir/R5/patient-operation-everything.html)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The resources in scope for the response are: * The patient resource itself. * All the resources directly referenced by the patient resource. * Resources directly referencing the patient resource that meet the inclusion criteria. The inclusion criteria are based on the membership rules in the patient compartment definition ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html), [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html), [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html), [R5](http://hl7.org/fhir/R5/compartmentdefinition-patient.html)), which details the eligible resource types and referencing search parameters. For samples that show how to call `Patient-everything`, see [Getting all patient compartment resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartment_resources).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$everything", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything", +"parameterOrder": [ +"name" +], +"parameters": { +"_count": { +"description": "Optional. Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Used to retrieve the next or previous page of results when using pagination. Set `_page_token` to the value of _page_token set in next or previous page links' url. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_since": { +"description": "Optional. If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation&_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", +"location": "query", +"type": "string" +}, +"end": { +"description": "Optional. The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the `Patient` resource for which the information is required.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", +"required": true, +"type": "string" +}, +"start": { +"description": "Optional. The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/$everything", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Resource-purge": { +"description": "Deletes all the historical versions of a resource (excluding the current version) from the FHIR store. To remove all versions of a resource, first delete the current version and then call this method. This is not a FHIR standard operation. For samples that show how to call `Resource-purge`, see [Deleting historical versions of a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_historical_versions_of_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/$purge", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to purge.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/$purge", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Resource-validate": { +"description": "Validates an input FHIR resource's conformance to its profiles and the profiles configured on the FHIR store. Implements the FHIR extended operation $validate ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), [R4](https://hl7.org/fhir/R4/resource-operation-validate.html). or [R5](https://hl7.org/fhir/R5/resource-operation-validate.html)). The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. The `Parameters` input syntax is not supported. The `profile` query parameter can be used to request that the resource only be validated against a specific profile. If a profile with the given URL cannot be found in the FHIR store then an error is returned. Errors generated by validation contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/$validate", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Resource-validate", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store that holds the profiles being used for validation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"profile": { +"description": "Optional. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", +"location": "query", +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), or [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{+type}/$validate", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulk-export": { +"description": "Bulk exports all resources from the FHIR store to the specified destination. Implements the FHIR implementation guide [system level $export](https://build.fhir.org/ig/HL7/bulk-data/export.html#endpoint---system-level-export). The following headers must be set in the request: * `Accept`: specifies the format of the `OperationOutcome` response. Only `application/fhir+json` is supported. * `Prefer`: specifies whether the response is immediate or asynchronous. Must be to `respond-async` because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * `_type`: string of comma-delimited FHIR resource types. If provided, only the resources of the specified type(s) are exported. * `_since`: if provided, only the resources that are updated after the specified time are exported. * `_outputFormat`: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. On success, the `Content-Location` header of the response is set to a URL that the user can use to query the status of the export. The URL is in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}`. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/$export", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.bulk-export", +"parameterOrder": [ +"name" +], +"parameters": { +"_since": { +"description": "Optional. If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the FHIR store to export resources from, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"outputFormat": { +"description": "Optional. Output format of the export. This field is optional and only `application/fhir+ndjson` is supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/fhir/$export", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"capabilities": { +"description": "Gets the FHIR capability statement ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), [R4](https://hl7.org/fhir/R4/capabilitystatement.html), [R5](https://hl7.org/fhir/R5/capabilitystatement.html)), or the [conformance statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case for the store, which contains a description of functionality supported by the server. Implements the FHIR standard capabilities interaction ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), [R4](https://hl7.org/fhir/R4/http.html#capabilities), [R5](https://hl7.org/fhir/R5/http.html#capabilities)), or the [conformance interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 case. On success, the response body contains a JSON-encoded representation of a `CapabilityStatement` resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.capabilities", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the FHIR store to retrieve the capabilities for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/fhir/metadata", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalDelete": { +"description": "Deletes a FHIR resource that match an identifier search query. Implements the FHIR standard conditional delete interaction, limited to searching by resource identifier. If multiple resources match, 412 Precondition Failed error will be returned. Search term for identifier should be in the pattern `identifier=system|value` or `identifier=value` - similar to the `search` method on resources with a specific identifier. Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resource is moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. For samples that show how to call `conditionalDelete`, see [Conditionally deleting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_deleting_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{+type}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalPatch": { +"description": "If a resource is found with the identifier specified in the query parameters, updates part of that resource by applying the operations specified in a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard conditional patch interaction, limited to searching by resource identifier. DSTU2 doesn't define a conditional patch method, but the server supports it in the same way it supports STU3. Search term for identifier should be in the pattern `identifier=system|value` or `identifier=value` - similar to the `search` method on resources with a specific identifier. If the search criteria identify more than one match, the request returns a `412 Precondition Failed` error. If the search criteria doesn't identify any matches, the request returns a `404 Not Found` error. The request body must contain a JSON Patch document, and the request headers must contain `Content-Type: application/json-patch+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `conditionalPatch`, see [Conditionally patching a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_patching_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalUpdate": { +"description": "If a resource is found with the identifier specified in the query parameters, updates the entire contents of that resource. Implements the FHIR standard conditional update interaction, limited to searching by resource identifier. Search term for identifier should be in the pattern `identifier=system|value` or `identifier=value` - similar to the `search` method on resources with a specific identifier. If the search criteria identify more than one match, the request returns a `412 Precondition Failed` error. If the search criteria identify zero matches, and the supplied resource body contains an `id`, and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. If the search criteria identify zero matches, and the supplied resource body does not contain an `id`, the resource is created with a server-assigned ID as per the create method. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `conditionalUpdate`, see [Conditionally updating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_updating_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a FHIR resource. Implements the FHIR standard create interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), [STU3](https://hl7.org/fhir/STU3/http.html#create), [R4](https://hl7.org/fhir/R4/http.html#create), [R5](https://hl7.org/fhir/R5/http.html#create)), which creates a new resource with a server-assigned resource ID. Also supports the FHIR standard conditional create interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), [R4](https://hl7.org/fhir/R4/http.html#ccreate), [R5](https://hl7.org/fhir/R5/http.html#ccreate)), specified by supplying an `If-None-Exist` header containing a FHIR search query, limited to searching by resource identifier. If no resources match this search query, the server processes the create operation as normal. When using conditional create, the search term for identifier should be in the pattern `identifier=system|value` or `identifier=value` - similar to the `search` method on resources with a specific identifier. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. On success, the response body contains a JSON-encoded representation of the resource as it was created on the server, including the server-assigned resource ID and version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `create`, see [Creating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.create", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a FHIR resource. Implements the FHIR standard delete interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), [STU3](https://hl7.org/fhir/STU3/http.html#delete), [R4](https://hl7.org/fhir/R4/http.html#delete), [R5](https://hl7.org/fhir/R5/http.html#delete)). Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resources will be moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. For samples that show how to call `delete`, see [Deleting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeBundle": { +"description": "Executes all the requests in the given Bundle. Implements the FHIR standard batch/transaction interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), [STU3](https://hl7.org/fhir/STU3/http.html#transaction), [R4](https://hl7.org/fhir/R4/http.html#transaction), [R5](https://hl7.org/fhir/R5/http.html#transaction)). Supports all interactions within a bundle, except search. This method accepts Bundles of type `batch` and `transaction`, processing them according to the batch processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), [R4](https://hl7.org/fhir/R4/http.html#brules), [R5](https://hl7.org/fhir/R5/http.html#brules)) and transaction processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), [R4](https://hl7.org/fhir/R4/http.html#trules), [R5](https://hl7.org/fhir/R5/http.html#trules)). The request body must contain a JSON-encoded FHIR `Bundle` resource, and the request headers must contain `Content-Type: application/fhir+json`. For a batch bundle or a successful transaction, the response body contains a JSON-encoded representation of a `Bundle` resource of type `batch-response` or `transaction-response` containing one entry for each entry in the request, with the outcome of processing the entry. In the case of an error for a transaction bundle, the response body contains a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. This method checks permissions for each request in the bundle. The `executeBundle` permission is required to call this method, but you must also grant sufficient permissions to execute the individual requests in the bundle. For example, if the bundle contains a request to create a FHIR resource, the caller must also have been granted the `healthcare.fhirResources.create` permission. You can use audit logs to view the permissions for `executeBundle` and each request in the bundle. For more information, see [Viewing Cloud Audit logs](https://cloud.google.com/healthcare-api/docs/how-tos/audit-logging). For samples that show how to call `executeBundle`, see [Managing FHIR resources using FHIR bundles](https://cloud.google.com/healthcare/docs/how-tos/fhir-bundles).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store in which this bundle will be executed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"history": { +"description": "Lists all the versions of a resource (including the current version and deleted versions) from the FHIR store. Implements the per-resource form of the FHIR standard history interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), [STU3](https://hl7.org/fhir/STU3/http.html#history), [R4](https://hl7.org/fhir/R4/http.html#history), [R5](https://hl7.org/fhir/R5/http.html#history)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `history`, containing the version history sorted from most recent to oldest versions. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `history`, see [Listing FHIR resource versions](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#listing_fhir_resource_versions).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/_history", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.history", +"parameterOrder": [ +"name" +], +"parameters": { +"_at": { +"description": "Only include resource versions that were current at some point during the time period specified in the date time value. The date parameter format is yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm] Clients may specify any of the following: * An entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `_at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`", +"location": "query", +"type": "string" +}, +"_count": { +"description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Used to retrieve the first, previous, next, or last page of resource versions when using pagination. Value should be set to the value of `_page_token` set in next or previous page links' URLs. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_since": { +"description": "Only include resource versions that were created at or after the given instant in time. The instant in time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z). The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/_history", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates part of an existing resource by applying the operations specified in a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), [R4](https://hl7.org/fhir/R4/http.html#patch), [R5](https://hl7.org/fhir/R5/http.html#patch)). DSTU2 doesn't define a patch method, but the server supports it in the same way it supports STU3. The request body must contain a JSON Patch document, and the request headers must contain `Content-Type: application/json-patch+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `patch`, see [Patching a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"read": { +"description": "Gets the contents of a FHIR resource. Implements the FHIR standard read interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), [STU3](https://hl7.org/fhir/STU3/http.html#read), [R4](https://hl7.org/fhir/R4/http.html#read), [R5](https://hl7.org/fhir/R5/http.html#read)). Also supports the FHIR standard conditional read interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), [STU3](https://hl7.org/fhir/STU3/http.html#cread), [R4](https://hl7.org/fhir/R4/http.html#cread), [R5](https://hl7.org/fhir/R5/http.html#cread)) specified by supplying an `If-Modified-Since` header with a date/time value or an `If-None-Match` header with an ETag value. On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `read`, see [Getting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.read", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), [STU3](https://hl7.org/fhir/STU3/http.html#search), [R4](https://hl7.org/fhir/R4/http.html#search), [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), [STU3](https://hl7.org/fhir/STU3/search.html), [R4](https://hl7.org/fhir/R4/search.html), [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern `identifier=[system]|[value]` or `identifier=[value]`, and any of the following search result parameters can be used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you want to keep the default sorting order. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/_search", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store to retrieve resources from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html)), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/_search", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search-type": { +"description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), [STU3](https://hl7.org/fhir/STU3/http.html#search), [R4](https://hl7.org/fhir/R4/http.html#search), [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), [STU3](https://hl7.org/fhir/STU3/search.html), [R4](https://hl7.org/fhir/R4/search.html), [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern `identifier=[system]|[value]` or `identifier=[value]`, and any of the following search result parameters can be used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you want to keep the default sorting order. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{resourceType}/_search", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.search-type", +"parameterOrder": [ +"parent", +"resourceType" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store to retrieve resources from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html)), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/fhir/{resourceType}/_search", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the entire contents of a resource. Implements the FHIR standard update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), [STU3](https://hl7.org/fhir/STU3/http.html#update), [R4](https://hl7.org/fhir/R4/http.html#update), [R5](https://hl7.org/fhir/R5/http.html#update)). If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. The resource must contain an `id` element having an identical value to the ID in the REST path of the request. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The conditional update interaction If-None-Match is supported, including the wildcard behaviour, as defined by the R5 spec. This functionality is supported in R4 and R5. For samples that show how to call `update`, see [Updating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"vread": { +"description": "Gets the contents of a version (current or historical) of a FHIR resource by version ID. Implements the FHIR standard vread interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), [STU3](https://hl7.org/fhir/STU3/http.html#vread), [R4](https://hl7.org/fhir/R4/http.html#vread), [R5](https://hl7.org/fhir/R5/http.html#vread)). On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `vread`, see [Retrieving a FHIR resource version](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#retrieving_a_fhir_resource_version).", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/_history/{_historyId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.vread", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"delete-fhir-operation": { +"description": "Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.operations.delete-fhir-operation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the operation to be deleted, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get-fhir-operation-status": { +"description": "Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.operations.get-fhir-operation-status", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the operation to query, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"hl7V2Stores": { +"methods": { +"create": { +"description": "Creates a new HL7v2 store within the parent dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hl7V2StoreId": { +"description": "Required. The ID of the HL7v2 store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this HL7v2 store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hl7V2Stores", +"request": { +"$ref": "Hl7V2Store" +}, +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified HL7v2 store and removes all messages that it contains.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports the messages to a destination. To filter messages to be exported, define a filter using the start and end time, relative to the message generation time (MSH.7). This API returns an Operation that can be used to track the status of the job by calling GetOperation. Immediate fatal errors appear in the error field. Otherwise, when the operation finishes, a detailed response of type ExportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the source HL7v2 store, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "ExportMessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified HL7v2 store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getHL7v2StoreMetrics": { +"description": "Gets metrics associated with the HL7v2 store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getHL7v2StoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.getHL7v2StoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to get metrics for, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getHL7v2StoreMetrics", +"response": { +"$ref": "Hl7V2StoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import messages to the HL7v2 store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some HL7v2 store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty HL7v2 store that is not being used by other clients. An existing message will be overwritten if a duplicate message is imported. A duplicate message is a message with the same raw bytes as a message that already exists in this HL7v2 store. When a message is overwritten, its labels will also be overwritten. The import operation is idempotent unless the input data contains multiple valid messages with the same raw bytes but different labels. In that case, after the import completes, the store contains exactly one message with those raw bytes but there is no ordering guarantee on which version of the labels it has. The operation result counters do not count duplicated raw bytes as an error and count one success for each message in the input, which might result in a success count larger than the number of messages in the HL7v2 store. If some messages fail to import, for example due to parsing errors, successfully imported messages are not rolled back. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a response of type ImportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the target HL7v2 store, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "ImportMessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the HL7v2 stores in the given dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported. For example, `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hl7V2Stores", +"response": { +"$ref": "ListHl7V2StoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the HL7v2 store.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the HL7v2 store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Hl7V2Store" +}, +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back messages from the HL7v2 store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackHl7V2MessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:rollback", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the HL7v2 store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7V2Stores/{hl7v2_store_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "RollbackHl7V2MessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"messages": { +"methods": { +"create": { +"description": "Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the HL7v2 store this message belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/messages", +"request": { +"$ref": "CreateMessageRequest" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an HL7v2 message.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 message to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an HL7v2 message.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 message to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Message resource to return in the response. When unspecified, equivalent to FULL.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL.", +"Server responses include all the message fields except parsed_data field, and schematized_data fields.", +"Server responses include all the message fields except data field, and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"ingest": { +"description": "Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. If the method is successful, it generates a response containing an HL7v2 acknowledgment (`ACK`) message. If the method encounters an error, it returns a negative acknowledgment (`NACK`) message. This behavior is suitable for replying to HL7v2 interface systems that expect these acknowledgments.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages:ingest", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.ingest", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the HL7v2 store this message belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/messages:ingest", +"request": { +"$ref": "IngestMessageRequest" +}, +"response": { +"$ref": "IngestMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the messages in the given HL7v2 store with support for filtering. Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts messages returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId(\"123456\", \"MRN\")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels.\"priority\"=\"high\"`. The operator `:*` can be used to assert the existence of a label. For example, `labels.\"priority\":*`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Orders messages returned by the specified order_by clause. Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order Fields available for ordering are: * `send_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the HL7v2 store to retrieve messages from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the parts of the Message to return in the response. When unspecified, equivalent to BASIC. Setting this to anything other than BASIC with a `page_size` larger than the default can generate a large response, which impacts the performance of this method.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL.", +"Server responses include all the message fields except parsed_data field, and schematized_data fields.", +"Server responses include all the message fields except data field, and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/messages", +"response": { +"$ref": "ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time cannot be altered. Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"services": { +"resources": { +"nlp": { +"methods": { +"analyzeEntities": { +"description": "Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/nlp:analyzeEntities", +"httpMethod": "POST", +"id": "healthcare.projects.locations.services.nlp.analyzeEntities", +"parameterOrder": [ +"nlpService" +], +"parameters": { +"nlpService": { +"description": "The resource name of the service of the form: \"projects/{project_id}/locations/{location_id}/services/nlp\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/nlp$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+nlpService}:analyzeEntities", +"request": { +"$ref": "AnalyzeEntitiesRequest" +}, +"response": { +"$ref": "AnalyzeEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://healthcare.googleapis.com/", +"schemas": { +"AccessDeterminationLogConfig": { +"description": "Configures consent audit log config for FHIR create, read, update, and delete (CRUD) operations. Cloud audit log for healthcare API must be [enabled](https://cloud.google.com/logging/docs/audit/configure-data-access#config-console-enable). The consent-related logs are included as part of `protoPayload.metadata`.", +"id": "AccessDeterminationLogConfig", +"properties": { +"logLevel": { +"description": "Optional. Controls the amount of detail to include as part of the audit logs.", +"enum": [ +"LOG_LEVEL_UNSPECIFIED", +"DISABLED", +"MINIMUM", +"VERBOSE" +], +"enumDescriptions": [ +"No log level specified. This value is unused.", +"No additional consent-related logging is added to audit logs.", +"The following information is included: * One of the following [`consentMode`](https://cloud.google.com/healthcare-api/docs/fhir-consent#audit_logs) fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). * The accessor's request headers * The `log_level` of the AccessDeterminationLogConfig * The final consent evaluation (`PERMIT`, `DENY`, or `NO_CONSENT`) * A human-readable summary of the evaluation", +"Includes `MINIMUM` and, for each resource owner, returns: * The resource owner's name * Most specific part of the `X-Consent-Scope` resulting in consensual determination * Timestamp of the applied enforcement leading to the decision * Enforcement version at the time the applicable consents were applied * The Consent resource name * The timestamp of the Consent resource used for enforcement * Policy type (`PATIENT` or `ADMIN`) Due to the limited space for logging, this mode is the same as `MINIMUM` for methods that return multiple resources (such as FHIR Search)." +], +"type": "string" +} +}, +"type": "object" +}, +"ActivateConsentRequest": { +"description": "Activates the latest revision of the specified Consent by committing a new revision with `state` updated to `ACTIVE`. If the latest revision of the given Consent is in the `ACTIVE` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in the `REJECTED` or `REVOKED` state.", +"id": "ActivateConsentRequest", +"properties": { +"consentArtifact": { +"description": "Required. The resource name of the Consent artifact that contains documentation of the user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. If the draft Consent had a Consent artifact, this Consent artifact overwrites it.", +"type": "string" +}, +"expireTime": { +"description": "Timestamp in UTC of when this Consent is considered expired.", +"format": "google-datetime", +"type": "string" +}, +"ttl": { +"description": "The time to live for this Consent from when it is marked as active.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AdminConsents": { +"description": "List of admin Consent resources to be applied.", +"id": "AdminConsents", +"properties": { +"names": { +"description": "Optional. The versioned names of the admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeEntitiesRequest": { +"description": "The request to analyze healthcare entities in a document.", +"id": "AnalyzeEntitiesRequest", +"properties": { +"alternativeOutputFormat": { +"description": "Optional. Alternative output format to be generated based on the results of analysis.", +"enum": [ +"ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED", +"FHIR_BUNDLE" +], +"enumDescriptions": [ +"No alternative output format is specified.", +"FHIR bundle output." +], +"type": "string" +}, +"documentContent": { +"description": "document_content is a document to be annotated.", +"type": "string" +}, +"licensedVocabularies": { +"description": "A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies.", +"items": { +"enum": [ +"LICENSED_VOCABULARY_UNSPECIFIED", +"ICD10CM", +"SNOMEDCT_US" +], +"enumDescriptions": [ +"No licensed vocabulary specified.", +"ICD-10-CM vocabulary", +"SNOMED CT (US version) vocabulary" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeEntitiesResponse": { +"description": "Includes recognized entity mentions and relationships between them.", +"id": "AnalyzeEntitiesResponse", +"properties": { +"entities": { +"description": "The union of all the candidate entities that the entity_mentions in this response could link to. These are UMLS concepts or normalized mention content.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"entityMentions": { +"description": "The `entity_mentions` field contains all the annotated medical entities that were mentioned in the provided document.", +"items": { +"$ref": "EntityMention" +}, +"type": "array" +}, +"fhirBundle": { +"description": "The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all the entities, the entity mentions, and the relationships in JSON format.", +"type": "string" +}, +"relationships": { +"description": "relationships contains all the binary relationships that were identified between entity mentions within the provided document.", +"items": { +"$ref": "EntityMentionRelationship" +}, +"type": "array" +} +}, +"type": "object" +}, +"ApplyAdminConsentsErrorDetail": { +"description": "Contains the error details of the unsupported admin Consent resources for when the ApplyAdminConsents method fails to apply one or more Consent resources.", +"id": "ApplyAdminConsentsErrorDetail", +"properties": { +"consentErrors": { +"description": "The list of Consent resources that are unsupported or cannot be applied and the error associated with each of them.", +"items": { +"$ref": "ConsentErrors" +}, +"type": "array" +}, +"existingOperationId": { +"description": "The currently in progress non-validate-only ApplyAdminConsents operation ID if exist.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"ApplyAdminConsentsRequest": { +"description": "Request to apply the admin Consent resources for the specified FHIR store.", +"id": "ApplyAdminConsentsRequest", +"properties": { +"newConsentsList": { +"$ref": "AdminConsents", +"description": "A new list of admin Consent resources to be applied. Any existing enforced Consents, which are specified in `consent_config.enforced_admin_consents` of the FhirStore, that are not part of this list will be disabled. An empty list is equivalent to clearing or disabling all Consents enforced on the FHIR store. When a FHIR store has `disable_resource_versioning=true` and this list contains a Consent resource that exists in `consent_config.enforced_admin_consents`, the method enforces any updates to the existing resource since the last enforcement. If the existing resource hasn't been updated since the last enforcement, the resource is unaffected. After the method finishes, the resulting consent enforcement model is determined by the contents of the Consent resource(s) when the method was called: * When `disable_resource_versioning=true`, the result is identical to the current resource(s) in the FHIR store. * When `disable_resource_versioning=false`, the result is based on the historical version(s) of the Consent resource(s) at the point in time when the method was called. At most 200 Consents can be specified." +}, +"validateOnly": { +"description": "Optional. If true, the method only validates Consent resources to make sure they are supported. Otherwise, the method applies the aggregate consent information to update the enforcement model and reindex the FHIR resources. If all Consent resources can be applied successfully, the ApplyAdminConsentsResponse is returned containing the following fields: * `consent_apply_success` to indicate the number of Consent resources applied. * `affected_resources` to indicate the number of resources that might have had their consent access changed. If, however, one or more Consent resources are unsupported or cannot be applied, the method fails and ApplyAdminConsentsErrorDetail is is returned with details about the unsupported Consent resources.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApplyAdminConsentsResponse": { +"description": "Response when all admin Consent resources in scope were processed and all affected resources were reindexed successfully. This structure will be included in the response when the operation finishes successfully.", +"id": "ApplyAdminConsentsResponse", +"properties": { +"affectedResources": { +"description": "The number of resources (including the Consent resources) that may have consent access change.", +"format": "int64", +"type": "string" +}, +"consentApplySuccess": { +"description": "If `validate_only=false` in ApplyAdminConsentsRequest, this counter contains the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.", +"format": "int64", +"type": "string" +}, +"failedResources": { +"description": "The number of resources (including the Consent resources) that ApplyAdminConsents failed to re-index.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ApplyConsentsRequest": { +"description": "Request to apply the Consent resources for the specified FHIR store.", +"id": "ApplyConsentsRequest", +"properties": { +"patientScope": { +"$ref": "PatientScope", +"description": "Optional. Scope down to a list of patients." +}, +"timeRange": { +"$ref": "TimeRange", +"description": "Optional. Scope down to patients whose most recent consent changes are in the time range. Can only be used with a versioning store (i.e. when disable_resource_versioning is set to false)." +}, +"validateOnly": { +"description": "Optional. If true, the method only validates Consent resources to make sure they are supported. When the operation completes, ApplyConsentsResponse is returned where `consent_apply_success` and `consent_apply_failure` indicate supported and unsupported (or invalid) Consent resources, respectively. Otherwise, the method propagates the aggregate consensual information to the patient's resources. Upon success, `affected_resources` in the ApplyConsentsResponse indicates the number of resources that may have consensual access changed.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApplyConsentsResponse": { +"description": "Response when all Consent resources in scope were processed and all affected resources were reindexed successfully. This structure is included in the response when the operation finishes successfully.", +"id": "ApplyConsentsResponse", +"properties": { +"affectedResources": { +"description": "The number of resources (including the Consent resources) that may have consensual access change.", +"format": "int64", +"type": "string" +}, +"consentApplyFailure": { +"description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were failed to apply. Otherwise, it is the number of Consent resources that are not supported or invalid.", +"format": "int64", +"type": "string" +}, +"consentApplySuccess": { +"description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.", +"format": "int64", +"type": "string" +}, +"failedResources": { +"description": "The number of resources (including the Consent resources) that ApplyConsents failed to re-index.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ArchiveUserDataMappingRequest": { +"description": "Archives the specified User data mapping.", +"id": "ArchiveUserDataMappingRequest", +"properties": {}, +"type": "object" +}, +"ArchiveUserDataMappingResponse": { +"description": "Archives the specified User data mapping.", +"id": "ArchiveUserDataMappingResponse", +"properties": {}, +"type": "object" +}, +"Attribute": { +"description": "An attribute value for a Consent or User data mapping. Each Attribute must have a corresponding AttributeDefinition in the consent store that defines the default and allowed values.", +"id": "Attribute", +"properties": { +"attributeDefinitionId": { +"description": "Indicates the name of an attribute defined in the consent store.", +"type": "string" +}, +"values": { +"description": "Required. The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines \"data type\" with acceptable values \"questionnaire\" and \"step-count\", when the attribute name is data type, this field must contain one of those values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttributeDefinition": { +"description": "A client-defined consent attribute.", +"id": "AttributeDefinition", +"properties": { +"allowedValues": { +"description": "Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "Required. The category of the attribute. The value of this field cannot be changed after creation.", +"enum": [ +"CATEGORY_UNSPECIFIED", +"RESOURCE", +"REQUEST" +], +"enumDescriptions": [ +"No category specified. This option is invalid.", +"Specify this category when this attribute describes the properties of resources. For example, data anonymity or data type.", +"Specify this category when this attribute describes the properties of requests. For example, requester's role or requester's organization." +], +"type": "string" +}, +"consentDefaultValues": { +"description": "Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataMappingDefaultValue": { +"description": "Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.", +"type": "string" +}, +"description": { +"description": "Optional. A description of the attribute.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", +"type": "string" +} +}, +"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" +}, +"BlobStorageInfo": { +"description": "BlobStorageInfo contains details about the data stored in Blob Storage for the referenced resource. Note: Storage class is only valid for DICOM and hence will only be populated for DICOM resources.", +"id": "BlobStorageInfo", +"properties": { +"sizeBytes": { +"description": "Size in bytes of data stored in Blob Storage.", +"format": "int64", +"type": "string" +}, +"storageClass": { +"description": "The storage class in which the Blob data is stored.", +"enum": [ +"BLOB_STORAGE_CLASS_UNSPECIFIED", +"STANDARD", +"NEARLINE", +"COLDLINE", +"ARCHIVE" +], +"enumDescriptions": [ +"If unspecified in CreateDataset, the StorageClass defaults to STANDARD. If unspecified in UpdateDataset and the StorageClass is set in the field mask, an InvalidRequest error is thrown.", +"This stores the Object in Blob Standard Storage: https://cloud.google.com/storage/docs/storage-classes#standard", +"This stores the Object in Blob Nearline Storage: https://cloud.google.com/storage/docs/storage-classes#nearline", +"This stores the Object in Blob Coldline Storage: https://cloud.google.com/storage/docs/storage-classes#coldline", +"This stores the Object in Blob Archive Storage: https://cloud.google.com/storage/docs/storage-classes#archive" +], +"type": "string" +}, +"storageClassUpdateTime": { +"description": "The time at which the storage class was updated. This is used to compute early deletion fees of the resource.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BlobStorageSettings": { +"description": "Settings for data stored in Blob storage.", +"id": "BlobStorageSettings", +"properties": { +"blobStorageClass": { +"description": "The Storage class in which the Blob data is stored.", +"enum": [ +"BLOB_STORAGE_CLASS_UNSPECIFIED", +"STANDARD", +"NEARLINE", +"COLDLINE", +"ARCHIVE" +], +"enumDescriptions": [ +"If unspecified in CreateDataset, the StorageClass defaults to STANDARD. If unspecified in UpdateDataset and the StorageClass is set in the field mask, an InvalidRequest error is thrown.", +"This stores the Object in Blob Standard Storage: https://cloud.google.com/storage/docs/storage-classes#standard", +"This stores the Object in Blob Nearline Storage: https://cloud.google.com/storage/docs/storage-classes#nearline", +"This stores the Object in Blob Coldline Storage: https://cloud.google.com/storage/docs/storage-classes#coldline", +"This stores the Object in Blob Archive Storage: https://cloud.google.com/storage/docs/storage-classes#archive" +], +"type": "string" +} +}, +"type": "object" +}, +"BulkDeleteResourcesRequest": { +"description": "Request to bulk delete FHIR resources.", +"id": "BulkDeleteResourcesRequest", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1FhirGcsDestination", +"description": "Optional. The Cloud Storage output destination. The Healthcare Service Agent account requires the `roles/storage.objectAdmin` role on the Cloud Storage location. The deleted resources outputs are organized by FHIR resource types. The server creates one or more objects per resource type. Each object contains newline delimited strings in the format {resourceType}/{resourceId}." +}, +"type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) will be deleted.", +"type": "string" +}, +"until": { +"description": "Optional. If provided, only resources updated before or atthis time are deleted. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"type": "string" +}, +"versionConfig": { +"description": "Optional. Specifies which version of the resources to delete.", +"enum": [ +"VERSION_CONFIG_UNSPECIFIED", +"ALL", +"CURRENT_ONLY", +"HISTORY_ONLY" +], +"enumDescriptions": [ +"Unspecified version config. Defaults to ALL.", +"Delete the current version and all history versions.", +"Delete the current version only and create a historical version of the deleted resource.", +"Delete all history versions only." +], +"type": "string" +} +}, +"type": "object" +}, +"BulkExportGcsDestination": { +"description": "The configuration for exporting to Cloud Storage using the bulk export API.", +"id": "BulkExportGcsDestination", +"properties": { +"uriPrefix": { +"description": "Optional. URI for a Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CharacterMaskConfig": { +"description": "Mask a string by replacing its characters with a fixed character.", +"id": "CharacterMaskConfig", +"properties": { +"maskingCharacter": { +"description": "Optional. Character to mask the sensitive values. If not supplied, defaults to \"*\".", +"type": "string" +} +}, +"type": "object" +}, +"CheckDataAccessRequest": { +"description": "Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.", +"id": "CheckDataAccessRequest", +"properties": { +"consentList": { +"$ref": "ConsentList", +"description": "Optional. Specific Consents to evaluate the access request against. These Consents must have the same `user_id` as the evaluated User data mapping, must exist in the current `consent_store`, and have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 Consents can be provided here. If no selection is specified, the access request is evaluated against all `ACTIVE` unexpired Consents with the same `user_id` as the evaluated User data mapping." +}, +"dataId": { +"description": "Required. The unique identifier of the resource to check access for. This identifier must correspond to a User data mapping in the given consent store.", +"type": "string" +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "The values of request attributes associated with this access request.", +"type": "object" +}, +"responseView": { +"description": "Optional. The view for CheckDataAccessResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No response view specified. The API will default to the BASIC view.", +"Only the `consented` field is populated in CheckDataAccessResponse.", +"All fields within CheckDataAccessResponse are populated. When set to `FULL`, all `ACTIVE` Consents are evaluated even if a matching policy is found during evaluation." +], +"type": "string" +} +}, +"type": "object" +}, +"CheckDataAccessResponse": { +"description": "Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.", +"id": "CheckDataAccessResponse", +"properties": { +"consentDetails": { +"additionalProperties": { +"$ref": "ConsentEvaluation" +}, +"description": "The resource names of all evaluated Consents mapped to their evaluation.", +"type": "object" +}, +"consented": { +"description": "Whether the requested resource is consented for the given use.", +"type": "boolean" +} +}, +"type": "object" +}, +"Consent": { +"description": "Represents a user's consent.", +"id": "Consent", +"properties": { +"consentArtifact": { +"description": "Required. The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`.", +"type": "string" +}, +"expireTime": { +"description": "Timestamp in UTC of when this Consent is considered expired.", +"format": "google-datetime", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be changed after creation.", +"type": "string" +}, +"policies": { +"description": "Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.", +"items": { +"$ref": "GoogleCloudHealthcareV1ConsentPolicy" +}, +"type": "array" +}, +"revisionCreateTime": { +"description": "Output only. The timestamp that the revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending `@{revision_id}` to the Consent's resource name.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Required. Indicates the current state of this Consent.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"REVOKED", +"DRAFT", +"REJECTED" +], +"enumDescriptions": [ +"No state specified. Treated as ACTIVE only at the time of resource creation.", +"The Consent is active and is considered when evaluating a user's consent on resources.", +"The archived state is currently not being used.", +"A revoked Consent is not considered when evaluating a user's consent on resources.", +"A draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.", +"When a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources." +], +"type": "string" +}, +"ttl": { +"description": "Input only. The time to live for this Consent from when it is created.", +"format": "google-duration", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentAccessorScope": { +"description": "The accessor scope that describes who can access, for what purpose, in which environment.", +"id": "ConsentAccessorScope", +"properties": { +"actor": { +"description": "An individual, group, or access role that identifies the accessor or a characteristic of the accessor. This can be a resource ID (such as `{resourceType}/{id}`) or an external URI. This value must be present.", +"type": "string" +}, +"environment": { +"description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. If it's not specified, it applies to all environments.", +"type": "string" +}, +"purpose": { +"description": "The intent of data use. If it's not specified, it applies to all purposes.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentArtifact": { +"description": "Documentation of a user's consent.", +"id": "ConsentArtifact", +"properties": { +"consentContentScreenshots": { +"description": "Optional. Screenshots, PDFs, or other binary information documenting the user's consent.", +"items": { +"$ref": "Image" +}, +"type": "array" +}, +"consentContentVersion": { +"description": "Optional. An string indicating the version of the consent information shown to the user.", +"type": "string" +}, +"guardianSignature": { +"$ref": "Signature", +"description": "Optional. A signature from a guardian." +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +}, +"userSignature": { +"$ref": "Signature", +"description": "Optional. User's signature." +}, +"witnessSignature": { +"$ref": "Signature", +"description": "Optional. A signature from a witness." +} +}, +"type": "object" +}, +"ConsentConfig": { +"description": "Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.", +"id": "ConsentConfig", +"properties": { +"accessDeterminationLogConfig": { +"$ref": "AccessDeterminationLogConfig", +"description": "Optional. Specifies how the server logs the consent-aware requests. If not specified, the `AccessDeterminationLogConfig.LogLevel.MINIMUM` option is used." +}, +"accessEnforced": { +"description": "Optional. The default value is false. If set to true, when accessing FHIR resources, the consent headers will be verified against consents given by patients. See the ConsentEnforcementVersion for the supported consent headers.", +"type": "boolean" +}, +"consentHeaderHandling": { +"$ref": "ConsentHeaderHandling", +"description": "Optional. Different options to configure the behaviour of the server when handling the `X-Consent-Scope` header." +}, +"enforcedAdminConsents": { +"description": "Output only. The versioned names of the enforced admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. This field can only be updated using ApplyAdminConsents.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"version": { +"description": "Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version.", +"enum": [ +"CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", +"V1" +], +"enumDescriptions": [ +"Users must specify an enforcement version or an error is returned.", +"Enforcement version 1. See the [FHIR Consent resources in the Cloud Healthcare API](https://cloud.google.com/healthcare-api/docs/fhir-consent) guide for more details." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentErrors": { +"description": "The Consent resource name and error.", +"id": "ConsentErrors", +"properties": { +"error": { +"$ref": "Status", +"description": "The error code and message." +}, +"name": { +"description": "The versioned name of the admin Consent resource, in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentEvaluation": { +"description": "The detailed evaluation of a particular Consent.", +"id": "ConsentEvaluation", +"properties": { +"evaluationResult": { +"description": "The evaluation result.", +"enum": [ +"EVALUATION_RESULT_UNSPECIFIED", +"NOT_APPLICABLE", +"NO_MATCHING_POLICY", +"NO_SATISFIED_POLICY", +"HAS_SATISFIED_POLICY" +], +"enumDescriptions": [ +"No evaluation result specified. This option is invalid.", +"The Consent is not applicable to the requested access determination. For example, the Consent does not apply to the user for which the access determination is requested, or it has a `state` of `REVOKED`, or it has expired.", +"The Consent does not have a policy that matches the `resource_attributes` of the evaluated resource.", +"The Consent has at least one policy that matches the `resource_attributes` of the evaluated resource, but no `authorization_rule` was satisfied.", +"The Consent has at least one policy that matches the `resource_attributes` of the evaluated resource, and at least one `authorization_rule` was satisfied." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentHeaderHandling": { +"description": "How the server handles the consent header.", +"id": "ConsentHeaderHandling", +"properties": { +"profile": { +"description": "Optional. Specifies the default server behavior when the header is empty. If not specified, the `ScopeProfile.PERMIT_EMPTY_SCOPE` option is used.", +"enum": [ +"SCOPE_PROFILE_UNSPECIFIED", +"PERMIT_EMPTY_SCOPE", +"REQUIRED_ON_READ" +], +"enumDescriptions": [ +"If not specified, the default value `PERMIT_EMPTY_SCOPE` is used.", +"When no consent scopes are provided (for example, if there's an empty or missing header), then consent check is disabled, similar to when `access_enforced` is `false`. You can use audit logs to differentiate these two cases by looking at the value of `protopayload.metadata.consentMode`. If consents scopes are present, they must be valid and within the allowed limits, otherwise the request will be rejected with a `4xx` code.", +"The consent header must be non-empty when performing read and search operations, otherwise the request is rejected with a `4xx` code. Additionally, invalid consent scopes or scopes exceeding the allowed limits are rejected." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentList": { +"description": "List of resource names of Consent resources.", +"id": "ConsentList", +"properties": { +"consents": { +"description": "The resource names of the Consents to evaluate against, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConsentStore": { +"description": "Represents a consent store.", +"id": "ConsentStore", +"properties": { +"defaultConsentTtl": { +"description": "Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.", +"format": "google-duration", +"type": "string" +}, +"enableConsentCreateOnUpdate": { +"description": "Optional. If `true`, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to `false`.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the consent store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. Cannot be changed after creation.", +"type": "string" +} +}, +"type": "object" +}, +"CreateMessageRequest": { +"description": "Creates a new message.", +"id": "CreateMessageRequest", +"properties": { +"message": { +"$ref": "Message", +"description": "Required. HL7v2 message." +} +}, +"type": "object" +}, +"CryptoHashConfig": { +"description": "Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`).", +"id": "CryptoHashConfig", +"properties": { +"cryptoKey": { +"description": "An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.", +"format": "byte", +"type": "string" +}, +"kmsWrapped": { +"$ref": "KmsWrappedCryptoKey", +"description": "KMS wrapped key. Must not be set if `crypto_key` is set." +} +}, +"type": "object" +}, +"Dataset": { +"description": "A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.", +"id": "Dataset", +"properties": { +"encryptionSpec": { +"$ref": "EncryptionSpec", +"description": "Optional. Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key." +}, +"name": { +"description": "Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Whether the dataset satisfies zone isolation.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Whether the dataset satisfies zone separation.", +"readOnly": true, +"type": "boolean" +}, +"timeZone": { +"description": "Optional. The default timezone used by this dataset. Must be a either a valid IANA time zone name such as \"America/New_York\" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.", +"type": "string" +} +}, +"type": "object" +}, +"DateShiftConfig": { +"description": "Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.", +"id": "DateShiftConfig", +"properties": { +"cryptoKey": { +"description": "An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set.", +"format": "byte", +"type": "string" +}, +"kmsWrapped": { +"$ref": "KmsWrappedCryptoKey", +"description": "KMS wrapped key. If `kms_wrapped` is not set, then `crypto_key` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `crypto_key` is set." +} +}, +"type": "object" +}, +"DeidentifiedStoreDestination": { +"description": "Contains configuration for streaming de-identified FHIR export.", +"id": "DeidentifiedStoreDestination", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Optional. The configuration to use when de-identifying resources that are added to this store." +}, +"store": { +"description": "Optional. The full resource name of a Cloud Healthcare FHIR store, for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyConfig": { +"description": "Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime.", +"id": "DeidentifyConfig", +"properties": { +"dicom": { +"$ref": "DicomConfig", +"description": "Optional. Configures de-id of application/DICOM content." +}, +"fhir": { +"$ref": "FhirConfig", +"description": "Optional. Configures de-id of application/FHIR content." +}, +"image": { +"$ref": "ImageConfig", +"description": "Optional. Configures de-identification of image pixels wherever they are found in the source_dataset." +}, +"text": { +"$ref": "TextConfig", +"description": "Optional. Configures de-identification of text wherever it is found in the source_dataset." +}, +"useRegionalDataProcessing": { +"description": "Optional. Ensures in-flight data remains in the region of origin during de-identification. The default value is false. Using this option results in a significant reduction of throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` infoTypes. `LOCATION` must be excluded within TextConfig, and must also be excluded within ImageConfig if image redaction is required.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeidentifyDatasetRequest": { +"description": "Redacts identifying information from the specified dataset.", +"id": "DeidentifyDatasetRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationDataset": { +"description": "Required. The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", +"type": "string" +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyDicomStoreRequest": { +"description": "Creates a new DICOM store with sensitive information de-identified.", +"id": "DeidentifyDicomStoreRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationStore": { +"description": "Required. The name of the DICOM store to write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset and DICOM store must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The caller must have the healthcare.dicomStores.dicomWebWrite permission to write to the destination DICOM store.", +"type": "string" +}, +"filterConfig": { +"$ref": "DicomFilterConfig", +"description": "Filter configuration." +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyFhirStoreRequest": { +"description": "Creates a new FHIR store with sensitive information de-identified.", +"id": "DeidentifyFhirStoreRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationStore": { +"description": "Required. The name of the FHIR store to write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset and FHIR store must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", +"type": "string" +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +}, +"resourceFilter": { +"$ref": "FhirFilter", +"description": "A filter specifying the resources to include in the output. If not specified, all resources are included in the output." +}, +"skipModifiedResources": { +"description": "If true, skips resources that are created or modified after the de-identify operation is created.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeidentifySummary": { +"description": "Contains a summary of the Deidentify operation.", +"id": "DeidentifySummary", +"properties": {}, +"type": "object" +}, +"DicomConfig": { +"description": "Specifies the parameters needed for de-identification of DICOM stores.", +"id": "DicomConfig", +"properties": { +"filterProfile": { +"description": "Tag filtering profile that determines which tags to keep/remove.", +"enum": [ +"TAG_FILTER_PROFILE_UNSPECIFIED", +"MINIMAL_KEEP_LIST_PROFILE", +"ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", +"KEEP_ALL_PROFILE", +"DEIDENTIFY_TAG_CONTENTS" +], +"enumDescriptions": [ +"No tag filtration profile provided. Same as KEEP_ALL_PROFILE.", +"Keep only tags required to produce valid DICOM.", +"Remove tags based on DICOM Standard's Attribute Confidentiality Basic Profile (DICOM Standard Edition 2018e) https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html.", +"Keep all tags.", +"Inspects within tag contents and replaces sensitive text. The process can be configured using the TextConfig. Applies to all tags with the following Value Representation names: AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS" +], +"type": "string" +}, +"keepList": { +"$ref": "TagFilterList", +"description": "List of tags to keep. Remove all other tags." +}, +"removeList": { +"$ref": "TagFilterList", +"description": "List of tags to remove. Keep all other tags." +}, +"skipIdRedaction": { +"description": "Optional. If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare API regenerates these UIDs by default based on the DICOM Standard's reasoning: \"Whilst these UIDs cannot be mapped directly to an individual out of context, given access to the original images, or to a database of the original images containing the UIDs, it would be possible to recover the individual's identity.\" https://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.html", +"type": "boolean" +} +}, +"type": "object" +}, +"DicomFilterConfig": { +"description": "Specifies the filter configuration for DICOM resources.", +"id": "DicomFilterConfig", +"properties": { +"resourcePathsGcsUri": { +"description": "The Cloud Storage location of the filter configuration file. The `gcs_uri` must be in the format `gs://bucket/path/to/object`. The filter configuration file must contain a list of resource paths separated by newline characters (\\n or \\r\\n). Each resource path must be in the format \"/studies/{studyUID}[/series/{seriesUID}[/instances/{instanceUID}]]\" The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location.", +"type": "string" +} +}, +"type": "object" +}, +"DicomNotificationConfig": { +"description": "Contains the configuration for DICOM notifications.", +"id": "DicomNotificationConfig", +"properties": { +"pubsubTopic": { +"description": "Required. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. * `PubsubMessage.Attributes` contains the following attributes: * `action`: The name of the endpoint that generated the notification. Possible values are `StoreInstances`, `SetBlobSettings`, `ImportDicomData`, etc. * `lastUpdatedTime`: The latest timestamp when the DICOM instance was updated. * `storeName`: The resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * `studyInstanceUID`: The study UID of the DICOM instance that was changed. * `seriesInstanceUID`: The series UID of the DICOM instance that was changed. * `sopInstanceUID`: The instance UID of the DICOM instance that was changed. * `versionId`: The version ID of the DICOM instance that was changed. * `modality`: The modality tag of the DICOM instance that was changed. * `previousStorageClass`: The storage class where the DICOM instance was previously stored if the storage class was changed. * `storageClass`: The storage class where the DICOM instance is currently stored. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have the `pubsub.topics.publish` permission (which is typically included in `roles/pubsub.publisher` role) on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging).", +"type": "string" +} +}, +"type": "object" +}, +"DicomStore": { +"description": "Represents a DICOM store.", +"id": "DicomStore", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"type": "string" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"description": "Optional. Notification destination for new DICOM instances. Supplied by the client." +}, +"notificationConfigs": { +"description": "Optional. Specifies where and whether to send notifications upon changes to a DICOM store.", +"items": { +"$ref": "DicomNotificationConfig" +}, +"type": "array" +}, +"streamConfigs": { +"description": "Optional. A list of streaming configs used to configure the destination of streaming exports for every DICOM instance insertion in this DICOM store. After a new config is added to `stream_configs`, DICOM instance insertions are streamed to the new destination. When a config is removed from `stream_configs`, the server stops streaming to that destination. Each config must contain a unique destination.", +"items": { +"$ref": "GoogleCloudHealthcareV1DicomStreamConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"DicomStoreMetrics": { +"description": "DicomStoreMetrics contains metrics describing a DICOM store.", +"id": "DicomStoreMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the store.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the store.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"type": "string" +}, +"seriesCount": { +"description": "Number of series in the store.", +"format": "int64", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the store.", +"format": "int64", +"type": "string" +}, +"studyCount": { +"description": "Number of studies in the store.", +"format": "int64", +"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" +}, +"EncryptionSpec": { +"description": "Represents a customer-managed encryption key spec that can be applied to a resource.", +"id": "EncryptionSpec", +"properties": { +"kmsKeyName": { +"description": "Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this Dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "The candidate entities that an entity mention could link to.", +"id": "Entity", +"properties": { +"entityId": { +"description": "entity_id is a first class field entity_id uniquely identifies this concept and its meta-vocabulary. For example, \"UMLS/C0000970\".", +"type": "string" +}, +"preferredTerm": { +"description": "preferred_term is the preferred term for this concept. For example, \"Acetaminophen\". For ad hoc entities formed by normalization, this is the most popular unnormalized string.", +"type": "string" +}, +"vocabularyCodes": { +"description": "Vocabulary codes are first-class fields and differentiated from the concept unique identifier (entity_id). vocabulary_codes contains the representation of this concept in particular vocabularies, such as ICD-10, SNOMED-CT and RxNORM. These are prefixed by the name of the vocabulary, followed by the unique code within that vocabulary. For example, \"RXNORM/A10334543\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EntityMention": { +"description": "An entity mention in the document.", +"id": "EntityMention", +"properties": { +"certaintyAssessment": { +"$ref": "Feature", +"description": "The certainty assessment of the entity mention. Its value is one of: LIKELY, SOMEWHAT_LIKELY, UNCERTAIN, SOMEWHAT_UNLIKELY, UNLIKELY, CONDITIONAL" +}, +"confidence": { +"description": "The model's confidence in this entity mention annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"linkedEntities": { +"description": "linked_entities are candidate ontological concepts that this entity mention may refer to. They are sorted by decreasing confidence.", +"items": { +"$ref": "LinkedEntity" +}, +"type": "array" +}, +"mentionId": { +"description": "mention_id uniquely identifies each entity mention in a single response.", +"type": "string" +}, +"subject": { +"$ref": "Feature", +"description": "The subject this entity mention relates to. Its value is one of: PATIENT, FAMILY_MEMBER, OTHER" +}, +"temporalAssessment": { +"$ref": "Feature", +"description": "How this entity mention relates to the subject temporally. Its value is one of: CURRENT, CLINICAL_HISTORY, FAMILY_HISTORY, UPCOMING, ALLERGY" +}, +"text": { +"$ref": "TextSpan", +"description": "text is the location of the entity mention in the document." +}, +"type": { +"description": "The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE, ANATOMICAL_STRUCTURE, ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE, BODY_FUNCTION, BODY_MEASUREMENT, COMPLIANT, DOESNOT_FOLLOWUP, FAMILY, FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT, LAB_VALUE, MEDICAL_DEVICE, MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY, MED_ROUTE, MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT, OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD, REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.", +"type": "string" +} +}, +"type": "object" +}, +"EntityMentionRelationship": { +"description": "Defines directed relationship from one entity mention to another.", +"id": "EntityMentionRelationship", +"properties": { +"confidence": { +"description": "The model's confidence in this annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"objectId": { +"description": "object_id is the id of the object entity mention.", +"type": "string" +}, +"subjectId": { +"description": "subject_id is the id of the subject entity mention.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluateUserConsentsRequest": { +"description": "Evaluate a user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, causing slight delays between the time mappings are created or updated and when they are included in EvaluateUserConsents results.", +"id": "EvaluateUserConsentsRequest", +"properties": { +"consentList": { +"$ref": "ConsentList", +"description": "Optional. Specific Consents to evaluate the access request against. These Consents must have the same `user_id` as the User data mappings being evalauted, must exist in the current `consent_store`, and must have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 Consents can be provided here. If unspecified, all `ACTIVE` unexpired Consents in the current `consent_store` will be evaluated." +}, +"pageSize": { +"description": "Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"type": "string" +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The values of request attributes associated with this access request.", +"type": "object" +}, +"resourceAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The values of resource attributes associated with the resources being requested. If no values are specified, then all resources are queried.", +"type": "object" +}, +"responseView": { +"description": "Optional. The view for EvaluateUserConsentsResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No response view specified. The API will default to the BASIC view.", +"Only the `data_id` and `consented` fields are populated in the response.", +"All fields within the response are populated. When set to `FULL`, all `ACTIVE` Consents are evaluated even if a matching policy is found during evaluation." +], +"type": "string" +}, +"userId": { +"description": "Required. User ID to evaluate consents for.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluateUserConsentsResponse": { +"id": "EvaluateUserConsentsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list. This token is valid for 72 hours after it is created.", +"type": "string" +}, +"results": { +"description": "The consent evaluation result for each `data_id`.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessConsentInfo": { +"description": "The enforcing consent's metadata.", +"id": "ExplainDataAccessConsentInfo", +"properties": { +"cascadeOrigins": { +"description": "The compartment base resources that matched a cascading policy. Each resource has the following format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/{resource_type}/{resource_id}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"consentResource": { +"description": "The resource name of this consent resource, in the format: `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"type": "string" +}, +"enforcementTime": { +"description": "Last enforcement timestamp of this consent resource.", +"format": "google-datetime", +"type": "string" +}, +"matchingAccessorScopes": { +"description": "A list of all the matching accessor scopes of this consent policy that enforced ExplainDataAccessConsentScope.accessor_scope.", +"items": { +"$ref": "ConsentAccessorScope" +}, +"type": "array" +}, +"patientConsentOwner": { +"description": "The patient owning the consent (only applicable for patient consents), in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`", +"type": "string" +}, +"type": { +"description": "The policy type of consent resource (e.g. PATIENT, ADMIN).", +"enum": [ +"CONSENT_POLICY_TYPE_UNSPECIFIED", +"CONSENT_POLICY_TYPE_PATIENT", +"CONSENT_POLICY_TYPE_ADMIN" +], +"enumDescriptions": [ +"Unspecified policy type.", +"Consent represent a patient consent.", +"Consent represent an admin consent." +], +"type": "string" +}, +"variants": { +"description": "The consent's variant combinations. A single consent may have multiple variants.", +"items": { +"enum": [ +"CONSENT_VARIANT_UNSPECIFIED", +"CONSENT_VARIANT_STANDARD", +"CONSENT_VARIANT_CASCADE" +], +"enumDescriptions": [ +"Consent variant unspecified.", +"Consent is a standard patient or admin consent.", +"Consent is a cascading consent." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessConsentScope": { +"description": "A single consent scope that provides info on who has access to the requested resource scope for a particular purpose and environment, enforced by which consent.", +"id": "ExplainDataAccessConsentScope", +"properties": { +"accessorScope": { +"$ref": "ConsentAccessorScope", +"description": "The accessor scope that describes who can access, for what purpose, and in which environment." +}, +"decision": { +"description": "Whether the current consent scope is permitted or denied access on the requested resource.", +"enum": [ +"CONSENT_DECISION_TYPE_UNSPECIFIED", +"CONSENT_DECISION_TYPE_PERMIT", +"CONSENT_DECISION_TYPE_DENY" +], +"enumDescriptions": [ +"Unspecified consent decision type.", +"Consent permitted access.", +"Consent denied access." +], +"type": "string" +}, +"enforcingConsents": { +"description": "Metadata of the consent resources that enforce the consent scope's access.", +"items": { +"$ref": "ExplainDataAccessConsentInfo" +}, +"type": "array" +}, +"exceptions": { +"description": "Other consent scopes that created exceptions within this scope.", +"items": { +"$ref": "ExplainDataAccessConsentScope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessResponse": { +"description": "List of consent scopes that are applicable to the explained access on a given resource.", +"id": "ExplainDataAccessResponse", +"properties": { +"consentScopes": { +"description": "List of applicable consent scopes. Sorted in order of actor such that scopes belonging to the same actor will be adjacent to each other in the list.", +"items": { +"$ref": "ExplainDataAccessConsentScope" +}, +"type": "array" +}, +"warning": { +"description": "Warnings associated with this response. It inform user with exceeded scope limit errors.", +"type": "string" +} +}, +"type": "object" +}, +"ExportDicomDataRequest": { +"description": "Exports data from the specified DICOM store. If a given resource, such as a DICOM object with the same SOPInstance UID, already exists in the output, it is overwritten with the version in the source dataset. Exported DICOM data persists when the DICOM store from which it was exported is deleted.", +"id": "ExportDicomDataRequest", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1DicomBigQueryDestination", +"description": "The BigQuery output destination. You can only export to a BigQuery dataset that's in the same project as the DICOM store you're exporting from. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`." +}, +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1DicomGcsDestination", +"description": "The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ExportDicomDataResponse": { +"description": "Returns additional information in regards to a completed DICOM store export.", +"id": "ExportDicomDataResponse", +"properties": {}, +"type": "object" +}, +"ExportMessagesRequest": { +"description": "Request to schedule an export.", +"id": "ExportMessagesRequest", +"properties": { +"endTime": { +"description": "The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the time when the export is scheduled is used. This value has to come after the `start_time` defined below. Only messages whose `send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive) are exported.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination and GcsDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", +"type": "string" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Export to a Cloud Storage destination." +}, +"pubsubDestination": { +"$ref": "PubsubDestination", +"description": "Export messages to a Pub/Sub topic." +}, +"startTime": { +"description": "The start of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is used. This value has to come before the `end_time` defined below. Only messages whose `send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive) are exported.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ExportMessagesResponse": { +"description": "Final response for the export operation. This structure is included in the response to describe the detailed outcome.", +"id": "ExportMessagesResponse", +"properties": {}, +"type": "object" +}, +"ExportResourcesRequest": { +"description": "Request to export resources.", +"id": "ExportResourcesRequest", +"properties": { +"_since": { +"description": "If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"type": "string" +}, +"_type": { +"description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"type": "string" +}, +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1FhirBigQueryDestination", +"description": "The BigQuery output destination. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`. The output is one BigQuery table per resource type. Unlike when setting `BigQueryDestination` for `StreamConfig`, `ExportResources` does not create BigQuery views." +}, +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1FhirGcsDestination", +"description": "The Cloud Storage output destination. The Healthcare Service Agent account requires the `roles/storage.objectAdmin` role on the Cloud Storage location. The exported outputs are organized by FHIR resource types. The server creates one object per resource type. Each object contains newline delimited JSON, and each line is a FHIR resource." +} +}, +"type": "object" +}, +"ExportResourcesResponse": { +"description": "Response when all resources export successfully. This structure is included in the response to describe the detailed outcome after the operation finishes successfully.", +"id": "ExportResourcesResponse", +"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" +}, +"Feature": { +"description": "A feature of an entity mention.", +"id": "Feature", +"properties": { +"confidence": { +"description": "The model's confidence in this feature annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"value": { +"description": "The value of this feature annotation. Its range depends on the type of the feature.", +"type": "string" +} +}, +"type": "object" +}, +"FhirConfig": { +"description": "Specifies how to handle de-identification of a FHIR store.", +"id": "FhirConfig", +"properties": { +"defaultKeepExtensions": { +"description": "Optional. The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default.", +"type": "boolean" +}, +"fieldMetadataList": { +"description": "Optional. Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata is passed through to the output dataset unmodified. All extensions will be processed according to `default_keep_extensions`.", +"items": { +"$ref": "FieldMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"FhirFilter": { +"description": "Filter configuration.", +"id": "FhirFilter", +"properties": { +"resources": { +"$ref": "Resources", +"description": "List of resources to include in the output. If this list is empty or not specified, all resources are included in the output." +} +}, +"type": "object" +}, +"FhirNotificationConfig": { +"description": "Contains the configuration for FHIR notifications.", +"id": "FhirNotificationConfig", +"properties": { +"pubsubTopic": { +"description": "Optional. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging).", +"type": "string" +}, +"sendFullResource": { +"description": "Optional. Whether to send full FHIR resource to this Pub/Sub topic. The default value is false.", +"type": "boolean" +}, +"sendPreviousResourceOnDelete": { +"description": "Optional. Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR resource. The default value is false. Note that setting this to true does not guarantee that all previous resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the \"payloadType\" label from a Pub/Sub message to determine whether it needs to fetch the full previous resource as a separate operation.", +"type": "boolean" +} +}, +"type": "object" +}, +"FhirStore": { +"description": "Represents a FHIR store.", +"id": "FhirStore", +"properties": { +"bulkExportGcsDestination": { +"$ref": "BulkExportGcsDestination", +"description": "Optional. FHIR bulk export exports resources to the specified Cloud Storage destination. A Cloud Storage destination is a URI for a Cloud Storage directory where result files will be written. Only used in the spec-defined bulk $export methods. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM role on the destination." +}, +"complexDataTypeReferenceParsing": { +"description": "Optional. Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. Cannot be disabled in R5.", +"enum": [ +"COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"No parsing behavior specified. This is the same as DISABLED for backwards compatibility.", +"References in complex data types are ignored.", +"References in complex data types are parsed." +], +"type": "string" +}, +"consentConfig": { +"$ref": "ConsentConfig", +"description": "Optional. Specifies whether this store has consent enforcement. Not available for DSTU2 FHIR version due to absence of Consent resources. Not supported for R5 FHIR version." +}, +"defaultSearchHandlingStrict": { +"description": "Optional. If true, overrides the default search behavior for this FHIR store to `handling=strict` which returns an error for unrecognized search parameters. If false, uses the FHIR specification default `handling=lenient` which ignores unrecognized search parameters. The handling can always be changed from the default on an individual API call by setting the HTTP header `Prefer: handling=strict` or `Prefer: handling=lenient`. Defaults to false.", +"type": "boolean" +}, +"disableReferentialIntegrity": { +"description": "Immutable. Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API enforces referential integrity and fails the requests that result in inconsistent state in the FHIR store. When this field is set to true, the API skips referential integrity checks. Consequently, operations that rely on references, such as GetPatientEverything, do not return all the results if broken references exist.", +"type": "boolean" +}, +"disableResourceVersioning": { +"description": "Immutable. Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, all write operations cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions are kept. The server sends errors for attempts to read the historical versions. Defaults to false.", +"type": "boolean" +}, +"enableUpdateCreate": { +"description": "Optional. Whether this FHIR store has the [updateCreate capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.updateCreate). This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to update a non-existent resource return errors. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud audit logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. Defaults to false.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"deprecated": true, +"description": "Deprecated. Use `notification_configs` instead. If non-empty, publish all resource modifications of this FHIR store to this destination. The Pub/Sub message attributes contain a map with a string describing the action that has triggered the notification. For example, \"action\":\"CreateResource\". Not supported in R5. Use `notification_configs` instead." +}, +"notificationConfigs": { +"description": "Optional. Specifies where and whether to send notifications upon changes to a FHIR store.", +"items": { +"$ref": "FhirNotificationConfig" +}, +"type": "array" +}, +"streamConfigs": { +"description": "Optional. A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#bigquery.dataEditor) role to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/iam/docs/service-accounts). Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination.", +"items": { +"$ref": "StreamConfig" +}, +"type": "array" +}, +"validationConfig": { +"$ref": "ValidationConfig", +"description": "Optional. Configuration for how to validate incoming FHIR resources against configured profiles." +}, +"version": { +"description": "Required. Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", +"enum": [ +"VERSION_UNSPECIFIED", +"DSTU2", +"STU3", +"R4", +"R5" +], +"enumDescriptions": [ +"Users must specify a version on store creation or an error is returned.", +"Draft Standard for Trial Use, [Release 2](https://www.hl7.org/fhir/DSTU2)", +"Standard for Trial Use, [Release 3](https://www.hl7.org/fhir/STU3)", +"[Release 4](https://www.hl7.org/fhir/R4)", +"[Release 5](https://www.hl7.org/fhir/R5)" +], +"type": "string" +} +}, +"type": "object" +}, +"FhirStoreMetric": { +"description": "Count of resources and total storage size by type for a given FHIR store.", +"id": "FhirStoreMetric", +"properties": { +"count": { +"description": "The total count of FHIR resources in the store of this resource type.", +"format": "int64", +"type": "string" +}, +"resourceType": { +"description": "The FHIR resource type this metric applies to.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "The total amount of structured storage used by FHIR resources of this resource type in the store.", +"format": "int64", +"type": "string" +}, +"versionedStorageSizeBytes": { +"description": "The total amount of versioned storage used by versioned FHIR resources of this resource type in the store.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FhirStoreMetrics": { +"description": "List of metrics for a given FHIR store.", +"id": "FhirStoreMetrics", +"properties": { +"metrics": { +"description": "List of FhirStoreMetric by resource type.", +"items": { +"$ref": "FhirStoreMetric" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the FHIR store to get metrics for, in the format `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"Field": { +"description": "A (sub) field of a type.", +"id": "Field", +"properties": { +"maxOccurs": { +"description": "The maximum number of times this field can be repeated. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"minOccurs": { +"description": "The minimum number of times this field must be present/repeated.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the field. For example, \"PID-1\" or just \"1\".", +"type": "string" +}, +"table": { +"description": "The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary Language) usually refers to table \"0296\".", +"type": "string" +}, +"type": { +"description": "The type of this field. A Type with this name must be defined in an Hl7TypesConfig.", +"type": "string" +} +}, +"type": "object" +}, +"FieldMetadata": { +"description": "Specifies FHIR paths to match, and how to handle de-identification of matching fields.", +"id": "FieldMetadata", +"properties": { +"action": { +"description": "Optional. Deidentify action for one field.", +"enum": [ +"ACTION_UNSPECIFIED", +"TRANSFORM", +"INSPECT_AND_TRANSFORM", +"DO_NOT_TRANSFORM" +], +"enumDescriptions": [ +"No action specified. Defaults to DO_NOT_TRANSFORM.", +"Transform the entire field.", +"Inspect and transform any found PHI.", +"Do not transform." +], +"type": "string" +}, +"paths": { +"description": "Optional. List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For \"choice\" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, \"deceasedAge.unit\" is matched by \"Deceased.Age.unit\". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location.", +"id": "GcsDestination", +"properties": { +"contentStructure": { +"description": "The format of the exported HL7v2 message files.", +"enum": [ +"CONTENT_STRUCTURE_UNSPECIFIED", +"MESSAGE_JSON" +], +"enumDescriptions": [ +"If the content structure is not specified, the default value `MESSAGE_JSON` will be used.", +"Messages are printed using the JSON format returned from the `GetMessage` API. Messages are delimited with newlines." +], +"type": "string" +}, +"messageView": { +"description": "Specifies the parts of the Message resource to include in the export. If not specified, FULL is used.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL.", +"Server responses include all the message fields except parsed_data field, and schematized_data fields.", +"Server responses include all the message fields except data field, and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"type": "string" +}, +"uriPrefix": { +"description": "URI of an existing Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) to import. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * `*` to match 0 or more non-separator characters * `**` to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson` imports all files with `.ndjson` extensions in `my-directory/` and its sub-directories. * `?` to match 1 character Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1ConsentGcsDestination": { +"description": "The Cloud Storage location for export.", +"id": "GoogleCloudHealthcareV1ConsentGcsDestination", +"properties": { +"uriPrefix": { +"description": "URI for a Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket and directory referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1ConsentPolicy": { +"description": "Represents a user's consent in terms of the resources that can be accessed and under what conditions.", +"id": "GoogleCloudHealthcareV1ConsentPolicy", +"properties": { +"authorizationRule": { +"$ref": "Expr", +"description": "Required. The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`)." +}, +"resourceAttributes": { +"description": "The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.", +"items": { +"$ref": "Attribute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1DeidentifyDeidentifyDicomStoreSummary": { +"description": "Contains a summary of the DeidentifyDicomStore operation.", +"id": "GoogleCloudHealthcareV1DeidentifyDeidentifyDicomStoreSummary", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1DeidentifyDeidentifyFhirStoreSummary": { +"description": "Contains a summary of the DeidentifyFhirStore operation.", +"id": "GoogleCloudHealthcareV1DeidentifyDeidentifyFhirStoreSummary", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1DicomBigQueryDestination": { +"description": "The BigQuery table where the server writes the output.", +"id": "GoogleCloudHealthcareV1DicomBigQueryDestination", +"properties": { +"force": { +"description": "Optional. Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.", +"type": "boolean" +}, +"includeSourceStore": { +"description": "Optional. If true, the source store name will be included as a column in the BigQuery schema.", +"type": "boolean" +}, +"schemaFlattened": { +"$ref": "SchemaFlattened", +"description": "Optional. Setting this field will use flattened DICOM instances schema for the BigQuery table. The flattened schema will have one column for each DICOM tag." +}, +"schemaJson": { +"$ref": "SchemaJSON", +"description": "Optional. Setting this field will store all the DICOM tags as a JSON type in a single column." +}, +"tableUri": { +"description": "Optional. BigQuery URI to a table, up to 2000 characters long, in the format `bq://projectId.bqDatasetId.tableId`", +"type": "string" +}, +"writeDisposition": { +"description": "Optional. Determines whether the existing table in the destination is to be overwritten or appended to. If a write_disposition is specified, the `force` parameter is ignored.", +"enum": [ +"WRITE_DISPOSITION_UNSPECIFIED", +"WRITE_EMPTY", +"WRITE_TRUNCATE", +"WRITE_APPEND" +], +"enumDescriptions": [ +"Default behavior is the same as WRITE_EMPTY.", +"Only export data if the destination table is empty.", +"Erase all existing data in the destination table before writing the instances.", +"Append data to the destination table." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1DicomGcsDestination": { +"description": "The Cloud Storage location where the server writes the output and the export configuration.", +"id": "GoogleCloudHealthcareV1DicomGcsDestination", +"properties": { +"mimeType": { +"description": "MIME types supported by DICOM spec. Each file is written in the following format: `.../{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension}` The frame_number component exists only for multi-frame instances. Supported MIME types are consistent with supported formats in DICOMweb: https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.2 (DICOM Implicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.1 (DICOM Explicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.1.99 (DICOM Deflated Explicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.51 (DICOM with embedded JPEG Extended) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.57 (DICOM with embedded JPEG Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.70 (DICOM with embedded JPEG Lossless First-Order Prediction) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.80 (DICOM with embedded JPEG-LS Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.81 (DICOM with embedded JPEG-LS Lossy (Near-Lossless)) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded JPEG 2000) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.110 (DICOM with embedded JPEG XL Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.111 (DICOM with embedded JPEG XL JPEG Recompression) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.112 (DICOM with embedded JPEG XL) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.201 (DICOM with embedded High-Throughput JPEG 2000 Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.202 (DICOM with embedded High-Throughput JPEG 2000 with RPCL Options Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.203 (DICOM with embedded High-Throughput JPEG 2000) - application/dicom; transfer-syntax=1.2.840.10008.1.2.5 (DICOM with embedded RLE Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.8.1 (DICOM with embedded Deflated Image Frame Compression) - application/dicom; transfer-syntax=* (DICOM with no transcoding) - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg - image/png -> .png - application/octet-stream -> no extension If unspecified, the instances are exported in the original DICOM format they were uploaded in.", +"type": "string" +}, +"uriPrefix": { +"description": "The Cloud Storage destination to export to. URI for a Cloud Storage directory where the server writes the result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`). If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1DicomGcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GoogleCloudHealthcareV1DicomGcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) with content only. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * '*' to match 0 or more non-separator characters * '**' to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .dcm), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm extensions in `my-directory/` and its sub-directories. * '?' to match 1 character. All other URI formats are invalid. Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1DicomStreamConfig": { +"description": "StreamConfig specifies configuration for a streaming DICOM export.", +"id": "GoogleCloudHealthcareV1DicomStreamConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1DicomBigQueryDestination", +"description": "Results are appended to this table. The server creates a new table in the given BigQuery dataset if the specified table does not exist. To enable the Cloud Healthcare API to write to your BigQuery table, you must give the Cloud Healthcare API service account the bigquery.dataEditor role. The service account is: `service-{PROJECT_NUMBER}@gcp-sa-healthcare.iam.gserviceaccount.com`. The PROJECT_NUMBER identifies the project that the DICOM store resides in. To get the project number, go to the Cloud Console Dashboard. It is recommended to not have a custom schema in the destination table which could conflict with the schema created by the Cloud Healthcare API. Instance deletions are not applied to the destination table. The destination's table schema will be automatically updated in case a new instance's data is incompatible with the current schema. The schema should not be updated manually as this can cause incompatibilies that cannot be resolved automatically. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any instance that generates more than 1 MB of BigQuery data will not be streamed. If an instance cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging))." +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1FhirBigQueryDestination": { +"description": "The configuration for exporting to BigQuery.", +"id": "GoogleCloudHealthcareV1FhirBigQueryDestination", +"properties": { +"datasetUri": { +"description": "Optional. BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`.", +"type": "string" +}, +"force": { +"description": "Optional. The default value is false. If this flag is `TRUE`, all tables are deleted from the dataset before the new exported tables are written. If the flag is not set and the destination dataset contains tables, the export call returns an error. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.", +"type": "boolean" +}, +"schemaConfig": { +"$ref": "SchemaConfig", +"description": "Optional. The configuration for the exported BigQuery schema." +}, +"writeDisposition": { +"description": "Optional. Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored.", +"enum": [ +"WRITE_DISPOSITION_UNSPECIFIED", +"WRITE_EMPTY", +"WRITE_TRUNCATE", +"WRITE_APPEND" +], +"enumDescriptions": [ +"Default behavior is the same as WRITE_EMPTY.", +"Only export data if the destination tables are empty.", +"Erase all existing data in the destination tables before writing the FHIR resources.", +"Append data to the destination tables." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1FhirGcsDestination": { +"description": "The configuration for exporting to Cloud Storage.", +"id": "GoogleCloudHealthcareV1FhirGcsDestination", +"properties": { +"uriPrefix": { +"description": "URI for a Cloud Storage directory where result files should be written, in the format of `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1FhirGcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GoogleCloudHealthcareV1FhirGcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) to import. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * `*` to match 0 or more non-separator characters * `**` to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson` imports all files with `.ndjson` extensions in `my-directory/` and its sub-directories. * `?` to match 1 character Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GroupOrSegment": { +"description": "Construct representing a logical group or a segment.", +"id": "GroupOrSegment", +"properties": { +"group": { +"$ref": "SchemaGroup" +}, +"segment": { +"$ref": "SchemaSegment" +} +}, +"type": "object" +}, +"Hl7SchemaConfig": { +"description": "Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to.", +"id": "Hl7SchemaConfig", +"properties": { +"messageSchemaConfigs": { +"additionalProperties": { +"$ref": "SchemaGroup" +}, +"description": "Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group.", +"type": "object" +}, +"version": { +"description": "Each VersionSource is tested and only if they all match is the schema used for the message.", +"items": { +"$ref": "VersionSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"Hl7TypesConfig": { +"description": "Root config for HL7v2 datatype definitions for a specific HL7v2 version.", +"id": "Hl7TypesConfig", +"properties": { +"type": { +"description": "The HL7v2 type definitions.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"version": { +"description": "The version selectors that this config applies to. A message must match ALL version sources to apply.", +"items": { +"$ref": "VersionSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"Hl7V2NotificationConfig": { +"description": "Specifies where and whether to send notifications upon changes to a data store.", +"id": "Hl7V2NotificationConfig", +"properties": { +"filter": { +"description": "Optional. Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId(\"123456\", \"MRN\")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels.\"priority\"=\"high\"`. The operator `:*` can be used to assert the existence of a label. For example, `labels.\"priority\":*`.", +"type": "string" +}, +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It's guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification cannot be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)).", +"type": "string" +} +}, +"type": "object" +}, +"Hl7V2Store": { +"description": "Represents an HL7v2 store.", +"id": "Hl7V2Store", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the HL7v2 store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"type": "string" +}, +"notificationConfigs": { +"description": "Optional. A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client.", +"items": { +"$ref": "Hl7V2NotificationConfig" +}, +"type": "array" +}, +"parserConfig": { +"$ref": "ParserConfig", +"description": "Optional. The configuration for the parser. It determines how the server parses the messages." +}, +"rejectDuplicateMessage": { +"description": "Optional. Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.", +"type": "boolean" +} +}, +"type": "object" +}, +"Hl7V2StoreMetric": { +"description": "Count of messages and total storage size by type for a given HL7 store.", +"id": "Hl7V2StoreMetric", +"properties": { +"count": { +"description": "The total count of HL7v2 messages in the store for the given message type.", +"format": "int64", +"type": "string" +}, +"messageType": { +"description": "The Hl7v2 message type this metric applies to, such as `ADT` or `ORU`.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "The total amount of structured storage used by HL7v2 messages of this message type in the store.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Hl7V2StoreMetrics": { +"description": "List of metrics for a given HL7v2 store.", +"id": "Hl7V2StoreMetrics", +"properties": { +"metrics": { +"description": "List of HL7v2 store metrics by message type.", +"items": { +"$ref": "Hl7V2StoreMetric" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the HL7v2 store to get metrics for, in the format `projects/{project_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Image": { +"description": "Raw bytes representing consent artifact content.", +"id": "Image", +"properties": { +"gcsUri": { +"description": "Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.", +"type": "string" +}, +"rawBytes": { +"description": "Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ImageConfig": { +"description": "Specifies how to handle de-identification of image pixels.", +"id": "ImageConfig", +"properties": { +"textRedactionMode": { +"description": "Optional. Determines how to redact text from image.", +"enum": [ +"TEXT_REDACTION_MODE_UNSPECIFIED", +"REDACT_ALL_TEXT", +"REDACT_SENSITIVE_TEXT", +"REDACT_NO_TEXT" +], +"enumDescriptions": [ +"No text redaction specified. Same as REDACT_NO_TEXT.", +"Redact all text.", +"Redact sensitive text. Uses the set of [Default DICOM InfoTypes](https://cloud.google.com/healthcare-api/docs/how-tos/dicom-deidentify#default_dicom_infotypes).", +"Do not redact text." +], +"type": "string" +} +}, +"type": "object" +}, +"ImportDicomDataRequest": { +"description": "Imports data into the specified DICOM store. Returns an error if any of the files to import are not DICOM files. This API accepts duplicate DICOM instances by ignoring the newly-pushed instance. It does not overwrite.", +"id": "ImportDicomDataRequest", +"properties": { +"blobStorageSettings": { +"$ref": "BlobStorageSettings", +"description": "Optional. The blob storage settings for the data imported by this operation." +}, +"gcsSource": { +"$ref": "GoogleCloudHealthcareV1DicomGcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectViewer` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ImportDicomDataResponse": { +"description": "Returns additional information in regards to a completed DICOM store import.", +"id": "ImportDicomDataResponse", +"properties": {}, +"type": "object" +}, +"ImportMessagesRequest": { +"description": "Request to import messages.", +"id": "ImportMessagesRequest", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectViewer` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ImportMessagesResponse": { +"description": "Final response of importing messages. This structure is included in the response to describe the detailed outcome. It is only included when the operation finishes successfully.", +"id": "ImportMessagesResponse", +"properties": {}, +"type": "object" +}, +"ImportResourcesRequest": { +"description": "Request to import resources.", +"id": "ImportResourcesRequest", +"properties": { +"contentStructure": { +"description": "The content structure in the source location. If not specified, the server treats the input source files as BUNDLE.", +"enum": [ +"CONTENT_STRUCTURE_UNSPECIFIED", +"BUNDLE", +"RESOURCE", +"BUNDLE_PRETTY", +"RESOURCE_PRETTY" +], +"enumDescriptions": [ +"If the content structure is not specified, the default value `BUNDLE` is used.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a bundle that contains one or more resources.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a single resource.", +"The entire file is one JSON bundle. The JSON can span multiple lines.", +"The entire file is one JSON resource. The JSON can span multiple lines." +], +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudHealthcareV1FhirGcsSource", +"description": "Cloud Storage source data location and import configuration. The Healthcare Service Agent account requires the `roles/storage.objectAdmin` role on the Cloud Storage location. Each Cloud Storage object should be a text file that contains the format specified in ContentStructure." +} +}, +"type": "object" +}, +"ImportResourcesResponse": { +"description": "Final response of importing resources. This structure is included in the response to describe the detailed outcome after the operation finishes successfully.", +"id": "ImportResourcesResponse", +"properties": {}, +"type": "object" +}, +"InfoTypeTransformation": { +"description": "A transformation to apply to text that is identified as a specific info_type.", +"id": "InfoTypeTransformation", +"properties": { +"characterMaskConfig": { +"$ref": "CharacterMaskConfig", +"description": "Config for character mask." +}, +"cryptoHashConfig": { +"$ref": "CryptoHashConfig", +"description": "Config for crypto hash." +}, +"dateShiftConfig": { +"$ref": "DateShiftConfig", +"description": "Config for date shift." +}, +"infoTypes": { +"description": "Optional. InfoTypes to apply this transformation to. If this is not specified, the transformation applies to any info_type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"redactConfig": { +"$ref": "RedactConfig", +"description": "Config for text redaction." +}, +"replaceWithInfoTypeConfig": { +"$ref": "ReplaceWithInfoTypeConfig", +"description": "Config for replace with InfoType." +} +}, +"type": "object" +}, +"IngestMessageRequest": { +"description": "Ingests a message into the specified HL7v2 store.", +"id": "IngestMessageRequest", +"properties": { +"message": { +"$ref": "Message", +"description": "Required. HL7v2 message to ingest." +} +}, +"type": "object" +}, +"IngestMessageResponse": { +"description": "Acknowledges that a message has been ingested into the specified HL7v2 store.", +"id": "IngestMessageResponse", +"properties": { +"hl7Ack": { +"description": "HL7v2 ACK message.", +"format": "byte", +"type": "string" +}, +"message": { +"$ref": "Message", +"description": "Created message resource." +} +}, +"type": "object" +}, +"KmsWrappedCryptoKey": { +"description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).", +"id": "KmsWrappedCryptoKey", +"properties": { +"cryptoKey": { +"description": "Required. The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`.", +"type": "string" +}, +"wrappedKey": { +"description": "Required. The wrapped data crypto key.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"LinkedEntity": { +"description": "EntityMentions can be linked to multiple entities using a LinkedEntity message lets us add other fields, e.g. confidence.", +"id": "LinkedEntity", +"properties": { +"entityId": { +"description": "entity_id is a concept unique identifier. These are prefixed by a string that identifies the entity coding system, followed by the unique identifier within that system. For example, \"UMLS/C0000970\". This also supports ad hoc entities, which are formed by normalizing entity mention content.", +"type": "string" +} +}, +"type": "object" +}, +"ListAttributeDefinitionsResponse": { +"id": "ListAttributeDefinitionsResponse", +"properties": { +"attributeDefinitions": { +"description": "The returned Attribute definitions. The maximum number of attributes returned is determined by the value of page_size in the ListAttributeDefinitionsRequest.", +"items": { +"$ref": "AttributeDefinition" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentArtifactsResponse": { +"id": "ListConsentArtifactsResponse", +"properties": { +"consentArtifacts": { +"description": "The returned Consent artifacts. The maximum number of artifacts returned is determined by the value of page_size in the ListConsentArtifactsRequest.", +"items": { +"$ref": "ConsentArtifact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentRevisionsResponse": { +"id": "ListConsentRevisionsResponse", +"properties": { +"consents": { +"description": "The returned Consent revisions. The maximum number of revisions returned is determined by the value of `page_size` in the ListConsentRevisionsRequest.", +"items": { +"$ref": "Consent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentStoresResponse": { +"id": "ListConsentStoresResponse", +"properties": { +"consentStores": { +"description": "The returned consent stores. The maximum number of stores returned is determined by the value of page_size in the ListConsentStoresRequest.", +"items": { +"$ref": "ConsentStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentsResponse": { +"id": "ListConsentsResponse", +"properties": { +"consents": { +"description": "The returned Consents. The maximum number of Consents returned is determined by the value of page_size in the ListConsentsRequest.", +"items": { +"$ref": "Consent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatasetsResponse": { +"description": "Lists the available datasets.", +"id": "ListDatasetsResponse", +"properties": { +"datasets": { +"description": "The first page of datasets.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDicomStoresResponse": { +"description": "Lists the DICOM stores in the given dataset.", +"id": "ListDicomStoresResponse", +"properties": { +"dicomStores": { +"description": "The returned DICOM stores. Won't be more DICOM stores than the value of page_size in the request.", +"items": { +"$ref": "DicomStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListFhirStoresResponse": { +"description": "Lists the FHIR stores in the given dataset.", +"id": "ListFhirStoresResponse", +"properties": { +"fhirStores": { +"description": "The returned FHIR stores. Won't be more FHIR stores than the value of page_size in the request.", +"items": { +"$ref": "FhirStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListHl7V2StoresResponse": { +"description": "Lists the HL7v2 stores in the given dataset.", +"id": "ListHl7V2StoresResponse", +"properties": { +"hl7V2Stores": { +"description": "The returned HL7v2 stores. Won't be more HL7v2 stores than the value of page_size in the request.", +"items": { +"$ref": "Hl7V2Store" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMessagesResponse": { +"description": "Lists the messages in the specified HL7v2 store.", +"id": "ListMessagesResponse", +"properties": { +"hl7V2Messages": { +"description": "The returned Messages. Won't be more Messages than the value of page_size in the request. See view for populated fields.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserDataMappingsResponse": { +"id": "ListUserDataMappingsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"userDataMappings": { +"description": "The returned User data mappings. The maximum number of User data mappings returned is determined by the value of page_size in the ListUserDataMappingsRequest.", +"items": { +"$ref": "UserDataMapping" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.org/implement/standards/index.cfm?ref=common) for details on the standard.", +"id": "Message", +"properties": { +"createTime": { +"description": "Output only. The datetime when the message was created. Set by the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"data": { +"description": "Required. Raw message bytes.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"messageType": { +"description": "Output only. The message type for this message. MSH-9.1.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`.", +"readOnly": true, +"type": "string" +}, +"parsedData": { +"$ref": "ParsedData", +"description": "Output only. The parsed version of the raw message data.", +"readOnly": true +}, +"patientIds": { +"description": "Output only. All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.", +"items": { +"$ref": "PatientId" +}, +"readOnly": true, +"type": "array" +}, +"schematizedData": { +"$ref": "SchematizedData", +"description": "Output only. The parsed version of the raw message data schematized according to this store's schemas and type definitions.", +"readOnly": true +}, +"sendFacility": { +"description": "Output only. The hospital that this message came from. MSH-4.", +"readOnly": true, +"type": "string" +}, +"sendTime": { +"description": "Output only. The datetime the sending application sent this message. MSH-7.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"NotificationConfig": { +"description": "Specifies where to send notifications upon changes to a data store.", +"id": "NotificationConfig", +"properties": { +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details.", +"type": "string" +}, +"sendForBulkImport": { +"description": "Indicates whether or not to send Pub/Sub notifications on bulk import. Only supported for DICOM imports.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "OperationMetadata provides information about the operation execution. Returned in the long-running operation's metadata field.", +"id": "OperationMetadata", +"properties": { +"apiMethodName": { +"description": "The name of the API method that initiated the operation.", +"type": "string" +}, +"cancelRequested": { +"description": "Specifies if cancellation was requested for the operation.", +"type": "boolean" +}, +"counter": { +"$ref": "ProgressCounter" +}, +"createTime": { +"description": "The time at which the operation was created by the API.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which execution was completed.", +"format": "google-datetime", +"type": "string" +}, +"logsUrl": { +"description": "A link to audit and error logs in the log viewer. Error logs are generated only by some operations, listed at [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"type": "string" +} +}, +"type": "object" +}, +"ParsedData": { +"description": "The content of a HL7v2 message in a structured format.", +"id": "ParsedData", +"properties": { +"segments": { +"items": { +"$ref": "Segment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ParserConfig": { +"description": "The configuration for the parser. It determines how the server parses the messages.", +"id": "ParserConfig", +"properties": { +"allowNullHeader": { +"description": "Optional. Determines whether messages with no header are allowed.", +"type": "boolean" +}, +"schema": { +"$ref": "SchemaPackage", +"description": "Optional. Schemas used to parse messages in this store, if schematized parsing is desired." +}, +"segmentTerminator": { +"description": "Optional. Byte(s) to use as the segment terminator. If this is unset, '\\r' is used as segment terminator, matching the HL7 version 2 specification.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Immutable. Determines the version of both the default parser to be used when `schema` is not given, as well as the schematized parser used when `schema` is specified. This field is immutable after HL7v2 store creation.", +"enum": [ +"PARSER_VERSION_UNSPECIFIED", +"V1", +"V2", +"V3" +], +"enumDescriptions": [ +"Unspecified parser version, equivalent to V1.", +"The `parsed_data` includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard.", +"The `parsed_data` includes every given non-empty message field.", +"This version is the same as V2, with the following change. The `parsed_data` contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. If `schema` is specified, the schematized parser uses improved parsing heuristics compared to previous versions." +], +"type": "string" +} +}, +"type": "object" +}, +"PatientId": { +"description": "A patient identifier and associated type.", +"id": "PatientId", +"properties": { +"type": { +"description": "ID type. For example, MRN or NHS.", +"type": "string" +}, +"value": { +"description": "The patient's unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"PatientScope": { +"description": "Apply consents given by a list of patients.", +"id": "PatientScope", +"properties": { +"patientIds": { +"description": "Optional. The list of patient IDs whose Consent resources will be enforced. At most 10,000 patients can be specified. An empty list is equivalent to all patients (meaning the entire FHIR store).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"ProgressCounter": { +"description": "ProgressCounter provides counters to describe an operation's progress.", +"id": "ProgressCounter", +"properties": { +"failure": { +"description": "The number of units that failed in the operation.", +"format": "int64", +"type": "string" +}, +"pending": { +"description": "The number of units that are pending in the operation.", +"format": "int64", +"type": "string" +}, +"secondaryFailure": { +"description": "The number of secondary units that failed in the operation.", +"format": "int64", +"type": "string" +}, +"secondarySuccess": { +"description": "The number of secondary units that succeeded in the operation.", +"format": "int64", +"type": "string" +}, +"success": { +"description": "The number of units that succeeded in the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PubsubDestination": { +"description": "The Pub/Sub output destination. The Cloud Healthcare Service Agent requires the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.", +"id": "PubsubDestination", +"properties": { +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that Pub/Sub messages are published on. Supplied by the client. The `PubsubMessage` contains the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail.", +"type": "string" +} +}, +"type": "object" +}, +"QueryAccessibleDataRequest": { +"description": "Queries all data_ids that are consented for a given use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging] (https://cloud.google.com/healthcare/docs/how-tos/logging) and [QueryAccessibleData] for a sample log entry).", +"id": "QueryAccessibleDataRequest", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1ConsentGcsDestination", +"description": "The Cloud Storage destination. The Cloud Healthcare API service account must have the `roles/storage.objectAdmin` Cloud IAM role for this Cloud Storage location." +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "The values of request attributes associated with this access request.", +"type": "object" +}, +"resourceAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The values of resource attributes associated with the type of resources being requested. If no values are specified, then all resource types are included in the output.", +"type": "object" +} +}, +"type": "object" +}, +"QueryAccessibleDataResponse": { +"description": "Response for successful QueryAccessibleData operations. This structure is included in the response upon operation completion.", +"id": "QueryAccessibleDataResponse", +"properties": { +"gcsUris": { +"description": "List of files, each of which contains a list of data_id(s) that are consented for a specified use in the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RedactConfig": { +"description": "Define how to redact sensitive values. Default behaviour is erase. For example, \"My name is Jane.\" becomes \"My name is .\"", +"id": "RedactConfig", +"properties": {}, +"type": "object" +}, +"RejectConsentRequest": { +"description": "Rejects the latest revision of the specified Consent by committing a new revision with `state` updated to `REJECTED`. If the latest revision of the given Consent is in the `REJECTED` state, no new revision is committed.", +"id": "RejectConsentRequest", +"properties": { +"consentArtifact": { +"description": "Optional. The resource name of the Consent artifact that contains documentation of the user's rejection of the draft Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. If the draft Consent had a Consent artifact, this Consent artifact overwrites it.", +"type": "string" +} +}, +"type": "object" +}, +"ReplaceWithInfoTypeConfig": { +"description": "When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, \"My name is Jane\" becomes \"My name is [PERSON_NAME].\" The TRANSFORM action is equivalent to redacting.", +"id": "ReplaceWithInfoTypeConfig", +"properties": {}, +"type": "object" +}, +"Resources": { +"description": "A list of FHIR resources.", +"id": "Resources", +"properties": { +"resources": { +"description": "List of resources IDs. For example, \"Patient/1234\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Result": { +"description": "The consent evaluation result for a single `data_id`.", +"id": "Result", +"properties": { +"consentDetails": { +"additionalProperties": { +"$ref": "ConsentEvaluation" +}, +"description": "The resource names of all evaluated Consents mapped to their evaluation.", +"type": "object" +}, +"consented": { +"description": "Whether the resource is consented for the given use.", +"type": "boolean" +}, +"dataId": { +"description": "The unique identifier of the evaluated resource.", +"type": "string" +} +}, +"type": "object" +}, +"RevokeConsentRequest": { +"description": "Revokes the latest revision of the specified Consent by committing a new revision with `state` updated to `REVOKED`. If the latest revision of the given Consent is in the `REVOKED` state, no new revision is committed.", +"id": "RevokeConsentRequest", +"properties": { +"consentArtifact": { +"description": "Optional. The resource name of the Consent artifact that contains proof of the user's revocation of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"RollbackFhirResourceFilteringFields": { +"id": "RollbackFhirResourceFilteringFields", +"properties": { +"metadataFilter": { +"description": "Optional. A filter expression that matches data in the `Resource.meta` element. Supports all filters in [AIP-160](https://google.aip.dev/160) except the \"has\" (`:`) operator. Supports the following custom functions: * `tag(\"\") = \"\"` for tag filtering. * `extension_value_ts(\"\") = ` for filtering extensions with a timestamp, where `` is a Unix timestamp. Supports the `>`, `<`, `<=`, `>=`, and `!=` comparison operators.", +"type": "string" +}, +"operationIds": { +"description": "Optional. A list of operation IDs to roll back.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackFhirResourcesRequest": { +"id": "RollbackFhirResourcesRequest", +"properties": { +"changeType": { +"description": "Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ALL", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"When unspecified, revert all transactions", +"All transactions", +"Revert only CREATE transactions", +"Revert only Update transactions", +"Revert only Delete transactions" +], +"type": "string" +}, +"excludeRollbacks": { +"description": "Optional. Specifies whether to exclude earlier rollbacks.", +"type": "boolean" +}, +"filteringFields": { +"$ref": "RollbackFhirResourceFilteringFields", +"description": "Optional. Parameters for filtering resources" +}, +"force": { +"description": "Optional. When enabled, changes will be reverted without explicit confirmation", +"type": "boolean" +}, +"inputGcsObject": { +"description": "Optional. Cloud Storage object containing list of {resourceType}/{resourceId} lines, identifying resources to be reverted", +"type": "string" +}, +"resultGcsBucket": { +"description": "Required. Bucket to deposit result", +"type": "string" +}, +"rollbackTime": { +"description": "Required. Time point to rollback to.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Optional. If specified, revert only resources of these types", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackFhirResourcesResponse": { +"description": "Final response of rollback FIHR resources request.", +"id": "RollbackFhirResourcesResponse", +"properties": { +"fhirStore": { +"description": "The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", +"type": "string" +} +}, +"type": "object" +}, +"RollbackHL7MessagesFilteringFields": { +"description": "Filtering fields for an HL7v2 rollback. Currently only supports a list of operation ids to roll back.", +"id": "RollbackHL7MessagesFilteringFields", +"properties": { +"operationIds": { +"description": "Optional. A list of operation IDs to roll back.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackHl7V2MessagesRequest": { +"description": "Point in time recovery rollback request.", +"id": "RollbackHl7V2MessagesRequest", +"properties": { +"changeType": { +"description": "Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ALL", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"When unspecified, revert all transactions", +"All transactions", +"Revert only CREATE transactions", +"Revert only Update transactions", +"Revert only Delete transactions" +], +"type": "string" +}, +"excludeRollbacks": { +"description": "Optional. Specifies whether to exclude earlier rollbacks.", +"type": "boolean" +}, +"filteringFields": { +"$ref": "RollbackHL7MessagesFilteringFields", +"description": "Optional. Parameters for filtering." +}, +"force": { +"description": "Optional. When enabled, changes will be reverted without explicit confirmation.", +"type": "boolean" +}, +"inputGcsObject": { +"description": "Optional. Cloud storage object containing list of {resourceId} lines, identifying resources to be reverted", +"type": "string" +}, +"resultGcsBucket": { +"description": "Required. Bucket to deposit result", +"type": "string" +}, +"rollbackTime": { +"description": "Required. Times point to rollback to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RollbackHl7V2MessagesResponse": { +"description": "Final response of rollback HL7v2 messages request.", +"id": "RollbackHl7V2MessagesResponse", +"properties": { +"hl7v2Store": { +"description": "The name of the HL7v2 store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7v2Stores/{hl7v2_store_id}\".", +"type": "string" +} +}, +"type": "object" +}, +"SchemaConfig": { +"description": "Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.", +"id": "SchemaConfig", +"properties": { +"lastUpdatedPartitionConfig": { +"$ref": "TimePartitioning", +"description": "The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column." +}, +"recursiveStructureDepth": { +"description": "The depth for all recursive structures in the output analytics schema. For example, `concept` in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called `concept.concept` but not `concept.concept.concept`. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.", +"format": "int64", +"type": "string" +}, +"schemaType": { +"description": "Specifies the output schema type. Schema type is required.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"ANALYTICS", +"ANALYTICS_V2" +], +"enumDescriptions": [ +"No schema type specified. This type is unsupported.", +"Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource. Additionally, extensions with a URL ending in \"/{existing_resource_field_name}\" may cause undefined behavior.", +"Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Extensions with a URL ending in \"/{existing_resource_field_name}\" will cause conflict and prevent the resource from being sent to BigQuery. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaFlattened": { +"description": "Using this field will flatten the DICOM instances into a BigQuery table. The table will have one column for each DICOM tag. The column name will be the DICOM tag's textual representation.", +"id": "SchemaFlattened", +"properties": {}, +"type": "object" +}, +"SchemaGroup": { +"description": "An HL7v2 logical group construct.", +"id": "SchemaGroup", +"properties": { +"choice": { +"description": "True indicates that this is a choice group, meaning that only one of its segments can exist in a given message.", +"type": "boolean" +}, +"maxOccurs": { +"description": "The maximum number of times this group can be repeated. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"members": { +"description": "Nested groups and/or segments.", +"items": { +"$ref": "GroupOrSegment" +}, +"type": "array" +}, +"minOccurs": { +"description": "The minimum number of times this group must be present/repeated.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of this group. For example, \"ORDER_DETAIL\".", +"type": "string" +} +}, +"type": "object" +}, +"SchemaJSON": { +"description": "Using this field will set the schema such that all DICOM tags will be included in the BigQuery table as a single JSON type column. The BigQuery table schema will include the following columns: * `StudyInstanceUID` (Type: STRING): DICOM Tag 0020000D. * `SeriesInstanceUID` (Type: STRING): DICOM Tag 0020000E. * `SOPInstanceUID` (Type: STRING): DICOM Tag 00080018. * `SourceDicomStore` (Type: STRING): The name of the source DICOM store. This field is only included if the `include_source_store` option is set to true. * `Metadata` (Type: JSON): All DICOM tags for the instance, stored in a single JSON object. * `StructuredStorageSize` (Type: INTEGER): Size of the structured storage in bytes. * `DroppedTags` (Type: STRING, Repeated: Yes): List of tags that were dropped during the conversion. * `StorageClass` (Type: STRING): The storage class of the instance. * `LastUpdated` (Type: TIMESTAMP): Timestamp of the last update to the instance. * `BlobStorageSize` (Type: INTEGER): Size of the blob storage in bytes. * `Type` (Type: STRING): Indicates the type of operation (e.g., INSERT, DELETE).", +"id": "SchemaJSON", +"properties": {}, +"type": "object" +}, +"SchemaPackage": { +"description": "A schema package contains a set of schemas and type definitions.", +"id": "SchemaPackage", +"properties": { +"ignoreMinOccurs": { +"description": "Optional. Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent.", +"type": "boolean" +}, +"schemas": { +"description": "Optional. Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and trigger event if their VersionSources all match an incoming message.", +"items": { +"$ref": "Hl7SchemaConfig" +}, +"type": "array" +}, +"schematizedParsingType": { +"description": "Optional. Determines how messages that fail to parse are handled.", +"enum": [ +"SCHEMATIZED_PARSING_TYPE_UNSPECIFIED", +"SOFT_FAIL", +"HARD_FAIL" +], +"enumDescriptions": [ +"Unspecified schematized parsing type, equivalent to `SOFT_FAIL`.", +"Messages that fail to parse are still stored and ACKed but a parser error is stored in place of the schematized data.", +"Messages that fail to parse are rejected from ingestion/insertion and return an error code." +], +"type": "string" +}, +"types": { +"description": "Optional. Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type name if their VersionSources all match an incoming message.", +"items": { +"$ref": "Hl7TypesConfig" +}, +"type": "array" +}, +"unexpectedSegmentHandling": { +"description": "Optional. Determines how unexpected segments (segments not matched to the schema) are handled.", +"enum": [ +"UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED", +"FAIL", +"SKIP", +"PARSE" +], +"enumDescriptions": [ +"Unspecified handling mode, equivalent to FAIL.", +"Unexpected segments fail to parse and return an error.", +"Unexpected segments do not fail, but are omitted from the output.", +"Unexpected segments do not fail, but are parsed in place and added to the current group. If a segment has a type definition, it is used, otherwise it is parsed as VARIES." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaSegment": { +"description": "An HL7v2 Segment.", +"id": "SchemaSegment", +"properties": { +"maxOccurs": { +"description": "The maximum number of times this segment can be present in this group. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"minOccurs": { +"description": "The minimum number of times this segment can be present in this group.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The Segment type. For example, \"PID\".", +"type": "string" +} +}, +"type": "object" +}, +"SchematizedData": { +"description": "The content of an HL7v2 message in a structured format as specified by a schema.", +"id": "SchematizedData", +"properties": { +"data": { +"description": "JSON output of the parser.", +"type": "string" +}, +"error": { +"description": "The error output of the parser.", +"type": "string" +} +}, +"type": "object" +}, +"Segment": { +"description": "A segment in a structured format.", +"id": "Segment", +"properties": { +"fields": { +"additionalProperties": { +"type": "string" +}, +"description": "A mapping from the positional location to the value. The key string uses zero-based indexes separated by dots to identify Fields, components and sub-components. A bracket notation is also used to identify different instances of a repeated field. Regex for key: (\\d+)(\\[\\d+\\])?(.\\d+)?(.\\d+)? Examples of (key, value) pairs: * (0.1, \"hemoglobin\") denotes that the first component of Field 0 has the value \"hemoglobin\". * (1.1.2, \"CBC\") denotes that the second sub-component of the first component of Field 1 has the value \"CBC\". * (1[0].1, \"HbA1c\") denotes that the first component of the first Instance of Field 1, which is repeated, has the value \"HbA1c\".", +"type": "object" +}, +"segmentId": { +"description": "A string that indicates the type of segment. For example, EVN or PID.", +"type": "string" +}, +"setId": { +"description": "Set ID for segments that can be in a set. This can be empty if it's missing or isn't applicable.", +"type": "string" +} +}, +"type": "object" +}, +"SeriesMetrics": { +"description": "SeriesMetrics contains metrics describing a DICOM series.", +"id": "SeriesMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the series.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the series.", +"format": "int64", +"type": "string" +}, +"series": { +"description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the series.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SetBlobStorageSettingsRequest": { +"description": "Request message for `SetBlobStorageSettings` method.", +"id": "SetBlobStorageSettingsRequest", +"properties": { +"blobStorageSettings": { +"$ref": "BlobStorageSettings", +"description": "The blob storage settings to update for the specified resources. Only fields listed in `update_mask` are applied." +}, +"filterConfig": { +"$ref": "DicomFilterConfig", +"description": "Optional. A filter configuration. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`." +} +}, +"type": "object" +}, +"SetBlobStorageSettingsResponse": { +"description": "Returns additional info in regards to a completed set blob storage settings API.", +"id": "SetBlobStorageSettingsResponse", +"properties": {}, +"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" +}, +"Signature": { +"description": "User signature.", +"id": "Signature", +"properties": { +"image": { +"$ref": "Image", +"description": "Optional. An image of the user's signature." +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.", +"type": "object" +}, +"signatureTime": { +"description": "Optional. Timestamp of the signature.", +"format": "google-datetime", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageInfo": { +"description": "StorageInfo encapsulates all the storage info of a resource.", +"id": "StorageInfo", +"properties": { +"blobStorageInfo": { +"$ref": "BlobStorageInfo", +"description": "Info about the data stored in blob storage for the resource." +}, +"referencedResource": { +"description": "The resource whose storage info is returned. For example: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`", +"type": "string" +}, +"structuredStorageInfo": { +"$ref": "StructuredStorageInfo", +"description": "Info about the data stored in structured storage for the resource." +} +}, +"type": "object" +}, +"StreamConfig": { +"description": "Contains configuration for streaming FHIR export.", +"id": "StreamConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1FhirBigQueryDestination", +"description": "Optional. The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types. For example, \"Patient\", \"Observation\". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data is not streamed. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging))." +}, +"deidentifiedStoreDestination": { +"$ref": "DeidentifiedStoreDestination", +"description": "The destination FHIR store for de-identified resources. After this field is added, all subsequent creates/updates/patches to the source store will be de-identified using the provided configuration and applied to the destination store. Resources deleted from the source store will be deleted from the destination store. Importing resources to the source store will not trigger the streaming. If the source store already contains resources when this option is enabled, those resources will not be copied to the destination store unless they are subsequently updated. This may result in invalid references in the destination store. Before adding this config, you must grant the healthcare.fhirResources.update permission on the destination store to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#the_cloud_healthcare_service_agent). The destination store must set enable_update_create to true. The destination store must have disable_referential_integrity set to true. If a resource cannot be de-identified, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Not supported for R5 stores." +}, +"resourceTypes": { +"description": "Optional. Supply a FHIR resource type (such as \"Patient\" or \"Observation\"). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StructuredStorageInfo": { +"description": "StructuredStorageInfo contains details about the data stored in Structured Storage for the referenced resource.", +"id": "StructuredStorageInfo", +"properties": { +"sizeBytes": { +"description": "Size in bytes of data stored in structured storage.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StudyMetrics": { +"description": "StudyMetrics contains metrics describing a DICOM study.", +"id": "StudyMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the study.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the study.", +"format": "int64", +"type": "string" +}, +"seriesCount": { +"description": "Number of series in the study.", +"format": "int64", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the study.", +"format": "int64", +"type": "string" +}, +"study": { +"description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", +"type": "string" +} +}, +"type": "object" +}, +"TagFilterList": { +"description": "List of tags to be filtered.", +"id": "TagFilterList", +"properties": { +"tags": { +"description": "Optional. Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: https://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by \"Keyword\" or \"Tag\". For example \"PatientID\", \"00100010\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"TextConfig": { +"id": "TextConfig", +"properties": { +"additionalTransformations": { +"description": "Optional. Transformations to apply to the detected data, overridden by `exclude_info_types`.", +"items": { +"$ref": "InfoTypeTransformation" +}, +"type": "array" +}, +"excludeInfoTypes": { +"description": "Optional. InfoTypes to skip transforming, overriding `additional_transformations`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"transformations": { +"description": "Optional. The transformations to apply to the detected data. Deprecated. Use `additional_transformations` instead.", +"items": { +"$ref": "InfoTypeTransformation" +}, +"type": "array" +} +}, +"type": "object" +}, +"TextSpan": { +"description": "A span of text in the provided document.", +"id": "TextSpan", +"properties": { +"beginOffset": { +"description": "The unicode codepoint index of the beginning of this span.", +"format": "int32", +"type": "integer" +}, +"content": { +"description": "The original text contained in this span.", +"type": "string" +} +}, +"type": "object" +}, +"TimePartitioning": { +"description": "Configuration for FHIR BigQuery time-partitioned tables.", +"id": "TimePartitioning", +"properties": { +"expirationMs": { +"description": "Number of milliseconds for which to keep the storage for a partition.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of partitioning.", +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"HOUR", +"DAY", +"MONTH", +"YEAR" +], +"enumDescriptions": [ +"Default unknown time.", +"Data partitioned by hour.", +"Data partitioned by day.", +"Data partitioned by month.", +"Data partitioned by year." +], +"type": "string" +} +}, +"type": "object" +}, +"TimeRange": { +"description": "Apply consents given by patients whose most recent consent changes are in the time range. Note that after identifying these patients, the server applies all Consent resources given by those patients, not just the Consent resources within the timestamp in the range.", +"id": "TimeRange", +"properties": { +"end": { +"description": "Optional. The latest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the time when ApplyConsents was called.", +"type": "string" +}, +"start": { +"description": "Optional. The earliest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the FHIR store creation time.", +"type": "string" +} +}, +"type": "object" +}, +"Type": { +"description": "A type definition for some HL7v2 type (incl. Segments and Datatypes).", +"id": "Type", +"properties": { +"fields": { +"description": "The (sub) fields this type has (if not primitive).", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The name of this type. This would be the segment or datatype name. For example, \"PID\" or \"XPN\".", +"type": "string" +}, +"primitive": { +"description": "If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types.", +"enum": [ +"PRIMITIVE_UNSPECIFIED", +"STRING", +"VARIES", +"UNESCAPED_STRING" +], +"enumDescriptions": [ +"Not a primitive.", +"String primitive.", +"Element that can have unschematized children.", +"Like STRING, but all delimiters below this element are ignored." +], +"type": "string" +} +}, +"type": "object" +}, +"UserDataMapping": { +"description": "Maps a resource to the associated user and Attributes.", +"id": "UserDataMapping", +"properties": { +"archiveTime": { +"description": "Output only. Indicates the time when this mapping was archived.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"archived": { +"description": "Output only. Indicates whether this mapping is archived.", +"readOnly": true, +"type": "boolean" +}, +"dataId": { +"description": "Required. A unique identifier for the mapped resource.", +"type": "string" +}, +"name": { +"description": "Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.", +"type": "string" +}, +"resourceAttributes": { +"description": "Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field \"values\" in each Attribute.", +"items": { +"$ref": "Attribute" +}, +"type": "array" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ValidationConfig": { +"description": "Contains the configuration for FHIR profiles and validation.", +"id": "ValidationConfig", +"properties": { +"disableFhirpathValidation": { +"description": "Optional. Whether to disable FHIRPath validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"disableProfileValidation": { +"description": "Optional. Whether to disable profile validation for this FHIR store. The default value is false. Set this to true to disable checking incoming resources for conformance against structure definitions in this FHIR store.", +"type": "boolean" +}, +"disableReferenceTypeValidation": { +"description": "Optional. Whether to disable reference type validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against reference type requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"disableRequiredFieldValidation": { +"description": "Optional. Whether to disable required fields validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against required fields requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"enableFhirpathProfileValidation": { +"description": "Optional. Whether to enable FHIRPath validation for incoming resource types that have profiles configured for them in the `enabled_implementation_guides` list. Set this to true to enable checking incoming resources for conformance against FHIRPath requirements defined in the configured profiles.", +"type": "boolean" +}, +"enabledImplementationGuides": { +"description": "Optional. A list of implementation guide URLs in this FHIR store that are used to configure the profiles to use for validation. For example, to use the US Core profiles for validation, set `enabled_implementation_guides` to `[\"http://hl7.org/fhir/us/core/ImplementationGuide/ig\"]`. If `enabled_implementation_guides` is empty or omitted, then incoming resources are only required to conform to the base FHIR profiles. Otherwise, a resource must conform to at least one profile listed in the `global` property of one of the enabled ImplementationGuides. The Cloud Healthcare API does not currently enforce all of the rules in a StructureDefinition. The following rules are supported: - min/max - minValue/maxValue - maxLength - type - fixed[x] - pattern[x] on simple types - slicing, when using \"value\" as the discriminator type - FHIRPath constraints (only when `enable_fhirpath_profile_validation` is true) When a URL cannot be resolved (for example, in a type assertion), the server does not return an error.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VersionSource": { +"description": "Describes a selector for extracting and matching an MSH field to a value.", +"id": "VersionSource", +"properties": { +"mshField": { +"description": "The field to extract from the MSH segment. For example, \"3.1\" or \"18[1].1\".", +"type": "string" +}, +"value": { +"description": "The value to match with the field. For example, \"My Application Name\" or \"2.3\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Healthcare API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..2fc87246f10065bc19679f4747332bcc2d38c894 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json @@ -0,0 +1,10189 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-healthcare": { +"description": "Read, write and manage healthcare data" +}, +"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://healthcare.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Healthcare", +"description": "Manage, store, and access healthcare data in Google Cloud Platform.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/healthcare", +"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": "healthcare:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://healthcare.mtls.googleapis.com/", +"name": "healthcare", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "healthcare.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"datasets": { +"methods": { +"create": { +"description": "Creates a new health dataset. Results are returned through the Operation interface which returns either an `Operation.response` which contains a Dataset or `Operation.error`. The metadata field type is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"datasetId": { +"description": "Required. The ID of the dataset that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project where the server creates the dataset. For example, `projects/{project_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/datasets", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifySummary. The LRO result may still be successful if de-identification fails for some resources. The new de-identified dataset will not contain these failed resources. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.deidentify", +"parameterOrder": [ +"sourceDataset" +], +"parameters": { +"sourceDataset": { +"description": "Required. Source dataset resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. R5 FHIR stores are not supported and will be skipped.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+sourceDataset}:deidentify", +"request": { +"$ref": "DeidentifyDatasetRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified health dataset and all data contained in the dataset. Deleting a dataset does not affect the sources from which the dataset was imported (if any).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the dataset to delete. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets any metadata associated with a dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the dataset to read. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the health datasets in the current project.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of items to return. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project whose datasets should be listed. For example, `projects/{project_id}/locations/{location_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/datasets", +"response": { +"$ref": "ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates dataset metadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.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/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"consentStores": { +"methods": { +"checkDataAccess": { +"description": "Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:checkDataAccess", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.checkDataAccess", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store where the requested data_id is stored, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+consentStore}:checkDataAccess", +"request": { +"$ref": "CheckDataAccessRequest" +}, +"response": { +"$ref": "CheckDataAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"consentStoreId": { +"description": "Required. The ID of the consent store to create. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`. Cannot be changed after creation.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this consent store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consentStores", +"request": { +"$ref": "ConsentStore" +}, +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified consent store and removes all the consent store's data.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the consent store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"evaluateUserConsents": { +"description": "Evaluates the user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, which can cause a slight delay between the time mappings are created or updated and when they are included in EvaluateUserConsents results.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:evaluateUserConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.evaluateUserConsents", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+consentStore}:evaluateUserConsents", +"request": { +"$ref": "EvaluateUserConsentsRequest" +}, +"response": { +"$ref": "EvaluateUserConsentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the consent store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the consent stores in the specified dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported. For example, `filter=labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of consent stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consentStores", +"response": { +"$ref": "ListConsentStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the consent store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `labels`, `default_consent_ttl`, and `enable_consent_create_on_update` fields are allowed to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "ConsentStore" +}, +"response": { +"$ref": "ConsentStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryAccessibleData": { +"description": "Queries all data_ids that are consented for a specified use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. If the request is successful, a detailed response is returned of type QueryAccessibleDataResponse, contained in the response field when the operation finishes. The metadata field type is OperationMetadata. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). For example, the following sample log entry shows a `failed to evaluate consent policy` error that occurred during a QueryAccessibleData call to consent store `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. ```json jsonPayload: { @type: \"type.googleapis.com/google.cloud.healthcare.logging.QueryAccessibleDataLogEntry\" error: { code: 9 message: \"failed to evaluate consent policy\" } resourceName: \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}\" } logName: \"projects/{project_id}/logs/healthcare.googleapis.com%2Fquery_accessible_data\" operation: { id: \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/operations/{operation_id}\" producer: \"healthcare.googleapis.com/QueryAccessibleData\" } receiveTimestamp: \"TIMESTAMP\" resource: { labels: { consent_store_id: \"{consent_store_id}\" dataset_id: \"{dataset_id}\" location: \"{location_id}\" project_id: \"{project_id}\" } type: \"healthcare_consent_store\" } severity: \"ERROR\" timestamp: \"TIMESTAMP\" ```", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:queryAccessibleData", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.queryAccessibleData", +"parameterOrder": [ +"consentStore" +], +"parameters": { +"consentStore": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+consentStore}:queryAccessibleData", +"request": { +"$ref": "QueryAccessibleDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.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/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributeDefinitions": { +"methods": { +"create": { +"description": "Creates a new Attribute definition in the parent consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"attributeDefinitionId": { +"description": "Required. The ID of the Attribute definition to create. The string must match the following regex: `_a-zA-Z{0,255}` and must not be a reserved keyword within the Common Expression Language as listed on https://github.com/google/cel-spec/blob/master/doc/langdef.md.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the consent store that this Attribute definition belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/attributeDefinitions", +"request": { +"$ref": "AttributeDefinition" +}, +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Attribute definition to delete. To preserve referential integrity, Attribute definitions referenced by a User data mapping or the latest revision of a Consent cannot be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Attribute definition.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Attribute definition to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Attribute definitions in the specified consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the attributes returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The only field available for filtering is `category`. For example, `filter=category=\\\"REQUEST\\\"`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of Attribute definitions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve Attribute definitions from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/attributeDefinitions", +"response": { +"$ref": "ListAttributeDefinitionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified Attribute definition.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.attributeDefinitions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/attributeDefinitions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `description`, `allowed_values`, `consent_default_values` and `data_mapping_default_value` fields can be updated. The updated `allowed_values` must contain all values from the previous `allowed_values`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "AttributeDefinition" +}, +"response": { +"$ref": "AttributeDefinition" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"consentArtifacts": { +"methods": { +"create": { +"description": "Creates a new Consent artifact in the parent consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the consent store this Consent artifact belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consentArtifacts", +"request": { +"$ref": "ConsentArtifact" +}, +"response": { +"$ref": "ConsentArtifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts/{consentArtifactsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent artifact to delete. To preserve referential integrity, Consent artifacts referenced by the latest revision of a Consent cannot be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consentArtifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Consent artifact.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts/{consentArtifactsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent artifact to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consentArtifacts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "ConsentArtifact" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Consent artifacts in the specified consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consentArtifacts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the artifacts returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - user_id. For example, `filter=user_id=\\\"user123\\\"`. - consent_content_version - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of consent artifacts to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve consent artifacts from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consentArtifacts", +"response": { +"$ref": "ListConsentArtifactsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"consents": { +"methods": { +"activate": { +"description": "Activates the latest revision of the specified Consent by committing a new revision with `state` updated to `ACTIVE`. If the latest revision of the specified Consent is in the `ACTIVE` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified consent is in the `REJECTED` or `REVOKED` state.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:activate", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.activate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to activate, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:activate", +"request": { +"$ref": "ActivateConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Consent in the parent consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the consent store.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consents", +"request": { +"$ref": "Consent" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the Consent and its revisions. To keep a record of the Consent but mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [DeleteConsentRevision]. This operation does not delete the related Consent artifact.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consents.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to delete, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteRevision": { +"description": "Deletes the specified revision of a Consent. An INVALID_ARGUMENT error occurs if the specified revision is the latest revision.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:deleteRevision", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.consents.deleteRevision", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent revision to delete, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is not specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:deleteRevision", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified revision of a Consent, or the latest revision if `revision_id` is not specified in the resource name.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to retrieve, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. In order to retrieve a previous revision of the Consent, also provide the revision ID: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Consent in the given consent store, returning each Consent's latest revision.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the consents returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - user_id. For example, `filter='user_id=\"user123\"'`. - consent_artifact - state - revision_create_time - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of Consents to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve Consents from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/consents", +"response": { +"$ref": "ListConsentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listRevisions": { +"description": "Lists the revisions of the specified Consent in reverse chronological order.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:listRevisions", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.consents.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the revisions returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: - user_id. For example, `filter='user_id=\"user123\"'`. - consent_artifact - state - revision_create_time - metadata. For example, `filter=Metadata(\\\"testkey\\\")=\\\"value\\\"` or `filter=HasMetadata(\\\"testkey\\\")`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the Consent to retrieve revisions for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of revisions to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results or empty if there are no more results in the list.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:listRevisions", +"response": { +"$ref": "ListConsentRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the latest revision of the specified Consent by committing a new revision with the changes. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `REJECTED` or `REVOKED` state.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.consents.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be changed after creation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask to apply to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `user_id`, `policies`, `consent_artifact`, and `metadata` fields can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Consent" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reject": { +"description": "Rejects the latest revision of the specified Consent by committing a new revision with `state` updated to `REJECTED`. If the latest revision of the specified Consent is in the `REJECTED` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `ACTIVE` or `REVOKED` state.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:reject", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.reject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to reject, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:reject", +"request": { +"$ref": "RejectConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"revoke": { +"description": "Revokes the latest revision of the specified Consent by committing a new revision with `state` updated to `REVOKED`. If the latest revision of the specified Consent is in the `REVOKED` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in `DRAFT` or `REJECTED` state.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:revoke", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.consents.revoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Consent to revoke, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. An INVALID_ARGUMENT error occurs if `revision_id` is specified in the name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/consents/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:revoke", +"request": { +"$ref": "RevokeConsentRequest" +}, +"response": { +"$ref": "Consent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"userDataMappings": { +"methods": { +"archive": { +"description": "Archives the specified User data mapping.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}:archive", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.archive", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to archive.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:archive", +"request": { +"$ref": "ArchiveUserDataMappingRequest" +}, +"response": { +"$ref": "ArchiveUserDataMappingResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new User data mapping in the parent consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the consent store.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userDataMappings", +"request": { +"$ref": "UserDataMapping" +}, +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified User data mapping.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified User data mapping.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the User data mapping to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the User data mappings in the specified consent store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Restricts the user data mappings returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The fields available for filtering are: - data_id - user_id. For example, `filter=user_id=\\\"user123\\\"`. - archived - archive_time", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the consent store to retrieve User data mappings from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/userDataMappings", +"response": { +"$ref": "ListUserDataMappingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified User data mapping.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.consentStores.userDataMappings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/consentStores/[^/]+/userDataMappings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask that applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the `data_id`, `user_id` and `resource_attributes` fields can be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "UserDataMapping" +}, +"response": { +"$ref": "UserDataMapping" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"dataMapperWorkspaces": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dataMapperWorkspaces.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/[^/]+/datasets/[^/]+/dataMapperWorkspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"dicomStores": { +"methods": { +"create": { +"description": "Creates a new DICOM store within the parent dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dicomStoreId": { +"description": "Required. The ID of the DICOM store that is being created. Any string value up to 256 characters in length.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this DICOM store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomStores", +"request": { +"$ref": "DicomStore" +}, +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyDicomStoreSummary. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.deidentify", +"parameterOrder": [ +"sourceStore" +], +"parameters": { +"sourceStore": { +"description": "Required. Source DICOM store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+sourceStore}:deidentify", +"request": { +"$ref": "DeidentifyDicomStoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified DICOM store and removes all images that are contained within it.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports data to the specified destination by copying it from the DICOM store. Errors are also logged to Cloud Logging. For more information, see [Viewing errors in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The DICOM store resource name from which to export the data. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportDicomDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified DICOM store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDICOMStoreMetrics": { +"description": "Gets metrics associated with the DICOM store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getDICOMStoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.getDICOMStoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the DICOM store to get metrics for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:getDICOMStoreMetrics", +"response": { +"$ref": "DicomStoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Imports data into the DICOM store by copying it from the specified source. Errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the DICOM store resource into which the data is imported. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:import", +"request": { +"$ref": "ImportDicomDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the DICOM stores in the given dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported. For example, `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of DICOM stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomStores", +"response": { +"$ref": "ListDicomStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the specified DICOM store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.dicomStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "DicomStore" +}, +"response": { +"$ref": "DicomStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForSeries": { +"description": "SearchForSeries returns a list of matching series. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForSeries, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/series", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", +"location": "path", +"pattern": "^series$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForStudies": { +"description": "SearchForStudies returns a list of matching studies. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForStudies, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForStudies, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.searchForStudies", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForStudies DICOMweb request. For example, `studies`.", +"location": "path", +"pattern": "^studies$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setBlobStorageSettings": { +"description": "SetBlobStorageSettings sets the blob storage settings of the specified resources.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:setBlobStorageSettings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.setBlobStorageSettings", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the resource to update the blob storage settings in the format of `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}`, `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/`, or `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setBlobStorageSettings", +"request": { +"$ref": "SetBlobStorageSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"storeInstances": { +"description": "StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see [Store transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see [Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.storeInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.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/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateInstances": { +"description": "UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.dicomStores.updateInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the UpdateInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"dicomWeb": { +"resources": { +"studies": { +"methods": { +"getStudyMetrics": { +"description": "GetStudyMetrics returns metrics for a study.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}:getStudyMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.getStudyMetrics", +"parameterOrder": [ +"study" +], +"parameters": { +"study": { +"description": "Required. The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+study}:getStudyMetrics", +"response": { +"$ref": "StudyMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setBlobStorageSettings": { +"description": "SetBlobStorageSettings sets the blob storage settings of the specified resources.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}:setBlobStorageSettings", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.setBlobStorageSettings", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the resource to update the blob storage settings in the format of `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}`, `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/`, or `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setBlobStorageSettings", +"request": { +"$ref": "SetBlobStorageSettingsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"series": { +"methods": { +"getSeriesMetrics": { +"description": "GetSeriesMetrics returns metrics for a series.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}:getSeriesMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.series.getSeriesMetrics", +"parameterOrder": [ +"series" +], +"parameters": { +"series": { +"description": "Required. The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+series}:getSeriesMetrics", +"response": { +"$ref": "SeriesMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"getStorageInfo": { +"description": "GetStorageInfo returns the storage info of the specified resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}:getStorageInfo", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.dicomWeb.studies.series.instances.getStorageInfo", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The path of the instance to return storage info for, in the form: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+/dicomWeb/studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getStorageInfo", +"response": { +"$ref": "StorageInfo" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"studies": { +"methods": { +"delete": { +"description": "DeleteStudy deletes all instances within the given study using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a study that is being deleted by an operation until the operation completes. For samples that show how to call DeleteStudy, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteStudy request. For example, `studies/{study_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveStudyMetadata returns instance associated with the given study presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudyMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudyMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveStudyMetadata DICOMweb request. For example, `studies/{study_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveStudy": { +"description": "RetrieveStudy returns all instances within the given study. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudy, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudy, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.retrieveStudy", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveStudy DICOMweb request. For example, `studies/{study_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^studies/[^/]+/instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForSeries": { +"description": "SearchForSeries returns a list of matching series. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForSeries, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.searchForSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForSeries DICOMweb request. For example, `series` or `studies/{study_uid}/series`.", +"location": "path", +"pattern": "^studies/[^/]+/series$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"storeInstances": { +"description": "StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see [Store transaction](https://cloud.google.com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see [Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#store-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.storeInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the StoreInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateInstances": { +"description": "UpdateInstances updates DICOM instances associated with study instance unique identifiers (SUID).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.updateInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the UpdateInstances DICOMweb request. For example, `studies/[{study_uid}]`. Note that the `study_uid` is optional.", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMetadata": { +"description": "UpdateStudyMetadata modifies the metadata of all instances in the given study. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the study.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/metadata", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.updateMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the UpdateStudyMetadata request (for example, `studies/{study_uid}`).", +"location": "path", +"pattern": "^studies/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed (for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"series": { +"methods": { +"delete": { +"description": "DeleteSeries deletes all instances within the given study and series using a long running operation. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a series that is being deleted by an operation until the operation completes. For samples that show how to call DeleteSeries, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteSeries request. For example, `studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveSeries": { +"description": "RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.retrieveSeries", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveSeries DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"searchForInstances": { +"description": "SearchForInstances returns a list of matching instances. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of SearchForInstances, see [Search transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#search-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.searchForInstances", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the SearchForInstancesRequest DICOMweb request. For example, `instances`, `studies/{study_uid}/series/{series_uid}/instances`, or `studies/{study_uid}/instances`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMetadata": { +"description": "UpdateSeriesMetadata modifies the metadata of all instances in the given series. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of all instances within the series.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/metadata", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.updateMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the UpdateSeriesMetadata request (for example, `studies/{study_uid}/series/{series_uid}`).", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed (for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"delete": { +"description": "DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see [Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.delete", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the DeleteInstance request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveInstance": { +"description": "RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-instance).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveInstance", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveMetadata": { +"description": "RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/metadata$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRendered": { +"description": "RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/rendered", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.retrieveRendered", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveRenderedInstance DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/rendered$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"viewport": { +"description": "Optional. The viewport setting to use as specified in https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMetadata": { +"description": "UpdateInstanceMetadata modifies the metadata of a single instance. The request body must contain a JSON Patch document specifying the updates to be applied to the metadata of the instance.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/metadata", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.updateMetadata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the UpdateInstanceMetadata request (for example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`).", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed (for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`).", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}/metadata", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"bulkdata": { +"methods": { +"retrieveBulkdata": { +"description": "Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See [Retrieve Transaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/bulkdata/{bulkdataId}/{bulkdataId1}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.bulkdata.retrieveBulkdata", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path for the `RetrieveBulkdata` DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/bulkdata/[^/]+/.*$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"frames": { +"methods": { +"retrieveFrames": { +"description": "RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see [Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-dicom).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/frames/{framesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveFrames", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"retrieveRendered": { +"description": "RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction](https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}/dicomWeb/studies/{studiesId}/series/{seriesId}/instances/{instancesId}/frames/{framesId}/rendered", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.dicomStores.studies.series.instances.frames.retrieveRendered", +"parameterOrder": [ +"parent", +"dicomWebPath" +], +"parameters": { +"dicomWebPath": { +"description": "Required. The path of the RetrieveRenderedFrames DICOMweb request. For example, `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered`.", +"location": "path", +"pattern": "^studies/[^/]+/series/[^/]+/instances/[^/]+/frames/[^/]+/rendered$", +"required": true, +"type": "string" +}, +"parent": { +"description": "Required. The name of the DICOM store that is being accessed. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/dicomStores/[^/]+$", +"required": true, +"type": "string" +}, +"viewport": { +"description": "Optional. The viewport setting to use as specified in https://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/dicomWeb/{+dicomWebPath}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +}, +"fhirStores": { +"methods": { +"applyAdminConsents": { +"description": "Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in the FHIR store according to the aggregate consents. This method also updates the `consent_config.enforced_admin_consents` field of the FhirStore unless `validate_only=true` in ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution (including deletion) requires you to call ApplyAdminConsents again for the change to take effect. This method returns an Operation that can be used to track the progress of the resources that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse additionally contains the number of resources that were reindexed. If at least one Consent resource contains an error or fails be be enforced for any reason, the method returns an error instead of an Operation. No resources will be reindexed and the `consent_config.enforced_admin_consents` field will be unchanged. To enforce a consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyAdminConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.applyAdminConsents", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:applyAdminConsents", +"request": { +"$ref": "ApplyAdminConsentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"applyConsents": { +"description": "Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR store according to the aggregate consent. The aggregate consent of the patient in scope in this request replaces any previous call of this method. Any Consent resource change after this operation execution (including deletion) requires you to call ApplyConsents again to have effect. This method returns an Operation that can be used to track the progress of the consent resources that were processed by calling GetOperation. Upon completion, the ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To enforce consent check for data access, `consent_config.access_enforced` must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:applyConsents", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.applyConsents", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:applyConsents", +"request": { +"$ref": "ApplyConsentsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulk-export-group": { +"description": "Bulk exports a Group resource and resources in the member field, including related resources for each Patient member. The export for each Patient is identical to a GetPatientEverything request. Implements the FHIR implementation guide [$export group of patients](https://build.fhir.org/ig/HL7/bulk-data/export.html#endpoint---group-of-patients). The following headers must be set in the request: * `Accept`: specifies the format of the `OperationOutcome` response. Only `application/fhir+json` is supported. * `Prefer`: specifies whether the response is immediate or asynchronous. Must be to `respond-async` because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * `_type`: string of comma-delimited FHIR resource types. If provided, only resources of the specified type(s) are exported. * `_since`: if provided, only resources updated after the specified time are exported. * `_outputFormat`: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. * `organizeOutputBy`: resource type to organize the output by. Required and must be set to `Patient`. When specified, output files are organized by instances of the specified resource type, including the resource, referenced resources, and resources that contain references to that resource. On success, the `Content-Location` header of response is set to a URL that you can use to query the status of the export. The URL is in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}`. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Group/{GroupId}/$export", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.bulk-export-group", +"parameterOrder": [ +"name" +], +"parameters": { +"_since": { +"description": "Optional. If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the `Group` resource that is exported, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Group/[^/]+$", +"required": true, +"type": "string" +}, +"organizeOutputBy": { +"description": "Required. The FHIR resource type used to organize exported resources. Only supports \"Patient\". When organized by Patient resource, output files are grouped as follows: * Patient file(s) containing the Patient resources. Each Patient is sequentially followed by all resources the Patient references, and all resources that reference the Patient (equivalent to a GetPatientEverything request). * Individual files grouped by resource type for resources in the Group's member field and the Group resource itself. Resources may be duplicated across multiple Patients. For example, if two Patient resources reference the same Organization resource, it will appear twice, once after each Patient. The Group resource from the request does not appear in the Patient files.", +"location": "query", +"type": "string" +}, +"outputFormat": { +"description": "Optional. Output format of the export. This field is optional and only `application/fhir+ndjson` is supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/$export", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulkDelete": { +"description": "Bulk deletes the FHIR resources from the given FHIR store. This method returns an Operation that can be used to track the progress of the deletion by calling GetOperation. The success and secondary_success counters correspond to the deleted current version and historical versions, respectively.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:bulkDelete", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.bulkDelete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to bulk delete resources from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:bulkDelete", +"request": { +"$ref": "BulkDeleteResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"configureSearch": { +"description": "Configure the search parameters for the FHIR store and reindex resources in the FHIR store according to the defined search parameters. The search parameters provided in this request will replace any previous search configuration. The target SearchParameter resources need to exist in the store before calling ConfigureSearch, otherwise an error will occur. This method returns an Operation that can be used to track the progress of the reindexing by calling GetOperation.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:configureSearch", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.configureSearch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to configure, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:configureSearch", +"request": { +"$ref": "ConfigureSearchRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new FHIR store within the parent dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"fhirStoreId": { +"description": "Required. The ID of the FHIR store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this FHIR store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhirStores", +"request": { +"$ref": "FhirStore" +}, +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deidentify": { +"description": "De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyFhirStoreSummary. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:deidentify", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.deidentify", +"parameterOrder": [ +"sourceStore" +], +"parameters": { +"sourceStore": { +"description": "Required. Source FHIR store resource name. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. R5 stores are not supported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+sourceStore}:deidentify", +"request": { +"$ref": "DeidentifyFhirStoreRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified FHIR store and removes all resources within it.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"explainDataAccess": { +"description": "Explains all the permitted/denied actor, purpose and environment for a given resource. FHIR Consent is not supported in DSTU2 or R5.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:explainDataAccess", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.explainDataAccess", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to enforce, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceId": { +"description": "Required. The ID (`{resourceType}/{id}`) of the resource to explain data access on.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:explainDataAccess", +"response": { +"$ref": "ExplainDataAccessResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Export resources from the FHIR store to the specified destination. This method returns an Operation that can be used to track the status of the export by calling GetOperation. To improve performance, it is recommended to make the `type` filter as specific as possible, including only the resource types that are absolutely needed. This minimizes the size of the initial dataset to be processed and is the most effective way to improve performance. While post-filters like `_since` are useful for refining results, they do not speed up the initial data retrieval phase, which is primarily governed by the `type` filter. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to export resource from, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportHistory": { +"description": "Export resources including historical versions from the FHIR store to the specified destination. The exported resource, along with previous versions, will be exported in one or more FHIR history bundles. This method returns an Operation that can be used to track the status of the export by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:exportHistory", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.exportHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to export resource from, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:exportHistory", +"request": { +"$ref": "ExportResourcesHistoryRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the configuration of the specified FHIR store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getFHIRStoreMetrics": { +"description": "Gets metrics associated with the FHIR store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getFHIRStoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.getFHIRStoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the FHIR store to get metrics for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:getFHIRStoreMetrics", +"response": { +"$ref": "FhirStoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import resources to the FHIR store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some FHIR store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty FHIR store that is not being used by other clients. In cases where this method is not appropriate, consider using ExecuteBundle to load data. Every resource in the input must contain a client-supplied ID. Each resource is stored using the supplied ID regardless of the enable_update_create setting on the FHIR store. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Cloud Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The import process does not enforce referential integrity, regardless of the disable_referential_integrity setting on the FHIR store. This allows the import of resources with arbitrary interdependencies without considering grouping or ordering, but if the input data contains invalid references or if some resources fail to be imported, the FHIR store might be left in a state that violates referential integrity. The import process does not trigger Pub/Sub notification or BigQuery streaming update, regardless of how those are configured on the FHIR store. If a resource with the specified ID already exists, the most recent version of the resource is overwritten without creating a new historical version, regardless of the disable_resource_versioning setting on the FHIR store. If transient failures occur during the import, it is possible that successfully imported resources will be overwritten more than once. The import operation is idempotent unless the input data contains multiple valid resources with the same ID but different contents. In that case, after the import completes, the store contains exactly one resource with that ID but there is no ordering guarantee on which version of the contents it will have. The operation result counters do not count duplicate IDs as an error and count one success for each resource in the input, which might result in a success count larger than the number of resources in the FHIR store. This often occurs when importing data organized in bundles produced by Patient-everything where each bundle contains its own copy of a resource such as Practitioner that might be referred to by many patients. If some resources fail to import, for example due to parsing errors, successfully imported resources are not rolled back. The location and format of the input data are specified by the parameters in ImportResourcesRequest. Note that if no format is specified, this method assumes the `BUNDLE` format. When using the `BUNDLE` format this method ignores the `Bundle.type` field, except that `history` bundles are rejected, and does not apply any of the bundle processing semantics for batch or transaction bundles. Unlike in ExecuteBundle, transaction bundles are not executed as a single transaction and bundle-internal references are not rewritten. The bundle is treated as a collection of resources to be written as provided in `Bundle.entry.resource`, ignoring `Bundle.entry.request`. As an example, this allows the import of `searchset` bundles produced by a FHIR search or Patient-everything operation. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ImportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:import", +"request": { +"$ref": "ImportResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"importHistory": { +"description": "Import resource historical versions from Cloud Storage source to destination fhir store. The exported resource, along with previous versions, will be exported in one or more FHIR history bundles. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ImportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:importHistory", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.importHistory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to import FHIR resources to, in the format of `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:importHistory", +"request": { +"$ref": "ImportResourcesHistoryRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the FHIR stores in the given dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported, for example `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of FHIR stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhirStores", +"response": { +"$ref": "ListFhirStoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the configuration of the specified FHIR store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "FhirStore" +}, +"response": { +"$ref": "FhirStore" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:rollback", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rollback", +"request": { +"$ref": "RollbackFhirResourcesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.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/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"fhir": { +"methods": { +"Binary-create": { +"description": "Creates a FHIR Binary resource. This method can be used to create a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is created with this method using the FHIR content type this method's behavior is the same as [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). If a resource type other than Binary is used in the request it's treated in the same way as non-FHIR data (e.g., images, zip archives, pdf files, documents). When a non-FHIR content type is used in the request, a Binary resource will be generated, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 1 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\" extension will be present to indicate that including the data is `unsupported`. On success, an empty `201 Created` response is returned. The newly created resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/Binary", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-read": { +"description": "Gets the contents of a FHIR Binary resource. This method can be used to retrieve a Binary resource either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource's `contentType` field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-read", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Binary resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-update": { +"description": "Updates the entire contents of a Binary resource. If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. This method can be used to update a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is updated with this method using the FHIR content type this method's behavior is the same as `update`. If a resource type other than Binary is used in the request it will be treated in the same way as non-FHIR data. When a non-FHIR content type is used in the request, a Binary resource will be generated using the ID from the resource path, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 2 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\" extension will be present to indicate that including the data is `unsupported`. On success, an empty 200 OK response will be returned, or a 201 Created if the resource did not exit. The resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Binary-vread": { +"description": "Gets the contents of a version (current or historical) of a FHIR Binary resource by version ID. This method can be used to retrieve a Binary resource version either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource version was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource version's `contentType` field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Binary/{BinaryId}/_history/{_historyId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Binary-vread", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Binary resource version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Binary/[^/]+/_history/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"ConceptMap-search-translate": { +"description": "Translates a code from one value set to another by searching for appropriate concept maps. Implements the FHIR standard $translate operation ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html), [R5](https://www.hl7.org/fhir/R5/operation-conceptmap-translate.html)). On success, the response body contains a JSON-encoded representation of a FHIR Parameters resource, which includes the translation result. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/ConceptMap/$translate", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.ConceptMap-search-translate", +"parameterOrder": [ +"parent" +], +"parameters": { +"code": { +"description": "Required. The code to translate.", +"location": "query", +"type": "string" +}, +"conceptMapVersion": { +"description": "The version of the concept map to use. If unset, the most current version is used.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name for the FHIR store containing the concept map(s) to use for the translation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"source": { +"description": "The source value set of the concept map to be used. If unset, target is used to search for concept maps.", +"location": "query", +"type": "string" +}, +"system": { +"description": "Required. The system for the code to be translated.", +"location": "query", +"type": "string" +}, +"target": { +"description": "The target value set of the concept map to be used. If unset, source is used to search for concept maps.", +"location": "query", +"type": "string" +}, +"url": { +"description": "The canonical url of the concept map to use. If unset, the source and target is used to search for concept maps.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/ConceptMap/$translate", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"ConceptMap-translate": { +"description": "Translates a code from one value set to another using a concept map. You can provide your own concept maps to translate any code system to another code system. Implements the FHIR standard $translate operation ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html), [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html)), [R5](https://www.hl7.org/fhir/R5/operation-conceptmap-translate.html)). On success, the response body contains a JSON-encoded representation of a FHIR Parameters resource, which includes the translation result. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/ConceptMap/{ConceptMapId}/$translate", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.ConceptMap-translate", +"parameterOrder": [ +"name" +], +"parameters": { +"code": { +"description": "Required. The code to translate.", +"location": "query", +"type": "string" +}, +"conceptMapVersion": { +"description": "The version of the concept map to use. If unset, the most current version is used.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The URL for the concept map to use for the translation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/ConceptMap/[^/]+$", +"required": true, +"type": "string" +}, +"system": { +"description": "Required. The system for the code to be translated.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/$translate", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Consent-enforcement-status": { +"description": "Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Consent/{ConsentId}/$consent-enforcement-status", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Consent-enforcement-status", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the consent resource to find enforcement status, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Consent/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/$consent-enforcement-status", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Encounter-everything": { +"description": "Retrieves an Encounter resource and resources related to that Encounter. Implements the FHIR extended operation Encounter-everything ([DSTU2](https://hl7.org/fhir/DSTU2/encounter-operations.html#everything), [STU3](https://hl7.org/fhir/STU3/encounter-operations.html#everything), [R4](https://hl7.org/fhir/R4/encounter-operation-everything.html), or [R5](https://hl7.org/fhir/R5/encounter-operation-everything.html)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The resources in scope for the response are: * The Encounter resource itself. * All the resources directly referenced by the Encounter resource, including attachments and binaries. * Resources directly referencing the Encounter resource that meet the inclusion criteria. The inclusion criteria are based on the membership rules in the Encounter Compartment definition ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-encounter.html), [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-encounter.html), [R4](http://hl7.org/fhir/R4/compartmentdefinition-encounter.html), [R5](http://hl7.org/fhir/R5/compartmentdefinition-encounter.html)), which details the eligible resource types and referencing search parameters. * Resources referencing to the Encounter resource through the \"http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter\" extension.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Encounter/{EncounterId}/$everything", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Encounter-everything", +"parameterOrder": [ +"name" +], +"parameters": { +"_count": { +"description": "Optional. Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Optional. Used to retrieve the next or previous page of results when using pagination. Set `_page_token` to the value of _page_token set in next or previous page links' url. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_since": { +"description": "Optional. If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation&_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the Encounter resource for which the information is required.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Encounter/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/$everything", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Observation-lastn": { +"description": "Retrieves the N most recent `Observation` resources for a subject matching search criteria specified as query parameters, grouped by `Observation.code`, sorted from most recent to oldest. Implements the FHIR extended operation Observation-lastn ([STU3](https://hl7.org/fhir/STU3/observation-operations.html#lastn), [R4](https://hl7.org/fhir/R4/observation-operation-lastn.html), [R5](https://hl7.org/fhir/R5/observation-operation-lastn.html)). DSTU2 doesn't define the Observation-lastn method, but the server supports it the same way it supports STU3. Search terms are provided as query parameters following the same pattern as the search method. The following search parameters must be provided: - `subject` or `patient` to specify a subject for the Observation. - `code`, `category` or any of the composite parameters that include `code`. Any other valid Observation search parameters can also be provided. This operation accepts an additional query parameter `max`, which specifies N, the maximum number of Observations to return from each group, with a default of 1. Searches with over 1000 results are rejected. Results are counted before grouping and limiting the results with `max`. To stay within the limit, constrain these searches using Observation search parameters such as `_lastUpdated` or `date`. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Observation/$lastn", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Observation-lastn", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store to retrieve resources from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/Observation/$lastn", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Patient-consent-enforcement-status": { +"description": "Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$consent-enforcement-status", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Patient-consent-enforcement-status", +"parameterOrder": [ +"name" +], +"parameters": { +"_count": { +"description": "Optional. The maximum number of results on a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Optional. Used to retrieve the first, previous, next, or last page of consent enforcement statuses when using pagination. Value should be set to the value of `_page_token` set in next or previous page links' URLs. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the patient to find enforcement statuses, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/$consent-enforcement-status", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Patient-everything": { +"description": "Retrieves a Patient resource and resources related to that patient. Implements the FHIR extended operation Patient-everything ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), [R4](https://hl7.org/fhir/R4/patient-operation-everything.html), [R5](https://hl7.org/fhir/R5/patient-operation-everything.html)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The resources in scope for the response are: * The patient resource itself. * All the resources directly referenced by the patient resource. * Resources directly referencing the patient resource that meet the inclusion criteria. The inclusion criteria are based on the membership rules in the patient compartment definition ([DSTU2](https://hl7.org/fhir/DSTU2/compartment-patient.html), [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html), [R4](https://hl7.org/fhir/R4/compartmentdefinition-patient.html), [R5](http://hl7.org/fhir/R5/compartmentdefinition-patient.html)), which details the eligible resource types and referencing search parameters. For samples that show how to call `Patient-everything`, see [Getting all patient compartment resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_all_patient_compartment_resources).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/Patient/{PatientId}/$everything", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Patient-everything", +"parameterOrder": [ +"name" +], +"parameters": { +"_count": { +"description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Used to retrieve the next or previous page of results when using pagination. Set `_page_token` to the value of _page_token set in next or previous page links' url. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_since": { +"description": "If provided, only resources updated after this time are returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. Specifying multiple `_type` parameters isn't supported. For example, the result of `_type=Observation&_type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.", +"location": "query", +"type": "string" +}, +"end": { +"description": "The response includes records prior to the end date. The date uses the format YYYY-MM-DD. If no end date is provided, all records subsequent to the start date are in scope.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. Name of the `Patient` resource for which the information is required.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$", +"required": true, +"type": "string" +}, +"start": { +"description": "The response includes records subsequent to the start date. The date uses the format YYYY-MM-DD. If no start date is provided, all records prior to the end date are in scope.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/$everything", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Resource-incoming-references": { +"description": "Lists all the resources that directly refer to the given target FHIR resource. Can also support the case when the target resource doesn't exist, for example, if the target has been deleted. On success, the response body contains a Bundle with type `searchset`, where each entry in the Bundle contains the full content of the resource. If the operation fails, an `OperationOutcome` is returned describing the failure. If the request cannot be mapped to a valid API method on a FHIR store, a generic Google Cloud error might be returned instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/$references", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Resource-incoming-references", +"parameterOrder": [ +"parent" +], +"parameters": { +"_count": { +"description": "Maximum number of resources in a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Used to retrieve the next page of results when using pagination. Set `_page_token` to the value of _page_token set in next page links' url. Next page are returned in the response bundle's links field, where `link.relation` is \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_summary": { +"description": "Used to simplify the representation of the returned resources. `_summary=text` returns only the `text`, `id`, and `meta` top-level fields. `_summary=data` removes the `text` field and returns all other fields. `_summary=false` returns all parts of the resource(s). Either not providing this parameter or providing an empty value to this parameter also returns all parts of the resource(s).", +"location": "query", +"type": "string" +}, +"_type": { +"description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are returned. If not provided or an empty value is provided, no filter on the returned resource type(s) is applied.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the FHIR store that holds the target resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"target": { +"description": "Required. The target whose incoming references are requested. This param is required and must not be empty. It uses the format \"ResourceType/ResourceID\", for example, target=ResourceType/ResourceID.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/$references", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Resource-purge": { +"description": "Deletes all the historical versions of a resource (excluding the current version) from the FHIR store. To remove all versions of a resource, first delete the current version and then call this method. This is not a FHIR standard operation. For samples that show how to call `Resource-purge`, see [Deleting historical versions of a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_historical_versions_of_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/$purge", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Resource-purge", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to purge.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/$purge", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"Resource-validate": { +"description": "Validates an input FHIR resource's conformance to its profiles and the profiles configured on the FHIR store. Implements the FHIR extended operation $validate ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), [R4](https://hl7.org/fhir/R4/resource-operation-validate.html), or [R5](https://hl7.org/fhir/R5/resource-operation-validate.html)). The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. The `Parameters` input syntax is not supported. The `profile` query parameter can be used to request that the resource only be validated against a specific profile. If a profile with the given URL cannot be found in the FHIR store then an error is returned. Errors generated by validation contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/$validate", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.Resource-validate", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store that holds the profiles being used for validation.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"profile": { +"description": "Optional. The canonical URL of a profile that this resource should be validated against. For example, to validate a Patient resource against the US Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient`. A StructureDefinition with this canonical URL must exist in the FHIR store.", +"location": "query", +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), or [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{+type}/$validate", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"bulk-export": { +"description": "Bulk exports all resources from the FHIR store to the specified destination. Implements the FHIR implementation guide [system level $export](https://build.fhir.org/ig/HL7/bulk-data/export.html#endpoint---system-level-export). The following headers must be set in the request: * `Accept`: specifies the format of the `OperationOutcome` response. Only `application/fhir+json` is supported. * `Prefer`: specifies whether the response is immediate or asynchronous. Must be to `respond-async` because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * `_type`: string of comma-delimited FHIR resource types. If provided, only the resources of the specified type(s) are exported. * `_since`: if provided, only the resources that are updated after the specified time are exported. * `_outputFormat`: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. On success, the `Content-Location` header of the response is set to a URL that the user can use to query the status of the export. The URL is in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}`. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/$export", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.bulk-export", +"parameterOrder": [ +"name" +], +"parameters": { +"_since": { +"description": "Optional. If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"_type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the FHIR store to export resources from, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"outputFormat": { +"description": "Optional. Output format of the export. This field is optional and only `application/fhir+ndjson` is supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}/fhir/$export", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"capabilities": { +"description": "Gets the FHIR capability statement ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), [R4](https://hl7.org/fhir/R4/capabilitystatement.html), [R5](https://hl7.org/fhir/R5/capabilitystatement.html)), or the [conformance statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case for the store, which contains a description of functionality supported by the server. Implements the FHIR standard capabilities interaction ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), [R4](https://hl7.org/fhir/R4/http.html#capabilities), [R5](https://hl7.org/fhir/R5/http.html#capabilities)), or the [conformance interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 case. On success, the response body contains a JSON-encoded representation of a `CapabilityStatement` resource.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/metadata", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.capabilities", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the FHIR store to retrieve the capabilities for.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/fhir/metadata", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalDelete": { +"description": "Deletes FHIR resources that match a search query. Implements the FHIR standard conditional delete interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.12.1), [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.13.1), [R4](https://hl7.org/fhir/R4/http.html#3.1.0.7.1), [R5](https://hl7.org/fhir/R5/http.html#3.1.0.7.1)). If multiple resources match, all matching resources are deleted. Search terms are provided as query parameters following the same pattern as the search method. Not all FHIR resources that match the search query might be deleted because, by default, a maximum of 100 FHIR resources can be deleted. The number of FHIR resources that can be deleted depends on the page size of the returned resources, which you can control using the `_count` query parameter. Even when using `_count`, you can delete a maximum 1,000 FHIR resources per each call of `conditionalDelete`. Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resources are moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. This method requires the`healthcare.fhirStores.searchResources` and `healthcare.fhirResources.delete` permissions on the parent FHIR store. For samples that show how to call `conditionalDelete`, see [Conditionally deleting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_deleting_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalDelete", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to delete, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{+type}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalPatch": { +"description": "If a resource is found based on the search criteria specified in the query parameters, updates part of that resource by applying the operations specified in a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard conditional patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), [R4](https://hl7.org/fhir/R4/http.html#patch), [R5](https://hl7.org/fhir/R5/http.html#patch)). DSTU2 doesn't define a conditional patch method, but the server supports it in the same way it supports STU3. Search terms are provided as query parameters following the same pattern as the search method. If the search criteria identify more than one match, the request returns a `412 Precondition Failed` error. If the search criteria doesn't identify any matches, the request returns a `404 Not Found` error. The request body must contain a JSON Patch document, and the request headers must contain `Content-Type: application/json-patch+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. This method requires the`healthcare.fhirStores.searchResources` permission on the parent FHIR store and the `healthcare.fhirResources.patch` permission on the requested FHIR store resource. For samples that show how to call `conditionalPatch`, see [Conditionally patching a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_patching_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalPatch", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conditionalUpdate": { +"description": "If a resource is found based on the search criteria specified in the query parameters, updates the entire contents of that resource. Implements the FHIR standard conditional update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.10.2), [STU3](https://hl7.org/fhir/STU3/http.html#cond-update), [R4](https://hl7.org/fhir/R4/http.html#cond-update), [R5](https://hl7.org/fhir/R5/http.html#cond-update)). Search terms are provided as query parameters following the same pattern as the search method. If the search criteria identify more than one match, the request returns a `412 Precondition Failed` error. If the search criteria identify zero matches, and the supplied resource body contains an `id`, and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. If the search criteria identify zero matches, and the supplied resource body does not contain an `id`, the resource is created with a server-assigned ID as per the create method. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. This method requires the`healthcare.fhirStores.searchResources` and `healthcare.fhirResources.update` permissions on the parent FHIR store. For samples that show how to call `conditionalUpdate`, see [Conditionally updating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#conditionally_updating_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.conditionalUpdate", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a FHIR resource. Implements the FHIR standard create interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), [STU3](https://hl7.org/fhir/STU3/http.html#create), [R4](https://hl7.org/fhir/R4/http.html#create)), [R5](https://hl7.org/fhir/R5/http.html#create)), which creates a new resource with a server-assigned resource ID. Also supports the FHIR standard conditional create interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), [R4](https://hl7.org/fhir/R4/http.html#ccreate)), [R5](https://hl7.org/fhir/R5/http.html#ccreate)), specified by supplying an `If-None-Exist` header containing a FHIR search query. If no resources match this search query, the server processes the create operation as normal. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. On success, the response body contains a JSON-encoded representation of the resource as it was created on the server, including the server-assigned resource ID and version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `create`, see [Creating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.create", +"parameterOrder": [ +"parent", +"type" +], +"parameters": { +"parent": { +"description": "Required. The name of the FHIR store this resource belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource type in the provided content.", +"location": "path", +"pattern": "^[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{+type}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a FHIR resource. Implements the FHIR standard delete interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), [STU3](https://hl7.org/fhir/STU3/http.html#delete), [R4](https://hl7.org/fhir/R4/http.html#delete), [R5](https://hl7.org/fhir/R5/http.html#delete)). Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resources are moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. For samples that show how to call `delete`, see [Deleting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"executeBundle": { +"description": "Executes all the requests in the given Bundle. Implements the FHIR standard batch/transaction interaction and history operations. ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), [STU3](https://hl7.org/fhir/STU3/http.html#transaction), [R4](https://hl7.org/fhir/R4/http.html#transaction), [R5](https://hl7.org/fhir/R5/http.html#transaction)). Supports all interactions within a bundle, except search. This method accepts Bundles of type `batch`, `transaction` and `history`, processing `batch` and `transaction` bundles according to the batch processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), [R4](https://hl7.org/fhir/R4/http.html#brules), [R5](https://hl7.org/fhir/R5/http.html#brules)) and transaction processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), [R4](https://hl7.org/fhir/R4/http.html#trules), [R5](https://hl7.org/fhir/R5/http.html#trules)). The request body must contain a JSON-encoded FHIR `Bundle` resource, and the request headers must contain `Content-Type: application/fhir+json`. For a batch bundle or a successful transaction, the response body contains a JSON-encoded representation of a `Bundle` resource of type `batch-response` or `transaction-response` containing one entry for each entry in the request, with the outcome of processing the entry. In the case of an error for a `transaction` or `history` bundle, the response body contains a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. This method checks permissions for each request in the bundle. The `executeBundle` permission is required to call this method, but you must also grant sufficient permissions to execute the individual requests in the bundle. For example, if the bundle contains a request to create a FHIR resource, the caller must also have been granted the `healthcare.fhirResources.create` permission. `history` bundles also check the `import` permission. You can use audit logs to view the permissions for `executeBundle` and each request in the bundle. For more information, see [Viewing Cloud Audit logs](https://cloud.google.com/healthcare-api/docs/how-tos/audit-logging). For samples that show how to call `executeBundle`, see [Managing FHIR resources using FHIR bundles](https://cloud.google.com/healthcare/docs/how-tos/fhir-bundles).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.executeBundle", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store in which this bundle will be executed.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"history": { +"description": "Lists all the versions of a resource (including the current version and deleted versions) from the FHIR store. Implements the per-resource form of the FHIR standard history interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), [STU3](https://hl7.org/fhir/STU3/http.html#history), [R4](https://hl7.org/fhir/R4/http.html#history), [R5](https://hl7.org/fhir/R5/http.html#history)). On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `history`, containing the version history sorted from most recent to oldest versions. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `history`, see [Listing FHIR resource versions](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#listing_fhir_resource_versions).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/_history", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.history", +"parameterOrder": [ +"name" +], +"parameters": { +"_at": { +"description": "Only include resource versions that were current at some point during the time period specified in the date time value. The date parameter format is yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm] Clients may specify any of the following: * An entire year: `_at=2019` * An entire month: `_at=2019-01` * A specific day: `_at=2019-01-20` * A specific second: `_at=2018-12-31T23:59:58Z`", +"location": "query", +"type": "string" +}, +"_count": { +"description": "The maximum number of search results on a page. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"_page_token": { +"description": "Used to retrieve the first, previous, next, or last page of resource versions when using pagination. Value should be set to the value of `_page_token` set in next or previous page links' URLs. Next and previous page are returned in the response bundle's links field, where `link.relation` is \"previous\" or \"next\". Omit `_page_token` if no previous request has been made.", +"location": "query", +"type": "string" +}, +"_since": { +"description": "Only include resource versions that were created at or after the given instant in time. The instant in time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or 2017-01-01T00:00:00Z). The time must be specified to the second and include a time zone.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}/_history", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates part of an existing resource by applying the operations specified in a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), [R4](https://hl7.org/fhir/R4/http.html#patch), [R5](https://hl7.org/fhir/R5/http.html#patch)). DSTU2 doesn't define a patch method, but the server supports it in the same way it supports STU3. The request body must contain a JSON Patch document, and the request headers must contain `Content-Type: application/json-patch+json`. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `patch`, see [Patching a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"read": { +"description": "Gets the contents of a FHIR resource. Implements the FHIR standard read interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), [STU3](https://hl7.org/fhir/STU3/http.html#read), [R4](https://hl7.org/fhir/R4/http.html#read)), [R5](https://hl7.org/fhir/R5/http.html#read)). Also supports the FHIR standard conditional read interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), [STU3](https://hl7.org/fhir/STU3/http.html#cread), [R4](https://hl7.org/fhir/R4/http.html#cread)), [R5](https://hl7.org/fhir/R5/http.html#cread)) specified by supplying an `If-Modified-Since` header with a date/time value or an `If-None-Match` header with an ETag value. On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `read`, see [Getting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.read", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), [STU3](https://hl7.org/fhir/STU3/http.html#search), [R4](https://hl7.org/fhir/R4/http.html#search), [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), [STU3](https://hl7.org/fhir/STU3/search.html), [R4](https://hl7.org/fhir/R4/search.html), [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern `identifier=[system]|[value]` or `identifier=[value]`, and any of the following search result parameters can be used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you want to keep the default sorting order. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/_search", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store to retrieve resources from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/_search", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search-type": { +"description": "Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), [STU3](https://hl7.org/fhir/STU3/http.html#search), [R4](https://hl7.org/fhir/R4/http.html#search), [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics described in the FHIR Search specification ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), [STU3](https://hl7.org/fhir/STU3/search.html), [R4](https://hl7.org/fhir/R4/search.html), [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search defined by the specification: * `GET [base]?[parameters]` to search across all resources. * `GET [base]/[type]?[parameters]` to search resources of a specified type. * `POST [base]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method across all resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form having the same semantics as the `GET` method for the specified type. The `GET` and `POST` methods do not support compartment searches. The `POST` method does not support `application/x-www-form-urlencoded` search parameters. On success, the response body contains a JSON-encoded representation of a `Bundle` resource of type `searchset`, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server's capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search parameters for DSTU2 can be found on each resource's definition page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum number of search results returned defaults to 100, which can be overridden by the `_count` parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned `Bundle` contains a link of `relation` \"next\", which has a `_page_token` parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern `identifier=[system]|[value]` or `identifier=[value]`, and any of the following search result parameters can be used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn't optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you want to keep the default sorting order. For samples and detailed information, see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{resourceType}/_search", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.search-type", +"parameterOrder": [ +"parent", +"resourceType" +], +"parameters": { +"parent": { +"description": "Required. Name of the FHIR store to retrieve resources from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+$", +"required": true, +"type": "string" +}, +"resourceType": { +"description": "Optional. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html), [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/resourcelist.html)).", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/fhir/{resourceType}/_search", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the entire contents of a resource. Implements the FHIR standard update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), [STU3](https://hl7.org/fhir/STU3/http.html#update), [R4](https://hl7.org/fhir/R4/http.html#update), [R5](https://hl7.org/fhir/R5/http.html#update)). If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain `Content-Type: application/fhir+json`. The resource must contain an `id` element having an identical value to the ID in the REST path of the request. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The conditional update interaction If-None-Match is supported, including the wildcard behaviour, as defined by the R5 spec. This functionality is supported in R4 and R5. For samples that show how to call `update`, see [Updating a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}", +"httpMethod": "PUT", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource to update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "HttpBody" +}, +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"vread": { +"description": "Gets the contents of a version (current or historical) of a FHIR resource by version ID. Implements the FHIR standard vread interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), [STU3](https://hl7.org/fhir/STU3/http.html#vread), [R4](https://hl7.org/fhir/R4/http.html#vread), [R5](https://hl7.org/fhir/R5/http.html#vread)). On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `vread`, see [Retrieving a FHIR resource version](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#retrieving_a_fhir_resource_version).", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/fhir/{fhirId}/{fhirId1}/_history/{_historyId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.fhir.vread", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the resource version to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+/_history/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"delete-fhir-operation": { +"description": "Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-delete-request). Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.fhirStores.operations.delete-fhir-operation", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the operation to be deleted, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get-fhir-operation-status": { +"description": "Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide [bulk data status request](https://build.fhir.org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can have one of these states: * in-progress: response status code is `202` and `X-Progress` header is set to `in progress`. * complete: response status code is `200` and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response---complete-status. * error: response status code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource describing the reason for the error.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.fhirStores.operations.get-fhir-operation-status", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the operation to query, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"hl7V2Stores": { +"methods": { +"create": { +"description": "Creates a new HL7v2 store within the parent dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hl7V2StoreId": { +"description": "Required. The ID of the HL7v2 store that is being created. The string must match the following regex: `[\\p{L}\\p{N}_\\-\\.]{1,256}`.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the dataset this HL7v2 store belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/hl7V2Stores", +"request": { +"$ref": "Hl7V2Store" +}, +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified HL7v2 store and removes all messages that it contains.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports the messages to a destination. To filter messages to be exported, define a filter using the start and end time, relative to the message generation time (MSH.7). This API returns an Operation that can be used to track the status of the job by calling GetOperation. Immediate fatal errors appear in the error field. Otherwise, when the operation finishes, a detailed response of type ExportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:export", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the source HL7v2 store, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:export", +"request": { +"$ref": "ExportMessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified HL7v2 store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getHL7v2StoreMetrics": { +"description": "Gets metrics associated with the HL7v2 store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getHL7v2StoreMetrics", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.getHL7v2StoreMetrics", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 store to get metrics for, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:getHL7v2StoreMetrics", +"response": { +"$ref": "Hl7V2StoreMetrics" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getIamPolicy", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import messages to the HL7v2 store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some HL7v2 store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty HL7v2 store that is not being used by other clients. An existing message will be overwritten if a duplicate message is imported. A duplicate message is a message with the same raw bytes as a message that already exists in this HL7v2 store. When a message is overwritten, its labels will also be overwritten. The import operation is idempotent unless the input data contains multiple valid messages with the same raw bytes but different labels. In that case, after the import completes, the store contains exactly one message with those raw bytes but there is no ordering guarantee on which version of the labels it has. The operation result counters do not count duplicated raw bytes as an error and count one success for each message in the input, which might result in a success count larger than the number of messages in the HL7v2 store. If some messages fail to import, for example due to parsing errors, successfully imported messages are not rolled back. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a response of type ImportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:import", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the target HL7v2 store, in the format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:import", +"request": { +"$ref": "ImportMessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the HL7v2 stores in the given dataset.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts stores returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Only filtering on labels is supported. For example, `labels.key=value`.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of HL7v2 stores to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the dataset.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/hl7V2Stores", +"response": { +"$ref": "ListHl7V2StoresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the HL7v2 store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Resource name of the HL7v2 store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Hl7V2Store" +}, +"response": { +"$ref": "Hl7V2Store" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rolls back messages from the HL7v2 store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type RollbackHl7V2MessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:rollback", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the HL7v2 store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7V2Stores/{hl7v2_store_id}\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:rollback", +"request": { +"$ref": "RollbackHl7V2MessagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:setIamPolicy", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:testIamPermissions", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.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/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"messages": { +"methods": { +"batchGet": { +"description": "Gets multiple messages in the given HL7v2 store.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages:batchGet", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.batchGet", +"parameterOrder": [ +"parent" +], +"parameters": { +"ids": { +"description": "The resource id of the HL7v2 messages to retrieve in the format: `{message_id}`, where the full resource name is `{parent}/messages/{message_id}` A maximum of 100 messages can be retrieved in a batch. All 'ids' have to be under parent.", +"location": "query", +"repeated": true, +"type": "string" +}, +"parent": { +"description": "Required. Name of the HL7v2 store to retrieve messages from, in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the parts of the Messages resource to return in the response. When unspecified, equivalent to BASIC.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL for getMessage, equivalent to BASIC for listMessages.", +"Server responses include all the message fields except parsed_data, and schematized_data fields.", +"Server responses include all the message fields except data and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/messages:batchGet", +"response": { +"$ref": "BatchGetMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the HL7v2 store this message belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/messages", +"request": { +"$ref": "CreateMessageRequest" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an HL7v2 message.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "DELETE", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 message to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets an HL7v2 message.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the HL7v2 message to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Message resource to return in the response. When unspecified, equivalent to FULL.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL for getMessage, equivalent to BASIC for listMessages.", +"Server responses include all the message fields except parsed_data, and schematized_data fields.", +"Server responses include all the message fields except data and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"ingest": { +"description": "Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. If the method is successful, it generates a response containing an HL7v2 acknowledgment (`ACK`) message. If the method encounters an error, it returns a negative acknowledgment (`NACK`) message. This behavior is suitable for replying to HL7v2 interface systems that expect these acknowledgments.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages:ingest", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.ingest", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the HL7v2 store this message belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/messages:ingest", +"request": { +"$ref": "IngestMessageRequest" +}, +"response": { +"$ref": "IngestMessageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the messages in the given HL7v2 store with support for filtering. Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Restricts messages returned to those matching a filter. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId(\"123456\", \"MRN\")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels.\"priority\"=\"high\"`. The operator `:*` can be used to assert the existence of a label. For example, `labels.\"priority\":*`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Orders messages returned by the specified order_by clause. Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order Fields available for ordering are: * `send_time`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The next_page_token value returned from the previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the HL7v2 store to retrieve messages from.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies the parts of the Message to return in the response. When unspecified, equivalent to BASIC. Setting this to anything other than BASIC with a `page_size` larger than the default can generate a large response, which impacts the performance of this method.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL for getMessage, equivalent to BASIC for listMessages.", +"Server responses include all the message fields except parsed_data, and schematized_data fields.", +"Server responses include all the message fields except data and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/messages", +"response": { +"$ref": "ListMessagesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time can't be altered. Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages/{messagesId}", +"httpMethod": "PATCH", +"id": "healthcare.projects.locations.datasets.hl7V2Stores.messages.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by the server.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+/messages/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Message" +}, +"response": { +"$ref": "Message" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "healthcare.projects.locations.datasets.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations", +"httpMethod": "GET", +"id": "healthcare.projects.locations.datasets.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"services": { +"resources": { +"nlp": { +"methods": { +"analyzeEntities": { +"description": "Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities. This method can only analyze documents written in English.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/services/nlp:analyzeEntities", +"httpMethod": "POST", +"id": "healthcare.projects.locations.services.nlp.analyzeEntities", +"parameterOrder": [ +"nlpService" +], +"parameters": { +"nlpService": { +"description": "The resource name of the service of the form: \"projects/{project_id}/locations/{location_id}/services/nlp\".", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/nlp$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+nlpService}:analyzeEntities", +"request": { +"$ref": "AnalyzeEntitiesRequest" +}, +"response": { +"$ref": "AnalyzeEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-healthcare", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://healthcare.googleapis.com/", +"schemas": { +"AccessDeterminationLogConfig": { +"description": "Configures consent audit log config for FHIR create, read, update, and delete (CRUD) operations. Cloud audit log for healthcare API must be [enabled](https://cloud.google.com/logging/docs/audit/configure-data-access#config-console-enable). The consent-related logs are included as part of `protoPayload.metadata`.", +"id": "AccessDeterminationLogConfig", +"properties": { +"logLevel": { +"description": "Optional. Controls the amount of detail to include as part of the audit logs.", +"enum": [ +"LOG_LEVEL_UNSPECIFIED", +"DISABLED", +"MINIMUM", +"VERBOSE" +], +"enumDescriptions": [ +"No log level specified. This value is unused.", +"No additional consent-related logging is added to audit logs.", +"The following information is included: * One of the following [`consentMode`](https://cloud.google.com/healthcare-api/docs/fhir-consent#audit_logs) fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). * The accessor's request headers * The `log_level` of the AccessDeterminationLogConfig * The final consent evaluation (`PERMIT`, `DENY`, or `NO_CONSENT`) * A human-readable summary of the evaluation", +"Includes `MINIMUM` and, for each resource owner, returns: * The resource owner's name * Most specific part of the `X-Consent-Scope` resulting in consensual determination * Timestamp of the applied enforcement leading to the decision * Enforcement version at the time the applicable consents were applied * The Consent resource name * The timestamp of the Consent resource used for enforcement * Policy type (`PATIENT` or `ADMIN`) Due to the limited space for logging, this mode is the same as `MINIMUM` for methods that return multiple resources (such as FHIR Search)." +], +"type": "string" +} +}, +"type": "object" +}, +"Action": { +"description": "Specifies a selection of tags and an `Action` to apply to each one.", +"id": "Action", +"properties": { +"cleanImageTag": { +"$ref": "ImageConfig", +"description": "Inspect image and transform sensitive burnt-in text. Doesn't apply to elements nested in a sequence, which revert to `Keep`. Supported [tags](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html): PixelData" +}, +"cleanTextTag": { +"$ref": "CleanTextTag", +"description": "Inspect text and transform sensitive text. Configurable via TextConfig. Supported Value Representations: AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS" +}, +"deleteTag": { +"$ref": "DeleteTag", +"description": "Delete tag." +}, +"keepTag": { +"$ref": "KeepTag", +"description": "Keep tag unchanged." +}, +"queries": { +"description": "Select all tags with the listed tag IDs, names, or Value Representations (VRs). Examples: ID: \"00100010\" Keyword: \"PatientName\" VR: \"PN\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"recurseTag": { +"$ref": "RecurseTag", +"description": "Recursively apply DICOM de-id to tags nested in a sequence. Supported [Value Representation] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): SQ" +}, +"regenUidTag": { +"$ref": "RegenUidTag", +"description": "Replace UID with a new generated UID. Supported [Value Representation] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): UI" +}, +"removeTag": { +"$ref": "RemoveTag", +"description": "Replace with empty tag." +}, +"resetTag": { +"$ref": "ResetTag", +"description": "Reset tag to a placeholder value." +} +}, +"type": "object" +}, +"ActivateConsentRequest": { +"description": "Activates the latest revision of the specified Consent by committing a new revision with `state` updated to `ACTIVE`. If the latest revision of the given Consent is in the `ACTIVE` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in the `REJECTED` or `REVOKED` state.", +"id": "ActivateConsentRequest", +"properties": { +"consentArtifact": { +"description": "Required. The resource name of the Consent artifact that contains documentation of the user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. If the draft Consent had a Consent artifact, this Consent artifact overwrites it.", +"type": "string" +}, +"expireTime": { +"description": "Timestamp in UTC of when this Consent is considered expired.", +"format": "google-datetime", +"type": "string" +}, +"ttl": { +"description": "The time to live for this Consent from when it is marked as active.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"AdminConsents": { +"description": "List of admin Consent resources to be applied.", +"id": "AdminConsents", +"properties": { +"names": { +"description": "The versioned names of the admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeEntitiesRequest": { +"description": "The request to analyze healthcare entities in a document.", +"id": "AnalyzeEntitiesRequest", +"properties": { +"alternativeOutputFormat": { +"description": "Optional. Alternative output format to be generated based on the results of analysis.", +"enum": [ +"ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED", +"FHIR_BUNDLE" +], +"enumDescriptions": [ +"No alternative output format is specified.", +"FHIR bundle output." +], +"type": "string" +}, +"documentContent": { +"description": "document_content is a document to be annotated.", +"type": "string" +}, +"licensedVocabularies": { +"description": "A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies.", +"items": { +"enum": [ +"LICENSED_VOCABULARY_UNSPECIFIED", +"ICD10CM", +"SNOMEDCT_US" +], +"enumDescriptions": [ +"No licensed vocabulary specified.", +"ICD-10-CM vocabulary", +"SNOMED CT (US version) vocabulary" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeEntitiesResponse": { +"description": "Includes recognized entity mentions and relationships between them.", +"id": "AnalyzeEntitiesResponse", +"properties": { +"entities": { +"description": "The union of all the candidate entities that the entity_mentions in this response could link to. These are UMLS concepts or normalized mention content.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"entityMentions": { +"description": "The `entity_mentions` field contains all the annotated medical entities that were mentioned in the provided document.", +"items": { +"$ref": "EntityMention" +}, +"type": "array" +}, +"fhirBundle": { +"description": "The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all the entities, the entity mentions, and the relationships in JSON format.", +"type": "string" +}, +"relationships": { +"description": "relationships contains all the binary relationships that were identified between entity mentions within the provided document.", +"items": { +"$ref": "EntityMentionRelationship" +}, +"type": "array" +} +}, +"type": "object" +}, +"ApplyAdminConsentsErrorDetail": { +"description": "Contains the error details of the unsupported admin Consent resources for when the ApplyAdminConsents method fails to apply one or more Consent resources.", +"id": "ApplyAdminConsentsErrorDetail", +"properties": { +"consentErrors": { +"description": "The list of Consent resources that are unsupported or cannot be applied and the error associated with each of them.", +"items": { +"$ref": "ConsentErrors" +}, +"type": "array" +}, +"existingOperationId": { +"description": "The currently in progress non-validate-only ApplyAdminConsents operation ID if exist.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"ApplyAdminConsentsRequest": { +"description": "Request to apply the admin Consent resources for the specified FHIR store.", +"id": "ApplyAdminConsentsRequest", +"properties": { +"newConsentsList": { +"$ref": "AdminConsents", +"description": "A new list of admin Consent resources to be applied. Any existing enforced Consents, which are specified in `consent_config.enforced_admin_consents` of the FhirStore, that are not part of this list will be disabled. An empty list is equivalent to clearing or disabling all Consents enforced on the FHIR store. When a FHIR store has `disable_resource_versioning=true` and this list contains a Consent resource that exists in `consent_config.enforced_admin_consents`, the method enforces any updates to the existing resource since the last enforcement. If the existing resource hasn't been updated since the last enforcement, the resource is unaffected. After the method finishes, the resulting consent enforcement model is determined by the contents of the Consent resource(s) when the method was called: * When `disable_resource_versioning=true`, the result is identical to the current resource(s) in the FHIR store. * When `disable_resource_versioning=false`, the result is based on the historical version(s) of the Consent resource(s) at the point in time when the method was called. At most 200 Consents can be specified." +}, +"validateOnly": { +"description": "If true, the method only validates Consent resources to make sure they are supported. Otherwise, the method applies the aggregate consent information to update the enforcement model and reindex the FHIR resources. If all Consent resources can be applied successfully, the ApplyAdminConsentsResponse is returned containing the following fields: * `consent_apply_success` to indicate the number of Consent resources applied. * `affected_resources` to indicate the number of resources that might have had their consent access changed. If, however, one or more Consent resources are unsupported or cannot be applied, the method fails and ApplyAdminConsentsErrorDetail is is returned with details about the unsupported Consent resources.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApplyAdminConsentsResponse": { +"description": "Response when all admin Consent resources in scope were processed and all affected resources were reindexed successfully. This structure will be included in the response when the operation finishes successfully.", +"id": "ApplyAdminConsentsResponse", +"properties": { +"affectedResources": { +"description": "The number of resources (including the Consent resources) that may have consent access change.", +"format": "int64", +"type": "string" +}, +"consentApplySuccess": { +"description": "If `validate_only=false` in ApplyAdminConsentsRequest, this counter contains the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.", +"format": "int64", +"type": "string" +}, +"failedResources": { +"description": "The number of resources (including the Consent resources) that ApplyAdminConsents failed to re-index.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ApplyConsentsRequest": { +"description": "Request to apply the Consent resources for the specified FHIR store.", +"id": "ApplyConsentsRequest", +"properties": { +"patientScope": { +"$ref": "PatientScope", +"description": "Optional. Scope down to a list of patients." +}, +"timeRange": { +"$ref": "TimeRange", +"description": "Optional. Scope down to patients whose most recent consent changes are in the time range. Can only be used with a versioning store (i.e. when disable_resource_versioning is set to false)." +}, +"validateOnly": { +"description": "Optional. If true, the method only validates Consent resources to make sure they are supported. When the operation completes, ApplyConsentsResponse is returned where `consent_apply_success` and `consent_apply_failure` indicate supported and unsupported (or invalid) Consent resources, respectively. Otherwise, the method propagates the aggregate consensual information to the patient's resources. Upon success, `affected_resources` in the ApplyConsentsResponse indicates the number of resources that may have consensual access changed.", +"type": "boolean" +} +}, +"type": "object" +}, +"ApplyConsentsResponse": { +"description": "Response when all Consent resources in scope were processed and all affected resources were reindexed successfully. This structure is included in the response when the operation finishes successfully.", +"id": "ApplyConsentsResponse", +"properties": { +"affectedResources": { +"description": "The number of resources (including the Consent resources) that may have consensual access change.", +"format": "int64", +"type": "string" +}, +"consentApplyFailure": { +"description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were failed to apply. Otherwise, it is the number of Consent resources that are not supported or invalid.", +"format": "int64", +"type": "string" +}, +"consentApplySuccess": { +"description": "If `validate_only = false` in ApplyConsentsRequest, this counter is the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported.", +"format": "int64", +"type": "string" +}, +"failedResources": { +"description": "The number of resources (including the Consent resources) that ApplyConsents failed to re-index.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ArchiveUserDataMappingRequest": { +"description": "Archives the specified User data mapping.", +"id": "ArchiveUserDataMappingRequest", +"properties": {}, +"type": "object" +}, +"ArchiveUserDataMappingResponse": { +"description": "Archives the specified User data mapping.", +"id": "ArchiveUserDataMappingResponse", +"properties": {}, +"type": "object" +}, +"Attribute": { +"description": "An attribute value for a Consent or User data mapping. Each Attribute must have a corresponding AttributeDefinition in the consent store that defines the default and allowed values.", +"id": "Attribute", +"properties": { +"attributeDefinitionId": { +"description": "Indicates the name of an attribute defined in the consent store.", +"type": "string" +}, +"values": { +"description": "The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines \"data type\" with acceptable values \"questionnaire\" and \"step-count\", when the attribute name is data type, this field must contain one of those values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttributeDefinition": { +"description": "A client-defined consent attribute.", +"id": "AttributeDefinition", +"properties": { +"allowedValues": { +"description": "Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "Required. The category of the attribute. The value of this field cannot be changed after creation.", +"enum": [ +"CATEGORY_UNSPECIFIED", +"RESOURCE", +"REQUEST" +], +"enumDescriptions": [ +"No category specified. This option is invalid.", +"Specify this category when this attribute describes the properties of resources. For example, data anonymity or data type.", +"Specify this category when this attribute describes the properties of requests. For example, requester's role or requester's organization." +], +"type": "string" +}, +"consentDefaultValues": { +"description": "Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataMappingDefaultValue": { +"description": "Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category `RESOURCE`.", +"type": "string" +}, +"description": { +"description": "Optional. A description of the attribute.", +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the Attribute definition, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}`. Cannot be changed after creation.", +"type": "string" +} +}, +"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" +}, +"BatchGetMessagesResponse": { +"description": "Gets multiple messages in a specified HL7v2 store.", +"id": "BatchGetMessagesResponse", +"properties": { +"messages": { +"description": "The returned Messages. See `MessageView` for populated fields.", +"items": { +"$ref": "Message" +}, +"type": "array" +} +}, +"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" +}, +"BlobStorageInfo": { +"description": "BlobStorageInfo contains details about the data stored in Blob Storage for the referenced resource. Note: Storage class is only valid for DICOM and hence will only be populated for DICOM resources.", +"id": "BlobStorageInfo", +"properties": { +"sizeBytes": { +"description": "Size in bytes of data stored in Blob Storage.", +"format": "int64", +"type": "string" +}, +"storageClass": { +"description": "The storage class in which the Blob data is stored.", +"enum": [ +"BLOB_STORAGE_CLASS_UNSPECIFIED", +"STANDARD", +"NEARLINE", +"COLDLINE", +"ARCHIVE" +], +"enumDescriptions": [ +"If unspecified in CreateDataset, the StorageClass defaults to STANDARD. If unspecified in UpdateDataset and the StorageClass is set in the field mask, an InvalidRequest error is thrown.", +"This stores the Object in Blob Standard Storage: https://cloud.google.com/storage/docs/storage-classes#standard", +"This stores the Object in Blob Nearline Storage: https://cloud.google.com/storage/docs/storage-classes#nearline", +"This stores the Object in Blob Coldline Storage: https://cloud.google.com/storage/docs/storage-classes#coldline", +"This stores the Object in Blob Archive Storage: https://cloud.google.com/storage/docs/storage-classes#archive" +], +"type": "string" +}, +"storageClassUpdateTime": { +"description": "The time at which the storage class was updated. This is used to compute early deletion fees of the resource.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BlobStorageSettings": { +"description": "Settings for data stored in Blob storage.", +"id": "BlobStorageSettings", +"properties": { +"blobStorageClass": { +"description": "The Storage class in which the Blob data is stored.", +"enum": [ +"BLOB_STORAGE_CLASS_UNSPECIFIED", +"STANDARD", +"NEARLINE", +"COLDLINE", +"ARCHIVE" +], +"enumDescriptions": [ +"If unspecified in CreateDataset, the StorageClass defaults to STANDARD. If unspecified in UpdateDataset and the StorageClass is set in the field mask, an InvalidRequest error is thrown.", +"This stores the Object in Blob Standard Storage: https://cloud.google.com/storage/docs/storage-classes#standard", +"This stores the Object in Blob Nearline Storage: https://cloud.google.com/storage/docs/storage-classes#nearline", +"This stores the Object in Blob Coldline Storage: https://cloud.google.com/storage/docs/storage-classes#coldline", +"This stores the Object in Blob Archive Storage: https://cloud.google.com/storage/docs/storage-classes#archive" +], +"type": "string" +} +}, +"type": "object" +}, +"BulkDeleteResourcesRequest": { +"description": "Request to bulk delete FHIR resources.", +"id": "BulkDeleteResourcesRequest", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1beta1FhirGcsDestination", +"description": "Optional. The Cloud Storage output destination. The Healthcare Service Agent account requires the `roles/storage.objectAdmin` role on the Cloud Storage location. The deleted resources outputs are organized by FHIR resource types. The server creates one or more objects per resource type. Each object contains newline delimited strings in the format {resourceType}/{resourceId}." +}, +"type": { +"description": "Optional. String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) will be deleted.", +"type": "string" +}, +"until": { +"description": "Optional. If provided, only resources updated before or atthis time are deleted. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"type": "string" +}, +"versionConfig": { +"description": "Optional. Specifies which version of the resources to delete.", +"enum": [ +"VERSION_CONFIG_UNSPECIFIED", +"ALL", +"CURRENT_ONLY", +"HISTORY_ONLY" +], +"enumDescriptions": [ +"Unspecified version config. Defaults to ALL.", +"Delete the current version and all history versions.", +"Delete the current version only and create a historical version of the deleted resource.", +"Delete all history versions only." +], +"type": "string" +} +}, +"type": "object" +}, +"BulkExportGcsDestination": { +"description": "The configuration for exporting to Cloud Storage using the bulk export API.", +"id": "BulkExportGcsDestination", +"properties": { +"uriPrefix": { +"description": "Optional. URI for a Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CharacterMaskConfig": { +"description": "Mask a string by replacing its characters with a fixed character.", +"id": "CharacterMaskConfig", +"properties": { +"maskingCharacter": { +"description": "Character to mask the sensitive values. If not supplied, defaults to \"*\".", +"type": "string" +} +}, +"type": "object" +}, +"CharacterMaskField": { +"description": "Replace field value with masking character. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.", +"id": "CharacterMaskField", +"properties": {}, +"type": "object" +}, +"CheckDataAccessRequest": { +"description": "Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.", +"id": "CheckDataAccessRequest", +"properties": { +"consentList": { +"$ref": "ConsentList", +"description": "Optional. Specific Consents to evaluate the access request against. These Consents must have the same `user_id` as the evaluated User data mapping, must exist in the current `consent_store`, and have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 Consents can be provided here. If no selection is specified, the access request is evaluated against all `ACTIVE` unexpired Consents with the same `user_id` as the evaluated User data mapping." +}, +"dataId": { +"description": "Required. The unique identifier of the resource to check access for. This identifier must correspond to a User data mapping in the given consent store.", +"type": "string" +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "The values of request attributes associated with this access request.", +"type": "object" +}, +"responseView": { +"description": "Optional. The view for CheckDataAccessResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No response view specified. The API will default to the BASIC view.", +"Only the `consented` field is populated in CheckDataAccessResponse.", +"All fields within CheckDataAccessResponse are populated. When set to `FULL`, all `ACTIVE` Consents are evaluated even if a matching policy is found during evaluation." +], +"type": "string" +} +}, +"type": "object" +}, +"CheckDataAccessResponse": { +"description": "Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.", +"id": "CheckDataAccessResponse", +"properties": { +"consentDetails": { +"additionalProperties": { +"$ref": "ConsentEvaluation" +}, +"description": "The resource names of all evaluated Consents mapped to their evaluation.", +"type": "object" +}, +"consented": { +"description": "Whether the requested resource is consented for the given use.", +"type": "boolean" +} +}, +"type": "object" +}, +"CleanDescriptorsOption": { +"description": "This option is based on the DICOM Standard's [Clean Descriptors Option](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html), and the `CleanText` `Action` is applied to all the specified fields. When cleaning text, the process attempts to transform phrases matching any of the tags marked for removal (action codes D, Z, X, and U) in the [Basic Profile](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These contextual phrases are replaced with the token \"[CTX]\". This option uses an additional infoType during inspection.", +"id": "CleanDescriptorsOption", +"properties": {}, +"type": "object" +}, +"CleanTextField": { +"description": "Inspect text and transform sensitive text. Configure using TextConfig. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.", +"id": "CleanTextField", +"properties": {}, +"type": "object" +}, +"CleanTextTag": { +"description": "Inspect text and transform sensitive text. Configurable using TextConfig. Supported [Value Representations] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS", +"id": "CleanTextTag", +"properties": {}, +"type": "object" +}, +"ConfigureSearchRequest": { +"description": "Request to configure the search parameters for the specified FHIR store.", +"id": "ConfigureSearchRequest", +"properties": { +"canonicalUrls": { +"description": "The canonical URLs of the search parameters that are intended to be used for the FHIR store. See https://www.hl7.org/fhir/references.html#canonical for explanation on FHIR canonical urls", +"items": { +"type": "string" +}, +"type": "array" +}, +"validateOnly": { +"description": "If `validate_only` is set to true, the method will compile all the search parameters without actually setting the search config for the store and triggering the reindex.", +"type": "boolean" +} +}, +"type": "object" +}, +"Consent": { +"description": "Represents a user's consent.", +"id": "Consent", +"properties": { +"consentArtifact": { +"description": "Required. The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`.", +"type": "string" +}, +"expireTime": { +"description": "Timestamp in UTC of when this Consent is considered expired.", +"format": "google-datetime", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`. Cannot be changed after creation.", +"type": "string" +}, +"policies": { +"description": "Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.", +"items": { +"$ref": "GoogleCloudHealthcareV1beta1ConsentPolicy" +}, +"type": "array" +}, +"revisionCreateTime": { +"description": "Output only. The timestamp that the revision was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending `@{revision_id}` to the Consent's resource name.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Required. Indicates the current state of this Consent.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"ARCHIVED", +"REVOKED", +"DRAFT", +"REJECTED" +], +"enumDescriptions": [ +"No state specified. Treated as ACTIVE only at the time of resource creation.", +"The Consent is active and is considered when evaluating a user's consent on resources.", +"The archived state is currently not being used.", +"A revoked Consent is not considered when evaluating a user's consent on resources.", +"A draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.", +"When a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources." +], +"type": "string" +}, +"ttl": { +"description": "Input only. The time to live for this Consent from when it is created.", +"format": "google-duration", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentAccessorScope": { +"description": "The accessor scope that describes who can access, for what purpose, in which environment.", +"id": "ConsentAccessorScope", +"properties": { +"actor": { +"description": "An individual, group, or access role that identifies the accessor or a characteristic of the accessor. This can be a resource ID (such as `{resourceType}/{id}`) or an external URI. This value must be present.", +"type": "string" +}, +"environment": { +"description": "An abstract identifier that describes the environment or conditions under which the accessor is acting. If it's not specified, it applies to all environments.", +"type": "string" +}, +"purpose": { +"description": "The intent of data use. If it's not specified, it applies to all purposes.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentArtifact": { +"description": "Documentation of a user's consent.", +"id": "ConsentArtifact", +"properties": { +"consentContentScreenshots": { +"description": "Optional. Screenshots, PDFs, or other binary information documenting the user's consent.", +"items": { +"$ref": "Image" +}, +"type": "array" +}, +"consentContentVersion": { +"description": "Optional. An string indicating the version of the consent information shown to the user.", +"type": "string" +}, +"guardianSignature": { +"$ref": "Signature", +"description": "Optional. A signature from a guardian." +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +}, +"userSignature": { +"$ref": "Signature", +"description": "Optional. User's signature." +}, +"witnessSignature": { +"$ref": "Signature", +"description": "Optional. A signature from a witness." +} +}, +"type": "object" +}, +"ConsentConfig": { +"description": "Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.", +"id": "ConsentConfig", +"properties": { +"accessDeterminationLogConfig": { +"$ref": "AccessDeterminationLogConfig", +"description": "Optional. Specifies how the server logs the consent-aware requests. If not specified, the `AccessDeterminationLogConfig.LogLevel.MINIMUM` option is used." +}, +"accessEnforced": { +"description": "Optional. The default value is false. If set to true, when accessing FHIR resources, the consent headers will be verified against consents given by patients. See the ConsentEnforcementVersion for the supported consent headers.", +"type": "boolean" +}, +"consentHeaderHandling": { +"$ref": "ConsentHeaderHandling", +"description": "Optional. Different options to configure the behaviour of the server when handling the `X-Consent-Scope` header." +}, +"enforcedAdminConsents": { +"description": "Output only. The versioned names of the enforced admin Consent resource(s), in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. This field can only be updated using ApplyAdminConsents.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"version": { +"description": "Required. Specifies which consent enforcement version is being used for this FHIR store. This field can only be set once by either CreateFhirStore or UpdateFhirStore. After that, you must call ApplyConsents to change the version.", +"enum": [ +"CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED", +"V1" +], +"enumDescriptions": [ +"Users must specify an enforcement version or an error is returned.", +"Enforcement version 1. See the [FHIR Consent resources in the Cloud Healthcare API](https://cloud.google.com/healthcare-api/docs/fhir-consent) guide for more details." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentErrors": { +"description": "The Consent resource name and error.", +"id": "ConsentErrors", +"properties": { +"error": { +"$ref": "Status", +"description": "The error code and message." +}, +"name": { +"description": "The versioned name of the admin Consent resource, in the format `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. For FHIR stores with `disable_resource_versioning=true`, the format is `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"ConsentEvaluation": { +"description": "The detailed evaluation of a particular Consent.", +"id": "ConsentEvaluation", +"properties": { +"evaluationResult": { +"description": "The evaluation result.", +"enum": [ +"EVALUATION_RESULT_UNSPECIFIED", +"NOT_APPLICABLE", +"NO_MATCHING_POLICY", +"NO_SATISFIED_POLICY", +"HAS_SATISFIED_POLICY" +], +"enumDescriptions": [ +"No evaluation result specified. This option is invalid.", +"The Consent is not applicable to the requested access determination. For example, the Consent does not apply to the user for which the access determination is requested, or it has a `state` of `REVOKED`, or it has expired.", +"The Consent does not have a policy that matches the `resource_attributes` of the evaluated resource.", +"The Consent has at least one policy that matches the `resource_attributes` of the evaluated resource, but no `authorization_rule` was satisfied.", +"The Consent has at least one policy that matches the `resource_attributes` of the evaluated resource, and at least one `authorization_rule` was satisfied." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentHeaderHandling": { +"description": "How the server handles the consent header.", +"id": "ConsentHeaderHandling", +"properties": { +"profile": { +"description": "Optional. Specifies the default server behavior when the header is empty. If not specified, the `ScopeProfile.PERMIT_EMPTY_SCOPE` option is used.", +"enum": [ +"SCOPE_PROFILE_UNSPECIFIED", +"PERMIT_EMPTY_SCOPE", +"REQUIRED_ON_READ" +], +"enumDescriptions": [ +"If not specified, the default value `PERMIT_EMPTY_SCOPE` is used.", +"When no consent scopes are provided (for example, if there's an empty or missing header), then consent check is disabled, similar to when `access_enforced` is `false`. You can use audit logs to differentiate these two cases by looking at the value of `protopayload.metadata.consentMode`. If consents scopes are present, they must be valid and within the allowed limits, otherwise the request will be rejected with a `4xx` code.", +"The consent header must be non-empty when performing read and search operations, otherwise the request is rejected with a `4xx` code. Additionally, invalid consent scopes or scopes exceeding the allowed limits are rejected." +], +"type": "string" +} +}, +"type": "object" +}, +"ConsentList": { +"description": "List of resource names of Consent resources.", +"id": "ConsentList", +"properties": { +"consents": { +"description": "The resource names of the Consents to evaluate against, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ConsentStore": { +"description": "Represents a consent store.", +"id": "ConsentStore", +"properties": { +"defaultConsentTtl": { +"description": "Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.", +"format": "google-duration", +"type": "string" +}, +"enableConsentCreateOnUpdate": { +"description": "Optional. If `true`, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to `false`.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-supplied key-value pairs used to organize consent stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}. Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}. No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources", +"type": "object" +}, +"name": { +"description": "Resource name of the consent store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. Cannot be changed after creation.", +"type": "string" +} +}, +"type": "object" +}, +"ContextualDeidConfig": { +"description": "Fields that don't match a KeepField or CleanTextField `action` in the BASIC profile are collected into a contextual phrase list. For fields that match a CleanTextField `action` in FieldMetadata or ProfileType, the process attempts to transform phrases matching these contextual entries. These contextual phrases are replaced with the token \"[CTX]\". This feature uses an additional InfoType during inspection.", +"id": "ContextualDeidConfig", +"properties": {}, +"type": "object" +}, +"CreateMessageRequest": { +"description": "Creates a new message.", +"id": "CreateMessageRequest", +"properties": { +"message": { +"$ref": "Message", +"description": "Required. HL7v2 message." +} +}, +"type": "object" +}, +"CryptoHashConfig": { +"description": "Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.", +"id": "CryptoHashConfig", +"properties": { +"cryptoKey": { +"description": "An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither crypto_key nor kms_wrapped is specified. Must not be set if kms_wrapped is set.", +"format": "byte", +"type": "string" +}, +"kmsWrapped": { +"$ref": "KmsWrappedCryptoKey", +"description": "KMS wrapped key. Must not be set if crypto_key is set." +} +}, +"type": "object" +}, +"CryptoHashField": { +"description": "Replace field value with a hash of that value. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.", +"id": "CryptoHashField", +"properties": {}, +"type": "object" +}, +"Dataset": { +"description": "A message representing a health dataset. A health dataset represents a collection of healthcare data pertaining to one or more patients. This may include multiple modalities of healthcare data, such as electronic medical records or medical imaging data.", +"id": "Dataset", +"properties": { +"encryptionSpec": { +"$ref": "EncryptionSpec", +"description": "Customer-managed encryption key spec for a Dataset. If set, this Dataset and all of its sub-resources will be secured by this key. If empty, the Dataset is secured by the default Google encryption key." +}, +"name": { +"description": "Identifier. Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Whether the dataset satisfies zone isolation.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Whether the dataset satisfies zone separation.", +"readOnly": true, +"type": "boolean" +}, +"timeZone": { +"description": "The default timezone used by this dataset. Must be a either a valid IANA time zone name such as \"America/New_York\" or empty, which defaults to UTC. This is used for parsing times in resources, such as HL7 messages, where no explicit timezone is specified.", +"type": "string" +} +}, +"type": "object" +}, +"DateShiftConfig": { +"description": "Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination.", +"id": "DateShiftConfig", +"properties": { +"cryptoKey": { +"description": "An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If crypto_key is not set, then kms_wrapped is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if kms_wrapped is set.", +"format": "byte", +"type": "string" +}, +"kmsWrapped": { +"$ref": "KmsWrappedCryptoKey", +"description": "KMS wrapped key. If kms_wrapped is not set, then crypto_key is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if crypto_key is set." +} +}, +"type": "object" +}, +"DateShiftField": { +"description": "Shift the date by a randomized number of days. See [date shifting](https://cloud.google.com/dlp/docs/concepts-date-shifting) for more information. Supported [types](https://www.hl7.org/fhir/datatypes.html): Date, DateTime.", +"id": "DateShiftField", +"properties": {}, +"type": "object" +}, +"DeidentifiedStoreDestination": { +"description": "Contains configuration for streaming de-identified FHIR export.", +"id": "DeidentifiedStoreDestination", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "The configuration to use when de-identifying resources that are added to this store." +}, +"store": { +"description": "The full resource name of a Cloud Healthcare FHIR store, for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyConfig": { +"description": "Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime.", +"id": "DeidentifyConfig", +"properties": { +"dicom": { +"$ref": "DicomConfig", +"deprecated": true, +"description": "Configures de-id of application/DICOM content. Deprecated. Use `dicom_tag_config` instead." +}, +"dicomTagConfig": { +"$ref": "DicomTagConfig", +"description": "Configures de-id of application/DICOM content." +}, +"fhir": { +"$ref": "FhirConfig", +"deprecated": true, +"description": "Configures de-id of application/FHIR content. Deprecated. Use `fhir_field_config` instead." +}, +"fhirFieldConfig": { +"$ref": "FhirFieldConfig", +"description": "Configures de-id of application/FHIR content." +}, +"image": { +"$ref": "ImageConfig", +"deprecated": true, +"description": "Configures the de-identification of image pixels in the source_dataset. Deprecated. Use `dicom_tag_config.options.clean_image` instead." +}, +"operationMetadata": { +"$ref": "DeidentifyOperationMetadata", +"description": "Details about the work the de-identify operation performed." +}, +"text": { +"$ref": "TextConfig", +"description": "Configures de-identification of text wherever it is found in the source_dataset." +}, +"useRegionalDataProcessing": { +"description": "Ensures in-flight data remains in the region of origin during de-identification. The default value is false. Using this option results in a significant reduction of throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` infoTypes. If the deprecated DicomConfig or FhirConfig are used, then `LOCATION` must be excluded within TextConfig, and must also be excluded within ImageConfig if image redaction is required.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeidentifyDatasetRequest": { +"description": "Redacts identifying information from the specified dataset.", +"id": "DeidentifyDatasetRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationDataset": { +"description": "Required. The name of the dataset resource to create and write the redacted data to. * The destination dataset must not exist. * The destination dataset must be in the same location as the source dataset. De-identifying data across multiple locations is not supported.", +"type": "string" +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyDicomStoreRequest": { +"description": "Creates a new DICOM store with sensitive information de-identified.", +"id": "DeidentifyDicomStoreRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationStore": { +"description": "Required. The name of the DICOM store to write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset and DICOM store must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The caller must have the healthcare.dicomStores.dicomWebWrite permission to write to the destination DICOM store.", +"type": "string" +}, +"filterConfig": { +"$ref": "DicomFilterConfig", +"description": "Filter configuration." +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +} +}, +"type": "object" +}, +"DeidentifyFhirStoreRequest": { +"description": "Creates a new FHIR store with sensitive information de-identified.", +"id": "DeidentifyFhirStoreRequest", +"properties": { +"config": { +"$ref": "DeidentifyConfig", +"description": "Deidentify configuration. Only one of `config` and `gcs_config_uri` can be specified." +}, +"destinationStore": { +"description": "Required. The name of the FHIR store to write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. * The destination dataset and FHIR store must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store.", +"type": "string" +}, +"gcsConfigUri": { +"description": "Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form `gs://{bucket_id}/path/to/object`. The Cloud Storage location must grant the Cloud IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare Service Agent service account. Only one of `config` and `gcs_config_uri` can be specified.", +"type": "string" +}, +"resourceFilter": { +"$ref": "FhirFilter", +"description": "A filter specifying the resources to include in the output. If not specified, all resources are included in the output." +}, +"skipModifiedResources": { +"description": "If true, skips resources that are created or modified after the de-identify operation is created.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeidentifyOperationMetadata": { +"description": "Details about the work the de-identify operation performed.", +"id": "DeidentifyOperationMetadata", +"properties": { +"fhirOutput": { +"$ref": "FhirOutput", +"description": "Details about the FHIR store to write the output to." +} +}, +"type": "object" +}, +"DeidentifySummary": { +"description": "Contains a detailed summary of the Deidentify operation.", +"id": "DeidentifySummary", +"properties": {}, +"type": "object" +}, +"DeleteTag": { +"description": "Delete tag.", +"id": "DeleteTag", +"properties": {}, +"type": "object" +}, +"DicomConfig": { +"description": "Specifies the parameters needed for de-identification of DICOM stores.", +"id": "DicomConfig", +"properties": { +"filterProfile": { +"description": "Tag filtering profile that determines which tags to keep/remove.", +"enum": [ +"TAG_FILTER_PROFILE_UNSPECIFIED", +"MINIMAL_KEEP_LIST_PROFILE", +"ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", +"KEEP_ALL_PROFILE", +"DEIDENTIFY_TAG_CONTENTS" +], +"enumDescriptions": [ +"No tag filtration profile provided. Same as KEEP_ALL_PROFILE.", +"Keep only the tags required to produce valid DICOM objects.", +"Remove tags based on DICOM Standard's Attribute Confidentiality Basic Profile (DICOM Standard Edition 2018e) https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html.", +"Keep all tags.", +"Inspect within tag contents and replace sensitive text. The process can be configured using the TextConfig. Applies to all tags with the following Value Representation names: AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS" +], +"type": "string" +}, +"keepList": { +"$ref": "TagFilterList", +"description": "List of tags to keep. Remove all other tags." +}, +"removeList": { +"$ref": "TagFilterList", +"description": "List of tags to remove. Keep all other tags." +}, +"skipIdRedaction": { +"description": "If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare API regenerates these UIDs by default based on the DICOM Standard's reasoning: \"Whilst these UIDs cannot be mapped directly to an individual out of context, given access to the original images, or to a database of the original images containing the UIDs, it would be possible to recover the individual's identity.\" https://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.html", +"type": "boolean" +} +}, +"type": "object" +}, +"DicomFilterConfig": { +"description": "Specifies the filter configuration for DICOM resources.", +"id": "DicomFilterConfig", +"properties": { +"resourcePathsGcsUri": { +"description": "The Cloud Storage location of the filter configuration file. The `gcs_uri` must be in the format `gs://bucket/path/to/object`. The filter configuration file must contain a list of resource paths separated by newline characters (\\n or \\r\\n). Each resource path must be in the format \"/studies/{studyUID}[/series/{seriesUID}[/instances/{instanceUID}]]\" The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location.", +"type": "string" +} +}, +"type": "object" +}, +"DicomNotificationConfig": { +"description": "Contains the configuration for DICOM notifications.", +"id": "DicomNotificationConfig", +"properties": { +"pubsubTopic": { +"description": "Required. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. * `PubsubMessage.Attributes` contains the following attributes: * `action`: The name of the endpoint that generated the notification. Possible values are `StoreInstances`, `SetBlobSettings`, `ImportDicomData`, etc. * `lastUpdatedTime`: The latest timestamp when the DICOM instance was updated. * `storeName`: The resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * `studyInstanceUID`: The study UID of the DICOM instance that was changed. * `seriesInstanceUID`: The series UID of the DICOM instance that was changed. * `sopInstanceUID`: The instance UID of the DICOM instance that was changed. * `versionId`: The version ID of the DICOM instance that was changed. * `modality`: The modality tag of the DICOM instance that was changed. * `previousStorageClass`: The storage class where the DICOM instance was previously stored if the storage class was changed. * `storageClass`: The storage class where the DICOM instance is currently stored. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have the `pubsub.topics.publish` permission (which is typically included in `roles/pubsub.publisher` role) on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging).", +"type": "string" +} +}, +"type": "object" +}, +"DicomStore": { +"description": "Represents a DICOM store.", +"id": "DicomStore", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"type": "string" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"description": "Notification destination for new DICOM instances. Supplied by the client." +}, +"notificationConfigs": { +"description": "Optional. Specifies where and whether to send notifications upon changes to a DICOM store.", +"items": { +"$ref": "DicomNotificationConfig" +}, +"type": "array" +}, +"streamConfigs": { +"description": "Optional. A list of streaming configs used to configure the destination of streaming exports for every DICOM instance insertion in this DICOM store. After a new config is added to `stream_configs`, DICOM instance insertions are streamed to the new destination. When a config is removed from `stream_configs`, the server stops streaming to that destination. Each config must contain a unique destination.", +"items": { +"$ref": "GoogleCloudHealthcareV1beta1DicomStreamConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"DicomStoreMetrics": { +"description": "DicomStoreMetrics contains metrics describing a DICOM store.", +"id": "DicomStoreMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the store.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the store.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Resource name of the DICOM store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`.", +"type": "string" +}, +"seriesCount": { +"description": "Number of series in the store.", +"format": "int64", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the store.", +"format": "int64", +"type": "string" +}, +"studyCount": { +"description": "Number of studies in the store.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DicomTagConfig": { +"description": "Specifies the parameters needed for the de-identification of DICOM stores.", +"id": "DicomTagConfig", +"properties": { +"actions": { +"description": "Specifies custom tag selections and `Actions` to apply to them. Overrides `options` and `profile`. Conflicting `Actions` are applied in the order given.", +"items": { +"$ref": "Action" +}, +"type": "array" +}, +"options": { +"$ref": "Options", +"description": "Specifies additional options to apply, overriding the base `profile`." +}, +"profileType": { +"description": "Base profile type for handling DICOM tags.", +"enum": [ +"PROFILE_TYPE_UNSPECIFIED", +"MINIMAL_KEEP_LIST_PROFILE", +"ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE", +"KEEP_ALL_PROFILE", +"DEIDENTIFY_TAG_CONTENTS" +], +"enumDescriptions": [ +"No profile provided. Same as `ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE`.", +"Keep only the tags required to produce valid DICOM objects.", +"Remove tags based on DICOM Standard's [Attribute Confidentiality Basic Profile (DICOM Standard Edition 2018e)](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html).", +"Keep all tags.", +"Inspect tag contents and replace sensitive text. The process can be configured using the TextConfig. Applies to all tags with the following [Value Representations] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS" +], +"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" +}, +"EncryptionSpec": { +"description": "Represents a customer-managed encryption key spec that can be applied to a resource.", +"id": "EncryptionSpec", +"properties": { +"kmsKeyName": { +"description": "Required. The resource name of customer-managed encryption key that is used to secure a resource and its sub-resources. Only the key in the same location as this dataset is allowed to be used for encryption. Format is: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "The candidate entities that an entity mention could link to.", +"id": "Entity", +"properties": { +"entityId": { +"description": "entity_id is a first class field entity_id uniquely identifies this concept and its meta-vocabulary. For example, \"UMLS/C0000970\".", +"type": "string" +}, +"preferredTerm": { +"description": "preferred_term is the preferred term for this concept. For example, \"Acetaminophen\". For ad hoc entities formed by normalization, this is the most popular unnormalized string.", +"type": "string" +}, +"vocabularyCodes": { +"description": "Vocabulary codes are first-class fields and differentiated from the concept unique identifier (entity_id). vocabulary_codes contains the representation of this concept in particular vocabularies, such as ICD-10, SNOMED-CT and RxNORM. These are prefixed by the name of the vocabulary, followed by the unique code within that vocabulary. For example, \"RXNORM/A10334543\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"EntityMention": { +"description": "An entity mention in the document.", +"id": "EntityMention", +"properties": { +"additionalInfo": { +"description": "Additional information about the entity mention. For example, for an entity mention of type `DATE` this can be its more specific date types from the following list: `ADMISSION_DATE`, `CONSULTATION_DATE`, `DISCHARGE_DATE`, `SERVICE_DATE`, `VISIT_DATE`, `DIAGNOSIS_DATE`, `MED_STARTED_DATE`, `MED_ENDED_DATE`, `NOTE_DATE`, `PROCEDURE_DATE`, `RADIATION_STARTED_DATE`, `RADIATION_ENDED_DATE`, `STAGE_DATE`", +"items": { +"$ref": "Feature" +}, +"type": "array" +}, +"certaintyAssessment": { +"$ref": "Feature", +"description": "The certainty assessment of the entity mention. Its value is one of: LIKELY, SOMEWHAT_LIKELY, UNCERTAIN, SOMEWHAT_UNLIKELY, UNLIKELY, CONDITIONAL" +}, +"confidence": { +"description": "The model's confidence in this entity mention annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"linkedEntities": { +"description": "linked_entities are candidate ontological concepts that this entity mention may refer to. They are sorted by decreasing confidence.", +"items": { +"$ref": "LinkedEntity" +}, +"type": "array" +}, +"mentionId": { +"description": "mention_id uniquely identifies each entity mention in a single response.", +"type": "string" +}, +"subject": { +"$ref": "Feature", +"description": "The subject this entity mention relates to. Its value is one of: PATIENT, FAMILY_MEMBER, OTHER" +}, +"temporalAssessment": { +"$ref": "Feature", +"description": "How this entity mention relates to the subject temporally. Its value is one of: CURRENT, CLINICAL_HISTORY, FAMILY_HISTORY, UPCOMING, ALLERGY" +}, +"text": { +"$ref": "TextSpan", +"description": "text is the location of the entity mention in the document." +}, +"type": { +"description": "The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE, ANATOMICAL_STRUCTURE, ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE, BODY_FUNCTION, BODY_MEASUREMENT, COMPLIANT, DOESNOT_FOLLOWUP, FAMILY, FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT, LAB_VALUE, MEDICAL_DEVICE, MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY, MED_ROUTE, MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT, OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD, REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.", +"type": "string" +} +}, +"type": "object" +}, +"EntityMentionRelationship": { +"description": "Defines directed relationship from one entity mention to another.", +"id": "EntityMentionRelationship", +"properties": { +"confidence": { +"description": "The model's confidence in this annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"objectId": { +"description": "object_id is the id of the object entity mention.", +"type": "string" +}, +"subjectId": { +"description": "subject_id is the id of the subject entity mention.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluateUserConsentsRequest": { +"description": "Evaluate a user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, causing slight delays between the time mappings are created or updated and when they are included in EvaluateUserConsents results.", +"id": "EvaluateUserConsentsRequest", +"properties": { +"consentList": { +"$ref": "ConsentList", +"description": "Optional. Specific Consents to evaluate the access request against. These Consents must have the same `user_id` as the User data mappings being evalauted, must exist in the current `consent_store`, and must have a `state` of either `ACTIVE` or `DRAFT`. A maximum of 100 Consents can be provided here. If unspecified, all `ACTIVE` unexpired Consents in the current `consent_store` will be evaluated." +}, +"pageSize": { +"description": "Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Token to retrieve the next page of results, or empty to get the first page.", +"type": "string" +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. The values of request attributes associated with this access request.", +"type": "object" +}, +"resourceAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The values of resource attributes associated with the resources being requested. If no values are specified, then all resources are queried.", +"type": "object" +}, +"responseView": { +"description": "Optional. The view for EvaluateUserConsentsResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.", +"enum": [ +"RESPONSE_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"No response view specified. The API will default to the BASIC view.", +"Only the `data_id` and `consented` fields are populated in the response.", +"All fields within the response are populated. When set to `FULL`, all `ACTIVE` Consents are evaluated even if a matching policy is found during evaluation." +], +"type": "string" +}, +"userId": { +"description": "Required. User ID to evaluate consents for.", +"type": "string" +} +}, +"type": "object" +}, +"EvaluateUserConsentsResponse": { +"id": "EvaluateUserConsentsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list. This token is valid for 72 hours after it is created.", +"type": "string" +}, +"results": { +"description": "The consent evaluation result for each `data_id`.", +"items": { +"$ref": "Result" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessConsentInfo": { +"description": "The enforcing consent's metadata.", +"id": "ExplainDataAccessConsentInfo", +"properties": { +"cascadeOrigins": { +"description": "The compartment base resources that matched a cascading policy. Each resource has the following format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/{resource_type}/{resource_id}`", +"items": { +"type": "string" +}, +"type": "array" +}, +"consentResource": { +"description": "The resource name of this consent resource, in the format: `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`.", +"type": "string" +}, +"enforcementTime": { +"description": "Last enforcement timestamp of this consent resource.", +"format": "google-datetime", +"type": "string" +}, +"matchingAccessorScopes": { +"description": "A list of all the matching accessor scopes of this consent policy that enforced ExplainDataAccessConsentScope.accessor_scope.", +"items": { +"$ref": "ConsentAccessorScope" +}, +"type": "array" +}, +"patientConsentOwner": { +"description": "The patient owning the consent (only applicable for patient consents), in the format: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}`", +"type": "string" +}, +"type": { +"description": "The policy type of consent resource (e.g. PATIENT, ADMIN).", +"enum": [ +"CONSENT_POLICY_TYPE_UNSPECIFIED", +"CONSENT_POLICY_TYPE_PATIENT", +"CONSENT_POLICY_TYPE_ADMIN" +], +"enumDescriptions": [ +"Unspecified policy type.", +"Consent represent a patient consent.", +"Consent represent an admin consent." +], +"type": "string" +}, +"variants": { +"description": "The consent's variant combinations. A single consent may have multiple variants.", +"items": { +"enum": [ +"CONSENT_VARIANT_UNSPECIFIED", +"CONSENT_VARIANT_STANDARD", +"CONSENT_VARIANT_CASCADE" +], +"enumDescriptions": [ +"Consent variant unspecified.", +"Consent is a standard patient or admin consent.", +"Consent is a cascading consent." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessConsentScope": { +"description": "A single consent scope that provides info on who has access to the requested resource scope for a particular purpose and environment, enforced by which consent.", +"id": "ExplainDataAccessConsentScope", +"properties": { +"accessorScope": { +"$ref": "ConsentAccessorScope", +"description": "The accessor scope that describes who can access, for what purpose, and in which environment." +}, +"decision": { +"description": "Whether the current consent scope is permitted or denied access on the requested resource.", +"enum": [ +"CONSENT_DECISION_TYPE_UNSPECIFIED", +"CONSENT_DECISION_TYPE_PERMIT", +"CONSENT_DECISION_TYPE_DENY" +], +"enumDescriptions": [ +"Unspecified consent decision type.", +"Consent permitted access.", +"Consent denied access." +], +"type": "string" +}, +"enforcingConsents": { +"description": "Metadata of the consent resources that enforce the consent scope's access.", +"items": { +"$ref": "ExplainDataAccessConsentInfo" +}, +"type": "array" +}, +"exceptions": { +"description": "Other consent scopes that created exceptions within this scope.", +"items": { +"$ref": "ExplainDataAccessConsentScope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExplainDataAccessResponse": { +"description": "List of consent scopes that are applicable to the explained access on a given resource.", +"id": "ExplainDataAccessResponse", +"properties": { +"consentScopes": { +"description": "List of applicable consent scopes. Sorted in order of actor such that scopes belonging to the same actor will be adjacent to each other in the list.", +"items": { +"$ref": "ExplainDataAccessConsentScope" +}, +"type": "array" +}, +"warning": { +"description": "Warnings associated with this response. It inform user with exceeded scope limit errors.", +"type": "string" +} +}, +"type": "object" +}, +"ExportDicomDataRequest": { +"description": "Exports data from the specified DICOM store. If a given resource, such as a DICOM object with the same SOPInstance UID, already exists in the output, it is overwritten with the version in the source dataset. Exported DICOM data persists when the DICOM store from which it was exported is deleted.", +"id": "ExportDicomDataRequest", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1beta1DicomBigQueryDestination", +"description": "The BigQuery output destination. You can only export to a BigQuery dataset that's in the same project as the DICOM store you're exporting from. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`." +}, +"filterConfig": { +"$ref": "DicomFilterConfig", +"description": "Specifies the filter configuration." +}, +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1beta1DicomGcsDestination", +"description": "The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ExportDicomDataResponse": { +"description": "Returns additional information in regards to a completed DICOM store export.", +"id": "ExportDicomDataResponse", +"properties": {}, +"type": "object" +}, +"ExportMessagesRequest": { +"description": "Request to schedule an export.", +"id": "ExportMessagesRequest", +"properties": { +"endTime": { +"description": "The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the time when the export is scheduled is used. This value has to come after the `start_time` defined below. Only messages whose `send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive) are exported.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Restricts messages exported to those matching a filter, only applicable to PubsubDestination and GcsDestination. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in the `yyyy-mm-dd` format. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, and is just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. Note: The filter will be applied to every message in the HL7v2 store whose `send_time` lies in the range defined by the `start_time` and the `end_time`. Even if the filter only matches a small set of messages, the export operation can still take a long time to finish when a lot of messages are between the specified `start_time` and `end_time` range.", +"type": "string" +}, +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Export to a Cloud Storage destination." +}, +"pubsubDestination": { +"$ref": "PubsubDestination", +"description": "Export messages to a Pub/Sub topic." +}, +"startTime": { +"description": "The start of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is used. This value has to come before the `end_time` defined below. Only messages whose `send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive) are exported.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ExportMessagesResponse": { +"description": "Final response for the export operation. This structure is included in the response to describe the detailed outcome.", +"id": "ExportMessagesResponse", +"properties": {}, +"type": "object" +}, +"ExportResourcesHistoryRequest": { +"description": "Request to export the history of resources.", +"id": "ExportResourcesHistoryRequest", +"properties": { +"_since": { +"description": "If provided, only resources versions updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"type": "string" +}, +"_type": { +"description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"type": "string" +}, +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1beta1FhirGcsDestination", +"description": "The Cloud Storage output destination. The Healthcare Service Agent account requires the `roles/storage.objectAdmin` role on the Cloud Storage location. The exported outputs are organized by FHIR resource types. The server creates one or more objects per resource type depending on the volume of the resources exported. When there is only one object per resource type, the object name is in the form of `{operation_id})_history_{resource_type}`. When there are multiple objects for a given resource type, the object names are in the form of `{operation_id}_history_{resource_type}-{index}-of-{total}`. Each object contains newline delimited JSON, and each line is a FHIR history bundle containing the history for a single resource." +}, +"maxResourceVersions": { +"description": "If provided and non-zero, places a limit on the number of resource versions that are returned for a given resource. For example, if the limit is `100` and a resource has over 100 versions, only the 100 most recent versions will be returned. Must be positive.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExportResourcesRequest": { +"description": "Request to export resources.", +"id": "ExportResourcesRequest", +"properties": { +"_since": { +"description": "If provided, only resources updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified to the second and include a time zone.", +"type": "string" +}, +"_type": { +"description": "String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.", +"type": "string" +}, +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1beta1FhirBigQueryDestination", +"description": "The BigQuery output destination. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`. The output is one BigQuery table per resource type. Unlike when setting `BigQueryDestination` for `StreamConfig`, `ExportResources` does not create BigQuery views." +}, +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1beta1FhirGcsDestination", +"description": "The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location. The exported outputs are organized by FHIR resource types. The server creates one object per resource type. Each object contains newline delimited JSON, and each line is a FHIR resource." +} +}, +"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" +}, +"Feature": { +"description": "A feature of an entity mention.", +"id": "Feature", +"properties": { +"confidence": { +"description": "The model's confidence in this feature annotation. A number between 0 and 1.", +"format": "double", +"type": "number" +}, +"value": { +"description": "The value of this feature annotation. Its range depends on the type of the feature.", +"type": "string" +} +}, +"type": "object" +}, +"FhirConfig": { +"description": "Specifies how to handle de-identification of a FHIR store.", +"id": "FhirConfig", +"properties": { +"defaultKeepExtensions": { +"description": "The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default.", +"type": "boolean" +}, +"fieldMetadataList": { +"description": "Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata is passed through to the output dataset unmodified. All extensions will be processed according to `default_keep_extensions`. If a field can be matched by more than one FieldMetadata, the first FieldMetadata.Action is applied.", +"items": { +"$ref": "FieldMetadata" +}, +"type": "array" +} +}, +"type": "object" +}, +"FhirFieldConfig": { +"description": "Specifies how to handle the de-identification of a FHIR store.", +"id": "FhirFieldConfig", +"properties": { +"fieldMetadataList": { +"description": "Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata `action` is passed through to the output dataset unmodified. All extensions will be processed according to keep_extensions. If a field can be matched by more than one FieldMetadata `action`, the first `action` option is applied. Overrides options and the union field `profile` in FhirFieldConfig.", +"items": { +"$ref": "GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata" +}, +"type": "array" +}, +"options": { +"$ref": "GoogleCloudHealthcareV1beta1DeidentifyOptions", +"description": "Specifies additional options, overriding the base ProfileType." +}, +"profileType": { +"description": "Base profile type for handling FHIR fields.", +"enum": [ +"PROFILE_TYPE_UNSPECIFIED", +"KEEP_ALL", +"BASIC", +"CLEAN_ALL" +], +"enumDescriptions": [ +"No profile provided. Same as `BASIC`.", +"Keep all fields.", +"Transforms known [HIPAA 18](https://www.hhs.gov/hipaa/for-professionals/privacy/special-topics/de-identification/index.html#standard) fields and cleans known unstructured text fields.", +"Cleans all supported tags. Applies to types: Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml." +], +"type": "string" +} +}, +"type": "object" +}, +"FhirFilter": { +"description": "Filter configuration.", +"id": "FhirFilter", +"properties": { +"resources": { +"$ref": "Resources", +"description": "List of resources to include in the output. If this list is empty or not specified, all resources are included in the output." +} +}, +"type": "object" +}, +"FhirNotificationConfig": { +"description": "Contains the configuration for FHIR notifications.", +"id": "FhirNotificationConfig", +"properties": { +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging).", +"type": "string" +}, +"sendFullResource": { +"description": "Whether to send full FHIR resource to this Pub/Sub topic for Create and Update operation. The default value is false. Note that setting this to true does not guarantee that all resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the \"payloadType\" label from a Pub/Sub message to determine whether it needs to fetch the full resource as a separate operation.", +"type": "boolean" +}, +"sendPreviousResourceOnDelete": { +"description": "Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR resource. The default value is false. Note that setting this to true does not guarantee that all previous resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the \"payloadType\" label from a Pub/Sub message to determine whether it needs to fetch the full previous resource as a separate operation.", +"type": "boolean" +} +}, +"type": "object" +}, +"FhirOutput": { +"description": "Details about the FHIR store to write the output to.", +"id": "FhirOutput", +"properties": { +"fhirStore": { +"description": "Name of the output FHIR store, which must already exist. You must grant the healthcare.fhirResources.update permission on the destination store to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#the_cloud_healthcare_service_agent). The destination store must set enableUpdateCreate to true. The destination store must use FHIR version R4. Writing these resources will consume FHIR operations quota from the project containing the source data. De-identify operation metadata is only generated for DICOM de-identification operations.", +"type": "string" +} +}, +"type": "object" +}, +"FhirStore": { +"description": "Represents a FHIR store.", +"id": "FhirStore", +"properties": { +"bulkExportGcsDestination": { +"$ref": "BulkExportGcsDestination", +"description": "Optional. FHIR bulk export exports resources to the specified Cloud Storage destination. A Cloud Storage destination is a URI for a Cloud Storage directory where result files will be written. Only used in the spec-defined bulk $export methods. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM role on the destination." +}, +"complexDataTypeReferenceParsing": { +"description": "Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. Cannot be disabled in R5.", +"enum": [ +"COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"No parsing behavior specified. This is the same as DISABLED for backwards compatibility.", +"References in complex data types are ignored.", +"References in complex data types are parsed." +], +"type": "string" +}, +"consentConfig": { +"$ref": "ConsentConfig", +"description": "Optional. Specifies whether this store has consent enforcement. Not available for DSTU2 FHIR version due to absence of Consent resources. Not supported for R5 FHIR version." +}, +"defaultSearchHandlingStrict": { +"description": "If true, overrides the default search behavior for this FHIR store to `handling=strict` which returns an error for unrecognized search parameters. If false, uses the FHIR specification default `handling=lenient` which ignores unrecognized search parameters. The handling can always be changed from the default on an individual API call by setting the HTTP header `Prefer: handling=strict` or `Prefer: handling=lenient`. Defaults to false.", +"type": "boolean" +}, +"disableReferentialIntegrity": { +"description": "Immutable. Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API enforces referential integrity and fails the requests that result in inconsistent state in the FHIR store. When this field is set to true, the API skips referential integrity checks. Consequently, operations that rely on references, such as GetPatientEverything, do not return all the results if broken references exist.", +"type": "boolean" +}, +"disableResourceVersioning": { +"description": "Immutable. Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, all write operations cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions are kept. The server sends errors for attempts to read the historical versions. Defaults to false.", +"type": "boolean" +}, +"enableHistoryModifications": { +"description": "Optional. Whether to allow the [ImportResourcesHistory] and [ExecuteBundle] APIs to accept history bundles, and directly insert and overwrite historical resource versions into the FHIR store. Changing resource histories creates resource interactions that have occurred in the past which clients might not allow. If set to false, [ImportResourcesHistory] and [ExecuteBundle] requests will return errors.", +"type": "boolean" +}, +"enableUpdateCreate": { +"description": "Whether this FHIR store has the [updateCreate capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.updateCreate). This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to update a non-existent resource return errors. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud audit logs and Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. Defaults to false.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Output only. Identifier. Resource name of the FHIR store, of the form `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"deprecated": true, +"description": "Deprecated. Use `notification_configs` instead. If non-empty, publish all resource modifications of this FHIR store to this destination. The Pub/Sub message attributes contain a map with a string describing the action that has triggered the notification. For example, \"action\":\"CreateResource\". Not supported in R5. Use `notification_configs` instead." +}, +"notificationConfigs": { +"description": "Specifies where and whether to send notifications upon changes to a Fhir store.", +"items": { +"$ref": "FhirNotificationConfig" +}, +"type": "array" +}, +"searchConfig": { +"$ref": "SearchConfig", +"description": "Configuration for how FHIR resources can be searched." +}, +"streamConfigs": { +"description": "A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#bigquery.dataEditor) role to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/iam/docs/service-accounts). Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination.", +"items": { +"$ref": "StreamConfig" +}, +"type": "array" +}, +"validationConfig": { +"$ref": "ValidationConfig", +"description": "Configuration for how to validate incoming FHIR resources against configured profiles." +}, +"version": { +"description": "Required. Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store.", +"enum": [ +"VERSION_UNSPECIFIED", +"DSTU2", +"STU3", +"R4", +"R5" +], +"enumDescriptions": [ +"VERSION_UNSPECIFIED is treated as STU3 to accommodate the existing FHIR stores.", +"Draft Standard for Trial Use, [Release 2](https://www.hl7.org/fhir/DSTU2)", +"Standard for Trial Use, [Release 3](https://www.hl7.org/fhir/STU3)", +"[Release 4](https://www.hl7.org/fhir/R4)", +"[Release 5](https://www.hl7.org/fhir/R5)" +], +"type": "string" +} +}, +"type": "object" +}, +"FhirStoreMetric": { +"description": "Count of resources and total storage size by type for a given FHIR store.", +"id": "FhirStoreMetric", +"properties": { +"count": { +"description": "The total count of FHIR resources in the store of this resource type.", +"format": "int64", +"type": "string" +}, +"resourceType": { +"description": "The FHIR resource type this metric applies to.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "The total amount of structured storage used by FHIR resources of this resource type in the store.", +"format": "int64", +"type": "string" +}, +"versionedStorageSizeBytes": { +"description": "The total amount of versioned storage used by versioned FHIR resources of this resource type in the store.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FhirStoreMetrics": { +"description": "List of metrics for a given FHIR store.", +"id": "FhirStoreMetrics", +"properties": { +"metrics": { +"description": "List of FhirStoreMetric by resource type.", +"items": { +"$ref": "FhirStoreMetric" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the FHIR store to get metrics for, in the format `projects/{project_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"Field": { +"description": "A (sub) field of a type.", +"id": "Field", +"properties": { +"maxOccurs": { +"description": "The maximum number of times this field can be repeated. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"minOccurs": { +"description": "The minimum number of times this field must be present/repeated.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the field. For example, \"PID-1\" or just \"1\".", +"type": "string" +}, +"table": { +"description": "The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary Language) usually refers to table \"0296\".", +"type": "string" +}, +"type": { +"description": "The type of this field. A Type with this name must be defined in an Hl7TypesConfig.", +"type": "string" +} +}, +"type": "object" +}, +"FieldMetadata": { +"description": "Specifies FHIR paths to match, and how to handle de-identification of matching fields.", +"id": "FieldMetadata", +"properties": { +"action": { +"description": "Deidentify action for one field.", +"enum": [ +"ACTION_UNSPECIFIED", +"TRANSFORM", +"INSPECT_AND_TRANSFORM", +"DO_NOT_TRANSFORM" +], +"enumDescriptions": [ +"No action specified.", +"Transform the entire field based on transformations specified in TextConfig. When the specified transformation cannot be applied to a field, RedactConfig is used. For example, a Crypto Hash transformation can't be applied to a FHIR Date field.", +"Inspect and transform any found PHI.", +"Do not transform." +], +"type": "string" +}, +"paths": { +"description": "List of paths to FHIR fields to redact. Each path is a period-separated list where each component is either a field name or FHIR type name. All types begin with an upper case letter. For example, the resource field \"Patient.Address.city\", which uses a string type, can be matched by \"Patient.Address.String\". Path also supports partial matching. For example, \"Patient.Address.city\" can be matched by \"Address.city\" (Patient omitted). Partial matching and type matching can be combined. For example, \"Patient.Address.city\" can be matched by \"Address.String\". For \"choice\" types (those defined in the FHIR spec with the form: field[x]), use two separate components. For example, \"deceasedAge.unit\" is matched by \"Deceased.Age.unit\". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml. The sub-type for HumanName(for example HumanName.given, HumanName.family) can be omitted.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Cloud Storage output destination. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location.", +"id": "GcsDestination", +"properties": { +"contentStructure": { +"description": "The format of the exported HL7v2 message files.", +"enum": [ +"CONTENT_STRUCTURE_UNSPECIFIED", +"MESSAGE_JSON" +], +"enumDescriptions": [ +"If the content structure is not specified, the default value `MESSAGE_JSON` will be used.", +"Messages are printed using the JSON format returned from the `GetMessage` API. Messages are delimited with newlines." +], +"type": "string" +}, +"messageView": { +"description": "Specifies the parts of the Message resource to include in the export. If not specified, FULL is used.", +"enum": [ +"MESSAGE_VIEW_UNSPECIFIED", +"RAW_ONLY", +"PARSED_ONLY", +"FULL", +"SCHEMATIZED_ONLY", +"BASIC" +], +"enumDescriptions": [ +"Not specified, equivalent to FULL for getMessage, equivalent to BASIC for listMessages.", +"Server responses include all the message fields except parsed_data, and schematized_data fields.", +"Server responses include all the message fields except data and schematized_data fields.", +"Server responses include all the message fields.", +"Server responses include all the message fields except data and parsed_data fields.", +"Server responses include only the name field." +], +"type": "string" +}, +"uriPrefix": { +"description": "URI of an existing Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) to import. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * `*` to match 0 or more non-separator characters * `**` to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson` imports all files with `.ndjson` extensions in `my-directory/` and its sub-directories. * `?` to match 1 character Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1ConsentGcsDestination": { +"description": "The Cloud Storage location for export.", +"id": "GoogleCloudHealthcareV1beta1ConsentGcsDestination", +"properties": { +"uriPrefix": { +"description": "URI for a Cloud Storage directory where the server writes result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket and directory referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1ConsentPolicy": { +"description": "Represents a user's consent in terms of the resources that can be accessed and under what conditions.", +"id": "GoogleCloudHealthcareV1beta1ConsentPolicy", +"properties": { +"authorizationRule": { +"$ref": "Expr", +"description": "Required. The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`)." +}, +"resourceAttributes": { +"description": "The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.", +"items": { +"$ref": "Attribute" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary": { +"description": "Contains a summary of the DeidentifyDicomStore operation.", +"id": "GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary": { +"description": "Contains a summary of the DeidentifyFhirStore operation.", +"id": "GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata": { +"description": "Specifies the FHIR paths to match and how to handle the de-identification of matching fields.", +"id": "GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata", +"properties": { +"characterMaskField": { +"$ref": "CharacterMaskField", +"description": "Replace the field's value with a masking character. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml." +}, +"cleanTextField": { +"$ref": "CleanTextField", +"description": "Inspect the field's text and transform sensitive text. Configure using TextConfig. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml." +}, +"cryptoHashField": { +"$ref": "CryptoHashField", +"description": "Replace field value with a hash of that value. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml." +}, +"dateShiftField": { +"$ref": "DateShiftField", +"description": "Shift the date by a randomized number of days. See [date shifting](https://cloud.google.com/dlp/docs/concepts-date-shifting) for more information. Supported [types](https://www.hl7.org/fhir/datatypes.html): Date, DateTime." +}, +"keepField": { +"$ref": "KeepField", +"description": "Keep the field unchanged." +}, +"paths": { +"description": "List of paths to FHIR fields to redact. Each path is a period-separated list where each component is either a field name or FHIR [type](https://www.hl7.org/fhir/datatypes.html) name. All types begin with an upper case letter. For example, the resource field `Patient.Address.city`, which uses a [string](https://www.hl7.org/fhir/datatypes-definitions.html#Address.city) type, can be matched by `Patient.Address.String`. Partial matching is supported. For example, `Patient.Address.city` can be matched by `Address.city` (with `Patient` omitted). Partial matching and type matching can be combined, for example `Patient.Address.city` can be matched by `Address.String`. For \"choice\" types (those defined in the FHIR spec with the format `field[x]`), use two separate components. For example, `deceasedAge.unit` is matched by `Deceased.Age.unit`. The following types are supported: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml. The sub-type for HumanName (for example `HumanName.given`, `HumanName.family`) can be omitted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeField": { +"$ref": "RemoveField", +"description": "Remove the field." +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DeidentifyOptions": { +"description": "Specifies additional options to apply to the base ProfileType.", +"id": "GoogleCloudHealthcareV1beta1DeidentifyOptions", +"properties": { +"characterMaskConfig": { +"$ref": "CharacterMaskConfig", +"description": "Character mask config for CharacterMaskField." +}, +"contextualDeid": { +"$ref": "ContextualDeidConfig", +"description": "Configure contextual de-id." +}, +"cryptoHashConfig": { +"$ref": "CryptoHashConfig", +"description": "Crypto hash config for CharacterMaskField." +}, +"dateShiftConfig": { +"$ref": "DateShiftConfig", +"description": "Date shifting config for CharacterMaskField." +}, +"keepExtensions": { +"$ref": "KeepExtensionsConfig", +"description": "Configure keeping extensions by default." +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DicomBigQueryDestination": { +"description": "The BigQuery table where the server writes output.", +"id": "GoogleCloudHealthcareV1beta1DicomBigQueryDestination", +"properties": { +"changeDataCaptureConfig": { +"$ref": "GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig", +"description": "Optional. Setting this field will enable BigQuery's Change Data Capture (CDC) on the destination tables with JSON schema. Set this field if you want to only keep the latest version of each instance. Updates and deletes to an existing' instance will overwrite the corresponding row. See https://cloud.google.com/bigquery/docs/change-data-capture for details. Note that this field is only supported with the SchemaJSON option. The SchemaFlattened option is not compatible with CDC." +}, +"force": { +"description": "Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.", +"type": "boolean" +}, +"includeSourceStore": { +"description": "Optional. If true, the source store name will be included as a column in the BigQuery schema.", +"type": "boolean" +}, +"schemaFlattened": { +"$ref": "SchemaFlattened", +"description": "Optional. Setting this field will use flattened DICOM instances schema for the BigQuery table. The flattened schema will have one column for each DICOM tag." +}, +"schemaJson": { +"$ref": "SchemaJSON", +"description": "Optional. Setting this field will store all the DICOM tags as a JSON type in a single column." +}, +"tableUri": { +"description": "BigQuery URI to a table, up to 2000 characters long, in the format `bq://projectId.bqDatasetId.tableId`", +"type": "string" +}, +"writeDisposition": { +"description": "Determines whether the existing table in the destination is to be overwritten or appended to. If a write_disposition is specified, the `force` parameter is ignored.", +"enum": [ +"WRITE_DISPOSITION_UNSPECIFIED", +"WRITE_EMPTY", +"WRITE_TRUNCATE", +"WRITE_APPEND" +], +"enumDescriptions": [ +"Default behavior is the same as WRITE_EMPTY.", +"Only export data if the destination table is empty.", +"Erase all existing data in the destination table before writing the instances.", +"Append data to the destination table." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig": { +"description": "BigQuery Change Data Capture configuration.", +"id": "GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DicomGcsDestination": { +"description": "The Cloud Storage location where the server writes the output and the export configuration.", +"id": "GoogleCloudHealthcareV1beta1DicomGcsDestination", +"properties": { +"mimeType": { +"description": "MIME types supported by DICOM spec. Each file is written in the following format: `.../{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension}` The frame_number component exists only for multi-frame instances. Supported MIME types are consistent with supported formats in DICOMweb: https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.2 (DICOM Implicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.1 (DICOM Explicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.1.99 (DICOM Deflated Explicit VR Little Endian) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.51 (DICOM with embedded JPEG Extended) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.57 (DICOM with embedded JPEG Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.70 (DICOM with embedded JPEG Lossless First-Order Prediction) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.80 (DICOM with embedded JPEG-LS Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.81 (DICOM with embedded JPEG-LS Lossy (Near-Lossless)) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded JPEG 2000) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.110 (DICOM with embedded JPEG XL Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.111 (DICOM with embedded JPEG XL JPEG Recompression) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.112 (DICOM with embedded JPEG XL) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.201 (DICOM with embedded High-Throughput JPEG 2000 Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.202 (DICOM with embedded High-Throughput JPEG 2000 with RPCL Options Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.203 (DICOM with embedded High-Throughput JPEG 2000) - application/dicom; transfer-syntax=1.2.840.10008.1.2.5 (DICOM with embedded RLE Lossless) - application/dicom; transfer-syntax=1.2.840.10008.1.2.8.1 (DICOM with embedded Deflated Image Frame Compression) - application/dicom; transfer-syntax=* (DICOM with no transcoding) - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg - image/png -> .png - application/octet-stream -> no extension If unspecified, the instances are exported in the original DICOM format they were uploaded in.", +"type": "string" +}, +"uriPrefix": { +"description": "The Cloud Storage destination to export to. URI for a Cloud Storage directory where the server writes the result files, in the format `gs://{bucket-id}/{path/to/destination/dir}`). If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DicomGcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GoogleCloudHealthcareV1beta1DicomGcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) with content only. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * '*' to match 0 or more non-separator characters * '**' to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .dcm), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm extensions in `my-directory/` and its sub-directories. * '?' to match 1 character. All other URI formats are invalid. Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1DicomStreamConfig": { +"description": "StreamConfig specifies configuration for a streaming DICOM export.", +"id": "GoogleCloudHealthcareV1beta1DicomStreamConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1beta1DicomBigQueryDestination", +"description": "Results are appended to this table. The server creates a new table in the given BigQuery dataset if the specified table does not exist. To enable the Cloud Healthcare API to write to your BigQuery table, you must give the Cloud Healthcare API service account the bigquery.dataEditor role. The service account is: `service-{PROJECT_NUMBER}@gcp-sa-healthcare.iam.gserviceaccount.com`. The PROJECT_NUMBER identifies the project that the DICOM store resides in. To get the project number, go to the Cloud Console Dashboard. It is recommended to not have a custom schema in the destination table which could conflict with the schema created by the Cloud Healthcare API. Instance deletions are not applied to the destination table. The destination's table schema will be automatically updated in case a new instance's data is incompatible with the current schema. The schema should not be updated manually as this can cause incompatibilies that cannot be resolved automatically. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any instance that generates more than 1 MB of BigQuery data will not be streamed. If an instance cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging))." +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirBigQueryDestination": { +"description": "The configuration for exporting to BigQuery.", +"id": "GoogleCloudHealthcareV1beta1FhirBigQueryDestination", +"properties": { +"changeDataCaptureConfig": { +"$ref": "GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig", +"description": "Optional. Setting this field will enable BigQuery's Change Data Capture (CDC) on the destination tables. Use this field if you: - Want to only keep the latest version of each resource. Updates and deletes to an existing resource will overwrite the corresponding row. - Have a store with enabled history modifications and want to keep the entire history of resource versions but want the history to be mutable. Updates and deletes to a specific resource version will overwrite the corresponding row. See https://cloud.google.com/bigquery/docs/change-data-capture for details." +}, +"datasetUri": { +"description": "BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`.", +"type": "string" +}, +"force": { +"description": "Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.", +"type": "boolean" +}, +"schemaConfig": { +"$ref": "SchemaConfig", +"description": "The configuration for the exported BigQuery schema." +}, +"writeDisposition": { +"description": "Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored.", +"enum": [ +"WRITE_DISPOSITION_UNSPECIFIED", +"WRITE_EMPTY", +"WRITE_TRUNCATE", +"WRITE_APPEND" +], +"enumDescriptions": [ +"Default behavior is the same as WRITE_EMPTY.", +"Only export data if the destination tables are empty.", +"Erase all existing data in the destination tables before writing the FHIR resources.", +"Append data to the destination tables." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig": { +"description": "BigQuery Change Data Capture configuration.", +"id": "GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig", +"properties": { +"historyMode": { +"description": "Optional. Configures how historical versions of FHIR resources will be reflected in the destination table through updates and deletes. Defaults to `HistoryMode.KEEP_LATEST_VERSION` if unspecified.", +"enum": [ +"HISTORY_MODE_UNSPECIFIED", +"KEEP_LATEST_VERSION", +"KEEP_ALL_VERSIONS" +], +"enumDescriptions": [ +"Default behavior is the same as KEEP_LATEST_VERSION.", +"The table will have a unique entry for each resource ID. Updates and deletes will overwrite the row matching the resource ID if it exists in the table.", +"Historical versions of resources will be maintained. However, history mutation is allowed. Updates will overwrite the row matching the resource ID and version if it exists in the table. This option is only supported for stores with history enabled." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirExportResourcesResponse": { +"description": "Response when all resources export successfully. This structure is included in the response to describe the detailed outcome after the operation finishes successfully.", +"id": "GoogleCloudHealthcareV1beta1FhirExportResourcesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirGcsDestination": { +"description": "The configuration for exporting to Cloud Storage.", +"id": "GoogleCloudHealthcareV1beta1FhirGcsDestination", +"properties": { +"uriPrefix": { +"description": "URI for a Cloud Storage directory where result files should be written (in the format `gs://{bucket-id}/{path/to/destination/dir}`). If there is no trailing slash, the service appends one when composing the object path. The Cloud Storage bucket referenced in `uri_prefix` must exist or an error occurs.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirGcsSource": { +"description": "Specifies the configuration for importing data from Cloud Storage.", +"id": "GoogleCloudHealthcareV1beta1FhirGcsSource", +"properties": { +"uri": { +"description": "Points to a Cloud Storage URI containing file(s) to import. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The URI can include wildcards in `object_id` and thus identify multiple files. Supported wildcards: * `*` to match 0 or more non-separator characters * `**` to match 0 or more characters (including separators). Must be used at the end of a path and with no other wildcards in the path. Can also be used with a file extension (such as .ndjson), which imports all files with the extension in the specified directory and its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson` imports all files with `.ndjson` extensions in `my-directory/` and its sub-directories. * `?` to match 1 character Files matching the wildcard are expected to contain content only, no metadata.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudHealthcareV1beta1FhirImportResourcesResponse": { +"description": "Final response of importing resources. This structure is included in the response to describe the detailed outcome after the operation finishes successfully.", +"id": "GoogleCloudHealthcareV1beta1FhirImportResourcesResponse", +"properties": {}, +"type": "object" +}, +"GroupOrSegment": { +"description": "Construct representing a logical group or a segment.", +"id": "GroupOrSegment", +"properties": { +"group": { +"$ref": "SchemaGroup" +}, +"segment": { +"$ref": "SchemaSegment" +} +}, +"type": "object" +}, +"Hl7SchemaConfig": { +"description": "Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to.", +"id": "Hl7SchemaConfig", +"properties": { +"messageSchemaConfigs": { +"additionalProperties": { +"$ref": "SchemaGroup" +}, +"description": "Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group.", +"type": "object" +}, +"version": { +"description": "Each VersionSource is tested and only if they all match is the schema used for the message.", +"items": { +"$ref": "VersionSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"Hl7TypesConfig": { +"description": "Root config for HL7v2 datatype definitions for a specific HL7v2 version.", +"id": "Hl7TypesConfig", +"properties": { +"type": { +"description": "The HL7v2 type definitions.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"version": { +"description": "The version selectors that this config applies to. A message must match ALL version sources to apply.", +"items": { +"$ref": "VersionSource" +}, +"type": "array" +} +}, +"type": "object" +}, +"Hl7V2NotificationConfig": { +"description": "Specifies where and whether to send notifications upon changes to a data store.", +"id": "Hl7V2NotificationConfig", +"properties": { +"filter": { +"description": "Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `\"query text\"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `\"Comment = great\"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = \"ADT\"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < \"2017-01-02\"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < \"2017-01-02T00:00:00-05:00\"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < \"2017-01-02T00:00:00-05:00\"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = \"ABC\"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId(\"123456\", \"MRN\")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels.\"priority\"=\"high\"`. The operator `:*` can be used to assert the existence of a label. For example, `labels.\"priority\":*`.", +"type": "string" +}, +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).", +"type": "string" +} +}, +"type": "object" +}, +"Hl7V2Store": { +"description": "Represents an HL7v2 store.", +"id": "Hl7V2Store", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"name": { +"description": "Identifier. Resource name of the HL7v2 store, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"type": "string" +}, +"notificationConfig": { +"$ref": "NotificationConfig", +"deprecated": true, +"description": "The notification destination all messages (both Ingest & Create) are published on. Only the message name is sent as part of the notification. If this is unset, no notifications are sent. Supplied by the client." +}, +"notificationConfigs": { +"description": "A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client.", +"items": { +"$ref": "Hl7V2NotificationConfig" +}, +"type": "array" +}, +"parserConfig": { +"$ref": "ParserConfig", +"description": "The configuration for the parser. It determines how the server parses the messages." +}, +"rejectDuplicateMessage": { +"description": "Determines whether to reject duplicate messages. A duplicate message is a message with the same raw bytes as a message that has already been ingested/created in this HL7v2 store. The default value is false, meaning that the store accepts the duplicate messages and it also returns the same ACK message in the IngestMessageResponse as has been returned previously. Note that only one resource is created in the store. When this field is set to true, CreateMessage/IngestMessage requests with a duplicate message will be rejected by the store, and IngestMessageErrorDetail returns a NACK message upon rejection.", +"type": "boolean" +} +}, +"type": "object" +}, +"Hl7V2StoreMetric": { +"description": "Count of messages and total storage size by type for a given HL7 store.", +"id": "Hl7V2StoreMetric", +"properties": { +"count": { +"description": "The total count of HL7v2 messages in the store for the given message type.", +"format": "int64", +"type": "string" +}, +"messageType": { +"description": "The Hl7v2 message type this metric applies to, such as `ADT` or `ORU`.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "The total amount of structured storage used by HL7v2 messages of this message type in the store.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Hl7V2StoreMetrics": { +"description": "List of metrics for a given HL7v2 store.", +"id": "Hl7V2StoreMetrics", +"properties": { +"metrics": { +"description": "List of HL7v2 store metrics by message type.", +"items": { +"$ref": "Hl7V2StoreMetric" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the HL7v2 store to get metrics for, in the format `projects/{project_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Image": { +"description": "Raw bytes representing consent artifact content.", +"id": "Image", +"properties": { +"gcsUri": { +"description": "Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.", +"type": "string" +}, +"rawBytes": { +"description": "Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ImageConfig": { +"description": "Specifies how to handle de-identification of image pixels.", +"id": "ImageConfig", +"properties": { +"additionalInfoTypes": { +"description": "Additional InfoTypes to redact in the images in addition to those used by `text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT`, `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS` or `TEXT_REDACTION_MODE_UNSPECIFIED`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"excludeInfoTypes": { +"description": "InfoTypes to skip redacting, overriding those used by `text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT` or `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"textRedactionMode": { +"description": "Determines how to redact text from image.", +"enum": [ +"TEXT_REDACTION_MODE_UNSPECIFIED", +"REDACT_ALL_TEXT", +"REDACT_SENSITIVE_TEXT", +"REDACT_NO_TEXT", +"REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS" +], +"enumDescriptions": [ +"No text redaction specified. Same as REDACT_NO_TEXT.", +"Redact all text.", +"Redact sensitive text. Uses the set of [Default DICOM InfoTypes](https://cloud.google.com/healthcare-api/docs/how-tos/dicom-deidentify#default_dicom_infotypes).", +"Do not redact text.", +"This mode is like `REDACT_SENSITIVE_TEXT` with the addition of the [Clean Descriptors Option] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html) enabled: When cleaning text, the process attempts to transform phrases matching any of the tags marked for removal (action codes D, Z, X, and U) in the [Basic Profile] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These contextual phrases are replaced with the token \"[CTX]\". This mode uses an additional InfoType during inspection." +], +"type": "string" +} +}, +"type": "object" +}, +"ImportDicomDataRequest": { +"description": "Imports data into the specified DICOM store. Returns an error if any of the files to import are not DICOM files. This API accepts duplicate DICOM instances by ignoring the newly-pushed instance. It does not overwrite.", +"id": "ImportDicomDataRequest", +"properties": { +"blobStorageSettings": { +"$ref": "BlobStorageSettings", +"description": "Optional. The blob storage settings for the data imported by this operation." +}, +"gcsSource": { +"$ref": "GoogleCloudHealthcareV1beta1DicomGcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectViewer` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ImportDicomDataResponse": { +"description": "Returns additional information in regards to a completed DICOM store import.", +"id": "ImportDicomDataResponse", +"properties": {}, +"type": "object" +}, +"ImportMessagesRequest": { +"description": "Request to import messages.", +"id": "ImportMessagesRequest", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectViewer` Cloud IAM roles on the Cloud Storage location." +} +}, +"type": "object" +}, +"ImportMessagesResponse": { +"description": "Final response of importing messages. This structure is included in the response to describe the detailed outcome. It is only included when the operation finishes successfully.", +"id": "ImportMessagesResponse", +"properties": {}, +"type": "object" +}, +"ImportResourcesHistoryRequest": { +"description": "Request to import the history of resources.", +"id": "ImportResourcesHistoryRequest", +"properties": { +"contentStructure": { +"description": "The content structure in the source location. If not specified, the server treats the input source files as BUNDLE.", +"enum": [ +"CONTENT_STRUCTURE_UNSPECIFIED", +"BUNDLE", +"RESOURCE", +"BUNDLE_PRETTY", +"RESOURCE_PRETTY" +], +"enumDescriptions": [ +"If the content structure is not specified, the default value `BUNDLE` is used.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a bundle that contains one or more resources.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a single resource.", +"The entire file is one JSON bundle. The JSON can span multiple lines.", +"The entire file is one JSON resource. The JSON can span multiple lines." +], +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudHealthcareV1beta1FhirGcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage location. The Healthcare Service Agent Each Cloud Storage object should be a text file that contains the format specified in ContentStructure." +}, +"maxErrorCount": { +"description": "The maximum number of errors before the server cancels the operation. If not specified or set to 0, defaults to 100. -1 means no maximum, the server tries to process all input. Since the server executes the operation in parallel, it might not stop the operation after exactly this number of errors occur.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ImportResourcesRequest": { +"description": "Request to import resources.", +"id": "ImportResourcesRequest", +"properties": { +"contentStructure": { +"description": "The content structure in the source location. If not specified, the server treats the input source files as BUNDLE.", +"enum": [ +"CONTENT_STRUCTURE_UNSPECIFIED", +"BUNDLE", +"RESOURCE", +"BUNDLE_PRETTY", +"RESOURCE_PRETTY" +], +"enumDescriptions": [ +"If the content structure is not specified, the default value `BUNDLE` is used.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a bundle that contains one or more resources.", +"The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a single resource.", +"The entire file is one JSON bundle. The JSON can span multiple lines.", +"The entire file is one JSON resource. The JSON can span multiple lines." +], +"type": "string" +}, +"gcsSource": { +"$ref": "GoogleCloudHealthcareV1beta1FhirGcsSource", +"description": "Cloud Storage source data location and import configuration. The Cloud Healthcare Service Agent requires the `roles/storage.objectViewer` Cloud IAM roles on the Cloud Storage location. The Healthcare Service Agent Each Cloud Storage object should be a text file that contains the format specified in ContentStructure." +} +}, +"type": "object" +}, +"InfoTypeTransformation": { +"description": "A transformation to apply to text that is identified as a specific info_type.", +"id": "InfoTypeTransformation", +"properties": { +"characterMaskConfig": { +"$ref": "CharacterMaskConfig", +"description": "Config for character mask." +}, +"cryptoHashConfig": { +"$ref": "CryptoHashConfig", +"description": "Config for crypto hash." +}, +"dateShiftConfig": { +"$ref": "DateShiftConfig", +"description": "Config for date shift." +}, +"infoTypes": { +"description": "`InfoTypes` to apply this transformation to. If this is not specified, this transformation becomes the default transformation, and is used for any `info_type` that is not specified in another transformation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"redactConfig": { +"$ref": "RedactConfig", +"description": "Config for text redaction." +}, +"replaceWithInfoTypeConfig": { +"$ref": "ReplaceWithInfoTypeConfig", +"description": "Config for replace with InfoType." +} +}, +"type": "object" +}, +"IngestMessageRequest": { +"description": "Ingests a message into the specified HL7v2 store.", +"id": "IngestMessageRequest", +"properties": { +"message": { +"$ref": "Message", +"description": "Required. HL7v2 message to ingest." +} +}, +"type": "object" +}, +"IngestMessageResponse": { +"description": "Acknowledges that a message has been ingested into the specified HL7v2 store.", +"id": "IngestMessageResponse", +"properties": { +"hl7Ack": { +"description": "HL7v2 ACK message.", +"format": "byte", +"type": "string" +}, +"message": { +"$ref": "Message", +"description": "Created message resource." +} +}, +"type": "object" +}, +"KeepExtensionsConfig": { +"description": "The behavior for handling FHIR extensions that aren't otherwise specified for de-identification. If provided, all extensions are preserved during de-identification by default. If unspecified, all extensions are removed during de-identification by default.", +"id": "KeepExtensionsConfig", +"properties": {}, +"type": "object" +}, +"KeepField": { +"description": "Keep field unchanged.", +"id": "KeepField", +"properties": {}, +"type": "object" +}, +"KeepTag": { +"description": "Keep tag unchanged.", +"id": "KeepTag", +"properties": {}, +"type": "object" +}, +"KmsWrappedCryptoKey": { +"description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).", +"id": "KmsWrappedCryptoKey", +"properties": { +"cryptoKey": { +"description": "Required. The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`.", +"type": "string" +}, +"wrappedKey": { +"description": "Required. The wrapped data crypto key.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"LinkedEntity": { +"description": "EntityMentions can be linked to multiple entities using a LinkedEntity message lets us add other fields, e.g. confidence.", +"id": "LinkedEntity", +"properties": { +"entityId": { +"description": "entity_id is a concept unique identifier. These are prefixed by a string that identifies the entity coding system, followed by the unique identifier within that system. For example, \"UMLS/C0000970\". This also supports ad hoc entities, which are formed by normalizing entity mention content.", +"type": "string" +} +}, +"type": "object" +}, +"ListAttributeDefinitionsResponse": { +"id": "ListAttributeDefinitionsResponse", +"properties": { +"attributeDefinitions": { +"description": "The returned Attribute definitions. The maximum number of attributes returned is determined by the value of page_size in the ListAttributeDefinitionsRequest.", +"items": { +"$ref": "AttributeDefinition" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentArtifactsResponse": { +"id": "ListConsentArtifactsResponse", +"properties": { +"consentArtifacts": { +"description": "The returned Consent artifacts. The maximum number of artifacts returned is determined by the value of page_size in the ListConsentArtifactsRequest.", +"items": { +"$ref": "ConsentArtifact" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentRevisionsResponse": { +"id": "ListConsentRevisionsResponse", +"properties": { +"consents": { +"description": "The returned Consent revisions. The maximum number of revisions returned is determined by the value of `page_size` in the ListConsentRevisionsRequest.", +"items": { +"$ref": "Consent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentStoresResponse": { +"id": "ListConsentStoresResponse", +"properties": { +"consentStores": { +"description": "The returned consent stores. The maximum number of stores returned is determined by the value of page_size in the ListConsentStoresRequest.", +"items": { +"$ref": "ConsentStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListConsentsResponse": { +"id": "ListConsentsResponse", +"properties": { +"consents": { +"description": "The returned Consents. The maximum number of Consents returned is determined by the value of page_size in the ListConsentsRequest.", +"items": { +"$ref": "Consent" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatasetsResponse": { +"description": "Lists the available datasets.", +"id": "ListDatasetsResponse", +"properties": { +"datasets": { +"description": "The first page of datasets.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListDicomStoresResponse": { +"description": "Lists the DICOM stores in the given dataset.", +"id": "ListDicomStoresResponse", +"properties": { +"dicomStores": { +"description": "The returned DICOM stores. Won't be more DICOM stores than the value of page_size in the request.", +"items": { +"$ref": "DicomStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListFhirStoresResponse": { +"description": "Lists the FHIR stores in the given dataset.", +"id": "ListFhirStoresResponse", +"properties": { +"fhirStores": { +"description": "The returned FHIR stores. Won't be more FHIR stores than the value of page_size in the request.", +"items": { +"$ref": "FhirStore" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListHl7V2StoresResponse": { +"description": "Lists the HL7v2 stores in the given dataset.", +"id": "ListHl7V2StoresResponse", +"properties": { +"hl7V2Stores": { +"description": "The returned HL7v2 stores. Won't be more HL7v2 stores than the value of page_size in the request.", +"items": { +"$ref": "Hl7V2Store" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMessagesResponse": { +"description": "Lists the messages in the specified HL7v2 store.", +"id": "ListMessagesResponse", +"properties": { +"hl7V2Messages": { +"description": "The returned Messages. Won't be more Messages than the value of page_size in the request. See view for populated fields.", +"items": { +"$ref": "Message" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results or empty if there are no more results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserDataMappingsResponse": { +"id": "ListUserDataMappingsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"userDataMappings": { +"description": "The returned User data mappings. The maximum number of User data mappings returned is determined by the value of page_size in the ListUserDataMappingsRequest.", +"items": { +"$ref": "UserDataMapping" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Message": { +"description": "A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.org/implement/standards/index.cfm?ref=common) for details on the standard.", +"id": "Message", +"properties": { +"createTime": { +"description": "Output only. The datetime when the message was created. Set by the server.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"data": { +"description": "Required. Raw message bytes.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.", +"type": "object" +}, +"messageType": { +"description": "The message type for this message. MSH-9.1.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the Message, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}`. Assigned by the server.", +"readOnly": true, +"type": "string" +}, +"parsedData": { +"$ref": "ParsedData", +"description": "Output only. The parsed version of the raw message data.", +"readOnly": true +}, +"patientIds": { +"description": "All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.", +"items": { +"$ref": "PatientId" +}, +"type": "array" +}, +"schematizedData": { +"$ref": "SchematizedData", +"description": "The parsed version of the raw message data schematized according to this store's schemas and type definitions." +}, +"sendFacility": { +"description": "The hospital that this message came from. MSH-4.", +"type": "string" +}, +"sendTime": { +"description": "The datetime the sending application sent this message. MSH-7.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"NotificationConfig": { +"description": "Specifies where to send notifications upon changes to a data store.", +"id": "NotificationConfig", +"properties": { +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details.", +"type": "string" +}, +"sendForBulkImport": { +"description": "Indicates whether or not to send Pub/Sub notifications on bulk import. Only supported for DICOM imports.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "OperationMetadata provides information about the operation execution. Returned in the long-running operation's metadata field.", +"id": "OperationMetadata", +"properties": { +"apiMethodName": { +"description": "The name of the API method that initiated the operation.", +"type": "string" +}, +"cancelRequested": { +"description": "Specifies if cancellation was requested for the operation.", +"type": "boolean" +}, +"counter": { +"$ref": "ProgressCounter" +}, +"createTime": { +"description": "The time at which the operation was created by the API.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time at which execution workloads were completed. Some tasks will complete after this time such as logging audit logs.", +"format": "google-datetime", +"type": "string" +}, +"logsUrl": { +"description": "A link to audit and error logs in the log viewer. Error logs are generated only by some operations, listed at [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The `end_time` specified in this URL may not match the end time on the metadata because logs are written asynchronously from execution.", +"type": "string" +} +}, +"type": "object" +}, +"Options": { +"description": "Specifies additional options to apply to the base profile.", +"id": "Options", +"properties": { +"cleanDescriptors": { +"$ref": "CleanDescriptorsOption", +"description": "Set Clean Descriptors Option." +}, +"cleanImage": { +"$ref": "ImageConfig", +"description": "Apply `Action.clean_image` to [`PixelData`](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html) as configured." +}, +"primaryIds": { +"description": "Set `Action` for [`StudyInstanceUID`, `SeriesInstanceUID`, `SOPInstanceUID`, and `MediaStorageSOPInstanceUID`](https://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html).", +"enum": [ +"PRIMARY_IDS_OPTION_UNSPECIFIED", +"KEEP", +"REGEN" +], +"enumDescriptions": [ +"No value provided. Default to the behavior specified by the base profile.", +"Keep primary IDs.", +"Regenerate primary IDs." +], +"type": "string" +} +}, +"type": "object" +}, +"ParsedData": { +"description": "The content of an HL7v2 message in a structured format.", +"id": "ParsedData", +"properties": { +"segments": { +"items": { +"$ref": "Segment" +}, +"type": "array" +} +}, +"type": "object" +}, +"ParserConfig": { +"description": "The configuration for the parser. It determines how the server parses the messages.", +"id": "ParserConfig", +"properties": { +"allowNullHeader": { +"description": "Determines whether messages with no header are allowed.", +"type": "boolean" +}, +"schema": { +"$ref": "SchemaPackage", +"description": "Schemas used to parse messages in this store, if schematized parsing is desired." +}, +"segmentTerminator": { +"description": "Byte(s) to use as the segment terminator. If this is unset, '\\r' is used as segment terminator, matching the HL7 version 2 specification.", +"format": "byte", +"type": "string" +}, +"version": { +"description": "Immutable. Determines the version of both the default parser to be used when `schema` is not given, as well as the schematized parser used when `schema` is specified. This field is immutable after HL7v2 store creation.", +"enum": [ +"PARSER_VERSION_UNSPECIFIED", +"V1", +"V2", +"V3" +], +"enumDescriptions": [ +"Unspecified parser version, equivalent to V1.", +"The `parsed_data` includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard.", +"The `parsed_data` includes every given non-empty message field.", +"This version is the same as V2, with the following change. The `parsed_data` contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. If `schema` is specified, the schematized parser uses improved parsing heuristics compared to previous versions." +], +"type": "string" +} +}, +"type": "object" +}, +"PatientId": { +"description": "A patient identifier and associated type.", +"id": "PatientId", +"properties": { +"type": { +"description": "ID type. For example, MRN or NHS.", +"type": "string" +}, +"value": { +"description": "The patient's unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"PatientScope": { +"description": "Apply consents given by a list of patients.", +"id": "PatientScope", +"properties": { +"patientIds": { +"description": "Optional. The list of patient IDs whose Consent resources will be enforced. At most 10,000 patients can be specified. An empty list is equivalent to all patients (meaning the entire FHIR store).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"ProgressCounter": { +"description": "ProgressCounter provides counters to describe an operation's progress.", +"id": "ProgressCounter", +"properties": { +"failure": { +"description": "The number of units that failed in the operation.", +"format": "int64", +"type": "string" +}, +"pending": { +"description": "The number of units that are pending in the operation.", +"format": "int64", +"type": "string" +}, +"secondaryFailure": { +"description": "The number of secondary units that failed in the operation.", +"format": "int64", +"type": "string" +}, +"secondarySuccess": { +"description": "The number of secondary units that succeeded in the operation.", +"format": "int64", +"type": "string" +}, +"success": { +"description": "The number of units that succeeded in the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PubsubDestination": { +"description": "The Pub/Sub output destination. The Cloud Healthcare Service Agent requires the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.", +"id": "PubsubDestination", +"properties": { +"pubsubTopic": { +"description": "The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that Pub/Sub messages are published on. Supplied by the client. The `PubsubMessage` contains the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail.", +"type": "string" +} +}, +"type": "object" +}, +"QueryAccessibleDataRequest": { +"description": "Queries all data_ids that are consented for a given use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging] (https://cloud.google.com/healthcare/docs/how-tos/logging) and [QueryAccessibleData] for a sample log entry).", +"id": "QueryAccessibleDataRequest", +"properties": { +"gcsDestination": { +"$ref": "GoogleCloudHealthcareV1beta1ConsentGcsDestination", +"description": "The Cloud Storage destination. The Cloud Healthcare API service account must have the `roles/storage.objectAdmin` Cloud IAM role for this Cloud Storage location. The object name is in the following format: query-accessible-data-result-{operation_id}.txt where each line contains a single data_id." +}, +"requestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "The values of request attributes associated with this access request.", +"type": "object" +}, +"resourceAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The values of resource attributes associated with the type of resources being requested. If no values are specified, then all resource types are included in the output.", +"type": "object" +} +}, +"type": "object" +}, +"QueryAccessibleDataResponse": { +"description": "Response for successful QueryAccessibleData operations. This structure is included in the response upon operation completion.", +"id": "QueryAccessibleDataResponse", +"properties": { +"gcsUris": { +"description": "List of files, each of which contains a list of data_id(s) that are consented for a specified use in the request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RecurseTag": { +"description": "Recursively apply DICOM de-id to tags nested in a sequence. Supported [Value Representation] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): SQ", +"id": "RecurseTag", +"properties": {}, +"type": "object" +}, +"RedactConfig": { +"description": "Define how to redact sensitive values. Default behaviour is erase. For example, \"My name is Jane.\" becomes \"My name is .\"", +"id": "RedactConfig", +"properties": {}, +"type": "object" +}, +"RegenUidTag": { +"description": "Replace UID with a new generated UID. Supported [Value Representation] (https://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): UI", +"id": "RegenUidTag", +"properties": {}, +"type": "object" +}, +"RejectConsentRequest": { +"description": "Rejects the latest revision of the specified Consent by committing a new revision with `state` updated to `REJECTED`. If the latest revision of the given Consent is in the `REJECTED` state, no new revision is committed.", +"id": "RejectConsentRequest", +"properties": { +"consentArtifact": { +"description": "Optional. The resource name of the Consent artifact that contains documentation of the user's rejection of the draft Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. If the draft Consent had a Consent artifact, this Consent artifact overwrites it.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveField": { +"description": "Remove field.", +"id": "RemoveField", +"properties": {}, +"type": "object" +}, +"RemoveTag": { +"description": "Replace with empty tag.", +"id": "RemoveTag", +"properties": {}, +"type": "object" +}, +"ReplaceWithInfoTypeConfig": { +"description": "When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, \"My name is Jane\" becomes \"My name is [PERSON_NAME].\" The TRANSFORM action is equivalent to redacting.", +"id": "ReplaceWithInfoTypeConfig", +"properties": {}, +"type": "object" +}, +"ResetTag": { +"description": "Reset tag to a placeholder value.", +"id": "ResetTag", +"properties": {}, +"type": "object" +}, +"Resources": { +"description": "A list of FHIR resources.", +"id": "Resources", +"properties": { +"resources": { +"description": "List of resources IDs. For example, \"Patient/1234\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Result": { +"description": "The consent evaluation result for a single `data_id`.", +"id": "Result", +"properties": { +"consentDetails": { +"additionalProperties": { +"$ref": "ConsentEvaluation" +}, +"description": "The resource names of all evaluated Consents mapped to their evaluation.", +"type": "object" +}, +"consented": { +"description": "Whether the resource is consented for the given use.", +"type": "boolean" +}, +"dataId": { +"description": "The unique identifier of the evaluated resource.", +"type": "string" +} +}, +"type": "object" +}, +"RevokeConsentRequest": { +"description": "Revokes the latest revision of the specified Consent by committing a new revision with `state` updated to `REVOKED`. If the latest revision of the given Consent is in the `REVOKED` state, no new revision is committed.", +"id": "RevokeConsentRequest", +"properties": { +"consentArtifact": { +"description": "Optional. The resource name of the Consent artifact that contains proof of the user's revocation of the Consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`.", +"type": "string" +} +}, +"type": "object" +}, +"RollbackFhirResourceFilteringFields": { +"description": "Filters to select resources that need to be rolled back.", +"id": "RollbackFhirResourceFilteringFields", +"properties": { +"metadataFilter": { +"description": "Optional. A filter expression that matches data in the `Resource.meta` element. Supports all filters in [AIP-160](https://google.aip.dev/160) except the \"has\" (`:`) operator. Supports the following custom functions: * `tag(\"\") = \"\"` for tag filtering. * `extension_value_ts(\"\") = ` for filtering extensions with a timestamp, where `` is a Unix timestamp. Supports the `>`, `<`, `<=`, `>=`, and `!=` comparison operators.", +"type": "string" +}, +"operationIds": { +"description": "Optional. A list of operation IDs to roll back. Only changes made by these operations will be rolled back.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackFhirResourcesRequest": { +"description": "Request to roll back resources.", +"id": "RollbackFhirResourcesRequest", +"properties": { +"changeType": { +"description": "Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ALL", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"When unspecified, revert all transactions", +"All transactions", +"Revert only CREATE transactions", +"Revert only Update transactions", +"Revert only Delete transactions" +], +"type": "string" +}, +"excludeRollbacks": { +"description": "Optional. Specifies whether to exclude earlier rollbacks.", +"type": "boolean" +}, +"filteringFields": { +"$ref": "RollbackFhirResourceFilteringFields", +"description": "Optional. Tag represents fields that HDE needs to identify resources that will be reverted. Parameters for filtering resources" +}, +"force": { +"description": "Optional. When enabled, changes will be reverted without explicit confirmation", +"type": "boolean" +}, +"inputGcsObject": { +"description": "Optional. Cloud Storage object containing list of {resourceType}/{resourceId} lines, identifying resources to be reverted", +"type": "string" +}, +"resultGcsBucket": { +"description": "Required. Bucket to deposit result", +"type": "string" +}, +"rollbackTime": { +"description": "Required. Time point to rollback to.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Optional. If specified, revert only resources of these types", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackFhirResourcesResponse": { +"description": "Final response of rollback FHIR resources request.", +"id": "RollbackFhirResourcesResponse", +"properties": { +"fhirStore": { +"description": "The name of the FHIR store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}\".", +"type": "string" +} +}, +"type": "object" +}, +"RollbackHL7MessagesFilteringFields": { +"description": "Filtering fields for an HL7v2 rollback. Currently only supports a list of operation ids to roll back.", +"id": "RollbackHL7MessagesFilteringFields", +"properties": { +"operationIds": { +"description": "Optional. A list of operation IDs to roll back.", +"items": { +"format": "uint64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RollbackHl7V2MessagesRequest": { +"description": "Point in time recovery rollback request.", +"id": "RollbackHl7V2MessagesRequest", +"properties": { +"changeType": { +"description": "Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ALL", +"CREATE", +"UPDATE", +"DELETE" +], +"enumDescriptions": [ +"When unspecified, revert all transactions", +"All transactions", +"Revert only CREATE transactions", +"Revert only Update transactions", +"Revert only Delete transactions" +], +"type": "string" +}, +"excludeRollbacks": { +"description": "Optional. Specifies whether to exclude earlier rollbacks.", +"type": "boolean" +}, +"filteringFields": { +"$ref": "RollbackHL7MessagesFilteringFields", +"description": "Optional. Parameters for filtering." +}, +"force": { +"description": "Optional. When enabled, changes will be reverted without explicit confirmation.", +"type": "boolean" +}, +"inputGcsObject": { +"description": "Optional. Cloud storage object containing list of {resourceId} lines, identifying resources to be reverted", +"type": "string" +}, +"resultGcsBucket": { +"description": "Required. Bucket to deposit result", +"type": "string" +}, +"rollbackTime": { +"description": "Required. Times point to rollback to.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"RollbackHl7V2MessagesResponse": { +"description": "Final response of rollback FHIR resources request.", +"id": "RollbackHl7V2MessagesResponse", +"properties": { +"hl7v2Store": { +"description": "The name of the HL7v2 store to rollback, in the format of \"projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7v2Stores/{fhir_store_id}\".", +"type": "string" +} +}, +"type": "object" +}, +"SchemaConfig": { +"description": "Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.", +"id": "SchemaConfig", +"properties": { +"lastUpdatedPartitionConfig": { +"$ref": "TimePartitioning", +"description": "The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column." +}, +"recursiveStructureDepth": { +"description": "The depth for all recursive structures in the output analytics schema. For example, `concept` in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called `concept.concept` but not `concept.concept.concept`. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.", +"format": "int64", +"type": "string" +}, +"schemaType": { +"description": "Specifies the output schema type. Schema type is required.", +"enum": [ +"SCHEMA_TYPE_UNSPECIFIED", +"LOSSLESS", +"ANALYTICS", +"ANALYTICS_V2" +], +"enumDescriptions": [ +"No schema type specified. This type is unsupported.", +"A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification. This type cannot be used for streaming to BigQuery.", +"Analytics schema defined by the FHIR community. See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md. BigQuery only allows a maximum of 10,000 columns per table. Due to this limitation, the server will not generate schemas for fields of type `Resource`, which can hold any resource type. The affected fields are `Parameters.parameter.resource`, `Bundle.entry.resource`, and `Bundle.entry.response.outcome`. Analytics schema does not gracefully handle extensions with one or more occurrences, anaytics schema also does not handle contained resource. Additionally, extensions with a URL ending in \"/{existing_resource_field_name}\" may cause undefined behavior.", +"Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON. Extensions with a URL ending in \"/{existing_resource_field_name}\" will cause conflict and prevent the resource from being sent to BigQuery. Analytics V2 uses more space in the destination table than Analytics V1. It is generally recommended to use Analytics V2 over Analytics." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaFlattened": { +"description": "Using this field will flatten the DICOM instances into a BigQuery table. The table will have one column for each DICOM tag. The column name will be the DICOM tag's textual representation.", +"id": "SchemaFlattened", +"properties": {}, +"type": "object" +}, +"SchemaGroup": { +"description": "An HL7v2 logical group construct.", +"id": "SchemaGroup", +"properties": { +"choice": { +"description": "True indicates that this is a choice group, meaning that only one of its segments can exist in a given message.", +"type": "boolean" +}, +"maxOccurs": { +"description": "The maximum number of times this group can be repeated. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"members": { +"description": "Nested groups and/or segments.", +"items": { +"$ref": "GroupOrSegment" +}, +"type": "array" +}, +"minOccurs": { +"description": "The minimum number of times this group must be present/repeated.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of this group. For example, \"ORDER_DETAIL\".", +"type": "string" +} +}, +"type": "object" +}, +"SchemaJSON": { +"description": "Using this field will set the schema such that all DICOM tags will be included in the BigQuery table as a single JSON type column. The BigQuery table schema will include the following columns: * `StudyInstanceUID` (Type: STRING): DICOM Tag 0020000D. * `SeriesInstanceUID` (Type: STRING): DICOM Tag 0020000E. * `SOPInstanceUID` (Type: STRING): DICOM Tag 00080018. * `SourceDicomStore` (Type: STRING): The name of the source DICOM store. This field is only included if the `include_source_store` option is set to true. * `Metadata` (Type: JSON): All DICOM tags for the instance, stored in a single JSON object. * `StructuredStorageSize` (Type: INTEGER): Size of the structured storage in bytes. * `DroppedTags` (Type: STRING, Repeated: Yes): List of tags that were dropped during the conversion. * `StorageClass` (Type: STRING): The storage class of the instance. * `LastUpdated` (Type: TIMESTAMP): Timestamp of the last update to the instance. * `BlobStorageSize` (Type: INTEGER): Size of the blob storage in bytes. * `Type` (Type: STRING): Indicates the type of operation (e.g., INSERT, DELETE). This field is *omitted* if `ChangeDataCaptureConfig` is enabled.", +"id": "SchemaJSON", +"properties": {}, +"type": "object" +}, +"SchemaPackage": { +"description": "A schema package contains a set of schemas and type definitions.", +"id": "SchemaPackage", +"properties": { +"ignoreMinOccurs": { +"description": "Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent.", +"type": "boolean" +}, +"schemas": { +"description": "Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and trigger event if their VersionSources all match an incoming message.", +"items": { +"$ref": "Hl7SchemaConfig" +}, +"type": "array" +}, +"schematizedParsingType": { +"description": "Determines how messages that fail to parse are handled.", +"enum": [ +"SCHEMATIZED_PARSING_TYPE_UNSPECIFIED", +"SOFT_FAIL", +"HARD_FAIL" +], +"enumDescriptions": [ +"Unspecified schematized parsing type, equivalent to `SOFT_FAIL`.", +"Messages that fail to parse are still stored and ACKed but a parser error is stored in place of the schematized data.", +"Messages that fail to parse are rejected from ingestion/insertion and return an error code." +], +"type": "string" +}, +"types": { +"description": "Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type name if their VersionSources all match an incoming message.", +"items": { +"$ref": "Hl7TypesConfig" +}, +"type": "array" +}, +"unexpectedSegmentHandling": { +"description": "Determines how unexpected segments (segments not matched to the schema) are handled.", +"enum": [ +"UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED", +"FAIL", +"SKIP", +"PARSE" +], +"enumDescriptions": [ +"Unspecified handling mode, equivalent to FAIL.", +"Unexpected segments fail to parse and return an error.", +"Unexpected segments do not fail, but are omitted from the output.", +"Unexpected segments do not fail, but are parsed in place and added to the current group. If a segment has a type definition, it is used, otherwise it is parsed as VARIES." +], +"type": "string" +} +}, +"type": "object" +}, +"SchemaSegment": { +"description": "An HL7v2 Segment.", +"id": "SchemaSegment", +"properties": { +"maxOccurs": { +"description": "The maximum number of times this segment can be present in this group. 0 or -1 means unbounded.", +"format": "int32", +"type": "integer" +}, +"minOccurs": { +"description": "The minimum number of times this segment can be present in this group.", +"format": "int32", +"type": "integer" +}, +"type": { +"description": "The Segment type. For example, \"PID\".", +"type": "string" +} +}, +"type": "object" +}, +"SchematizedData": { +"description": "The content of an HL7v2 message in a structured format as specified by a schema.", +"id": "SchematizedData", +"properties": { +"data": { +"description": "JSON output of the parser.", +"type": "string" +}, +"error": { +"description": "The error output of the parser.", +"type": "string" +} +}, +"type": "object" +}, +"SearchConfig": { +"description": "Contains the configuration for FHIR search.", +"id": "SearchConfig", +"properties": { +"searchParameters": { +"description": "A list of search parameters in this FHIR store that are used to configure this FHIR store.", +"items": { +"$ref": "SearchParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"SearchParameter": { +"description": "Contains the versioned name and the URL for one SearchParameter.", +"id": "SearchParameter", +"properties": { +"canonicalUrl": { +"description": "The canonical url of the search parameter resource.", +"type": "string" +}, +"parameter": { +"description": "The versioned name of the search parameter resource. The format is projects/{project-id}/locations/{location}/datasets/{dataset-id}/fhirStores/{fhirStore-id}/fhir/SearchParameter/{resource-id}/_history/{version-id} For fhir stores with disable_resource_versioning=true, the format is projects/{project-id}/locations/{location}/datasets/{dataset-id}/fhirStores/{fhirStore-id}/fhir/SearchParameter/{resource-id}/", +"type": "string" +} +}, +"type": "object" +}, +"Segment": { +"description": "A segment in a structured format.", +"id": "Segment", +"properties": { +"fields": { +"additionalProperties": { +"type": "string" +}, +"description": "A mapping from the positional location to the value. The key string uses zero-based indexes separated by dots to identify Fields, components and sub-components. A bracket notation is also used to identify different instances of a repeated field. Regex for key: (\\d+)(\\[\\d+\\])?(.\\d+)?(.\\d+)? Examples of (key, value) pairs: * (0.1, \"hemoglobin\") denotes that the first component of Field 0 has the value \"hemoglobin\". * (1.1.2, \"CBC\") denotes that the second sub-component of the first component of Field 1 has the value \"CBC\". * (1[0].1, \"HbA1c\") denotes that the first component of the first Instance of Field 1, which is repeated, has the value \"HbA1c\".", +"type": "object" +}, +"segmentId": { +"description": "A string that indicates the type of segment. For example, EVN or PID.", +"type": "string" +}, +"setId": { +"description": "Set ID for segments that can be in a set. This can be empty if it's missing or isn't applicable.", +"type": "string" +} +}, +"type": "object" +}, +"SeriesMetrics": { +"description": "SeriesMetrics contains metrics describing a DICOM series.", +"id": "SeriesMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the series.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the series.", +"format": "int64", +"type": "string" +}, +"series": { +"description": "The series resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}`.", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the series.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SetBlobStorageSettingsRequest": { +"description": "Request message for `SetBlobStorageSettings` method.", +"id": "SetBlobStorageSettingsRequest", +"properties": { +"blobStorageSettings": { +"$ref": "BlobStorageSettings", +"description": "The blob storage settings to update for the specified resources. Only fields listed in `update_mask` are applied." +}, +"filterConfig": { +"$ref": "DicomFilterConfig", +"description": "Optional. A filter configuration. If `filter_config` is specified, set the value of `resource` to the resource name of a DICOM store in the format `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}`." +} +}, +"type": "object" +}, +"SetBlobStorageSettingsResponse": { +"description": "Returns additional info in regards to a completed set blob storage settings API.", +"id": "SetBlobStorageSettingsResponse", +"properties": {}, +"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" +}, +"Signature": { +"description": "User signature.", +"id": "Signature", +"properties": { +"image": { +"$ref": "Image", +"description": "Optional. An image of the user's signature." +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.", +"type": "object" +}, +"signatureTime": { +"description": "Optional. Timestamp of the signature.", +"format": "google-datetime", +"type": "string" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StorageInfo": { +"description": "StorageInfo encapsulates all the storage info of a resource.", +"id": "StorageInfo", +"properties": { +"blobStorageInfo": { +"$ref": "BlobStorageInfo", +"description": "Info about the data stored in blob storage for the resource." +}, +"referencedResource": { +"description": "The resource whose storage info is returned. For example: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}`", +"type": "string" +}, +"structuredStorageInfo": { +"$ref": "StructuredStorageInfo", +"description": "Info about the data stored in structured storage for the resource." +} +}, +"type": "object" +}, +"StreamConfig": { +"description": "Contains configuration for streaming FHIR export.", +"id": "StreamConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudHealthcareV1beta1FhirBigQueryDestination", +"description": "The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. \"Patient\", \"Observation\". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data will not be streamed. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging))." +}, +"deidentifiedStoreDestination": { +"$ref": "DeidentifiedStoreDestination", +"description": "The destination FHIR store for de-identified resources. After this field is added, all subsequent creates/updates/patches to the source store will be de-identified using the provided configuration and applied to the destination store. Resources deleted from the source store will be deleted from the destination store. Importing resources to the source store will not trigger the streaming. If the source store already contains resources when this option is enabled, those resources will not be copied to the destination store unless they are subsequently updated. This may result in invalid references in the destination store. Before adding this config, you must grant the healthcare.fhirResources.update permission on the destination store to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#the_cloud_healthcare_service_agent). The destination store must set enable_update_create to true. The destination store must have disable_referential_integrity set to true. If a resource cannot be de-identified, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Not supported for R5 stores." +}, +"resourceTypes": { +"description": "Supply a FHIR resource type (such as \"Patient\" or \"Observation\"). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"StructuredStorageInfo": { +"description": "StructuredStorageInfo contains details about the data stored in Structured Storage for the referenced resource.", +"id": "StructuredStorageInfo", +"properties": { +"sizeBytes": { +"description": "Size in bytes of data stored in structured storage.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StudyMetrics": { +"description": "StudyMetrics contains metrics describing a DICOM study.", +"id": "StudyMetrics", +"properties": { +"blobStorageSizeBytes": { +"description": "Total blob storage bytes for all instances in the study.", +"format": "int64", +"type": "string" +}, +"instanceCount": { +"description": "Number of instances in the study.", +"format": "int64", +"type": "string" +}, +"seriesCount": { +"description": "Number of series in the study.", +"format": "int64", +"type": "string" +}, +"structuredStorageSizeBytes": { +"description": "Total structured storage bytes for all instances in the study.", +"format": "int64", +"type": "string" +}, +"study": { +"description": "The study resource path. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}`.", +"type": "string" +} +}, +"type": "object" +}, +"TagFilterList": { +"description": "List of tags to be filtered.", +"id": "TagFilterList", +"properties": { +"tags": { +"description": "Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: https://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by \"Keyword\" or \"Tag\". For example, \"PatientID\", \"00100010\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"TextConfig": { +"description": "Configures how to transform sensitive text `InfoTypes`.", +"id": "TextConfig", +"properties": { +"additionalTransformations": { +"description": "Additional transformations to apply to the detected data, overriding `profile`.", +"items": { +"$ref": "InfoTypeTransformation" +}, +"type": "array" +}, +"excludeInfoTypes": { +"description": "InfoTypes to skip transforming, overriding `profile`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profileType": { +"description": "Base profile type for text transformation.", +"enum": [ +"PROFILE_TYPE_UNSPECIFIED", +"EMPTY", +"BASIC" +], +"enumDescriptions": [ +"No profile provided. Same as BASIC.", +"Empty profile which does not perform any transformations.", +"Automatically converts \"DATE\" infoTypes using a DateShiftConfig, and all other infoTypes using a ReplaceWithInfoTypeConfig." +], +"type": "string" +}, +"transformations": { +"deprecated": true, +"description": "The transformations to apply to the detected data. Deprecated. Use `additional_transformations` instead.", +"items": { +"$ref": "InfoTypeTransformation" +}, +"type": "array" +} +}, +"type": "object" +}, +"TextSpan": { +"description": "A span of text in the provided document.", +"id": "TextSpan", +"properties": { +"beginOffset": { +"description": "The unicode codepoint index of the beginning of this span.", +"format": "int32", +"type": "integer" +}, +"content": { +"description": "The original text contained in this span.", +"type": "string" +} +}, +"type": "object" +}, +"TimePartitioning": { +"description": "Configuration for FHIR BigQuery time-partitioned tables.", +"id": "TimePartitioning", +"properties": { +"expirationMs": { +"description": "Number of milliseconds for which to keep the storage for a partition.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of partitioning.", +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"HOUR", +"DAY", +"MONTH", +"YEAR" +], +"enumDescriptions": [ +"Default unknown time.", +"Data partitioned by hour.", +"Data partitioned by day.", +"Data partitioned by month.", +"Data partitioned by year." +], +"type": "string" +} +}, +"type": "object" +}, +"TimeRange": { +"description": "Apply consents given by patients whose most recent consent changes are in the time range. Note that after identifying these patients, the server applies all Consent resources given by those patients, not just the Consent resources within the timestamp in the range.", +"id": "TimeRange", +"properties": { +"end": { +"description": "Optional. The latest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the time when ApplyConsents was called.", +"type": "string" +}, +"start": { +"description": "Optional. The earliest consent change time, in format YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the FHIR store creation time.", +"type": "string" +} +}, +"type": "object" +}, +"Type": { +"description": "A type definition for some HL7v2 type (incl. Segments and Datatypes).", +"id": "Type", +"properties": { +"fields": { +"description": "The (sub) fields this type has (if not primitive).", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The name of this type. This would be the segment or datatype name. For example, \"PID\" or \"XPN\".", +"type": "string" +}, +"primitive": { +"description": "If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types.", +"enum": [ +"PRIMITIVE_UNSPECIFIED", +"STRING", +"VARIES", +"UNESCAPED_STRING" +], +"enumDescriptions": [ +"Not a primitive.", +"String primitive.", +"Element that can have unschematized children.", +"Like STRING, but all delimiters below this element are ignored." +], +"type": "string" +} +}, +"type": "object" +}, +"UpdateSeriesMetadataResponse": { +"description": "UpdateSeriesMetadataResponse is the LRO response for UpdateSeriesMetadata.", +"id": "UpdateSeriesMetadataResponse", +"properties": {}, +"type": "object" +}, +"UpdateStudyMetadataResponse": { +"description": "UpdateStudyMetadataResponse is the LRO response for UpdateStudyMetadata.", +"id": "UpdateStudyMetadataResponse", +"properties": {}, +"type": "object" +}, +"UserDataMapping": { +"description": "Maps a resource to the associated user and Attributes.", +"id": "UserDataMapping", +"properties": { +"archiveTime": { +"description": "Output only. Indicates the time when this mapping was archived.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"archived": { +"description": "Output only. Indicates whether this mapping is archived.", +"readOnly": true, +"type": "boolean" +}, +"dataId": { +"description": "Required. A unique identifier for the mapped resource.", +"type": "string" +}, +"name": { +"description": "Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.", +"type": "string" +}, +"resourceAttributes": { +"description": "Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field \"values\" in each Attribute.", +"items": { +"$ref": "Attribute" +}, +"type": "array" +}, +"userId": { +"description": "Required. User's UUID provided by the client.", +"type": "string" +} +}, +"type": "object" +}, +"ValidationConfig": { +"description": "Contains the configuration for FHIR profiles and validation.", +"id": "ValidationConfig", +"properties": { +"disableFhirpathValidation": { +"description": "Whether to disable FHIRPath validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"disableProfileValidation": { +"description": "Whether to disable profile validation for this FHIR store. The default value is false. Set this to true to disable checking incoming resources for conformance against StructureDefinitions in this FHIR store.", +"type": "boolean" +}, +"disableReferenceTypeValidation": { +"description": "Whether to disable reference type validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against reference type requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"disableRequiredFieldValidation": { +"description": "Whether to disable required fields validation for incoming resources. The default value is false. Set this to true to disable checking incoming resources for conformance against required fields requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced.", +"type": "boolean" +}, +"enableFhirpathProfileValidation": { +"description": "Optional. Whether to enable FHIRPath validation for incoming resource types that have profiles configured for them in the `enabled_implementation_guides` list. Set this to true to enable checking incoming resources for conformance against FHIRPath requirements defined in the configured profiles.", +"type": "boolean" +}, +"enabledImplementationGuides": { +"description": "A list of ImplementationGuide URLs in this FHIR store that are used to configure the profiles to use for validation. For example, to use the US Core profiles for validation, set `enabled_implementation_guides` to `[\"http://hl7.org/fhir/us/core/ImplementationGuide/ig\"]`. If `enabled_implementation_guides` is empty or omitted, then incoming resources are only required to conform to the base FHIR profiles. Otherwise, a resource must conform to at least one profile listed in the `global` property of one of the enabled ImplementationGuides. The Cloud Healthcare API does not currently enforce all of the rules in a StructureDefinition. The following rules are supported: - min/max - minValue/maxValue - maxLength - type - fixed[x] - pattern[x] on simple types - slicing, when using \"value\" as the discriminator type - FHIRPath constraints (only when `enable_fhirpath_profile_validation` is true) When a URL cannot be resolved (for example, in a type assertion), the server does not return an error.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VersionSource": { +"description": "Describes a selector for extracting and matching an MSH field to a value.", +"id": "VersionSource", +"properties": { +"mshField": { +"description": "The field to extract from the MSH segment. For example, \"3.1\" or \"18[1].1\".", +"type": "string" +}, +"value": { +"description": "The value to match with the field. For example, \"My Application Name\" or \"2.3\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Healthcare API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/homegraph.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/homegraph.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..cb9cc213bb65995fef8da495db58155a79d1ba79 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/homegraph.v1.json @@ -0,0 +1,598 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/homegraph": { +"description": "Private Service: https://www.googleapis.com/auth/homegraph" +} +} +} +}, +"basePath": "", +"baseUrl": "https://homegraph.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Home Graph Service", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://developers.home.google.com/cloud-to-cloud/get-started", +"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": "homegraph:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://homegraph.mtls.googleapis.com/", +"name": "homegraph", +"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": { +"agentUsers": { +"methods": { +"delete": { +"description": "Unlinks the given third-party user from your smart home Action. All data related to this user will be deleted. For more details on how users link their accounts, see [fulfillment and authentication](https://developers.home.google.com/cloud-to-cloud/primer/fulfillment). The third-party user's identity is passed in via the `agent_user_id` (see DeleteAgentUserRequest). This request must be authorized using service account credentials from your Actions console project.", +"flatPath": "v1/agentUsers/{agentUsersId}", +"httpMethod": "DELETE", +"id": "homegraph.agentUsers.delete", +"parameterOrder": [ +"agentUserId" +], +"parameters": { +"agentUserId": { +"description": "Required. Third-party user ID.", +"location": "path", +"pattern": "^agentUsers/.*$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Request ID used for debugging.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+agentUserId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/homegraph" +] +} +} +}, +"devices": { +"methods": { +"query": { +"description": "Gets the current states in Home Graph for the given set of the third-party user's devices. The third-party user's identity is passed in via the `agent_user_id` (see QueryRequest). This request must be authorized using service account credentials from your Actions console project.", +"flatPath": "v1/devices:query", +"httpMethod": "POST", +"id": "homegraph.devices.query", +"parameterOrder": [], +"parameters": {}, +"path": "v1/devices:query", +"request": { +"$ref": "QueryRequest" +}, +"response": { +"$ref": "QueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/homegraph" +] +}, +"reportStateAndNotification": { +"description": "Reports device state and optionally sends device notifications. Called by your smart home Action when the state of a third-party device changes or you need to send a notification about the device. See [Implement Report State](https://developers.home.google.com/cloud-to-cloud/integration/report-state) for more information. This method updates the device state according to its declared [traits](https://developers.home.google.com/cloud-to-cloud/primer/device-types-and-traits). Publishing a new state value outside of these traits will result in an `INVALID_ARGUMENT` error response. The third-party user's identity is passed in via the `agent_user_id` (see ReportStateAndNotificationRequest). This request must be authorized using service account credentials from your Actions console project.", +"flatPath": "v1/devices:reportStateAndNotification", +"httpMethod": "POST", +"id": "homegraph.devices.reportStateAndNotification", +"parameterOrder": [], +"parameters": {}, +"path": "v1/devices:reportStateAndNotification", +"request": { +"$ref": "ReportStateAndNotificationRequest" +}, +"response": { +"$ref": "ReportStateAndNotificationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/homegraph" +] +}, +"requestSync": { +"description": "Requests Google to send an `action.devices.SYNC` [intent](https://developers.home.google.com/cloud-to-cloud/intents/sync) to your smart home Action to update device metadata for the given user. The third-party user's identity is passed via the `agent_user_id` (see RequestSyncDevicesRequest). This request must be authorized using service account credentials from your Actions console project.", +"flatPath": "v1/devices:requestSync", +"httpMethod": "POST", +"id": "homegraph.devices.requestSync", +"parameterOrder": [], +"parameters": {}, +"path": "v1/devices:requestSync", +"request": { +"$ref": "RequestSyncDevicesRequest" +}, +"response": { +"$ref": "RequestSyncDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/homegraph" +] +}, +"sync": { +"description": "Gets all the devices associated with the given third-party user. The third-party user's identity is passed in via the `agent_user_id` (see SyncRequest). This request must be authorized using service account credentials from your Actions console project.", +"flatPath": "v1/devices:sync", +"httpMethod": "POST", +"id": "homegraph.devices.sync", +"parameterOrder": [], +"parameters": {}, +"path": "v1/devices:sync", +"request": { +"$ref": "SyncRequest" +}, +"response": { +"$ref": "SyncResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/homegraph" +] +} +} +} +}, +"revision": "20250716", +"rootUrl": "https://homegraph.googleapis.com/", +"schemas": { +"AgentDeviceId": { +"description": "Third-party device ID for one device.", +"id": "AgentDeviceId", +"properties": { +"id": { +"description": "Third-party device ID.", +"type": "string" +} +}, +"type": "object" +}, +"AgentOtherDeviceId": { +"description": "Alternate third-party device ID.", +"id": "AgentOtherDeviceId", +"properties": { +"agentId": { +"description": "Project ID for your smart home Action.", +"type": "string" +}, +"deviceId": { +"description": "Unique third-party device ID.", +"type": "string" +} +}, +"type": "object" +}, +"Device": { +"description": "Third-party device definition.", +"id": "Device", +"properties": { +"attributes": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Attributes for the traits supported by the device.", +"type": "object" +}, +"customData": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.home.google.com/cloud-to-cloud/intents/query) and [EXECUTE](https://developers.home.google.com/cloud-to-cloud/intents/execute) intent. Data in this object has a few constraints: No sensitive information, including but not limited to Personally Identifiable Information.", +"type": "object" +}, +"deviceInfo": { +"$ref": "DeviceInfo", +"description": "Device manufacturer, model, hardware version, and software version." +}, +"id": { +"description": "Third-party device ID.", +"type": "string" +}, +"name": { +"$ref": "DeviceNames", +"description": "Names given to this device by your smart home Action." +}, +"notificationSupportedByAgent": { +"description": "Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control device notifications, you should update this field and call RequestSyncDevices.", +"type": "boolean" +}, +"otherDeviceIds": { +"description": "Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.home.google.com/local-home/overview).", +"items": { +"$ref": "AgentOtherDeviceId" +}, +"type": "array" +}, +"roomHint": { +"description": "Suggested name for the room where this device is installed. Google attempts to use this value during user setup.", +"type": "string" +}, +"structureHint": { +"description": "Suggested name for the structure where this device is installed. Google attempts to use this value during user setup.", +"type": "string" +}, +"traits": { +"description": "Traits supported by the device. See [device traits](https://developers.home.google.com/cloud-to-cloud/traits).", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Hardware type of the device. See [device types](https://developers.home.google.com/cloud-to-cloud/guides).", +"type": "string" +}, +"willReportState": { +"description": "Indicates whether your smart home Action will report state of this device to Google via ReportStateAndNotification.", +"type": "boolean" +} +}, +"type": "object" +}, +"DeviceInfo": { +"description": "Device information.", +"id": "DeviceInfo", +"properties": { +"hwVersion": { +"description": "Device hardware version.", +"type": "string" +}, +"manufacturer": { +"description": "Device manufacturer.", +"type": "string" +}, +"model": { +"description": "Device model.", +"type": "string" +}, +"swVersion": { +"description": "Device software version.", +"type": "string" +} +}, +"type": "object" +}, +"DeviceNames": { +"description": "Identifiers used to describe the device.", +"id": "DeviceNames", +"properties": { +"defaultNames": { +"description": "List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs, etc.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Primary name of the device, generally provided by the user. Names will be truncated if over the 60 Unicode code point (character) limit and no errors will be thrown. Developers are responsible for handling long names.", +"type": "string" +}, +"nicknames": { +"description": "Additional names provided by the user for the device.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"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" +}, +"QueryRequest": { +"description": "Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.", +"id": "QueryRequest", +"properties": { +"agentUserId": { +"description": "Required. Third-party user ID.", +"type": "string" +}, +"inputs": { +"description": "Required. Inputs containing third-party device IDs for which to get the device states.", +"items": { +"$ref": "QueryRequestInput" +}, +"type": "array" +}, +"requestId": { +"description": "Request ID used for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"QueryRequestInput": { +"description": "Device ID inputs to QueryRequest.", +"id": "QueryRequestInput", +"properties": { +"payload": { +"$ref": "QueryRequestPayload", +"description": "Payload containing third-party device IDs." +} +}, +"type": "object" +}, +"QueryRequestPayload": { +"description": "Payload containing device IDs.", +"id": "QueryRequestPayload", +"properties": { +"devices": { +"description": "Third-party device IDs for which to get the device states.", +"items": { +"$ref": "AgentDeviceId" +}, +"type": "array" +} +}, +"type": "object" +}, +"QueryResponse": { +"description": "Response type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should follow the same format as the Google smart home `action.devices.QUERY` [response](https://developers.home.google.com/cloud-to-cloud/intents/query). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"devices\": { \"123\": { \"on\": true, \"online\": true }, \"456\": { \"on\": true, \"online\": true, \"brightness\": 80, \"color\": { \"name\": \"cerulean\", \"spectrumRGB\": 31655 } } } } } ```", +"id": "QueryResponse", +"properties": { +"payload": { +"$ref": "QueryResponsePayload", +"description": "Device states for the devices given in the request." +}, +"requestId": { +"description": "Request ID used for debugging. Copied from the request.", +"type": "string" +} +}, +"type": "object" +}, +"QueryResponsePayload": { +"description": "Payload containing device states information.", +"id": "QueryResponsePayload", +"properties": { +"devices": { +"additionalProperties": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"description": "States of the devices. Map of third-party device ID to struct of device states.", +"type": "object" +} +}, +"type": "object" +}, +"ReportStateAndNotificationDevice": { +"description": "The states and notifications specific to a device.", +"id": "ReportStateAndNotificationDevice", +"properties": { +"notifications": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Notifications metadata for devices. See the **Device NOTIFICATIONS** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits).", +"type": "object" +}, +"states": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "States of devices to update. See the **Device STATES** section of the individual trait [reference guides](https://developers.home.google.com/cloud-to-cloud/traits).", +"type": "object" +} +}, +"type": "object" +}, +"ReportStateAndNotificationRequest": { +"description": "Request type for the [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call. It may include states, notifications, or both. States and notifications are defined per `device_id` (for example, \"123\" and \"456\" in the following example). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"agentUserId\": \"1234\", \"payload\": { \"devices\": { \"states\": { \"123\": { \"on\": true }, \"456\": { \"on\": true, \"brightness\": 10 }, }, } } } ```", +"id": "ReportStateAndNotificationRequest", +"properties": { +"agentUserId": { +"description": "Required. Third-party user ID.", +"type": "string" +}, +"eventId": { +"description": "Unique identifier per event (for example, a doorbell press).", +"type": "string" +}, +"followUpToken": { +"deprecated": true, +"description": "Deprecated.", +"type": "string" +}, +"payload": { +"$ref": "StateAndNotificationPayload", +"description": "Required. State of devices to update and notification metadata for devices." +}, +"requestId": { +"description": "Request ID used for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"ReportStateAndNotificationResponse": { +"description": "Response type for the [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call.", +"id": "ReportStateAndNotificationResponse", +"properties": { +"requestId": { +"description": "Request ID copied from ReportStateAndNotificationRequest.", +"type": "string" +} +}, +"type": "object" +}, +"RequestSyncDevicesRequest": { +"description": "Request type for the [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) call.", +"id": "RequestSyncDevicesRequest", +"properties": { +"agentUserId": { +"description": "Required. Third-party user ID.", +"type": "string" +}, +"async": { +"description": "Optional. If set, the request will be added to a queue and a response will be returned immediately. This enables concurrent requests for the given `agent_user_id`, but the caller will not receive any error responses.", +"type": "boolean" +} +}, +"type": "object" +}, +"RequestSyncDevicesResponse": { +"description": "Response type for the [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) call. Intentionally empty upon success. An HTTP response code is returned with more details upon failure.", +"id": "RequestSyncDevicesResponse", +"properties": {}, +"type": "object" +}, +"StateAndNotificationPayload": { +"description": "Payload containing the state and notification information for devices.", +"id": "StateAndNotificationPayload", +"properties": { +"devices": { +"$ref": "ReportStateAndNotificationDevice", +"description": "The devices for updating state and sending notifications." +} +}, +"type": "object" +}, +"SyncRequest": { +"description": "Request type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call.", +"id": "SyncRequest", +"properties": { +"agentUserId": { +"description": "Required. Third-party user ID.", +"type": "string" +}, +"requestId": { +"description": "Request ID used for debugging.", +"type": "string" +} +}, +"type": "object" +}, +"SyncResponse": { +"description": "Response type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should follow the same format as the Google smart home `action.devices.SYNC` [response](https://developers.home.google.com/cloud-to-cloud/intents/sync). Example: ```json { \"requestId\": \"ff36a3cc-ec34-11e6-b1a0-64510650abcf\", \"payload\": { \"agentUserId\": \"1836.15267389\", \"devices\": [{ \"id\": \"123\", \"type\": \"action.devices.types.OUTLET\", \"traits\": [ \"action.devices.traits.OnOff\" ], \"name\": { \"defaultNames\": [\"My Outlet 1234\"], \"name\": \"Night light\", \"nicknames\": [\"wall plug\"] }, \"willReportState\": false, \"deviceInfo\": { \"manufacturer\": \"lights-out-inc\", \"model\": \"hs1234\", \"hwVersion\": \"3.2\", \"swVersion\": \"11.4\" }, \"customData\": { \"fooValue\": 74, \"barValue\": true, \"bazValue\": \"foo\" } }] } } ```", +"id": "SyncResponse", +"properties": { +"payload": { +"$ref": "SyncResponsePayload", +"description": "Devices associated with the third-party user." +}, +"requestId": { +"description": "Request ID used for debugging. Copied from the request.", +"type": "string" +} +}, +"type": "object" +}, +"SyncResponsePayload": { +"description": "Payload containing device information.", +"id": "SyncResponsePayload", +"properties": { +"agentUserId": { +"description": "Third-party user ID", +"type": "string" +}, +"devices": { +"description": "Devices associated with the third-party user.", +"items": { +"$ref": "Device" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "HomeGraph API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2beta.json new file mode 100644 index 0000000000000000000000000000000000000000..5d06c590b8e84f5070ecb06495d00ff9f384212f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/iam.v2beta.json @@ -0,0 +1,880 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://iam.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Iam", +"description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iam/", +"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": "iam:v2beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://iam.mtls.googleapis.com/", +"name": "iam", +"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": { +"policies": { +"methods": { +"createPolicy": { +"description": "Creates a policy.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}", +"httpMethod": "POST", +"id": "iam.policies.createPolicy", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource that the policy is attached to, along with the kind of policy to create. Format: `policies/{attachment_point}/denypolicies` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+$", +"required": true, +"type": "string" +}, +"policyId": { +"description": "The ID to use for this policy, which will become the final component of the policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be a lowercase letter.", +"location": "query", +"type": "string" +} +}, +"path": "v2beta/{+parent}", +"request": { +"$ref": "GoogleIamV2betaPolicy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a policy. This action is permanent.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "DELETE", +"id": "iam.policies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The expected `etag` of the policy to delete. If the value does not match the value that is stored in IAM, the request fails with a `409` error code and `ABORTED` status. If you omit this field, the policy is deleted regardless of its current `etag`.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The resource name of the policy to delete. Format: `policies/{attachment_point}/denypolicies/{policy_id}` Use the URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a policy.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "GET", +"id": "iam.policies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the policy to retrieve. Format: `policies/{attachment_point}/denypolicies/{policy_id}` Use the URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleIamV2betaPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listPolicies": { +"description": "Retrieves the policies of the specified kind that are attached to a resource. The response lists only policy metadata. In particular, policy rules are omitted.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}", +"httpMethod": "GET", +"id": "iam.policies.listPolicies", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of policies to return. IAM ignores this value and uses the value 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received in a ListPoliciesResponse. Provide this token to retrieve the next page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource that the policy is attached to, along with the kind of policy to list. Format: `policies/{attachment_point}/denypolicies` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+parent}", +"response": { +"$ref": "GoogleIamV2betaListPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"update": { +"description": "Updates the specified policy. You can update only the rules and the display name for the policy. To update a policy, you should use a read-modify-write loop: 1. Use GetPolicy to read the current version of the policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. This pattern helps prevent conflicts between concurrent updates.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}/{policiesId2}", +"httpMethod": "PUT", +"id": "iam.policies.update", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"request": { +"$ref": "GoogleIamV2betaPolicy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2beta/policies/{policiesId}/{policiesId1}/{policiesId2}/operations/{operationsId}", +"httpMethod": "GET", +"id": "iam.policies.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^policies/[^/]+/[^/]+/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2beta/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20250502", +"rootUrl": "https://iam.googleapis.com/", +"schemas": { +"CloudControl2SharedOperationsReconciliationOperationMetadata": { +"description": "Operation metadata returned by the CLH during resource state reconciliation.", +"id": "CloudControl2SharedOperationsReconciliationOperationMetadata", +"properties": { +"deleteResource": { +"deprecated": true, +"description": "DEPRECATED. Use exclusive_action instead.", +"type": "boolean" +}, +"exclusiveAction": { +"description": "Excluisive action returned by the CLH.", +"enum": [ +"UNKNOWN_REPAIR_ACTION", +"DELETE", +"RETRY" +], +"enumDeprecated": [ +false, +true, +false +], +"enumDescriptions": [ +"Unknown repair action.", +"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.", +"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudCommonOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudCommonOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamAdminV1AuditData": { +"description": "Audit log information specific to Cloud IAM admin APIs. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.", +"id": "GoogleIamAdminV1AuditData", +"properties": { +"permissionDelta": { +"$ref": "GoogleIamAdminV1AuditDataPermissionDelta", +"description": "The permission_delta when when creating or updating a Role." +} +}, +"type": "object" +}, +"GoogleIamAdminV1AuditDataPermissionDelta": { +"description": "A PermissionDelta message to record the added_permissions and removed_permissions inside a role.", +"id": "GoogleIamAdminV1AuditDataPermissionDelta", +"properties": { +"addedPermissions": { +"description": "Added permissions.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removedPermissions": { +"description": "Removed permissions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1BindingDelta": { +"description": "One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.", +"id": "GoogleIamV1BindingDelta", +"properties": { +"action": { +"description": "The action that was performed on a Binding. Required", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that is associated with this binding." +}, +"member": { +"description": "A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required", +"type": "string" +}, +"role": { +"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV1LoggingAuditData": { +"description": "Audit log information specific to Cloud IAM. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.", +"id": "GoogleIamV1LoggingAuditData", +"properties": { +"policyDelta": { +"$ref": "GoogleIamV1PolicyDelta", +"description": "Policy delta between the original policy and the newly set policy." +} +}, +"type": "object" +}, +"GoogleIamV1PolicyDelta": { +"description": "The difference delta between two policies.", +"id": "GoogleIamV1PolicyDelta", +"properties": { +"bindingDeltas": { +"description": "The delta for Bindings between two policies.", +"items": { +"$ref": "GoogleIamV1BindingDelta" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV1betaWorkloadIdentityPoolOperationMetadata": { +"description": "Metadata for long-running WorkloadIdentityPool operations.", +"id": "GoogleIamV1betaWorkloadIdentityPoolOperationMetadata", +"properties": {}, +"type": "object" +}, +"GoogleIamV2betaDenyRule": { +"description": "A deny rule in an IAM deny policy.", +"id": "GoogleIamV2betaDenyRule", +"properties": { +"denialCondition": { +"$ref": "GoogleTypeExpr", +"description": "The condition that determines whether this deny rule applies to a request. If the condition expression evaluates to `true`, then the deny rule is applied; otherwise, the deny rule is not applied. Each deny rule is evaluated independently. If this deny rule does not apply to a request, other deny rules might still apply. The condition can use CEL functions that evaluate [resource tags](https://cloud.google.com/iam/help/conditions/resource-tags). Other functions and operators are not supported." +}, +"deniedPermissions": { +"description": "The permissions that are explicitly denied by this rule. Each permission uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` is the fully qualified domain name for the service. For example, `iam.googleapis.com/roles.list`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedPrincipals": { +"description": " The identities that are prevented from using one or more permissions on Google Cloud resources. This field can contain the following values: * `principal://goog/subject/{email_id}`: A specific Google Account. Includes Gmail, Cloud Identity, and Google Workspace user accounts. For example, `principal://goog/subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}`: A Google Cloud service account. For example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `principalSet://goog/group/{group_id}`: A Google group. For example, `principalSet://goog/group/admins@example.com`. * `principalSet://goog/public:all`: A special identifier that represents any principal that is on the internet, even if they do not have a Google Account or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/{customer_id}`: All of the principals associated with the specified Google Workspace or Cloud Identity customer ID. For example, `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. * `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. * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAccount`: All service accounts grouped under a resource (project, folder, or organization). * `principalSet://cloudresourcemanager.googleapis.com/[projects|folders|organizations]/{project_number|folder_number|org_number}/type/ServiceAgent`: All service agents grouped under a resource (project, folder, or organization). * `deleted:principal://goog/subject/{email_id}?uid={uid}`: A specific Google Account that was deleted recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the Google Account is recovered, this identifier reverts to the standard identifier for a Google Account. * `deleted:principalSet://goog/group/{group_id}?uid={uid}`: A Google group that was deleted recently. For example, `deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the Google group is restored, this identifier reverts to the standard identifier for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/{service_account_id}?uid={uid}`: A Google Cloud service account that was deleted recently. For example, `deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this identifier reverts to the standard identifier for a service account. * `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" +}, +"exceptionPermissions": { +"description": "Specifies the permissions that this rule excludes from the set of denied permissions given by `denied_permissions`. If a permission appears in `denied_permissions` _and_ in `exception_permissions` then it will _not_ be denied. The excluded permissions can be specified using the same syntax as `denied_permissions`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"exceptionPrincipals": { +"description": "The identities that are excluded from the deny rule, even if they are listed in the `denied_principals`. For example, you could add a Google group to the `denied_principals`, then exclude specific users who belong to that group. This field can contain the same values as the `denied_principals` field, excluding `principalSet://goog/public:all`, which represents all users on the internet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV2betaListPoliciesResponse": { +"description": "Response message for `ListPolicies`.", +"id": "GoogleIamV2betaListPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.", +"type": "string" +}, +"policies": { +"description": "Metadata for the policies that are attached to the resource.", +"items": { +"$ref": "GoogleIamV2betaPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleIamV2betaPolicy": { +"description": "Data for an IAM policy.", +"id": "GoogleIamV2betaPolicy", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the `Policy` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "A user-specified description of the `Policy`. This value can be up to 63 characters.", +"type": "string" +}, +"etag": { +"description": "An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a CreatePolicyRequest, the value is ignored.", +"type": "string" +}, +"kind": { +"description": "Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.", +"type": "string" +}, +"rules": { +"description": "A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.", +"items": { +"$ref": "GoogleIamV2betaPolicyRule" +}, +"type": "array" +}, +"uid": { +"description": "Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the `Policy` was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV2betaPolicyOperationMetadata": { +"description": "Metadata for long-running `Policy` operations.", +"id": "GoogleIamV2betaPolicyOperationMetadata", +"properties": { +"createTime": { +"description": "Timestamp when the `google.longrunning.Operation` was created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV2betaPolicyRule": { +"description": "A single rule in a `Policy`.", +"id": "GoogleIamV2betaPolicyRule", +"properties": { +"denyRule": { +"$ref": "GoogleIamV2betaDenyRule", +"description": "A rule for a deny policy." +}, +"description": { +"description": "A user-specified description of the rule. This value can be up to 256 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3alphaOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3alphaOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3betaOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3betaOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleIamV3mainOperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleIamV3mainOperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"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": "GoogleTypeExpr", +"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" +} +}, +"servicePath": "", +"title": "Identity and Access Management (IAM) API", +"version": "v2beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/identitytoolkit.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/identitytoolkit.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..3fec5f320055618696a6e41a50787036ac8c75a9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/identitytoolkit.v3.json @@ -0,0 +1,2115 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "View and manage your data across Google Cloud Platform services" +}, +"https://www.googleapis.com/auth/firebase": { +"description": "View and administer all your Firebase data and settings" +} +} +} +}, +"basePath": "/identitytoolkit/v3/relyingparty/", +"baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", +"batchPath": "batch/identitytoolkit/v3", +"canonicalName": "Identity Toolkit", +"description": "Help the third party sites to implement federated login.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/identity-toolkit/v3/", +"etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/3oj2ig7C4N6A-_tqqb8y4vu2RvM\"", +"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": "identitytoolkit:v3", +"kind": "discovery#restDescription", +"name": "identitytoolkit", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"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": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"relyingparty": { +"methods": { +"createAuthUri": { +"description": "Creates the URI used by the IdP to authenticate the user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.createAuthUri", +"path": "createAuthUri", +"request": { +"$ref": "IdentitytoolkitRelyingpartyCreateAuthUriRequest" +}, +"response": { +"$ref": "CreateAuthUriResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"deleteAccount": { +"description": "Delete user account.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.deleteAccount", +"path": "deleteAccount", +"request": { +"$ref": "IdentitytoolkitRelyingpartyDeleteAccountRequest" +}, +"response": { +"$ref": "DeleteAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"downloadAccount": { +"description": "Batch download user accounts.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.downloadAccount", +"path": "downloadAccount", +"request": { +"$ref": "IdentitytoolkitRelyingpartyDownloadAccountRequest" +}, +"response": { +"$ref": "DownloadAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"emailLinkSignin": { +"description": "Reset password for a user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.emailLinkSignin", +"path": "emailLinkSignin", +"request": { +"$ref": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest" +}, +"response": { +"$ref": "EmailLinkSigninResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAccountInfo": { +"description": "Returns the account info.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.getAccountInfo", +"path": "getAccountInfo", +"request": { +"$ref": "IdentitytoolkitRelyingpartyGetAccountInfoRequest" +}, +"response": { +"$ref": "GetAccountInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getOobConfirmationCode": { +"description": "Get a code for user action confirmation.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.getOobConfirmationCode", +"path": "getOobConfirmationCode", +"request": { +"$ref": "Relyingparty" +}, +"response": { +"$ref": "GetOobConfirmationCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getProjectConfig": { +"description": "Get project configuration.", +"httpMethod": "GET", +"id": "identitytoolkit.relyingparty.getProjectConfig", +"parameters": { +"delegatedProjectNumber": { +"description": "Delegated GCP project number of the request.", +"location": "query", +"type": "string" +}, +"projectNumber": { +"description": "GCP project number of the request.", +"location": "query", +"type": "string" +} +}, +"path": "getProjectConfig", +"response": { +"$ref": "IdentitytoolkitRelyingpartyGetProjectConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getPublicKeys": { +"description": "Get token signing public key.", +"httpMethod": "GET", +"id": "identitytoolkit.relyingparty.getPublicKeys", +"path": "publicKeys", +"response": { +"$ref": "IdentitytoolkitRelyingpartyGetPublicKeysResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRecaptchaParam": { +"description": "Get recaptcha secure param.", +"httpMethod": "GET", +"id": "identitytoolkit.relyingparty.getRecaptchaParam", +"path": "getRecaptchaParam", +"response": { +"$ref": "GetRecaptchaParamResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetPassword": { +"description": "Reset password for a user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.resetPassword", +"path": "resetPassword", +"request": { +"$ref": "IdentitytoolkitRelyingpartyResetPasswordRequest" +}, +"response": { +"$ref": "ResetPasswordResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"sendVerificationCode": { +"description": "Send SMS verification code.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.sendVerificationCode", +"path": "sendVerificationCode", +"request": { +"$ref": "IdentitytoolkitRelyingpartySendVerificationCodeRequest" +}, +"response": { +"$ref": "IdentitytoolkitRelyingpartySendVerificationCodeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAccountInfo": { +"description": "Set account info for a user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.setAccountInfo", +"path": "setAccountInfo", +"request": { +"$ref": "IdentitytoolkitRelyingpartySetAccountInfoRequest" +}, +"response": { +"$ref": "SetAccountInfoResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setProjectConfig": { +"description": "Set project configuration.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.setProjectConfig", +"path": "setProjectConfig", +"request": { +"$ref": "IdentitytoolkitRelyingpartySetProjectConfigRequest" +}, +"response": { +"$ref": "IdentitytoolkitRelyingpartySetProjectConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"signOutUser": { +"description": "Sign out user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.signOutUser", +"path": "signOutUser", +"request": { +"$ref": "IdentitytoolkitRelyingpartySignOutUserRequest" +}, +"response": { +"$ref": "IdentitytoolkitRelyingpartySignOutUserResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"signupNewUser": { +"description": "Signup new user.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.signupNewUser", +"path": "signupNewUser", +"request": { +"$ref": "IdentitytoolkitRelyingpartySignupNewUserRequest" +}, +"response": { +"$ref": "SignupNewUserResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"uploadAccount": { +"description": "Batch upload existing user accounts.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.uploadAccount", +"path": "uploadAccount", +"request": { +"$ref": "IdentitytoolkitRelyingpartyUploadAccountRequest" +}, +"response": { +"$ref": "UploadAccountResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/firebase" +] +}, +"verifyAssertion": { +"description": "Verifies the assertion returned by the IdP.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.verifyAssertion", +"path": "verifyAssertion", +"request": { +"$ref": "IdentitytoolkitRelyingpartyVerifyAssertionRequest" +}, +"response": { +"$ref": "VerifyAssertionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"verifyCustomToken": { +"description": "Verifies the developer asserted ID token.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.verifyCustomToken", +"path": "verifyCustomToken", +"request": { +"$ref": "IdentitytoolkitRelyingpartyVerifyCustomTokenRequest" +}, +"response": { +"$ref": "VerifyCustomTokenResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"verifyPassword": { +"description": "Verifies the user entered password.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.verifyPassword", +"path": "verifyPassword", +"request": { +"$ref": "IdentitytoolkitRelyingpartyVerifyPasswordRequest" +}, +"response": { +"$ref": "VerifyPasswordResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"verifyPhoneNumber": { +"description": "Verifies ownership of a phone number and creates/updates the user account accordingly.", +"httpMethod": "POST", +"id": "identitytoolkit.relyingparty.verifyPhoneNumber", +"path": "verifyPhoneNumber", +"request": { +"$ref": "IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest" +}, +"response": { +"$ref": "IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20180723", +"rootUrl": "https://www.googleapis.com/", +"schemas": { +"CreateAuthUriResponse": { +"description": "Response of creating the IDP authentication URL.", +"id": "CreateAuthUriResponse", +"properties": { +"allProviders": { +"description": "all providers the user has once used to do federated login", +"items": { +"type": "string" +}, +"type": "array" +}, +"authUri": { +"description": "The URI used by the IDP to authenticate the user.", +"type": "string" +}, +"captchaRequired": { +"description": "True if captcha is required.", +"type": "boolean" +}, +"forExistingProvider": { +"description": "True if the authUri is for user's existing provider.", +"type": "boolean" +}, +"kind": { +"default": "identitytoolkit#CreateAuthUriResponse", +"description": "The fixed string identitytoolkit#CreateAuthUriResponse\".", +"type": "string" +}, +"providerId": { +"description": "The provider ID of the auth URI.", +"type": "string" +}, +"registered": { +"description": "Whether the user is registered if the identifier is an email.", +"type": "boolean" +}, +"sessionId": { +"description": "Session ID which should be passed in the following verifyAssertion request.", +"type": "string" +}, +"signinMethods": { +"description": "All sign-in methods this user has used.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeleteAccountResponse": { +"description": "Respone of deleting account.", +"id": "DeleteAccountResponse", +"properties": { +"kind": { +"default": "identitytoolkit#DeleteAccountResponse", +"description": "The fixed string \"identitytoolkit#DeleteAccountResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"DownloadAccountResponse": { +"description": "Response of downloading accounts in batch.", +"id": "DownloadAccountResponse", +"properties": { +"kind": { +"default": "identitytoolkit#DownloadAccountResponse", +"description": "The fixed string \"identitytoolkit#DownloadAccountResponse\".", +"type": "string" +}, +"nextPageToken": { +"description": "The next page token. To be used in a subsequent request to return the next page of results.", +"type": "string" +}, +"users": { +"description": "The user accounts data.", +"items": { +"$ref": "UserInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"EmailLinkSigninResponse": { +"description": "Response of email signIn.", +"id": "EmailLinkSigninResponse", +"properties": { +"email": { +"description": "The user's email.", +"type": "string" +}, +"expiresIn": { +"description": "Expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The STS id token to login the newly signed in user.", +"type": "string" +}, +"isNewUser": { +"description": "Whether the user is new.", +"type": "boolean" +}, +"kind": { +"default": "identitytoolkit#EmailLinkSigninResponse", +"description": "The fixed string \"identitytoolkit#EmailLinkSigninResponse\".", +"type": "string" +}, +"localId": { +"description": "The RP local ID of the user.", +"type": "string" +}, +"refreshToken": { +"description": "The refresh token for the signed in user.", +"type": "string" +} +}, +"type": "object" +}, +"EmailTemplate": { +"description": "Template for an email template.", +"id": "EmailTemplate", +"properties": { +"body": { +"description": "Email body.", +"type": "string" +}, +"format": { +"description": "Email body format.", +"type": "string" +}, +"from": { +"description": "From address of the email.", +"type": "string" +}, +"fromDisplayName": { +"description": "From display name.", +"type": "string" +}, +"replyTo": { +"description": "Reply-to address.", +"type": "string" +}, +"subject": { +"description": "Subject of the email.", +"type": "string" +} +}, +"type": "object" +}, +"GetAccountInfoResponse": { +"description": "Response of getting account information.", +"id": "GetAccountInfoResponse", +"properties": { +"kind": { +"default": "identitytoolkit#GetAccountInfoResponse", +"description": "The fixed string \"identitytoolkit#GetAccountInfoResponse\".", +"type": "string" +}, +"users": { +"description": "The info of the users.", +"items": { +"$ref": "UserInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GetOobConfirmationCodeResponse": { +"description": "Response of getting a code for user confirmation (reset password, change email etc.).", +"id": "GetOobConfirmationCodeResponse", +"properties": { +"email": { +"description": "The email address that the email is sent to.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#GetOobConfirmationCodeResponse", +"description": "The fixed string \"identitytoolkit#GetOobConfirmationCodeResponse\".", +"type": "string" +}, +"oobCode": { +"description": "The code to be send to the user.", +"type": "string" +} +}, +"type": "object" +}, +"GetRecaptchaParamResponse": { +"description": "Response of getting recaptcha param.", +"id": "GetRecaptchaParamResponse", +"properties": { +"kind": { +"default": "identitytoolkit#GetRecaptchaParamResponse", +"description": "The fixed string \"identitytoolkit#GetRecaptchaParamResponse\".", +"type": "string" +}, +"recaptchaSiteKey": { +"description": "Site key registered at recaptcha.", +"type": "string" +}, +"recaptchaStoken": { +"description": "The stoken field for the recaptcha widget, used to request captcha challenge.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyCreateAuthUriRequest": { +"description": "Request to get the IDP authentication URL.", +"id": "IdentitytoolkitRelyingpartyCreateAuthUriRequest", +"properties": { +"appId": { +"description": "The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, BUNDLE_ID for iOS.", +"type": "string" +}, +"authFlowType": { +"description": "Explicitly specify the auth flow type. Currently only support \"CODE_FLOW\" type. The field is only used for Google provider.", +"type": "string" +}, +"clientId": { +"description": "The relying party OAuth client ID.", +"type": "string" +}, +"context": { +"description": "The opaque value used by the client to maintain context info between the authentication request and the IDP callback.", +"type": "string" +}, +"continueUri": { +"description": "The URI to which the IDP redirects the user after the federated login flow.", +"type": "string" +}, +"customParameter": { +"additionalProperties": { +"description": "The customized query parameter.", +"type": "string" +}, +"description": "The query parameter that client can customize by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, redirect_uri, state, oauth_token.", +"type": "object" +}, +"hostedDomain": { +"description": "The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts.", +"type": "string" +}, +"identifier": { +"description": "The email or federated ID of the user.", +"type": "string" +}, +"oauthConsumerKey": { +"description": "The developer's consumer key for OpenId OAuth Extension", +"type": "string" +}, +"oauthScope": { +"description": "Additional oauth scopes, beyond the basid user profile, that the user would be prompted to grant", +"type": "string" +}, +"openidRealm": { +"description": "Optional realm for OpenID protocol. The sub string \"scheme://domain:port\" of the param \"continueUri\" is used if this is not set.", +"type": "string" +}, +"otaApp": { +"description": "The native app package for OTA installation.", +"type": "string" +}, +"providerId": { +"description": "The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.", +"type": "string" +}, +"sessionId": { +"description": "The session_id passed by client.", +"type": "string" +}, +"tenantId": { +"description": "For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "Tenant project number to be used for idp discovery.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyDeleteAccountRequest": { +"description": "Request to delete account.", +"id": "IdentitytoolkitRelyingpartyDeleteAccountRequest", +"properties": { +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The GITKit token or STS id token of the authenticated user.", +"type": "string" +}, +"localId": { +"description": "The local ID of the user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyDownloadAccountRequest": { +"description": "Request to download user account in batch.", +"id": "IdentitytoolkitRelyingpartyDownloadAccountRequest", +"properties": { +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"maxResults": { +"description": "The max number of results to return in the response.", +"format": "uint32", +"type": "integer" +}, +"nextPageToken": { +"description": "The token for the next page. This should be taken from the previous response.", +"type": "string" +}, +"targetProjectId": { +"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyEmailLinkSigninRequest": { +"description": "Request to sign in with email.", +"id": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest", +"properties": { +"email": { +"description": "The email address of the user.", +"type": "string" +}, +"idToken": { +"description": "Token for linking flow.", +"type": "string" +}, +"oobCode": { +"description": "The confirmation code.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyGetAccountInfoRequest": { +"description": "Request to get the account information.", +"id": "IdentitytoolkitRelyingpartyGetAccountInfoRequest", +"properties": { +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"email": { +"description": "The list of emails of the users to inquiry.", +"items": { +"type": "string" +}, +"type": "array" +}, +"idToken": { +"description": "The GITKit token of the authenticated user.", +"type": "string" +}, +"localId": { +"description": "The list of local ID's of the users to inquiry.", +"items": { +"type": "string" +}, +"type": "array" +}, +"phoneNumber": { +"description": "Privileged caller can query users by specified phone number.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyGetProjectConfigResponse": { +"description": "Response of getting the project configuration.", +"id": "IdentitytoolkitRelyingpartyGetProjectConfigResponse", +"properties": { +"allowPasswordUser": { +"description": "Whether to allow password user sign in or sign up.", +"type": "boolean" +}, +"apiKey": { +"description": "Browser API key, needed when making http request to Apiary.", +"type": "string" +}, +"authorizedDomains": { +"description": "Authorized domains.", +"items": { +"type": "string" +}, +"type": "array" +}, +"changeEmailTemplate": { +"$ref": "EmailTemplate", +"description": "Change email template." +}, +"dynamicLinksDomain": { +"type": "string" +}, +"enableAnonymousUser": { +"description": "Whether anonymous user is enabled.", +"type": "boolean" +}, +"idpConfig": { +"description": "OAuth2 provider configuration.", +"items": { +"$ref": "IdpConfig" +}, +"type": "array" +}, +"legacyResetPasswordTemplate": { +"$ref": "EmailTemplate", +"description": "Legacy reset password email template." +}, +"projectId": { +"description": "Project ID of the relying party.", +"type": "string" +}, +"resetPasswordTemplate": { +"$ref": "EmailTemplate", +"description": "Reset password email template." +}, +"useEmailSending": { +"description": "Whether to use email sending provided by Firebear.", +"type": "boolean" +}, +"verifyEmailTemplate": { +"$ref": "EmailTemplate", +"description": "Verify email template." +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyGetPublicKeysResponse": { +"additionalProperties": { +"type": "string" +}, +"description": "Respone of getting public keys.", +"id": "IdentitytoolkitRelyingpartyGetPublicKeysResponse", +"type": "object" +}, +"IdentitytoolkitRelyingpartyResetPasswordRequest": { +"description": "Request to reset the password.", +"id": "IdentitytoolkitRelyingpartyResetPasswordRequest", +"properties": { +"email": { +"description": "The email address of the user.", +"type": "string" +}, +"newPassword": { +"description": "The new password inputted by the user.", +"type": "string" +}, +"oldPassword": { +"description": "The old password inputted by the user.", +"type": "string" +}, +"oobCode": { +"description": "The confirmation code.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySendVerificationCodeRequest": { +"description": "Request for Identitytoolkit-SendVerificationCode", +"id": "IdentitytoolkitRelyingpartySendVerificationCodeRequest", +"properties": { +"iosReceipt": { +"description": "Receipt of successful app token validation with APNS.", +"type": "string" +}, +"iosSecret": { +"description": "Secret delivered to iOS app via APNS.", +"type": "string" +}, +"phoneNumber": { +"description": "The phone number to send the verification code to in E.164 format.", +"type": "string" +}, +"recaptchaToken": { +"description": "Recaptcha solution.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySendVerificationCodeResponse": { +"description": "Response for Identitytoolkit-SendVerificationCode", +"id": "IdentitytoolkitRelyingpartySendVerificationCodeResponse", +"properties": { +"sessionInfo": { +"description": "Encrypted session information", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySetAccountInfoRequest": { +"description": "Request to set the account information.", +"id": "IdentitytoolkitRelyingpartySetAccountInfoRequest", +"properties": { +"captchaChallenge": { +"description": "The captcha challenge.", +"type": "string" +}, +"captchaResponse": { +"description": "Response to the captcha.", +"type": "string" +}, +"createdAt": { +"description": "The timestamp when the account is created.", +"format": "int64", +"type": "string" +}, +"customAttributes": { +"description": "The custom attributes to be set in the user's id token.", +"type": "string" +}, +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"deleteAttribute": { +"description": "The attributes users request to delete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deleteProvider": { +"description": "The IDPs the user request to delete.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disableUser": { +"description": "Whether to disable the user.", +"type": "boolean" +}, +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"emailVerified": { +"description": "Mark the email as verified or not.", +"type": "boolean" +}, +"idToken": { +"description": "The GITKit token of the authenticated user.", +"type": "string" +}, +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"lastLoginAt": { +"description": "Last login timestamp.", +"format": "int64", +"type": "string" +}, +"localId": { +"description": "The local ID of the user.", +"type": "string" +}, +"oobCode": { +"description": "The out-of-band code of the change email request.", +"type": "string" +}, +"password": { +"description": "The new password of the user.", +"type": "string" +}, +"phoneNumber": { +"description": "Privileged caller can update user with specified phone number.", +"type": "string" +}, +"photoUrl": { +"description": "The photo url of the user.", +"type": "string" +}, +"provider": { +"description": "The associated IDPs of the user.", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnSecureToken": { +"description": "Whether return sts id token and refresh token instead of gitkit token.", +"type": "boolean" +}, +"upgradeToFederatedLogin": { +"description": "Mark the user to upgrade to federated login.", +"type": "boolean" +}, +"validSince": { +"description": "Timestamp in seconds for valid login token.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySetProjectConfigRequest": { +"description": "Request to set the project configuration.", +"id": "IdentitytoolkitRelyingpartySetProjectConfigRequest", +"properties": { +"allowPasswordUser": { +"description": "Whether to allow password user sign in or sign up.", +"type": "boolean" +}, +"apiKey": { +"description": "Browser API key, needed when making http request to Apiary.", +"type": "string" +}, +"authorizedDomains": { +"description": "Authorized domains for widget redirect.", +"items": { +"type": "string" +}, +"type": "array" +}, +"changeEmailTemplate": { +"$ref": "EmailTemplate", +"description": "Change email template." +}, +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"enableAnonymousUser": { +"description": "Whether to enable anonymous user.", +"type": "boolean" +}, +"idpConfig": { +"description": "Oauth2 provider configuration.", +"items": { +"$ref": "IdpConfig" +}, +"type": "array" +}, +"legacyResetPasswordTemplate": { +"$ref": "EmailTemplate", +"description": "Legacy reset password email template." +}, +"resetPasswordTemplate": { +"$ref": "EmailTemplate", +"description": "Reset password email template." +}, +"useEmailSending": { +"description": "Whether to use email sending provided by Firebear.", +"type": "boolean" +}, +"verifyEmailTemplate": { +"$ref": "EmailTemplate", +"description": "Verify email template." +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySetProjectConfigResponse": { +"description": "Response of setting the project configuration.", +"id": "IdentitytoolkitRelyingpartySetProjectConfigResponse", +"properties": { +"projectId": { +"description": "Project ID of the relying party.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySignOutUserRequest": { +"description": "Request to sign out user.", +"id": "IdentitytoolkitRelyingpartySignOutUserRequest", +"properties": { +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"localId": { +"description": "The local ID of the user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySignOutUserResponse": { +"description": "Response of signing out user.", +"id": "IdentitytoolkitRelyingpartySignOutUserResponse", +"properties": { +"localId": { +"description": "The local ID of the user.", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartySignupNewUserRequest": { +"description": "Request to signup new user, create anonymous user or anonymous user reauth.", +"id": "IdentitytoolkitRelyingpartySignupNewUserRequest", +"properties": { +"captchaChallenge": { +"description": "The captcha challenge.", +"type": "string" +}, +"captchaResponse": { +"description": "Response to the captcha.", +"type": "string" +}, +"disabled": { +"description": "Whether to disable the user. Only can be used by service account.", +"type": "boolean" +}, +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"emailVerified": { +"description": "Mark the email as verified or not. Only can be used by service account.", +"type": "boolean" +}, +"idToken": { +"description": "The GITKit token of the authenticated user.", +"type": "string" +}, +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"localId": { +"description": "Privileged caller can create user with specified user id.", +"type": "string" +}, +"password": { +"description": "The new password of the user.", +"type": "string" +}, +"phoneNumber": { +"description": "Privileged caller can create user with specified phone number.", +"type": "string" +}, +"photoUrl": { +"description": "The photo url of the user.", +"type": "string" +}, +"tenantId": { +"description": "For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "Tenant project number to be used for idp discovery.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyUploadAccountRequest": { +"description": "Request to upload user account in batch.", +"id": "IdentitytoolkitRelyingpartyUploadAccountRequest", +"properties": { +"allowOverwrite": { +"description": "Whether allow overwrite existing account when user local_id exists.", +"type": "boolean" +}, +"blockSize": { +"format": "int32", +"type": "integer" +}, +"cpuMemCost": { +"description": "The following 4 fields are for standard scrypt algorithm.", +"format": "int32", +"type": "integer" +}, +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"dkLen": { +"format": "int32", +"type": "integer" +}, +"hashAlgorithm": { +"description": "The password hash algorithm.", +"type": "string" +}, +"memoryCost": { +"description": "Memory cost for hash calculation. Used by scrypt similar algorithms.", +"format": "int32", +"type": "integer" +}, +"parallelization": { +"format": "int32", +"type": "integer" +}, +"rounds": { +"description": "Rounds for hash calculation. Used by scrypt and similar algorithms.", +"format": "int32", +"type": "integer" +}, +"saltSeparator": { +"description": "The salt separator.", +"format": "byte", +"type": "string" +}, +"sanityCheck": { +"description": "If true, backend will do sanity check(including duplicate email and federated id) when uploading account.", +"type": "boolean" +}, +"signerKey": { +"description": "The key for to hash the password.", +"format": "byte", +"type": "string" +}, +"targetProjectId": { +"description": "Specify which project (field value is actually project id) to operate. Only used when provided credential.", +"type": "string" +}, +"users": { +"description": "The account info to be stored.", +"items": { +"$ref": "UserInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyVerifyAssertionRequest": { +"description": "Request to verify the IDP assertion.", +"id": "IdentitytoolkitRelyingpartyVerifyAssertionRequest", +"properties": { +"autoCreate": { +"description": "When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist.", +"type": "boolean" +}, +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The GITKit token of the authenticated user.", +"type": "string" +}, +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"pendingIdToken": { +"description": "The GITKit token for the non-trusted IDP pending to be confirmed by the user.", +"type": "string" +}, +"postBody": { +"description": "The post body if the request is a HTTP POST.", +"type": "string" +}, +"requestUri": { +"description": "The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP.", +"type": "string" +}, +"returnIdpCredential": { +"description": "Whether return 200 and IDP credential rather than throw exception when federated id is already linked.", +"type": "boolean" +}, +"returnRefreshToken": { +"description": "Whether to return refresh tokens.", +"type": "boolean" +}, +"returnSecureToken": { +"description": "Whether return sts id token and refresh token instead of gitkit token.", +"type": "boolean" +}, +"sessionId": { +"description": "Session ID, which should match the one in previous createAuthUri request.", +"type": "string" +}, +"tenantId": { +"description": "For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "Tenant project number to be used for idp discovery.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": { +"description": "Request to verify a custom token", +"id": "IdentitytoolkitRelyingpartyVerifyCustomTokenRequest", +"properties": { +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"returnSecureToken": { +"description": "Whether return sts id token and refresh token instead of gitkit token.", +"type": "boolean" +}, +"token": { +"description": "The custom token to verify", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyVerifyPasswordRequest": { +"description": "Request to verify the password.", +"id": "IdentitytoolkitRelyingpartyVerifyPasswordRequest", +"properties": { +"captchaChallenge": { +"description": "The captcha challenge.", +"type": "string" +}, +"captchaResponse": { +"description": "Response to the captcha.", +"type": "string" +}, +"delegatedProjectNumber": { +"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.", +"format": "int64", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"idToken": { +"description": "The GITKit token of the authenticated user.", +"type": "string" +}, +"instanceId": { +"description": "Instance id token of the app.", +"type": "string" +}, +"password": { +"description": "The password inputed by the user.", +"type": "string" +}, +"pendingIdToken": { +"description": "The GITKit token for the non-trusted IDP, which is to be confirmed by the user.", +"type": "string" +}, +"returnSecureToken": { +"description": "Whether return sts id token and refresh token instead of gitkit token.", +"type": "boolean" +}, +"tenantId": { +"description": "For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.", +"type": "string" +}, +"tenantProjectNumber": { +"description": "Tenant project number to be used for idp discovery.", +"format": "uint64", +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest": { +"description": "Request for Identitytoolkit-VerifyPhoneNumber", +"id": "IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest", +"properties": { +"code": { +"type": "string" +}, +"idToken": { +"type": "string" +}, +"operation": { +"type": "string" +}, +"phoneNumber": { +"type": "string" +}, +"sessionInfo": { +"description": "The session info previously returned by IdentityToolkit-SendVerificationCode.", +"type": "string" +}, +"temporaryProof": { +"type": "string" +}, +"verificationProof": { +"type": "string" +} +}, +"type": "object" +}, +"IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse": { +"description": "Response for Identitytoolkit-VerifyPhoneNumber", +"id": "IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse", +"properties": { +"expiresIn": { +"format": "int64", +"type": "string" +}, +"idToken": { +"type": "string" +}, +"isNewUser": { +"type": "boolean" +}, +"localId": { +"type": "string" +}, +"phoneNumber": { +"type": "string" +}, +"refreshToken": { +"type": "string" +}, +"temporaryProof": { +"type": "string" +}, +"temporaryProofExpiresIn": { +"format": "int64", +"type": "string" +}, +"verificationProof": { +"type": "string" +}, +"verificationProofExpiresIn": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"IdpConfig": { +"description": "Template for a single idp configuration.", +"id": "IdpConfig", +"properties": { +"clientId": { +"description": "OAuth2 client ID.", +"type": "string" +}, +"enabled": { +"description": "Whether this IDP is enabled.", +"type": "boolean" +}, +"experimentPercent": { +"description": "Percent of users who will be prompted/redirected federated login for this IDP.", +"format": "int32", +"type": "integer" +}, +"provider": { +"description": "OAuth2 provider.", +"type": "string" +}, +"secret": { +"description": "OAuth2 client secret.", +"type": "string" +}, +"whitelistedAudiences": { +"description": "Whitelisted client IDs for audience check.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Relyingparty": { +"description": "Request of getting a code for user confirmation (reset password, change email etc.)", +"id": "Relyingparty", +"properties": { +"androidInstallApp": { +"description": "whether or not to install the android app on the device where the link is opened", +"type": "boolean" +}, +"androidMinimumVersion": { +"description": "minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app", +"type": "string" +}, +"androidPackageName": { +"description": "android package name of the android app to handle the action code", +"type": "string" +}, +"canHandleCodeInApp": { +"description": "whether or not the app can handle the oob code without first going to web", +"type": "boolean" +}, +"captchaResp": { +"description": "The recaptcha response from the user.", +"type": "string" +}, +"challenge": { +"description": "The recaptcha challenge presented to the user.", +"type": "string" +}, +"continueUrl": { +"description": "The url to continue to the Gitkit app", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"iOSAppStoreId": { +"description": "iOS app store id to download the app if it's not already installed", +"type": "string" +}, +"iOSBundleId": { +"description": "the iOS bundle id of iOS app to handle the action code", +"type": "string" +}, +"idToken": { +"description": "The user's Gitkit login token for email change.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#relyingparty", +"description": "The fixed string \"identitytoolkit#relyingparty\".", +"type": "string" +}, +"newEmail": { +"description": "The new email if the code is for email change.", +"type": "string" +}, +"requestType": { +"description": "The request type.", +"type": "string" +}, +"userIp": { +"description": "The IP address of the user.", +"type": "string" +} +}, +"type": "object" +}, +"ResetPasswordResponse": { +"description": "Response of resetting the password.", +"id": "ResetPasswordResponse", +"properties": { +"email": { +"description": "The user's email. If the out-of-band code is for email recovery, the user's original email.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#ResetPasswordResponse", +"description": "The fixed string \"identitytoolkit#ResetPasswordResponse\".", +"type": "string" +}, +"newEmail": { +"description": "If the out-of-band code is for email recovery, the user's new email.", +"type": "string" +}, +"requestType": { +"description": "The request type.", +"type": "string" +} +}, +"type": "object" +}, +"SetAccountInfoResponse": { +"description": "Respone of setting the account information.", +"id": "SetAccountInfoResponse", +"properties": { +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"emailVerified": { +"description": "If email has been verified.", +"type": "boolean" +}, +"expiresIn": { +"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The Gitkit id token to login the newly sign up user.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#SetAccountInfoResponse", +"description": "The fixed string \"identitytoolkit#SetAccountInfoResponse\".", +"type": "string" +}, +"localId": { +"description": "The local ID of the user.", +"type": "string" +}, +"newEmail": { +"description": "The new email the user attempts to change to.", +"type": "string" +}, +"passwordHash": { +"description": "The user's hashed password.", +"format": "byte", +"type": "string" +}, +"photoUrl": { +"description": "The photo url of the user.", +"type": "string" +}, +"providerUserInfo": { +"description": "The user's profiles at the associated IdPs.", +"items": { +"properties": { +"displayName": { +"description": "The user's display name at the IDP.", +"type": "string" +}, +"federatedId": { +"description": "User's identifier at IDP.", +"type": "string" +}, +"photoUrl": { +"description": "The user's photo url at the IDP.", +"type": "string" +}, +"providerId": { +"description": "The IdP ID. For whitelisted IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"refreshToken": { +"description": "If idToken is STS id token, then this field will be refresh token.", +"type": "string" +} +}, +"type": "object" +}, +"SignupNewUserResponse": { +"description": "Response of signing up new user, creating anonymous user or anonymous user reauth.", +"id": "SignupNewUserResponse", +"properties": { +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"expiresIn": { +"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The Gitkit id token to login the newly sign up user.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#SignupNewUserResponse", +"description": "The fixed string \"identitytoolkit#SignupNewUserResponse\".", +"type": "string" +}, +"localId": { +"description": "The RP local ID of the user.", +"type": "string" +}, +"refreshToken": { +"description": "If idToken is STS id token, then this field will be refresh token.", +"type": "string" +} +}, +"type": "object" +}, +"UploadAccountResponse": { +"description": "Respone of uploading accounts in batch.", +"id": "UploadAccountResponse", +"properties": { +"error": { +"description": "The error encountered while processing the account info.", +"items": { +"properties": { +"index": { +"description": "The index of the malformed account, starting from 0.", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Detailed error message for the account info.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"kind": { +"default": "identitytoolkit#UploadAccountResponse", +"description": "The fixed string \"identitytoolkit#UploadAccountResponse\".", +"type": "string" +} +}, +"type": "object" +}, +"UserInfo": { +"description": "Template for an individual account info.", +"id": "UserInfo", +"properties": { +"createdAt": { +"description": "User creation timestamp.", +"format": "int64", +"type": "string" +}, +"customAttributes": { +"description": "The custom attributes to be set in the user's id token.", +"type": "string" +}, +"customAuth": { +"description": "Whether the user is authenticated by the developer.", +"type": "boolean" +}, +"disabled": { +"description": "Whether the user is disabled.", +"type": "boolean" +}, +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email of the user.", +"type": "string" +}, +"emailVerified": { +"description": "Whether the email has been verified.", +"type": "boolean" +}, +"lastLoginAt": { +"description": "last login timestamp.", +"format": "int64", +"type": "string" +}, +"localId": { +"description": "The local ID of the user.", +"type": "string" +}, +"passwordHash": { +"description": "The user's hashed password.", +"format": "byte", +"type": "string" +}, +"passwordUpdatedAt": { +"description": "The timestamp when the password was last updated.", +"format": "double", +"type": "number" +}, +"phoneNumber": { +"description": "User's phone number.", +"type": "string" +}, +"photoUrl": { +"description": "The URL of the user profile photo.", +"type": "string" +}, +"providerUserInfo": { +"description": "The IDP of the user.", +"items": { +"properties": { +"displayName": { +"description": "The user's display name at the IDP.", +"type": "string" +}, +"email": { +"description": "User's email at IDP.", +"type": "string" +}, +"federatedId": { +"description": "User's identifier at IDP.", +"type": "string" +}, +"phoneNumber": { +"description": "User's phone number.", +"type": "string" +}, +"photoUrl": { +"description": "The user's photo url at the IDP.", +"type": "string" +}, +"providerId": { +"description": "The IdP ID. For white listed IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier.", +"type": "string" +}, +"rawId": { +"description": "User's raw identifier directly returned from IDP.", +"type": "string" +}, +"screenName": { +"description": "User's screen name at Twitter or login name at Github.", +"type": "string" +} +}, +"type": "object" +}, +"type": "array" +}, +"rawPassword": { +"description": "The user's plain text password.", +"type": "string" +}, +"salt": { +"description": "The user's password salt.", +"format": "byte", +"type": "string" +}, +"screenName": { +"description": "User's screen name at Twitter or login name at Github.", +"type": "string" +}, +"validSince": { +"description": "Timestamp in seconds for valid login token.", +"format": "int64", +"type": "string" +}, +"version": { +"description": "Version of the user's password.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"VerifyAssertionResponse": { +"description": "Response of verifying the IDP assertion.", +"id": "VerifyAssertionResponse", +"properties": { +"action": { +"description": "The action code.", +"type": "string" +}, +"appInstallationUrl": { +"description": "URL for OTA app installation.", +"type": "string" +}, +"appScheme": { +"description": "The custom scheme used by mobile app.", +"type": "string" +}, +"context": { +"description": "The opaque value used by the client to maintain context info between the authentication request and the IDP callback.", +"type": "string" +}, +"dateOfBirth": { +"description": "The birth date of the IdP account.", +"type": "string" +}, +"displayName": { +"description": "The display name of the user.", +"type": "string" +}, +"email": { +"description": "The email returned by the IdP. NOTE: The federated login user may not own the email.", +"type": "string" +}, +"emailRecycled": { +"description": "It's true if the email is recycled.", +"type": "boolean" +}, +"emailVerified": { +"description": "The value is true if the IDP is also the email provider. It means the user owns the email.", +"type": "boolean" +}, +"errorMessage": { +"description": "Client error code.", +"type": "string" +}, +"expiresIn": { +"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"federatedId": { +"description": "The unique ID identifies the IdP account.", +"type": "string" +}, +"firstName": { +"description": "The first name of the user.", +"type": "string" +}, +"fullName": { +"description": "The full name of the user.", +"type": "string" +}, +"idToken": { +"description": "The ID token.", +"type": "string" +}, +"inputEmail": { +"description": "It's the identifier param in the createAuthUri request if the identifier is an email. It can be used to check whether the user input email is different from the asserted email.", +"type": "string" +}, +"isNewUser": { +"description": "True if it's a new user sign-in, false if it's a returning user.", +"type": "boolean" +}, +"kind": { +"default": "identitytoolkit#VerifyAssertionResponse", +"description": "The fixed string \"identitytoolkit#VerifyAssertionResponse\".", +"type": "string" +}, +"language": { +"description": "The language preference of the user.", +"type": "string" +}, +"lastName": { +"description": "The last name of the user.", +"type": "string" +}, +"localId": { +"description": "The RP local ID if it's already been mapped to the IdP account identified by the federated ID.", +"type": "string" +}, +"needConfirmation": { +"description": "Whether the assertion is from a non-trusted IDP and need account linking confirmation.", +"type": "boolean" +}, +"needEmail": { +"description": "Whether need client to supply email to complete the federated login flow.", +"type": "boolean" +}, +"nickName": { +"description": "The nick name of the user.", +"type": "string" +}, +"oauthAccessToken": { +"description": "The OAuth2 access token.", +"type": "string" +}, +"oauthAuthorizationCode": { +"description": "The OAuth2 authorization code.", +"type": "string" +}, +"oauthExpireIn": { +"description": "The lifetime in seconds of the OAuth2 access token.", +"format": "int32", +"type": "integer" +}, +"oauthIdToken": { +"description": "The OIDC id token.", +"type": "string" +}, +"oauthRequestToken": { +"description": "The user approved request token for the OpenID OAuth extension.", +"type": "string" +}, +"oauthScope": { +"description": "The scope for the OpenID OAuth extension.", +"type": "string" +}, +"oauthTokenSecret": { +"description": "The OAuth1 access token secret.", +"type": "string" +}, +"originalEmail": { +"description": "The original email stored in the mapping storage. It's returned when the federated ID is associated to a different email.", +"type": "string" +}, +"photoUrl": { +"description": "The URI of the public accessible profiel picture.", +"type": "string" +}, +"providerId": { +"description": "The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. If the \"providerId\" param is set to OpenID OP identifer other than the whilte listed IdPs the OP identifier is returned. If the \"identifier\" param is federated ID in the createAuthUri request. The domain part of the federated ID is returned.", +"type": "string" +}, +"rawUserInfo": { +"description": "Raw IDP-returned user info.", +"type": "string" +}, +"refreshToken": { +"description": "If idToken is STS id token, then this field will be refresh token.", +"type": "string" +}, +"screenName": { +"description": "The screen_name of a Twitter user or the login name at Github.", +"type": "string" +}, +"timeZone": { +"description": "The timezone of the user.", +"type": "string" +}, +"verifiedProvider": { +"description": "When action is 'map', contains the idps which can be used for confirmation.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VerifyCustomTokenResponse": { +"description": "Response from verifying a custom token", +"id": "VerifyCustomTokenResponse", +"properties": { +"expiresIn": { +"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The GITKit token for authenticated user.", +"type": "string" +}, +"isNewUser": { +"description": "True if it's a new user sign-in, false if it's a returning user.", +"type": "boolean" +}, +"kind": { +"default": "identitytoolkit#VerifyCustomTokenResponse", +"description": "The fixed string \"identitytoolkit#VerifyCustomTokenResponse\".", +"type": "string" +}, +"refreshToken": { +"description": "If idToken is STS id token, then this field will be refresh token.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyPasswordResponse": { +"description": "Request of verifying the password.", +"id": "VerifyPasswordResponse", +"properties": { +"displayName": { +"description": "The name of the user.", +"type": "string" +}, +"email": { +"description": "The email returned by the IdP. NOTE: The federated login user may not own the email.", +"type": "string" +}, +"expiresIn": { +"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.", +"format": "int64", +"type": "string" +}, +"idToken": { +"description": "The GITKit token for authenticated user.", +"type": "string" +}, +"kind": { +"default": "identitytoolkit#VerifyPasswordResponse", +"description": "The fixed string \"identitytoolkit#VerifyPasswordResponse\".", +"type": "string" +}, +"localId": { +"description": "The RP local ID if it's already been mapped to the IdP account identified by the federated ID.", +"type": "string" +}, +"oauthAccessToken": { +"description": "The OAuth2 access token.", +"type": "string" +}, +"oauthAuthorizationCode": { +"description": "The OAuth2 authorization code.", +"type": "string" +}, +"oauthExpireIn": { +"description": "The lifetime in seconds of the OAuth2 access token.", +"format": "int32", +"type": "integer" +}, +"photoUrl": { +"description": "The URI of the user's photo at IdP", +"type": "string" +}, +"refreshToken": { +"description": "If idToken is STS id token, then this field will be refresh token.", +"type": "string" +}, +"registered": { +"description": "Whether the email is registered.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "identitytoolkit/v3/relyingparty/", +"title": "Google Identity Toolkit API", +"version": "v3" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8d15719567801aa09eb0750a2b5a4af83400d70f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/language.v1.json @@ -0,0 +1,6031 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-language": { +"description": "Apply machine learning models to reveal the structure and meaning of text" +}, +"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://language.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Natural Language", +"description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/natural-language/", +"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": "language:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://language.mtls.googleapis.com/", +"name": "language", +"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": { +"documents": { +"methods": { +"analyzeEntities": { +"description": "Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.", +"flatPath": "v1/documents:analyzeEntities", +"httpMethod": "POST", +"id": "language.documents.analyzeEntities", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:analyzeEntities", +"request": { +"$ref": "AnalyzeEntitiesRequest" +}, +"response": { +"$ref": "AnalyzeEntitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeEntitySentiment": { +"description": "Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions.", +"flatPath": "v1/documents:analyzeEntitySentiment", +"httpMethod": "POST", +"id": "language.documents.analyzeEntitySentiment", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:analyzeEntitySentiment", +"request": { +"$ref": "AnalyzeEntitySentimentRequest" +}, +"response": { +"$ref": "AnalyzeEntitySentimentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeSentiment": { +"description": "Analyzes the sentiment of the provided text.", +"flatPath": "v1/documents:analyzeSentiment", +"httpMethod": "POST", +"id": "language.documents.analyzeSentiment", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:analyzeSentiment", +"request": { +"$ref": "AnalyzeSentimentRequest" +}, +"response": { +"$ref": "AnalyzeSentimentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"analyzeSyntax": { +"description": "Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.", +"flatPath": "v1/documents:analyzeSyntax", +"httpMethod": "POST", +"id": "language.documents.analyzeSyntax", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:analyzeSyntax", +"request": { +"$ref": "AnalyzeSyntaxRequest" +}, +"response": { +"$ref": "AnalyzeSyntaxResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"annotateText": { +"description": "A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.", +"flatPath": "v1/documents:annotateText", +"httpMethod": "POST", +"id": "language.documents.annotateText", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:annotateText", +"request": { +"$ref": "AnnotateTextRequest" +}, +"response": { +"$ref": "AnnotateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"classifyText": { +"description": "Classifies a document into categories.", +"flatPath": "v1/documents:classifyText", +"httpMethod": "POST", +"id": "language.documents.classifyText", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:classifyText", +"request": { +"$ref": "ClassifyTextRequest" +}, +"response": { +"$ref": "ClassifyTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moderateText": { +"description": "Moderates a document for harmful and sensitive categories.", +"flatPath": "v1/documents:moderateText", +"httpMethod": "POST", +"id": "language.documents.moderateText", +"parameterOrder": [], +"parameters": {}, +"path": "v1/documents:moderateText", +"request": { +"$ref": "ModerateTextRequest" +}, +"response": { +"$ref": "ModerateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-language", +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://language.googleapis.com/", +"schemas": { +"AnalyzeEntitiesRequest": { +"description": "The entity analysis request message.", +"id": "AnalyzeEntitiesRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitiesResponse": { +"description": "The entity analysis response message.", +"id": "AnalyzeEntitiesResponse", +"properties": { +"entities": { +"description": "The recognized entities in the input document.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitySentimentRequest": { +"description": "The entity-level sentiment analysis request message.", +"id": "AnalyzeEntitySentimentRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeEntitySentimentResponse": { +"description": "The entity-level sentiment analysis response message.", +"id": "AnalyzeEntitySentimentResponse", +"properties": { +"entities": { +"description": "The recognized entities in the input document with associated sentiments.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSentimentRequest": { +"description": "The sentiment analysis request message.", +"id": "AnalyzeSentimentRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate sentence offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSentimentResponse": { +"description": "The sentiment analysis response message.", +"id": "AnalyzeSentimentResponse", +"properties": { +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment of the input document." +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"sentences": { +"description": "The sentiment for all the sentences in the document.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzeSyntaxRequest": { +"description": "The syntax analysis request message.", +"id": "AnalyzeSyntaxRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +} +}, +"type": "object" +}, +"AnalyzeSyntaxResponse": { +"description": "The syntax analysis response message.", +"id": "AnalyzeSyntaxResponse", +"properties": { +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"sentences": { +"description": "Sentences in the input document.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +}, +"tokens": { +"description": "Tokens, along with their syntactic information, in the input document.", +"items": { +"$ref": "Token" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnnotateTextRequest": { +"description": "The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.", +"id": "AnnotateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +}, +"encodingType": { +"description": "The encoding type used by the API to calculate offsets.", +"enum": [ +"NONE", +"UTF8", +"UTF16", +"UTF32" +], +"enumDescriptions": [ +"If `EncodingType` is not specified, encoding-dependent information (such as `begin_offset`) will be set at `-1`.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-8 encoding of the input. C++ and Go are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-16 encoding of the input. Java and JavaScript are examples of languages that use this encoding natively.", +"Encoding-dependent information (such as `begin_offset`) is calculated based on the UTF-32 encoding of the input. Python is an example of a language that uses this encoding natively." +], +"type": "string" +}, +"features": { +"$ref": "AnnotateTextRequestFeatures", +"description": "Required. The enabled features." +} +}, +"type": "object" +}, +"AnnotateTextRequestFeatures": { +"description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", +"id": "AnnotateTextRequestFeatures", +"properties": { +"classificationModelOptions": { +"$ref": "ClassificationModelOptions", +"description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." +}, +"classifyText": { +"description": "Classify the full document into categories.", +"type": "boolean" +}, +"extractDocumentSentiment": { +"description": "Extract document-level sentiment.", +"type": "boolean" +}, +"extractEntities": { +"description": "Extract entities.", +"type": "boolean" +}, +"extractEntitySentiment": { +"description": "Extract entities and their associated sentiment.", +"type": "boolean" +}, +"extractSyntax": { +"description": "Extract syntax information.", +"type": "boolean" +}, +"moderateText": { +"description": "Moderate the document for harmful and sensitive categories.", +"type": "boolean" +} +}, +"type": "object" +}, +"AnnotateTextResponse": { +"description": "The text annotations response message.", +"id": "AnnotateTextResponse", +"properties": { +"categories": { +"description": "Categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"documentSentiment": { +"$ref": "Sentiment", +"description": "The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment." +}, +"entities": { +"description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities.", +"items": { +"$ref": "Entity" +}, +"type": "array" +}, +"language": { +"description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", +"type": "string" +}, +"moderationCategories": { +"description": "Harmful and sensitive categories identified in the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +}, +"sentences": { +"description": "Sentences in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", +"items": { +"$ref": "Sentence" +}, +"type": "array" +}, +"tokens": { +"description": "Tokens, along with their syntactic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_syntax.", +"items": { +"$ref": "Token" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassificationCategory": { +"description": "Represents a category returned from the text classifier.", +"id": "ClassificationCategory", +"properties": { +"confidence": { +"description": "The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.", +"format": "float", +"type": "number" +}, +"name": { +"description": "The name of the category representing the document.", +"type": "string" +} +}, +"type": "object" +}, +"ClassificationModelOptions": { +"description": "Model options available for classification requests.", +"id": "ClassificationModelOptions", +"properties": { +"v1Model": { +"$ref": "ClassificationModelOptionsV1Model", +"description": "Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future." +}, +"v2Model": { +"$ref": "ClassificationModelOptionsV2Model", +"description": "Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model." +} +}, +"type": "object" +}, +"ClassificationModelOptionsV1Model": { +"description": "Options for the V1 model.", +"id": "ClassificationModelOptionsV1Model", +"properties": {}, +"type": "object" +}, +"ClassificationModelOptionsV2Model": { +"description": "Options for the V2 model.", +"id": "ClassificationModelOptionsV2Model", +"properties": { +"contentCategoriesVersion": { +"description": "The content categories used for classification.", +"enum": [ +"CONTENT_CATEGORIES_VERSION_UNSPECIFIED", +"V1", +"V2" +], +"enumDescriptions": [ +"If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", +"Legacy content categories of our initial launch in 2017.", +"Updated content categories in 2022." +], +"type": "string" +} +}, +"type": "object" +}, +"ClassifyTextRequest": { +"description": "The document classification request message.", +"id": "ClassifyTextRequest", +"properties": { +"classificationModelOptions": { +"$ref": "ClassificationModelOptions", +"description": "Optional. Model options to use for classification. Defaults to v1 options if not specified." +}, +"document": { +"$ref": "Document", +"description": "Required. Input document." +} +}, +"type": "object" +}, +"ClassifyTextResponse": { +"description": "The document classification response message.", +"id": "ClassifyTextResponse", +"properties": { +"categories": { +"description": "Categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"Color": { +"description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", +"id": "Color", +"properties": { +"alpha": { +"description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", +"format": "float", +"type": "number" +}, +"blue": { +"description": "The amount of blue in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"green": { +"description": "The amount of green in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +}, +"red": { +"description": "The amount of red in the color as a value in the interval [0, 1].", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"CpuMetric": { +"description": "Metric for billing reports.", +"id": "CpuMetric", +"properties": { +"coreNumber": { +"description": "Required. Number of CPU cores.", +"format": "int64", +"type": "string" +}, +"coreSec": { +"description": "Required. Total seconds of core usage, e.g. 4.", +"format": "int64", +"type": "string" +}, +"cpuType": { +"description": "Required. Type of cpu, e.g. N2.", +"enum": [ +"UNKNOWN_CPU_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C3", +"C4", +"C4A", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"GPU-based machine, skip quota reporting.", +"GPU-based machine, skip quota reporting.", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"DependencyEdge": { +"description": "Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017", +"id": "DependencyEdge", +"properties": { +"headTokenIndex": { +"description": "Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the `head_token_index` is its own index.", +"format": "int32", +"type": "integer" +}, +"label": { +"description": "The parse label for the token.", +"enum": [ +"UNKNOWN", +"ABBREV", +"ACOMP", +"ADVCL", +"ADVMOD", +"AMOD", +"APPOS", +"ATTR", +"AUX", +"AUXPASS", +"CC", +"CCOMP", +"CONJ", +"CSUBJ", +"CSUBJPASS", +"DEP", +"DET", +"DISCOURSE", +"DOBJ", +"EXPL", +"GOESWITH", +"IOBJ", +"MARK", +"MWE", +"MWV", +"NEG", +"NN", +"NPADVMOD", +"NSUBJ", +"NSUBJPASS", +"NUM", +"NUMBER", +"P", +"PARATAXIS", +"PARTMOD", +"PCOMP", +"POBJ", +"POSS", +"POSTNEG", +"PRECOMP", +"PRECONJ", +"PREDET", +"PREF", +"PREP", +"PRONL", +"PRT", +"PS", +"QUANTMOD", +"RCMOD", +"RCMODREL", +"RDROP", +"REF", +"REMNANT", +"REPARANDUM", +"ROOT", +"SNUM", +"SUFF", +"TMOD", +"TOPIC", +"VMOD", +"VOCATIVE", +"XCOMP", +"SUFFIX", +"TITLE", +"ADVPHMOD", +"AUXCAUS", +"AUXVV", +"DTMOD", +"FOREIGN", +"KW", +"LIST", +"NOMC", +"NOMCSUBJ", +"NOMCSUBJPASS", +"NUMC", +"COP", +"DISLOCATED", +"ASP", +"GMOD", +"GOBJ", +"INFMOD", +"MES", +"NCOMP" +], +"enumDescriptions": [ +"Unknown", +"Abbreviation modifier", +"Adjectival complement", +"Adverbial clause modifier", +"Adverbial modifier", +"Adjectival modifier of an NP", +"Appositional modifier of an NP", +"Attribute dependent of a copular verb", +"Auxiliary (non-main) verb", +"Passive auxiliary", +"Coordinating conjunction", +"Clausal complement of a verb or adjective", +"Conjunct", +"Clausal subject", +"Clausal passive subject", +"Dependency (unable to determine)", +"Determiner", +"Discourse", +"Direct object", +"Expletive", +"Goes with (part of a word in a text not well edited)", +"Indirect object", +"Marker (word introducing a subordinate clause)", +"Multi-word expression", +"Multi-word verbal expression", +"Negation modifier", +"Noun compound modifier", +"Noun phrase used as an adverbial modifier", +"Nominal subject", +"Passive nominal subject", +"Numeric modifier of a noun", +"Element of compound number", +"Punctuation mark", +"Parataxis relation", +"Participial modifier", +"The complement of a preposition is a clause", +"Object of a preposition", +"Possession modifier", +"Postverbal negative particle", +"Predicate complement", +"Preconjunt", +"Predeterminer", +"Prefix", +"Prepositional modifier", +"The relationship between a verb and verbal morpheme", +"Particle", +"Associative or possessive marker", +"Quantifier phrase modifier", +"Relative clause modifier", +"Complementizer in relative clause", +"Ellipsis without a preceding predicate", +"Referent", +"Remnant", +"Reparandum", +"Root", +"Suffix specifying a unit of number", +"Suffix", +"Temporal modifier", +"Topic marker", +"Clause headed by an infinite form of the verb that modifies a noun", +"Vocative", +"Open clausal complement", +"Name suffix", +"Name title", +"Adverbial phrase modifier", +"Causative auxiliary", +"Helper auxiliary", +"Rentaishi (Prenominal modifier)", +"Foreign words", +"Keyword", +"List for chains of comparable items", +"Nominalized clause", +"Nominalized clausal subject", +"Nominalized clausal passive", +"Compound of numeric modifier", +"Copula", +"Dislocated relation (for fronted/topicalized elements)", +"Aspect marker", +"Genitive modifier", +"Genitive object", +"Infinitival modifier", +"Measure", +"Nominal complement of a noun" +], +"type": "string" +} +}, +"type": "object" +}, +"DiskMetric": { +"id": "DiskMetric", +"properties": { +"diskType": { +"description": "Required. Type of Disk, e.g. REGIONAL_SSD.", +"enum": [ +"UNKNOWN_DISK_TYPE", +"REGIONAL_SSD", +"REGIONAL_STORAGE", +"PD_SSD", +"PD_STANDARD", +"STORAGE_SNAPSHOT" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"gibSec": { +"description": "Required. Seconds of physical disk usage, e.g. 3600.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Document": { +"description": "Represents the input to API methods.", +"id": "Document", +"properties": { +"content": { +"description": "The content of the input in string format. Cloud audit logging exempt since it is based on user data.", +"type": "string" +}, +"gcsContentUri": { +"description": "The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.", +"type": "string" +}, +"language": { +"description": "The language of the document (if not specified, the language is automatically detected). Both ISO and BCP-47 language codes are accepted. [Language Support](https://cloud.google.com/natural-language/docs/languages) lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an `INVALID_ARGUMENT` error is returned.", +"type": "string" +}, +"type": { +"description": "Required. If the type is not set or is `TYPE_UNSPECIFIED`, returns an `INVALID_ARGUMENT` error.", +"enum": [ +"TYPE_UNSPECIFIED", +"PLAIN_TEXT", +"HTML" +], +"enumDescriptions": [ +"The content type is not specified.", +"Plain text", +"HTML" +], +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.", +"id": "Entity", +"properties": { +"mentions": { +"description": "The mentions of this entity in the input document. The API currently supports proper noun mentions.", +"items": { +"$ref": "EntityMention" +}, +"type": "array" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below.", +"type": "object" +}, +"name": { +"description": "The representative name for the entity.", +"type": "string" +}, +"salience": { +"description": "The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.", +"format": "float", +"type": "number" +}, +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the aggregate sentiment expressed for this entity in the provided document." +}, +"type": { +"description": "The entity type.", +"enum": [ +"UNKNOWN", +"PERSON", +"LOCATION", +"ORGANIZATION", +"EVENT", +"WORK_OF_ART", +"CONSUMER_GOOD", +"OTHER", +"PHONE_NUMBER", +"ADDRESS", +"DATE", +"NUMBER", +"PRICE" +], +"enumDescriptions": [ +"Unknown", +"Person", +"Location", +"Organization", +"Event", +"Artwork", +"Consumer product", +"Other types of entities", +"Phone number The metadata lists the phone number, formatted according to local convention, plus whichever additional elements appear in the text: * `number` - the actual number, broken down into sections as per local convention * `national_prefix` - country code, if detected * `area_code` - region or area code, if detected * `extension` - phone extension (to be dialed after connection), if detected", +"Address The metadata identifies the street number and locality plus whichever additional elements appear in the text: * `street_number` - street number * `locality` - city or town * `street_name` - street/route name, if detected * `postal_code` - postal code, if detected * `country` - country, if detected< * `broad_region` - administrative area, such as the state, if detected * `narrow_region` - smaller administrative area, such as county, if detected * `sublocality` - used in Asian addresses to demark a district within a city, if detected", +"Date The metadata identifies the components of the date: * `year` - four digit year, if detected * `month` - two digit month number, if detected * `day` - two digit day number, if detected", +"Number The metadata is the number itself.", +"Price The metadata identifies the `value` and `currency`." +], +"type": "string" +} +}, +"type": "object" +}, +"EntityMention": { +"description": "Represents a mention for an entity in the text. Currently, proper noun mentions are supported.", +"id": "EntityMention", +"properties": { +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document." +}, +"text": { +"$ref": "TextSpan", +"description": "The mention text." +}, +"type": { +"description": "The type of the entity mention.", +"enum": [ +"TYPE_UNKNOWN", +"PROPER", +"COMMON" +], +"enumDescriptions": [ +"Unknown", +"Proper name", +"Common noun (or noun compound)" +], +"type": "string" +} +}, +"type": "object" +}, +"GpuMetric": { +"id": "GpuMetric", +"properties": { +"gpuSec": { +"description": "Required. Seconds of GPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"gpuType": { +"description": "Required. Type of GPU, e.g. NVIDIA_TESLA_V100.", +"enum": [ +"UNKNOWN_GPU_TYPE", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"NVIDIA_TESLA_K80", +"NVIDIA_L4", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_V100", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_RTX_PRO_6000" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"InfraUsage": { +"description": "LINT: LEGACY_NAMES Infra Usage of billing metrics.", +"id": "InfraUsage", +"properties": { +"cpuMetrics": { +"description": "Aggregated core metrics since requested start_time.", +"items": { +"$ref": "CpuMetric" +}, +"type": "array" +}, +"diskMetrics": { +"description": "Aggregated persistent disk metrics since requested start_time.", +"items": { +"$ref": "DiskMetric" +}, +"type": "array" +}, +"gpuMetrics": { +"description": "Aggregated gpu metrics since requested start_time.", +"items": { +"$ref": "GpuMetric" +}, +"type": "array" +}, +"ramMetrics": { +"description": "Aggregated ram metrics since requested start_time.", +"items": { +"$ref": "RamMetric" +}, +"type": "array" +}, +"tpuMetrics": { +"description": "Aggregated tpu metrics since requested start_time.", +"items": { +"$ref": "TpuMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModerateTextRequest": { +"description": "The document moderation request message.", +"id": "ModerateTextRequest", +"properties": { +"document": { +"$ref": "Document", +"description": "Required. Input document." +} +}, +"type": "object" +}, +"ModerateTextResponse": { +"description": "The document moderation response message.", +"id": "ModerateTextResponse", +"properties": { +"moderationCategories": { +"description": "Harmful and sensitive categories representing the input document.", +"items": { +"$ref": "ClassificationCategory" +}, +"type": "array" +} +}, +"type": "object" +}, +"PartOfSpeech": { +"description": "Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf", +"id": "PartOfSpeech", +"properties": { +"aspect": { +"description": "The grammatical aspect.", +"enum": [ +"ASPECT_UNKNOWN", +"PERFECTIVE", +"IMPERFECTIVE", +"PROGRESSIVE" +], +"enumDescriptions": [ +"Aspect is not applicable in the analyzed language or is not predicted.", +"Perfective", +"Imperfective", +"Progressive" +], +"type": "string" +}, +"case": { +"description": "The grammatical case.", +"enum": [ +"CASE_UNKNOWN", +"ACCUSATIVE", +"ADVERBIAL", +"COMPLEMENTIVE", +"DATIVE", +"GENITIVE", +"INSTRUMENTAL", +"LOCATIVE", +"NOMINATIVE", +"OBLIQUE", +"PARTITIVE", +"PREPOSITIONAL", +"REFLEXIVE_CASE", +"RELATIVE_CASE", +"VOCATIVE" +], +"enumDescriptions": [ +"Case is not applicable in the analyzed language or is not predicted.", +"Accusative", +"Adverbial", +"Complementive", +"Dative", +"Genitive", +"Instrumental", +"Locative", +"Nominative", +"Oblique", +"Partitive", +"Prepositional", +"Reflexive", +"Relative", +"Vocative" +], +"type": "string" +}, +"form": { +"description": "The grammatical form.", +"enum": [ +"FORM_UNKNOWN", +"ADNOMIAL", +"AUXILIARY", +"COMPLEMENTIZER", +"FINAL_ENDING", +"GERUND", +"REALIS", +"IRREALIS", +"SHORT", +"LONG", +"ORDER", +"SPECIFIC" +], +"enumDescriptions": [ +"Form is not applicable in the analyzed language or is not predicted.", +"Adnomial", +"Auxiliary", +"Complementizer", +"Final ending", +"Gerund", +"Realis", +"Irrealis", +"Short form", +"Long form", +"Order form", +"Specific form" +], +"type": "string" +}, +"gender": { +"description": "The grammatical gender.", +"enum": [ +"GENDER_UNKNOWN", +"FEMININE", +"MASCULINE", +"NEUTER" +], +"enumDescriptions": [ +"Gender is not applicable in the analyzed language or is not predicted.", +"Feminine", +"Masculine", +"Neuter" +], +"type": "string" +}, +"mood": { +"description": "The grammatical mood.", +"enum": [ +"MOOD_UNKNOWN", +"CONDITIONAL_MOOD", +"IMPERATIVE", +"INDICATIVE", +"INTERROGATIVE", +"JUSSIVE", +"SUBJUNCTIVE" +], +"enumDescriptions": [ +"Mood is not applicable in the analyzed language or is not predicted.", +"Conditional", +"Imperative", +"Indicative", +"Interrogative", +"Jussive", +"Subjunctive" +], +"type": "string" +}, +"number": { +"description": "The grammatical number.", +"enum": [ +"NUMBER_UNKNOWN", +"SINGULAR", +"PLURAL", +"DUAL" +], +"enumDescriptions": [ +"Number is not applicable in the analyzed language or is not predicted.", +"Singular", +"Plural", +"Dual" +], +"type": "string" +}, +"person": { +"description": "The grammatical person.", +"enum": [ +"PERSON_UNKNOWN", +"FIRST", +"SECOND", +"THIRD", +"REFLEXIVE_PERSON" +], +"enumDescriptions": [ +"Person is not applicable in the analyzed language or is not predicted.", +"First", +"Second", +"Third", +"Reflexive" +], +"type": "string" +}, +"proper": { +"description": "The grammatical properness.", +"enum": [ +"PROPER_UNKNOWN", +"PROPER", +"NOT_PROPER" +], +"enumDescriptions": [ +"Proper is not applicable in the analyzed language or is not predicted.", +"Proper", +"Not proper" +], +"type": "string" +}, +"reciprocity": { +"description": "The grammatical reciprocity.", +"enum": [ +"RECIPROCITY_UNKNOWN", +"RECIPROCAL", +"NON_RECIPROCAL" +], +"enumDescriptions": [ +"Reciprocity is not applicable in the analyzed language or is not predicted.", +"Reciprocal", +"Non-reciprocal" +], +"type": "string" +}, +"tag": { +"description": "The part of speech tag.", +"enum": [ +"UNKNOWN", +"ADJ", +"ADP", +"ADV", +"CONJ", +"DET", +"NOUN", +"NUM", +"PRON", +"PRT", +"PUNCT", +"VERB", +"X", +"AFFIX" +], +"enumDescriptions": [ +"Unknown", +"Adjective", +"Adposition (preposition and postposition)", +"Adverb", +"Conjunction", +"Determiner", +"Noun (common and proper)", +"Cardinal number", +"Pronoun", +"Particle or other function word", +"Punctuation", +"Verb (all tenses and modes)", +"Other: foreign words, typos, abbreviations", +"Affix" +], +"type": "string" +}, +"tense": { +"description": "The grammatical tense.", +"enum": [ +"TENSE_UNKNOWN", +"CONDITIONAL_TENSE", +"FUTURE", +"PAST", +"PRESENT", +"IMPERFECT", +"PLUPERFECT" +], +"enumDescriptions": [ +"Tense is not applicable in the analyzed language or is not predicted.", +"Conditional", +"Future", +"Past", +"Present", +"Imperfect", +"Pluperfect" +], +"type": "string" +}, +"voice": { +"description": "The grammatical voice.", +"enum": [ +"VOICE_UNKNOWN", +"ACTIVE", +"CAUSATIVE", +"PASSIVE" +], +"enumDescriptions": [ +"Voice is not applicable in the analyzed language or is not predicted.", +"Active", +"Causative", +"Passive" +], +"type": "string" +} +}, +"type": "object" +}, +"RamMetric": { +"id": "RamMetric", +"properties": { +"gibSec": { +"description": "Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition.", +"format": "int64", +"type": "string" +}, +"machineSpec": { +"description": "Required. Machine spec, e.g. N1_STANDARD_4.", +"enum": [ +"UNKNOWN_MACHINE_SPEC", +"N1_STANDARD_2", +"N1_STANDARD_4", +"N1_STANDARD_8", +"N1_STANDARD_16", +"N1_STANDARD_32", +"N1_STANDARD_64", +"N1_STANDARD_96", +"N1_HIGHMEM_2", +"N1_HIGHMEM_4", +"N1_HIGHMEM_8", +"N1_HIGHMEM_16", +"N1_HIGHMEM_32", +"N1_HIGHMEM_64", +"N1_HIGHMEM_96", +"N1_HIGHCPU_2", +"N1_HIGHCPU_4", +"N1_HIGHCPU_8", +"N1_HIGHCPU_16", +"N1_HIGHCPU_32", +"N1_HIGHCPU_64", +"N1_HIGHCPU_96", +"A2_HIGHGPU_1G", +"A2_HIGHGPU_2G", +"A2_HIGHGPU_4G", +"A2_HIGHGPU_8G", +"A2_MEGAGPU_16G", +"A2_ULTRAGPU_1G", +"A2_ULTRAGPU_2G", +"A2_ULTRAGPU_4G", +"A2_ULTRAGPU_8G", +"A3_HIGHGPU_1G", +"A3_HIGHGPU_2G", +"A3_HIGHGPU_4G", +"A3_HIGHGPU_8G", +"A3_MEGAGPU_8G", +"A3_ULTRAGPU_8G", +"A3_EDGEGPU_8G", +"A4_HIGHGPU_8G", +"A4X_HIGHGPU_4G", +"E2_STANDARD_2", +"E2_STANDARD_4", +"E2_STANDARD_8", +"E2_STANDARD_16", +"E2_STANDARD_32", +"E2_HIGHMEM_2", +"E2_HIGHMEM_4", +"E2_HIGHMEM_8", +"E2_HIGHMEM_16", +"E2_HIGHCPU_2", +"E2_HIGHCPU_4", +"E2_HIGHCPU_8", +"E2_HIGHCPU_16", +"E2_HIGHCPU_32", +"N2_STANDARD_2", +"N2_STANDARD_4", +"N2_STANDARD_8", +"N2_STANDARD_16", +"N2_STANDARD_32", +"N2_STANDARD_48", +"N2_STANDARD_64", +"N2_STANDARD_80", +"N2_STANDARD_96", +"N2_STANDARD_128", +"N2_HIGHMEM_2", +"N2_HIGHMEM_4", +"N2_HIGHMEM_8", +"N2_HIGHMEM_16", +"N2_HIGHMEM_32", +"N2_HIGHMEM_48", +"N2_HIGHMEM_64", +"N2_HIGHMEM_80", +"N2_HIGHMEM_96", +"N2_HIGHMEM_128", +"N2_HIGHCPU_2", +"N2_HIGHCPU_4", +"N2_HIGHCPU_8", +"N2_HIGHCPU_16", +"N2_HIGHCPU_32", +"N2_HIGHCPU_48", +"N2_HIGHCPU_64", +"N2_HIGHCPU_80", +"N2_HIGHCPU_96", +"N2D_STANDARD_2", +"N2D_STANDARD_4", +"N2D_STANDARD_8", +"N2D_STANDARD_16", +"N2D_STANDARD_32", +"N2D_STANDARD_48", +"N2D_STANDARD_64", +"N2D_STANDARD_80", +"N2D_STANDARD_96", +"N2D_STANDARD_128", +"N2D_STANDARD_224", +"N2D_HIGHMEM_2", +"N2D_HIGHMEM_4", +"N2D_HIGHMEM_8", +"N2D_HIGHMEM_16", +"N2D_HIGHMEM_32", +"N2D_HIGHMEM_48", +"N2D_HIGHMEM_64", +"N2D_HIGHMEM_80", +"N2D_HIGHMEM_96", +"N2D_HIGHCPU_2", +"N2D_HIGHCPU_4", +"N2D_HIGHCPU_8", +"N2D_HIGHCPU_16", +"N2D_HIGHCPU_32", +"N2D_HIGHCPU_48", +"N2D_HIGHCPU_64", +"N2D_HIGHCPU_80", +"N2D_HIGHCPU_96", +"N2D_HIGHCPU_128", +"N2D_HIGHCPU_224", +"C2_STANDARD_4", +"C2_STANDARD_8", +"C2_STANDARD_16", +"C2_STANDARD_30", +"C2_STANDARD_60", +"C2D_STANDARD_2", +"C2D_STANDARD_4", +"C2D_STANDARD_8", +"C2D_STANDARD_16", +"C2D_STANDARD_32", +"C2D_STANDARD_56", +"C2D_STANDARD_112", +"C2D_HIGHCPU_2", +"C2D_HIGHCPU_4", +"C2D_HIGHCPU_8", +"C2D_HIGHCPU_16", +"C2D_HIGHCPU_32", +"C2D_HIGHCPU_56", +"C2D_HIGHCPU_112", +"C2D_HIGHMEM_2", +"C2D_HIGHMEM_4", +"C2D_HIGHMEM_8", +"C2D_HIGHMEM_16", +"C2D_HIGHMEM_32", +"C2D_HIGHMEM_56", +"C2D_HIGHMEM_112", +"G2_STANDARD_4", +"G2_STANDARD_8", +"G2_STANDARD_12", +"G2_STANDARD_16", +"G2_STANDARD_24", +"G2_STANDARD_32", +"G2_STANDARD_48", +"G2_STANDARD_96", +"G4_STANDARD_48", +"C3_STANDARD_4", +"C3_STANDARD_8", +"C3_STANDARD_22", +"C3_STANDARD_44", +"C3_STANDARD_88", +"C3_STANDARD_176", +"C3_HIGHCPU_4", +"C3_HIGHCPU_8", +"C3_HIGHCPU_22", +"C3_HIGHCPU_44", +"C3_HIGHCPU_88", +"C3_HIGHCPU_176", +"C3_HIGHMEM_4", +"C3_HIGHMEM_8", +"C3_HIGHMEM_22", +"C3_HIGHMEM_44", +"C3_HIGHMEM_88", +"C3_HIGHMEM_176", +"C4_STANDARD_8", +"C4_STANDARD_16", +"C4_STANDARD_24", +"C4_STANDARD_32", +"C4_STANDARD_48", +"C4_STANDARD_96", +"C4_STANDARD_144", +"C4_STANDARD_192", +"C4_STANDARD_288", +"C4_HIGHCPU_8", +"C4_HIGHCPU_16", +"C4_HIGHCPU_24", +"C4_HIGHCPU_32", +"C4_HIGHCPU_48", +"C4_HIGHCPU_96", +"C4_HIGHCPU_144", +"C4_HIGHCPU_192", +"C4_HIGHCPU_288", +"C4_HIGHMEM_8", +"C4_HIGHMEM_16", +"C4_HIGHMEM_24", +"C4_HIGHMEM_32", +"C4_HIGHMEM_48", +"C4_HIGHMEM_96", +"C4_HIGHMEM_144", +"C4_HIGHMEM_192", +"C4_HIGHMEM_288", +"C4A_STANDARD_8", +"C4A_STANDARD_16", +"C4A_STANDARD_32", +"C4A_STANDARD_48", +"C4A_STANDARD_64", +"C4A_STANDARD_72", +"C4A_HIGHCPU_8", +"C4A_HIGHCPU_16", +"C4A_HIGHCPU_32", +"C4A_HIGHCPU_48", +"C4A_HIGHCPU_64", +"C4A_HIGHCPU_72", +"C4A_HIGHMEM_8", +"C4A_HIGHMEM_16", +"C4A_HIGHMEM_32", +"C4A_HIGHMEM_48", +"C4A_HIGHMEM_64", +"C4A_HIGHMEM_72" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"memories": { +"description": "Required. VM memory in gb.", +"format": "double", +"type": "number" +}, +"ramType": { +"description": "Required. Type of ram.", +"enum": [ +"UNKNOWN_RAM_TYPE", +"A2", +"A3", +"A4", +"A4X", +"C2", +"C2D", +"CUSTOM", +"E2", +"G2", +"G4", +"C4", +"C4A", +"C3", +"M2", +"M1", +"N1", +"N2_CUSTOM", +"N2", +"N2D" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"COMPUTE_OPTIMIZED", +"", +"", +"", +"", +"", +"", +"", +"", +"MEMORY_OPTIMIZED_UPGRADE_PREMIUM", +"MEMORY_OPTIMIZED", +"", +"", +"", +"" +], +"type": "string" +}, +"trackingLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", +"type": "object" +} +}, +"type": "object" +}, +"Sentence": { +"description": "Represents a sentence in the input document.", +"id": "Sentence", +"properties": { +"sentiment": { +"$ref": "Sentiment", +"description": "For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence." +}, +"text": { +"$ref": "TextSpan", +"description": "The sentence text." +} +}, +"type": "object" +}, +"Sentiment": { +"description": "Represents the feeling associated with the entire text or entities in the text.", +"id": "Sentiment", +"properties": { +"magnitude": { +"description": "A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", +"format": "float", +"type": "number" +}, +"score": { +"description": "Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TextSpan": { +"description": "Represents a text span in the input document.", +"id": "TextSpan", +"properties": { +"beginOffset": { +"description": "The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.", +"format": "int32", +"type": "integer" +}, +"content": { +"description": "The content of the text span, which is a substring of the document.", +"type": "string" +} +}, +"type": "object" +}, +"Token": { +"description": "Represents the smallest syntactic building block of the text.", +"id": "Token", +"properties": { +"dependencyEdge": { +"$ref": "DependencyEdge", +"description": "Dependency tree parse for this token." +}, +"lemma": { +"description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.", +"type": "string" +}, +"partOfSpeech": { +"$ref": "PartOfSpeech", +"description": "Parts of speech tag for this token." +}, +"text": { +"$ref": "TextSpan", +"description": "The token text." +} +}, +"type": "object" +}, +"TpuMetric": { +"id": "TpuMetric", +"properties": { +"tpuSec": { +"description": "Required. Seconds of TPU usage, e.g. 3600.", +"format": "int64", +"type": "string" +}, +"tpuType": { +"description": "Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD.", +"enum": [ +"UNKNOWN_TPU_TYPE", +"TPU_V2_POD", +"TPU_V2", +"TPU_V3_POD", +"TPU_V3", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSArrayStats": { +"description": "The data statistics of a series of ARRAY values.", +"id": "XPSArrayStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"memberStats": { +"$ref": "XPSDataStats", +"description": "Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the element type of the array." +} +}, +"type": "object" +}, +"XPSBatchPredictResponse": { +"id": "XPSBatchPredictResponse", +"properties": { +"exampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend." +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntry": { +"description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", +"id": "XPSBoundingBoxMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "The intersection-over-union threshold value used to compute this metrics entry.", +"format": "float", +"type": "number" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSBoundingBoxMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSCategoryStats": { +"description": "The data statistics of a series of CATEGORY values.", +"id": "XPSCategoryStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topCategoryStats": { +"description": "The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count.", +"items": { +"$ref": "XPSCategoryStatsSingleCategoryStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCategoryStatsSingleCategoryStats": { +"description": "The statistics of a single CATEGORY value.", +"id": "XPSCategoryStatsSingleCategoryStats", +"properties": { +"count": { +"description": "The number of occurrences of this value in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The CATEGORY value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSClassificationEvaluationMetrics": { +"description": "Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.", +"id": "XPSClassificationEvaluationMetrics", +"properties": { +"auPrc": { +"description": "The Area under precision recall curve metric.", +"format": "float", +"type": "number" +}, +"auRoc": { +"description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", +"format": "float", +"type": "number" +}, +"baseAuPrc": { +"description": "The Area under precision recall curve metric based on priors.", +"format": "float", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label." +}, +"evaluatedExamplesCount": { +"description": "The number of examples used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"logLoss": { +"description": "The Log Loss metric.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSColorMap": { +"description": "Map from color to display name. Will only be used by Image Segmentation for uCAIP.", +"id": "XPSColorMap", +"properties": { +"annotationSpecIdToken": { +"description": "Should be used during training.", +"type": "string" +}, +"color": { +"$ref": "Color", +"deprecated": true, +"description": "This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used." +}, +"displayName": { +"description": "Should be used during preprocessing.", +"type": "string" +}, +"intColor": { +"$ref": "XPSColorMapIntColor" +} +}, +"type": "object" +}, +"XPSColorMapIntColor": { +"description": "RGB color and each channel is represented by an integer.", +"id": "XPSColorMapIntColor", +"properties": { +"blue": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"green": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +}, +"red": { +"description": "The value should be in range of [0, 255].", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSColumnSpec": { +"id": "XPSColumnSpec", +"properties": { +"columnId": { +"description": "The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the last column. AutoML BE will persist this order id in Spanner and set the order id here when calling RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE.", +"format": "int32", +"type": "integer" +}, +"dataStats": { +"$ref": "XPSDataStats", +"description": "The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train." +}, +"dataType": { +"$ref": "XPSDataType", +"description": "The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and Train." +}, +"displayName": { +"description": "The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and Train.", +"type": "string" +}, +"forecastingMetadata": { +"$ref": "XPSColumnSpecForecastingMetadata" +}, +"topCorrelatedColumns": { +"description": "It's outputed in RefreshTablesStats, and a required input in Train.", +"items": { +"$ref": "XPSColumnSpecCorrelatedColumn" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSColumnSpecCorrelatedColumn": { +"description": "Identifies a table's column, and its correlation with the column this ColumnSpec describes.", +"id": "XPSColumnSpecCorrelatedColumn", +"properties": { +"columnId": { +"format": "int32", +"type": "integer" +}, +"correlationStats": { +"$ref": "XPSCorrelationStats" +} +}, +"type": "object" +}, +"XPSColumnSpecForecastingMetadata": { +"id": "XPSColumnSpecForecastingMetadata", +"properties": { +"columnType": { +"description": "The type of the column for FORECASTING model training purposes.", +"enum": [ +"COLUMN_TYPE_UNSPECIFIED", +"KEY", +"KEY_METADATA", +"TIME_SERIES_AVAILABLE_PAST_ONLY", +"TIME_SERIES_AVAILABLE_PAST_AND_FUTURE" +], +"enumDescriptions": [ +"An un-set value of this enum.", +"Key columns are used to identify timeseries.", +"This column contains information describing static properties of the entities identified by the key column(s) (e.g. city's ZIP code).", +"This column contains information for the given entity, at any time poinrt, they are only available in the time series before.", +"This column contains information for the given entity is known both for the past and the sufficiently far future." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSCommonStats": { +"description": "Common statistics for a column with a specified data type.", +"id": "XPSCommonStats", +"properties": { +"distinctValueCount": { +"format": "int64", +"type": "string" +}, +"nullValueCount": { +"format": "int64", +"type": "string" +}, +"validValueCount": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfidenceMetricsEntry": { +"description": "ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.", +"id": "XPSConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Metrics are computed with an assumption that the model never return predictions with score lower than this value.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"f1ScoreAt1": { +"description": "The harmonic mean of recall_at1 and precision_at1.", +"format": "float", +"type": "number" +}, +"falseNegativeCount": { +"description": "The number of ground truth labels that are not matched by a model created label.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "The number of model created labels that do not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "False Positive Rate for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"falsePositiveRateAt1": { +"description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"positionThreshold": { +"description": "Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.", +"format": "int32", +"type": "integer" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"precisionAt1": { +"description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall (true positive rate) for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recallAt1": { +"description": "The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", +"format": "float", +"type": "number" +}, +"trueNegativeCount": { +"description": "The number of labels that were not created by the model, but if they would, they would not match a ground truth label.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "The number of model created labels that match a ground truth label.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSConfusionMatrix": { +"description": "Confusion matrix of the model running the classification.", +"id": "XPSConfusionMatrix", +"properties": { +"annotationSpecIdToken": { +"description": "For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.", +"items": { +"type": "string" +}, +"type": "array" +}, +"category": { +"description": "Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"row": { +"description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and are predicted as `annotation_spec_id_token[j]` by the model being evaluated.", +"items": { +"$ref": "XPSConfusionMatrixRow" +}, +"type": "array" +}, +"sentimentLabel": { +"description": "Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, use `annotation_spec_id_token` instead and leave this field empty.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSConfusionMatrixRow": { +"description": "A row in the confusion matrix.", +"id": "XPSConfusionMatrixRow", +"properties": { +"count": { +"description": "Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are embedded inside another message).", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +}, +"exampleCount": { +"description": "Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id_token field.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSCoreMlFormat": { +"description": "A model format used for iOS mobile devices.", +"id": "XPSCoreMlFormat", +"properties": {}, +"type": "object" +}, +"XPSCorrelationStats": { +"description": "A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.", +"id": "XPSCorrelationStats", +"properties": { +"cramersV": { +"description": "The correlation value using the Cramer's V measure.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSDataErrors": { +"description": "Different types of errors and the stats associatesd with each error.", +"id": "XPSDataErrors", +"properties": { +"count": { +"description": "Number of records having errors associated with the enum.", +"format": "int32", +"type": "integer" +}, +"errorType": { +"description": "Type of the error.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"UNSUPPORTED_AUDIO_FORMAT", +"FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", +"FILE_TOO_LARGE", +"MISSING_TRANSCRIPTION" +], +"enumDescriptions": [ +"Not specified.", +"Audio format not in the formats by cloud-speech AutoML. Currently only wav and flac file formats are supported.", +"File format differnt from what is specified in the file name extension.", +"File too large. Maximum allowed size is 50 MB.", +"Transcript is missing." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDataStats": { +"description": "The data statistics of a series of values that share the same DataType.", +"id": "XPSDataStats", +"properties": { +"arrayStats": { +"$ref": "XPSArrayStats", +"description": "The statistics for ARRAY DataType." +}, +"categoryStats": { +"$ref": "XPSCategoryStats", +"description": "The statistics for CATEGORY DataType." +}, +"distinctValueCount": { +"description": "The number of distinct values.", +"format": "int64", +"type": "string" +}, +"float64Stats": { +"$ref": "XPSFloat64Stats", +"description": "The statistics for FLOAT64 DataType." +}, +"nullValueCount": { +"description": "The number of values that are null.", +"format": "int64", +"type": "string" +}, +"stringStats": { +"$ref": "XPSStringStats", +"description": "The statistics for STRING DataType." +}, +"structStats": { +"$ref": "XPSStructStats", +"description": "The statistics for STRUCT DataType." +}, +"timestampStats": { +"$ref": "XPSTimestampStats", +"description": "The statistics for TIMESTAMP DataType." +}, +"validValueCount": { +"description": "The number of values that are valid.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSDataType": { +"description": "Indicated the type of data that can be stored in a structured data entity (e.g. a table).", +"id": "XPSDataType", +"properties": { +"compatibleDataTypes": { +"description": "The highly compatible data types to this data type.", +"items": { +"$ref": "XPSDataType" +}, +"type": "array" +}, +"listElementType": { +"$ref": "XPSDataType", +"description": "If type_code == ARRAY, then `list_element_type` is the type of the elements." +}, +"nullable": { +"description": "If true, this DataType can also be `null`.", +"type": "boolean" +}, +"structType": { +"$ref": "XPSStructType", +"description": "If type_code == STRUCT, then `struct_type` provides type information for the struct's fields." +}, +"timeFormat": { +"description": "If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The time_format must be written in `strftime` syntax. If time_format is not set, then the default format as described on the field is used.", +"type": "string" +}, +"typeCode": { +"description": "Required. The TypeCode for this type.", +"enum": [ +"TYPE_CODE_UNSPECIFIED", +"FLOAT64", +"TIMESTAMP", +"STRING", +"ARRAY", +"STRUCT", +"CATEGORY" +], +"enumDescriptions": [ +"Not specified. Should not be used.", +"Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", +"Must be between 0AD and 9999AD. Encoded as `string` according to time_format, or, if that format is not set, then in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).", +"Encoded as `string`.", +"Encoded as `list`, where the list elements are represented according to list_element_type.", +"Encoded as `struct`, where field values are represented according to struct_type.", +"Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as `string` (bytes should be base64-encoded, as described in RFC 4648, section 4)." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSDockerFormat": { +"description": "A model format used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system.", +"id": "XPSDockerFormat", +"properties": { +"cpuArchitecture": { +"description": "Optional. Additional cpu information describing the requirements for the to be exported model files.", +"enum": [ +"CPU_ARCHITECTURE_UNSPECIFIED", +"CPU_ARCHITECTURE_X86_64" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +}, +"gpuArchitecture": { +"description": "Optional. Additional gpu information describing the requirements for the to be exported model files.", +"enum": [ +"GPU_ARCHITECTURE_UNSPECIFIED", +"GPU_ARCHITECTURE_NVIDIA" +], +"enumDescriptions": [ +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"XPSEdgeTpuTfLiteFormat": { +"description": "A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"id": "XPSEdgeTpuTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSEvaluationMetrics": { +"description": "Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model overall. Next tag: 18.", +"id": "XPSEvaluationMetrics", +"properties": { +"annotationSpecIdToken": { +"description": "The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where annotation_spec_id_token is not available, set label instead.", +"type": "string" +}, +"category": { +"description": "The integer category label for which this evaluation metric instance had been created. Valid categories are 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation should use annotation_spec_id_token.", +"format": "int32", +"type": "integer" +}, +"evaluatedExampleCount": { +"description": "The number of examples used to create this evaluation metrics instance.", +"format": "int32", +"type": "integer" +}, +"imageClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"imageObjectDetectionEvalMetrics": { +"$ref": "XPSImageObjectDetectionEvaluationMetrics" +}, +"imageSegmentationEvalMetrics": { +"$ref": "XPSImageSegmentationEvaluationMetrics" +}, +"label": { +"description": "The label for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL implementation.", +"type": "string" +}, +"regressionEvalMetrics": { +"$ref": "XPSRegressionEvaluationMetrics" +}, +"tablesClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"tablesEvalMetrics": { +"$ref": "XPSTablesEvaluationMetrics" +}, +"textClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"textExtractionEvalMetrics": { +"$ref": "XPSTextExtractionEvaluationMetrics" +}, +"textSentimentEvalMetrics": { +"$ref": "XPSTextSentimentEvaluationMetrics" +}, +"translationEvalMetrics": { +"$ref": "XPSTranslationEvaluationMetrics" +}, +"videoActionRecognitionEvalMetrics": { +"$ref": "XPSVideoActionRecognitionEvaluationMetrics" +}, +"videoClassificationEvalMetrics": { +"$ref": "XPSClassificationEvaluationMetrics" +}, +"videoObjectTrackingEvalMetrics": { +"$ref": "XPSVideoObjectTrackingEvaluationMetrics" +} +}, +"type": "object" +}, +"XPSEvaluationMetricsSet": { +"description": "Specifies location of model evaluation metrics.", +"id": "XPSEvaluationMetricsSet", +"properties": { +"evaluationMetrics": { +"description": "Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, use file_spec.", +"items": { +"$ref": "XPSEvaluationMetrics" +}, +"type": "array" +}, +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec containing evaluation metrics of a model, must point to RecordIO file(s) of intelligence.cloud.automl.xps.EvaluationMetrics messages." +}, +"numEvaluationMetrics": { +"description": "Number of the evaluation metrics (usually one per label plus overall).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExampleSet": { +"description": "Set of examples or input sources.", +"id": "XPSExampleSet", +"properties": { +"fileSpec": { +"$ref": "XPSFileSpec", +"description": "File spec of the examples or input sources." +}, +"fingerprint": { +"description": "Fingerprint of the example set.", +"format": "int64", +"type": "string" +}, +"numExamples": { +"description": "Number of examples.", +"format": "int64", +"type": "string" +}, +"numInputSources": { +"description": "Number of input sources.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSExportModelOutputConfig": { +"id": "XPSExportModelOutputConfig", +"properties": { +"coreMlFormat": { +"$ref": "XPSCoreMlFormat" +}, +"dockerFormat": { +"$ref": "XPSDockerFormat" +}, +"edgeTpuTfLiteFormat": { +"$ref": "XPSEdgeTpuTfLiteFormat" +}, +"exportFirebaseAuxiliaryInfo": { +"description": "For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.", +"type": "boolean" +}, +"outputGcrUri": { +"description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", +"type": "string" +}, +"outputGcsUri": { +"description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", +"type": "string" +}, +"tfJsFormat": { +"$ref": "XPSTfJsFormat" +}, +"tfLiteFormat": { +"$ref": "XPSTfLiteFormat" +}, +"tfSavedModelFormat": { +"$ref": "XPSTfSavedModelFormat" +} +}, +"type": "object" +}, +"XPSFileSpec": { +"description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", +"id": "XPSFileSpec", +"properties": { +"directoryPath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +}, +"fileFormat": { +"enum": [ +"FILE_FORMAT_UNKNOWN", +"FILE_FORMAT_SSTABLE", +"FILE_FORMAT_TRANSLATION_RKV", +"FILE_FORMAT_RECORDIO", +"FILE_FORMAT_RAW_CSV", +"FILE_FORMAT_RAW_CAPACITOR" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false +], +"enumDescriptions": [ +"", +"", +"Internal format for parallel text data used by Google Translate.", +"", +"Only the lexicographically first file described by the file_spec contains the header line.", +"" +], +"type": "string" +}, +"fileSpec": { +"description": "Single file path, or file pattern of format \"/path/to/file@shard_count\". E.g. /cns/cell-d/somewhere/file@2 is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and /cns/cell-d/somewhere/file-00001-of-00002.", +"type": "string" +}, +"singleFilePath": { +"deprecated": true, +"description": "Deprecated. Use file_spec.", +"type": "string" +} +}, +"type": "object" +}, +"XPSFloat64Stats": { +"description": "The data statistics of a series of FLOAT64 values.", +"id": "XPSFloat64Stats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"histogramBuckets": { +"description": "Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being `\"-Infinity\"`, and max of the last one being `\"Infinity\"`.", +"items": { +"$ref": "XPSFloat64StatsHistogramBucket" +}, +"type": "array" +}, +"mean": { +"description": "The mean of the series.", +"format": "double", +"type": "number" +}, +"quantiles": { +"description": "Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"standardDeviation": { +"description": "The standard deviation of the series.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSFloat64StatsHistogramBucket": { +"description": "A bucket of a histogram.", +"id": "XPSFloat64StatsHistogramBucket", +"properties": { +"count": { +"description": "The number of data values that are in the bucket, i.e. are between min and max values.", +"format": "int64", +"type": "string" +}, +"max": { +"description": "The maximum value of the bucket, exclusive unless max = `\"Infinity\"`, in which case it's inclusive.", +"format": "double", +"type": "number" +}, +"min": { +"description": "The minimum value of the bucket, inclusive.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageClassificationTrainResponse": { +"id": "XPSImageClassificationTrainResponse", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Populated for AutoMl requests." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostInNodeTime": { +"description": "The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated after GA.", +"format": "google-duration", +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual training cost, expressed in node seconds. Populated for models trained in node time.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSImageExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageModelArtifactSpec": { +"description": "Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.", +"id": "XPSImageModelArtifactSpec", +"properties": { +"checkpointArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The Tensorflow checkpoint files. e.g. Used for resumable training." +}, +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"labelGcsUri": { +"description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." +}, +"tfJsBinaryGcsPrefix": { +"description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", +"type": "string" +}, +"tfLiteMetadataGcsUri": { +"description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpec": { +"description": "Serving specification for image models.", +"id": "XPSImageModelServingSpec", +"properties": { +"modelThroughputEstimation": { +"description": "Populate under uCAIP request scope.", +"items": { +"$ref": "XPSImageModelServingSpecModelThroughputEstimation" +}, +"type": "array" +}, +"nodeQps": { +"description": "An estimated value of how much traffic a node can serve. Populated for AutoMl request only.", +"format": "double", +"type": "number" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageModelServingSpecModelThroughputEstimation": { +"id": "XPSImageModelServingSpecModelThroughputEstimation", +"properties": { +"computeEngineAcceleratorType": { +"enum": [ +"UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_A100_80GB", +"NVIDIA_L4", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"NVIDIA_H200_141GB", +"NVIDIA_B200", +"NVIDIA_GB200", +"TPU_V2", +"TPU_V3", +"TPU_V4_POD", +"TPU_V5_LITEPOD" +], +"enumDescriptions": [ +"", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia Tesla V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia Tesla T4 GPU.", +"Nvidia Tesla A100 GPU.", +"Nvidia A100 80GB GPU.", +"Nvidia L4 GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H100 80Gb GPU.", +"Nvidia H200 141Gb GPU.", +"Nvidia B200 GPU.", +"Nvidia GB200 GPU.", +"TPU v2 (JellyFish).", +"TPU v3 (DragonFish).", +"TPU_v4 (PufferFish).", +"TPU v5 Lite Pods." +], +"type": "string" +}, +"latencyInMilliseconds": { +"description": "Estimated latency.", +"format": "double", +"type": "number" +}, +"nodeQps": { +"description": "The approximate qps a deployed node can serve.", +"format": "double", +"type": "number" +}, +"servomaticPartitionType": { +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionEvaluationMetrics": { +"description": "Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.", +"id": "XPSImageObjectDetectionEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingBoxCount": { +"description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSImageObjectDetectionModelSpec": { +"id": "XPSImageObjectDetectionModelSpec", +"properties": { +"classCount": { +"description": "Total number of classes.", +"format": "int64", +"type": "string" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec" +}, +"maxBoundingBoxCount": { +"description": "Max number of bounding box.", +"format": "int64", +"type": "string" +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetrics": { +"description": "Model evaluation metrics for image segmentation problems. Next tag: 4.", +"id": "XPSImageSegmentationEvaluationMetrics", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", +"items": { +"$ref": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model level evaluation, not for evaluation per label." +}, +"diceScoreCoefficient": { +"description": "DSC or the F1 score: The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"iouScore": { +"description": "IOU score.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSImageSegmentationTrainResponse": { +"id": "XPSImageSegmentationTrainResponse", +"properties": { +"colorMaps": { +"description": "Color map of the model.", +"items": { +"$ref": "XPSColorMap" +}, +"type": "array" +}, +"exportModelSpec": { +"$ref": "XPSImageExportModelSpec", +"description": "NOTE: These fields are not used/needed in EAP but will be set later." +}, +"modelArtifactSpec": { +"$ref": "XPSImageModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs pathes and related metadata" +}, +"modelServingSpec": { +"$ref": "XPSImageModelServingSpec" +}, +"stopReason": { +"description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", +"enum": [ +"TRAIN_STOP_REASON_UNSPECIFIED", +"TRAIN_STOP_REASON_BUDGET_REACHED", +"TRAIN_STOP_REASON_MODEL_CONVERGED", +"TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" +], +"enumDescriptions": [ +"", +"", +"Model fully converged, can not be resumbed training.", +"Model early converged, can be further trained till full convergency." +], +"type": "string" +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSIntegratedGradientsAttribution": { +"deprecated": true, +"description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", +"id": "XPSIntegratedGradientsAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSMetricEntry": { +"id": "XPSMetricEntry", +"properties": { +"argentumMetricId": { +"description": "For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the \"cloudbilling.googleapis.com/argentum_metric_id\" label. Otherwise leave empty.", +"type": "string" +}, +"doubleValue": { +"description": "A double value.", +"format": "double", +"type": "number" +}, +"int64Value": { +"description": "A signed 64-bit integer value.", +"format": "int64", +"type": "string" +}, +"metricName": { +"description": "The metric name defined in the service configuration.", +"type": "string" +}, +"systemLabels": { +"description": "Billing system labels for this (metric, value) pair.", +"items": { +"$ref": "XPSMetricEntryLabel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSMetricEntryLabel": { +"id": "XPSMetricEntryLabel", +"properties": { +"labelName": { +"description": "The name of the label.", +"type": "string" +}, +"labelValue": { +"description": "The value of the label.", +"type": "string" +} +}, +"type": "object" +}, +"XPSModelArtifactItem": { +"description": "A single model artifact item.", +"id": "XPSModelArtifactItem", +"properties": { +"artifactFormat": { +"description": "The model artifact format.", +"enum": [ +"ARTIFACT_FORMAT_UNSPECIFIED", +"TF_CHECKPOINT", +"TF_SAVED_MODEL", +"TF_LITE", +"EDGE_TPU_TF_LITE", +"TF_JS", +"CORE_ML" +], +"enumDescriptions": [ +"Should not be used.", +"The Tensorflow checkpoints. See https://www.tensorflow.org/guide/checkpoint.", +"The Tensorflow SavedModel binary.", +"Model artifact in generic TensorFlow Lite (.tflite) format. See https://www.tensorflow.org/lite.", +"Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", +"A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"Used for iOS mobile devices in (.mlmodel) format. See https://developer.apple.com/documentation/coreml" +], +"type": "string" +}, +"gcsUri": { +"description": "The Google Cloud Storage URI that stores the model binary files.", +"type": "string" +} +}, +"type": "object" +}, +"XPSPreprocessResponse": { +"id": "XPSPreprocessResponse", +"properties": { +"outputExampleSet": { +"$ref": "XPSExampleSet", +"description": "Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data." +}, +"speechPreprocessResp": { +"$ref": "XPSSpeechPreprocessResponse" +}, +"tablesPreprocessResponse": { +"$ref": "XPSTablesPreprocessResponse" +}, +"translationPreprocessResp": { +"$ref": "XPSTranslationPreprocessResponse" +} +}, +"type": "object" +}, +"XPSRegressionEvaluationMetrics": { +"description": "Model evaluation metrics for regression problems. It can be used for Tables.", +"id": "XPSRegressionEvaluationMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean Absolute Error (MAE).", +"format": "float", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error. Only set if all ground truth values are positive.", +"format": "float", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "float", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root Mean Squared Error (RMSE).", +"format": "float", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSRegressionMetricsEntry": { +"description": "A pair of actual & observed values for the model being evaluated.", +"id": "XPSRegressionMetricsEntry", +"properties": { +"predictedValue": { +"description": "The observed value for a row in the dataset.", +"format": "float", +"type": "number" +}, +"trueValue": { +"description": "The actual target value for a row in the dataset.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSReportingMetrics": { +"id": "XPSReportingMetrics", +"properties": { +"effectiveTrainingDuration": { +"deprecated": true, +"description": "The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set.", +"format": "google-duration", +"type": "string" +}, +"metricEntries": { +"description": "One entry per metric name. The values must be aggregated per metric name.", +"items": { +"$ref": "XPSMetricEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadata": { +"deprecated": true, +"id": "XPSResponseExplanationMetadata", +"properties": { +"inputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataInputMetadata" +}, +"description": "Metadata of the input.", +"type": "object" +}, +"outputs": { +"additionalProperties": { +"$ref": "XPSResponseExplanationMetadataOutputMetadata" +}, +"description": "Metadata of the output.", +"type": "object" +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataInputMetadata": { +"description": "Metadata of the input of a feature.", +"id": "XPSResponseExplanationMetadataInputMetadata", +"properties": { +"inputTensorName": { +"description": "Name of the input tensor for this model. Only needed in train response.", +"type": "string" +}, +"modality": { +"description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", +"enum": [ +"MODALITY_UNSPECIFIED", +"NUMERIC", +"IMAGE", +"CATEGORICAL" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"visualizationConfig": { +"$ref": "XPSVisualization", +"description": "Visualization configurations for image explanation." +} +}, +"type": "object" +}, +"XPSResponseExplanationMetadataOutputMetadata": { +"description": "Metadata of the prediction output to be explained.", +"id": "XPSResponseExplanationMetadataOutputMetadata", +"properties": { +"outputTensorName": { +"description": "Name of the output tensor. Only needed in train response.", +"type": "string" +} +}, +"type": "object" +}, +"XPSResponseExplanationParameters": { +"deprecated": true, +"id": "XPSResponseExplanationParameters", +"properties": { +"integratedGradientsAttribution": { +"$ref": "XPSIntegratedGradientsAttribution", +"description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" +}, +"xraiAttribution": { +"$ref": "XPSXraiAttribution", +"description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." +} +}, +"type": "object" +}, +"XPSResponseExplanationSpec": { +"deprecated": true, +"description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", +"id": "XPSResponseExplanationSpec", +"properties": { +"explanationType": { +"description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", +"type": "string" +}, +"metadata": { +"$ref": "XPSResponseExplanationMetadata", +"description": "Metadata describing the Model's input and output for explanation." +}, +"parameters": { +"$ref": "XPSResponseExplanationParameters", +"description": "Parameters that configure explaining of the Model's predictions." +} +}, +"type": "object" +}, +"XPSRow": { +"id": "XPSRow", +"properties": { +"columnIds": { +"description": "The ids of the columns. Note: The below `values` field must match order of this field, if this field is set.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"values": { +"description": "The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in the same order as the input_feature_column_ids in TablesModelMetadata.", +"items": { +"type": "any" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetrics": { +"id": "XPSSpeechEvaluationMetrics", +"properties": { +"subModelEvaluationMetrics": { +"description": "Evaluation metrics for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechEvaluationMetricsSubModelEvaluationMetric": { +"id": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +}, +"numDeletions": { +"format": "int32", +"type": "integer" +}, +"numInsertions": { +"format": "int32", +"type": "integer" +}, +"numSubstitutions": { +"format": "int32", +"type": "integer" +}, +"numUtterances": { +"description": "Number of utterances used in the wer computation.", +"format": "int32", +"type": "integer" +}, +"numWords": { +"description": "Number of words over which the word error rate was computed.", +"format": "int32", +"type": "integer" +}, +"sentenceAccuracy": { +"description": "Below fields are used for debugging purposes", +"format": "double", +"type": "number" +}, +"wer": { +"description": "Word error rate (standard error metric used for speech recognition).", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSSpeechModelSpec": { +"id": "XPSSpeechModelSpec", +"properties": { +"datasetId": { +"description": "Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so that speech API can query the db directly.", +"format": "int64", +"type": "string" +}, +"language": { +"type": "string" +}, +"subModelSpecs": { +"description": "Model specs for all submodels contained in this model.", +"items": { +"$ref": "XPSSpeechModelSpecSubModelSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSSpeechModelSpecSubModelSpec": { +"id": "XPSSpeechModelSpecSubModelSpec", +"properties": { +"biasingModelType": { +"description": "Type of the biasing model.", +"enum": [ +"BIASING_MODEL_TYPE_UNSPECIFIED", +"COMMAND_AND_SEARCH", +"PHONE_CALL", +"VIDEO", +"DEFAULT" +], +"enumDescriptions": [ +"", +"Build biasing model on top of COMMAND_AND_SEARCH model", +"Build biasing model on top of PHONE_CALL model", +"Build biasing model on top of VIDEO model", +"Build biasing model on top of DEFAULT model" +], +"type": "string" +}, +"clientId": { +"description": "In S3, Recognition ClientContextId.client_id", +"type": "string" +}, +"contextId": { +"description": "In S3, Recognition ClientContextId.context_id", +"type": "string" +}, +"isEnhancedModel": { +"description": "If true then it means we have an enhanced version of the biasing models.", +"type": "boolean" +} +}, +"type": "object" +}, +"XPSSpeechPreprocessResponse": { +"id": "XPSSpeechPreprocessResponse", +"properties": { +"cnsTestDataPath": { +"description": "Location od shards of sstables (test data) of DataUtterance protos.", +"type": "string" +}, +"cnsTrainDataPath": { +"description": "Location of shards of sstables (training data) of DataUtterance protos.", +"type": "string" +}, +"prebuiltModelEvaluationMetrics": { +"$ref": "XPSSpeechEvaluationMetrics", +"description": "The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML." +}, +"speechPreprocessStats": { +"$ref": "XPSSpeechPreprocessStats", +"description": "Stats associated with the data." +} +}, +"type": "object" +}, +"XPSSpeechPreprocessStats": { +"id": "XPSSpeechPreprocessStats", +"properties": { +"dataErrors": { +"description": "Different types of data errors and the counts associated with them.", +"items": { +"$ref": "XPSDataErrors" +}, +"type": "array" +}, +"numHumanLabeledExamples": { +"description": "The number of rows marked HUMAN_LABELLED", +"format": "int32", +"type": "integer" +}, +"numLogsExamples": { +"description": "The number of samples found in the previously recorded logs data.", +"format": "int32", +"type": "integer" +}, +"numMachineTranscribedExamples": { +"description": "The number of rows marked as MACHINE_TRANSCRIBED", +"format": "int32", +"type": "integer" +}, +"testExamplesCount": { +"description": "The number of examples labelled as TEST by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"testSentencesCount": { +"description": "The number of sentences in the test data set.", +"format": "int32", +"type": "integer" +}, +"testWordsCount": { +"description": "The number of words in the test data set.", +"format": "int32", +"type": "integer" +}, +"trainExamplesCount": { +"description": "The number of examples labeled as TRAIN by Speech xps server.", +"format": "int32", +"type": "integer" +}, +"trainSentencesCount": { +"description": "The number of sentences in the training data set.", +"format": "int32", +"type": "integer" +}, +"trainWordsCount": { +"description": "The number of words in the training data set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSStringStats": { +"description": "The data statistics of a series of STRING values.", +"id": "XPSStringStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"topUnigramStats": { +"description": "The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count.", +"items": { +"$ref": "XPSStringStatsUnigramStats" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSStringStatsUnigramStats": { +"description": "The statistics of a unigram.", +"id": "XPSStringStatsUnigramStats", +"properties": { +"count": { +"description": "The number of occurrences of this unigram in the series.", +"format": "int64", +"type": "string" +}, +"value": { +"description": "The unigram.", +"type": "string" +} +}, +"type": "object" +}, +"XPSStructStats": { +"description": "The data statistics of a series of STRUCT values.", +"id": "XPSStructStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"fieldStats": { +"additionalProperties": { +"$ref": "XPSDataStats" +}, +"description": "Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.", +"type": "object" +} +}, +"type": "object" +}, +"XPSStructType": { +"description": "`StructType` defines the DataType-s of a STRUCT type.", +"id": "XPSStructType", +"properties": { +"fields": { +"additionalProperties": { +"$ref": "XPSDataType" +}, +"description": "Unordered map of struct field names to their data types.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTableSpec": { +"id": "XPSTableSpec", +"properties": { +"columnSpecs": { +"additionalProperties": { +"$ref": "XPSColumnSpec" +}, +"description": "Mapping from column id to column spec.", +"type": "object" +}, +"importedDataSizeInBytes": { +"description": "The total size of imported data of the table.", +"format": "int64", +"type": "string" +}, +"rowCount": { +"description": "The number of rows in the table.", +"format": "int64", +"type": "string" +}, +"timeColumnId": { +"description": "The id of the time column.", +"format": "int32", +"type": "integer" +}, +"validRowCount": { +"description": "The number of valid rows.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetrics": { +"description": "Metrics for Tables classification problems.", +"id": "XPSTablesClassificationMetrics", +"properties": { +"curveMetrics": { +"description": "Metrics building a curve.", +"items": { +"$ref": "XPSTablesClassificationMetricsCurveMetrics" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesClassificationMetricsCurveMetrics": { +"description": "Metrics curve data point for a single value.", +"id": "XPSTablesClassificationMetricsCurveMetrics", +"properties": { +"aucPr": { +"description": "The area under the precision-recall curve.", +"format": "double", +"type": "number" +}, +"aucRoc": { +"description": "The area under receiver operating characteristic curve.", +"format": "double", +"type": "number" +}, +"confidenceMetricsEntries": { +"description": "Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them.", +"items": { +"$ref": "XPSTablesConfidenceMetricsEntry" +}, +"type": "array" +}, +"logLoss": { +"description": "The Log loss metric.", +"format": "double", +"type": "number" +}, +"positionThreshold": { +"description": "The position threshold value used to compute the metrics.", +"format": "int32", +"type": "integer" +}, +"value": { +"description": "The CATEGORY row value (for ARRAY unnested) the curve metrics are for.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSTablesConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "The confidence threshold value used to compute the metrics.", +"format": "double", +"type": "number" +}, +"f1Score": { +"description": "The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall)", +"format": "double", +"type": "number" +}, +"falseNegativeCount": { +"description": "False negative count.", +"format": "int64", +"type": "string" +}, +"falsePositiveCount": { +"description": "False positive count.", +"format": "int64", +"type": "string" +}, +"falsePositiveRate": { +"description": "FPR = #false positives / (#false positives + #true negatives)", +"format": "double", +"type": "number" +}, +"precision": { +"description": "Precision = #true positives / (#true positives + #false positives).", +"format": "double", +"type": "number" +}, +"recall": { +"description": "Recall = #true positives / (#true positives + #false negatives).", +"format": "double", +"type": "number" +}, +"trueNegativeCount": { +"description": "True negative count.", +"format": "int64", +"type": "string" +}, +"truePositiveCount": { +"description": "True positive count.", +"format": "int64", +"type": "string" +}, +"truePositiveRate": { +"description": "TPR = #true positives / (#true positives + #false negatvies)", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesDatasetMetadata": { +"description": "Metadata for a dataset used for AutoML Tables.", +"id": "XPSTablesDatasetMetadata", +"properties": { +"mlUseColumnId": { +"description": "Id the column to split the table.", +"format": "int32", +"type": "integer" +}, +"primaryTableSpec": { +"$ref": "XPSTableSpec", +"description": "Primary table." +}, +"targetColumnCorrelations": { +"additionalProperties": { +"$ref": "XPSCorrelationStats" +}, +"description": "(the column id : its CorrelationStats with target column).", +"type": "object" +}, +"targetColumnId": { +"description": "Id of the primary table column that should be used as the training label.", +"format": "int32", +"type": "integer" +}, +"weightColumnId": { +"description": "Id of the primary table column that should be used as the weight column.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"XPSTablesEvaluationMetrics": { +"id": "XPSTablesEvaluationMetrics", +"properties": { +"classificationMetrics": { +"$ref": "XPSTablesClassificationMetrics", +"description": "Classification metrics." +}, +"regressionMetrics": { +"$ref": "XPSTablesRegressionMetrics", +"description": "Regression metrics." +} +}, +"type": "object" +}, +"XPSTablesModelColumnInfo": { +"description": "An information specific to given column and Tables Model, in context of the Model and the predictions created by it.", +"id": "XPSTablesModelColumnInfo", +"properties": { +"columnId": { +"description": "The ID of the column.", +"format": "int32", +"type": "integer" +}, +"featureImportance": { +"description": "When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1. When given back by Predict or Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesModelStructure": { +"description": "A description of Tables model structure.", +"id": "XPSTablesModelStructure", +"properties": { +"modelParameters": { +"description": "A list of models.", +"items": { +"$ref": "XPSTablesModelStructureModelParameters" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParameters": { +"description": "Model hyper-parameters for a model.", +"id": "XPSTablesModelStructureModelParameters", +"properties": { +"hyperparameters": { +"items": { +"$ref": "XPSTablesModelStructureModelParametersParameter" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTablesModelStructureModelParametersParameter": { +"id": "XPSTablesModelStructureModelParametersParameter", +"properties": { +"floatValue": { +"description": "Float type parameter value.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "Integer type parameter value.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Parameter name.", +"type": "string" +}, +"stringValue": { +"description": "String type parameter value.", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesPreprocessResponse": { +"id": "XPSTablesPreprocessResponse", +"properties": { +"tablesDatasetMetadata": { +"$ref": "XPSTablesDatasetMetadata", +"description": "The table/column id, column_name and the DataTypes of the columns will be populated." +} +}, +"type": "object" +}, +"XPSTablesRegressionMetrics": { +"description": "Metrics for Tables regression problems.", +"id": "XPSTablesRegressionMetrics", +"properties": { +"meanAbsoluteError": { +"description": "Mean absolute error.", +"format": "double", +"type": "number" +}, +"meanAbsolutePercentageError": { +"description": "Mean absolute percentage error, only set if all of the target column's values are positive.", +"format": "double", +"type": "number" +}, +"rSquared": { +"description": "R squared.", +"format": "double", +"type": "number" +}, +"regressionMetricsEntries": { +"description": "A list of actual versus predicted points for the model being evaluated.", +"items": { +"$ref": "XPSRegressionMetricsEntry" +}, +"type": "array" +}, +"rootMeanSquaredError": { +"description": "Root mean squared error.", +"format": "double", +"type": "number" +}, +"rootMeanSquaredLogError": { +"description": "Root mean squared log error.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTablesTrainResponse": { +"id": "XPSTablesTrainResponse", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure" +}, +"predictionSampleRows": { +"description": "Sample rows from the dataset this model was trained.", +"items": { +"$ref": "XPSRow" +}, +"type": "array" +}, +"tablesModelColumnInfo": { +"description": "Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model.", +"items": { +"$ref": "XPSTablesModelColumnInfo" +}, +"type": "array" +}, +"trainCostMilliNodeHours": { +"description": "The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTablesTrainingOperationMetadata": { +"id": "XPSTablesTrainingOperationMetadata", +"properties": { +"createModelStage": { +"description": "Current stage of creating model.", +"enum": [ +"CREATE_MODEL_STAGE_UNSPECIFIED", +"DATA_PREPROCESSING", +"TRAINING", +"EVALUATING", +"MODEL_POST_PROCESSING" +], +"enumDescriptions": [ +"Unspecified stage.", +"Prepare the model training pipeline and run data processing.", +"Training model.", +"Run evaluation.", +"Finalizing model training pipeline." +], +"type": "string" +}, +"optimizationObjective": { +"description": "The optimization objective for model.", +"type": "string" +}, +"topTrials": { +"description": "This field is for training. When the operation is terminated successfully, AutoML Backend post this field to operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to be a failure.", +"items": { +"$ref": "XPSTuningTrial" +}, +"type": "array" +}, +"trainBudgetMilliNodeHours": { +"description": "Creating model budget.", +"format": "int64", +"type": "string" +}, +"trainingObjectivePoints": { +"description": "This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.", +"items": { +"$ref": "XPSTrainingObjectivePoint" +}, +"type": "array" +}, +"trainingStartTime": { +"description": "Timestamp when training process starts.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextComponentModel": { +"description": "Component model.", +"id": "XPSTextComponentModel", +"properties": { +"batchPredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold batch prediction model.", +"type": "string" +}, +"onlinePredictionModelGcsUri": { +"description": "The Cloud Storage resource path to hold online prediction model.", +"type": "string" +}, +"partition": { +"description": "The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.", +"enum": [ +"PARTITION_TYPE_UNSPECIFIED", +"PARTITION_ZERO", +"PARTITION_REDUCED_HOMING", +"PARTITION_JELLYFISH", +"PARTITION_CPU", +"PARTITION_CUSTOM_STORAGE_CPU" +], +"enumDescriptions": [ +"", +"The default partition.", +"It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", +"To be used by customers with Jellyfish-accelerated ops.", +"The partition used by regionalized servomatic cloud regions.", +"The partition used for loading models from custom storage." +], +"type": "string" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API." +}, +"servoModelName": { +"description": "The name of servo model. Populated by uCAIP BE as part of online PredictRequest.", +"type": "string" +}, +"submodelName": { +"description": "The name of the trained NL submodel.", +"type": "string" +}, +"submodelType": { +"description": "The type of trained NL submodel", +"enum": [ +"TEXT_MODEL_TYPE_UNSPECIFIED", +"TEXT_MODEL_TYPE_DEFAULT", +"TEXT_MODEL_TYPE_META_ARCHITECT", +"TEXT_MODEL_TYPE_ATC", +"TEXT_MODEL_TYPE_CLARA2", +"TEXT_MODEL_TYPE_CHATBASE", +"TEXT_MODEL_TYPE_SAFT_SPAN_LABELING", +"TEXT_MODEL_TYPE_TEXT_EXTRACTION", +"TEXT_MODEL_TYPE_RELATIONSHIP_EXTRACTION", +"TEXT_MODEL_TYPE_COMPOSITE", +"TEXT_MODEL_TYPE_ALL_MODELS", +"TEXT_MODEL_TYPE_BERT", +"TEXT_MODEL_TYPE_ENC_PALM" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"Model type for entity extraction.", +"Model type for relationship extraction.", +"A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", +"Model type used to train default, MA, and ATC models in a single batch worker pipeline.", +"BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", +"Model type for EncPaLM." +], +"type": "string" +}, +"tfRuntimeVersion": { +"description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", +"type": "string" +}, +"versionNumber": { +"description": "The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTextExtractionEvaluationMetrics": { +"id": "XPSTextExtractionEvaluationMetrics", +"properties": { +"bestF1ConfidenceMetrics": { +"$ref": "XPSConfidenceMetricsEntry", +"deprecated": true, +"description": "Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set." +}, +"confidenceMetricsEntries": { +"description": "If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label.", +"items": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"type": "array" +}, +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label." +}, +"perLabelConfidenceMetrics": { +"additionalProperties": { +"$ref": "XPSConfidenceMetricsEntry" +}, +"deprecated": true, +"description": "Only recall, precision, and f1_score will be set.", +"type": "object" +} +}, +"type": "object" +}, +"XPSTextSentimentEvaluationMetrics": { +"description": "Model evaluation metrics for text sentiment problems.", +"id": "XPSTextSentimentEvaluationMetrics", +"properties": { +"confusionMatrix": { +"$ref": "XPSConfusionMatrix", +"description": "Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec." +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"linearKappa": { +"description": "Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanAbsoluteError": { +"description": "Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"meanSquaredError": { +"description": "Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision.", +"format": "float", +"type": "number" +}, +"quadraticKappa": { +"description": "Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTextToSpeechTrainResponse": { +"description": "TextToSpeech train response", +"id": "XPSTextToSpeechTrainResponse", +"properties": {}, +"type": "object" +}, +"XPSTextTrainResponse": { +"id": "XPSTextTrainResponse", +"properties": { +"componentModel": { +"description": "Component submodels.", +"items": { +"$ref": "XPSTextComponentModel" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSTfJsFormat": { +"description": "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", +"id": "XPSTfJsFormat", +"properties": {}, +"type": "object" +}, +"XPSTfLiteFormat": { +"description": "LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite.", +"id": "XPSTfLiteFormat", +"properties": {}, +"type": "object" +}, +"XPSTfSavedModelFormat": { +"description": "A tensorflow model format in SavedModel format.", +"id": "XPSTfSavedModelFormat", +"properties": {}, +"type": "object" +}, +"XPSTimestampStats": { +"description": "The data statistics of a series of TIMESTAMP values.", +"id": "XPSTimestampStats", +"properties": { +"commonStats": { +"$ref": "XPSCommonStats" +}, +"granularStats": { +"additionalProperties": { +"$ref": "XPSTimestampStatsGranularStats" +}, +"description": "The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).", +"type": "object" +}, +"medianTimestampNanos": { +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTimestampStatsGranularStats": { +"description": "Stats split by a defined in context granularity.", +"id": "XPSTimestampStatsGranularStats", +"properties": { +"buckets": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).", +"type": "object" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntry": { +"description": "Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.", +"id": "XPSTrackMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", +"items": { +"$ref": "XPSTrackMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"iouThreshold": { +"description": "Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", +"format": "float", +"type": "number" +}, +"meanBoundingBoxIou": { +"description": "Output only. The mean bounding box iou over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanMismatchRate": { +"description": "Output only. The mean mismatch rate over all confidence thresholds.", +"format": "float", +"type": "number" +}, +"meanTrackingAveragePrecision": { +"description": "Output only. The mean average precision over all confidence thresholds.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrackMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold. Next tag: 6.", +"id": "XPSTrackMetricsEntryConfidenceMetricsEntry", +"properties": { +"boundingBoxIou": { +"description": "Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", +"format": "float", +"type": "number" +}, +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"mismatchRate": { +"description": "Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", +"format": "float", +"type": "number" +}, +"trackingPrecision": { +"description": "Output only. Tracking precision.", +"format": "float", +"type": "number" +}, +"trackingRecall": { +"description": "Output only. Tracking recall.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTrainResponse": { +"id": "XPSTrainResponse", +"properties": { +"deployedModelSizeBytes": { +"description": "Estimated model size in bytes once deployed.", +"format": "int64", +"type": "string" +}, +"errorAnalysisConfigs": { +"description": "Optional vision model error analysis configuration. The field is set when model error analysis is enabled in the training request. The results of error analysis will be binded together with evaluation results (in the format of AnnotatedExample).", +"items": { +"$ref": "XPSVisionErrorAnalysisConfig" +}, +"type": "array" +}, +"evaluatedExampleSet": { +"$ref": "XPSExampleSet", +"description": "Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and annotations predicted by the model must be set. The example payload can and is recommended to be omitted." +}, +"evaluationMetricsSet": { +"$ref": "XPSEvaluationMetricsSet", +"description": "The trained model evaluation metrics. This can be optionally returned." +}, +"explanationConfigs": { +"deprecated": true, +"description": "VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request.", +"items": { +"$ref": "XPSResponseExplanationSpec" +}, +"type": "array" +}, +"imageClassificationTrainResp": { +"$ref": "XPSImageClassificationTrainResponse" +}, +"imageObjectDetectionTrainResp": { +"$ref": "XPSImageObjectDetectionModelSpec" +}, +"imageSegmentationTrainResp": { +"$ref": "XPSImageSegmentationTrainResponse" +}, +"modelToken": { +"description": "Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other xPS APIs to refer to the model.", +"format": "byte", +"type": "string" +}, +"speechTrainResp": { +"$ref": "XPSSpeechModelSpec" +}, +"tablesTrainResp": { +"$ref": "XPSTablesTrainResponse" +}, +"textToSpeechTrainResp": { +"$ref": "XPSTextToSpeechTrainResponse" +}, +"textTrainResp": { +"$ref": "XPSTextTrainResponse", +"description": "Will only be needed for uCAIP from Beta." +}, +"translationTrainResp": { +"$ref": "XPSTranslationTrainResponse" +}, +"videoActionRecognitionTrainResp": { +"$ref": "XPSVideoActionRecognitionTrainResponse" +}, +"videoClassificationTrainResp": { +"$ref": "XPSVideoClassificationTrainResponse" +}, +"videoObjectTrackingTrainResp": { +"$ref": "XPSVideoObjectTrackingTrainResponse" +} +}, +"type": "object" +}, +"XPSTrainingObjectivePoint": { +"id": "XPSTrainingObjectivePoint", +"properties": { +"createTime": { +"description": "The time at which this point was recorded.", +"format": "google-datetime", +"type": "string" +}, +"value": { +"description": "The objective value when this point was recorded.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationEvaluationMetrics": { +"description": "Evaluation metrics for the dataset.", +"id": "XPSTranslationEvaluationMetrics", +"properties": { +"baseBleuScore": { +"description": "BLEU score for base model.", +"format": "double", +"type": "number" +}, +"bleuScore": { +"description": "BLEU score.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"XPSTranslationPreprocessResponse": { +"description": "Translation preprocess response.", +"id": "XPSTranslationPreprocessResponse", +"properties": { +"parsedExampleCount": { +"description": "Total example count parsed.", +"format": "int64", +"type": "string" +}, +"validExampleCount": { +"description": "Total valid example count.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSTranslationTrainResponse": { +"description": "Train response for translation.", +"id": "XPSTranslationTrainResponse", +"properties": { +"modelType": { +"description": "Type of the model.", +"enum": [ +"MODEL_TYPE_UNSPECIFIED", +"LEGACY", +"CURRENT" +], +"enumDescriptions": [ +"Default", +"Legacy model. Will be deprecated.", +"Current model." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSTuningTrial": { +"description": "Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.", +"id": "XPSTuningTrial", +"properties": { +"modelStructure": { +"$ref": "XPSTablesModelStructure", +"description": "Model parameters for the trial." +}, +"trainingObjectivePoint": { +"$ref": "XPSTrainingObjectivePoint", +"description": "The optimization objective evaluation of the eval split data." +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntry": { +"description": "The Evaluation metrics entry given a specific precision_window_length.", +"id": "XPSVideoActionMetricsEntry", +"properties": { +"confidenceMetricsEntries": { +"description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSVideoActionMetricsEntryConfidenceMetricsEntry" +}, +"type": "array" +}, +"meanAveragePrecision": { +"description": "The mean average precision.", +"format": "float", +"type": "number" +}, +"precisionWindowLength": { +"description": "This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoActionMetricsEntryConfidenceMetricsEntry": { +"description": "Metrics for a single confidence threshold.", +"id": "XPSVideoActionMetricsEntryConfidenceMetricsEntry", +"properties": { +"confidenceThreshold": { +"description": "Output only. The confidence threshold value used to compute the metrics.", +"format": "float", +"type": "number" +}, +"f1Score": { +"description": "Output only. The harmonic mean of recall and precision.", +"format": "float", +"type": "number" +}, +"precision": { +"description": "Output only. Precision for the given confidence threshold.", +"format": "float", +"type": "number" +}, +"recall": { +"description": "Output only. Recall for the given confidence threshold.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionEvaluationMetrics": { +"description": "Model evaluation metrics for video action recognition.", +"id": "XPSVideoActionRecognitionEvaluationMetrics", +"properties": { +"evaluatedActionCount": { +"description": "Output only. The number of ground truth actions used to create this evaluation.", +"format": "int32", +"type": "integer" +}, +"videoActionMetricsEntries": { +"description": "Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s.", +"items": { +"$ref": "XPSVideoActionMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoActionRecognitionTrainResponse": { +"id": "XPSVideoActionRecognitionTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoBatchPredictOperationMetadata": { +"id": "XPSVideoBatchPredictOperationMetadata", +"properties": { +"outputExamples": { +"description": "All the partial batch prediction results that are completed at the moment. Output examples are sorted by completion time. The order will not be changed. Each output example should be the path of a single RecordIO file of AnnotatedExamples.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoClassificationTrainResponse": { +"id": "XPSVideoClassificationTrainResponse", +"properties": { +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoExportModelSpec": { +"description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", +"id": "XPSVideoExportModelSpec", +"properties": { +"exportModelOutputConfig": { +"description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", +"items": { +"$ref": "XPSExportModelOutputConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoModelArtifactSpec": { +"id": "XPSVideoModelArtifactSpec", +"properties": { +"exportArtifact": { +"description": "The model binary files in different formats for model export.", +"items": { +"$ref": "XPSModelArtifactItem" +}, +"type": "array" +}, +"servingArtifact": { +"$ref": "XPSModelArtifactItem", +"description": "The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API." +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingEvaluationMetrics": { +"description": "Model evaluation metrics for ObjectTracking problems. Next tag: 10.", +"id": "XPSVideoObjectTrackingEvaluationMetrics", +"properties": { +"boundingBoxMeanAveragePrecision": { +"description": "Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", +"format": "float", +"type": "number" +}, +"boundingBoxMetricsEntries": { +"description": "Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSBoundingBoxMetricsEntry" +}, +"type": "array" +}, +"evaluatedBoundingboxCount": { +"description": "The number of bounding boxes used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedFrameCount": { +"description": "The number of video frames used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"evaluatedTrackCount": { +"description": "The number of tracks used for model evaluation.", +"format": "int32", +"type": "integer" +}, +"trackMeanAveragePrecision": { +"description": "Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanBoundingBoxIou": { +"description": "Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMeanMismatchRate": { +"description": "Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries.", +"format": "float", +"type": "number" +}, +"trackMetricsEntries": { +"description": "Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", +"items": { +"$ref": "XPSTrackMetricsEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"XPSVideoObjectTrackingTrainResponse": { +"id": "XPSVideoObjectTrackingTrainResponse", +"properties": { +"exportModelSpec": { +"$ref": "XPSVideoExportModelSpec", +"description": "Populated for AutoML request only." +}, +"modelArtifactSpec": { +"$ref": "XPSVideoModelArtifactSpec", +"description": "## The fields below are only populated under uCAIP request scope." +}, +"trainCostNodeSeconds": { +"description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVideoTrainingOperationMetadata": { +"id": "XPSVideoTrainingOperationMetadata", +"properties": { +"trainCostMilliNodeHour": { +"description": "This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionErrorAnalysisConfig": { +"description": "The vision model error analysis configuration. Next tag: 3", +"id": "XPSVisionErrorAnalysisConfig", +"properties": { +"exampleCount": { +"description": "The number of query examples in error analysis.", +"format": "int32", +"type": "integer" +}, +"queryType": { +"description": "The query type used in retrieval. The enum values are frozen in the foreseeable future.", +"enum": [ +"QUERY_TYPE_UNSPECIFIED", +"QUERY_TYPE_ALL_SIMILAR", +"QUERY_TYPE_SAME_CLASS_SIMILAR", +"QUERY_TYPE_SAME_CLASS_DISSIMILAR" +], +"enumDescriptions": [ +"Unspecified query type for model error analysis.", +"Query similar samples across all classes in the dataset.", +"Query similar samples from the same class of the input sample.", +"Query dissimilar samples from the same class of the input sample." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSVisionTrainingOperationMetadata": { +"deprecated": true, +"id": "XPSVisionTrainingOperationMetadata", +"properties": { +"explanationUsage": { +"$ref": "InfraUsage", +"description": "Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training request." +} +}, +"type": "object" +}, +"XPSVisualization": { +"deprecated": true, +"description": "Visualization configurations for image explanation.", +"id": "XPSVisualization", +"properties": { +"clipPercentLowerbound": { +"description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", +"format": "float", +"type": "number" +}, +"clipPercentUpperbound": { +"description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", +"format": "float", +"type": "number" +}, +"colorMap": { +"description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", +"enum": [ +"COLOR_MAP_UNSPECIFIED", +"PINK_GREEN", +"VIRIDIS", +"RED", +"GREEN", +"RED_GREEN", +"PINK_WHITE_GREEN" +], +"enumDescriptions": [ +"Should not be used.", +"Positive: green. Negative: pink.", +"Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", +"Positive: red. Negative: red.", +"Positive: green. Negative: green.", +"Positive: green. Negative: red.", +"PiYG palette." +], +"type": "string" +}, +"overlayType": { +"description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", +"enum": [ +"OVERLAY_TYPE_UNSPECIFIED", +"NONE", +"ORIGINAL", +"GRAYSCALE", +"MASK_BLACK" +], +"enumDescriptions": [ +"Default value. This is the same as NONE.", +"No overlay.", +"The attributions are shown on top of the original image.", +"The attributions are shown on top of grayscaled version of the original image.", +"The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." +], +"type": "string" +}, +"polarity": { +"description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", +"enum": [ +"POLARITY_UNSPECIFIED", +"POSITIVE", +"NEGATIVE", +"BOTH" +], +"enumDescriptions": [ +"Default value. This is the same as POSITIVE.", +"Highlights the pixels/outlines that were most influential to the model's prediction.", +"Setting polarity to negative highlights areas that does not lead to the models's current prediction.", +"Shows both positive and negative attributions." +], +"type": "string" +}, +"type": { +"description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", +"enum": [ +"TYPE_UNSPECIFIED", +"PIXELS", +"OUTLINES" +], +"enumDescriptions": [ +"Should not be used.", +"Shows which pixel contributed to the image prediction.", +"Shows which region contributed to the image prediction by outlining the region." +], +"type": "string" +} +}, +"type": "object" +}, +"XPSXpsOperationMetadata": { +"id": "XPSXpsOperationMetadata", +"properties": { +"exampleCount": { +"description": "Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data importing, batch prediction).", +"format": "int64", +"type": "string" +}, +"reportingMetrics": { +"$ref": "XPSReportingMetrics", +"description": "Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist if it's not empty, regardless of the response content or error type. If user is supposed to be charged in case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any billing, this field should be left unset." +}, +"tablesTrainingOperationMetadata": { +"$ref": "XPSTablesTrainingOperationMetadata" +}, +"videoBatchPredictOperationMetadata": { +"$ref": "XPSVideoBatchPredictOperationMetadata" +}, +"videoTrainingOperationMetadata": { +"$ref": "XPSVideoTrainingOperationMetadata" +}, +"visionTrainingOperationMetadata": { +"$ref": "XPSVisionTrainingOperationMetadata" +} +}, +"type": "object" +}, +"XPSXraiAttribution": { +"deprecated": true, +"description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE).", +"id": "XPSXraiAttribution", +"properties": { +"stepCount": { +"description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Natural Language API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/libraryagent.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/libraryagent.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..78548039b50a8bce101fa2bdce5bf0a12dc689fa --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/libraryagent.v1.json @@ -0,0 +1,364 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://libraryagent.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Libraryagent", +"description": "A simple Google Example Library API.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/docs/quota", +"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": "libraryagent:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://libraryagent.mtls.googleapis.com/", +"name": "libraryagent", +"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": { +"shelves": { +"methods": { +"get": { +"description": "Gets a shelf. Returns NOT_FOUND if the shelf does not exist.", +"flatPath": "v1/shelves/{shelvesId}", +"httpMethod": "GET", +"id": "libraryagent.shelves.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the shelf to retrieve.", +"location": "path", +"pattern": "^shelves/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleExampleLibraryagentV1Shelf" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists shelves. The order is unspecified but deterministic. Newly created shelves will not necessarily be added to the end of this list.", +"flatPath": "v1/shelves", +"httpMethod": "GET", +"id": "libraryagent.shelves.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer shelves than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListShelvesResponse.next_page_token returned from the previous call to `ListShelves` method.", +"location": "query", +"type": "string" +} +}, +"path": "v1/shelves", +"response": { +"$ref": "GoogleExampleLibraryagentV1ListShelvesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"books": { +"methods": { +"borrow": { +"description": "Borrow a book from the library. Returns the book if it is borrowed successfully. Returns NOT_FOUND if the book does not exist in the library. Returns quota exceeded error if the amount of books borrowed exceeds allocation quota in any dimensions.", +"flatPath": "v1/shelves/{shelvesId}/books/{booksId}:borrow", +"httpMethod": "POST", +"id": "libraryagent.shelves.books.borrow", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the book to borrow.", +"location": "path", +"pattern": "^shelves/[^/]+/books/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:borrow", +"response": { +"$ref": "GoogleExampleLibraryagentV1Book" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a book. Returns NOT_FOUND if the book does not exist.", +"flatPath": "v1/shelves/{shelvesId}/books/{booksId}", +"httpMethod": "GET", +"id": "libraryagent.shelves.books.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the book to retrieve.", +"location": "path", +"pattern": "^shelves/[^/]+/books/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleExampleLibraryagentV1Book" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists books in a shelf. The order is unspecified but deterministic. Newly created books will not necessarily be added to the end of this list. Returns NOT_FOUND if the shelf does not exist.", +"flatPath": "v1/shelves/{shelvesId}/books", +"httpMethod": "GET", +"id": "libraryagent.shelves.books.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Requested page size. Server may return fewer books than requested. If unspecified, server will pick an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListBooksResponse.next_page_token. returned from the previous call to `ListBooks` method.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the shelf whose books we'd like to list.", +"location": "path", +"pattern": "^shelves/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/books", +"response": { +"$ref": "GoogleExampleLibraryagentV1ListBooksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"return": { +"description": "Return a book to the library. Returns the book if it is returned to the library successfully. Returns error if the book does not belong to the library or the users didn't borrow before.", +"flatPath": "v1/shelves/{shelvesId}/books/{booksId}:return", +"httpMethod": "POST", +"id": "libraryagent.shelves.books.return", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the book to return.", +"location": "path", +"pattern": "^shelves/[^/]+/books/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:return", +"response": { +"$ref": "GoogleExampleLibraryagentV1Book" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://libraryagent.googleapis.com/", +"schemas": { +"GoogleExampleLibraryagentV1Book": { +"description": "A single book in the library.", +"id": "GoogleExampleLibraryagentV1Book", +"properties": { +"author": { +"description": "The name of the book author.", +"type": "string" +}, +"name": { +"description": "The resource name of the book. Book names have the form `shelves/{shelf_id}/books/{book_id}`. The name is ignored when creating a book.", +"type": "string" +}, +"read": { +"description": "Value indicating whether the book has been read.", +"type": "boolean" +}, +"title": { +"description": "The title of the book.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleExampleLibraryagentV1ListBooksResponse": { +"description": "Response message for LibraryAgent.ListBooks.", +"id": "GoogleExampleLibraryagentV1ListBooksResponse", +"properties": { +"books": { +"description": "The list of books.", +"items": { +"$ref": "GoogleExampleLibraryagentV1Book" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass this value in the ListBooksRequest.page_token field in the subsequent call to `ListBooks` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleExampleLibraryagentV1ListShelvesResponse": { +"description": "Response message for LibraryAgent.ListShelves.", +"id": "GoogleExampleLibraryagentV1ListShelvesResponse", +"properties": { +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass this value in the ListShelvesRequest.page_token field in the subsequent call to `ListShelves` method to retrieve the next page of results.", +"type": "string" +}, +"shelves": { +"description": "The list of shelves.", +"items": { +"$ref": "GoogleExampleLibraryagentV1Shelf" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleExampleLibraryagentV1Shelf": { +"description": "A Shelf contains a collection of books with a theme.", +"id": "GoogleExampleLibraryagentV1Shelf", +"properties": { +"name": { +"description": "Output only. The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ignored when creating a shelf.", +"type": "string" +}, +"theme": { +"description": "The theme of the shelf", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Library Agent API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/looker.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/looker.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c93801e77ed6c6c17b6263821f6b93eb6d831a28 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/looker.v1.json @@ -0,0 +1,1704 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://looker.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Looker", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/looker/docs/reference/rest/", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "looker:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://looker.mtls.googleapis.com/", +"name": "looker", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "looker.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "looker.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"instances": { +"methods": { +"create": { +"description": "Creates a new Instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. The unique instance identifier. Must contain only lowercase letters, numbers, or hyphens, with the first character a letter and the last a letter or a number. 63 characters maximum.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "looker.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "Whether to force cascading delete.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Export instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:export", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.export", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:export", +"request": { +"$ref": "ExportInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "looker.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Import instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:import", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.import", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:import", +"request": { +"$ref": "ImportInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Instances in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "looker.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of instances to return. If unspecified at most 256 will be returned. The maximum possible value is 2048.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous ListInstancesRequest.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "PATCH", +"id": "looker.projects.locations.instances.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Field mask used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restart": { +"description": "Restart instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restart", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.restart", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restart", +"request": { +"$ref": "RestartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restore Looker instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Instance being restored Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restore", +"request": { +"$ref": "RestoreInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Backup Looker instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups", +"httpMethod": "POST", +"id": "looker.projects.locations.instances.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "InstanceBackup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete backup.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "looker.projects.locations.instances.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "looker.projects.locations.instances.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}/backups/{backup}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InstanceBackup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List backups of Looker instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups", +"httpMethod": "GET", +"id": "looker.projects.locations.instances.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"orderBy": { +"description": "Sort results. Default order is \"create_time desc\". Other supported fields are \"state\" and \"expire_time\". https://google.aip.dev/132#ordering", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of instances to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from a previous ListInstances request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListInstanceBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "looker.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "looker.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "looker.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "looker.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260216", +"rootUrl": "https://looker.googleapis.com/", +"schemas": { +"AdminSettings": { +"description": "Looker instance Admin settings fields.", +"id": "AdminSettings", +"properties": { +"allowedEmailDomains": { +"description": "Email domain allowlist for the instance.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ControlledEgressConfig": { +"description": "Controlled egress configuration.", +"id": "ControlledEgressConfig", +"properties": { +"egressFqdns": { +"description": "Optional. List of fully qualified domain names to be added to the allowlist for outbound traffic.", +"items": { +"type": "string" +}, +"type": "array" +}, +"marketplaceEnabled": { +"description": "Optional. Whether marketplace is enabled.", +"type": "boolean" +}, +"webProxyIps": { +"description": "Output only. The list of IP addresses used by Secure Web Proxy for outbound traffic.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"CustomDomain": { +"description": "Custom domain information.", +"id": "CustomDomain", +"properties": { +"domain": { +"description": "Domain name.", +"type": "string" +}, +"state": { +"description": "Domain state.", +"enum": [ +"CUSTOM_DOMAIN_STATE_UNSPECIFIED", +"UNVERIFIED", +"VERIFIED", +"MODIFYING", +"AVAILABLE", +"UNAVAILABLE", +"UNKNOWN" +], +"enumDescriptions": [ +"Unspecified state.", +"DNS record is not created.", +"DNS record is created.", +"Calling SLM to update.", +"ManagedCertificate is ready.", +"ManagedCertificate is not ready.", +"Status is not known." +], +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "Specifies the maintenance denial period.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Required. End date of the deny maintenance period." +}, +"startDate": { +"$ref": "Date", +"description": "Required. Start date of the deny maintenance period." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Required. Time in UTC when the period starts and ends." +} +}, +"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" +}, +"EncryptionConfig": { +"description": "Encryption configuration (i.e. CMEK).", +"id": "EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Name of the CMEK key in KMS (input parameter).", +"type": "string" +}, +"kmsKeyNameVersion": { +"description": "Output only. Full name and version of the CMEK key currently in use to encrypt Looker data. Format: `projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`. Empty if CMEK is not configured in this instance.", +"readOnly": true, +"type": "string" +}, +"kmsKeyState": { +"description": "Output only. Status of the CMEK key.", +"enum": [ +"KMS_KEY_STATE_UNSPECIFIED", +"VALID", +"REVOKED" +], +"enumDescriptions": [ +"CMEK status not specified.", +"CMEK key is currently valid.", +"CMEK key is currently revoked (instance should in restricted mode)." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExportEncryptionConfig": { +"description": "Configuration for Encryption - e.g. CMEK.", +"id": "ExportEncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "Required. Name of the CMEK key in KMS.", +"type": "string" +} +}, +"type": "object" +}, +"ExportInstanceRequest": { +"description": "Request options for exporting data of an Instance.", +"id": "ExportInstanceRequest", +"properties": { +"encryptionConfig": { +"$ref": "ExportEncryptionConfig", +"description": "Required. Encryption configuration (CMEK). For CMEK enabled instances it should be same as looker CMEK." +}, +"gcsUri": { +"description": "The path to the folder in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/folderName`.", +"type": "string" +} +}, +"type": "object" +}, +"ExportMetadata": { +"description": "ExportMetadata represents the metadata of the exported artifacts. The metadata.json file in export artifact can be parsed as this message", +"id": "ExportMetadata", +"properties": { +"exportEncryptionKey": { +"$ref": "ExportMetadataEncryptionKey", +"description": "Encryption key that was used to encrypt the export artifacts." +}, +"filePaths": { +"description": "List of files created as part of export artifact (excluding the metadata). The paths are relative to the folder containing the metadata.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lookerEncryptionKey": { +"description": "Looker encryption key, encrypted with the provided export encryption key. This value will only be populated if the looker instance uses Looker managed encryption instead of CMEK.", +"type": "string" +}, +"lookerInstance": { +"description": "Name of the exported instance. Format: projects/{project}/locations/{location}/instances/{instance}", +"type": "string" +}, +"lookerPlatformEdition": { +"description": "Platform edition of the exported instance.", +"type": "string" +}, +"lookerVersion": { +"description": "Version of instance when the export was created.", +"type": "string" +}, +"source": { +"description": "The source type of the migration.", +"enum": [ +"SOURCE_UNSPECIFIED", +"LOOKER_CORE", +"LOOKER_ORIGINAL" +], +"enumDescriptions": [ +"Source not specified", +"Source of export is Looker Core", +"Source of export is Looker Original" +], +"type": "string" +} +}, +"type": "object" +}, +"ExportMetadataEncryptionKey": { +"description": "Encryption key details for the exported artifact.", +"id": "ExportMetadataEncryptionKey", +"properties": { +"cmek": { +"description": "Name of the CMEK.", +"type": "string" +}, +"version": { +"description": "Version of the CMEK.", +"type": "string" +} +}, +"type": "object" +}, +"ImportInstanceRequest": { +"description": "Requestion options for importing looker data to an Instance", +"id": "ImportInstanceRequest", +"properties": { +"gcsUri": { +"description": "Path to the import folder in Google Cloud Storage, in the form `gs://bucketName/folderName`.", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "A Looker instance.", +"id": "Instance", +"properties": { +"adminSettings": { +"$ref": "AdminSettings", +"description": "Looker Instance Admin settings." +}, +"classType": { +"description": "Optional. Storage class of the instance.", +"enum": [ +"CLASS_TYPE_UNSPECIFIED", +"R1", +"P1" +], +"enumDescriptions": [ +"Unspecified storage class.", +"Filestore.", +"PD SSD." +], +"type": "string" +}, +"consumerNetwork": { +"description": "Network name in the consumer project. Format: `projects/{project}/global/networks/{network}`. Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance.", +"type": "string" +}, +"controlledEgressConfig": { +"$ref": "ControlledEgressConfig", +"description": "Optional. Controlled egress configuration." +}, +"controlledEgressEnabled": { +"description": "Optional. Whether controlled egress is enabled on the Looker instance.", +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time when the Looker instance provisioning was first requested.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customDomain": { +"$ref": "CustomDomain", +"description": "Custom domain configuration for the instance." +}, +"denyMaintenancePeriod": { +"$ref": "DenyMaintenancePeriod", +"description": "Maintenance denial period for this instance." +}, +"egressPublicIp": { +"description": "Output only. Public Egress IP (IPv4).", +"readOnly": true, +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Encryption configuration (CMEK). Only set if CMEK has been enabled on the instance." +}, +"fipsEnabled": { +"description": "Optional. Whether FIPS is enabled on the Looker instance.", +"type": "boolean" +}, +"geminiEnabled": { +"description": "Optional. Whether Gemini feature is enabled on the Looker instance or not.", +"type": "boolean" +}, +"ingressPrivateIp": { +"description": "Output only. Private Ingress IP (IPv4).", +"readOnly": true, +"type": "string" +}, +"ingressPublicIp": { +"description": "Output only. Public Ingress IP (IPv4).", +"readOnly": true, +"type": "string" +}, +"lastDenyMaintenancePeriod": { +"$ref": "DenyMaintenancePeriod", +"description": "Output only. Last computed maintenance denial period for this instance.", +"readOnly": true +}, +"linkedLspProjectNumber": { +"description": "Optional. Linked Google Cloud Project Number for Looker Studio Pro.", +"format": "int64", +"type": "string" +}, +"lookerUri": { +"description": "Output only. Looker instance URI which can be used to access the Looker Instance UI.", +"readOnly": true, +"type": "string" +}, +"lookerVersion": { +"description": "Output only. The Looker version that the instance is using.", +"readOnly": true, +"type": "string" +}, +"maintenanceSchedule": { +"$ref": "MaintenanceSchedule", +"description": "Maintenance schedule for this instance." +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Maintenance window for this instance." +}, +"name": { +"description": "Output only. Format: `projects/{project}/locations/{location}/instances/{instance}`.", +"readOnly": true, +"type": "string" +}, +"oauthConfig": { +"$ref": "OAuthConfig", +"description": "Looker instance OAuth login settings." +}, +"periodicExportConfig": { +"$ref": "PeriodicExportConfig", +"description": "Optional. Configuration for periodic export." +}, +"platformEdition": { +"description": "Platform edition.", +"enum": [ +"PLATFORM_EDITION_UNSPECIFIED", +"LOOKER_CORE_TRIAL", +"LOOKER_CORE_STANDARD", +"LOOKER_CORE_STANDARD_ANNUAL", +"LOOKER_CORE_ENTERPRISE_ANNUAL", +"LOOKER_CORE_EMBED_ANNUAL", +"LOOKER_CORE_NONPROD_STANDARD_ANNUAL", +"LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL", +"LOOKER_CORE_NONPROD_EMBED_ANNUAL", +"LOOKER_CORE_TRIAL_STANDARD", +"LOOKER_CORE_TRIAL_ENTERPRISE", +"LOOKER_CORE_TRIAL_EMBED" +], +"enumDescriptions": [ +"Platform edition is unspecified.", +"Trial.", +"Standard.", +"Subscription Standard.", +"Subscription Enterprise.", +"Subscription Embed.", +"Nonprod Subscription Standard.", +"Nonprod Subscription Enterprise.", +"Nonprod Subscription Embed.", +"Trial Standard.", +"Trial Enterprise.", +"Trial Embed." +], +"type": "string" +}, +"privateIpEnabled": { +"description": "Whether private IP is enabled on the Looker instance.", +"type": "boolean" +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "Optional. PSC configuration. Used when `psc_enabled` is true." +}, +"pscEnabled": { +"description": "Optional. Whether to use Private Service Connect (PSC) for private IP connectivity. If true, neither `public_ip_enabled` nor `private_ip_enabled` can be true.", +"type": "boolean" +}, +"publicIpEnabled": { +"description": "Whether public IP is enabled on the Looker instance.", +"type": "boolean" +}, +"reservedRange": { +"description": "Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request.", +"type": "string" +}, +"satisfiesPzi": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"satisfiesPzs": { +"description": "Output only. Reserved for future use.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The state of the instance.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"CREATING", +"FAILED", +"SUSPENDED", +"UPDATING", +"DELETING", +"EXPORTING", +"IMPORTING" +], +"enumDescriptions": [ +"State is unspecified.", +"Instance is active and ready for use.", +"Instance provisioning is in progress.", +"Instance is in a failed state.", +"Instance was suspended.", +"Instance update is in progress.", +"Instance delete is in progress.", +"Instance is being exported.", +"Instance is importing data." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the Looker instance was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userMetadata": { +"$ref": "UserMetadata", +"description": "Optional. User metadata." +} +}, +"type": "object" +}, +"InstanceBackup": { +"description": "The details of a backup resource.", +"id": "InstanceBackup", +"properties": { +"createTime": { +"description": "Output only. The time when the backup was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Output only. Current status of the CMEK encryption", +"readOnly": true +}, +"expireTime": { +"description": "Output only. The time when the backup will be deleted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The relative resource name of the backup, in the following form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}/backups/{backup}`", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is being created.", +"The backup is being deleted.", +"The backup is active and ready to use.", +"The backup failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListInstanceBackupsResponse": { +"description": "Response from listing Looker instance backups.", +"id": "ListInstanceBackupsResponse", +"properties": { +"instanceBackups": { +"description": "The list of instances matching the request filters, up to the requested `page_size`.", +"items": { +"$ref": "InstanceBackup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If provided, a page token that can look up the next `page_size` results. If empty, the results list is exhausted.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response from ListInstances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "The list of instances matching the request filters, up to the requested ListInstancesRequest.pageSize.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If provided, a page token that can look up the next ListInstancesRequest.pageSize results. If empty, the results list is exhausted.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceSchedule": { +"description": "Published upcoming future maintenance schedule.", +"id": "MaintenanceSchedule", +"properties": { +"endTime": { +"description": "The scheduled end time for the maintenance.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The scheduled start time for the maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Specifies the recurring maintenance window.", +"id": "MaintenanceWindow", +"properties": { +"dayOfWeek": { +"description": "Required. Day of the week for this MaintenanceWindow (in UTC).", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Time in UTC when the period starts. Maintenance will be scheduled within 60 minutes." +} +}, +"type": "object" +}, +"OAuthConfig": { +"description": "Looker instance OAuth login settings.", +"id": "OAuthConfig", +"properties": { +"clientId": { +"description": "Input only. Client ID from an external OAuth application. This is an input-only field, and thus will not be set in any responses.", +"type": "string" +}, +"clientSecret": { +"description": "Input only. Client secret from an external OAuth application. This is an input-only field, and thus will not be set in any responses.", +"type": "string" +}, +"sharedOauthClientEnabled": { +"description": "Optional. Whether to use the shared OAuth client. Instances specifying this field do not need to provide client_id and client_secret.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusMessage": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"PeriodicExportConfig": { +"description": "Configuration for periodic export.", +"id": "PeriodicExportConfig", +"properties": { +"gcsUri": { +"description": "Required. Cloud Storage bucket URI for periodic export. Format: gs://{bucket_name}", +"type": "string" +}, +"kmsKey": { +"description": "Required. Name of the CMEK key in KMS. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Required. Time in UTC to start the periodic export job." +} +}, +"type": "object" +}, +"PscConfig": { +"description": "Information for Private Service Connect (PSC) setup for a Looker instance.", +"id": "PscConfig", +"properties": { +"allowedVpcs": { +"description": "Optional. List of VPCs that are allowed ingress into looker. Format: projects/{project}/global/networks/{network}", +"items": { +"type": "string" +}, +"type": "array" +}, +"lookerServiceAttachmentUri": { +"description": "Output only. URI of the Looker service attachment.", +"readOnly": true, +"type": "string" +}, +"serviceAttachments": { +"description": "Optional. List of egress service attachment configurations.", +"items": { +"$ref": "ServiceAttachment" +}, +"type": "array" +} +}, +"type": "object" +}, +"RestartInstanceRequest": { +"description": "Request options for restarting an instance.", +"id": "RestartInstanceRequest", +"properties": {}, +"type": "object" +}, +"RestoreInstanceRequest": { +"description": "Request options for restoring an instance", +"id": "RestoreInstanceRequest", +"properties": { +"backup": { +"description": "Required. Backup being used to restore the instance Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}", +"type": "string" +} +}, +"type": "object" +}, +"ServiceAttachment": { +"description": "Service attachment configuration.", +"id": "ServiceAttachment", +"properties": { +"connectionStatus": { +"description": "Output only. Connection status.", +"enum": [ +"UNKNOWN", +"ACCEPTED", +"PENDING", +"REJECTED", +"NEEDS_ATTENTION", +"CLOSED" +], +"enumDescriptions": [ +"Connection status is unspecified.", +"Connection is established and functioning normally.", +"Connection is not established (Looker tenant project hasn't been allowlisted).", +"Connection is not established (Looker tenant project is explicitly in reject list).", +"Issue with target service attachment, e.g. NAT subnet is exhausted.", +"Target service attachment does not exist. This status is a terminal state." +], +"readOnly": true, +"type": "string" +}, +"failureReason": { +"description": "Output only. Reason the service attachment creation failed. This value will only be populated if the service attachment encounters an issue during provisioning.", +"readOnly": true, +"type": "string" +}, +"localFqdn": { +"description": "Optional. Fully qualified domain name that will be used in the private DNS record created for the service attachment.", +"type": "string" +}, +"localFqdns": { +"description": "Optional. List of fully qualified domain names that will be used in the private DNS record created for the service attachment.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetServiceAttachmentUri": { +"description": "Required. URI of the service attachment to connect to. Format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment}", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UserMetadata": { +"description": "Metadata about users for a Looker instance.", +"id": "UserMetadata", +"properties": { +"additionalDeveloperUserCount": { +"description": "Optional. The number of additional developer users the instance owner has purchased.", +"format": "int32", +"type": "integer" +}, +"additionalStandardUserCount": { +"description": "Optional. The number of additional standard users the instance owner has purchased.", +"format": "int32", +"type": "integer" +}, +"additionalViewerUserCount": { +"description": "Optional. The number of additional viewer users the instance owner has purchased.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Looker (Google Cloud core) API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..e1b9104fc3f82b44589ad4447d71e92e98118ced --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/managedidentities.v1.json @@ -0,0 +1,3257 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://managedidentities.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Managed Service for Microsoft Active Directory Consumer API", +"description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/managed-microsoft-ad/", +"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": "managedidentities:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://managedidentities.mtls.googleapis.com/", +"name": "managedidentities", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"domains": { +"methods": { +"attachTrust": { +"description": "Adds an AD trust to a domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.attachTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:attachTrust", +"request": { +"$ref": "AttachTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkMigrationPermission": { +"description": "CheckMigrationPermission API gets the current state of DomainMigration", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermission", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.checkMigrationPermission", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+domain}:checkMigrationPermission", +"request": { +"$ref": "CheckMigrationPermissionRequest" +}, +"response": { +"$ref": "CheckMigrationPermissionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Microsoft AD domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"domainName": { +"description": "Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: * Must contain only lowercase letters, numbers, periods and hyphens. * Must start with a letter. * Must contain between 2-64 characters. * Must end with a number or a letter. * Must not start with period. * First segment length (mydomain for example above) shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must be unique within the customer project.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource project name and location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/domains", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.domains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"detachTrust": { +"description": "Removes an AD trust.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.detachTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:detachTrust", +"request": { +"$ref": "DetachTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"disableMigration": { +"description": "Disable Domain Migration", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.disableMigration", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+domain}:disableMigration", +"request": { +"$ref": "DisableMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"domainJoinMachine": { +"description": "DomainJoinMachine API joins a Compute Engine VM to the domain", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.domainJoinMachine", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+domain}:domainJoinMachine", +"request": { +"$ref": "DomainJoinMachineRequest" +}, +"response": { +"$ref": "DomainJoinMachineResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"enableMigration": { +"description": "Enable Domain Migration", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.enableMigration", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+domain}:enableMigration", +"request": { +"$ref": "EnableMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"extendSchema": { +"description": "Extend Schema for Domain", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.extendSchema", +"parameterOrder": [ +"domain" +], +"parameters": { +"domain": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+domain}:extendSchema", +"request": { +"$ref": "ExtendSchemaRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Domain" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getLdapssettings": { +"description": "Gets the domain ldaps settings.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/ldapssettings", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.getLdapssettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/ldapssettings", +"response": { +"$ref": "LDAPSSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists domains in a project.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter specifying constraints of a list operation. For example, `Domain.fqdn=\"mydomain.myorginization\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used. Regardless of the page_size value, the response may include a partial list. Callers should rely on a response's next_page_token to determine if there are additional results to list.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The `next_page_token` value returned from a previous ListDomainsRequest request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the domain location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/domains", +"response": { +"$ref": "ListDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the metadata and configuration of a domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include fields from Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Domain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reconfigureTrust": { +"description": "Updates the DNS conditional forwarder.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.reconfigureTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reconfigureTrust", +"request": { +"$ref": "ReconfigureTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resetAdminPassword": { +"description": "Resets a domain's administrator password.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPassword", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.resetAdminPassword", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:resetAdminPassword", +"request": { +"$ref": "ResetAdminPasswordRequest" +}, +"response": { +"$ref": "ResetAdminPasswordResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "RestoreDomain restores domain backup mentioned in the RestoreDomainRequest", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:restore", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.restore", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name for the domain to which the backup belongs", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:restore", +"request": { +"$ref": "RestoreDomainRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.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/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.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/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateLdapssettings": { +"description": "Patches a single ldaps settings.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/ldapssettings", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.updateLdapssettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/ldapssettings", +"request": { +"$ref": "LDAPSSettings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"validateTrust": { +"description": "Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrust", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.validateTrust", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:validateTrust", +"request": { +"$ref": "ValidateTrustRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a Backup for a domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes identified Backup.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.domains.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The backup resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Backup.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The backup resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}/backups/{backup_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Backup in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The `next_page_token` value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the labels for specified Backup.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.domains.backups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The unique name of the Backup in the form of `projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Backup: * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.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/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.domains.backups.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/global/domains/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sqlIntegrations": { +"methods": { +"get": { +"description": "Gets details of a single sqlIntegration.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrations/{sqlIntegrationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.sqlIntegrations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. SQLIntegration resource name using the form: `projects/{project_id}/locations/global/domains/{domain}/sqlIntegrations/{name}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+/sqlIntegrations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "SqlIntegration" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists SqlIntegrations in a given domain.", +"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.domains.sqlIntegrations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. For example, `SqlIntegration.name=\"sql\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response'ANIZATIONs next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the SqlIntegrations using the form: `projects/{project_id}/locations/global/domains/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/sqlIntegrations", +"response": { +"$ref": "ListSqlIntegrationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations/{operationsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/global/operations", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"peerings": { +"methods": { +"create": { +"description": "Creates a Peering for Managed AD instance.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource project name and location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"peeringId": { +"description": "Required. Peering Id, unique name to identify peering. It should follow the regex format \"^(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)$\"", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/peerings", +"request": { +"$ref": "Peering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes identified Peering.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "DELETE", +"id": "managedidentities.projects.locations.global.peerings.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Peering.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Peering resource name using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Peering" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:getIamPolicy", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Peerings in a given project.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings", +"httpMethod": "GET", +"id": "managedidentities.projects.locations.global.peerings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. For example, `peering.authorized_network=\"projects/myprojectid/global/networks/mynetwork\"`.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The next_page_token value returned from a previous List request, if any.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the peering location using the form: `projects/{project_id}/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/peerings", +"response": { +"$ref": "ListPeeringsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the labels for specified Peering.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}", +"httpMethod": "PATCH", +"id": "managedidentities.projects.locations.global.peerings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/peerings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from Peering: * `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Peering" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:setIamPolicy", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.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/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/peerings/{peeringsId}:testIamPermissions", +"httpMethod": "POST", +"id": "managedidentities.projects.locations.global.peerings.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/global/peerings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260202", +"rootUrl": "https://managedidentities.googleapis.com/", +"schemas": { +"AttachTrustRequest": { +"description": "Request message for AttachTrust", +"id": "AttachTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "Required. The domain trust resource." +} +}, +"type": "object" +}, +"Backup": { +"description": "Represents a Managed Microsoft Identities backup.", +"id": "Backup", +"properties": { +"createTime": { +"description": "Output only. The time the backups was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata.", +"type": "object" +}, +"name": { +"description": "Output only. The unique name of the Backup in the form of `projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"FAILED", +"DELETING" +], +"enumDescriptions": [ +"Not set.", +"Backup is being created.", +"Backup has been created and validated.", +"Backup has been created but failed validation.", +"Backup is being deleted." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this backup, if available.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. Indicates whether it\u2019s an on-demand backup or scheduled.", +"enum": [ +"TYPE_UNSPECIFIED", +"ON_DEMAND", +"SCHEDULED" +], +"enumDescriptions": [ +"Backup was manually created.", +"Backup was manually created.", +"Backup was automatically created." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Certificate": { +"description": "Certificate used to configure LDAPS.", +"id": "Certificate", +"properties": { +"expireTime": { +"description": "The certificate expire time.", +"format": "google-datetime", +"type": "string" +}, +"issuingCertificate": { +"$ref": "Certificate", +"description": "The issuer of this certificate." +}, +"subject": { +"description": "The certificate subject.", +"type": "string" +}, +"subjectAlternativeName": { +"description": "The additional hostnames for the domain.", +"items": { +"type": "string" +}, +"type": "array" +}, +"thumbprint": { +"description": "The certificate thumbprint which uniquely identifies the certificate.", +"type": "string" +} +}, +"type": "object" +}, +"CheckMigrationPermissionRequest": { +"description": "CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.", +"id": "CheckMigrationPermissionRequest", +"properties": {}, +"type": "object" +}, +"CheckMigrationPermissionResponse": { +"description": "CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.", +"id": "CheckMigrationPermissionResponse", +"properties": { +"onpremDomains": { +"description": "The state of SID filtering of all the domains which has trust established.", +"items": { +"$ref": "OnPremDomainSIDDetails" +}, +"type": "array" +}, +"state": { +"description": "The state of DomainMigration.", +"enum": [ +"STATE_UNSPECIFIED", +"DISABLED", +"ENABLED", +"NEEDS_MAINTENANCE" +], +"enumDescriptions": [ +"DomainMigration is in unspecified state.", +"Domain Migration is Disabled.", +"Domain Migration is Enabled.", +"Domain Migration is not in valid state." +], +"type": "string" +} +}, +"type": "object" +}, +"DailyCycle": { +"description": "Time window specified for daily operations.", +"id": "DailyCycle", +"properties": { +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the day to start the operations." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DenyMaintenancePeriod": { +"description": "DenyMaintenancePeriod definition. Maintenance is forbidden within the deny period. The start_date must be less than the end_date.", +"id": "DenyMaintenancePeriod", +"properties": { +"endDate": { +"$ref": "Date", +"description": "Deny period end date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be before the end." +}, +"startDate": { +"$ref": "Date", +"description": "Deny period start date. This can be: * A full date, with non-zero year, month and day values. * A month and day value, with a zero year. Allows recurring deny periods each year. Date matching this period will have to be the same or after the start." +}, +"time": { +"$ref": "TimeOfDay", +"description": "Time in UTC when the Blackout period starts on start_date and ends on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC" +} +}, +"type": "object" +}, +"DetachTrustRequest": { +"description": "Request message for DetachTrust", +"id": "DetachTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "Required. The domain trust resource to removed." +} +}, +"type": "object" +}, +"DisableMigrationRequest": { +"description": "DisableMigrationRequest is the request message for DisableMigration method.", +"id": "DisableMigrationRequest", +"properties": {}, +"type": "object" +}, +"Domain": { +"description": "Represents a managed Microsoft Active Directory domain. If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "Domain", +"properties": { +"admin": { +"description": "Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.", +"type": "string" +}, +"auditLogsEnabled": { +"description": "Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled.", +"type": "boolean" +}, +"authorizedNetworks": { +"description": "Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.", +"items": { +"type": "string" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"fqdn": { +"description": "Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels that can contain user-provided metadata.", +"type": "object" +}, +"locations": { +"description": "Required. Locations where domain needs to be provisioned. The locations can be specified according to https://cloud.google.com/compute/docs/regions-zones, such as `us-west1` or `us-east4`. Each domain supports up to 4 locations, separated by commas. Each location will use a /26 block.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.", +"type": "string" +}, +"reservedIpRange": { +"description": "Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].", +"type": "string" +}, +"state": { +"description": "Output only. The current state of this domain.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"DELETING", +"REPAIRING", +"PERFORMING_MAINTENANCE", +"UNAVAILABLE" +], +"enumDescriptions": [ +"Not set.", +"The domain is being created.", +"The domain has been created and is fully usable.", +"The domain's configuration is being updated.", +"The domain is being deleted.", +"The domain is being repaired and may be unusable. Details can be found in the `status_message` field.", +"The domain is undergoing maintenance.", +"The domain is not serving requests." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this domain, if available.", +"readOnly": true, +"type": "string" +}, +"trusts": { +"description": "Output only. The current trusts associated with the domain.", +"items": { +"$ref": "Trust" +}, +"readOnly": true, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DomainJoinMachineRequest": { +"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method", +"id": "DomainJoinMachineRequest", +"properties": { +"force": { +"description": "Optional. force if True, forces domain join even if the computer account already exists.", +"type": "boolean" +}, +"ouName": { +"description": "Optional. OU name where the VM needs to be domain joined", +"type": "string" +}, +"vmIdToken": { +"description": "Required. Full instance id token of compute engine VM to verify instance identity. More about this: https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature", +"type": "string" +} +}, +"type": "object" +}, +"DomainJoinMachineResponse": { +"description": "DomainJoinMachineResponse is the response message for DomainJoinMachine method", +"id": "DomainJoinMachineResponse", +"properties": { +"domainJoinBlob": { +"description": "Offline domain join blob as the response", +"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" +}, +"EnableMigrationRequest": { +"description": "EnableMigrationRequest is the request message for EnableMigration method.", +"id": "EnableMigrationRequest", +"properties": { +"migratingDomains": { +"description": "Required. List of the on-prem domains to be migrated.", +"items": { +"$ref": "OnPremDomainDetails" +}, +"type": "array" +} +}, +"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" +}, +"ExtendSchemaRequest": { +"description": "ExtendSchemaRequest is the request message for ExtendSchema method.", +"id": "ExtendSchemaRequest", +"properties": { +"description": { +"description": "Required. Description for Schema Change.", +"type": "string" +}, +"fileContents": { +"description": "File uploaded as a byte stream input.", +"format": "byte", +"type": "string" +}, +"gcsPath": { +"description": "File stored in Cloud Storage bucket and represented in the form projects/{project_id}/buckets/{bucket_name}/objects/{object_name} File should be in the same project as the domain.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1alpha1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1alpha1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudManagedidentitiesV1beta1OpMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudManagedidentitiesV1beta1OpMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1Instance": { +"description": "Instance represents the interface for SLM services to actuate the state of control plane resources. Example Instance in JSON, where consumer-project-number=123456, producer-project-id=cloud-sql: ```json Instance: { \"name\": \"projects/123456/locations/us-east1/instances/prod-instance\", \"create_time\": { \"seconds\": 1526406431, }, \"labels\": { \"env\": \"prod\", \"foo\": \"bar\" }, \"state\": READY, \"software_versions\": { \"software_update\": \"cloud-sql-09-28-2018\", }, \"maintenance_policy_names\": { \"UpdatePolicy\": \"projects/123456/locations/us-east1/maintenancePolicies/prod-update-policy\", } \"tenant_project_id\": \"cloud-sql-test-tenant\", \"producer_metadata\": { \"cloud-sql-tier\": \"basic\", \"cloud-sql-instance-size\": \"1G\", }, \"provisioned_resources\": [ { \"resource-type\": \"compute-instance\", \"resource-url\": \"https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-b/instances/vm-1\", } ], \"maintenance_schedules\": { \"csa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, }, \"ncsa_rollout\": { \"start_time\": { \"seconds\": 1526406431, }, \"end_time\": { \"seconds\": 1535406431, }, } }, \"consumer_defined_name\": \"my-sql-instance1\", } ``` LINT.IfChange", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1Instance", +"properties": { +"consumerDefinedName": { +"description": "consumer_defined_name is the name of the instance set by the service consumers. Generally this is different from the `name` field which reperesents the system-assigned id of the instance which the service consumers do not recognize. This is a required field for tenants onboarding to Maintenance Window notifications (go/slm-rollout-maintenance-policies#prerequisites).", +"type": "string" +}, +"consumerProjectNumber": { +"description": "Optional. The consumer_project_number associated with this Apigee instance. This field is added specifically to support Apigee integration with SLM Rollout and UMM. It represents the numerical project ID of the GCP project that consumes this Apigee instance. It is used for SLM rollout notifications and UMM integration, enabling proper mapping to customer projects and log delivery for Apigee instances. This field complements consumer_project_id and may be used for specific Apigee scenarios where the numerical ID is required.", +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp when the resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"instanceType": { +"description": "Optional. The instance_type of this instance of format: projects/{project_number}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"maintenancePolicyNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_settings.maintenance_policies is set.", +"type": "object" +}, +"maintenanceSchedules": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule" +}, +"description": "The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions.", +"type": "object" +}, +"maintenanceSettings": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"description": "Optional. The MaintenanceSettings associated with instance." +}, +"name": { +"description": "Unique name of the resource. It uses the form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}` Note: This name is passed, stored and logged across the rollout system. So use of consumer project_id or any other consumer PII in the name is strongly discouraged for wipeout (go/wipeout) compliance. See go/elysium/project_ids#storage-guidance for more details.", +"type": "string" +}, +"notificationParameters": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter" +}, +"description": "Optional. notification_parameter are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose.", +"type": "object" +}, +"producerMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata.", +"readOnly": true, +"type": "object" +}, +"provisionedResources": { +"description": "Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource" +}, +"readOnly": true, +"type": "array" +}, +"slmInstanceTemplate": { +"description": "Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions.", +"type": "string" +}, +"sloMetadata": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"description": "Output only. SLO metadata for instance classification in the Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for feature description.", +"readOnly": true +}, +"softwareVersions": { +"additionalProperties": { +"type": "string" +}, +"description": "Software versions that are used to deploy this instance. This can be mutated by rollout services.", +"type": "object" +}, +"state": { +"description": "Output only. Current lifecycle state of the resource (e.g. if it's being created or ready to use).", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"READY", +"UPDATING", +"REPAIRING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"Unspecified state.", +"Instance is being created.", +"Instance has been created and is ready to use.", +"Instance is being updated.", +"Instance is unheathy and under repair.", +"Instance is being deleted.", +"Instance encountered an error and is in indeterministic state." +], +"readOnly": true, +"type": "string" +}, +"tenantProjectId": { +"description": "Output only. ID of the associated GCP tenant project. See go/get-instance-metadata.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when the resource was last modified.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": { +"description": "Maintenance schedule which is exposed to customer and potentially end user, indicating published upcoming future maintenance schedule", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule", +"properties": { +"canReschedule": { +"deprecated": true, +"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.", +"type": "boolean" +}, +"endTime": { +"description": "The scheduled end time for the maintenance.", +"format": "google-datetime", +"type": "string" +}, +"rolloutManagementPolicy": { +"description": "The rollout management policy this maintenance schedule is associated with. When doing reschedule update request, the reschedule should be against this given policy.", +"type": "string" +}, +"scheduleDeadlineTime": { +"description": "schedule_deadline_time is the time deadline any schedule start time cannot go beyond, including reschedule. It's normally the initial schedule start time plus maintenance window length (1 day or 1 week). Maintenance cannot be scheduled to start beyond this deadline.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The scheduled start time for the maintenance.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": { +"description": "Maintenance settings associated with instance. Allows service producers and end users to assign settings that controls maintenance on this instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings", +"properties": { +"exclude": { +"description": "Optional. Exclude instance from maintenance. When true, rollout service will not attempt maintenance on the instance. Rollout service will include the instance in reported rollout progress as not attempted.", +"type": "boolean" +}, +"isRollback": { +"description": "Optional. If the update call is triggered from rollback, set the value as true.", +"type": "boolean" +}, +"maintenancePolicies": { +"additionalProperties": { +"$ref": "MaintenancePolicy" +}, +"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For details, please refer to go/mr-user-guide. Should not be set if maintenance_policy_names is set. If only the name is needed, then only populate MaintenancePolicy.name.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": { +"description": "Node information for custom per-node SLO implementations. SSA does not support per-node SLO, but producers can populate per-node information in SloMetadata for custom precomputations. SSA Eligibility Exporter will emit per-node metric based on this information.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata", +"properties": { +"location": { +"description": "The location of the node, if different from instance location.", +"type": "string" +}, +"nodeId": { +"description": "The id of the node. This should be equal to SaasInstanceNode.node_id.", +"type": "string" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "If present, this will override eligibility for the node coming from instance or exclusions for specified SLIs." +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter": { +"description": "Contains notification related data.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter", +"properties": { +"values": { +"description": "Optional. Array of string values. e.g. instance's replica information.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility": { +"description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"properties": { +"eligibilities": { +"additionalProperties": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility" +}, +"description": "An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": { +"description": "Describes provisioned dataplane resources.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource", +"properties": { +"resourceType": { +"description": "Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'.", +"type": "string" +}, +"resourceUrl": { +"description": "URL identifying the resource, e.g. \"https://www.googleapis.com/compute/v1/projects/...)\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": { +"description": "SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO-related calculations along with a user-defined reason.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility", +"properties": { +"eligible": { +"description": "Whether an instance is eligible or ineligible.", +"type": "boolean" +}, +"reason": { +"description": "User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": { +"description": "SloMetadata contains resources required for proper SLO classification of the instance.", +"id": "GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata", +"properties": { +"nodes": { +"description": "Optional. List of nodes. Some producers need to use per-node metadata to calculate SLO. This field allows such producers to publish per-node SLO meta data, which will be consumed by SSA Eligibility Exporter and published in the form of per node metric to Monarch.", +"items": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata" +}, +"type": "array" +}, +"perSliEligibility": { +"$ref": "GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility", +"description": "Optional. Multiple per-instance SLI eligibilities which apply for individual SLIs." +}, +"tier": { +"description": "Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty.", +"type": "string" +} +}, +"type": "object" +}, +"LDAPSSettings": { +"description": "LDAPSSettings represents the ldaps settings for domain resource. LDAP is the Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "LDAPSSettings", +"properties": { +"certificate": { +"$ref": "Certificate", +"description": "Output only. The certificate used to configure LDAPS. Certificates can be chained with a maximum length of 15.", +"readOnly": true +}, +"certificatePassword": { +"description": "Input only. The password used to encrypt the uploaded PFX certificate.", +"type": "string" +}, +"certificatePfx": { +"description": "Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with. It will enable the domain controllers in this domain to accept LDAPS connections (either LDAP over SSL/TLS or the StartTLS operation). A valid certificate chain must form a valid x.509 certificate chain (or be comprised of a single self-signed certificate. It must be encrypted with either: 1) PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-KeyTripleDES-CBC Private key must be included for the leaf / single self-signed certificate. Note: For a fqdn your-example-domain.com, the wildcard fqdn is *.your-example-domain.com. Specifically the leaf certificate must have: - Either a blank subject or a subject with CN matching the wildcard fqdn. - Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key signature key usages. - Server authentication extended key usage (OID=1.3.6.1.5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA, ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.", +"format": "byte", +"type": "string" +}, +"name": { +"description": "The resource name of the LDAPS settings. Uses the form: `projects/{project}/locations/{location}/domains/{domain}`.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of this LDAPS settings.", +"enum": [ +"STATE_UNSPECIFIED", +"UPDATING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"Not Set", +"The LDAPS setting is being updated.", +"The LDAPS setting is ready.", +"The LDAPS setting is not applied correctly." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "ListBackupsResponse is the response message for ListBackups method.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "A list of Cloud AD backups in the domain.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDomainsResponse": { +"description": "Response message for ListDomains", +"id": "ListDomainsResponse", +"properties": { +"domains": { +"description": "A list of Managed Identities Service domains in the project.", +"items": { +"$ref": "Domain" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPeeringsResponse": { +"description": "ListPeeringsResponse is the response message for ListPeerings method.", +"id": "ListPeeringsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"peerings": { +"description": "A list of Managed Identities Service Peerings in the project.", +"items": { +"$ref": "Peering" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSqlIntegrationsResponse": { +"description": "ListSqlIntegrationsResponse is the response message for ListSqlIntegrations method.", +"id": "ListSqlIntegrationsResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", +"type": "string" +}, +"sqlIntegrations": { +"description": "A list of SQLIntegrations of a domain.", +"items": { +"$ref": "SqlIntegration" +}, +"type": "array" +}, +"unreachable": { +"description": "A list of locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MaintenancePolicy": { +"description": "Defines policies to service maintenance events.", +"id": "MaintenancePolicy", +"properties": { +"createTime": { +"description": "Output only. The time when the resource was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user.", +"type": "object" +}, +"name": { +"description": "Required. MaintenancePolicy name using the form: `projects/{project_id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}` where {project_id} refers to a GCP consumer project ID, {location_id} refers to a GCP region/zone, {maintenance_policy_id} must be 1-63 characters long and match the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.", +"type": "string" +}, +"state": { +"description": "Optional. The state of the policy.", +"enum": [ +"STATE_UNSPECIFIED", +"READY", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"Resource is ready to be used.", +"Resource is being deleted. It can no longer be attached to instances." +], +"type": "string" +}, +"updatePolicy": { +"$ref": "UpdatePolicy", +"description": "Maintenance policy applicable to instance update." +}, +"updateTime": { +"description": "Output only. The time when the resource was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "MaintenanceWindow definition.", +"id": "MaintenanceWindow", +"properties": { +"dailyCycle": { +"$ref": "DailyCycle", +"description": "Daily cycle." +}, +"weeklyCycle": { +"$ref": "WeeklyCycle", +"description": "Weekly cycle." +} +}, +"type": "object" +}, +"OnPremDomainDetails": { +"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", +"id": "OnPremDomainDetails", +"properties": { +"disableSidFiltering": { +"description": "Optional. Option to disable SID filtering.", +"type": "boolean" +}, +"domainName": { +"description": "Required. FQDN of the on-prem domain being migrated.", +"type": "string" +} +}, +"type": "object" +}, +"OnPremDomainSIDDetails": { +"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.", +"id": "OnPremDomainSIDDetails", +"properties": { +"name": { +"description": "FQDN of the on-prem domain being migrated.", +"type": "string" +}, +"sidFilteringState": { +"description": "Current SID filtering state.", +"enum": [ +"SID_FILTERING_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"SID Filtering is in unspecified state.", +"SID Filtering is Enabled.", +"SID Filtering is Disabled." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"cancelRequested": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"statusDetail": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Peering": { +"description": "Represents a Managed Service for Microsoft Active Directory Peering.", +"id": "Peering", +"properties": { +"authorizedNetwork": { +"description": "Required. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail.", +"type": "string" +}, +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"domainResource": { +"description": "Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/{project_id}/locations/global/domains/{domain_name}`", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Resource labels to represent user-provided metadata.", +"type": "object" +}, +"name": { +"description": "Output only. Unique name of the peering in this scope including projects and location using the form: `projects/{project_id}/locations/global/peerings/{peering_id}`.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of this Peering.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"CONNECTED", +"DISCONNECTED", +"DELETING" +], +"enumDescriptions": [ +"Not set.", +"Peering is being created.", +"Peering is connected.", +"Peering is disconnected.", +"Peering is being deleted." +], +"readOnly": true, +"type": "string" +}, +"statusMessage": { +"description": "Output only. Additional information about the current status of this peering, if available.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Last update time.", +"format": "google-datetime", +"readOnly": true, +"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": { +"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" +}, +"ReconfigureTrustRequest": { +"description": "Request message for ReconfigureTrust", +"id": "ReconfigureTrustRequest", +"properties": { +"targetDnsIpAddresses": { +"description": "Required. The target DNS server IP addresses to resolve the remote domain involved in the trust.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetDomainName": { +"description": "Required. The fully-qualified target domain name which will be in trust with current domain.", +"type": "string" +} +}, +"type": "object" +}, +"ResetAdminPasswordRequest": { +"description": "Request message for ResetAdminPassword", +"id": "ResetAdminPasswordRequest", +"properties": {}, +"type": "object" +}, +"ResetAdminPasswordResponse": { +"description": "Response message for ResetAdminPassword", +"id": "ResetAdminPasswordResponse", +"properties": { +"password": { +"description": "A random password. See admin for more information.", +"type": "string" +} +}, +"type": "object" +}, +"RestoreDomainRequest": { +"description": "RestoreDomainRequest is the request received by RestoreDomain rpc", +"id": "RestoreDomainRequest", +"properties": { +"backupId": { +"description": "Required. ID of the backup to be restored", +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "Configure the schedule.", +"id": "Schedule", +"properties": { +"day": { +"description": "Allows to define schedule that runs specified day of the week.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"duration": { +"description": "Output only. Duration of the time window, set by service producer.", +"format": "google-duration", +"type": "string" +}, +"startTime": { +"$ref": "TimeOfDay", +"description": "Time within the window to start the operations." +} +}, +"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." +} +}, +"type": "object" +}, +"SqlIntegration": { +"description": "Represents the SQL instance integrated with Managed AD.", +"id": "SqlIntegration", +"properties": { +"createTime": { +"description": "Output only. The time the SQL integration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The unique name of the SQL integration in the form of `projects/{project_id}/locations/global/domains/{domain_name}/sqlIntegrations/{sql_integration}`", +"type": "string" +}, +"sqlInstance": { +"description": "The full resource name of an integrated SQL instance", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the SQL integration.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"READY" +], +"enumDescriptions": [ +"Not Set", +"The SQL integration is being created.", +"The SQL integration is being deleted.", +"The SQL integration is ready." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the SQL integration was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Trust": { +"description": "Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain. If the trust is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.", +"id": "Trust", +"properties": { +"createTime": { +"description": "Output only. The time the instance was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastTrustHeartbeatTime": { +"description": "Output only. The last heartbeat time when the trust was known to be connected.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"selectiveAuthentication": { +"description": "Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.", +"type": "boolean" +}, +"state": { +"description": "Output only. The current state of the trust.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"UPDATING", +"DELETING", +"CONNECTED", +"DISCONNECTED" +], +"enumDescriptions": [ +"Not set.", +"The domain trust is being created.", +"The domain trust is being updated.", +"The domain trust is being deleted.", +"The domain trust is connected.", +"The domain trust is disconnected." +], +"readOnly": true, +"type": "string" +}, +"stateDescription": { +"description": "Output only. Additional information about the current state of the trust, if available.", +"readOnly": true, +"type": "string" +}, +"targetDnsIpAddresses": { +"description": "Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.", +"items": { +"type": "string" +}, +"type": "array" +}, +"targetDomainName": { +"description": "Required. The fully qualified target domain name which will be in trust with the current domain.", +"type": "string" +}, +"trustDirection": { +"description": "Required. The trust direction, which decides if the current domain is trusted, trusting, or both.", +"enum": [ +"TRUST_DIRECTION_UNSPECIFIED", +"INBOUND", +"OUTBOUND", +"BIDIRECTIONAL" +], +"enumDescriptions": [ +"Not set.", +"The inbound direction represents the trusting side.", +"The outboud direction represents the trusted side.", +"The bidirectional direction represents the trusted / trusting side." +], +"type": "string" +}, +"trustHandshakeSecret": { +"description": "Required. The trust secret used for the handshake with the target domain. This will not be stored.", +"type": "string" +}, +"trustType": { +"description": "Required. The type of trust represented by the trust resource.", +"enum": [ +"TRUST_TYPE_UNSPECIFIED", +"FOREST", +"EXTERNAL" +], +"enumDescriptions": [ +"Not set.", +"The forest trust.", +"The external domain trust." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"UpdatePolicy": { +"description": "Maintenance policy applicable to instance updates.", +"id": "UpdatePolicy", +"properties": { +"channel": { +"description": "Optional. Relative scheduling channel applied to resource.", +"enum": [ +"UPDATE_CHANNEL_UNSPECIFIED", +"EARLIER", +"LATER", +"WEEK1", +"WEEK2", +"WEEK5" +], +"enumDescriptions": [ +"Unspecified channel.", +"Early channel within a customer project.", +"Later channel within a customer project.", +"! ! The follow channels can ONLY be used if you adopt the new MW system! ! ! NOTE: all WEEK channels are assumed to be under a weekly window. ! There is currently no dedicated channel definitions for Daily windows. ! If you use Daily window, the system will assume a 1d (24Hours) advanced ! notification period b/w EARLY and LATER. ! We may consider support more flexible daily channel specifications in ! the future. WEEK1 == EARLIER with minimum 7d advanced notification. {7d, 14d} The system will treat them equally and will use WEEK1 whenever it can. New customers are encouraged to use this channel annotation.", +"WEEK2 == LATER with minimum 14d advanced notification {14d, 21d}.", +"WEEK5 == 40d support. minimum 35d advanced notification {35d, 42d}." +], +"type": "string" +}, +"denyMaintenancePeriods": { +"description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.", +"items": { +"$ref": "DenyMaintenancePeriod" +}, +"type": "array" +}, +"window": { +"$ref": "MaintenanceWindow", +"description": "Optional. Maintenance window that is applied to resources covered by this policy." +} +}, +"type": "object" +}, +"ValidateTrustRequest": { +"description": "Request message for ValidateTrust", +"id": "ValidateTrustRequest", +"properties": { +"trust": { +"$ref": "Trust", +"description": "Required. The domain trust to validate trust state for." +} +}, +"type": "object" +}, +"WeeklyCycle": { +"description": "Time window specified for weekly operations.", +"id": "WeeklyCycle", +"properties": { +"schedule": { +"description": "User can specify multiple windows in a week. Minimum of 1 window.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Managed Service for Microsoft Active Directory API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..63dc0207b5b3ad54489fe44d24abefd341ea1edd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json @@ -0,0 +1,682 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read": { +"description": "View your Google Analytics product account data in GMP home" +}, +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update": { +"description": "Manage your Google Analytics product account data in GMP home" +} +} +} +}, +"basePath": "", +"baseUrl": "https://marketingplatformadmin.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Google Marketing Platform Admin API", +"description": "The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, and to set the service level of your GA4 properties.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/analytics/devguides/config/gmp/v1", +"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": "marketingplatformadmin:v1alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://marketingplatformadmin.mtls.googleapis.com/", +"name": "marketingplatformadmin", +"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": { +"organizations": { +"methods": { +"findSalesPartnerManagedClients": { +"description": "Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.", +"flatPath": "v1alpha/organizations/{organizationsId}:findSalesPartnerManagedClients", +"httpMethod": "POST", +"id": "marketingplatformadmin.organizations.findSalesPartnerManagedClients", +"parameterOrder": [ +"organization" +], +"parameters": { +"organization": { +"description": "Required. The name of the sales partner organization. Format: organizations/{org_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+organization}:findSalesPartnerManagedClients", +"request": { +"$ref": "FindSalesPartnerManagedClientsRequest" +}, +"response": { +"$ref": "FindSalesPartnerManagedClientsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"get": { +"description": "Lookup for a single organization.", +"flatPath": "v1alpha/organizations/{organizationsId}", +"httpMethod": "GET", +"id": "marketingplatformadmin.organizations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Organization to retrieve. Format: organizations/{org_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Organization" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"list": { +"description": "Returns a list of organizations that the user has access to.", +"flatPath": "v1alpha/organizations", +"httpMethod": "GET", +"id": "marketingplatformadmin.organizations.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of organizations to return in one call. The service may return fewer than this value. If unspecified, at most 50 organizations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous ListOrganizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOrganizations` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha/organizations", +"response": { +"$ref": "ListOrganizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"reportPropertyUsage": { +"description": "Get the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.", +"flatPath": "v1alpha/organizations/{organizationsId}:reportPropertyUsage", +"httpMethod": "POST", +"id": "marketingplatformadmin.organizations.reportPropertyUsage", +"parameterOrder": [ +"organization" +], +"parameters": { +"organization": { +"description": "Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+organization}:reportPropertyUsage", +"request": { +"$ref": "ReportPropertyUsageRequest" +}, +"response": { +"$ref": "ReportPropertyUsageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +} +}, +"resources": { +"analyticsAccountLinks": { +"methods": { +"create": { +"description": "Creates the link between the Analytics account and the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.", +"flatPath": "v1alpha/organizations/{organizationsId}/analyticsAccountLinks", +"httpMethod": "POST", +"id": "marketingplatformadmin.organizations.analyticsAccountLinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/analyticsAccountLinks", +"request": { +"$ref": "AnalyticsAccountLink" +}, +"response": { +"$ref": "AnalyticsAccountLink" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"delete": { +"description": "Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.", +"flatPath": "v1alpha/organizations/{organizationsId}/analyticsAccountLinks/{analyticsAccountLinksId}", +"httpMethod": "DELETE", +"id": "marketingplatformadmin.organizations.analyticsAccountLinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}", +"location": "path", +"pattern": "^organizations/[^/]+/analyticsAccountLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"list": { +"description": "Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.", +"flatPath": "v1alpha/organizations/{organizationsId}/analyticsAccountLinks", +"httpMethod": "GET", +"id": "marketingplatformadmin.organizations.analyticsAccountLinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of Analytics account links to return in one call. The service may return fewer than this value. If unspecified, at most 50 Analytics account links will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous ListAnalyticsAccountLinks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAnalyticsAccountLinks` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent organization, which owns this collection of Analytics account links. Format: organizations/{org_id}", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+parent}/analyticsAccountLinks", +"response": { +"$ref": "ListAnalyticsAccountLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.read", +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +}, +"setPropertyServiceLevel": { +"description": "Updates the service level for an Analytics property.", +"flatPath": "v1alpha/organizations/{organizationsId}/analyticsAccountLinks/{analyticsAccountLinksId}:setPropertyServiceLevel", +"httpMethod": "POST", +"id": "marketingplatformadmin.organizations.analyticsAccountLinks.setPropertyServiceLevel", +"parameterOrder": [ +"analyticsAccountLink" +], +"parameters": { +"analyticsAccountLink": { +"description": "Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}", +"location": "path", +"pattern": "^organizations/[^/]+/analyticsAccountLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha/{+analyticsAccountLink}:setPropertyServiceLevel", +"request": { +"$ref": "SetPropertyServiceLevelRequest" +}, +"response": { +"$ref": "SetPropertyServiceLevelResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/marketingplatformadmin.analytics.update" +] +} +} +} +} +} +}, +"revision": "20251029", +"rootUrl": "https://marketingplatformadmin.googleapis.com/", +"schemas": { +"AnalyticsAccountLink": { +"description": "A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.", +"id": "AnalyticsAccountLink", +"properties": { +"analyticsAccount": { +"description": "Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}", +"type": "string" +}, +"displayName": { +"description": "Output only. The human-readable name for the Analytics account.", +"readOnly": true, +"type": "string" +}, +"linkVerificationState": { +"description": "Output only. The verification state of the link between the Analytics account and the parent organization.", +"enum": [ +"LINK_VERIFICATION_STATE_UNSPECIFIED", +"LINK_VERIFICATION_STATE_VERIFIED", +"LINK_VERIFICATION_STATE_NOT_VERIFIED" +], +"enumDescriptions": [ +"The link state is unknown.", +"The link is established.", +"The link is requested, but hasn't been approved by the product account admin." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: \"organizations/xyz/analyticsAccountLinks/1234\"", +"type": "string" +} +}, +"type": "object" +}, +"BillInfo": { +"description": "Contains the bill amount.", +"id": "BillInfo", +"properties": { +"baseFee": { +"$ref": "Money", +"description": "The amount of the monthly base fee." +}, +"eventFee": { +"$ref": "Money", +"description": "The amount of the event fee." +}, +"priceProtectionCredit": { +"$ref": "Money", +"description": "The amount of the price protection credit, this is only available for eligible customers." +}, +"total": { +"$ref": "Money", +"description": "The total amount of the bill." +} +}, +"type": "object" +}, +"ClientData": { +"description": "Contains the client data.", +"id": "ClientData", +"properties": { +"endDate": { +"$ref": "Date", +"description": "The end date of the contract between the sales org and the end client." +}, +"organization": { +"$ref": "Organization", +"description": "The end client that has/had contract with the requested sales org." +}, +"startDate": { +"$ref": "Date", +"description": "The start date of the contract between the sales org and the end client." +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"FindSalesPartnerManagedClientsRequest": { +"description": "Request message for FindSalesPartnerManagedClients RPC.", +"id": "FindSalesPartnerManagedClientsRequest", +"properties": { +"isActive": { +"description": "Optional. If set, only active and just ended clients will be returned.", +"type": "boolean" +} +}, +"type": "object" +}, +"FindSalesPartnerManagedClientsResponse": { +"description": "Response message for FindSalesPartnerManagedClients RPC.", +"id": "FindSalesPartnerManagedClientsResponse", +"properties": { +"clientData": { +"description": "The clients managed by the sales org.", +"items": { +"$ref": "ClientData" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAnalyticsAccountLinksResponse": { +"description": "Response message for ListAnalyticsAccountLinks RPC.", +"id": "ListAnalyticsAccountLinksResponse", +"properties": { +"analyticsAccountLinks": { +"description": "Analytics account links in this organization.", +"items": { +"$ref": "AnalyticsAccountLink" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOrganizationsResponse": { +"description": "Response message for ListOrganizations RPC.", +"id": "ListOrganizationsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"organizations": { +"description": "The Organization resource that the user has access to, which includes the org id and display name.", +"items": { +"$ref": "Organization" +}, +"type": "array" +} +}, +"type": "object" +}, +"Money": { +"description": "Represents an amount of money with its currency type.", +"id": "Money", +"properties": { +"currencyCode": { +"description": "The three-letter currency code defined in ISO 4217.", +"type": "string" +}, +"nanos": { +"description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", +"format": "int32", +"type": "integer" +}, +"units": { +"description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Organization": { +"description": "A resource message representing a Google Marketing Platform organization.", +"id": "Organization", +"properties": { +"displayName": { +"description": "The human-readable name for the organization.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the GMP organization. Format: organizations/{org_id}", +"type": "string" +} +}, +"type": "object" +}, +"PropertyUsage": { +"description": "Contains the count of events received by the property, along with metadata that influences the volume of `billable` events.", +"id": "PropertyUsage", +"properties": { +"accountId": { +"description": "The ID of the property's parent account.", +"format": "int64", +"type": "string" +}, +"billableEventCount": { +"description": "The number of events for which the property is billed in the requested month.", +"format": "int64", +"type": "string" +}, +"displayName": { +"description": "The display name of the property.", +"type": "string" +}, +"property": { +"description": "The name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}", +"type": "string" +}, +"propertyType": { +"description": "The subtype of the analytics property. This affects the billable event count.", +"enum": [ +"ANALYTICS_PROPERTY_TYPE_UNSPECIFIED", +"ANALYTICS_PROPERTY_TYPE_ORDINARY", +"ANALYTICS_PROPERTY_TYPE_SUBPROPERTY", +"ANALYTICS_PROPERTY_TYPE_ROLLUP" +], +"enumDescriptions": [ +"Unknown or unspecified property type", +"Ordinary Google Analytics property", +"Google Analytics subproperty", +"Google Analytics rollup property" +], +"type": "string" +}, +"serviceLevel": { +"description": "The service level of the property.", +"enum": [ +"ANALYTICS_SERVICE_LEVEL_UNSPECIFIED", +"ANALYTICS_SERVICE_LEVEL_STANDARD", +"ANALYTICS_SERVICE_LEVEL_360" +], +"enumDescriptions": [ +"Service level unspecified.", +"The standard version of Google Analytics.", +"The premium version of Google Analytics." +], +"type": "string" +}, +"totalEventCount": { +"description": "Total event count that the property received during the requested month.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReportPropertyUsageRequest": { +"description": "Request message for ReportPropertyUsage RPC.", +"id": "ReportPropertyUsageRequest", +"properties": { +"month": { +"description": "Required. The target month to list property usages. Format: YYYY-MM. For example, \"2025-05\"", +"type": "string" +} +}, +"type": "object" +}, +"ReportPropertyUsageResponse": { +"description": "Response message for ReportPropertyUsage RPC.", +"id": "ReportPropertyUsageResponse", +"properties": { +"billInfo": { +"$ref": "BillInfo", +"description": "Bill amount in the specified organization and month. Will be empty if user only has access to usage data." +}, +"propertyUsages": { +"description": "Usage data for all properties in the specified organization and month.", +"items": { +"$ref": "PropertyUsage" +}, +"type": "array" +} +}, +"type": "object" +}, +"SetPropertyServiceLevelRequest": { +"description": "Request message for SetPropertyServiceLevel RPC.", +"id": "SetPropertyServiceLevelRequest", +"properties": { +"analyticsProperty": { +"description": "Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}", +"type": "string" +}, +"serviceLevel": { +"description": "Required. The service level to set for this property.", +"enum": [ +"ANALYTICS_SERVICE_LEVEL_UNSPECIFIED", +"ANALYTICS_SERVICE_LEVEL_STANDARD", +"ANALYTICS_SERVICE_LEVEL_360" +], +"enumDescriptions": [ +"Service level unspecified.", +"The standard version of Google Analytics.", +"The premium version of Google Analytics." +], +"type": "string" +} +}, +"type": "object" +}, +"SetPropertyServiceLevelResponse": { +"description": "Response message for SetPropertyServiceLevel RPC.", +"id": "SetPropertyServiceLevelResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Marketing Platform Admin API", +"version": "v1alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/meet.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/meet.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..542ad78bccaed209f89b0777c177babdccf50498 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/meet.v2.json @@ -0,0 +1,1332 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/meetings.space.created": { +"description": "Create, edit, and see information about your Google Meet conferences created by the app." +}, +"https://www.googleapis.com/auth/meetings.space.readonly": { +"description": "Read information about any of your Google Meet conferences" +}, +"https://www.googleapis.com/auth/meetings.space.settings": { +"description": "Edit, and see settings for all of your Google Meet calls." +} +} +} +}, +"basePath": "", +"baseUrl": "https://meet.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Meet", +"description": "Create and manage meetings in Google Meet.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/meet/api", +"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": "meet:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://meet.mtls.googleapis.com/", +"name": "meet", +"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": { +"conferenceRecords": { +"methods": { +"get": { +"description": "Gets a conference record by conference ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the conference.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "ConferenceRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the conference records. By default, ordered by start time and in descending order.", +"flatPath": "v2/conferenceRecords", +"httpMethod": "GET", +"id": "meet.conferenceRecords.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `space.meeting_code` * `space.name` * `start_time` * `end_time` For example, consider the following filters: * `space.name = \"spaces/NAME\"` * `space.meeting_code = \"abc-mnop-xyz\"` * `start_time>=\"2024-01-01T00:00:00.000Z\" AND start_time<=\"2024-01-02T00:00:00.000Z\"` * `end_time IS NULL`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of conference records to return. The service might return fewer than this value. If unspecified, at most 25 conference records are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token returned from previous List Call.", +"location": "query", +"type": "string" +} +}, +"path": "v2/conferenceRecords", +"response": { +"$ref": "ListConferenceRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +}, +"resources": { +"participants": { +"methods": { +"get": { +"description": "Gets a participant by participant ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.participants.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the participant.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Participant" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the participants in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as standard parameters like every other API. However, when the `fields` request parameter is omitted, this API defaults to `'participants/*, next_page_token'`.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/participants", +"httpMethod": "GET", +"id": "meet.conferenceRecords.participants.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `earliest_start_time` * `latest_end_time` For example, `latest_end_time IS NULL` returns active participants in the conference.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of participants to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced to 250. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participants", +"response": { +"$ref": "ListParticipantsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +}, +"resources": { +"participantSessions": { +"methods": { +"get": { +"description": "Gets a participant session by participant session ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions/{participantSessionsId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.participants.participantSessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the participant.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/participants/[^/]+/participantSessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "ParticipantSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the participant sessions of a participant in a conference record. By default, ordered by join time and in descending order. This API supports `fields` as standard parameters like every other API. However, when the `fields` request parameter is omitted this API defaults to `'participantsessions/*, next_page_token'`.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions", +"httpMethod": "GET", +"id": "meet.conferenceRecords.participants.participantSessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. User specified filtering condition in [EBNF format](https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form). The following are the filterable fields: * `start_time` * `end_time` For example, `end_time IS NULL` returns active participant sessions in the conference record.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of participant sessions to return. The service might return fewer than this value. If unspecified, at most 100 participants are returned. The maximum value is 250; values above 250 are coerced to 250. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}/participants/{participant}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/participants/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/participantSessions", +"response": { +"$ref": "ListParticipantSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +} +} +} +}, +"recordings": { +"methods": { +"get": { +"description": "Gets a recording by recording ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/recordings/{recordingsId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.recordings.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the recording.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/recordings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Recording" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the recording resources from the conference record. By default, ordered by start time and in ascending order.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/recordings", +"httpMethod": "GET", +"id": "meet.conferenceRecords.recordings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of recordings to return. The service might return fewer than this value. If unspecified, at most 10 recordings are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/recordings", +"response": { +"$ref": "ListRecordingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +} +}, +"transcripts": { +"methods": { +"get": { +"description": "Gets a transcript by transcript ID.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.transcripts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the transcript.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/transcripts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Transcript" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the set of transcripts from the conference record. By default, ordered by start time and in ascending order.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/transcripts", +"httpMethod": "GET", +"id": "meet.conferenceRecords.transcripts.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of transcripts to return. The service might return fewer than this value. If unspecified, at most 10 transcripts are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/transcripts", +"response": { +"$ref": "ListTranscriptsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +}, +"resources": { +"entries": { +"methods": { +"get": { +"description": "Gets a `TranscriptEntry` resource by entry ID. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when 1) we have interleaved speakers within milliseconds, or 2) the Google Docs transcript file is modified after generation.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries/{entriesId}", +"httpMethod": "GET", +"id": "meet.conferenceRecords.transcripts.entries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the `TranscriptEntry`.", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/transcripts/[^/]+/entries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "TranscriptEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +}, +"list": { +"description": "Lists the structured transcript entries per transcript. By default, ordered by start time and in ascending order. Note: The transcript entries returned by the Google Meet API might not match the transcription found in the Google Docs transcript file. This can occur when 1) we have interleaved speakers within milliseconds, or 2) the Google Docs transcript file is modified after generation.", +"flatPath": "v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries", +"httpMethod": "GET", +"id": "meet.conferenceRecords.transcripts.entries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of entries to return. The service might return fewer than this value. If unspecified, at most 10 entries are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Page token returned from previous List Call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `conferenceRecords/{conference_record}/transcripts/{transcript}`", +"location": "path", +"pattern": "^conferenceRecords/[^/]+/transcripts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+parent}/entries", +"response": { +"$ref": "ListTranscriptEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly" +] +} +} +} +} +} +} +}, +"spaces": { +"methods": { +"create": { +"description": "Creates a space.", +"flatPath": "v2/spaces", +"httpMethod": "POST", +"id": "meet.spaces.create", +"parameterOrder": [], +"parameters": {}, +"path": "v2/spaces", +"request": { +"$ref": "Space" +}, +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created" +] +}, +"endActiveConference": { +"description": "Ends an active conference (if there's one). For an example, see [End active conference](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#end-active-conference).", +"flatPath": "v2/spaces/{spacesId}:endActiveConference", +"httpMethod": "POST", +"id": "meet.spaces.endActiveConference", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. For more information, see [How Meet identifies a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}:endActiveConference", +"request": { +"$ref": "EndActiveConferenceRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created" +] +}, +"get": { +"description": "Gets details about a meeting space. For an example, see [Get a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#get-meeting-space).", +"flatPath": "v2/spaces/{spacesId}", +"httpMethod": "GET", +"id": "meet.spaces.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. `{meetingCode}` is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, `abc-mnop-xyz`. The maximum length is 128 characters. A `meetingCode` shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a `meetingCode` expires 365 days after last use. For more information, see [Learn about meeting codes in Google Meet](https://support.google.com/meet/answer/10710509). For more information, see [How Meet identifies a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2/{+name}", +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.readonly", +"https://www.googleapis.com/auth/meetings.space.settings" +] +}, +"patch": { +"description": "Updates details about a meeting space. For an example, see [Update a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#update-meeting-space).", +"flatPath": "v2/spaces/{spacesId}", +"httpMethod": "PATCH", +"id": "meet.spaces.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. For more information, see [How Meet identifies a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).", +"location": "path", +"pattern": "^spaces/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask used to specify the fields to be updated in the space. If update_mask isn't provided(not set, set with empty paths, or only has \"\" as paths), it defaults to update all fields provided with values in the request. Using \"*\" as update_mask will update all fields, including deleting fields not set in the request.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2/{+name}", +"request": { +"$ref": "Space" +}, +"response": { +"$ref": "Space" +}, +"scopes": [ +"https://www.googleapis.com/auth/meetings.space.created", +"https://www.googleapis.com/auth/meetings.space.settings" +] +} +} +} +}, +"revision": "20250421", +"rootUrl": "https://meet.googleapis.com/", +"schemas": { +"ActiveConference": { +"description": "Active conference.", +"id": "ActiveConference", +"properties": { +"conferenceRecord": { +"description": "Output only. Reference to 'ConferenceRecord' resource. Format: `conferenceRecords/{conference_record}` where `{conference_record}` is a unique ID for each instance of a call within a space.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AnonymousUser": { +"description": "User who joins anonymously (meaning not signed into a Google Account).", +"id": "AnonymousUser", +"properties": { +"displayName": { +"description": "Output only. User provided name when they join a conference anonymously.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ArtifactConfig": { +"description": "Configuration related to meeting artifacts potentially generated by this meeting space.", +"id": "ArtifactConfig", +"properties": { +"recordingConfig": { +"$ref": "RecordingConfig", +"description": "Configuration for recording." +}, +"smartNotesConfig": { +"$ref": "SmartNotesConfig", +"description": "Configuration for auto-smart-notes." +}, +"transcriptionConfig": { +"$ref": "TranscriptionConfig", +"description": "Configuration for auto-transcript." +} +}, +"type": "object" +}, +"ConferenceRecord": { +"description": "Single instance of a meeting held in a space.", +"id": "ConferenceRecord", +"properties": { +"endTime": { +"description": "Output only. Timestamp when the conference ended. Set for past conferences. Unset if the conference is ongoing.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. Server enforced expiration time for when this conference record resource is deleted. The resource is deleted 30 days after the conference ends.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Resource name of the conference record. Format: `conferenceRecords/{conference_record}` where `{conference_record}` is a unique ID for each instance of a call within a space.", +"type": "string" +}, +"space": { +"description": "Output only. The space where the conference was held.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the conference started. Always set.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DocsDestination": { +"description": "Google Docs location where the transcript file is saved.", +"id": "DocsDestination", +"properties": { +"document": { +"description": "Output only. The document ID for the underlying Google Docs transcript file. For example, \"1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP\". Use the `documents.get` method of the Google Docs API (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to fetch the content.", +"readOnly": true, +"type": "string" +}, +"exportUri": { +"description": "Output only. URI for the Google Docs transcript file. Use `https://docs.google.com/document/d/{$DocumentId}/view` to browse the transcript in the browser.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DriveDestination": { +"description": "Export location where a recording file is saved in Google Drive.", +"id": "DriveDestination", +"properties": { +"exportUri": { +"description": "Output only. Link used to play back the recording file in the browser. For example, `https://drive.google.com/file/d/{$fileId}/view`.", +"readOnly": true, +"type": "string" +}, +"file": { +"description": "Output only. The `fileId` for the underlying MP4 file. For example, \"1kuceFZohVoCh6FulBHxwy6I15Ogpc4hP\". Use `$ GET https://www.googleapis.com/drive/v3/files/{$fileId}?alt=media` to download the blob. For more information, see https://developers.google.com/drive/api/v3/reference/files/get.", +"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" +}, +"EndActiveConferenceRequest": { +"description": "Request to end an ongoing conference of a space.", +"id": "EndActiveConferenceRequest", +"properties": {}, +"type": "object" +}, +"ListConferenceRecordsResponse": { +"description": "Response of ListConferenceRecords method.", +"id": "ListConferenceRecordsResponse", +"properties": { +"conferenceRecords": { +"description": "List of conferences in one page.", +"items": { +"$ref": "ConferenceRecord" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List does NOT include all the Conferences. Unset if all conferences have been returned.", +"type": "string" +} +}, +"type": "object" +}, +"ListParticipantSessionsResponse": { +"description": "Response of ListParticipants method.", +"id": "ListParticipantSessionsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the participants. Unset if all participants are returned.", +"type": "string" +}, +"participantSessions": { +"description": "List of participants in one page.", +"items": { +"$ref": "ParticipantSession" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListParticipantsResponse": { +"description": "Response of ListParticipants method.", +"id": "ListParticipantsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the participants. Unset if all participants are returned.", +"type": "string" +}, +"participants": { +"description": "List of participants in one page.", +"items": { +"$ref": "Participant" +}, +"type": "array" +}, +"totalSize": { +"description": "Total, exact number of `participants`. By default, this field isn't included in the response. Set the field mask in [SystemParameterContext](https://cloud.google.com/apis/docs/system-parameters) to receive this field in the response.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListRecordingsResponse": { +"description": "Response for ListRecordings method.", +"id": "ListRecordingsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the recordings. Unset if all recordings are returned.", +"type": "string" +}, +"recordings": { +"description": "List of recordings in one page.", +"items": { +"$ref": "Recording" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTranscriptEntriesResponse": { +"description": "Response for ListTranscriptEntries method.", +"id": "ListTranscriptEntriesResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the transcript entries. Unset if all entries are returned.", +"type": "string" +}, +"transcriptEntries": { +"description": "List of TranscriptEntries in one page.", +"items": { +"$ref": "TranscriptEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTranscriptsResponse": { +"description": "Response for ListTranscripts method.", +"id": "ListTranscriptsResponse", +"properties": { +"nextPageToken": { +"description": "Token to be circulated back for further List call if current List doesn't include all the transcripts. Unset if all transcripts are returned.", +"type": "string" +}, +"transcripts": { +"description": "List of transcripts in one page.", +"items": { +"$ref": "Transcript" +}, +"type": "array" +} +}, +"type": "object" +}, +"ModerationRestrictions": { +"description": "Defines restrictions for features when the meeting is moderated.", +"id": "ModerationRestrictions", +"properties": { +"chatRestriction": { +"description": "Defines who has permission to send chat messages in the meeting space.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"HOSTS_ONLY", +"NO_RESTRICTION" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"Meeting owner and co-host have the permission.", +"All Participants have permissions." +], +"type": "string" +}, +"defaultJoinAsViewerType": { +"description": "Defines whether to restrict the default role assigned to users as viewer.", +"enum": [ +"DEFAULT_JOIN_AS_VIEWER_TYPE_UNSPECIFIED", +"ON", +"OFF" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"Users will by default join as viewers.", +"Users will by default join as contributors." +], +"type": "string" +}, +"presentRestriction": { +"description": "Defines who has permission to share their screen in the meeting space.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"HOSTS_ONLY", +"NO_RESTRICTION" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"Meeting owner and co-host have the permission.", +"All Participants have permissions." +], +"type": "string" +}, +"reactionRestriction": { +"description": "Defines who has permission to send reactions in the meeting space.", +"enum": [ +"RESTRICTION_TYPE_UNSPECIFIED", +"HOSTS_ONLY", +"NO_RESTRICTION" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"Meeting owner and co-host have the permission.", +"All Participants have permissions." +], +"type": "string" +} +}, +"type": "object" +}, +"Participant": { +"description": "User who attended or is attending a conference.", +"id": "Participant", +"properties": { +"anonymousUser": { +"$ref": "AnonymousUser", +"description": "Anonymous user." +}, +"earliestStartTime": { +"description": "Output only. Time when the participant first joined the meeting.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"latestEndTime": { +"description": "Output only. Time when the participant left the meeting for the last time. This can be null if it's an active meeting.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the participant. Format: `conferenceRecords/{conference_record}/participants/{participant}`", +"readOnly": true, +"type": "string" +}, +"phoneUser": { +"$ref": "PhoneUser", +"description": "User calling from their phone." +}, +"signedinUser": { +"$ref": "SignedinUser", +"description": "Signed-in user." +} +}, +"type": "object" +}, +"ParticipantSession": { +"description": "Refers to each unique join or leave session when a user joins a conference from a device. Note that any time a user joins the conference a new unique ID is assigned. That means if a user joins a space multiple times from the same device, they're assigned different IDs, and are also be treated as different participant sessions.", +"id": "ParticipantSession", +"properties": { +"endTime": { +"description": "Output only. Timestamp when the user session ends. Unset if the user session hasn\u2019t ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. Session id.", +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the user session starts.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"PhoneUser": { +"description": "User dialing in from a phone where the user's identity is unknown because they haven't signed in with a Google Account.", +"id": "PhoneUser", +"properties": { +"displayName": { +"description": "Output only. Partially redacted user's phone number when calling.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Recording": { +"description": "Metadata about a recording created during a conference.", +"id": "Recording", +"properties": { +"driveDestination": { +"$ref": "DriveDestination", +"description": "Output only. Recording is saved to Google Drive as an MP4 file. The `drive_destination` includes the Drive `fileId` that can be used to download the file using the `files.get` method of the Drive API.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Timestamp when the recording ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the recording. Format: `conferenceRecords/{conference_record}/recordings/{recording}` where `{recording}` is a 1:1 mapping to each unique recording session during the conference.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the recording started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"ENDED", +"FILE_GENERATED" +], +"enumDescriptions": [ +"Default, never used.", +"An active recording session has started.", +"This recording session has ended, but the recording file hasn't been generated yet.", +"Recording file is generated and ready to download." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecordingConfig": { +"description": "Configuration related to recording in a meeting space.", +"id": "RecordingConfig", +"properties": { +"autoRecordingGeneration": { +"description": "Defines whether a meeting space is automatically recorded when someone with the privilege to record joins the meeting.", +"enum": [ +"AUTO_GENERATION_TYPE_UNSPECIFIED", +"ON", +"OFF" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"The artifact is generated automatically.", +"The artifact is not generated automatically." +], +"type": "string" +} +}, +"type": "object" +}, +"SignedinUser": { +"description": "A signed-in user can be: a) An individual joining from a personal computer, mobile device, or through companion mode. b) A robot account used by conference room devices.", +"id": "SignedinUser", +"properties": { +"displayName": { +"description": "Output only. For a personal device, it's the user's first name and last name. For a robot account, it's the administrator-specified device name. For example, \"Altostrat Room\".", +"readOnly": true, +"type": "string" +}, +"user": { +"description": "Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: `users/{user}`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SmartNotesConfig": { +"description": "Configuration related to smart notes in a meeting space. For more information about smart notes, see [\"Take notes for me\" in Google Meet](https://support.google.com/meet/answer/14754931).", +"id": "SmartNotesConfig", +"properties": { +"autoSmartNotesGeneration": { +"description": "Defines whether to automatically generate a summary and recap of the meeting for all invitees in the organization when someone with the privilege to enable smart notes joins the meeting.", +"enum": [ +"AUTO_GENERATION_TYPE_UNSPECIFIED", +"ON", +"OFF" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"The artifact is generated automatically.", +"The artifact is not generated automatically." +], +"type": "string" +} +}, +"type": "object" +}, +"Space": { +"description": "Virtual place where conferences are held. Only one active conference can be held in one space at any given time.", +"id": "Space", +"properties": { +"activeConference": { +"$ref": "ActiveConference", +"description": "Active conference, if it exists." +}, +"config": { +"$ref": "SpaceConfig", +"description": "Configuration pertaining to the meeting space." +}, +"meetingCode": { +"description": "Output only. Type friendly unique string used to join the meeting. Format: `[a-z]+-[a-z]+-[a-z]+`. For example, `abc-mnop-xyz`. The maximum length is 128 characters. Can only be used as an alias of the space name to get the space.", +"readOnly": true, +"type": "string" +}, +"meetingUri": { +"description": "Output only. URI used to join meetings consisting of `https://meet.google.com/` followed by the `meeting_code`. For example, `https://meet.google.com/abc-mnop-xyz`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. For more information, see [How Meet identifies a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#identify-meeting-space).", +"type": "string" +} +}, +"type": "object" +}, +"SpaceConfig": { +"description": "The configuration pertaining to a meeting space.", +"id": "SpaceConfig", +"properties": { +"accessType": { +"description": "Access type of the meeting space that determines who can join without knocking. Default: The user's default access settings. Controlled by the user's admin for enterprise users or RESTRICTED.", +"enum": [ +"ACCESS_TYPE_UNSPECIFIED", +"OPEN", +"TRUSTED", +"RESTRICTED" +], +"enumDescriptions": [ +"Default value specified by the user's organization. Note: This is never returned, as the configured access type is returned instead.", +"Anyone with the join information (for example, the URL or phone access information) can join without knocking.", +"Members of the host's organization, invited external users, and dial-in users can join without knocking. Everyone else must knock.", +"Only invitees can join without knocking. Everyone else must knock." +], +"type": "string" +}, +"artifactConfig": { +"$ref": "ArtifactConfig", +"description": "Configuration pertaining to the auto-generated artifacts that the meeting supports." +}, +"attendanceReportGenerationType": { +"description": "Whether attendance report is enabled for the meeting space.", +"enum": [ +"ATTENDANCE_REPORT_GENERATION_TYPE_UNSPECIFIED", +"GENERATE_REPORT", +"DO_NOT_GENERATE" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"Attendance report will be generated and sent to drive/email.", +"Attendance report will not be generated." +], +"type": "string" +}, +"entryPointAccess": { +"description": "Defines the entry points that can be used to join meetings hosted in this meeting space. Default: EntryPointAccess.ALL", +"enum": [ +"ENTRY_POINT_ACCESS_UNSPECIFIED", +"ALL", +"CREATOR_APP_ONLY" +], +"enumDescriptions": [ +"Unused.", +"All entry points are allowed.", +"Only entry points owned by the Google Cloud project that created the space can be used to join meetings in this space. Apps can use the Meet Embed SDK Web or mobile Meet SDKs to create owned entry points." +], +"type": "string" +}, +"moderation": { +"description": "The pre-configured moderation mode for the Meeting. Default: Controlled by the user's policies.", +"enum": [ +"MODERATION_UNSPECIFIED", +"OFF", +"ON" +], +"enumDescriptions": [ +"Moderation type is not specified. This is used to indicate the user hasn't specified any value as the user does not intend to update the state. Users are not allowed to set the value as unspecified.", +"Moderation is off.", +"Moderation is on." +], +"type": "string" +}, +"moderationRestrictions": { +"$ref": "ModerationRestrictions", +"description": "When moderation.ON, these restrictions go into effect for the meeting. When moderation.OFF, will be reset to default ModerationRestrictions." +} +}, +"type": "object" +}, +"Transcript": { +"description": "Metadata for a transcript generated from a conference. It refers to the ASR (Automatic Speech Recognition) result of user's speech during the conference.", +"id": "Transcript", +"properties": { +"docsDestination": { +"$ref": "DocsDestination", +"description": "Output only. Where the Google Docs transcript is saved.", +"readOnly": true +}, +"endTime": { +"description": "Output only. Timestamp when the transcript stopped.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the transcript. Format: `conferenceRecords/{conference_record}/transcripts/{transcript}`, where `{transcript}` is a 1:1 mapping to each unique transcription session of the conference.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the transcript started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"ENDED", +"FILE_GENERATED" +], +"enumDescriptions": [ +"Default, never used.", +"An active transcript session has started.", +"This transcript session has ended, but the transcript file hasn't been generated yet.", +"Transcript file is generated and ready to download." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TranscriptEntry": { +"description": "Single entry for one user\u2019s speech during a transcript session.", +"id": "TranscriptEntry", +"properties": { +"endTime": { +"description": "Output only. Timestamp when the transcript entry ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "Output only. Language of spoken text, such as \"en-US\". IETF BCP 47 syntax (https://tools.ietf.org/html/bcp47)", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the entry. Format: \"conferenceRecords/{conference_record}/transcripts/{transcript}/entries/{entry}\"", +"readOnly": true, +"type": "string" +}, +"participant": { +"description": "Output only. Refers to the participant who speaks.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Timestamp when the transcript entry started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"text": { +"description": "Output only. The transcribed text of the participant's voice, at maximum 10K words. Note that the limit is subject to change.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"TranscriptionConfig": { +"description": "Configuration related to transcription in a meeting space.", +"id": "TranscriptionConfig", +"properties": { +"autoTranscriptionGeneration": { +"description": "Defines whether the content of a meeting is automatically transcribed when someone with the privilege to transcribe joins the meeting.", +"enum": [ +"AUTO_GENERATION_TYPE_UNSPECIFIED", +"ON", +"OFF" +], +"enumDescriptions": [ +"Default value specified by user policy. This should never be returned.", +"The artifact is generated automatically.", +"The artifact is not generated automatically." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Meet API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..6b7c3aaa7f30d7509185a505346c7d259922b67d --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json @@ -0,0 +1,1052 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"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": "merchantapi:datasources_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"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": { +"accounts": { +"resources": { +"dataSources": { +"methods": { +"create": { +"description": "Creates the new data source configuration for the given account. This method always creates a new data source.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources", +"httpMethod": "POST", +"id": "merchantapi.accounts.dataSources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account where this data source will be created. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+parent}/dataSources", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a data source from your Merchant Center account.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.dataSources.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source to delete. Format: `accounts/{account}/dataSources/{datasource}`", +"location": "path", +"pattern": "^accounts/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"fetch": { +"description": "Performs the data fetch immediately (even outside fetch schedule) on a data source from your Merchant Center Account. If you need to call this method more than once per day, you should use the Products service to update your product data instead. This method only works on data sources with a file input set.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}:fetch", +"httpMethod": "POST", +"id": "merchantapi.accounts.dataSources.fetch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source resource to fetch. Format: `accounts/{account}/dataSources/{datasource}`", +"location": "path", +"pattern": "^accounts/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+name}:fetch", +"request": { +"$ref": "FetchDataSourceRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Retrieves the data source configuration for the given account.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.dataSources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source to retrieve. Format: `accounts/{account}/dataSources/{datasource}`", +"location": "path", +"pattern": "^accounts/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+name}", +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the configurations for data sources for the given account.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources", +"httpMethod": "GET", +"id": "merchantapi.accounts.dataSources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of data sources to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of data sources will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDataSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataSources` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account to list data sources for. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+parent}/dataSources", +"response": { +"$ref": "ListDataSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates the existing data source configuration. The fields that are set in the update mask but not provided in the resource will be deleted.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.dataSources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Identifier. The name of the data source. Format: `accounts/{account}/dataSources/{datasource}`", +"location": "path", +"pattern": "^accounts/[^/]+/dataSources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of data source fields to be updated. Fields specified in the update mask without a value specified in the body will be deleted from the data source. Providing special \"*\" value for full data source replacement is not supported. For example, If you insert `updateMask=displayName` in the request, it will only update the `displayName` leaving all other fields untouched.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "datasources/v1beta/{+name}", +"request": { +"$ref": "DataSource" +}, +"response": { +"$ref": "DataSource" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +}, +"resources": { +"fileUploads": { +"methods": { +"get": { +"description": "Gets the latest data source file upload. Only the `latest` alias is accepted for a file upload.", +"flatPath": "datasources/v1beta/accounts/{accountsId}/dataSources/{dataSourcesId}/fileUploads/{fileUploadsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.dataSources.fileUploads.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the data source file upload to retrieve. Format: `accounts/{account}/dataSources/{datasource}/fileUploads/latest`", +"location": "path", +"pattern": "^accounts/[^/]+/dataSources/[^/]+/fileUploads/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "datasources/v1beta/{+name}", +"response": { +"$ref": "FileUpload" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"DataSource": { +"description": "The [data source](/merchant/api/guides/data-sources/overview) for the Merchant Center account.", +"id": "DataSource", +"properties": { +"dataSourceId": { +"description": "Output only. The data source id.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The displayed data source name in the Merchant Center UI.", +"type": "string" +}, +"fileInput": { +"$ref": "FileInput", +"description": "Optional. The field is used only when data is managed through a file." +}, +"input": { +"description": "Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.", +"enum": [ +"INPUT_UNSPECIFIED", +"API", +"FILE", +"UI", +"AUTOFEED" +], +"enumDescriptions": [ +"Input unspecified.", +"Represents data sources for which the data is primarily provided through the API.", +"Represents data sources for which the data is primarily provided through file input. Data can still be provided through the API.", +"The data source for products added directly in Merchant Center. This type of data source can not be created or updated through this API, only by Merchant Center UI. This type of data source is read only.", +"This is also known as [Automated feeds](https://support.google.com/merchants/answer/12158480) used to automatically build your product data. This type of data source can be enabled or disabled through the Accounts sub-API." +], +"readOnly": true, +"type": "string" +}, +"localInventoryDataSource": { +"$ref": "LocalInventoryDataSource", +"description": "The [local inventory](https://support.google.com/merchants/answer/7023001) data source." +}, +"merchantReviewDataSource": { +"$ref": "MerchantReviewDataSource", +"description": "The [merchant review](https://support.google.com/merchants/answer/7045996) data source." +}, +"name": { +"description": "Required. Identifier. The name of the data source. Format: `accounts/{account}/dataSources/{datasource}`", +"type": "string" +}, +"primaryProductDataSource": { +"$ref": "PrimaryProductDataSource", +"description": "The [primary data source](https://support.google.com/merchants/answer/7439058) for local and online products." +}, +"productReviewDataSource": { +"$ref": "ProductReviewDataSource", +"description": "The [product review](https://support.google.com/merchants/answer/7045996) data source." +}, +"promotionDataSource": { +"$ref": "PromotionDataSource", +"description": "The [promotion](https://support.google.com/merchants/answer/2906014) data source." +}, +"regionalInventoryDataSource": { +"$ref": "RegionalInventoryDataSource", +"description": "The [regional inventory](https://support.google.com/merchants/answer/7439058) data source." +}, +"supplementalProductDataSource": { +"$ref": "SupplementalProductDataSource", +"description": "The [supplemental data source](https://support.google.com/merchants/answer/7439058) for local and online products." +} +}, +"type": "object" +}, +"DataSourceReference": { +"description": "Data source reference can be used to manage related data sources within the data source service.", +"id": "DataSourceReference", +"properties": { +"primaryDataSourceName": { +"description": "Optional. The name of the primary data source. Format: `accounts/{account}/dataSources/{datasource}`", +"type": "string" +}, +"self": { +"description": "Self should be used to reference the primary data source itself.", +"type": "boolean" +}, +"supplementalDataSourceName": { +"description": "Optional. The name of the supplemental data source. Format: `accounts/{account}/dataSources/{datasource}`", +"type": "string" +} +}, +"type": "object" +}, +"DefaultRule": { +"description": "Default rule management of the data source.", +"id": "DefaultRule", +"properties": { +"takeFromDataSources": { +"description": "Required. The list of data sources linked in the [default rule](https://support.google.com/merchants/answer/7450276). This list is ordered by the default rule priority of joining the data. It might include none or multiple references to `self` and supplemental data sources. The list must not be empty. To link the data source to the default rule, you need to add a new reference to this list (in sequential order). To unlink the data source from the default rule, you need to remove the given reference from this list. Changing the order of this list will result in changing the priority of data sources in the default rule. For example, providing the following list: [`1001`, `self`] will take attribute values from supplemental data source `1001`, and fallback to `self` if the attribute is not set in `1001`.", +"items": { +"$ref": "DataSourceReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"Destination": { +"description": "Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.", +"id": "Destination", +"properties": { +"destination": { +"description": "[Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.", +"enum": [ +"DESTINATION_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LOCAL_LISTINGS", +"YOUTUBE_SHOPPING", +"YOUTUBE_SHOPPING_CHECKOUT", +"YOUTUBE_AFFILIATE", +"FREE_VEHICLE_LISTINGS", +"VEHICLE_ADS", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL" +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/google-ads/answer/2454022).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3057972).", +"[Free listings](https://support.google.com/merchants/answer/9199328).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[YouTube Shopping](https://support.google.com/merchants/answer/12362804).", +"Youtube shopping checkout.", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[Free vehicle listings](https://support.google.com/merchants/answer/11189169).", +"[Vehicle ads](https://support.google.com/merchants/answer/11189169).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail)." +], +"type": "string" +}, +"state": { +"description": "The state of the destination.", +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Not specified.", +"Indicates that the destination is enabled.", +"Indicates that the destination is disabled." +], +"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" +}, +"FetchDataSourceRequest": { +"description": "Request message for the FetchDataSource method.", +"id": "FetchDataSourceRequest", +"properties": {}, +"type": "object" +}, +"FetchSettings": { +"description": "Fetch details to deliver the data source.", +"id": "FetchSettings", +"properties": { +"dayOfMonth": { +"description": "Optional. The day of the month when the data source file should be fetched (1-31). This field can only be set for monthly frequency.", +"format": "int32", +"type": "integer" +}, +"dayOfWeek": { +"description": "Optional. The day of the week when the data source file should be fetched. This field can only be set for weekly frequency.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"enabled": { +"description": "Optional. Enables or pauses the fetch schedule.", +"type": "boolean" +}, +"fetchUri": { +"description": "Optional. The URL where the data source file can be fetched. Google Merchant Center supports automatic scheduled uploads using the HTTP, HTTPS or SFTP protocols, so the value will need to be a valid link using one of those three protocols. Immutable for Google Sheets files.", +"type": "string" +}, +"frequency": { +"description": "Required. The frequency describing fetch schedule.", +"enum": [ +"FREQUENCY_UNSPECIFIED", +"FREQUENCY_DAILY", +"FREQUENCY_WEEKLY", +"FREQUENCY_MONTHLY" +], +"enumDescriptions": [ +"Frequency unspecified.", +"The fetch happens every day.", +"The fetch happens every week.", +"The fetch happens every month." +], +"type": "string" +}, +"password": { +"description": "Optional. An optional password for fetch_uri. Used for [submitting data sources through SFTP](https://support.google.com/merchants/answer/13813117).", +"type": "string" +}, +"timeOfDay": { +"$ref": "TimeOfDay", +"description": "Optional. The hour of the day when the data source file should be fetched. Minutes and seconds are not supported and will be ignored." +}, +"timeZone": { +"description": "Optional. [Time zone](https://cldr.unicode.org) used for schedule. UTC by default. For example, \"America/Los_Angeles\".", +"type": "string" +}, +"username": { +"description": "Optional. An optional user name for fetch_uri. Used for [submitting data sources through SFTP](https://support.google.com/merchants/answer/13813117).", +"type": "string" +} +}, +"type": "object" +}, +"FileInput": { +"description": "The data specific for file data sources. This field is empty for other data source inputs.", +"id": "FileInput", +"properties": { +"fetchSettings": { +"$ref": "FetchSettings", +"description": "Optional. Fetch details to deliver the data source. It contains settings for `FETCH` and `GOOGLE_SHEETS` file input types. The required fields vary based on the frequency of fetching." +}, +"fileInputType": { +"description": "Output only. The type of file input.", +"enum": [ +"FILE_INPUT_TYPE_UNSPECIFIED", +"UPLOAD", +"FETCH", +"GOOGLE_SHEETS" +], +"enumDescriptions": [ +"File input type unspecified.", +"The file is uploaded through SFTP, Google Cloud Storage or manually in the Merchant Center.", +"The file is fetched from the configured fetch_uri.", +"The file is fetched from Google Sheets specified in the fetch_uri. However, you can't set up `GOOGLE_SHEETS` as a data source through the API. To add `GOOGLE_SHEETS` as a data source through the Merchant Center, see [Add products to Merchant Center](https://support.google.com/merchants/answer/12158053)." +], +"readOnly": true, +"type": "string" +}, +"fileName": { +"description": "Optional. The file name of the data source. Required for `UPLOAD` file input type.", +"type": "string" +} +}, +"type": "object" +}, +"FileUpload": { +"description": "The file upload of a specific data source, that is, the result of the retrieval of the data source at a certain timestamp computed asynchronously when the data source processing is finished. Only applicable to file data sources.", +"id": "FileUpload", +"properties": { +"dataSourceId": { +"description": "Output only. The data source id.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"issues": { +"description": "Output only. The list of issues occurring in the data source.", +"items": { +"$ref": "Issue" +}, +"readOnly": true, +"type": "array" +}, +"itemsCreated": { +"description": "Output only. The number of items in the data source that were created.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"itemsTotal": { +"description": "Output only. The number of items in the data source that were processed.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"itemsUpdated": { +"description": "Output only. The number of items in the data source that were updated.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The name of the data source file upload. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}`", +"type": "string" +}, +"processingState": { +"description": "Output only. The processing state of the data source.", +"enum": [ +"PROCESSING_STATE_UNSPECIFIED", +"FAILED", +"IN_PROGRESS", +"SUCCEEDED" +], +"enumDescriptions": [ +"Processing state unspecified.", +"The data source could not be processed or all the items had errors.", +"The data source is being processed.", +"The data source was processed successfully, though some items might have had errors." +], +"readOnly": true, +"type": "string" +}, +"uploadTime": { +"description": "Output only. The date at which the file of the data source was uploaded.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Issue": { +"description": "An error occurring in the data source, like \"invalid price\".", +"id": "Issue", +"properties": { +"code": { +"description": "Output only. The code of the error, for example, \"validation/invalid_value\". Returns \"?\" if the code is unknown.", +"readOnly": true, +"type": "string" +}, +"count": { +"description": "Output only. The number of occurrences of the error in the file upload.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Output only. The error description, for example, \"Your data source contains items which have too many attributes, or are too big. These items will be dropped\".", +"readOnly": true, +"type": "string" +}, +"documentationUri": { +"description": "Output only. Link to the documentation explaining the issue in more details, if available.", +"readOnly": true, +"type": "string" +}, +"severity": { +"description": "Output only. The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Severity unspecified.", +"The issue is the warning.", +"The issue is an error." +], +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Output only. The title of the issue, for example, \"Item too big\".", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListDataSourcesResponse": { +"description": "Response message for the ListDataSources method.", +"id": "ListDataSourcesResponse", +"properties": { +"dataSources": { +"description": "The data sources from the specified account.", +"items": { +"$ref": "DataSource" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"LocalInventoryDataSource": { +"description": "The local inventory data source type is only available for file inputs and can't be used to create API local inventory data sources.", +"id": "LocalInventoryDataSource", +"properties": { +"contentLanguage": { +"description": "Required. Immutable. The two-letter ISO 639-1 language of the items to which the local inventory is provided.", +"type": "string" +}, +"feedLabel": { +"description": "Required. Immutable. The feed label of the offers to which the local inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels).", +"type": "string" +} +}, +"type": "object" +}, +"MerchantReviewDataSource": { +"description": "The merchant review data source.", +"id": "MerchantReviewDataSource", +"properties": {}, +"type": "object" +}, +"PrimaryProductDataSource": { +"description": "The primary data source for local and online products.", +"id": "PrimaryProductDataSource", +"properties": { +"channel": { +"description": "Optional. Immutable. Specifies the type of data source channel.", +"enum": [ +"CHANNEL_UNSPECIFIED", +"ONLINE_PRODUCTS", +"LOCAL_PRODUCTS", +"PRODUCTS" +], +"enumDescriptions": [ +"Not specified.", +"Online product.", +"Local product.", +"Unified data source for both local and online products. Note: Products management through the API is not possible for this channel." +], +"type": "string" +}, +"contentLanguage": { +"description": "Optional. Immutable. The two-letter ISO 639-1 language of the items in the data source. `feedLabel` and `contentLanguage` must be either both set or unset. The fields can only be unset for data sources without file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.", +"type": "string" +}, +"countries": { +"description": "Optional. The countries where the items may be displayed. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml).", +"items": { +"type": "string" +}, +"type": "array" +}, +"defaultRule": { +"$ref": "DefaultRule", +"description": "Optional. Default rule management of the data source. If set, the linked data sources will be replaced." +}, +"destinations": { +"description": "Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"feedLabel": { +"description": "Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductReviewDataSource": { +"description": "The product review data source.", +"id": "ProductReviewDataSource", +"properties": {}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"PromotionDataSource": { +"description": "The promotion data source.", +"id": "PromotionDataSource", +"properties": { +"contentLanguage": { +"description": "Required. Immutable. The two-letter ISO 639-1 language of the items in the data source.", +"type": "string" +}, +"targetCountry": { +"description": "Required. Immutable. The target country used as part of the unique identifier. Represented as a [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml). Promotions are only available in selected [countries](https://support.google.com/merchants/answer/4588460).", +"type": "string" +} +}, +"type": "object" +}, +"RegionalInventoryDataSource": { +"id": "RegionalInventoryDataSource", +"properties": { +"contentLanguage": { +"description": "Required. Immutable. The two-letter ISO 639-1 language of the items to which the regional inventory is provided.", +"type": "string" +}, +"feedLabel": { +"description": "Required. Immutable. The feed label of the offers to which the regional inventory is provided. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels).", +"type": "string" +} +}, +"type": "object" +}, +"SupplementalProductDataSource": { +"description": "The [supplemental data source](https://developers.google.com/merchant/api/guides/data-sources/api-sources#link-supplemental-data-source) for local and online products. After creation,you should make sure to link the supplemental product data source into one or more primary product data sources.", +"id": "SupplementalProductDataSource", +"properties": { +"contentLanguage": { +"description": "Optional. Immutable. The two-letter ISO 639-1 language of the items in the data source. `feedLabel` and `contentLanguage` must be either both set or unset. The fields can only be unset for data sources without file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept produts without that restriction.", +"type": "string" +}, +"feedLabel": { +"description": "Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. The fields must be unset for data sources without file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept produts without that restriction.", +"type": "string" +}, +"referencingPrimaryDataSources": { +"description": "Output only. The (unordered and deduplicated) list of all primary data sources linked to this data source in either default or custom rules. Supplemental data source cannot be deleted before all links are removed.", +"items": { +"$ref": "DataSourceReference" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"TimeOfDay": { +"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", +"id": "TimeOfDay", +"properties": { +"hours": { +"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "datasources_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..92e17250c77d0fb9614b954ed8298f2059997fa4 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1.json @@ -0,0 +1,766 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"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": "merchantapi:inventories_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"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": { +"accounts": { +"resources": { +"products": { +"resources": { +"localInventories": { +"methods": { +"delete": { +"description": "Deletes the specified `LocalInventory` from the given product in your merchant account. It might take a up to an hour for the `LocalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/localInventories/{localInventoriesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.products.localInventories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `store_code` \"store123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the local inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/localInventories/store123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a local inventory at `store_code` \"store123\" would be: `accounts/123/products/online~en~US~sku123/localInventories/store123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a `LocalInventory` resource to a product in your merchant account. Replaces the full `LocalInventory` resource if an entry with the same `storeCode` already exists for the product. It might take up to 30 minutes for the new or updated `LocalInventory` resource to appear in products.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/localInventories:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.products.localInventories.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+parent}/localInventories:insert", +"request": { +"$ref": "LocalInventory" +}, +"response": { +"$ref": "LocalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the `LocalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `LocalInventory` resources are listed per product for a given account.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/localInventories", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.localInventories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `LocalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 25000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLocalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLocalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+parent}/localInventories", +"response": { +"$ref": "ListLocalInventoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"regionalInventories": { +"methods": { +"delete": { +"description": "Deletes the specified `RegionalInventory` resource from the given product in your merchant account. It might take up to an hour for the `RegionalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/regionalInventories/{regionalInventoriesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.products.regionalInventories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `region` \"region123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the regional inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/regionalInventories/region123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a regional inventory in `region` \"region123\" would be: `accounts/123/products/online~en~US~sku123/regionalInventories/region123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a `RegionalInventory` to a given product in your merchant account. Replaces the full `RegionalInventory` resource if an entry with the same `region` already exists for the product. It might take up to 30 minutes for the new or updated `RegionalInventory` resource to appear in products.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/regionalInventories:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.products.regionalInventories.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+parent}/regionalInventories:insert", +"request": { +"$ref": "RegionalInventory" +}, +"response": { +"$ref": "RegionalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the `RegionalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `RegionalInventory` resources are listed per product for a given account.", +"flatPath": "inventories/v1/accounts/{accountsId}/products/{productsId}/regionalInventories", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.regionalInventories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `RegionalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRegionalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegionalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1/{+parent}/regionalInventories", +"response": { +"$ref": "ListRegionalInventoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"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" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InventoryLoyaltyProgram": { +"description": "A message that represents loyalty program.", +"id": "InventoryLoyaltyProgram", +"properties": { +"cashbackForFutureUse": { +"$ref": "Price", +"description": "The cashback that can be used for future purchases." +}, +"loyaltyPoints": { +"description": "The amount of loyalty points earned on a purchase.", +"format": "int64", +"type": "string" +}, +"memberPriceEffectiveInterval": { +"$ref": "Interval", +"description": "A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash." +}, +"price": { +"$ref": "Price", +"description": "The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price." +}, +"programLabel": { +"description": "The label of the loyalty program. This is an internal label that uniquely identifies the relationship between a business entity and a loyalty program entity. The label must be provided if there are multiple loyalty programs available for the merchant, so that the system can associate the assets below (for example, price and points) with the correct business. The corresponding program must be linked to the Merchant Center account.", +"type": "string" +}, +"shippingLabel": { +"description": "The label of the shipping benefit. If the field has value, this offer has loyalty shipping benefit. If the field value isn't provided, the item is not eligible for loyalty shipping for the given loyalty tier.", +"type": "string" +}, +"tierLabel": { +"description": "The label of the tier within the loyalty program. Must match one of the labels within the program.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocalInventoriesResponse": { +"description": "Response message for the `ListLocalInventories` method.", +"id": "ListLocalInventoriesResponse", +"properties": { +"localInventories": { +"description": "The `LocalInventory` resources for the given product from the specified account.", +"items": { +"$ref": "LocalInventory" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListRegionalInventoriesResponse": { +"description": "Response message for the `ListRegionalInventories` method.", +"id": "ListRegionalInventoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"regionalInventories": { +"description": "The `RegionalInventory` resources for the given product from the specified account.", +"items": { +"$ref": "RegionalInventory" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalInventory": { +"description": "Local inventory information for the product. Represents in-store information for a specific product at the store specified by `storeCode`. For a list of all accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342).", +"id": "LocalInventory", +"properties": { +"account": { +"description": "Output only. The account that owns the product. This field will be ignored if set by the client.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"localInventoryAttributes": { +"$ref": "LocalInventoryAttributes", +"description": "Optional. A list of local inventory attributes." +}, +"name": { +"description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `store_code` \"store123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the local inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/localInventories/store123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a local inventory at `store_code` \"store123\" would be: `accounts/123/products/online~en~US~sku123/localInventories/store123`.", +"readOnly": true, +"type": "string" +}, +"storeCode": { +"description": "Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the [Local product inventory data specification](https://support.google.com/merchants/answer/3061342) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"LocalInventoryAttributes": { +"description": "Local inventory attributes.", +"id": "LocalInventoryAttributes", +"properties": { +"availability": { +"description": "[Availability](https://support.google.com/merchants/answer/3061342) of the product at this store.", +"enum": [ +"LOCAL_INVENTORY_AVAILABILITY_UNSPECIFIED", +"IN_STOCK", +"LIMITED_AVAILABILITY", +"ON_DISPLAY_TO_ORDER", +"OUT_OF_STOCK" +], +"enumDescriptions": [ +"Indicates that the availability is unspecified.", +"Indicates that the product is in stock.", +"Indicates that the product is out of stock.", +"Indicates that the product is on display to order.", +"Indicates that the product is out of stock." +], +"type": "string" +}, +"instoreProductLocation": { +"description": "Optional. Location of the product inside the store. Maximum length is 20 bytes.", +"type": "string" +}, +"loyaltyPrograms": { +"description": "Optional. An optional list of loyalty programs containing applicable loyalty member prices for this product at this store. This field is used to show store-specific member prices on Local Inventory Ads (LIA). To use this, the loyalty program must be configured in Google Merchant Center. The benefits provided must match the merchant's website and be clear to members. This is only applicable for merchants in supported countries. See [Loyalty program](https://support.google.com/merchants/answer/12922446) for details on supported countries and loyalty program configuration. For local inventory specific details, see the [Local inventory data specification](https://support.google.com/merchants/answer/3061342).", +"items": { +"$ref": "InventoryLoyaltyProgram" +}, +"type": "array" +}, +"pickupMethod": { +"description": "Optional. Supported [pickup method](https://support.google.com/merchants/answer/3061342) for this product. Unless the value is `\"not supported\"`, this field must be submitted together with `pickupSla`.", +"enum": [ +"PICKUP_METHOD_UNSPECIFIED", +"BUY", +"RESERVE", +"SHIP_TO_STORE", +"NOT_SUPPORTED" +], +"enumDescriptions": [ +"Indicates that the pickup method is unspecified.", +"Indicates that the pickup method is Buy.", +"Indicates that the pickup method is Reserve.", +"Indicates that the pickup method is Ship to store.", +"Indicates that the pickup method is not supported." +], +"type": "string" +}, +"pickupSla": { +"description": "Optional. Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. See more details [here](https://support.google.com/merchants/answer/3061342).", +"enum": [ +"PICKUP_SLA_UNSPECIFIED", +"SAME_DAY", +"NEXT_DAY", +"TWO_DAY", +"THREE_DAY", +"FOUR_DAY", +"FIVE_DAY", +"SIX_DAY", +"SEVEN_DAY", +"MULTI_WEEK" +], +"enumDescriptions": [ +"Indicates that the pickup SLA is unspecified.", +"Indicates that the pickup SLA is same day.", +"Indicates that the pickup SLA is next day.", +"Indicates that the pickup SLA is two days.", +"Indicates that the pickup SLA is three days.", +"Indicates that the pickup SLA is four days.", +"Indicates that the pickup SLA is five days.", +"Indicates that the pickup SLA is six days.", +"Indicates that the pickup SLA is seven days.", +"Indicates that the pickup SLA is multi-week." +], +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Optional. Price of the product at this store." +}, +"quantity": { +"description": "Optional. Quantity of the product available at this store. Must be greater than or equal to zero.", +"format": "int64", +"type": "string" +}, +"salePrice": { +"$ref": "Price", +"description": "Optional. Sale price of the product at this store. Mandatory if `salePriceEffectiveDate` is defined." +}, +"salePriceEffectiveDate": { +"$ref": "Interval", +"description": "Optional. The `TimePeriod` of the sale at this store." +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"RegionalInventory": { +"description": "Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific `region`. For a list of all accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/9698880).", +"id": "RegionalInventory", +"properties": { +"account": { +"description": "Output only. The account that owns the product. This field will be ignored if set by the client.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of the `RegionalInventory` resource. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `region` \"region123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the regional inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/regionalInventories/region123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a regional inventory in `region` \"region123\" would be: `accounts/123/products/online~en~US~sku123/regionalInventories/region123`.", +"readOnly": true, +"type": "string" +}, +"region": { +"description": "Required. Immutable. ID of the region for this `RegionalInventory` resource. See the [Regional availability and pricing](https://support.google.com/merchants/answer/9698880) for more details.", +"type": "string" +}, +"regionalInventoryAttributes": { +"$ref": "RegionalInventoryAttributes", +"description": "Optional. A list of regional inventory attributes." +} +}, +"type": "object" +}, +"RegionalInventoryAttributes": { +"description": "Regional inventory attributes.", +"id": "RegionalInventoryAttributes", +"properties": { +"availability": { +"description": "Optional. [Availability](https://support.google.com/merchants/answer/14644124) of the product in this region.", +"enum": [ +"REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK" +], +"enumDescriptions": [ +"Indicates that the availability is unspecified.", +"Indicates that the product is in stock.", +"Indicates that the product is out of stock." +], +"type": "string" +}, +"loyaltyPrograms": { +"description": "Optional. An optional list of loyalty programs containing applicable loyalty member prices for this product in this region. This field is used to show region-specific member prices on Product Listing Ads (PLA). To use this, the loyalty program must be configured in Google Merchant Center, and the merchant must be using the Regional Availability and Pricing (RAAP) feature. The benefits provided must match the merchant's website and be clear to members. This is only applicable for merchants in supported countries. See [Loyalty program](https://support.google.com/merchants/answer/12922446) for details on supported countries and loyalty program configuration. Also see [Regional availability and pricing](https://support.google.com/merchants/answer/14644124) and [How to set up regional member pricing](https://support.google.com/merchants/answer/16388178) for more information.", +"items": { +"$ref": "InventoryLoyaltyProgram" +}, +"type": "array" +}, +"price": { +"$ref": "Price", +"description": "Optional. Price of the product in this region." +}, +"salePrice": { +"$ref": "Price", +"description": "Optional. Sale price of the product in this region. Mandatory if `salePriceEffectiveDate` is defined." +}, +"salePriceEffectiveDate": { +"$ref": "Interval", +"description": "Optional. The `TimePeriod` of the sale price in this region." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "inventories_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..4636ff976bd441ede46992eabde64baed2ae2851 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json @@ -0,0 +1,670 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"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": "merchantapi:inventories_v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"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": { +"accounts": { +"resources": { +"products": { +"resources": { +"localInventories": { +"methods": { +"delete": { +"description": "Deletes the specified `LocalInventory` from the given product in your merchant account. It might take a up to an hour for the `LocalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/localInventories/{localInventoriesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.products.localInventories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `store_code` \"store123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the local inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/localInventories/store123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a local inventory at `store_code` \"store123\" would be: `accounts/123/products/online~en~US~sku123/localInventories/store123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a `LocalInventory` resource to a product in your merchant account. Replaces the full `LocalInventory` resource if an entry with the same `storeCode` already exists for the product. It might take up to 30 minutes for the new or updated `LocalInventory` resource to appear in products.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/localInventories:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.products.localInventories.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+parent}/localInventories:insert", +"request": { +"$ref": "LocalInventory" +}, +"response": { +"$ref": "LocalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the `LocalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `LocalInventory` resources are listed per product for a given account.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/localInventories", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.localInventories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `LocalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 25000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListLocalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListLocalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+parent}/localInventories", +"response": { +"$ref": "ListLocalInventoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +}, +"regionalInventories": { +"methods": { +"delete": { +"description": "Deletes the specified `RegionalInventory` resource from the given product in your merchant account. It might take up to an hour for the `RegionalInventory` to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/regionalInventories/{regionalInventoriesId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.products.regionalInventories.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `region` \"region123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the regional inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/regionalInventories/region123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a regional inventory in `region` \"region123\" would be: `accounts/123/products/online~en~US~sku123/regionalInventories/region123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"insert": { +"description": "Inserts a `RegionalInventory` to a given product in your merchant account. Replaces the full `RegionalInventory` resource if an entry with the same `region` already exists for the product. It might take up to 30 minutes for the new or updated `RegionalInventory` resource to appear in products.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/regionalInventories:insert", +"httpMethod": "POST", +"id": "merchantapi.accounts.products.regionalInventories.insert", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+parent}/regionalInventories:insert", +"request": { +"$ref": "RegionalInventory" +}, +"response": { +"$ref": "RegionalInventory" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Lists the `RegionalInventory` resources for the given product in your merchant account. The response might contain fewer items than specified by `pageSize`. If `pageToken` was returned in previous request, it can be used to obtain additional results. `RegionalInventory` resources are listed per product for a given account.", +"flatPath": "inventories/v1beta/accounts/{accountsId}/products/{productsId}/regionalInventories", +"httpMethod": "GET", +"id": "merchantapi.accounts.products.regionalInventories.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of `RegionalInventory` resources for the given product to return. The service returns fewer than this value if the number of inventories for the given product is less that than the `pageSize`. The default value is 25000. The maximum value is 100000; If a value higher than the maximum is specified, then the `pageSize` will default to the maximum.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListRegionalInventories` call. Provide the page token to retrieve the subsequent page. When paginating, all other parameters provided to `ListRegionalInventories` must match the call that provided the page token. The token returned as nextPageToken in the response to the previous request.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", +"location": "path", +"pattern": "^accounts/[^/]+/products/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "inventories/v1beta/{+parent}/regionalInventories", +"response": { +"$ref": "ListRegionalInventoriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"CustomAttribute": { +"description": "A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.", +"id": "CustomAttribute", +"properties": { +"groupValues": { +"description": "Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "The name of the attribute.", +"type": "string" +}, +"value": { +"description": "The value of the attribute. If `value` is not empty, `group_values` must be empty.", +"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" +}, +"Interval": { +"description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", +"id": "Interval", +"properties": { +"endTime": { +"description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListLocalInventoriesResponse": { +"description": "Response message for the `ListLocalInventories` method.", +"id": "ListLocalInventoriesResponse", +"properties": { +"localInventories": { +"description": "The `LocalInventory` resources for the given product from the specified account.", +"items": { +"$ref": "LocalInventory" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListRegionalInventoriesResponse": { +"description": "Response message for the `ListRegionalInventories` method.", +"id": "ListRegionalInventoriesResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"regionalInventories": { +"description": "The `RegionalInventory` resources for the given product from the specified account.", +"items": { +"$ref": "RegionalInventory" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalInventory": { +"description": "Local inventory information for the product. Represents in-store information for a specific product at the store specified by `storeCode`. For a list of all accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342).", +"id": "LocalInventory", +"properties": { +"account": { +"description": "Output only. The account that owns the product. This field will be ignored if set by the client.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"availability": { +"description": "Availability of the product at this store. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342)", +"type": "string" +}, +"customAttributes": { +"deprecated": true, +"description": "A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"instoreProductLocation": { +"description": "Location of the product inside the store. Maximum length is 20 bytes.", +"type": "string" +}, +"name": { +"description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `store_code` \"store123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the local inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/localInventories/store123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a local inventory at `store_code` \"store123\" would be: `accounts/123/products/online~en~US~sku123/localInventories/store123`.", +"readOnly": true, +"type": "string" +}, +"pickupMethod": { +"description": "Supported pickup method for this product. Unless the value is `\"not supported\"`, this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342)", +"type": "string" +}, +"pickupSla": { +"description": "Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342)", +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Optional. Price of the product at this store." +}, +"quantity": { +"description": "Quantity of the product available at this store. Must be greater than or equal to zero.", +"format": "int64", +"type": "string" +}, +"salePrice": { +"$ref": "Price", +"description": "Optional. Sale price of the product at this store. Mandatory if `salePriceEffectiveDate` is defined." +}, +"salePriceEffectiveDate": { +"$ref": "Interval", +"description": "Optional. The `TimePeriod` of the sale at this store." +}, +"storeCode": { +"description": "Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the [Local product inventory data specification](https://support.google.com/merchants/answer/3061342) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"Price": { +"description": "The price represented as a number and currency.", +"id": "Price", +"properties": { +"amountMicros": { +"description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", +"format": "int64", +"type": "string" +}, +"currencyCode": { +"description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +}, +"RegionalInventory": { +"description": "Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific `region`. For a list of all accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/9698880).", +"id": "RegionalInventory", +"properties": { +"account": { +"description": "Output only. The account that owns the product. This field will be ignored if set by the client.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"availability": { +"description": "Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/14644124).", +"type": "string" +}, +"customAttributes": { +"deprecated": true, +"description": "A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form.", +"items": { +"$ref": "CustomAttribute" +}, +"type": "array" +}, +"name": { +"description": "Output only. The name of the `RegionalInventory` resource. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The `{product}` segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the `{product}` segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123` for `region` \"region123\", the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the regional inventory would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw/regionalInventories/region123`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format for the product segment is `channel~content_language~feed_label~offer_id`. For example, the full resource name for a regional inventory in `region` \"region123\" would be: `accounts/123/products/online~en~US~sku123/regionalInventories/region123`.", +"readOnly": true, +"type": "string" +}, +"price": { +"$ref": "Price", +"description": "Optional. Price of the product in this region." +}, +"region": { +"description": "Required. Immutable. ID of the region for this `RegionalInventory` resource. See the [Regional availability and pricing](https://support.google.com/merchants/answer/9698880) for more details.", +"type": "string" +}, +"salePrice": { +"$ref": "Price", +"description": "Optional. Sale price of the product in this region. Mandatory if `salePriceEffectiveDate` is defined." +}, +"salePriceEffectiveDate": { +"$ref": "Interval", +"description": "Optional. The `TimePeriod` of the sale price in this region." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "inventories_v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1.json new file mode 100644 index 0000000000000000000000000000000000000000..161591d308daa17c7a9dead18f9f452c12c630e1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/merchantapi.notifications_v1.json @@ -0,0 +1,486 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/content": { +"description": "Manage your product listings and accounts for Google Shopping" +} +} +} +}, +"basePath": "", +"baseUrl": "https://merchantapi.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Merchant", +"description": "Programmatically manage your Merchant Center Accounts.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/merchant/api", +"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": "merchantapi:notifications_v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://merchantapi.mtls.googleapis.com/", +"name": "merchantapi", +"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": { +"accounts": { +"resources": { +"notificationsubscriptions": { +"methods": { +"create": { +"description": "Creates a notification subscription for a business. For standalone or subaccounts accounts, the business can create a subscription for self. For MCAs, the business can create a subscription for all managed accounts or for a specific subaccount. See [Decode notifications](/merchant/api/guides/accounts/notifications#decode_notifications) for information on how to decode the notification payload and how to interpret its contents. We will allow the following types of notification subscriptions to exist together (per business as a subscriber per event type): 1. Subscription for all managed accounts + subscription for self. 2. Multiple \"partial\" subscriptions for managed accounts + subscription for self. we will not allow (per business as a subscriber per event type): 1. Multiple self subscriptions. 2. Multiple \"all managed accounts\" subscriptions. 3. \"All managed accounts\" subscription and partial subscriptions at the same time. 4. Multiple partial subscriptions for the same target account.", +"flatPath": "notifications/v1/accounts/{accountsId}/notificationsubscriptions", +"httpMethod": "POST", +"id": "merchantapi.accounts.notificationsubscriptions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The merchant account that owns the new notification subscription. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1/{+parent}/notificationsubscriptions", +"request": { +"$ref": "NotificationSubscription" +}, +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"delete": { +"description": "Deletes a notification subscription for a merchant.", +"flatPath": "notifications/v1/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "DELETE", +"id": "merchantapi.accounts.notificationsubscriptions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the notification subscription to be deleted.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"get": { +"description": "Gets notification subscriptions for an account.", +"flatPath": "notifications/v1/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "GET", +"id": "merchantapi.accounts.notificationsubscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The `name` of the notification subscription.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1/{+name}", +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"list": { +"description": "Gets all the notification subscriptions for a merchant.", +"flatPath": "notifications/v1/accounts/{accountsId}/notificationsubscriptions", +"httpMethod": "GET", +"id": "merchantapi.accounts.notificationsubscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of notification subscriptions to return in a page. The default value for `page_size` is 100. The maximum value is `200`. Values above `200` will be coerced to `200`.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The merchant account who owns the notification subscriptions. Format: `accounts/{account}`", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "notifications/v1/{+parent}/notificationsubscriptions", +"response": { +"$ref": "ListNotificationSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +}, +"patch": { +"description": "Updates an existing notification subscription for a merchant.", +"flatPath": "notifications/v1/accounts/{accountsId}/notificationsubscriptions/{notificationsubscriptionsId}", +"httpMethod": "PATCH", +"id": "merchantapi.accounts.notificationsubscriptions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}`", +"location": "path", +"pattern": "^accounts/[^/]+/notificationsubscriptions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields being updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "notifications/v1/{+name}", +"request": { +"$ref": "NotificationSubscription" +}, +"response": { +"$ref": "NotificationSubscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/content" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://merchantapi.googleapis.com/", +"schemas": { +"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" +}, +"ListNotificationSubscriptionsResponse": { +"description": "Response message for the ListNotificationSubscription method.", +"id": "ListNotificationSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"notificationSubscriptions": { +"description": "The list of notification subscriptions requested by the merchant.", +"items": { +"$ref": "NotificationSubscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"NotificationSubscription": { +"description": "Represents a notification subscription owned by a Merchant account. See [Decode notifications](/merchant/api/guides/accounts/notifications#decode_notifications) for information on how to decode the notification payload and how to interpret its contents.", +"id": "NotificationSubscription", +"properties": { +"allManagedAccounts": { +"description": "If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.", +"type": "boolean" +}, +"callBackUri": { +"description": "URL to be used to push the notification to the merchant.", +"type": "string" +}, +"name": { +"description": "Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}`", +"readOnly": true, +"type": "string" +}, +"registeredEvent": { +"description": "The event that the merchant wants to be notified about.", +"enum": [ +"NOTIFICATION_EVENT_TYPE_UNSPECIFIED", +"PRODUCT_STATUS_CHANGE" +], +"enumDescriptions": [ +"Notifications event type is unspecified.", +"Notification of product status changes, for example when product becomes disapproved." +], +"type": "string" +}, +"targetAccount": { +"description": "The `name` of the account you want to receive notifications for. Format: `accounts/{account}`", +"type": "string" +} +}, +"type": "object" +}, +"ProductChange": { +"description": "The change that happened to the product including old value, new value, country code as the region code and reporting context.", +"id": "ProductChange", +"properties": { +"newValue": { +"description": "The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"oldValue": { +"description": "The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)", +"type": "string" +}, +"regionCode": { +"description": "Countries that have the change (if applicable). Represented in the ISO 3166 format.", +"type": "string" +}, +"reportingContext": { +"description": "Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)", +"enum": [ +"REPORTING_CONTEXT_ENUM_UNSPECIFIED", +"SHOPPING_ADS", +"DISCOVERY_ADS", +"DEMAND_GEN_ADS", +"DEMAND_GEN_ADS_DISCOVER_SURFACE", +"VIDEO_ADS", +"DISPLAY_ADS", +"LOCAL_INVENTORY_ADS", +"VEHICLE_INVENTORY_ADS", +"FREE_LISTINGS", +"FREE_LISTINGS_UCP_CHECKOUT", +"FREE_LOCAL_LISTINGS", +"FREE_LOCAL_VEHICLE_LISTINGS", +"YOUTUBE_AFFILIATE", +"YOUTUBE_SHOPPING", +"CLOUD_RETAIL", +"LOCAL_CLOUD_RETAIL", +"PRODUCT_REVIEWS", +"MERCHANT_REVIEWS", +"YOUTUBE_CHECKOUT" +], +"enumDeprecated": [ +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Not specified.", +"[Shopping ads](https://support.google.com/merchants/answer/6149970).", +"Deprecated: Use `DEMAND_GEN_ADS` instead. [Discovery and Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads](https://support.google.com/merchants/answer/13389785).", +"[Demand Gen ads on Discover surface](https://support.google.com/merchants/answer/13389785).", +"[Video ads](https://support.google.com/google-ads/answer/6340491).", +"[Display ads](https://support.google.com/merchants/answer/6069387).", +"[Local inventory ads](https://support.google.com/merchants/answer/3271956).", +"[Vehicle inventory ads](https://support.google.com/merchants/answer/11544533).", +"[Free product listings](https://support.google.com/merchants/answer/9199328).", +"[Free product listings on UCP checkout](https://developers.google.com/merchant/ucp).", +"[Free local product listings](https://support.google.com/merchants/answer/9825611).", +"[Free local vehicle listings](https://support.google.com/merchants/answer/11544533).", +"[Youtube Affiliate](https://support.google.com/youtube/answer/13376398).", +"[YouTube Shopping](https://support.google.com/merchants/answer/13478370).", +"[Cloud retail](https://cloud.google.com/solutions/retail).", +"[Local cloud retail](https://cloud.google.com/solutions/retail).", +"[Product Reviews](https://support.google.com/merchants/answer/14620732).", +"[Merchant Reviews](https://developers.google.com/merchant-review-feeds).", +"YouTube Checkout ." +], +"type": "string" +} +}, +"type": "object" +}, +"ProductStatusChangeMessage": { +"description": "The message that the merchant will receive to notify about product status change event", +"id": "ProductStatusChangeMessage", +"properties": { +"account": { +"description": "The target account that owns the entity that changed. Format : `accounts/{merchant_id}`", +"type": "string" +}, +"attribute": { +"description": "The attribute in the resource that changed, in this case it will be always `Status`.", +"enum": [ +"ATTRIBUTE_UNSPECIFIED", +"STATUS" +], +"enumDescriptions": [ +"Unspecified attribute", +"Status of the changed entity" +], +"type": "string" +}, +"changes": { +"description": "A message to describe the change that happened to the product", +"items": { +"$ref": "ProductChange" +}, +"type": "array" +}, +"eventTime": { +"description": "The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.", +"format": "google-datetime", +"type": "string" +}, +"expirationTime": { +"description": "Optional. The product expiration time. This field will not be set if the notification is sent for a product deletion event.", +"format": "google-datetime", +"type": "string" +}, +"managingAccount": { +"description": "The account that manages the merchant's account. can be the same as merchant id if it is standalone account. Format : `accounts/{service_provider_id}`", +"type": "string" +}, +"resource": { +"description": "The product name. Format: `accounts/{account}/products/{product}`", +"type": "string" +}, +"resourceId": { +"description": "The product id.", +"type": "string" +}, +"resourceType": { +"description": "The resource that changed, in this case it will always be `Product`.", +"enum": [ +"RESOURCE_UNSPECIFIED", +"PRODUCT" +], +"enumDescriptions": [ +"Unspecified resource", +"Resource type : product" +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Merchant API", +"version": "notifications_v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..aa6beb92a5135215278e809622d4611f77b1a596 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/metastore.v1beta.json @@ -0,0 +1,3911 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://metastore.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Dataproc Metastore", +"description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/dataproc-metastore/docs", +"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": "metastore:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://metastore.mtls.googleapis.com/", +"name": "metastore", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1beta/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "metastore.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like \"displayName=tokyo\", and is documented in more detail in AIP-160 (https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"federations": { +"methods": { +"create": { +"description": "Creates a metastore federation in a project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"federationId": { +"description": "Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location in which to create a federation service, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/federations", +"request": { +"$ref": "Federation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single federation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.federations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore federation to delete, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a single federation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore federation to retrieve, in the following form:projects/{project_number}/locations/{location_id}/federations/{federation_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Federation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists federations in a project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations", +"httpMethod": "GET", +"id": "metastore.projects.locations.federations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of federations to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous ListFederationServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to ListFederationServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location of metastore federations to list, in the following form: projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/federations", +"response": { +"$ref": "ListFederationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the fields of a federation.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.federations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metastore federation resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Federation" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.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/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/federations/{federationsId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.federations.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/[^/]+/federations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "metastore.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "metastore.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"services": { +"methods": { +"alterLocation": { +"description": "Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterLocation", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.alterLocation", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:alterLocation", +"request": { +"$ref": "AlterMetadataResourceLocationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"alterTableProperties": { +"description": "Alter metadata table properties.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:alterTableProperties", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.alterTableProperties", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:alterTableProperties", +"request": { +"$ref": "AlterTablePropertiesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"cancelMigration": { +"description": "Cancels the ongoing Managed Migration process.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:cancelMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.cancelMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:cancelMigration", +"request": { +"$ref": "CancelMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"completeMigration": { +"description": "Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:completeMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.completeMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:completeMigration", +"request": { +"$ref": "CompleteMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a metastore service in a project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The relative resource name of the location in which to create a metastore service, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"serviceId": { +"description": "Required. The ID of the metastore service, which is used as the final component of the metastore service's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/services", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore service to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportMetadata": { +"description": "Exports metadata from a service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:exportMetadata", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.exportMetadata", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to run export, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:exportMetadata", +"request": { +"$ref": "ExportMetadataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a single service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metastore service to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists services in a project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the location of metastore services to list, in the following form:projects/{project_number}/locations/{location_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"moveTableToDatabase": { +"description": "Move a table to another database.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:moveTableToDatabase", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.moveTableToDatabase", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:moveTableToDatabase", +"request": { +"$ref": "MoveTableToDatabaseRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.services.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metastore service resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryMetadata": { +"description": "Query Dataproc Metastore metadata.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.queryMetadata", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to query metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:queryMetadata", +"request": { +"$ref": "QueryMetadataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeIamPolicy": { +"description": "Removes the attached IAM policies for a resource", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/{servicesId1}:removeIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.removeIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "Required. The relative resource name of the dataplane resource to remove IAM policy, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id} or projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:removeIamPolicy", +"request": { +"$ref": "RemoveIamPolicyRequest" +}, +"response": { +"$ref": "RemoveIamPolicyResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"restore": { +"description": "Restores a service from a backup.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:restore", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.restore", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:restore", +"request": { +"$ref": "RestoreServiceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.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/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"startMigration": { +"description": "Starts the Managed Migration process.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:startMigration", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.startMigration", +"parameterOrder": [ +"service" +], +"parameters": { +"service": { +"description": "Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+service}:startMigration", +"request": { +"$ref": "StartMigrationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.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/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"backups": { +"methods": { +"create": { +"description": "Creates a new backup in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.backups.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"backupId": { +"description": "Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service in which to create a backup of the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/backups", +"request": { +"$ref": "Backup" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single backup.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.backups.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the backup to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single backup.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the backup to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Backup" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists backups in a service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.backups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of backups to return. The response may contain less than the maximum number. If unspecified, no more than 500 backups are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListBackups call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListBackups must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose backups to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/backups", +"response": { +"$ref": "ListBackupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.backups.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/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/backups/{backupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.backups.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/[^/]+/services/[^/]+/backups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"databases": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.databases.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/services/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.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/[^/]+/services/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.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/[^/]+/services/[^/]+/databases/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"tables": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:getIamPolicy", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.databases.tables.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:setIamPolicy", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.tables.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/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:testIamPermissions", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.databases.tables.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/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"metadataImports": { +"methods": { +"create": { +"description": "Creates a new MetadataImport in a given project and location.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports", +"httpMethod": "POST", +"id": "metastore.projects.locations.services.metadataImports.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"metadataImportId": { +"description": "Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service in which to create a metastore import, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/metadataImports", +"request": { +"$ref": "MetadataImport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single import.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports/{metadataImportsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.metadataImports.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the metadata import to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/metadataImports/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "MetadataImport" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists imports in a service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.metadataImports.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of imports to return. The response may contain less than the maximum number. If unspecified, no more than 500 imports are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListServices call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListServices must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose metadata imports to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/metadataImports", +"response": { +"$ref": "ListMetadataImportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single import. Only the description field of MetadataImport is supported to be updated.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/metadataImports/{metadataImportsId}", +"httpMethod": "PATCH", +"id": "metastore.projects.locations.services.metadataImports.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/metadataImports/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. A field mask used to specify the fields to be overwritten in the metadata import resource by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"request": { +"$ref": "MetadataImport" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"migrationExecutions": { +"methods": { +"delete": { +"description": "Deletes a single migration execution.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", +"httpMethod": "DELETE", +"id": "metastore.projects.locations.services.migrationExecutions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single migration execution.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions/{migrationExecutionsId}", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.migrationExecutions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/migrationExecutions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "MigrationExecution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists migration executions on a service.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/migrationExecutions", +"httpMethod": "GET", +"id": "metastore.projects.locations.services.migrationExecutions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. The filter to apply to list results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/migrationExecutions", +"response": { +"$ref": "ListMigrationExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260203", +"rootUrl": "https://metastore.googleapis.com/", +"schemas": { +"AlterMetadataResourceLocationRequest": { +"description": "Request message for DataprocMetastore.AlterMetadataResourceLocation.", +"id": "AlterMetadataResourceLocationRequest", +"properties": { +"locationUri": { +"description": "Required. The new location URI for the metadata resource.", +"type": "string" +}, +"resourceName": { +"description": "Required. The relative metadata resource name in the following format.databases/{database_id} or databases/{database_id}/tables/{table_id} or databases/{database_id}/tables/{table_id}/partitions/{partition_id}", +"type": "string" +} +}, +"type": "object" +}, +"AlterMetadataResourceLocationResponse": { +"description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.", +"id": "AlterMetadataResourceLocationResponse", +"properties": {}, +"type": "object" +}, +"AlterTablePropertiesRequest": { +"description": "Request message for DataprocMetastore.AlterTableProperties.", +"id": "AlterTablePropertiesRequest", +"properties": { +"properties": { +"additionalProperties": { +"type": "string" +}, +"description": "A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask", +"type": "object" +}, +"tableName": { +"description": "Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id}", +"type": "string" +}, +"updateMask": { +"description": "A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: \"properties.b\", \"properties.c\"then the result will be: properties { a: 1 b: 3 c: 4 } ", +"format": "google-fieldmask", +"type": "string" +} +}, +"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" +}, +"AutoscalingConfig": { +"description": "Represents the autoscaling configuration of a metastore service.", +"id": "AutoscalingConfig", +"properties": { +"autoscalingEnabled": { +"description": "Optional. Whether or not autoscaling is enabled for this service.", +"type": "boolean" +}, +"autoscalingFactor": { +"description": "Output only. The scaling factor of a service with autoscaling enabled.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"limitConfig": { +"$ref": "LimitConfig", +"description": "Optional. The LimitConfig of the service." +} +}, +"type": "object" +}, +"AuxiliaryVersionConfig": { +"description": "Configuration information for the auxiliary service versions.", +"id": "AuxiliaryVersionConfig", +"properties": { +"configOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.", +"type": "object" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Output only. The network configuration contains the endpoint URI(s) of the auxiliary Hive metastore service.", +"readOnly": true +}, +"version": { +"description": "Optional. The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.", +"type": "string" +} +}, +"type": "object" +}, +"BackendMetastore": { +"description": "Represents a backend metastore for the federation.", +"id": "BackendMetastore", +"properties": { +"metastoreType": { +"description": "The type of the backend metastore.", +"enum": [ +"METASTORE_TYPE_UNSPECIFIED", +"DATAPLEX", +"BIGQUERY", +"DATAPROC_METASTORE" +], +"enumDescriptions": [ +"The metastore type is not set.", +"The backend metastore is Dataplex.", +"The backend metastore is BigQuery.", +"The backend metastore is Dataproc Metastore." +], +"type": "string" +}, +"name": { +"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}", +"type": "string" +} +}, +"type": "object" +}, +"Backup": { +"description": "The details of a backup resource.", +"id": "Backup", +"properties": { +"createTime": { +"description": "Output only. The time when the backup was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the backup.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the backup finished creating.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}", +"type": "string" +}, +"restoringServices": { +"description": "Output only. Services that are restoring from the backup.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"serviceRevision": { +"$ref": "Service", +"description": "Output only. The revision of the service at the time of backup.", +"readOnly": true +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"DELETING", +"ACTIVE", +"FAILED", +"RESTORING" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is being created.", +"The backup is being deleted.", +"The backup is active and ready to use.", +"The backup failed.", +"The backup is being restored." +], +"readOnly": true, +"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" +}, +"CancelMigrationRequest": { +"description": "Request message for DataprocMetastore.CancelMigration.", +"id": "CancelMigrationRequest", +"properties": {}, +"type": "object" +}, +"CancelMigrationResponse": { +"description": "Response message for DataprocMetastore.CancelMigration.", +"id": "CancelMigrationResponse", +"properties": { +"migrationExecution": { +"description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CdcConfig": { +"description": "Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore.", +"id": "CdcConfig", +"properties": { +"bucket": { +"description": "Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like \"gs://\". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used.", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request.", +"type": "string" +}, +"reverseProxySubnet": { +"description": "Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"rootPath": { +"description": "Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration.", +"type": "string" +}, +"subnetIpRange": { +"description": "Required. A /29 CIDR IP range for peering with datastream.", +"type": "string" +}, +"username": { +"description": "Required. The username that the Datastream service should use for the MySQL connection.", +"type": "string" +}, +"vpcNetwork": { +"description": "Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLConnectionConfig": { +"description": "Configuration information to establish customer database connection before the cutover phase of migration", +"id": "CloudSQLConnectionConfig", +"properties": { +"hiveDatabaseName": { +"description": "Required. The hive database name.", +"type": "string" +}, +"instanceConnectionName": { +"description": "Required. Cloud SQL database connection name (project_id:region:instance_name)", +"type": "string" +}, +"ipAddress": { +"description": "Required. The private IP address of the Cloud SQL instance.", +"type": "string" +}, +"natSubnet": { +"description": "Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"password": { +"description": "Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.", +"type": "string" +}, +"port": { +"description": "Required. The network port of the database.", +"format": "int32", +"type": "integer" +}, +"proxySubnet": { +"description": "Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +}, +"username": { +"description": "Required. The username that Dataproc Metastore service will use to connect to the database.", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLMigrationConfig": { +"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.", +"id": "CloudSQLMigrationConfig", +"properties": { +"cdcConfig": { +"$ref": "CdcConfig", +"description": "Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration." +}, +"cloudSqlConnectionConfig": { +"$ref": "CloudSQLConnectionConfig", +"description": "Required. Configuration information to establish customer database connection before the cutover phase of migration" +} +}, +"type": "object" +}, +"CompleteMigrationRequest": { +"description": "Request message for DataprocMetastore.CompleteMigration.", +"id": "CompleteMigrationRequest", +"properties": {}, +"type": "object" +}, +"CompleteMigrationResponse": { +"description": "Response message for DataprocMetastore.CompleteMigration.", +"id": "CompleteMigrationResponse", +"properties": { +"migrationExecution": { +"description": "The relative resource name of the migration execution, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}.", +"type": "string" +} +}, +"type": "object" +}, +"Consumer": { +"description": "Contains information of the customer's network configurations.", +"id": "Consumer", +"properties": { +"endpointLocation": { +"description": "Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}.", +"readOnly": true, +"type": "string" +}, +"endpointUri": { +"description": "Output only. The URI of the endpoint used to access the metastore service.", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}", +"type": "string" +} +}, +"type": "object" +}, +"CustomRegionConfig": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region.", +"id": "CustomRegionConfig", +"properties": { +"readOnlyRegions": { +"description": "Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"readWriteRegions": { +"description": "Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", +"id": "CustomRegionMetadata", +"properties": { +"optionalReadOnlyRegions": { +"description": "The read-only regions for this custom region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requiredReadWriteRegions": { +"description": "The read-write regions for this custom region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"witnessRegion": { +"description": "The Spanner witness region for this custom region.", +"type": "string" +} +}, +"type": "object" +}, +"DataCatalogConfig": { +"description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", +"id": "DataCatalogConfig", +"properties": { +"enabled": { +"description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", +"type": "boolean" +} +}, +"type": "object" +}, +"DatabaseDump": { +"description": "A specification of the location of and metadata about a database dump from a relational database management system.", +"id": "DatabaseDump", +"properties": { +"databaseType": { +"deprecated": true, +"description": "The type of the database.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"MYSQL" +], +"enumDescriptions": [ +"The type of the source database is unknown.", +"The type of the source database is MySQL." +], +"type": "string" +}, +"gcsUri": { +"description": "Optional. A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.", +"type": "string" +}, +"sourceDatabase": { +"deprecated": true, +"description": "Optional. The name of the source database.", +"type": "string" +}, +"type": { +"description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"type": "string" +} +}, +"type": "object" +}, +"DataplexConfig": { +"description": "Specifies how metastore metadata should be integrated with the Dataplex service.", +"id": "DataplexConfig", +"properties": { +"lakeResources": { +"additionalProperties": { +"$ref": "Lake" +}, +"description": "Optional. A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.", +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EncryptionConfig": { +"description": "Encryption settings for the service.", +"id": "EncryptionConfig", +"properties": { +"kmsKey": { +"description": "Optional. The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.", +"type": "string" +}, +"kmsKeys": { +"description": "Optional. The list of fully qualified customer provided Cloud KMS key names for the multi-regional service. Each key must be in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ErrorDetails": { +"description": "Error details in public error message for DataprocMetastore.QueryMetadata.", +"id": "ErrorDetails", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error.Keys define the failure items. Value describes the exception or details of the item.", +"type": "object" +} +}, +"type": "object" +}, +"ExportMetadataRequest": { +"description": "Request message for DataprocMetastore.ExportMetadata.", +"id": "ExportMetadataRequest", +"properties": { +"databaseDumpType": { +"description": "Optional. The type of the database dump. If unspecified, defaults to MYSQL.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"type": "string" +}, +"destinationGcsFolder": { +"description": "A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing exported files will be created below it.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +} +}, +"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" +}, +"Federation": { +"description": "Represents a federation of multiple backend metastores.", +"id": "Federation", +"properties": { +"backendMetastores": { +"additionalProperties": { +"$ref": "BackendMetastore" +}, +"description": "A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number.", +"type": "object" +}, +"createTime": { +"description": "Output only. The time when the metastore federation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endpointUri": { +"description": "Output only. The federation endpoint.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels for the metastore federation.", +"type": "object" +}, +"name": { +"description": "Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_id}`.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the federation.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"UPDATING", +"DELETING", +"ERROR" +], +"enumDescriptions": [ +"The state of the metastore federation is unknown.", +"The metastore federation is in the process of being created.", +"The metastore federation is running and ready to serve queries.", +"The metastore federation is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", +"The metastore federation is undergoing deletion. It cannot be used.", +"The metastore federation has encountered an error and cannot be used. The metastore federation should be deleted." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the metastore federation, if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"uid": { +"description": "Output only. The globally unique resource identifier of the metastore federation.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metastore federation was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"version": { +"description": "Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version.", +"type": "string" +} +}, +"type": "object" +}, +"HiveMetastoreConfig": { +"description": "Specifies configuration information specific to running Hive metastore software as the metastore service.", +"id": "HiveMetastoreConfig", +"properties": { +"auxiliaryVersions": { +"additionalProperties": { +"$ref": "AuxiliaryVersionConfig" +}, +"description": "Optional. A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.", +"type": "object" +}, +"configOverrides": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.", +"type": "object" +}, +"endpointProtocol": { +"description": "Optional. The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.", +"enum": [ +"ENDPOINT_PROTOCOL_UNSPECIFIED", +"THRIFT", +"GRPC" +], +"enumDescriptions": [ +"The protocol is not set.", +"Use the legacy Apache Thrift protocol for the metastore service endpoint.", +"Use the modernized gRPC protocol for the metastore service endpoint." +], +"type": "string" +}, +"kerberosConfig": { +"$ref": "KerberosConfig", +"description": "Optional. Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service." +}, +"version": { +"description": "Immutable. The Hive metastore schema version.", +"type": "string" +} +}, +"type": "object" +}, +"HiveMetastoreVersion": { +"description": "A specification of a supported version of the Hive Metastore software.", +"id": "HiveMetastoreVersion", +"properties": { +"isDefault": { +"description": "Whether version will be chosen by the server if a metastore service is created with a HiveMetastoreConfig that omits the version.", +"type": "boolean" +}, +"version": { +"description": "The semantic version of the Hive Metastore software.", +"type": "string" +} +}, +"type": "object" +}, +"KerberosConfig": { +"description": "Configuration information for a Kerberos principal.", +"id": "KerberosConfig", +"properties": { +"keytab": { +"$ref": "Secret", +"description": "Optional. A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC)." +}, +"krb5ConfigGcsUri": { +"description": "Optional. A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.", +"type": "string" +}, +"principal": { +"description": "Optional. A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format.", +"type": "string" +} +}, +"type": "object" +}, +"Lake": { +"description": "Represents a Lake resource", +"id": "Lake", +"properties": { +"name": { +"description": "The Lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}", +"type": "string" +} +}, +"type": "object" +}, +"LatestBackup": { +"description": "The details of the latest scheduled backup.", +"id": "LatestBackup", +"properties": { +"backupId": { +"description": "Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress.", +"readOnly": true, +"type": "string" +}, +"duration": { +"description": "Output only. The duration of the backup completion.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the backup was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the backup.", +"enum": [ +"STATE_UNSPECIFIED", +"IN_PROGRESS", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"The state of the backup is unknown.", +"The backup is in progress.", +"The backup completed.", +"The backup failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LimitConfig": { +"description": "Represents the autoscaling limit configuration of a metastore service.", +"id": "LimitConfig", +"properties": { +"maxScalingFactor": { +"description": "Optional. The highest scaling factor that the service should be autoscaled to.", +"format": "float", +"type": "number" +}, +"minScalingFactor": { +"description": "Optional. The lowest scaling factor that the service should be autoscaled to.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ListBackupsResponse": { +"description": "Response message for DataprocMetastore.ListBackups.", +"id": "ListBackupsResponse", +"properties": { +"backups": { +"description": "The backups of the specified service.", +"items": { +"$ref": "Backup" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListFederationsResponse": { +"description": "Response message for ListFederations", +"id": "ListFederationsResponse", +"properties": { +"federations": { +"description": "The services in the specified location.", +"items": { +"$ref": "Federation" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMetadataImportsResponse": { +"description": "Response message for DataprocMetastore.ListMetadataImports.", +"id": "ListMetadataImportsResponse", +"properties": { +"metadataImports": { +"description": "The imports in the specified service.", +"items": { +"$ref": "MetadataImport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMigrationExecutionsResponse": { +"description": "Response message for DataprocMetastore.ListMigrationExecutions.", +"id": "ListMigrationExecutionsResponse", +"properties": { +"migrationExecutions": { +"description": "The migration executions on the specified service.", +"items": { +"$ref": "MigrationExecution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response message for DataprocMetastore.ListServices.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"services": { +"description": "The services in the specified location.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"} ", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: \"us-east1\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Metadata about the service in a location.", +"id": "LocationMetadata", +"properties": { +"customRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. Possible configurations supported if the current region is a custom region.", +"items": { +"$ref": "CustomRegionMetadata" +}, +"type": "array" +}, +"multiRegionMetadata": { +"$ref": "MultiRegionMetadata", +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The multi-region metadata if the current region is a multi-region." +}, +"supportedHiveMetastoreVersions": { +"description": "The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default.", +"items": { +"$ref": "HiveMetastoreVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"MaintenanceWindow": { +"description": "Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service.", +"id": "MaintenanceWindow", +"properties": { +"dayOfWeek": { +"description": "Optional. The day of week, when the window starts.", +"enum": [ +"DAY_OF_WEEK_UNSPECIFIED", +"MONDAY", +"TUESDAY", +"WEDNESDAY", +"THURSDAY", +"FRIDAY", +"SATURDAY", +"SUNDAY" +], +"enumDescriptions": [ +"The day of the week is unspecified.", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday" +], +"type": "string" +}, +"hourOfDay": { +"description": "Optional. The hour of day (0-23) when the window starts.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"MessageSet": { +"deprecated": true, +"description": "This is proto2's version of MessageSet.DEPRECATED: DO NOT USE FOR NEW FIELDS.If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use Any instead.MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2.This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.", +"id": "MessageSet", +"properties": {}, +"type": "object" +}, +"MetadataExport": { +"description": "The details of a metadata export operation.", +"id": "MetadataExport", +"properties": { +"databaseDumpType": { +"description": "Output only. The type of the database dump.", +"enum": [ +"TYPE_UNSPECIFIED", +"MYSQL", +"AVRO" +], +"enumDescriptions": [ +"The type of the database dump is unknown.", +"Database dump is a MySQL dump file.", +"Database dump contains Avro files." +], +"readOnly": true, +"type": "string" +}, +"destinationGcsUri": { +"description": "Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs:////, where is automatically generated.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the export ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the export started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the export.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"The state of the metadata export is unknown.", +"The metadata export is running.", +"The metadata export completed successfully.", +"The metadata export failed.", +"The metadata export is cancelled." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataImport": { +"description": "A metastore resource that imports metadata.", +"id": "MetadataImport", +"properties": { +"createTime": { +"description": "Output only. The time when the metadata import was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseDump": { +"$ref": "DatabaseDump", +"description": "Immutable. A database dump from a pre-existing metastore's database." +}, +"description": { +"description": "Optional. The description of the metadata import.", +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the metadata import finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the metadata import.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"UPDATING", +"FAILED" +], +"enumDescriptions": [ +"The state of the metadata import is unknown.", +"The metadata import is running.", +"The metadata import completed successfully.", +"The metadata import is being updated.", +"The metadata import failed, and attempted metadata changes were rolled back." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metadata import was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MetadataIntegration": { +"description": "Specifies how metastore metadata should be integrated with external services.", +"id": "MetadataIntegration", +"properties": { +"dataCatalogConfig": { +"$ref": "DataCatalogConfig", +"description": "Optional. The integration config for the Data Catalog service." +}, +"dataplexConfig": { +"$ref": "DataplexConfig", +"description": "Optional. The integration config for the Dataplex service." +} +}, +"type": "object" +}, +"MetadataManagementActivity": { +"description": "The metadata management activities of the metastore service.", +"id": "MetadataManagementActivity", +"properties": { +"metadataExports": { +"description": "Output only. The latest metadata exports of the metastore service.", +"items": { +"$ref": "MetadataExport" +}, +"readOnly": true, +"type": "array" +}, +"restores": { +"description": "Output only. The latest restores of the metastore service.", +"items": { +"$ref": "Restore" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"MigrationExecution": { +"description": "The details of a migration execution resource.", +"id": "MigrationExecution", +"properties": { +"cloudSqlMigrationConfig": { +"$ref": "CloudSQLMigrationConfig", +"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore." +}, +"createTime": { +"description": "Output only. The time when the migration execution was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the migration execution finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}", +"readOnly": true, +"type": "string" +}, +"phase": { +"description": "Output only. The current phase of the migration execution.", +"enum": [ +"PHASE_UNSPECIFIED", +"REPLICATION", +"CUTOVER" +], +"enumDescriptions": [ +"The phase of the migration execution is unknown.", +"Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.", +"Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the migration execution.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTING", +"RUNNING", +"CANCELLING", +"AWAITING_USER_ACTION", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"DELETING" +], +"enumDescriptions": [ +"The state of the migration execution is unknown.", +"The migration execution is starting.", +"The migration execution is running.", +"The migration execution is in the process of being cancelled.", +"The migration execution is awaiting user action.", +"The migration execution has completed successfully.", +"The migration execution has failed.", +"The migration execution is cancelled.", +"The migration execution is being deleted." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the migration execution.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MoveTableToDatabaseRequest": { +"description": "Request message for DataprocMetastore.MoveTableToDatabase.", +"id": "MoveTableToDatabaseRequest", +"properties": { +"dbName": { +"description": "Required. The name of the database where the table resides.", +"type": "string" +}, +"destinationDbName": { +"description": "Required. The name of the database where the table should be moved.", +"type": "string" +}, +"tableName": { +"description": "Required. The name of the table to be moved.", +"type": "string" +} +}, +"type": "object" +}, +"MoveTableToDatabaseResponse": { +"description": "Response message for DataprocMetastore.MoveTableToDatabase.", +"id": "MoveTableToDatabaseResponse", +"properties": {}, +"type": "object" +}, +"MultiRegionConfig": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The multi-region config for the Dataproc Metastore service.", +"id": "MultiRegionConfig", +"properties": { +"certificates": { +"deprecated": true, +"description": "Output only. Deprecated: Use a single region service instead. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service.", +"items": { +"$ref": "RootCACertificate" +}, +"readOnly": true, +"type": "array" +}, +"customRegionConfig": { +"$ref": "CustomRegionConfig", +"deprecated": true, +"description": "Immutable. Deprecated: Use a single region service instead." +} +}, +"type": "object" +}, +"MultiRegionMetadata": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", +"id": "MultiRegionMetadata", +"properties": { +"constituentRegions": { +"description": "The regions constituting the multi-region.", +"items": { +"type": "string" +}, +"type": "array" +}, +"continent": { +"description": "The continent for this multi-region.", +"type": "string" +}, +"witnessRegion": { +"description": "The Spanner witness region for this multi-region.", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfig": { +"description": "Network configuration for the Dataproc Metastore service.", +"id": "NetworkConfig", +"properties": { +"consumers": { +"description": "Immutable. The consumer-side network configuration for the Dataproc Metastore instance.", +"items": { +"$ref": "Consumer" +}, +"type": "array" +}, +"customRoutesEnabled": { +"description": "Optional. Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.", +"type": "boolean" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of a long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the caller has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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 conditionsImportant: 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" +}, +"QueryMetadataRequest": { +"description": "Request message for DataprocMetastore.QueryMetadata.", +"id": "QueryMetadataRequest", +"properties": { +"query": { +"description": "Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.", +"type": "string" +} +}, +"type": "object" +}, +"QueryMetadataResponse": { +"description": "Response message for DataprocMetastore.QueryMetadata.", +"id": "QueryMetadataResponse", +"properties": { +"resultManifestUri": { +"description": "The manifest URI is link to a JSON instance in Cloud Storage. This instance manifests immediately along with QueryMetadataResponse. The content of the URI is not retriable until the long-running operation query against the metadata finishes.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveIamPolicyRequest": { +"description": "Request message for DataprocMetastore.RemoveIamPolicy.", +"id": "RemoveIamPolicyRequest", +"properties": { +"asynchronous": { +"description": "Optional. Removes IAM policy attached to database or table asynchronously when it is set. The default is false.", +"type": "boolean" +} +}, +"type": "object" +}, +"RemoveIamPolicyResponse": { +"description": "Response message for DataprocMetastore.RemoveIamPolicy.", +"id": "RemoveIamPolicyResponse", +"properties": { +"success": { +"description": "True if the policy is successfully removed.", +"type": "boolean" +} +}, +"type": "object" +}, +"Restore": { +"description": "The details of a metadata restore operation.", +"id": "Restore", +"properties": { +"backup": { +"description": "Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.", +"readOnly": true, +"type": "string" +}, +"backupLocation": { +"description": "Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.", +"type": "string" +}, +"details": { +"description": "Output only. The restore details containing the revision of the service to be restored to, in format of JSON.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time when the restore ended.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. The time when the restore started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current state of the restore.", +"enum": [ +"STATE_UNSPECIFIED", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"The state of the metadata restore is unknown.", +"The metadata restore is running.", +"The metadata restore completed successfully.", +"The metadata restore failed.", +"The metadata restore is cancelled." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The type of restore.", +"enum": [ +"RESTORE_TYPE_UNSPECIFIED", +"FULL", +"METADATA_ONLY" +], +"enumDescriptions": [ +"The restore type is unknown.", +"The service's metadata and configuration are restored.", +"Only the service's metadata is restored." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RestoreServiceRequest": { +"description": "Request message for DataprocMetastore.RestoreService.", +"id": "RestoreServiceRequest", +"properties": { +"backup": { +"description": "Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set.", +"type": "string" +}, +"backupLocation": { +"description": "Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under \"avro/\", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +}, +"restoreType": { +"description": "Optional. The type of restore. If unspecified, defaults to METADATA_ONLY.", +"enum": [ +"RESTORE_TYPE_UNSPECIFIED", +"FULL", +"METADATA_ONLY" +], +"enumDescriptions": [ +"The restore type is unknown.", +"The service's metadata and configuration are restored.", +"Only the service's metadata is restored." +], +"type": "string" +} +}, +"type": "object" +}, +"RootCACertificate": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover.", +"id": "RootCACertificate", +"properties": { +"certificate": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The root CA certificate in PEM format. The maximum length is 65536 bytes.", +"type": "string" +}, +"expirationTime": { +"deprecated": true, +"description": "Deprecated: Use a single region service instead. The certificate expiration time in timestamp format.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ScalingConfig": { +"description": "Represents the scaling configuration of a metastore service.", +"id": "ScalingConfig", +"properties": { +"autoscalingConfig": { +"$ref": "AutoscalingConfig", +"description": "Optional. The autoscaling configuration." +}, +"instanceSize": { +"description": "An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))", +"enum": [ +"INSTANCE_SIZE_UNSPECIFIED", +"EXTRA_SMALL", +"SMALL", +"MEDIUM", +"LARGE", +"EXTRA_LARGE" +], +"enumDescriptions": [ +"Unspecified instance size", +"Extra small instance size, maps to a scaling factor of 0.1.", +"Small instance size, maps to a scaling factor of 0.5.", +"Medium instance size, maps to a scaling factor of 1.0.", +"Large instance size, maps to a scaling factor of 3.0.", +"Extra large instance size, maps to a scaling factor of 6.0." +], +"type": "string" +}, +"scalingFactor": { +"description": "Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"ScheduledBackup": { +"description": "This specifies the configuration of scheduled backup.", +"id": "ScheduledBackup", +"properties": { +"backupLocation": { +"description": "Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.", +"type": "string" +}, +"cronSchedule": { +"description": "Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.", +"type": "string" +}, +"enabled": { +"description": "Optional. Defines whether the scheduled backup is enabled. The default value is false.", +"type": "boolean" +}, +"latestBackup": { +"$ref": "LatestBackup", +"description": "Output only. The details of the latest scheduled backup.", +"readOnly": true +}, +"nextScheduledTime": { +"description": "Output only. The time when the next backups execution is scheduled to start.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"timeZone": { +"description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.", +"type": "string" +} +}, +"type": "object" +}, +"Secret": { +"description": "A securely stored value.", +"id": "Secret", +"properties": { +"cloudSecret": { +"description": "Optional. The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}.", +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "A managed metastore service that serves metadata queries.", +"id": "Service", +"properties": { +"artifactGcsUri": { +"description": "Output only. A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time when the metastore service was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"databaseType": { +"description": "Immutable. The database type that the Metastore service stores its data.", +"enum": [ +"DATABASE_TYPE_UNSPECIFIED", +"MYSQL", +"SPANNER" +], +"enumDescriptions": [ +"The DATABASE_TYPE is not set.", +"MySQL is used to persist the metastore data.", +"Spanner is used to persist the metastore data." +], +"type": "string" +}, +"deletionProtection": { +"description": "Optional. Indicates if the dataproc metastore should be protected against accidental deletions.", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." +}, +"endpointUri": { +"description": "Output only. The URI of the endpoint used to access the metastore service.", +"readOnly": true, +"type": "string" +}, +"hiveMetastoreConfig": { +"$ref": "HiveMetastoreConfig", +"description": "Configuration information specific to running Hive metastore software as the metastore service." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels for the metastore service.", +"type": "object" +}, +"maintenanceWindow": { +"$ref": "MaintenanceWindow", +"description": "Optional. The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type." +}, +"metadataIntegration": { +"$ref": "MetadataIntegration", +"description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." +}, +"metadataManagementActivity": { +"$ref": "MetadataManagementActivity", +"description": "Output only. The metadata management activities of the metastore service.", +"readOnly": true +}, +"multiRegionConfig": { +"$ref": "MultiRegionConfig", +"deprecated": true, +"description": "Optional. Deprecated: Use a single region service instead. Specifies the multi-region configuration information for the Hive metastore service." +}, +"name": { +"description": "Immutable. Identifier. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", +"type": "string" +}, +"network": { +"description": "Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}.", +"type": "string" +}, +"networkConfig": { +"$ref": "NetworkConfig", +"description": "Optional. The configuration specifying the network settings for the Dataproc Metastore service." +}, +"port": { +"description": "Optional. The TCP port at which the metastore service is reached. Default: 9083.", +"format": "int32", +"type": "integer" +}, +"releaseChannel": { +"description": "Immutable. The release channel of the service. If unspecified, defaults to STABLE.", +"enum": [ +"RELEASE_CHANNEL_UNSPECIFIED", +"CANARY", +"STABLE" +], +"enumDescriptions": [ +"Release channel is not specified.", +"The CANARY release channel contains the newest features, which may be unstable and subject to unresolved issues with no known workarounds. Services using the CANARY release channel are not subject to any SLAs.", +"The STABLE release channel contains features that are considered stable and have been validated for production use." +], +"type": "string" +}, +"scalingConfig": { +"$ref": "ScalingConfig", +"description": "Optional. Scaling configuration of the metastore service." +}, +"scheduledBackup": { +"$ref": "ScheduledBackup", +"description": "Optional. The configuration of scheduled backup for the metastore service." +}, +"state": { +"description": "Output only. The current state of the metastore service.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"SUSPENDING", +"SUSPENDED", +"UPDATING", +"DELETING", +"ERROR", +"AUTOSCALING", +"MIGRATING" +], +"enumDescriptions": [ +"The state of the metastore service is unknown.", +"The metastore service is in the process of being created.", +"The metastore service is running and ready to serve queries.", +"The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.", +"The metastore service is suspended and unable to serve queries.", +"The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", +"The metastore service is undergoing deletion. It cannot be used.", +"The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", +"The Dataproc Metastore service 2 is being scaled up or down.", +"The metastore service is processing a managed migration." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. Additional information about the current state of the metastore service, if available.", +"readOnly": true, +"type": "string" +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", +"type": "object" +}, +"telemetryConfig": { +"$ref": "TelemetryConfig", +"description": "Optional. The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON." +}, +"tier": { +"description": "Optional. The tier of the service.", +"enum": [ +"TIER_UNSPECIFIED", +"DEVELOPER", +"ENTERPRISE" +], +"enumDescriptions": [ +"The tier is not set.", +"The developer tier provides limited scalability and no fault tolerance. Good for low-cost proof-of-concept.", +"The enterprise tier provides multi-zone high availability, and sufficient scalability for enterprise-level Dataproc Metastore workloads." +], +"type": "string" +}, +"uid": { +"description": "Output only. The globally unique resource identifier of the metastore service.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time when the metastore service was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"StartMigrationRequest": { +"description": "Request message for DataprocMetastore.StartMigration.", +"id": "StartMigrationRequest", +"properties": { +"migrationExecution": { +"$ref": "MigrationExecution", +"description": "Required. The configuration details for the migration." +}, +"requestId": { +"description": "Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StatusProto": { +"description": "Wire-format for a Status object", +"id": "StatusProto", +"properties": { +"canonicalCode": { +"description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", +"format": "int32", +"type": "integer" +}, +"code": { +"description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", +"format": "int32", +"type": "integer" +}, +"message": { +"description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", +"type": "string" +}, +"messageSet": { +"$ref": "MessageSet", +"description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" +}, +"space": { +"description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs", +"type": "string" +} +}, +"type": "object" +}, +"TelemetryConfig": { +"description": "Telemetry Configuration for the Dataproc Metastore service.", +"id": "TelemetryConfig", +"properties": { +"logFormat": { +"description": "Optional. The output format of the Dataproc Metastore service's logs.", +"enum": [ +"LOG_FORMAT_UNSPECIFIED", +"LEGACY", +"JSON" +], +"enumDescriptions": [ +"The LOG_FORMAT is not set.", +"Logging output uses the legacy textPayload format.", +"Logging output uses the jsonPayload format." +], +"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": "Dataproc Metastore API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ml.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ml.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ac4ad61a6037484cc3b2294632782ea90a3e85ad --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ml.v1.json @@ -0,0 +1,3926 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://ml.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Machine Learning Engine", +"description": "An API to enable creating and using machine learning models.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/ml/", +"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": "ml:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://ml.mtls.googleapis.com/", +"name": "ml", +"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": { +"methods": { +"explain": { +"description": "Performs explanation on the data in the request. {% dynamic include \"/ai-platform/includes/___explain-request\" %} ", +"flatPath": "v1/projects/{projectsId}:explain", +"httpMethod": "POST", +"id": "ml.projects.explain", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource.", +"location": "path", +"pattern": "^projects/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:explain", +"request": { +"$ref": "GoogleCloudMlV1__ExplainRequest" +}, +"response": { +"$ref": "GoogleApi__HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConfig": { +"description": "Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.", +"flatPath": "v1/projects/{projectsId}:getConfig", +"httpMethod": "GET", +"id": "ml.projects.getConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getConfig", +"response": { +"$ref": "GoogleCloudMlV1__GetConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Performs online prediction on the data in the request. {% dynamic include \"/ai-platform/includes/___predict-request\" %} ", +"flatPath": "v1/projects/{projectsId}:predict", +"httpMethod": "POST", +"id": "ml.projects.predict", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of a model or a version. Authorization: requires the `predict` permission on the specified resource.", +"location": "path", +"pattern": "^projects/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:predict", +"request": { +"$ref": "GoogleCloudMlV1__PredictRequest" +}, +"response": { +"$ref": "GoogleApi__HttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"jobs": { +"methods": { +"cancel": { +"description": "Cancels a running job.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:cancel", +"httpMethod": "POST", +"id": "ml.projects.jobs.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the job to cancel.", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleCloudMlV1__CancelJobRequest" +}, +"response": { +"$ref": "GoogleProtobuf__Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a training or a batch prediction job.", +"flatPath": "v1/projects/{projectsId}/jobs", +"httpMethod": "POST", +"id": "ml.projects.jobs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"request": { +"$ref": "GoogleCloudMlV1__Job" +}, +"response": { +"$ref": "GoogleCloudMlV1__Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Describes a job.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "GET", +"id": "ml.projects.jobs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the job to get the description of.", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:getIamPolicy", +"httpMethod": "GET", +"id": "ml.projects.jobs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1__Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the jobs in the project. If there are no jobs that match the request parameters, the list request returns an empty response body: {}.", +"flatPath": "v1/projects/{projectsId}/jobs", +"httpMethod": "GET", +"id": "ml.projects.jobs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the subset of jobs to retrieve. You can filter on the value of one or more attributes of the job object. For example, retrieve jobs with a job identifier that starts with 'census': gcloud ai-platform jobs list --filter='jobId:census*' List all failed jobs with names that start with 'rnn': gcloud ai-platform jobs list --filter='jobId:rnn* AND state:FAILED' For more examples, see the guide to monitoring jobs.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The number of jobs to retrieve per \"page\" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project for which to list jobs.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/jobs", +"response": { +"$ref": "GoogleCloudMlV1__ListJobsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a specific job resource. Currently the only supported fields to update are `labels`.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}", +"httpMethod": "PATCH", +"id": "ml.projects.jobs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The job name.", +"location": "path", +"pattern": "^projects/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to `Job`, of the field to update. To adopt etag mechanism, include `etag` field in the mask, and include the `etag` value in your job resource. For example, to change the labels of a job, the `update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH` request body would specify the new value, as follows: { \"labels\": { \"owner\": \"Google\", \"color\": \"Blue\" } \"etag\": \"33a64df551425fcc55e4d42a148795d9f25f89d4\" } If `etag` matches the one on the server, the labels of the job will be replaced with the given ones, and the server end `etag` will be recalculated. Currently the only supported update masks are `labels` and `etag`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudMlV1__Job" +}, +"response": { +"$ref": "GoogleCloudMlV1__Job" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:setIamPolicy", +"httpMethod": "POST", +"id": "ml.projects.jobs.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/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1__SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1__Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:testIamPermissions", +"httpMethod": "POST", +"id": "ml.projects.jobs.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/[^/]+/jobs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1__TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1__TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"locations": { +"methods": { +"get": { +"description": "Get the complete list of CMLE capabilities in a location, along with their location-specific properties.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "ml.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"list": { +"description": "List all locations that provides at least one type of CMLE capability.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "ml.projects.locations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The number of locations to retrieve per \"page\" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects).", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/locations", +"response": { +"$ref": "GoogleCloudMlV1__ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "ml.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobuf__Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "ml.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"studies": { +"methods": { +"create": { +"description": "Creates a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"studyId": { +"description": "Required. The ID to use for the study, which will become the final component of the study's resource name.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/studies", +"request": { +"$ref": "GoogleCloudMlV1__Study" +}, +"response": { +"$ref": "GoogleCloudMlV1__Study" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}", +"httpMethod": "DELETE", +"id": "ml.projects.locations.studies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The study name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobuf__Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}", +"httpMethod": "GET", +"id": "ml.projects.locations.studies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The study name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Study" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the studies in a region for an associated project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies", +"httpMethod": "GET", +"id": "ml.projects.locations.studies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project and location that the study belongs to. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/studies", +"response": { +"$ref": "GoogleCloudMlV1__ListStudiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"trials": { +"methods": { +"addMeasurement": { +"description": "Adds a measurement of the objective metrics to a trial. This measurement is assumed to have been taken before the trial is complete.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:addMeasurement", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.addMeasurement", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:addMeasurement", +"request": { +"$ref": "GoogleCloudMlV1__AddTrialMeasurementRequest" +}, +"response": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"checkEarlyStoppingState": { +"description": "Checks whether a trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a CheckTrialEarlyStoppingStateResponse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:checkEarlyStoppingState", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.checkEarlyStoppingState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:checkEarlyStoppingState", +"request": { +"$ref": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest" +}, +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"complete": { +"description": "Marks a trial as complete.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:complete", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.complete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.metat", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:complete", +"request": { +"$ref": "GoogleCloudMlV1__CompleteTrialRequest" +}, +"response": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Adds a user provided trial to a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the study that the trial belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials", +"request": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"response": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}", +"httpMethod": "DELETE", +"id": "ml.projects.locations.studies.trials.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleProtobuf__Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}", +"httpMethod": "GET", +"id": "ml.projects.locations.studies.trials.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the trials associated with a study.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials", +"httpMethod": "GET", +"id": "ml.projects.locations.studies.trials.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the study that the trial belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials", +"response": { +"$ref": "GoogleCloudMlV1__ListTrialsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listOptimalTrials": { +"description": "Lists the pareto-optimal trials for multi-objective study or the optimal trials for single-objective study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials:listOptimalTrials", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.listOptimalTrials", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the study that the pareto-optimal trial belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials:listOptimalTrials", +"request": { +"$ref": "GoogleCloudMlV1__ListOptimalTrialsRequest" +}, +"response": { +"$ref": "GoogleCloudMlV1__ListOptimalTrialsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a trial.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:stop", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The trial name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "GoogleCloudMlV1__StopTrialRequest" +}, +"response": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"suggest": { +"description": "Adds one or more trials to a study, with parameter values suggested by AI Platform Vizier. Returns a long-running operation associated with the generation of trial suggestions. When this long-running operation succeeds, it will contain a SuggestTrialsResponse.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials:suggest", +"httpMethod": "POST", +"id": "ml.projects.locations.studies.trials.suggest", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the study that the trial belongs to.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/trials:suggest", +"request": { +"$ref": "GoogleCloudMlV1__SuggestTrialsRequest" +}, +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"models": { +"methods": { +"create": { +"description": "Creates a model which will later contain one or more versions. You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create.", +"flatPath": "v1/projects/{projectsId}/models", +"httpMethod": "POST", +"id": "ml.projects.models.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/models", +"request": { +"$ref": "GoogleCloudMlV1__Model" +}, +"response": { +"$ref": "GoogleCloudMlV1__Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a model. You can only delete a model if there are no versions in it. You can delete versions by calling projects.models.versions.delete.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "ml.projects.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed).", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "ml.projects.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}:getIamPolicy", +"httpMethod": "GET", +"id": "ml.projects.models.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "GoogleIamV1__Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the models in a project. Each project can contain multiple models, and each model can have multiple versions. If there are no models that match the request parameters, the list request returns an empty response body: {}.", +"flatPath": "v1/projects/{projectsId}/models", +"httpMethod": "GET", +"id": "ml.projects.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the subset of models to retrieve.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The number of models to retrieve per \"page\" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project whose models are to be listed.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/models", +"response": { +"$ref": "GoogleCloudMlV1__ListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates a specific model resource. Currently the only supported fields to update are `description` and `default_version.name`.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "ml.projects.models.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to `Model`, of the field to update. For example, to change the description of a model to \"foo\" and set its default version to \"version_1\", the `update_mask` parameter would be specified as `description`, `default_version.name`, and the `PATCH` request body would specify the new value, as follows: { \"description\": \"foo\", \"defaultVersion\": { \"name\":\"version_1\" } } Currently the supported update masks are `description` and `default_version.name`.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudMlV1__Model" +}, +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}:setIamPolicy", +"httpMethod": "POST", +"id": "ml.projects.models.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/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "GoogleIamV1__SetIamPolicyRequest" +}, +"response": { +"$ref": "GoogleIamV1__Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}:testIamPermissions", +"httpMethod": "POST", +"id": "ml.projects.models.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/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "GoogleIamV1__TestIamPermissionsRequest" +}, +"response": { +"$ref": "GoogleIamV1__TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "Creates a new version of a model from a trained TensorFlow model. If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions", +"httpMethod": "POST", +"id": "ml.projects.models.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the model.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "GoogleCloudMlV1__Version" +}, +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a model version. Each model can have multiple versions deployed and in use at any given time. Use this method to remove a single version. Note: You cannot delete the version that is set as the default version of the model unless it is the only remaining version.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "ml.projects.models.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the version. You can get the names of all the versions of a model by calling projects.models.versions.list.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a model version. Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "ml.projects.models.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the version.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudMlV1__Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Gets basic information about all the versions of a model. If you expect that a model has many versions, or if you need to handle only a limited number of results at a time, you can request that the list be retrieved in batches (called pages). If there are no versions that match the request parameters, the list request returns an empty response body: {}.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions", +"httpMethod": "GET", +"id": "ml.projects.models.versions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Specifies the subset of versions to retrieve.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The number of versions to retrieve per \"page\" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the model for which to list the version.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "GoogleCloudMlV1__ListVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +}, +"patch": { +"description": "Updates the specified Version resource. Currently the only update-able fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "ml.projects.models.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to `Version`, of the field to update. Must be present and non-empty. For example, to change the description of a version to \"foo\", the `update_mask` parameter would be specified as `description`, and the `PATCH` request body would specify the new value, as follows: ``` { \"description\": \"foo\" } ``` Currently the only supported update mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only update `manualScaling.nodes` if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction).", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "GoogleCloudMlV1__Version" +}, +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setDefault": { +"description": "Designates a version to be the default for the model. The default version is used for prediction requests made against the model that don't specify a version. The first version to be created for a model is automatically set as the default. You must make any subsequent changes to the default version setting manually using this method.", +"flatPath": "v1/projects/{projectsId}/models/{modelsId}/versions/{versionsId}:setDefault", +"httpMethod": "POST", +"id": "ml.projects.models.versions.setDefault", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list.", +"location": "path", +"pattern": "^projects/[^/]+/models/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setDefault", +"request": { +"$ref": "GoogleCloudMlV1__SetDefaultVersionRequest" +}, +"response": { +"$ref": "GoogleCloudMlV1__Version" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "ml.projects.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"response": { +"$ref": "GoogleProtobuf__Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "ml.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunning__Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "ml.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunning__ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20251213", +"rootUrl": "https://ml.googleapis.com/", +"schemas": { +"GoogleApi__HttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApi__HttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig": { +"id": "GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig", +"properties": { +"useElapsedTime": { +"description": "If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig": { +"description": "The median automated stopping rule stops a pending trial if the trial's best objective_value is strictly below the median 'performance' of all completed trials reported up to the trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the trial in each measurement.", +"id": "GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig", +"properties": { +"useElapsedTime": { +"description": "If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial's latest measurement is used to compute the median objective value for each completed trial.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": { +"description": "An observed value of a metric.", +"id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric", +"properties": { +"objectiveValue": { +"description": "The objective value at this training step.", +"format": "double", +"type": "number" +}, +"trainingStep": { +"description": "The global training step for this metric.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_Measurement_Metric": { +"description": "A message representing a metric in the measurement.", +"id": "GoogleCloudMlV1_Measurement_Metric", +"properties": { +"metric": { +"description": "Required. Metric name.", +"type": "string" +}, +"value": { +"description": "Required. The value for this metric.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec": { +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec", +"properties": { +"values": { +"description": "Must be specified if type is `CATEGORICAL`. The list of possible categories.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec": { +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec", +"properties": { +"values": { +"description": "Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec": { +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec", +"properties": { +"maxValue": { +"description": "Must be specified if type is `DOUBLE`. Maximum value of the parameter.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Must be specified if type is `DOUBLE`. Minimum value of the parameter.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec": { +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec", +"properties": { +"maxValue": { +"description": "Must be specified if type is `INTEGER`. Maximum value of the parameter.", +"format": "int64", +"type": "string" +}, +"minValue": { +"description": "Must be specified if type is `INTEGER`. Minimum value of the parameter.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec": { +"description": "Represents the spec to match categorical values from parent parameter.", +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec", +"properties": { +"values": { +"description": "Matches values of the parent parameter with type 'CATEGORICAL'. All values must exist in `categorical_value_spec` of parent parameter.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec": { +"description": "Represents the spec to match discrete values from parent parameter.", +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec", +"properties": { +"values": { +"description": "Matches values of the parent parameter with type 'DISCRETE'. All values must exist in `discrete_value_spec` of parent parameter.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec": { +"description": "Represents the spec to match integer values from parent parameter.", +"id": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec", +"properties": { +"values": { +"description": "Matches values of the parent parameter with type 'INTEGER'. All values must lie in `integer_value_spec` of parent parameter.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfig_MetricSpec": { +"description": "Represents a metric to optimize.", +"id": "GoogleCloudMlV1_StudyConfig_MetricSpec", +"properties": { +"goal": { +"description": "Required. The optimization goal of the metric.", +"enum": [ +"GOAL_TYPE_UNSPECIFIED", +"MAXIMIZE", +"MINIMIZE" +], +"enumDescriptions": [ +"Goal Type will default to maximize.", +"Maximize the goal metric.", +"Minimize the goal metric." +], +"type": "string" +}, +"metric": { +"description": "Required. The name of the metric.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_StudyConfig_ParameterSpec": { +"description": "Represents a single parameter to optimize.", +"id": "GoogleCloudMlV1_StudyConfig_ParameterSpec", +"properties": { +"categoricalValueSpec": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec", +"description": "The value spec for a 'CATEGORICAL' parameter." +}, +"childParameterSpecs": { +"description": "A child node is active if the parameter's value matches the child node's matching_parent_values. If two items in child_parameter_specs have the same name, they must have disjoint matching_parent_values.", +"items": { +"$ref": "GoogleCloudMlV1_StudyConfig_ParameterSpec" +}, +"type": "array" +}, +"discreteValueSpec": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec", +"description": "The value spec for a 'DISCRETE' parameter." +}, +"doubleValueSpec": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec", +"description": "The value spec for a 'DOUBLE' parameter." +}, +"integerValueSpec": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec", +"description": "The value spec for an 'INTEGER' parameter." +}, +"parameter": { +"description": "Required. The parameter name must be unique amongst all ParameterSpecs.", +"type": "string" +}, +"parentCategoricalValues": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec" +}, +"parentDiscreteValues": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec" +}, +"parentIntValues": { +"$ref": "GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec" +}, +"scaleType": { +"description": "How the parameter should be scaled. Leave unset for categorical parameters.", +"enum": [ +"SCALE_TYPE_UNSPECIFIED", +"UNIT_LINEAR_SCALE", +"UNIT_LOG_SCALE", +"UNIT_REVERSE_LOG_SCALE" +], +"enumDescriptions": [ +"By default, no scaling is applied.", +"Scales the feasible space to (0, 1) linearly.", +"Scales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.", +"Scales the feasible space \"reverse\" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive." +], +"type": "string" +}, +"type": { +"description": "Required. The type of the parameter.", +"enum": [ +"PARAMETER_TYPE_UNSPECIFIED", +"DOUBLE", +"INTEGER", +"CATEGORICAL", +"DISCRETE" +], +"enumDescriptions": [ +"You must specify a valid type. Using this unspecified type will result in an error.", +"Type for real-valued parameters.", +"Type for integral parameters.", +"The parameter is categorical, with a value chosen from the categories field.", +"The parameter is real valued, with a fixed set of feasible points. If `type==DISCRETE`, feasible_points must be provided, and {`min_value`, `max_value`} will be ignored." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1_Trial_Parameter": { +"description": "A message representing a parameter to be tuned. Contains the name of the parameter and the suggested value to use for this trial.", +"id": "GoogleCloudMlV1_Trial_Parameter", +"properties": { +"floatValue": { +"description": "Must be set if ParameterType is DOUBLE or DISCRETE.", +"format": "double", +"type": "number" +}, +"intValue": { +"description": "Must be set if ParameterType is INTEGER", +"format": "int64", +"type": "string" +}, +"parameter": { +"description": "The name of the parameter.", +"type": "string" +}, +"stringValue": { +"description": "Must be set if ParameterTypeis CATEGORICAL", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__AcceleratorConfig": { +"description": "Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).", +"id": "GoogleCloudMlV1__AcceleratorConfig", +"properties": { +"count": { +"description": "The number of accelerators to attach to each machine running the job.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "The type of accelerator to use.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"TPU_V2", +"TPU_V3", +"TPU_V2_POD", +"TPU_V3_POD", +"TPU_V4_POD" +], +"enumDescriptions": [ +"Unspecified accelerator type. Default to no GPU.", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia T4 GPU.", +"Nvidia A100 GPU.", +"TPU v2.", +"TPU v3.", +"TPU v2 POD.", +"TPU v3 POD.", +"TPU v4 POD." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__AddTrialMeasurementRequest": { +"description": "The request message for the AddTrialMeasurement service method.", +"id": "GoogleCloudMlV1__AddTrialMeasurementRequest", +"properties": { +"measurement": { +"$ref": "GoogleCloudMlV1__Measurement", +"description": "Required. The measurement to be added to a trial." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__AutoScaling": { +"description": "Options for automatically scaling a model.", +"id": "GoogleCloudMlV1__AutoScaling", +"properties": { +"maxNodes": { +"description": "The maximum number of nodes to scale this model under load. The actual value will depend on resource quota and availability.", +"format": "int32", +"type": "integer" +}, +"metrics": { +"description": "MetricSpec contains the specifications to use to calculate the desired nodes count.", +"items": { +"$ref": "GoogleCloudMlV1__MetricSpec" +}, +"type": "array" +}, +"minNodes": { +"description": "Optional. The minimum number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed. Therefore, the cost of operating this model will be at least `rate` * `min_nodes` * number of hours since last billing cycle, where `rate` is the cost per node-hour as documented in the [pricing guide](/ml-engine/docs/pricing), even if no predictions are performed. There is additional cost for each prediction performed. Unlike manual scaling, if the load gets too heavy for the nodes that are up, the service will automatically add nodes to handle the increased load as well as scale back as traffic drops, always maintaining at least `min_nodes`. You will be charged for the time in which additional nodes are used. If `min_nodes` is not specified and AutoScaling is used with a [legacy (MLS1) machine type](/ml-engine/docs/machine-types-online-prediction), `min_nodes` defaults to 0, in which case, when traffic to a model stops (and after a cool-down period), nodes will be shut down and no charges will be incurred until traffic to the model resumes. If `min_nodes` is not specified and AutoScaling is used with a [Compute Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction), `min_nodes` defaults to 1. `min_nodes` must be at least 1 for use with a Compute Engine machine type. You can set `min_nodes` when creating the model version, and you can also update `min_nodes` for an existing version: update_body.json: { 'autoScaling': { 'minNodes': 5 } } HTTP request: PATCH https://ml.googleapis.com/v1/{name=projects/*/models/*/versions/*}?update_mask=autoScaling.minNodes -d @./update_body.json ", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__AutomatedStoppingConfig": { +"description": "Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run.", +"id": "GoogleCloudMlV1__AutomatedStoppingConfig", +"properties": { +"decayCurveStoppingConfig": { +"$ref": "GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig" +}, +"medianAutomatedStoppingConfig": { +"$ref": "GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__BuiltInAlgorithmOutput": { +"description": "Represents output related to a built-in algorithm Job.", +"id": "GoogleCloudMlV1__BuiltInAlgorithmOutput", +"properties": { +"framework": { +"description": "Framework on which the built-in algorithm was trained.", +"type": "string" +}, +"modelPath": { +"description": "The Cloud Storage path to the `model/` directory where the training job saves the trained model. Only set for successful jobs that don't use hyperparameter tuning.", +"type": "string" +}, +"pythonVersion": { +"description": "Python version on which the built-in algorithm was trained.", +"type": "string" +}, +"runtimeVersion": { +"description": "AI Platform runtime version on which the built-in algorithm was trained.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__CancelJobRequest": { +"description": "Request message for the CancelJob method.", +"id": "GoogleCloudMlV1__CancelJobRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudMlV1__Capability": { +"id": "GoogleCloudMlV1__Capability", +"properties": { +"availableAccelerators": { +"description": "Available accelerators for the capability.", +"items": { +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"TPU_V2", +"TPU_V3", +"TPU_V2_POD", +"TPU_V3_POD", +"TPU_V4_POD" +], +"enumDescriptions": [ +"Unspecified accelerator type. Default to no GPU.", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia T4 GPU.", +"Nvidia A100 GPU.", +"TPU v2.", +"TPU v3.", +"TPU v2 POD.", +"TPU v3 POD.", +"TPU v4 POD." +], +"type": "string" +}, +"type": "array" +}, +"type": { +"enum": [ +"TYPE_UNSPECIFIED", +"TRAINING", +"BATCH_PREDICTION", +"ONLINE_PREDICTION" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__CheckTrialEarlyStoppingStateMetatdata": { +"description": "This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.", +"id": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateMetatdata", +"properties": { +"createTime": { +"description": "The time at which the operation was submitted.", +"format": "google-datetime", +"type": "string" +}, +"study": { +"description": "The name of the study that the trial belongs to.", +"type": "string" +}, +"trial": { +"description": "The trial name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest": { +"description": "The request message for the CheckTrialEarlyStoppingState service method.", +"id": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudMlV1__CheckTrialEarlyStoppingStateResponse": { +"description": "The message will be placed in the response field of a completed google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.", +"id": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateResponse", +"properties": { +"endTime": { +"description": "The time at which operation processing completed.", +"format": "google-datetime", +"type": "string" +}, +"shouldStop": { +"description": "True if the Trial should stop.", +"type": "boolean" +}, +"startTime": { +"description": "The time at which the operation was started.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__CompleteTrialRequest": { +"description": "The request message for the CompleteTrial service method.", +"id": "GoogleCloudMlV1__CompleteTrialRequest", +"properties": { +"finalMeasurement": { +"$ref": "GoogleCloudMlV1__Measurement", +"description": "Optional. If provided, it will be used as the completed trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement" +}, +"infeasibleReason": { +"description": "Optional. A human readable reason why the trial was infeasible. This should only be provided if `trial_infeasible` is true.", +"type": "string" +}, +"trialInfeasible": { +"description": "Optional. True if the trial cannot be run with the given Parameter, and final_measurement will be ignored.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Config": { +"id": "GoogleCloudMlV1__Config", +"properties": { +"tpuServiceAccount": { +"description": "The service account Cloud ML uses to run on TPU node.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ContainerPort": { +"description": "Represents a network port in a single container. This message is a subset of the [Kubernetes ContainerPort v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#containerport-v1-core).", +"id": "GoogleCloudMlV1__ContainerPort", +"properties": { +"containerPort": { +"description": "Number of the port to expose on the container. This must be a valid port number: 0 < PORT_NUMBER < 65536.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ContainerSpec": { +"description": "Specification of a custom container for serving predictions. This message is a subset of the [Kubernetes Container v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).", +"id": "GoogleCloudMlV1__ContainerSpec", +"properties": { +"args": { +"description": "Immutable. Specifies arguments for the command that runs when the container starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd). Specify this field as an array of executable and arguments, similar to a Docker `CMD`'s \"default parameters\" form. If you don't specify this field but do specify the command field, then the command from the `command` field runs without any additional arguments. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). If you don't specify this field and don't specify the `commmand` field, then the container's [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `CMD` determine what runs based on their default behavior. See the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In this field, you can reference [environment variables set by AI Platform Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-variables) and environment variables set in the env field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `args` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).", +"items": { +"type": "string" +}, +"type": "array" +}, +"command": { +"description": "Immutable. Specifies the command that runs when the container starts. This overrides the container's [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#entrypoint). Specify this field as an array of executable and arguments, similar to a Docker `ENTRYPOINT`'s \"exec\" form, not its \"shell\" form. If you do not specify this field, then the container's `ENTRYPOINT` runs, in conjunction with the args field or the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd), if either exists. If this field is not specified and the container does not have an `ENTRYPOINT`, then refer to the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). If you specify this field, then you can also specify the `args` field to provide additional arguments for this command. However, if you specify this field, then the container's `CMD` is ignored. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). In this field, you can reference [environment variables set by AI Platform Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-variables) and environment variables set in the env field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `command` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).", +"items": { +"type": "string" +}, +"type": "array" +}, +"env": { +"description": "Immutable. List of environment variables to set in the container. After the container starts running, code running in the container can read these environment variables. Additionally, the command and args fields can reference these variables. Later entries in this list can also reference earlier entries. For example, the following example sets the variable `VAR_2` to have the value `foo bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\", \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables in the example, then the expansion does not occur. This field corresponds to the `env` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).", +"items": { +"$ref": "GoogleCloudMlV1__EnvVar" +}, +"type": "array" +}, +"image": { +"description": "URI of the Docker image to be used as the custom container for serving predictions. This URI must identify [an image in Artifact Registry](/artifact-registry/docs/overview) and begin with the hostname `{REGION}-docker.pkg.dev`, where `{REGION}` is replaced by the region that matches AI Platform Prediction [regional endpoint](/ai-platform/prediction/docs/regional-endpoints) that you are using. For example, if you are using the `us-central1-ml.googleapis.com` endpoint, then this URI must begin with `us-central1-docker.pkg.dev`. To use a custom container, the [AI Platform Google-managed service account](/ai-platform/prediction/docs/custom-service-account#default) must have permission to pull (read) the Docker image at this URI. The AI Platform Google-managed service account has the following format: `service-{PROJECT_NUMBER}@cloud-ml.google.com.iam.gserviceaccount.com` {PROJECT_NUMBER} is replaced by your Google Cloud project number. By default, this service account has necessary permissions to pull an Artifact Registry image in the same Google Cloud project where you are using AI Platform Prediction. In this case, no configuration is necessary. If you want to use an image from a different Google Cloud project, learn how to [grant the Artifact Registry Reader (roles/artifactregistry.reader) role for a repository](/artifact-registry/docs/access-control#grant-repo) to your projet's AI Platform Google-managed service account. To learn about the requirements for the Docker image itself, read [Custom container requirements](/ai-platform/prediction/docs/custom-container-requirements).", +"type": "string" +}, +"ports": { +"description": "Immutable. List of ports to expose from the container. AI Platform Prediction sends any prediction requests that it receives to the first port on this list. AI Platform Prediction also sends [liveness and health checks](/ai-platform/prediction/docs/custom-container-requirements#health) to this port. If you do not specify this field, it defaults to following value: ```json [ { \"containerPort\": 8080 } ] ``` AI Platform Prediction does not use ports other than the first one listed. This field corresponds to the `ports` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core).", +"items": { +"$ref": "GoogleCloudMlV1__ContainerPort" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__DiskConfig": { +"description": "Represents the config of disk options.", +"id": "GoogleCloudMlV1__DiskConfig", +"properties": { +"bootDiskSizeGb": { +"description": "Size in GB of the boot disk (default is 100GB).", +"format": "int32", +"type": "integer" +}, +"bootDiskType": { +"description": "Type of the boot disk (default is \"pd-ssd\"). Valid values: \"pd-ssd\" (Persistent Disk Solid State Drive) or \"pd-standard\" (Persistent Disk Hard Disk Drive).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__EncryptionConfig": { +"description": "Represents a custom encryption key configuration that can be applied to a resource.", +"id": "GoogleCloudMlV1__EncryptionConfig", +"properties": { +"kmsKeyName": { +"description": "The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__EnvVar": { +"description": "Represents an environment variable to be made available in a container. This message is a subset of the [Kubernetes EnvVar v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core).", +"id": "GoogleCloudMlV1__EnvVar", +"properties": { +"name": { +"description": "Name of the environment variable. Must be a [valid C identifier](https://github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L258) and must not begin with the prefix `AIP_`.", +"type": "string" +}, +"value": { +"description": "Value of the environment variable. Defaults to an empty string. In this field, you can reference [environment variables set by AI Platform Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-variables) and environment variables set earlier in the same env field as where this message occurs. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME)", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ExplainRequest": { +"description": "Request for explanations to be issued against a trained model.", +"id": "GoogleCloudMlV1__ExplainRequest", +"properties": { +"httpBody": { +"$ref": "GoogleApi__HttpBody", +"description": "Required. The explanation request body." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ExplanationConfig": { +"description": "Message holding configuration options for explaining model predictions. There are three feature attribution methods supported for TensorFlow models: integrated gradients, sampled Shapley, and XRAI. [Learn more about feature attributions.](/ai-platform/prediction/docs/ai-explanations/overview)", +"id": "GoogleCloudMlV1__ExplanationConfig", +"properties": { +"integratedGradientsAttribution": { +"$ref": "GoogleCloudMlV1__IntegratedGradientsAttribution", +"description": "Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" +}, +"sampledShapleyAttribution": { +"$ref": "GoogleCloudMlV1__SampledShapleyAttribution", +"description": "An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features." +}, +"xraiAttribution": { +"$ref": "GoogleCloudMlV1__XraiAttribution", +"description": "Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Currently only implemented for models with natural image inputs." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__GetConfigResponse": { +"description": "Returns service account information associated with a project.", +"id": "GoogleCloudMlV1__GetConfigResponse", +"properties": { +"config": { +"$ref": "GoogleCloudMlV1__Config" +}, +"serviceAccount": { +"description": "The service account Cloud ML uses to access resources in the project.", +"type": "string" +}, +"serviceAccountProject": { +"description": "The project number for `service_account`.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__HyperparameterOutput": { +"description": "Represents the result of a single hyperparameter tuning trial from a training job. The TrainingOutput object that is returned on successful completion of a training job with hyperparameter tuning includes a list of HyperparameterOutput objects, one for each successful trial.", +"id": "GoogleCloudMlV1__HyperparameterOutput", +"properties": { +"allMetrics": { +"description": "All recorded object metrics for this trial. This field is not currently populated.", +"items": { +"$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric" +}, +"type": "array" +}, +"builtInAlgorithmOutput": { +"$ref": "GoogleCloudMlV1__BuiltInAlgorithmOutput", +"description": "Details related to built-in algorithms jobs. Only set for trials of built-in algorithms jobs that have succeeded." +}, +"endTime": { +"description": "Output only. End time for the trial.", +"format": "google-datetime", +"type": "string" +}, +"finalMetric": { +"$ref": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric", +"description": "The final objective metric seen for this trial." +}, +"hyperparameters": { +"additionalProperties": { +"type": "string" +}, +"description": "The hyperparameters given to this trial.", +"type": "object" +}, +"isTrialStoppedEarly": { +"description": "True if the trial is stopped early.", +"type": "boolean" +}, +"startTime": { +"description": "Output only. Start time for the trial.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of the trial.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"PREPARING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLING", +"CANCELLED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed. `error_message` should contain the details of the failure.", +"The job is being cancelled. `error_message` should describe the reason for the cancellation.", +"The job has been cancelled. `error_message` should describe the reason for the cancellation." +], +"type": "string" +}, +"trialId": { +"description": "The trial id for these results.", +"type": "string" +}, +"webAccessUris": { +"additionalProperties": { +"type": "string" +}, +"description": "URIs for accessing [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a hyperparameter tuning job and the job's training_input.enable_web_access is `true`. The keys are names of each node in the training job; for example, `master-replica-0` for the master node, `worker-replica-0` for the first worker, and `ps-replica-0` for the first parameter server. The values are the URIs for each node's interactive shell.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__HyperparameterSpec": { +"description": "Represents a set of hyperparameters to optimize.", +"id": "GoogleCloudMlV1__HyperparameterSpec", +"properties": { +"algorithm": { +"description": "Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified.", +"enum": [ +"ALGORITHM_UNSPECIFIED", +"GRID_SEARCH", +"RANDOM_SEARCH" +], +"enumDescriptions": [ +"The default algorithm used by the hyperparameter tuning service. This is a Bayesian optimization algorithm.", +"Simple grid search within the feasible space. To use grid search, all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`.", +"Simple random search within the feasible space." +], +"type": "string" +}, +"enableTrialEarlyStopping": { +"description": "Optional. Indicates if the hyperparameter tuning job enables auto trial early stopping.", +"type": "boolean" +}, +"goal": { +"description": "Required. The type of goal to use for tuning. Available types are `MAXIMIZE` and `MINIMIZE`. Defaults to `MAXIMIZE`.", +"enum": [ +"GOAL_TYPE_UNSPECIFIED", +"MAXIMIZE", +"MINIMIZE" +], +"enumDescriptions": [ +"Goal Type will default to maximize.", +"Maximize the goal metric.", +"Minimize the goal metric." +], +"type": "string" +}, +"hyperparameterMetricTag": { +"description": "Optional. The TensorFlow summary tag name to use for optimizing trials. For current versions of TensorFlow, this tag name should exactly match what is shown in TensorBoard, including all scopes. For versions of TensorFlow prior to 0.12, this should be only the tag passed to tf.Summary. By default, \"training/hptuning/metric\" will be used.", +"type": "string" +}, +"maxFailedTrials": { +"description": "Optional. The number of failed trials that need to be seen before failing the hyperparameter tuning job. You can specify this field to override the default failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero, which means the service decides when a hyperparameter job should fail.", +"format": "int32", +"type": "integer" +}, +"maxParallelTrials": { +"description": "Optional. The number of training trials to run concurrently. You can reduce the time it takes to perform hyperparameter tuning by adding trials in parallel. However, each trail only benefits from the information gained in completed trials. That means that a trial does not get access to the results of trials running at the same time, which could reduce the quality of the overall optimization. Each trial will use the same scale tier and machine types. Defaults to one.", +"format": "int32", +"type": "integer" +}, +"maxTrials": { +"description": "Optional. How many training trials should be attempted to optimize the specified hyperparameters. Defaults to one.", +"format": "int32", +"type": "integer" +}, +"params": { +"description": "Required. The set of parameters to tune.", +"items": { +"$ref": "GoogleCloudMlV1__ParameterSpec" +}, +"type": "array" +}, +"resumePreviousJobId": { +"description": "Optional. The prior hyperparameter tuning job id that users hope to continue with. The job id will be used to find the corresponding vizier study guid and resume the study.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__IntegratedGradientsAttribution": { +"description": "Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", +"id": "GoogleCloudMlV1__IntegratedGradientsAttribution", +"properties": { +"numIntegralSteps": { +"description": "Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Job": { +"description": "Represents a training or prediction job.", +"id": "GoogleCloudMlV1__Job", +"properties": { +"createTime": { +"description": "Output only. When the job was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "Output only. When the job processing was completed.", +"format": "google-datetime", +"type": "string" +}, +"errorMessage": { +"description": "Output only. The details of a failure or a cancellation.", +"type": "string" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform job updates in order to avoid race conditions: An `etag` is returned in the response to `GetJob`, and systems are expected to put that etag in the request to `UpdateJob` to ensure that their change will be applied to the same version of the job.", +"format": "byte", +"type": "string" +}, +"jobId": { +"description": "Required. The user-specified id of the job.", +"type": "string" +}, +"jobPosition": { +"description": "Output only. It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.", +"type": "object" +}, +"predictionInput": { +"$ref": "GoogleCloudMlV1__PredictionInput", +"description": "Input parameters to create a prediction job." +}, +"predictionOutput": { +"$ref": "GoogleCloudMlV1__PredictionOutput", +"description": "The current prediction job result." +}, +"startTime": { +"description": "Output only. When the job processing was started.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of a job.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"PREPARING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLING", +"CANCELLED" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created and processing has not yet begun.", +"The service is preparing to run the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed. `error_message` should contain the details of the failure.", +"The job is being cancelled. `error_message` should describe the reason for the cancellation.", +"The job has been cancelled. `error_message` should describe the reason for the cancellation." +], +"type": "string" +}, +"trainingInput": { +"$ref": "GoogleCloudMlV1__TrainingInput", +"description": "Input parameters to create a training job." +}, +"trainingOutput": { +"$ref": "GoogleCloudMlV1__TrainingOutput", +"description": "The current training job result." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListJobsResponse": { +"description": "Response message for the ListJobs method.", +"id": "GoogleCloudMlV1__ListJobsResponse", +"properties": { +"jobs": { +"description": "The list of jobs.", +"items": { +"$ref": "GoogleCloudMlV1__Job" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. Pass this token as the `page_token` field of the request for a subsequent call.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListLocationsResponse": { +"id": "GoogleCloudMlV1__ListLocationsResponse", +"properties": { +"locations": { +"description": "Locations where at least one type of CMLE capability is available.", +"items": { +"$ref": "GoogleCloudMlV1__Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. Pass this token as the `page_token` field of the request for a subsequent call.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListModelsResponse": { +"description": "Response message for the ListModels method.", +"id": "GoogleCloudMlV1__ListModelsResponse", +"properties": { +"models": { +"description": "The list of models.", +"items": { +"$ref": "GoogleCloudMlV1__Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. Pass this token as the `page_token` field of the request for a subsequent call.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListOptimalTrialsRequest": { +"description": "The request message for the ListTrials service method.", +"id": "GoogleCloudMlV1__ListOptimalTrialsRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudMlV1__ListOptimalTrialsResponse": { +"description": "The response message for the ListOptimalTrials method.", +"id": "GoogleCloudMlV1__ListOptimalTrialsResponse", +"properties": { +"trials": { +"description": "The pareto-optimal trials for multiple objective study or the optimal trial for single objective study. The definition of pareto-optimal can be checked in wiki page. https://en.wikipedia.org/wiki/Pareto_efficiency", +"items": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListStudiesResponse": { +"id": "GoogleCloudMlV1__ListStudiesResponse", +"properties": { +"studies": { +"description": "The studies associated with the project.", +"items": { +"$ref": "GoogleCloudMlV1__Study" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListTrialsResponse": { +"description": "The response message for the ListTrials method.", +"id": "GoogleCloudMlV1__ListTrialsResponse", +"properties": { +"trials": { +"description": "The trials associated with the study.", +"items": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ListVersionsResponse": { +"description": "Response message for the ListVersions method.", +"id": "GoogleCloudMlV1__ListVersionsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. Pass this token as the `page_token` field of the request for a subsequent call.", +"type": "string" +}, +"versions": { +"description": "The list of versions.", +"items": { +"$ref": "GoogleCloudMlV1__Version" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Location": { +"id": "GoogleCloudMlV1__Location", +"properties": { +"capabilities": { +"description": "Capabilities available in the location.", +"items": { +"$ref": "GoogleCloudMlV1__Capability" +}, +"type": "array" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ManualScaling": { +"description": "Options for manually scaling a model.", +"id": "GoogleCloudMlV1__ManualScaling", +"properties": { +"nodes": { +"description": "The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to `nodes` * number of hours since last billing cycle plus the cost for each prediction performed.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Measurement": { +"description": "A message representing a measurement.", +"id": "GoogleCloudMlV1__Measurement", +"properties": { +"elapsedTime": { +"description": "Output only. Time that the trial has been running at the point of this measurement.", +"format": "google-duration", +"type": "string" +}, +"metrics": { +"description": "Provides a list of metrics that act as inputs into the objective function.", +"items": { +"$ref": "GoogleCloudMlV1_Measurement_Metric" +}, +"type": "array" +}, +"stepCount": { +"description": "The number of steps a machine learning model has been trained for. Must be non-negative.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__MetricSpec": { +"description": "MetricSpec contains the specifications to use to calculate the desired nodes count when autoscaling is enabled.", +"id": "GoogleCloudMlV1__MetricSpec", +"properties": { +"name": { +"description": "metric name.", +"enum": [ +"METRIC_NAME_UNSPECIFIED", +"CPU_USAGE", +"GPU_DUTY_CYCLE" +], +"enumDescriptions": [ +"Unspecified MetricName.", +"CPU usage.", +"GPU duty cycle." +], +"type": "string" +}, +"target": { +"description": "Target specifies the target value for the given metric; once real metric deviates from the threshold by a certain percentage, the node count changes.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Model": { +"description": "Represents a machine learning solution. A model can have multiple versions, each of which is a deployed, trained model ready to receive prediction requests. The model itself is just a container.", +"id": "GoogleCloudMlV1__Model", +"properties": { +"defaultVersion": { +"$ref": "GoogleCloudMlV1__Version", +"description": "Output only. The default version of the model. This version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.models.versions.setDefault." +}, +"description": { +"description": "Optional. The description specified for the model when it was created.", +"type": "string" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a model from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform model updates in order to avoid race conditions: An `etag` is returned in the response to `GetModel`, and systems are expected to put that etag in the request to `UpdateModel` to ensure that their change will be applied to the model as intended.", +"format": "byte", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. One or more labels that you can add, to organize your models. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels. Note that this field is not updatable for mls1* models.", +"type": "object" +}, +"name": { +"description": "Required. The name specified for the model when it was created. The model name must be unique within the project it is created in.", +"type": "string" +}, +"onlinePredictionConsoleLogging": { +"description": "Optional. If true, online prediction nodes send `stderr` and `stdout` streams to Cloud Logging. These can be more verbose than the standard access logs (see `onlinePredictionLogging`) and can incur higher cost. However, they are helpful for debugging. Note that [logs may incur a cost](/stackdriver/pricing), especially if your project receives prediction requests at a high QPS. Estimate your costs before enabling this option. Default is false.", +"type": "boolean" +}, +"onlinePredictionLogging": { +"description": "Optional. If true, online prediction access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each request. Note that [logs may incur a cost](/stackdriver/pricing), especially if your project receives prediction requests at a high queries per second rate (QPS). Estimate your costs before enabling this option. Default is false.", +"type": "boolean" +}, +"regions": { +"description": "Optional. The list of regions where the model is going to be deployed. Only one region per model is supported. Defaults to 'us-central1' if nothing is set. See the available regions for AI Platform services. Note: * No matter where a model is deployed, it can always be accessed by users from anywhere, both for online and batch prediction. * The region for a batch prediction job is set by the region field when submitting the batch prediction job and does not take its value from this field.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "GoogleCloudMlV1__OperationMetadata", +"properties": { +"createTime": { +"description": "The time the operation was submitted.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time operation processing completed.", +"format": "google-datetime", +"type": "string" +}, +"isCancellationRequested": { +"description": "Indicates whether a request to cancel this operation has been made.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The user labels, inherited from the model or the model version being operated on.", +"type": "object" +}, +"modelName": { +"description": "Contains the name of the model associated with the operation.", +"type": "string" +}, +"operationType": { +"description": "The operation type.", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"CREATE_VERSION", +"DELETE_VERSION", +"DELETE_MODEL", +"UPDATE_MODEL", +"UPDATE_VERSION", +"UPDATE_CONFIG" +], +"enumDescriptions": [ +"Unspecified operation type.", +"An operation to create a new version.", +"An operation to delete an existing version.", +"An operation to delete an existing model.", +"An operation to update an existing model.", +"An operation to update an existing version.", +"An operation to update project configuration." +], +"type": "string" +}, +"projectNumber": { +"description": "Contains the project number associated with the operation.", +"format": "int64", +"type": "string" +}, +"startTime": { +"description": "The time operation processing started.", +"format": "google-datetime", +"type": "string" +}, +"version": { +"$ref": "GoogleCloudMlV1__Version", +"description": "Contains the version associated with the operation." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ParameterSpec": { +"description": "Represents a single hyperparameter to optimize.", +"id": "GoogleCloudMlV1__ParameterSpec", +"properties": { +"categoricalValues": { +"description": "Required if type is `CATEGORICAL`. The list of possible categories.", +"items": { +"type": "string" +}, +"type": "array" +}, +"discreteValues": { +"description": "Required if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"maxValue": { +"description": "Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type is `CATEGORICAL`. This value should be integers if type is `INTEGER`.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type is `CATEGORICAL`. This value should be integers if type is INTEGER.", +"format": "double", +"type": "number" +}, +"parameterName": { +"description": "Required. The parameter name must be unique amongst all ParameterConfigs in a HyperparameterSpec message. E.g., \"learning_rate\".", +"type": "string" +}, +"scaleType": { +"description": "Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g., `UNIT_LINEAR_SCALE`).", +"enum": [ +"NONE", +"UNIT_LINEAR_SCALE", +"UNIT_LOG_SCALE", +"UNIT_REVERSE_LOG_SCALE" +], +"enumDescriptions": [ +"By default, no scaling is applied.", +"Scales the feasible space to (0, 1) linearly.", +"Scales the feasible space logarithmically to (0, 1). The entire feasible space must be strictly positive.", +"Scales the feasible space \"reverse\" logarithmically to (0, 1). The result is that values close to the top of the feasible space are spread out more than points near the bottom. The entire feasible space must be strictly positive." +], +"type": "string" +}, +"type": { +"description": "Required. The type of the parameter.", +"enum": [ +"PARAMETER_TYPE_UNSPECIFIED", +"DOUBLE", +"INTEGER", +"CATEGORICAL", +"DISCRETE" +], +"enumDescriptions": [ +"You must specify a valid type. Using this unspecified type will result in an error.", +"Type for real-valued parameters.", +"Type for integral parameters.", +"The parameter is categorical, with a value chosen from the categories field.", +"The parameter is real valued, with a fixed set of feasible points. If `type==DISCRETE`, feasible_points must be provided, and {`min_value`, `max_value`} will be ignored." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__PredictRequest": { +"description": "Request for predictions to be issued against a trained model.", +"id": "GoogleCloudMlV1__PredictRequest", +"properties": { +"httpBody": { +"$ref": "GoogleApi__HttpBody", +"description": " Required. The prediction request body. Refer to the [request body details section](#request-body-details) for more information on how to structure your request." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__PredictionInput": { +"description": "Represents input parameters for a prediction job.", +"id": "GoogleCloudMlV1__PredictionInput", +"properties": { +"batchSize": { +"description": "Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter.", +"format": "int64", +"type": "string" +}, +"dataFormat": { +"description": "Required. The format of the input data files.", +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"JSON", +"TEXT", +"TF_RECORD", +"TF_RECORD_GZIP", +"CSV" +], +"enumDescriptions": [ +"Unspecified format.", +"Each line of the file is a JSON dictionary representing one record.", +"Deprecated. Use JSON instead.", +"The source file is a TFRecord file. Currently available only for input data.", +"The source file is a GZIP-compressed TFRecord file. Currently available only for input data.", +"Values are comma-separated rows, with keys in a separate file. Currently available only for output data." +], +"type": "string" +}, +"inputPaths": { +"description": "Required. The Cloud Storage location of the input data files. May contain wildcards.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maxWorkerCount": { +"description": "Optional. The maximum number of workers to be used for parallel processing. Defaults to 10 if not specified.", +"format": "int64", +"type": "string" +}, +"modelName": { +"description": "Use this field if you want to use the default version for the specified model. The string must use the following format: `\"projects/YOUR_PROJECT/models/YOUR_MODEL\"`", +"type": "string" +}, +"outputDataFormat": { +"description": "Optional. Format of the output data files, defaults to JSON.", +"enum": [ +"DATA_FORMAT_UNSPECIFIED", +"JSON", +"TEXT", +"TF_RECORD", +"TF_RECORD_GZIP", +"CSV" +], +"enumDescriptions": [ +"Unspecified format.", +"Each line of the file is a JSON dictionary representing one record.", +"Deprecated. Use JSON instead.", +"The source file is a TFRecord file. Currently available only for input data.", +"The source file is a GZIP-compressed TFRecord file. Currently available only for input data.", +"Values are comma-separated rows, with keys in a separate file. Currently available only for output data." +], +"type": "string" +}, +"outputPath": { +"description": "Required. The output Google Cloud Storage location.", +"type": "string" +}, +"region": { +"description": "Required. The Google Compute Engine region to run the prediction job in. See the available regions for AI Platform services.", +"type": "string" +}, +"runtimeVersion": { +"description": "Optional. The AI Platform runtime version to use for this batch prediction. If not set, AI Platform will pick the runtime version used during the CreateVersion request for this model version, or choose the latest stable version when model version information is not available such as when the model is specified by uri.", +"type": "string" +}, +"signatureName": { +"description": "Optional. The name of the signature defined in the SavedModel to use for this job. Please refer to [SavedModel](https://tensorflow.github.io/serving/serving_basic.html) for information about how to use signatures. Defaults to [DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/tf/saved_model/signature_constants) , which is \"serving_default\".", +"type": "string" +}, +"uri": { +"description": "Use this field if you want to specify a Google Cloud Storage path for the model to use.", +"type": "string" +}, +"versionName": { +"description": "Use this field if you want to specify a version of the model to use. The string is formatted the same way as `model_version`, with the addition of the version information: `\"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION\"`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__PredictionOutput": { +"description": "Represents results of a prediction job.", +"id": "GoogleCloudMlV1__PredictionOutput", +"properties": { +"errorCount": { +"description": "The number of data instances which resulted in errors.", +"format": "int64", +"type": "string" +}, +"nodeHours": { +"description": "Node hours used by the batch prediction job.", +"format": "double", +"type": "number" +}, +"outputPath": { +"description": "The output Google Cloud Storage location provided at the job creation time.", +"type": "string" +}, +"predictionCount": { +"description": "The number of generated predictions.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__ReplicaConfig": { +"description": "Represents the configuration for a replica in a cluster.", +"id": "GoogleCloudMlV1__ReplicaConfig", +"properties": { +"acceleratorConfig": { +"$ref": "GoogleCloudMlV1__AcceleratorConfig", +"description": "Represents the type and number of accelerators used by the replica. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)" +}, +"containerArgs": { +"description": "Arguments to the entrypoint command. The following rules apply for container_command and container_args: - If you do not supply command or args: The defaults defined in the Docker image are used. - If you supply a command but no args: The default EntryPoint and the default Cmd defined in the Docker image are ignored. Your command is run without any arguments. - If you supply only args: The default Entrypoint defined in the Docker image is run with the args that you supplied. - If you supply a command and args: The default Entrypoint and the default Cmd defined in the Docker image are ignored. Your command is run with your args. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"containerCommand": { +"description": "The command with which the replica's custom container is run. If provided, it will override default ENTRYPOINT of the docker image. If not provided, the docker image's ENTRYPOINT is used. It cannot be set if custom container image is not provided. Note that this field and [TrainingInput.args] are mutually exclusive, i.e., both cannot be set at the same time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"diskConfig": { +"$ref": "GoogleCloudMlV1__DiskConfig", +"description": "Represents the configuration of disk options." +}, +"imageUri": { +"description": "The Docker image to run on the replica. This image must be in Container Registry. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers).", +"type": "string" +}, +"tpuTfVersion": { +"description": "The AI Platform runtime version that includes a TensorFlow version matching the one used in the custom container. This field is required if the replica is a TPU worker that uses a custom container. Otherwise, do not specify this field. This must be a [runtime version that currently supports training with TPUs](/ml-engine/docs/tensorflow/runtime-version-list#tpu-support). Note that the version of TensorFlow included in a runtime version may differ from the numbering of the runtime version itself, because it may have a different [patch version](https://www.tensorflow.org/guide/version_compat#semantic_versioning_20). In this field, you must specify the runtime version (TensorFlow minor version). For example, if your custom container runs TensorFlow `1.x.y`, specify `1.x`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__RequestLoggingConfig": { +"description": "Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions. If you are using [continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to specify this configuration manually. Setting up continuous evaluation automatically enables logging of request-response pairs.", +"id": "GoogleCloudMlV1__RequestLoggingConfig", +"properties": { +"bigqueryTableName": { +"description": "Required. Fully qualified BigQuery table name in the following format: \" project_id.dataset_name.table_name\" The specified table must already exist, and the \"Cloud ML Service Agent\" for your project must have permission to write to it. The table must have the following [schema](/bigquery/docs/schemas): Field name Type Mode model STRING REQUIRED model_version STRING REQUIRED time TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE groundtruth STRING NULLABLE ", +"type": "string" +}, +"samplingPercentage": { +"description": "Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you want to log 10% of requests, enter `0.1`. The sampling window is the lifetime of the model version. Defaults to 0.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__RouteMap": { +"description": "Specifies HTTP paths served by a custom container. AI Platform Prediction sends requests to these paths on the container; the custom container must run an HTTP server that responds to these requests with appropriate responses. Read [Custom container requirements](/ai-platform/prediction/docs/custom-container-requirements) for details on how to create your container image to meet these requirements.", +"id": "GoogleCloudMlV1__RouteMap", +"properties": { +"health": { +"description": "HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](/ai-platform/prediction/docs/custom-container-requirements#checks). For example, if you set this field to `/bar`, then AI Platform Prediction intermittently sends a GET request to the `/bar` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/ MODEL/versions/VERSION The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID /models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", +"type": "string" +}, +"predict": { +"description": "HTTP path on the container to send prediction requests to. AI Platform Prediction forwards requests sent using projects.predict to this path on the container's IP address and port. AI Platform Prediction then returns the container's response in the API response. For example, if you set this field to `/foo`, then when AI Platform Prediction receives a prediction request, it forwards the request body in a POST request to the `/foo` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/MODEL/versions/VERSION:predict The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the \"projects/PROJECT_ID/models/\" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the \"projects/PROJECT_ID/models/MODEL/versions/\" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__SampledShapleyAttribution": { +"description": "An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features.", +"id": "GoogleCloudMlV1__SampledShapleyAttribution", +"properties": { +"numPaths": { +"description": "The number of feature permutations to consider when approximating the Shapley values.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Scheduling": { +"description": "All parameters related to scheduling of training jobs.", +"id": "GoogleCloudMlV1__Scheduling", +"properties": { +"maxRunningTime": { +"description": "Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by `s`. If not specified, this field defaults to `604800s` (seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters the `RUNNING` state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using the `gcloud` tool, you can [specify this field in a `config.yaml` file](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters). For example: ```yaml trainingInput: scheduling: maxRunningTime: 7200s ```", +"format": "google-duration", +"type": "string" +}, +"maxWaitTime": { +"description": "Optional. The maximum job wait time, expressed in seconds. The field can contain up to nine fractional digits, terminated by `s`. If not specified, there is no limit to the wait time. The minimum for this field is `1800s` (30 minutes). If the training job has not entered the `RUNNING` state after this duration, AI Platform Training cancels it. After the job begins running, it can no longer be cancelled due to the maximum wait time. Therefore the duration limited by this field does not overlap with the duration limited by Scheduling.max_running_time. For example, if the job temporarily stops running and retries due to a [VM restart](/ai-platform/training/docs/overview#restarts), this cannot lead to a maximum wait time cancellation. However, independently of this constraint, AI Platform Training might stop a job if there are too many retries due to exhausted resources in a region. The following example describes how you might use this field: To cancel your job if it doesn't start running within 1 hour, set this field to `3600s` (1 hour * 60 minutes / hour * 60 seconds / minute). If the job is still in the `QUEUED` or `PREPARING` state after an hour of waiting, AI Platform Training cancels the job. If you submit your training job using the `gcloud` tool, you can [specify this field in a `config.yaml` file](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters). For example: ```yaml trainingInput: scheduling: maxWaitTime: 3600s ```", +"format": "google-duration", +"type": "string" +}, +"priority": { +"description": "Optional. Job scheduling will be based on this priority, which in the range [0, 1000]. The bigger the number, the higher the priority. Default to 0 if not set. If there are multiple jobs requesting same type of accelerators, the high priority job will be scheduled prior to ones with low priority.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__SetDefaultVersionRequest": { +"description": "Request message for the SetDefaultVersion request.", +"id": "GoogleCloudMlV1__SetDefaultVersionRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudMlV1__StopTrialRequest": { +"id": "GoogleCloudMlV1__StopTrialRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudMlV1__Study": { +"description": "A message representing a Study.", +"id": "GoogleCloudMlV1__Study", +"properties": { +"createTime": { +"description": "Output only. Time at which the study was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"inactiveReason": { +"description": "Output only. A human readable reason why the Study is inactive. This should be empty if a study is ACTIVE or COMPLETED.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The name of a study.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The detailed state of a study.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"COMPLETED" +], +"enumDescriptions": [ +"The study state is unspecified.", +"The study is active.", +"The study is stopped due to an internal error.", +"The study is done when the service exhausts the parameter search space or max_trial_count is reached." +], +"readOnly": true, +"type": "string" +}, +"studyConfig": { +"$ref": "GoogleCloudMlV1__StudyConfig", +"description": "Required. Configuration of the study." +} +}, +"type": "object" +}, +"GoogleCloudMlV1__StudyConfig": { +"description": "Represents configuration of a study.", +"id": "GoogleCloudMlV1__StudyConfig", +"properties": { +"algorithm": { +"description": "The search algorithm specified for the study.", +"enum": [ +"ALGORITHM_UNSPECIFIED", +"GAUSSIAN_PROCESS_BANDIT", +"GRID_SEARCH", +"RANDOM_SEARCH" +], +"enumDescriptions": [ +"The default algorithm used by the Cloud AI Platform Vizier service.", +"Gaussian Process Bandit.", +"Simple grid search within the feasible space. To use grid search, all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`.", +"Simple random search within the feasible space." +], +"type": "string" +}, +"automatedStoppingConfig": { +"$ref": "GoogleCloudMlV1__AutomatedStoppingConfig", +"description": "Configuration for automated stopping of unpromising Trials." +}, +"metrics": { +"description": "Metric specs for the study.", +"items": { +"$ref": "GoogleCloudMlV1_StudyConfig_MetricSpec" +}, +"type": "array" +}, +"parameters": { +"description": "Required. The set of parameters to tune.", +"items": { +"$ref": "GoogleCloudMlV1_StudyConfig_ParameterSpec" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__SuggestTrialsMetadata": { +"description": "Metadata field of a google.longrunning.Operation associated with a SuggestTrialsRequest.", +"id": "GoogleCloudMlV1__SuggestTrialsMetadata", +"properties": { +"clientId": { +"description": "The identifier of the client that is requesting the suggestion.", +"type": "string" +}, +"createTime": { +"description": "The time operation was submitted.", +"format": "google-datetime", +"type": "string" +}, +"study": { +"description": "The name of the study that the trial belongs to.", +"type": "string" +}, +"suggestionCount": { +"description": "The number of suggestions requested.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__SuggestTrialsRequest": { +"description": "The request message for the SuggestTrial service method.", +"id": "GoogleCloudMlV1__SuggestTrialsRequest", +"properties": { +"clientId": { +"description": "Required. The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the service will return the identical suggested trial if the trial is pending, and provide a new trial if the last suggested trial was completed.", +"type": "string" +}, +"suggestionCount": { +"description": "Required. The number of suggestions requested.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__SuggestTrialsResponse": { +"description": "This message will be placed in the response field of a completed google.longrunning.Operation associated with a SuggestTrials request.", +"id": "GoogleCloudMlV1__SuggestTrialsResponse", +"properties": { +"endTime": { +"description": "The time at which operation processing completed.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The time at which the operation was started.", +"format": "google-datetime", +"type": "string" +}, +"studyState": { +"description": "The state of the study.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE", +"COMPLETED" +], +"enumDescriptions": [ +"The study state is unspecified.", +"The study is active.", +"The study is stopped due to an internal error.", +"The study is done when the service exhausts the parameter search space or max_trial_count is reached." +], +"type": "string" +}, +"trials": { +"description": "A list of trials.", +"items": { +"$ref": "GoogleCloudMlV1__Trial" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__TrainingInput": { +"description": "Represents input parameters for a training job. When using the gcloud command to submit your training job, you can specify the input parameters as command-line arguments and/or in a YAML configuration file referenced from the --config command-line argument. For details, see the guide to [submitting a training job](/ai-platform/training/docs/training-jobs).", +"id": "GoogleCloudMlV1__TrainingInput", +"properties": { +"args": { +"description": "Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's `ENTRYPOINT` command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enableWebAccess": { +"description": "Optional. Whether you want AI Platform Training to enable [interactive shell access](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) to training containers. If set to `true`, you can access interactive shells at the URIs given by TrainingOutput.web_access_uris or HyperparameterOutput.web_access_uris (within TrainingOutput.trials).", +"type": "boolean" +}, +"encryptionConfig": { +"$ref": "GoogleCloudMlV1__EncryptionConfig", +"description": "Optional. Options for using customer-managed encryption keys (CMEK) to protect resources created by a training job, instead of using Google's default encryption. If this is set, then all resources created by the training job will be encrypted with the customer-managed encryption key that you specify. [Learn how and when to use CMEK with AI Platform Training](/ai-platform/training/docs/cmek)." +}, +"evaluatorConfig": { +"$ref": "GoogleCloudMlV1__ReplicaConfig", +"description": "Optional. The configuration for evaluators. You should only set `evaluatorConfig.acceleratorConfig` if `evaluatorType` is set to a Compute Engine machine type. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) Set `evaluatorConfig.imageUri` only if you build a custom image for your evaluator. If `evaluatorConfig.imageUri` has not been set, AI Platform uses the value of `masterConfig.imageUri`. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers)." +}, +"evaluatorCount": { +"description": "Optional. The number of evaluator replicas to use for the training job. Each replica in the cluster will be of the type specified in `evaluator_type`. This value can only be used when `scale_tier` is set to `CUSTOM`. If you set this value, you must also set `evaluator_type`. The default value is zero.", +"format": "int64", +"type": "string" +}, +"evaluatorType": { +"description": "Optional. Specifies the type of virtual machine to use for your training job's evaluator nodes. The supported values are the same as those described in the entry for `masterType`. This value must be consistent with the category of machine type that `masterType` uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present when `scaleTier` is set to `CUSTOM` and `evaluatorCount` is greater than zero.", +"type": "string" +}, +"hyperparameters": { +"$ref": "GoogleCloudMlV1__HyperparameterSpec", +"description": "Optional. The set of Hyperparameters to tune." +}, +"jobDir": { +"description": "Optional. A Google Cloud Storage path in which to store training outputs and other data needed for training. This path is passed to your TensorFlow program as the '--job-dir' command-line argument. The benefit of specifying this field is that Cloud ML validates the path for use in training.", +"type": "string" +}, +"masterConfig": { +"$ref": "GoogleCloudMlV1__ReplicaConfig", +"description": "Optional. The configuration for your master worker. You should only set `masterConfig.acceleratorConfig` if `masterType` is set to a Compute Engine machine type. Learn about [restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) Set `masterConfig.imageUri` only if you build a custom image. Only one of `masterConfig.imageUri` and `runtimeVersion` should be set. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers)." +}, +"masterType": { +"description": "Optional. Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when `scaleTier` is set to `CUSTOM`. You can use certain Compute Engine machine types directly in this field. See the [list of compatible Compute Engine machine types](/ai-platform/training/docs/machine-types#compute-engine-machine-types). Alternatively, you can use the certain legacy machine types in this field. See the [list of legacy machine types](/ai-platform/training/docs/machine-types#legacy-machine-types). Finally, if you want to use a TPU for training, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPUs](/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).", +"type": "string" +}, +"network": { +"description": "Optional. The full name of the [Compute Engine network](/vpc/docs/vpc) to which the Job is peered. For example, `projects/12345/global/networks/myVPC`. The format of this field is `projects/{project}/global/networks/{network}`, where {project} is a project number (like `12345`) and {network} is network name. Private services access must already be configured for the network. If left unspecified, the Job is not peered with any network. [Learn about using VPC Network Peering.](/ai-platform/training/docs/vpc-peering).", +"type": "string" +}, +"packageUris": { +"description": "Required. The Google Cloud Storage location of the packages with the training program and any additional dependencies. The maximum number of package URIs is 100.", +"items": { +"type": "string" +}, +"type": "array" +}, +"parameterServerConfig": { +"$ref": "GoogleCloudMlV1__ReplicaConfig", +"description": "Optional. The configuration for parameter servers. You should only set `parameterServerConfig.acceleratorConfig` if `parameterServerType` is set to a Compute Engine machine type. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) Set `parameterServerConfig.imageUri` only if you build a custom image for your parameter server. If `parameterServerConfig.imageUri` has not been set, AI Platform uses the value of `masterConfig.imageUri`. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers)." +}, +"parameterServerCount": { +"description": "Optional. The number of parameter server replicas to use for the training job. Each replica in the cluster will be of the type specified in `parameter_server_type`. This value can only be used when `scale_tier` is set to `CUSTOM`. If you set this value, you must also set `parameter_server_type`. The default value is zero.", +"format": "int64", +"type": "string" +}, +"parameterServerType": { +"description": "Optional. Specifies the type of virtual machine to use for your training job's parameter server. The supported values are the same as those described in the entry for `master_type`. This value must be consistent with the category of machine type that `masterType` uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. This value must be present when `scaleTier` is set to `CUSTOM` and `parameter_server_count` is greater than zero.", +"type": "string" +}, +"pythonModule": { +"description": "Required. The Python module name to run after installing the packages.", +"type": "string" +}, +"pythonVersion": { +"description": "Optional. The version of Python used in training. You must either specify this field or specify `masterConfig.imageUri`. The following Python versions are available: * Python '3.7' is available when `runtime_version` is set to '1.15' or later. * Python '3.5' is available when `runtime_version` is set to a version from '1.4' to '1.14'. * Python '2.7' is available when `runtime_version` is set to '1.15' or earlier. Read more about the Python versions available for [each runtime version](/ml-engine/docs/runtime-version-list).", +"type": "string" +}, +"region": { +"description": "Required. The region to run the training job in. See the [available regions](/ai-platform/training/docs/regions) for AI Platform Training.", +"type": "string" +}, +"runtimeVersion": { +"description": "Optional. The AI Platform runtime version to use for training. You must either specify this field or specify `masterConfig.imageUri`. For more information, see the [runtime version list](/ai-platform/training/docs/runtime-version-list) and learn [how to manage runtime versions](/ai-platform/training/docs/versioning).", +"type": "string" +}, +"scaleTier": { +"description": "Required. Specifies the machine types, the number of replicas for workers and parameter servers.", +"enum": [ +"BASIC", +"STANDARD_1", +"PREMIUM_1", +"BASIC_GPU", +"BASIC_TPU", +"CUSTOM" +], +"enumDescriptions": [ +"A single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.", +"Many workers and a few parameter servers.", +"A large number of workers with many parameter servers.", +"A single worker instance [with a GPU](/ai-platform/training/docs/using-gpus).", +"A single worker instance with a [Cloud TPU](/ml-engine/docs/tensorflow/using-tpus).", +"The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You _must_ set `TrainingInput.masterType` to specify the type of machine to use for your master node. This is the only required setting. * You _may_ set `TrainingInput.workerCount` to specify the number of workers to use. If you specify one or more workers, you _must_ also set `TrainingInput.workerType` to specify the type of machine to use for your worker nodes. * You _may_ set `TrainingInput.parameterServerCount` to specify the number of parameter servers to use. If you specify one or more parameter servers, you _must_ also set `TrainingInput.parameterServerType` to specify the type of machine to use for your parameter servers. Note that all of your workers must use the same machine type, which can be different from your parameter server type and master type. Your parameter servers must likewise use the same machine type, which can be different from your worker type and master type." +], +"type": "string" +}, +"scheduling": { +"$ref": "GoogleCloudMlV1__Scheduling", +"description": "Optional. Scheduling options for a training job." +}, +"serviceAccount": { +"description": "Optional. The email address of a service account to use when running the training appplication. You must have the `iam.serviceAccounts.actAs` permission for the specified service account. In addition, the AI Platform Training Google-managed service account must have the `roles/iam.serviceAccountAdmin` role for the specified service account. [Learn more about configuring a service account.](/ai-platform/training/docs/custom-service-account) If not specified, the AI Platform Training Google-managed service account is used by default.", +"type": "string" +}, +"useChiefInTfConfig": { +"description": "Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment variable when training with a custom container. Defaults to `false`. [Learn more about this field.](/ai-platform/training/docs/distributed-training-details#chief-versus-master) This field has no effect for training jobs that don't use a custom container.", +"type": "boolean" +}, +"workerConfig": { +"$ref": "GoogleCloudMlV1__ReplicaConfig", +"description": "Optional. The configuration for workers. You should only set `workerConfig.acceleratorConfig` if `workerType` is set to a Compute Engine machine type. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) Set `workerConfig.imageUri` only if you build a custom image for your worker. If `workerConfig.imageUri` has not been set, AI Platform uses the value of `masterConfig.imageUri`. Learn more about [configuring custom containers](/ai-platform/training/docs/distributed-training-containers)." +}, +"workerCount": { +"description": "Optional. The number of worker replicas to use for the training job. Each replica in the cluster will be of the type specified in `worker_type`. This value can only be used when `scale_tier` is set to `CUSTOM`. If you set this value, you must also set `worker_type`. The default value is zero.", +"format": "int64", +"type": "string" +}, +"workerType": { +"description": "Optional. Specifies the type of virtual machine to use for your training job's worker nodes. The supported values are the same as those described in the entry for `masterType`. This value must be consistent with the category of machine type that `masterType` uses. In other words, both must be Compute Engine machine types or both must be legacy machine types. If you use `cloud_tpu` for this value, see special instructions for [configuring a custom TPU machine](/ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine). This value must be present when `scaleTier` is set to `CUSTOM` and `workerCount` is greater than zero.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__TrainingOutput": { +"description": "Represents results of a training job. Output only.", +"id": "GoogleCloudMlV1__TrainingOutput", +"properties": { +"builtInAlgorithmOutput": { +"$ref": "GoogleCloudMlV1__BuiltInAlgorithmOutput", +"description": "Details related to built-in algorithms jobs. Only set for built-in algorithms jobs." +}, +"completedTrialCount": { +"description": "The number of hyperparameter tuning trials that completed successfully. Only set for hyperparameter tuning jobs.", +"format": "int64", +"type": "string" +}, +"consumedMLUnits": { +"description": "The amount of ML units consumed by the job.", +"format": "double", +"type": "number" +}, +"hyperparameterMetricTag": { +"description": "The TensorFlow summary tag name used for optimizing hyperparameter tuning trials. See [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.FIELDS.hyperparameter_metric_tag) for more information. Only set for hyperparameter tuning jobs.", +"type": "string" +}, +"isBuiltInAlgorithmJob": { +"description": "Whether this job is a built-in Algorithm job.", +"type": "boolean" +}, +"isHyperparameterTuningJob": { +"description": "Whether this job is a hyperparameter tuning job.", +"type": "boolean" +}, +"trials": { +"description": "Results for individual Hyperparameter trials. Only set for hyperparameter tuning jobs.", +"items": { +"$ref": "GoogleCloudMlV1__HyperparameterOutput" +}, +"type": "array" +}, +"webAccessUris": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. URIs for accessing [interactive shells](https://cloud.google.com/ai-platform/training/docs/monitor-debug-interactive-shell) (one URI for each training node). Only available if training_input.enable_web_access is `true`. The keys are names of each node in the training job; for example, `master-replica-0` for the master node, `worker-replica-0` for the first worker, and `ps-replica-0` for the first parameter server. The values are the URIs for each node's interactive shell.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Trial": { +"description": "A message representing a trial.", +"id": "GoogleCloudMlV1__Trial", +"properties": { +"clientId": { +"description": "Output only. The identifier of the client that originally requested this trial.", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. Time at which the trial's status changed to COMPLETED.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"finalMeasurement": { +"$ref": "GoogleCloudMlV1__Measurement", +"description": "The final measurement containing the objective value." +}, +"infeasibleReason": { +"description": "Output only. A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true.", +"readOnly": true, +"type": "string" +}, +"measurements": { +"description": "A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations.", +"items": { +"$ref": "GoogleCloudMlV1__Measurement" +}, +"type": "array" +}, +"name": { +"description": "Output only. Name of the trial assigned by the service.", +"readOnly": true, +"type": "string" +}, +"parameters": { +"description": "The parameters of the trial.", +"items": { +"$ref": "GoogleCloudMlV1_Trial_Parameter" +}, +"type": "array" +}, +"startTime": { +"description": "Output only. Time at which the trial was started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "The detailed state of a trial.", +"enum": [ +"STATE_UNSPECIFIED", +"REQUESTED", +"ACTIVE", +"COMPLETED", +"STOPPING" +], +"enumDescriptions": [ +"The trial state is unspecified.", +"Indicates that a specific trial has been requested, but it has not yet been suggested by the service.", +"Indicates that the trial has been suggested.", +"Indicates that the trial is done, and either has a final_measurement set, or is marked as trial_infeasible.", +"Indicates that the trial should stop according to the service." +], +"type": "string" +}, +"trialInfeasible": { +"description": "Output only. If true, the parameters in this trial are not attempted again.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__Version": { +"description": "Represents a version of the model. Each version is a trained model deployed in the cloud, ready to handle prediction requests. A model can have multiple versions. You can get information about all of the versions of a given model by calling projects.models.versions.list.", +"id": "GoogleCloudMlV1__Version", +"properties": { +"acceleratorConfig": { +"$ref": "GoogleCloudMlV1__AcceleratorConfig", +"description": "Optional. Accelerator config for using GPUs for online prediction (beta). Only specify this field if you have specified a Compute Engine (N1) machine type in the `machineType` field. Learn more about [using GPUs for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus)." +}, +"autoScaling": { +"$ref": "GoogleCloudMlV1__AutoScaling", +"description": "Automatically scale the number of nodes used to serve the model in response to increases and decreases in traffic. Care should be taken to ramp up traffic according to the model's ability to scale or you will start seeing increases in latency and 429 response codes." +}, +"container": { +"$ref": "GoogleCloudMlV1__ContainerSpec", +"description": "Optional. Specifies a custom container to use for serving predictions. If you specify this field, then `machineType` is required. If you specify this field, then `deploymentUri` is optional. If you specify this field, then you must not specify `runtimeVersion`, `packageUris`, `framework`, `pythonVersion`, or `predictionClass`." +}, +"createTime": { +"description": "Output only. The time the version was created.", +"format": "google-datetime", +"type": "string" +}, +"deploymentUri": { +"description": "The Cloud Storage URI of a directory containing trained model artifacts to be used to create the model version. See the [guide to deploying models](/ai-platform/prediction/docs/deploying-models) for more information. The total number of files under this directory must not exceed 1000. During projects.models.versions.create, AI Platform Prediction copies all files from the specified directory to a location managed by the service. From then on, AI Platform Prediction uses these copies of the model artifacts to serve predictions, not the original files in Cloud Storage, so this location is useful only as a historical record. If you specify container, then this field is optional. Otherwise, it is required. Learn [how to use this field with a custom container](/ai-platform/prediction/docs/custom-container-requirements#artifacts).", +"type": "string" +}, +"description": { +"description": "Optional. The description specified for the version when it was created.", +"type": "string" +}, +"errorMessage": { +"description": "Output only. The details of a failure or a cancellation.", +"type": "string" +}, +"etag": { +"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a model from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform model updates in order to avoid race conditions: An `etag` is returned in the response to `GetVersion`, and systems are expected to put that etag in the request to `UpdateVersion` to ensure that their change will be applied to the model as intended.", +"format": "byte", +"type": "string" +}, +"explanationConfig": { +"$ref": "GoogleCloudMlV1__ExplanationConfig", +"description": "Optional. Configures explainability features on the model's version. Some explanation features require additional metadata to be loaded as part of the model payload." +}, +"framework": { +"description": "Optional. The machine learning framework AI Platform uses to train this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`. If you do not specify a framework, AI Platform will analyze files in the deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version of the model to 1.4 or greater. Do **not** specify a framework if you're deploying a [custom prediction routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're using a [custom container](/ai-platform/prediction/docs/use-custom-container).", +"enum": [ +"FRAMEWORK_UNSPECIFIED", +"TENSORFLOW", +"SCIKIT_LEARN", +"XGBOOST" +], +"enumDescriptions": [ +"Unspecified framework. Assigns a value based on the file suffix.", +"Tensorflow framework.", +"Scikit-learn framework.", +"XGBoost framework." +], +"type": "string" +}, +"isDefault": { +"description": "Output only. If true, this version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.methods.versions.setDefault.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. One or more labels that you can add, to organize your model versions. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels. Note that this field is not updatable for mls1* models.", +"type": "object" +}, +"lastMigrationModelId": { +"description": "Output only. The [AI Platform (Unified) `Model`](https://cloud.google.com/ai-platform-unified/docs/reference/rest/v1beta1/projects.locations.models) ID for the last [model migration](https://cloud.google.com/ai-platform-unified/docs/start/migrating-to-ai-platform-unified).", +"readOnly": true, +"type": "string" +}, +"lastMigrationTime": { +"description": "Output only. The last time this version was successfully [migrated to AI Platform (Unified)](https://cloud.google.com/ai-platform-unified/docs/start/migrating-to-ai-platform-unified).", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"lastUseTime": { +"description": "Output only. The time the version was last used for prediction.", +"format": "google-datetime", +"type": "string" +}, +"machineType": { +"description": "Optional. The type of machine on which to serve the model. Currently only applies to online prediction service. To learn about valid values for this field, read [Choosing a machine type for online prediction](/ai-platform/prediction/docs/machine-types-online-prediction). If this field is not specified and you are using a [regional endpoint](/ai-platform/prediction/docs/regional-endpoints), then the machine type defaults to `n1-standard-2`. If this field is not specified and you are using the global endpoint (`ml.googleapis.com`), then the machine type defaults to `mls1-c1-m2`.", +"type": "string" +}, +"manualScaling": { +"$ref": "GoogleCloudMlV1__ManualScaling", +"description": "Manually select the number of nodes to use for serving the model. You should generally use `auto_scaling` with an appropriate `min_nodes` instead, but this option is available if you want more predictable billing. Beware that latency and error rates will increase if the traffic exceeds that capability of the system to serve it based on the selected number of nodes." +}, +"name": { +"description": "Required. The name specified for the version when it was created. The version name must be unique within the model it is created in.", +"type": "string" +}, +"packageUris": { +"description": "Optional. Cloud Storage paths (`gs://\u2026`) of packages for [custom prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines) or [scikit-learn pipelines with custom code](/ml-engine/docs/scikit/exporting-for-prediction#custom-pipeline-code). For a custom prediction routine, one of these packages must contain your Predictor class (see [`predictionClass`](#Version.FIELDS.prediction_class)). Additionally, include any dependencies used by your Predictor or scikit-learn pipeline uses that are not already included in your selected [runtime version](/ml-engine/docs/tensorflow/runtime-version-list). If you specify this field, you must also set [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.", +"items": { +"type": "string" +}, +"type": "array" +}, +"predictionClass": { +"description": "Optional. The fully qualified name (module_name.class_name) of a class that implements the Predictor interface described in this reference field. The module containing this class should be included in a package provided to the [`packageUris` field](#Version.FIELDS.package_uris). Specify this field if and only if you are deploying a [custom prediction routine (beta)](/ml-engine/docs/tensorflow/custom-prediction-routines). If you specify this field, you must set [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and you must set `machineType` to a [legacy (MLS1) machine type](/ml-engine/docs/machine-types-online-prediction). The following code sample provides the Predictor interface: class Predictor(object): \"\"\"Interface for constructing custom predictors.\"\"\" def predict(self, instances, **kwargs): \"\"\"Performs custom prediction. Instances are the decoded values from the request. They have already been deserialized from JSON. Args: instances: A list of prediction input instances. **kwargs: A dictionary of keyword args provided as additional fields on the predict request body. Returns: A list of outputs containing the prediction results. This list must be JSON serializable. \"\"\" raise NotImplementedError() @classmethod def from_path(cls, model_dir): \"\"\"Creates an instance of Predictor using the given path. Loading of the predictor should be done in this method. Args: model_dir: The local directory that contains the exported model file along with any additional files uploaded when creating the version resource. Returns: An instance implementing this Predictor class. \"\"\" raise NotImplementedError() Learn more about [the Predictor interface and custom prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines).", +"type": "string" +}, +"pythonVersion": { +"description": "Required. The version of Python used in prediction. The following Python versions are available: * Python '3.7' is available when `runtime_version` is set to '1.15' or later. * Python '3.5' is available when `runtime_version` is set to a version from '1.4' to '1.14'. * Python '2.7' is available when `runtime_version` is set to '1.15' or earlier. Read more about the Python versions available for [each runtime version](/ml-engine/docs/runtime-version-list).", +"type": "string" +}, +"requestLoggingConfig": { +"$ref": "GoogleCloudMlV1__RequestLoggingConfig", +"description": "Optional. *Only* specify this field in a projects.models.versions.patch request. Specifying it in a projects.models.versions.create request has no effect. Configures the request-response pair logging on predictions from this Version." +}, +"routes": { +"$ref": "GoogleCloudMlV1__RouteMap", +"description": "Optional. Specifies paths on a custom container's HTTP server where AI Platform Prediction sends certain requests. If you specify this field, then you must also specify the `container` field. If you specify the `container` field and do not specify this field, it defaults to the following: ```json { \"predict\": \"/v1/models/MODEL/versions/VERSION:predict\", \"health\": \"/v1/models/MODEL/versions/VERSION\" } ``` See RouteMap for more details about these default values." +}, +"runtimeVersion": { +"description": "Required. The AI Platform runtime version to use for this deployment. For more information, see the [runtime version list](/ml-engine/docs/runtime-version-list) and [how to manage runtime versions](/ml-engine/docs/versioning).", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. Specifies the service account for resource access control. If you specify this field, then you must also specify either the `containerSpec` or the `predictionClass` field. Learn more about [using a custom service account](/ai-platform/prediction/docs/custom-service-account).", +"type": "string" +}, +"state": { +"description": "Output only. The state of a version.", +"enum": [ +"UNKNOWN", +"READY", +"CREATING", +"FAILED", +"DELETING", +"UPDATING" +], +"enumDescriptions": [ +"The version state is unspecified.", +"The version is ready for prediction.", +"The version is being created. New UpdateVersion and DeleteVersion requests will fail if a version is in the CREATING state.", +"The version failed to be created, possibly cancelled. `error_message` should contain the details of the failure.", +"The version is being deleted. New UpdateVersion and DeleteVersion requests will fail if a version is in the DELETING state.", +"The version is being updated. New UpdateVersion and DeleteVersion requests will fail if a version is in the UPDATING state." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudMlV1__XraiAttribution": { +"description": "Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Currently only implemented for models with natural image inputs.", +"id": "GoogleCloudMlV1__XraiAttribution", +"properties": { +"numIntegralSteps": { +"description": "Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1__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": "GoogleIamV1__AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1__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" +}, +"GoogleIamV1__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": "GoogleIamV1__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" +}, +"GoogleIamV1__Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1__Binding", +"properties": { +"condition": { +"$ref": "GoogleType__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" +}, +"GoogleIamV1__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": "GoogleIamV1__Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1__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": "GoogleIamV1__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" +}, +"GoogleIamV1__SetIamPolicyRequest": { +"description": "Request message for `SetIamPolicy` method.", +"id": "GoogleIamV1__SetIamPolicyRequest", +"properties": { +"policy": { +"$ref": "GoogleIamV1__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" +}, +"GoogleIamV1__TestIamPermissionsRequest": { +"description": "Request message for `TestIamPermissions` method.", +"id": "GoogleIamV1__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" +}, +"GoogleIamV1__TestIamPermissionsResponse": { +"description": "Response message for `TestIamPermissions` method.", +"id": "GoogleIamV1__TestIamPermissionsResponse", +"properties": { +"permissions": { +"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunning__ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunning__ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunning__Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunning__Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunning__Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpc__Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleProtobuf__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": "GoogleProtobuf__Empty", +"properties": {}, +"type": "object" +}, +"GoogleRpc__Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpc__Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleType__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": "GoogleType__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" +} +}, +"servicePath": "", +"title": "AI Platform Training & Prediction API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..cb516fe8dcadbbb8a53ddcf51f48d618d27252d7 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json @@ -0,0 +1,229 @@ +{ +"basePath": "", +"baseUrl": "https://mybusinessnotifications.googleapis.com/", +"batchPath": "batch", +"canonicalName": "My Business Notification Settings", +"description": "The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/my-business/", +"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": "mybusinessnotifications:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://mybusinessnotifications.mtls.googleapis.com/", +"name": "mybusinessnotifications", +"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": { +"accounts": { +"methods": { +"getNotificationSetting": { +"description": "Returns the pubsub notification settings for the account.", +"flatPath": "v1/accounts/{accountsId}/notificationSetting", +"httpMethod": "GET", +"id": "mybusinessnotifications.accounts.getNotificationSetting", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the notification setting we are trying to fetch.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationSetting$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "NotificationSetting" +} +}, +"updateNotificationSetting": { +"description": "Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types", +"flatPath": "v1/accounts/{accountsId}/notificationSetting", +"httpMethod": "PATCH", +"id": "mybusinessnotifications.accounts.updateNotificationSetting", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.", +"location": "path", +"pattern": "^accounts/[^/]+/notificationSetting$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The specific fields that should be updated. The only editable field is notification_setting.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "NotificationSetting" +}, +"response": { +"$ref": "NotificationSetting" +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://mybusinessnotifications.googleapis.com/", +"schemas": { +"NotificationSetting": { +"description": "A Google Pub/Sub topic where notifications can be published when a location is updated or has a new review. There will be only one notification setting resource per-account.", +"id": "NotificationSetting", +"properties": { +"name": { +"description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.", +"type": "string" +}, +"notificationTypes": { +"description": "The types of notifications that will be sent to the Pub/Sub topic. To stop receiving notifications entirely, use NotificationSettings.UpdateNotificationSetting with an empty notification_types or set the pubsub_topic to an empty string.", +"items": { +"enum": [ +"NOTIFICATION_TYPE_UNSPECIFIED", +"GOOGLE_UPDATE", +"NEW_REVIEW", +"UPDATED_REVIEW", +"NEW_CUSTOMER_MEDIA", +"NEW_QUESTION", +"UPDATED_QUESTION", +"NEW_ANSWER", +"UPDATED_ANSWER", +"DUPLICATE_LOCATION", +"LOSS_OF_VOICE_OF_MERCHANT", +"VOICE_OF_MERCHANT_UPDATED" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false +], +"enumDescriptions": [ +"No notification type. Will not match any notifications.", +"The location has Google updates for review. The location_name field on the notification will provide the resource name of the location with Google updates.", +"A new review has been added to the location. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name.", +"A review on the location has been updated. The review_name field on the notification will provide the resource name of the review that was added, and location_name will have the location's resource name.", +"A new media item has been added to the location by a Google Maps user. The notification will provide the resource name of the new media item.", +"A new question is added to the location. The notification will provide the resource name of question.", +"A question of the location is updated. The notification will provide the resource name of question.", +"A new answer is added to the location. The notification will provide the resource name of question and answer.", +"An answer of the location is updated. The notification will provide the resource name of question and answer.", +"Indicates whether there is a change in location metadata's duplicate location field.", +"Deprecated: Migrate the existing usages of this value to the more expanded \"VOICE_OF_MERCHANT_UPDATED\".", +"Indicates whether the location has an update in Voice of Merchant (VOM) status. VOM dictates whether the location is in good standing and the merchant has control over the business on Google. Any edits made to the location will propagate to Maps after passing the review phase. Call GetVoiceOfMerchantState rpc for more details." +], +"type": "string" +}, +"type": "array" +}, +"pubsubTopic": { +"description": "Optional. The Google Pub/Sub topic that will receive notifications when locations managed by this account are updated. If unset, no notifications will be posted. The account mybusiness-api-pubsub@system.gserviceaccount.com must have at least Publish permissions on the Pub/Sub topic.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "My Business Notifications API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..1a0e6deb1840ee448bf2f33cd7f0ddfe2f92e042 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1.json @@ -0,0 +1,7390 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://networkconnectivity.googleapis.com/", +"batchPath": "batch", +"canonicalName": "networkconnectivity", +"description": "This API enables connectivity with and between Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "networkconnectivity:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://networkconnectivity.mtls.googleapis.com/", +"name": "networkconnectivity", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"checkConsumerConfig": { +"description": "CheckConsumerConfig validates the consumer network and project for potential PSC connection creation. This method performs several checks, including: - Validating the existence and permissions of the service class. - Ensuring the consumer network exists and is accessible. - Verifying XPN relationships if applicable. - Checking for compatible IP versions between the consumer network and the requested version. This method performs a dynamic IAM check for the `networkconnectivity.serviceClasses.use` permission on the service class resource in the Prepare phase.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:checkConsumerConfig", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.checkConsumerConfig", +"parameterOrder": [ +"location" +], +"parameters": { +"location": { +"description": "Required. The location resource path. Example: - projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+location}:checkConsumerConfig", +"request": { +"$ref": "CheckConsumerConfigRequest" +}, +"response": { +"$ref": "CheckConsumerConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"automatedDnsRecords": { +"methods": { +"create": { +"description": "Creates a new AutomatedDnsRecord in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/automatedDnsRecords", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.automatedDnsRecords.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"automatedDnsRecordId": { +"description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/automatedDnsRecords/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.", +"location": "query", +"type": "string" +}, +"insertMode": { +"description": "Optional. The insert mode when creating AutomatedDnsRecord.", +"enum": [ +"INSERT_MODE_UNSPECIFIED", +"FAIL_IF_EXISTS", +"OVERWRITE" +], +"enumDescriptions": [ +"An invalid insert mode as the default case.", +"Fail the request if the record already exists in cloud DNS.", +"Overwrite the existing record in cloud DNS." +], +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name of the AutomatedDnsRecord. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/automatedDnsRecords", +"request": { +"$ref": "AutomatedDnsRecord" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single AutomatedDnsRecord.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/automatedDnsRecords/{automatedDnsRecordsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.automatedDnsRecords.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"deleteMode": { +"description": "Optional. Delete mode when deleting AutomatedDnsRecord. If set to DEPROGRAM, the record will be deprogrammed in Cloud DNS. If set to SKIP_DEPROGRAMMING, the record will not be deprogrammed in Cloud DNS.", +"enum": [ +"DELETE_MODE_UNSPECIFIED", +"DEPROGRAM", +"SKIP_DEPROGRAMMING" +], +"enumDescriptions": [ +"An invalid delete mode as the default case.", +"Deprogram the record in Cloud DNS.", +"Skip deprogramming the record in Cloud DNS." +], +"location": "query", +"type": "string" +}, +"etag": { +"description": "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.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the AutomatedDnsRecord to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/automatedDnsRecords/[^/]+$", +"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 AutomatedDnsRecord.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/automatedDnsRecords/{automatedDnsRecordsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.automatedDnsRecords.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the AutomatedDnsRecord to get. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/automatedDnsRecords/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "AutomatedDnsRecord" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists AutomatedDnsRecords in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/automatedDnsRecords", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.automatedDnsRecords.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/automatedDnsRecords", +"response": { +"$ref": "ListAutomatedDnsRecordsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"global": { +"resources": { +"hubs": { +"methods": { +"acceptSpoke": { +"description": "Accepts a proposal to attach a Network Connectivity Center spoke to a hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:acceptSpoke", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.acceptSpoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub into which to accept the spoke.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:acceptSpoke", +"request": { +"$ref": "AcceptHubSpokeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"acceptSpokeUpdate": { +"description": "Accepts a proposal to update a Network Connectivity Center spoke in a hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:acceptSpokeUpdate", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.acceptSpokeUpdate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub to accept spoke update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:acceptSpokeUpdate", +"request": { +"$ref": "AcceptSpokeUpdateRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new Network Connectivity Center hub in the specified project.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hubId": { +"description": "Required. A unique identifier for the hub.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/hubs", +"request": { +"$ref": "Hub" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Network Connectivity Center hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.global.hubs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Network Connectivity Center hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Hub" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Network Connectivity Center hubs associated with a given project.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/hubs", +"response": { +"$ref": "ListHubsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listSpokes": { +"description": "Lists the Network Connectivity Center spokes associated with a specified hub and location. The list includes both spokes that are attached to the hub and spokes that have been proposed but not yet accepted.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:listSpokes", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.listSpokes", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the hub.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Sort the results by name or create_time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"spokeLocations": { +"description": "A list of locations. Specify one of the following: `[global]`, a single region (for example, `[us-central1]`), or a combination of values (for example, `[global, us-central1, us-west1]`). If the spoke_locations field is populated, the list of results includes only spokes in the specified location. If the spoke_locations field is not populated, the list of results includes spokes in all locations.", +"location": "query", +"repeated": true, +"type": "string" +}, +"view": { +"description": "The view of the spoke to return. The view that you use determines which spoke fields are included in the response.", +"enum": [ +"SPOKE_VIEW_UNSPECIFIED", +"BASIC", +"DETAILED" +], +"enumDescriptions": [ +"The spoke view is unspecified. When the spoke view is unspecified, the API returns the same fields as the `BASIC` view.", +"Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`, and `spoke_type`. This is the default value.", +"Includes all spoke fields except `labels`. You can use the `DETAILED` view only when you set the `spoke_locations` field to `[global]`." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listSpokes", +"response": { +"$ref": "ListHubSpokesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the description and/or labels of a Network Connectivity Center hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.global.hubs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. In the case of an update to an existing hub, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Hub" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"queryStatus": { +"description": "Query the Private Service Connect propagation status of a Network Connectivity Center hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:queryStatus", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.queryStatus", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "Optional. An expression that filters the list of results. The filter can be used to filter the results by the following fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` * `psc_propagation_status.message`", +"location": "query", +"type": "string" +}, +"groupBy": { +"description": "Optional. Aggregate the results by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the hub.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort the results in ascending order by the specified fields. A comma-separated list of any of these fields: * `psc_propagation_status.source_spoke` * `psc_propagation_status.source_group` * `psc_propagation_status.source_forwarding_rule` * `psc_propagation_status.target_spoke` * `psc_propagation_status.target_group` * `psc_propagation_status.code` If `group_by` is set, the value of the `order_by` field must be the same as or a subset of the `group_by` field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:queryStatus", +"response": { +"$ref": "QueryHubStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rejectSpoke": { +"description": "Rejects a Network Connectivity Center spoke from being attached to a hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer able to connect to other spokes that are attached to the hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:rejectSpoke", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.rejectSpoke", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub from which to reject the spoke.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rejectSpoke", +"request": { +"$ref": "RejectHubSpokeRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rejectSpokeUpdate": { +"description": "Rejects a proposal to update a Network Connectivity Center spoke in a hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:rejectSpokeUpdate", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.rejectSpokeUpdate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the hub to reject spoke update.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rejectSpokeUpdate", +"request": { +"$ref": "RejectSpokeUpdateRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"groups": { +"methods": { +"get": { +"description": "Gets details about a Network Connectivity Center group.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.groups.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the route table resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Group" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.groups.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/hubs/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists groups in a given hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.groups.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/groups", +"response": { +"$ref": "ListGroupsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a Network Connectivity Center group.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.global.hubs.groups.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Group" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.groups.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/global/hubs/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.groups.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/global/hubs/[^/]+/groups/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"routeTables": { +"methods": { +"get": { +"description": "Gets details about a Network Connectivity Center route table.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/routeTables/{routeTablesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.routeTables.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the route table resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/routeTables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "RouteTable" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists route tables in a given hub.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/routeTables", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.routeTables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/routeTables", +"response": { +"$ref": "ListRouteTablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"routes": { +"methods": { +"get": { +"description": "Gets details about the specified route.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/routeTables/{routeTablesId}/routes/{routesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.routeTables.routes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the route resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/routeTables/[^/]+/routes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Route" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists routes in a given route table.", +"flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/routeTables/{routeTablesId}/routes", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.routeTables.routes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/routeTables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/routes", +"response": { +"$ref": "ListRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"policyBasedRoutes": { +"methods": { +"create": { +"description": "Creates a new policy-based route in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource's name of the PolicyBasedRoute.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"policyBasedRouteId": { +"description": "Required. Unique id for the policy-based route to create. Provided by the client when the resource is created. The name must comply with https://google.aip.dev/122#resource-id-segments. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([a-z0-9-]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/policyBasedRoutes", +"request": { +"$ref": "PolicyBasedRoute" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single policy-based route.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the policy-based route resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$", +"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 knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"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 policy-based route.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the PolicyBasedRoute resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/policyBasedRoutes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PolicyBasedRoute" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/policyBasedRoutes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists policy-based routes in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/policyBasedRoutes", +"response": { +"$ref": "ListPolicyBasedRoutesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.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/global/policyBasedRoutes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/global/policyBasedRoutes/{policyBasedRoutesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.policyBasedRoutes.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/global/policyBasedRoutes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"internalRanges": { +"methods": { +"create": { +"description": "Creates a new internal range in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"internalRangeId": { +"description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name of the internal range.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/internalRanges", +"request": { +"$ref": "InternalRange" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single internal range.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.internalRanges.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the internal range to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"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 internal range.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the InternalRange to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "InternalRange" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists internal ranges in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/internalRanges", +"response": { +"$ref": "ListInternalRangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single internal range.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.internalRanges.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"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 InternalRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "InternalRange" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"multicloudDataTransferConfigs": { +"methods": { +"create": { +"description": "Creates a `MulticloudDataTransferConfig` resource in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"multicloudDataTransferConfigId": { +"description": "Required. The ID to use for the `MulticloudDataTransferConfig` resource, which becomes the final component of the `MulticloudDataTransferConfig` resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/multicloudDataTransferConfigs", +"request": { +"$ref": "MulticloudDataTransferConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `MulticloudDataTransferConfig` resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the `MulticloudDataTransferConfig` resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a `MulticloudDataTransferConfig` resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `MulticloudDataTransferConfig` resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MulticloudDataTransferConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `MulticloudDataTransferConfig` resources in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sort order of the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results listed per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If `true`, allows partial responses for multi-regional aggregated list requests.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/multicloudDataTransferConfigs", +"response": { +"$ref": "ListMulticloudDataTransferConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `MulticloudDataTransferConfig` resource in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `MulticloudDataTransferConfig` resources. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. `FieldMask` is used to specify the fields in the `MulticloudDataTransferConfig` resource to be overwritten by the update. The fields specified in `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "MulticloudDataTransferConfig" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"destinations": { +"methods": { +"create": { +"description": "Creates a `Destination` resource in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}/destinations", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"destinationId": { +"description": "Required. The ID to use for the `Destination` resource, which becomes the final component of the `Destination` resource name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. This prevents clients from accidentally creating duplicate `Destination` resources. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/destinations", +"request": { +"$ref": "Destination" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a `Destination` resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}/destinations/{destinationsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "Optional. The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the `Destination` resource to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+/destinations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the details of a `Destination` resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}/destinations/{destinationsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the `Destination` resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+/destinations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Destination" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the `Destination` resources in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}/destinations", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. The sort order of the results.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results listed per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"returnPartialSuccess": { +"description": "Optional. If `true`, allow partial responses for multi-regional aggregated list requests.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/destinations", +"response": { +"$ref": "ListDestinationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a `Destination` resource in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferConfigs/{multicloudDataTransferConfigsId}/destinations/{destinationsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferConfigs/[^/]+/destinations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server waits 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, can ignore the second request. The request ID must be a valid UUID with the exception that zero UUID (00000000-0000-0000-0000-000000000000) isn't supported.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Optional. `FieldMask is used to specify the fields to be overwritten in the `Destination` resource by the update. The fields specified in `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't specify a mask, all fields are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Destination" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"multicloudDataTransferSupportedServices": { +"methods": { +"get": { +"description": "Gets the details of a service that is supported for Data Transfer Essentials.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferSupportedServices/{multicloudDataTransferSupportedServicesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the service.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/multicloudDataTransferSupportedServices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "MulticloudDataTransferSupportedService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the services in the project for a region that are supported for Data Transfer Essentials.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/multicloudDataTransferSupportedServices", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results listed per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/multicloudDataTransferSupportedServices", +"response": { +"$ref": "ListMulticloudDataTransferSupportedServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"regionalEndpoints": { +"methods": { +"create": { +"description": "Creates a new RegionalEndpoint in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalEndpoints", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.regionalEndpoints.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource's name of the RegionalEndpoint.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"regionalEndpointId": { +"description": "Required. Unique id of the Regional Endpoint to be created. @pattern: ^[-a-z0-9](?:[-a-z0-9]{0,44})[a-z0-9]$", +"location": "query", +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/regionalEndpoints", +"request": { +"$ref": "RegionalEndpoint" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single RegionalEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalEndpoints/{regionalEndpointsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.regionalEndpoints.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the RegionalEndpoint to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/regionalEndpoints/[^/]+$", +"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 knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"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 RegionalEndpoint.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalEndpoints/{regionalEndpointsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.regionalEndpoints.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the RegionalEndpoint resource to get. Format: `projects/{project}/locations/{location}/regionalEndpoints/{regional_endpoint}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/regionalEndpoints/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "RegionalEndpoint" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists RegionalEndpoints in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalEndpoints", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.regionalEndpoints.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "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": "A page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name of the RegionalEndpoint.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/regionalEndpoints", +"response": { +"$ref": "ListRegionalEndpointsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceClasses": { +"methods": { +"delete": { +"description": "Deletes a single ServiceClass.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.serviceClasses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "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.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the ServiceClass to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", +"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 ServiceClass.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceClasses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ServiceClass to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServiceClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceClasses.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/serviceClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ServiceClasses in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceClasses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/serviceClasses", +"response": { +"$ref": "ListServiceClassesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ServiceClass.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.serviceClasses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "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", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$", +"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 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.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ServiceClass" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceClasses.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/[^/]+/serviceClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceClasses/{serviceClassesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceClasses.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/[^/]+/serviceClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceConnectionMaps": { +"methods": { +"create": { +"description": "Creates a new ServiceConnectionMap in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1", +"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" +}, +"serviceConnectionMapId": { +"description": "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.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionMaps", +"request": { +"$ref": "ServiceConnectionMap" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ServiceConnectionMap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "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.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the ServiceConnectionMap to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", +"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 ServiceConnectionMap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ServiceConnectionMap to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServiceConnectionMap" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/serviceConnectionMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ServiceConnectionMaps in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionMaps", +"response": { +"$ref": "ListServiceConnectionMapsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ServiceConnectionMap.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "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", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$", +"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 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.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ServiceConnectionMap" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.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/[^/]+/serviceConnectionMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionMaps/{serviceConnectionMapsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionMaps.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/[^/]+/serviceConnectionMaps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceConnectionPolicies": { +"methods": { +"create": { +"description": "Creates a new ServiceConnectionPolicy in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"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, \u201c10.0.0.0/8\u201d is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork.", +"location": "query", +"repeated": true, +"type": "string" +}, +"autoSubnetworkConfig.ipStack": { +"description": "Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used.", +"enum": [ +"SUBNET_IP_STACK_UNSPECIFIED", +"IPV4_ONLY", +"IPV6_ONLY", +"IPV4_IPV6" +], +"enumDescriptions": [ +"Default value. Will create an IPV4_ONLY subnetwork by default.", +"Will create an IPV4_ONLY subnetwork.", +"Will create an IPV6_ONLY subnetwork.", +"Will use IPv4 and IPv6 (dual stack)." +], +"location": "query", +"type": "string" +}, +"autoSubnetworkConfig.prefixLength": { +"description": "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.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"parent": { +"description": "Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1", +"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" +}, +"serviceConnectionPolicyId": { +"description": "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.", +"location": "query", +"type": "string" +}, +"subnetworkMode": { +"description": "Optional. If this field is not set, USER_PROVIDED is the inferred value to use.", +"enum": [ +"SUBNETWORK_MODE_UNSPECIFIED", +"USER_PROVIDED", +"AUTO_CREATED" +], +"enumDescriptions": [ +"The default value if the enum is unset. Note user is not allowed to set the subnetwork mode to this value.", +"Subnetworks are provided from the user input.", +"Subnetwork list is empty from the user input. A subnetwork will be created automatically." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionPolicies", +"request": { +"$ref": "ServiceConnectionPolicy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ServiceConnectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "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.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the ServiceConnectionPolicy to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", +"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 ServiceConnectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ServiceConnectionPolicy to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServiceConnectionPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/serviceConnectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ServiceConnectionPolicies in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionPolicies", +"response": { +"$ref": "ListServiceConnectionPoliciesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single ServiceConnectionPolicy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "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", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$", +"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 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.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ServiceConnectionPolicy" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.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/[^/]+/serviceConnectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionPolicies/{serviceConnectionPoliciesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionPolicies.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/[^/]+/serviceConnectionPolicies/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"serviceConnectionTokens": { +"methods": { +"create": { +"description": "Creates a new ServiceConnectionToken in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.serviceConnectionTokens.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1", +"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" +}, +"serviceConnectionTokenId": { +"description": "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.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionTokens", +"request": { +"$ref": "ServiceConnectionToken" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ServiceConnectionToken.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens/{serviceConnectionTokensId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.serviceConnectionTokens.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"etag": { +"description": "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.", +"location": "query", +"type": "string" +}, +"name": { +"description": "Required. The name of the ServiceConnectionToken to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$", +"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 ServiceConnectionToken.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens/{serviceConnectionTokensId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionTokens.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the ServiceConnectionToken to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ServiceConnectionToken" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ServiceConnectionTokens in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceConnectionTokens", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.serviceConnectionTokens.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name. ex. projects/123/locations/us-east1", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/serviceConnectionTokens", +"response": { +"$ref": "ListServiceConnectionTokensResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"spokes": { +"methods": { +"create": { +"description": "Creates a Network Connectivity Center spoke.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"spokeId": { +"description": "Required. Unique id for the spoke to create.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/spokes", +"request": { +"$ref": "Spoke" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Network Connectivity Center spoke.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.spokes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the spoke to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Network Connectivity Center spoke.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the spoke resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Spoke" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Network Connectivity Center spokes in a specified project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "An expression that filters the list of results.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return per page.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/spokes", +"response": { +"$ref": "ListSpokesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a Network Connectivity Center spoke.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.spokes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "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.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Spoke" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://networkconnectivity.googleapis.com/", +"schemas": { +"AcceptHubSpokeRequest": { +"description": "The request for HubService.AcceptHubSpoke.", +"id": "AcceptHubSpokeRequest", +"properties": { +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"spokeUri": { +"description": "Required. The URI of the spoke to accept into the hub.", +"type": "string" +} +}, +"type": "object" +}, +"AcceptHubSpokeResponse": { +"description": "The response for HubService.AcceptHubSpoke.", +"id": "AcceptHubSpokeResponse", +"properties": { +"spoke": { +"$ref": "Spoke", +"description": "The spoke that was operated on." +} +}, +"type": "object" +}, +"AcceptSpokeUpdateRequest": { +"description": "The request for HubService.AcceptSpokeUpdate.", +"id": "AcceptSpokeUpdateRequest", +"properties": { +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"spokeEtag": { +"description": "Required. The etag of the spoke to accept update.", +"type": "string" +}, +"spokeUri": { +"description": "Required. The URI of the spoke to accept update.", +"type": "string" +} +}, +"type": "object" +}, +"AllocationOptions": { +"description": "Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.", +"id": "AllocationOptions", +"properties": { +"allocationStrategy": { +"description": "Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.", +"enum": [ +"ALLOCATION_STRATEGY_UNSPECIFIED", +"RANDOM", +"FIRST_AVAILABLE", +"RANDOM_FIRST_N_AVAILABLE", +"FIRST_SMALLEST_FITTING" +], +"enumDescriptions": [ +"Unspecified is the only valid option when the range is specified explicitly by ip_cidr_range field. Otherwise unspefified means using the default strategy.", +"Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space.", +"Pick the first available address range. This strategy is deterministic and the result is easy to predict.", +"Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced.", +"Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space." +], +"type": "string" +}, +"firstAvailableRangesLookupSize": { +"description": "Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"AutoAccept": { +"description": "The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.", +"id": "AutoAccept", +"properties": { +"autoAcceptProjects": { +"description": "Optional. A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AutoCreatedSubnetworkInfo": { +"description": "Information for the automatically created subnetwork and its associated IR.", +"id": "AutoCreatedSubnetworkInfo", +"properties": { +"delinked": { +"description": "Output only. Indicates whether the subnetwork is delinked from the Service Connection Policy. Only set if the subnetwork mode is AUTO_CREATED during creation.", +"readOnly": true, +"type": "boolean" +}, +"internalRange": { +"description": "Output only. URI of the automatically created Internal Range. Only set if the subnetwork mode is AUTO_CREATED during creation.", +"readOnly": true, +"type": "string" +}, +"internalRangeRef": { +"description": "Output only. URI of the automatically created Internal Range reference. Only set if the subnetwork mode is AUTO_CREATED during creation.", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "Output only. URI of the automatically created subnetwork. Only set if the subnetwork mode is AUTO_CREATED during creation.", +"readOnly": true, +"type": "string" +}, +"subnetworkRef": { +"description": "Output only. URI of the automatically created subnetwork reference. Only set if the subnetwork mode is AUTO_CREATED during creation.", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"AutomatedDnsRecord": { +"description": "Represents a DNS record managed by the AutomatedDnsRecord API.", +"id": "AutomatedDnsRecord", +"properties": { +"consumerNetwork": { +"description": "Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: \"projects/{projectNumOrId}/global/networks/{networkName}\".", +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp of when the record was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creationMode": { +"description": "Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.", +"enum": [ +"CREATION_MODE_UNSPECIFIED", +"CONSUMER_API", +"SERVICE_CONNECTION_MAP" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The record was created through the AutomatedDnsRecord CCFE consumer API.", +"The record was created by a ServiceConnectionMap. Its lifecycle is managed by that ServiceConnectionMap." +], +"type": "string" +}, +"currentConfig": { +"$ref": "Config", +"description": "Output only. The current settings for this record as identified by (`hostname`, `dns_suffix`, `type`) in Cloud DNS. The `current_config` field reflects the actual settings of the DNS record in Cloud DNS based on the `hostname`, `dns_suffix`, and `type`. * **Absence:** If `current_config` is unset, it means a DNS record with the specified `hostname`, `dns_suffix`, and `type` does not currently exist in Cloud DNS. This could be because the `AutomatedDnsRecord` has never been successfully programmed, has been deleted, or there was an error during provisioning. * **Presence:** If `current_config` is present: * It can be different from the `original_config`. This can happen due to several reasons: * Out-of-band changes: A consumer might have directly modified the DNS record in Cloud DNS. * `OVERWRITE` operations from other `AutomatedDnsRecord` resources: Another `AutomatedDnsRecord` with the same identifying attributes (`hostname`, `dns_suffix`, `type`) but a different configuration might have overwritten the record using `insert_mode: OVERWRITE`. Therefore, the presence of `current_config` indicates that a corresponding DNS record exists, but its values (TTL and RRData) might not always align with the `original_config` of the AutomatedDnsRecord.", +"readOnly": true +}, +"description": { +"description": "A human-readable description of the record.", +"type": "string" +}, +"dnsSuffix": { +"description": "Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: \"example.com.\"", +"type": "string" +}, +"dnsZone": { +"description": "Output only. DnsZone is the DNS zone managed by automation. Format: projects/{project}/managedZones/{managedZone}", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"fqdn": { +"description": "Output only. The FQDN created by combining the hostname and dns suffix. Should include a trailing dot.", +"readOnly": true, +"type": "string" +}, +"hostname": { +"description": "Required. Immutable. The hostname for the DNS record. This value will be prepended to the `dns_suffix` to create the full domain name (FQDN) for the record. For example, if `hostname` is \"corp.db\" and `dns_suffix` is \"example.com.\", the resulting record will be \"corp.db.example.com.\". Should not include a trailing dot.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names", +"type": "string" +}, +"originalConfig": { +"$ref": "Config", +"description": "Required. Immutable. The configuration settings used to create this DNS record. These settings define the desired state of the record as specified by the producer." +}, +"recordType": { +"description": "Required. Immutable. The identifier of a supported record type.", +"enum": [ +"RECORD_TYPE_UNSPECIFIED", +"A", +"AAAA", +"TXT", +"CNAME" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Represents an A record.", +"Represents an AAAA record.", +"Represents a TXT record.", +"Represents a CNAME record." +], +"type": "string" +}, +"serviceClass": { +"description": "Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have `networkconnectivity.serviceclasses.use` IAM permission for the provided service class.", +"type": "string" +}, +"state": { +"description": "Output only. The current operational state of this AutomatedDnsRecord as managed by Service Connectivity Automation.", +"enum": [ +"STATE_UNSPECIFIED", +"PROGRAMMED", +"FAILED_DEPROGRAMMING", +"CREATING", +"DELETING" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The AutomatedDnsRecord has been successfully programmed.", +"A non-recoverable error occurred while attempting to deprogram the DNS record from Cloud DNS during deletion.", +"The AutomatedDnsRecord is being created.", +"The AutomatedDnsRecord is being deleted." +], +"readOnly": true, +"type": "string" +}, +"stateDetails": { +"description": "Output only. A human-readable message providing more context about the current state, such as an error description if the state is `FAILED_DEPROGRAMMING`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The timestamp of when the record was updated.", +"format": "google-datetime", +"readOnly": true, +"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" +}, +"CheckConsumerConfigRequest": { +"description": "Request for CheckConsumerConfig.", +"id": "CheckConsumerConfigRequest", +"properties": { +"consumerNetwork": { +"description": "Required. Full resource name of the consumer network. Example: - projects/{project}/global/networks/{network}.", +"type": "string" +}, +"endpointProject": { +"description": "The project number or ID where the PSC endpoint is to be created.", +"type": "string" +}, +"requestedIpVersion": { +"description": "The requested IP Version", +"enum": [ +"IP_VERSION_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value. We will use IPv4 or IPv6 depending on the IP version of first available subnetwork.", +"Will use IPv4 only.", +"Will use IPv6 only." +], +"type": "string" +}, +"serviceClass": { +"description": "Required. The service class identifier of the producer.", +"type": "string" +} +}, +"type": "object" +}, +"CheckConsumerConfigResponse": { +"description": "Response for CheckConsumerConfig.", +"id": "CheckConsumerConfigResponse", +"properties": { +"errors": { +"description": "List of validation errors. If the list is empty, the consumer config is valid.", +"items": { +"enum": [ +"ERROR_UNSPECIFIED", +"NETWORK_PROJECT_INVALID", +"NETWORK_PROJECT_APIS_NOT_ENABLED", +"NETWORK_INVALID", +"CONNECTION_POLICY_MISSING", +"IP_VERSION_NOT_SUPPORTED", +"NETWORK_PROJECT_SERVICE_AGENT_NOT_FOUND", +"ENDPOINT_PROJECT_INVALID", +"ENDPOINT_PROJECT_API_NOT_ENABLED", +"ENDPOINT_PROJECT_IS_NOT_SERVICE_PROJECT" +], +"enumDescriptions": [ +"An invalid error as the default case.", +"Invalid Network project.", +"Network Connectivity APIs not enabled in network project.", +"Invalid network.", +"No ServiceConnectionPolicy found for this network and ServiceClass.", +"IP version not supported in any of the subnetworks.", +"Service Agent missing for network project.", +"Invalid endpoint project.", +"Network Connectivity API is not enabled in the endpoint project.", +"Endpoint project is not a service project of the network project." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Config": { +"description": "Defines the configuration of a DNS record.", +"id": "Config", +"properties": { +"rrdatas": { +"description": "Required. The list of resource record data strings. The content and format of these strings depend on the AutomatedDnsRecord.type. For many common record types, this list may contain multiple strings. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. Examples: A record: [\"192.0.2.1\"] or [\"192.0.2.1\", \"192.0.2.2\"] TXT record: [\"This is a text record\"] CNAME record: [\"target.example.com.\"] AAAA record: [\"::1\"] or [\"2001:0db8:85a3:0000:0000:8a2e:0370:7334\", \"2001:0db8:85a3:0000:0000:8a2e:0370:7335\"]", +"items": { +"type": "string" +}, +"type": "array" +}, +"ttl": { +"description": "Required. Number of seconds that this DNS record can be cached by resolvers.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ConsumerPscConfig": { +"description": "Allow the producer to specify which consumers can connect to it.", +"id": "ConsumerPscConfig", +"properties": { +"consumerInstanceProject": { +"description": "Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/' Eg. 'projects/consumer-project' or 'projects/1234'", +"type": "string" +}, +"disableGlobalAccess": { +"description": "This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.", +"type": "boolean" +}, +"ipVersion": { +"description": "The requested IP version for the PSC connection.", +"enum": [ +"IP_VERSION_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value. We will use IPv4 or IPv6 depending on the IP version of first available subnetwork.", +"Will use IPv4 only.", +"Will use IPv6 only." +], +"type": "string" +}, +"network": { +"description": "The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.", +"type": "string" +}, +"producerInstanceId": { +"deprecated": true, +"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.", +"type": "string" +}, +"producerInstanceMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Immutable. An immutable map for the producer instance metadata.", +"type": "object" +}, +"project": { +"description": "The consumer project where PSC connections are allowed to be created in.", +"type": "string" +}, +"serviceAttachmentIpAddressMap": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. A map to store mapping between customer vip and target service attachment. This field can be used to specify a static IP address for a PSC connection.", +"type": "object" +}, +"state": { +"description": "Output only. Overall state of PSC Connections management for this consumer psc config.", +"enum": [ +"STATE_UNSPECIFIED", +"VALID", +"CONNECTION_POLICY_MISSING", +"POLICY_LIMIT_REACHED", +"CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED" +], +"enumDescriptions": [ +"Default state, when Connection Map is created initially.", +"Set when policy and map configuration is valid, and their matching can lead to allowing creation of PSC Connections subject to other constraints like connections limit.", +"No Service Connection Policy found for this network and Service Class", +"Service Connection Policy limit reached for this network and Service Class", +"The consumer instance project is not in AllowedGoogleProducersResourceHierarchyLevels of the matching ServiceConnectionPolicy." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConsumerPscConnection": { +"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, +"description": "The most recent error during operating this connection." +}, +"errorInfo": { +"$ref": "GoogleRpcErrorInfo", +"description": "Output only. The error info for the latest error during operating this connection.", +"readOnly": true +}, +"errorType": { +"deprecated": true, +"description": "The error type indicates whether the error is consumer facing, producer facing or system internal.", +"enum": [ +"CONNECTION_ERROR_TYPE_UNSPECIFIED", +"ERROR_INTERNAL", +"ERROR_CONSUMER_SIDE", +"ERROR_PRODUCER_SIDE" +], +"enumDescriptions": [ +"An invalid error type as the default case.", +"The error is due to Service Automation system internal.", +"The error is due to the setup on consumer side.", +"The error is due to the setup on producer side." +], +"type": "string" +}, +"forwardingRule": { +"description": "The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.", +"type": "string" +}, +"gceOperation": { +"description": "The last Compute Engine operation to setup PSC connection.", +"type": "string" +}, +"ip": { +"description": "The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.", +"type": "string" +}, +"ipVersion": { +"description": "The requested IP version for the PSC connection.", +"enum": [ +"IP_VERSION_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value. We will use IPv4 or IPv6 depending on the IP version of first available subnetwork.", +"Will use IPv4 only.", +"Will use IPv6 only." +], +"type": "string" +}, +"network": { +"description": "The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).", +"type": "string" +}, +"producerInstanceId": { +"deprecated": true, +"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.", +"type": "string" +}, +"producerInstanceMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Immutable. An immutable map for the producer instance metadata.", +"type": "object" +}, +"project": { +"description": "The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.", +"type": "string" +}, +"pscConnectionId": { +"description": "The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.", +"type": "string" +}, +"selectedSubnetwork": { +"description": "Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.", +"readOnly": true, +"type": "string" +}, +"serviceAttachmentUri": { +"description": "The URI of a service attachment which is the target of the PSC connection.", +"type": "string" +}, +"state": { +"description": "The state of the PSC connection.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"CREATING", +"DELETING", +"CREATE_REPAIRING", +"DELETE_REPAIRING" +], +"enumDescriptions": [ +"An invalid state as the default case.", +"The connection has been created successfully. However, for the up-to-date connection status, please use the service attachment's \"ConnectedEndpoint.status\" as the source of truth.", +"The connection is not functional since some resources on the connection fail to be created.", +"The connection is being created.", +"The connection is being deleted.", +"The connection is being repaired to complete creation.", +"The connection is being repaired to complete deletion." +], +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "The `Destination` resource. It specifies the IP prefix and the associated autonomous system numbers (ASN) that you want to include in a `MulticloudDataTransferConfig` resource.", +"id": "Destination", +"properties": { +"createTime": { +"description": "Output only. Time when the `Destination` resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this resource.", +"type": "string" +}, +"endpoints": { +"description": "Required. Unordered list. The list of `DestinationEndpoint` resources configured for the IP prefix.", +"items": { +"$ref": "DestinationEndpoint" +}, +"type": "array" +}, +"etag": { +"description": "The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.", +"type": "string" +}, +"ipPrefix": { +"description": "Required. Immutable. The IP prefix that represents your workload on another CSP.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.", +"type": "string" +}, +"stateTimeline": { +"$ref": "StateTimeline", +"description": "Output only. The timeline of the expected `Destination` states or the current rest state. If a state change is expected, the value is `ADDING`, `DELETING` or `SUSPENDING`, depending on the action specified. Example: \"state_timeline\": { \"states\": [ { // The time when the `Destination` resource will be activated. \"effectiveTime\": \"2024-12-01T08:00:00Z\", \"state\": \"ADDING\" }, { // The time when the `Destination` resource will be suspended. \"effectiveTime\": \"2024-12-01T20:00:00Z\", \"state\": \"SUSPENDING\" } ] }", +"readOnly": true +}, +"uid": { +"description": "Output only. The Google-generated unique ID for the `Destination` resource. This value is unique across all `Destination` resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the `Destination` resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DestinationEndpoint": { +"description": "The metadata for a `DestinationEndpoint` resource.", +"id": "DestinationEndpoint", +"properties": { +"asn": { +"description": "Required. The ASN of the remote IP prefix.", +"format": "int64", +"type": "string" +}, +"csp": { +"description": "Required. The CSP of the remote IP prefix.", +"type": "string" +}, +"state": { +"description": "Output only. The state of the `DestinationEndpoint` resource.", +"enum": [ +"STATE_UNSPECIFIED", +"VALID", +"INVALID" +], +"enumDescriptions": [ +"An invalid state, which is the default case.", +"The `DestinationEndpoint` resource is valid.", +"The `DestinationEndpoint` resource is invalid." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the `DestinationEndpoint` resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"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", +"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" +}, +"Filter": { +"description": "Filter matches L4 traffic.", +"id": "Filter", +"properties": { +"destRange": { +"description": "Optional. The destination IP range of outgoing packets that this policy-based route applies to. Default is \"0.0.0.0/0\" if protocol version is IPv4 and \"::/0\" if protocol version is IPv6.", +"type": "string" +}, +"ipProtocol": { +"description": "Optional. The IP protocol that this policy-based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.", +"type": "string" +}, +"protocolVersion": { +"description": "Required. Internet protocol versions this policy-based route applies to. IPV4 and IPV6 is supported.", +"enum": [ +"PROTOCOL_VERSION_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value.", +"The PBR is for IPv4 internet protocol traffic.", +"The PBR is for IPv6 internet protocol traffic." +], +"type": "string" +}, +"srcRange": { +"description": "Optional. The source IP range of outgoing packets that this policy-based route applies to. Default is \"0.0.0.0/0\" if protocol version is IPv4 and \"::/0\" if protocol version is IPv6.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcErrorInfo": { +"description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", +"id": "GoogleRpcErrorInfo", +"properties": { +"domain": { +"description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", +"type": "object" +}, +"reason": { +"description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Group": { +"description": "A group represents a subset of spokes attached to a hub.", +"id": "Group", +"properties": { +"autoAccept": { +"$ref": "AutoAccept", +"description": "Optional. The auto-accept setting for this group." +}, +"createTime": { +"description": "Output only. The time the group was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. The description of the group.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", +"type": "object" +}, +"name": { +"description": "Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`", +"type": "string" +}, +"routeTable": { +"description": "Output only. The name of the route table that corresponds to this group. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current lifecycle state of this group.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The Google-generated UUID for the group. This value is unique across all group resources. If a group is deleted and another with the same name is created, the new route table is assigned a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the group was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Hub": { +"description": "A Network Connectivity Center hub is a global management resource to which you attach spokes. A single hub can contain spokes from multiple regions. However, if any of a hub's spokes use the site-to-site data transfer feature, the resources associated with those spokes must all be in the same VPC network. Spokes that do not use site-to-site data transfer can be associated with any VPC network in your project.", +"id": "Hub", +"properties": { +"createTime": { +"description": "Output only. The time the hub was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of the hub.", +"type": "string" +}, +"exportPsc": { +"description": "Optional. Whether Private Service Connect connection propagation is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", +"type": "object" +}, +"name": { +"description": "Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`", +"type": "string" +}, +"policyMode": { +"description": "Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET.", +"enum": [ +"POLICY_MODE_UNSPECIFIED", +"PRESET" +], +"enumDescriptions": [ +"Policy mode is unspecified. It defaults to PRESET with preset_topology = MESH.", +"Hub uses one of the preset topologies." +], +"type": "string" +}, +"presetTopology": { +"description": "Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.", +"enum": [ +"PRESET_TOPOLOGY_UNSPECIFIED", +"MESH", +"STAR" +], +"enumDescriptions": [ +"Preset topology is unspecified. When policy_mode = PRESET, it defaults to MESH.", +"Mesh topology is implemented. Group `default` is automatically created. All spokes in the hub are added to group `default`.", +"Star topology is implemented. Two groups, `center` and `edge`, are automatically created along with hub creation. Spokes have to join one of the groups during creation." +], +"type": "string" +}, +"routeTables": { +"description": "Output only. The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"routingVpcs": { +"description": "Output only. The VPC networks associated with this hub's spokes. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.", +"items": { +"$ref": "RoutingVPC" +}, +"readOnly": true, +"type": "array" +}, +"spokeSummary": { +"$ref": "SpokeSummary", +"description": "Output only. A summary of the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.", +"readOnly": true +}, +"state": { +"description": "Output only. The current lifecycle state of this hub.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uniqueId": { +"description": "Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the hub was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"HubStatusEntry": { +"description": "A hub status entry represents the status of a set of propagated Private Service Connect connections grouped by certain fields.", +"id": "HubStatusEntry", +"properties": { +"count": { +"description": "The number of propagated Private Service Connect connections with this status. If the `group_by` field was not set in the request message, the value of this field is 1.", +"format": "int32", +"type": "integer" +}, +"groupBy": { +"description": "The fields that this entry is grouped by. This has the same value as the `group_by` field in the request message.", +"type": "string" +}, +"pscPropagationStatus": { +"$ref": "PscPropagationStatus", +"description": "The Private Service Connect propagation status." +} +}, +"type": "object" +}, +"InterconnectAttachment": { +"description": "InterconnectAttachment that this route applies to.", +"id": "InterconnectAttachment", +"properties": { +"region": { +"description": "Optional. Cloud region to install this policy-based route on interconnect attachment. Use `all` to install it on all interconnect attachments.", +"type": "string" +} +}, +"type": "object" +}, +"InternalRange": { +"description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", +"id": "InternalRange", +"properties": { +"allocationOptions": { +"$ref": "AllocationOptions", +"description": "Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length)." +}, +"createTime": { +"description": "Output only. Time when the internal range was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this resource.", +"type": "string" +}, +"excludeCidrRanges": { +"description": "Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks", +"items": { +"type": "string" +}, +"type": "array" +}, +"immutable": { +"description": "Optional. Immutable ranges cannot have their fields modified, except for labels and description.", +"type": "boolean" +}, +"ipCidrRange": { +"description": "Optional. The IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"migration": { +"$ref": "Migration", +"description": "Optional. Must be present if usage is set to FOR_MIGRATION." +}, +"name": { +"description": "Identifier. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", +"type": "string" +}, +"network": { +"description": "Immutable. The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network}", +"type": "string" +}, +"overlaps": { +"description": "Optional. Types of resources that are allowed to overlap with the current internal range.", +"items": { +"enum": [ +"OVERLAP_UNSPECIFIED", +"OVERLAP_ROUTE_RANGE", +"OVERLAP_EXISTING_SUBNET_RANGE" +], +"enumDescriptions": [ +"No overlap overrides.", +"Allow creation of static routes more specific that the current internal range.", +"Allow creation of internal ranges that overlap with existing subnets." +], +"type": "string" +}, +"type": "array" +}, +"peering": { +"description": "Optional. The type of peering set for this internal range.", +"enum": [ +"PEERING_UNSPECIFIED", +"FOR_SELF", +"FOR_PEER", +"NOT_SHARED" +], +"enumDescriptions": [ +"If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", +"This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", +"This behavior can be set when the internal range is being reserved for usage by peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", +"This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created, but not shared with peers. In a sense, it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." +], +"type": "string" +}, +"prefixLength": { +"description": "Optional. An alternate to ip_cidr_range. Can be set when trying to create an IPv4 reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and both fields must match. In other words, with IPv6 this field only works as a redundant parameter.", +"format": "int32", +"type": "integer" +}, +"targetCidrRange": { +"description": "Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the [\"10.0.0.0/8\", \"172.16.0.0/12\", \"192.168.0.0/16\"] address space (for auto-mode networks, the \"10.0.0.0/9\" range is used instead of \"10.0.0.0/8\"). This can be used to target the search in other rfc-1918 address spaces like \"172.16.0.0/12\" and \"192.168.0.0/16\" or non-rfc-1918 address spaces used in the VPC.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time when the internal range was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"usage": { +"description": "Optional. The type of usage set for this InternalRange.", +"enum": [ +"USAGE_UNSPECIFIED", +"FOR_VPC", +"EXTERNAL_TO_VPC", +"FOR_MIGRATION" +], +"enumDescriptions": [ +"Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", +"A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", +"Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases, like for example, usage on-prem, with dynamic route announcements via interconnect.", +"Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION, the peering value has to be set to FOR_SELF or default to FOR_SELF when unset." +], +"type": "string" +}, +"users": { +"description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range referred to. Can be empty.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"LinkedInterconnectAttachments": { +"description": "A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.", +"id": "LinkedInterconnectAttachments", +"properties": { +"includeImportRanges": { +"description": "Optional. Hub routes fully encompassed by include import ranges are included during import from hub.", +"items": { +"type": "string" +}, +"type": "array" +}, +"siteToSiteDataTransfer": { +"description": "A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"uris": { +"description": "The URIs of linked interconnect attachment resources", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetwork": { +"description": "Output only. The VPC network where these VLAN attachments are located.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkedProducerVpcNetwork": { +"id": "LinkedProducerVpcNetwork", +"properties": { +"excludeExportRanges": { +"description": "Optional. IP ranges encompassing the subnets to be excluded from peering.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeExportRanges": { +"description": "Optional. IP ranges allowed to be included from peering.", +"items": { +"type": "string" +}, +"type": "array" +}, +"network": { +"description": "Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.", +"type": "string" +}, +"peering": { +"description": "Immutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.", +"type": "string" +}, +"producerNetwork": { +"description": "Output only. The URI of the Producer VPC.", +"readOnly": true, +"type": "string" +}, +"proposedExcludeExportRanges": { +"description": "Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"proposedIncludeExportRanges": { +"description": "Output only. The proposed include export IP ranges waiting for hub administrator's approval.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"serviceConsumerVpcSpoke": { +"description": "Output only. The Service Consumer Network spoke.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkedRouterApplianceInstances": { +"description": "A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.", +"id": "LinkedRouterApplianceInstances", +"properties": { +"includeImportRanges": { +"description": "Optional. Hub routes fully encompassed by include import ranges are included during import from hub.", +"items": { +"type": "string" +}, +"type": "array" +}, +"instances": { +"description": "The list of router appliance instances.", +"items": { +"$ref": "RouterApplianceInstance" +}, +"type": "array" +}, +"siteToSiteDataTransfer": { +"description": "A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"vpcNetwork": { +"description": "Output only. The VPC network where these router appliance instances are located.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LinkedVpcNetwork": { +"description": "An existing VPC network.", +"id": "LinkedVpcNetwork", +"properties": { +"excludeExportRanges": { +"description": "Optional. IP ranges encompassing the subnets to be excluded from peering.", +"items": { +"type": "string" +}, +"type": "array" +}, +"includeExportRanges": { +"description": "Optional. IP ranges allowed to be included from peering.", +"items": { +"type": "string" +}, +"type": "array" +}, +"producerVpcSpokes": { +"description": "Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke's backing VPC network. Because they are directly connected through VPC peering, NCC export filters do not apply between the service consumer VPC spoke and any of its producer VPC spokes. This VPC spoke cannot be deleted as long as any of these producer VPC spokes are connected to the NCC Hub.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"proposedExcludeExportRanges": { +"description": "Output only. The proposed exclude export IP ranges waiting for hub administrator's approval.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"proposedIncludeExportRanges": { +"description": "Output only. The proposed include export IP ranges waiting for hub administrator's approval.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"uri": { +"description": "Required. The URI of the VPC network resource.", +"type": "string" +} +}, +"type": "object" +}, +"LinkedVpnTunnels": { +"description": "A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.", +"id": "LinkedVpnTunnels", +"properties": { +"includeImportRanges": { +"description": "Optional. Hub routes fully encompassed by include import ranges are included during import from hub.", +"items": { +"type": "string" +}, +"type": "array" +}, +"siteToSiteDataTransfer": { +"description": "A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"uris": { +"description": "The URIs of linked VPN tunnel resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"vpcNetwork": { +"description": "Output only. The VPC network where these VPN tunnels are located.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListAutomatedDnsRecordsResponse": { +"description": "Response for ListAutomatedDnsRecords.", +"id": "ListAutomatedDnsRecordsResponse", +"properties": { +"automatedDnsRecords": { +"description": "AutomatedDnsRecords to be returned.", +"items": { +"$ref": "AutomatedDnsRecord" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDestinationsResponse": { +"description": "Response message to list `Destination` resources.", +"id": "ListDestinationsResponse", +"properties": { +"destinations": { +"description": "The list of `Destination` resources to be listed.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListGroupsResponse": { +"description": "Response for HubService.ListGroups method.", +"id": "ListGroupsResponse", +"properties": { +"groups": { +"description": "The requested groups.", +"items": { +"$ref": "Group" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"unreachable": { +"description": "Hubs that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListHubSpokesResponse": { +"description": "The response for HubService.ListHubSpokes.", +"id": "ListHubSpokesResponse", +"properties": { +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"spokes": { +"description": "The requested spokes. The spoke fields can be partially populated based on the `view` field in the request message.", +"items": { +"$ref": "Spoke" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListHubsResponse": { +"description": "Response for HubService.ListHubs method.", +"id": "ListHubsResponse", +"properties": { +"hubs": { +"description": "The requested hubs.", +"items": { +"$ref": "Hub" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInternalRangesResponse": { +"description": "Response for InternalRange.ListInternalRanges", +"id": "ListInternalRangesResponse", +"properties": { +"internalRanges": { +"description": "Internal ranges to be returned.", +"items": { +"$ref": "InternalRange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListMulticloudDataTransferConfigsResponse": { +"description": "Response message to list `MulticloudDataTransferConfig` resources.", +"id": "ListMulticloudDataTransferConfigsResponse", +"properties": { +"multicloudDataTransferConfigs": { +"description": "The list of `MulticloudDataTransferConfig` resources to be listed.", +"items": { +"$ref": "MulticloudDataTransferConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListMulticloudDataTransferSupportedServicesResponse": { +"description": "Response message to list the services in your project in regions that are eligible for Data Transfer Essentials configuration.", +"id": "ListMulticloudDataTransferSupportedServicesResponse", +"properties": { +"multicloudDataTransferSupportedServices": { +"description": "The list of supported services.", +"items": { +"$ref": "MulticloudDataTransferSupportedService" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListPolicyBasedRoutesResponse": { +"description": "Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method.", +"id": "ListPolicyBasedRoutesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"policyBasedRoutes": { +"description": "Policy-based routes to be returned.", +"items": { +"$ref": "PolicyBasedRoute" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRegionalEndpointsResponse": { +"description": "Response for ListRegionalEndpoints.", +"id": "ListRegionalEndpointsResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"regionalEndpoints": { +"description": "Regional endpoints to be returned.", +"items": { +"$ref": "RegionalEndpoint" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRouteTablesResponse": { +"description": "Response for HubService.ListRouteTables method.", +"id": "ListRouteTablesResponse", +"properties": { +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"routeTables": { +"description": "The requested route tables.", +"items": { +"$ref": "RouteTable" +}, +"type": "array" +}, +"unreachable": { +"description": "Hubs that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRoutesResponse": { +"description": "Response for HubService.ListRoutes method.", +"id": "ListRoutesResponse", +"properties": { +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"routes": { +"description": "The requested routes.", +"items": { +"$ref": "Route" +}, +"type": "array" +}, +"unreachable": { +"description": "RouteTables that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceClassesResponse": { +"description": "Response for ListServiceClasses.", +"id": "ListServiceClassesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"serviceClasses": { +"description": "ServiceClasses to be returned.", +"items": { +"$ref": "ServiceClass" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceConnectionMapsResponse": { +"description": "Response for ListServiceConnectionMaps.", +"id": "ListServiceConnectionMapsResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"serviceConnectionMaps": { +"description": "ServiceConnectionMaps to be returned.", +"items": { +"$ref": "ServiceConnectionMap" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceConnectionPoliciesResponse": { +"description": "Response for ListServiceConnectionPolicies.", +"id": "ListServiceConnectionPoliciesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"serviceConnectionPolicies": { +"description": "ServiceConnectionPolicies to be returned.", +"items": { +"$ref": "ServiceConnectionPolicy" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceConnectionTokensResponse": { +"description": "Response for ListServiceConnectionTokens.", +"id": "ListServiceConnectionTokensResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"serviceConnectionTokens": { +"description": "ServiceConnectionTokens to be returned.", +"items": { +"$ref": "ServiceConnectionToken" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSpokesResponse": { +"description": "The response for HubService.ListSpokes.", +"id": "ListSpokesResponse", +"properties": { +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +}, +"spokes": { +"description": "The requested spokes.", +"items": { +"$ref": "Spoke" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"LocationMetadata": { +"description": "Metadata about locations", +"id": "LocationMetadata", +"properties": { +"locationFeatures": { +"description": "List of supported features", +"items": { +"enum": [ +"LOCATION_FEATURE_UNSPECIFIED", +"SITE_TO_CLOUD_SPOKES", +"SITE_TO_SITE_SPOKES", +"GATEWAY_SPOKES" +], +"enumDescriptions": [ +"No publicly supported feature in this location", +"Site-to-cloud spokes are supported in this location", +"Site-to-site spokes are supported in this location", +"Gateway spokes are supported in this location." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Migration": { +"description": "Specification for migration with source and target resource names.", +"id": "Migration", +"properties": { +"source": { +"description": "Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}", +"type": "string" +}, +"target": { +"description": "Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}", +"type": "string" +} +}, +"type": "object" +}, +"MulticloudDataTransferConfig": { +"description": "The `MulticloudDataTransferConfig` resource. It lists the services that you configure for Data Transfer Essentials billing and metering.", +"id": "MulticloudDataTransferConfig", +"properties": { +"createTime": { +"description": "Output only. Time when the `MulticloudDataTransferConfig` resource was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this resource.", +"type": "string" +}, +"destinationsActiveCount": { +"description": "Output only. The number of `Destination` resources in use with the `MulticloudDataTransferConfig` resource.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"destinationsCount": { +"description": "Output only. The number of `Destination` resources configured for the `MulticloudDataTransferConfig` resource.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"etag": { +"description": "The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels.", +"type": "object" +}, +"name": { +"description": "Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.", +"type": "string" +}, +"services": { +"additionalProperties": { +"$ref": "StateTimeline" +}, +"description": "Optional. Maps services to their current or planned states. Service names are keys, and the associated values describe the state of the service. If a state change is expected, the value is either `ADDING` or `DELETING`, depending on the actions taken. Sample output: \"services\": { \"big-query\": { \"states\": [ { \"effectiveTime\": \"2024-12-12T08:00:00Z\" \"state\": \"ADDING\", }, ] }, \"cloud-storage\": { \"states\": [ { \"state\": \"ACTIVE\", } ] } }", +"type": "object" +}, +"uid": { +"description": "Output only. The Google-generated unique ID for the `MulticloudDataTransferConfig` resource. This value is unique across all `MulticloudDataTransferConfig` resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the `MulticloudDataTransferConfig` resource was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"MulticloudDataTransferSupportedService": { +"description": "A service in your project in a region that is eligible for Data Transfer Essentials configuration.", +"id": "MulticloudDataTransferSupportedService", +"properties": { +"name": { +"description": "Identifier. The name of the service.", +"type": "string" +}, +"serviceConfigs": { +"description": "Output only. The network service tier or regional endpoint supported for the service.", +"items": { +"$ref": "ServiceConfig" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"NextHopInterconnectAttachment": { +"description": "A route next hop that leads to an interconnect attachment resource.", +"id": "NextHopInterconnectAttachment", +"properties": { +"siteToSiteDataTransfer": { +"description": "Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"uri": { +"description": "The URI of the interconnect attachment resource.", +"type": "string" +}, +"vpcNetwork": { +"description": "The VPC network where this interconnect attachment is located.", +"type": "string" +} +}, +"type": "object" +}, +"NextHopRouterApplianceInstance": { +"description": "A route next hop that leads to a Router appliance instance.", +"id": "NextHopRouterApplianceInstance", +"properties": { +"siteToSiteDataTransfer": { +"description": "Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"uri": { +"description": "The URI of the Router appliance instance.", +"type": "string" +}, +"vpcNetwork": { +"description": "The VPC network where this VM is located.", +"type": "string" +} +}, +"type": "object" +}, +"NextHopSpoke": { +"description": "A route next hop that leads to a spoke resource.", +"id": "NextHopSpoke", +"properties": { +"siteToSiteDataTransfer": { +"description": "Indicates whether site-to-site data transfer is allowed for this spoke resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). Whether this route is accessible to other hybrid spokes with site-to-site data transfer enabled. If this is false, the route is only accessible to VPC spokes of the connected Hub.", +"type": "boolean" +}, +"uri": { +"description": "The URI of the spoke resource.", +"type": "string" +} +}, +"type": "object" +}, +"NextHopVPNTunnel": { +"description": "A route next hop that leads to a VPN tunnel resource.", +"id": "NextHopVPNTunnel", +"properties": { +"siteToSiteDataTransfer": { +"description": "Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", +"type": "boolean" +}, +"uri": { +"description": "The URI of the VPN tunnel resource.", +"type": "string" +}, +"vpcNetwork": { +"description": "The VPC network where this VPN tunnel is located.", +"type": "string" +} +}, +"type": "object" +}, +"NextHopVpcNetwork": { +"id": "NextHopVpcNetwork", +"properties": { +"uri": { +"description": "The URI of the VPC network resource", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"PolicyBasedRoute": { +"description": "Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.", +"id": "PolicyBasedRoute", +"properties": { +"createTime": { +"description": "Output only. Time when the policy-based route was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of this resource. Provide this field when you create the resource.", +"type": "string" +}, +"filter": { +"$ref": "Filter", +"description": "Required. The filter to match L4 traffic." +}, +"interconnectAttachment": { +"$ref": "InterconnectAttachment", +"description": "Optional. The interconnect attachments that this policy-based route applies to." +}, +"kind": { +"description": "Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "Immutable. Identifier. A unique name of the resource in the form of `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`", +"type": "string" +}, +"network": { +"description": "Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.", +"type": "string" +}, +"nextHopIlbIp": { +"description": "Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.", +"type": "string" +}, +"nextHopOtherRoutes": { +"description": "Optional. Other routes that will be referenced to determine the next hop of the packet.", +"enum": [ +"OTHER_ROUTES_UNSPECIFIED", +"DEFAULT_ROUTING" +], +"enumDescriptions": [ +"Default value.", +"Use the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This effectively excludes matching packets being applied on other PBRs with a lower priority." +], +"type": "string" +}, +"priority": { +"description": "Optional. The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.", +"format": "int32", +"type": "integer" +}, +"selfLink": { +"description": "Output only. Server-defined fully-qualified URL for this resource.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the policy-based route was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"virtualMachine": { +"$ref": "VirtualMachine", +"description": "Optional. VM instances that this policy-based route applies to." +}, +"warnings": { +"description": "Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.", +"items": { +"$ref": "Warnings" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ProducerPscConfig": { +"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" +} +}, +"type": "object" +}, +"PscConfig": { +"description": "Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.", +"id": "PscConfig", +"properties": { +"allowedGoogleProducersResourceHierarchyLevel": { +"description": "Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of 'projects', 'folders', or 'organizations' and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/' or 'folders/' or 'organizations/' Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]", +"items": { +"type": "string" +}, +"type": "array" +}, +"limit": { +"description": "Optional. Max number of PSC connections for this policy.", +"format": "int64", +"type": "string" +}, +"producerInstanceLocation": { +"description": "Optional. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.", +"enum": [ +"PRODUCER_INSTANCE_LOCATION_UNSPECIFIED", +"CUSTOM_RESOURCE_HIERARCHY_LEVELS" +], +"enumDescriptions": [ +"Producer instance location is not specified. When this option is chosen, then the PSC connections created by this ServiceConnectionPolicy must be within the same project as the Producer instance. This is the default ProducerInstanceLocation value. To allow for PSC connections from this network to other networks, use the CUSTOM_RESOURCE_HIERARCHY_LEVELS option.", +"Producer instance must be within one of the values provided in allowed_google_producers_resource_hierarchy_level." +], +"type": "string" +}, +"subnetworks": { +"description": "The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PscConnection": { +"description": "Information about a specific Private Service Connect connection.", +"id": "PscConnection", +"properties": { +"consumerAddress": { +"description": "The resource reference of the consumer address.", +"type": "string" +}, +"consumerForwardingRule": { +"description": "The resource reference of the PSC Forwarding Rule within the consumer VPC.", +"type": "string" +}, +"consumerTargetProject": { +"description": "The project where the PSC connection is created.", +"type": "string" +}, +"error": { +"$ref": "GoogleRpcStatus", +"deprecated": true, +"description": "The most recent error during operating this connection. Deprecated, please use error_info instead." +}, +"errorInfo": { +"$ref": "GoogleRpcErrorInfo", +"description": "Output only. The error info for the latest error during operating this connection.", +"readOnly": true +}, +"errorType": { +"deprecated": true, +"description": "The error type indicates whether the error is consumer facing, producer facing or system internal.", +"enum": [ +"CONNECTION_ERROR_TYPE_UNSPECIFIED", +"ERROR_INTERNAL", +"ERROR_CONSUMER_SIDE", +"ERROR_PRODUCER_SIDE" +], +"enumDescriptions": [ +"An invalid error type as the default case.", +"The error is due to Service Automation system internal.", +"The error is due to the setup on consumer side.", +"The error is due to the setup on producer side." +], +"type": "string" +}, +"gceOperation": { +"description": "The last Compute Engine operation to setup PSC connection.", +"type": "string" +}, +"ipVersion": { +"description": "The requested IP version for the PSC connection.", +"enum": [ +"IP_VERSION_UNSPECIFIED", +"IPV4", +"IPV6" +], +"enumDescriptions": [ +"Default value. We will use IPv4 or IPv6 depending on the IP version of first available subnetwork.", +"Will use IPv4 only.", +"Will use IPv6 only." +], +"type": "string" +}, +"producerInstanceId": { +"deprecated": true, +"description": "Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.", +"type": "string" +}, +"producerInstanceMetadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Immutable. An immutable map for the producer instance metadata.", +"type": "object" +}, +"pscConnectionId": { +"description": "The PSC connection id of the PSC forwarding rule.", +"type": "string" +}, +"selectedSubnetwork": { +"description": "Output only. The URI of the subnetwork selected to allocate IP address for this connection.", +"readOnly": true, +"type": "string" +}, +"serviceClass": { +"description": "Output only. [Output only] The service class associated with this PSC Connection. The value is derived from the SCPolicy and matches the service class name provided by the customer.", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "State of the PSC Connection", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"FAILED", +"CREATING", +"DELETING", +"CREATE_REPAIRING", +"DELETE_REPAIRING" +], +"enumDescriptions": [ +"An invalid state as the default case.", +"The connection has been created successfully. However, for the up-to-date connection status, please use the created forwarding rule's \"PscConnectionStatus\" as the source of truth.", +"The connection is not functional since some resources on the connection fail to be created.", +"The connection is being created.", +"The connection is being deleted.", +"The connection is being repaired to complete creation.", +"The connection is being repaired to complete deletion." +], +"type": "string" +} +}, +"type": "object" +}, +"PscPropagationStatus": { +"description": "The status of one or more propagated Private Service Connect connections in a hub.", +"id": "PscPropagationStatus", +"properties": { +"code": { +"description": "The propagation status.", +"enum": [ +"CODE_UNSPECIFIED", +"READY", +"PROPAGATING", +"ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED", +"ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED", +"ERROR_PRODUCER_QUOTA_EXCEEDED", +"ERROR_CONSUMER_QUOTA_EXCEEDED" +], +"enumDescriptions": [ +"The code is unspecified.", +"The propagated Private Service Connect connection is ready.", +"The Private Service Connect connection is propagating. This is a transient state.", +"The Private Service Connect connection propagation failed because the VPC network or the project of the target spoke has exceeded the connection limit set by the producer.", +"The Private Service Connect connection propagation failed because the NAT IP subnet space has been exhausted. It is equivalent to the `Needs attention` status of the Private Service Connect connection. See https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.", +"The Private Service Connect connection propagation failed because the `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the producer VPC network has been exceeded.", +"The Private Service Connect connection propagation failed because the `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer VPC network has been exceeded." +], +"type": "string" +}, +"message": { +"description": "The human-readable summary of the Private Service Connect connection propagation status.", +"type": "string" +}, +"sourceForwardingRule": { +"description": "The name of the forwarding rule exported to the hub.", +"type": "string" +}, +"sourceGroup": { +"description": "The name of the group that the source spoke belongs to.", +"type": "string" +}, +"sourceSpoke": { +"description": "The name of the spoke that the source forwarding rule belongs to.", +"type": "string" +}, +"targetGroup": { +"description": "The name of the group that the target spoke belongs to.", +"type": "string" +}, +"targetSpoke": { +"description": "The name of the spoke that the source forwarding rule propagates to.", +"type": "string" +} +}, +"type": "object" +}, +"QueryHubStatusResponse": { +"description": "The response for HubService.QueryHubStatus.", +"id": "QueryHubStatusResponse", +"properties": { +"hubStatusEntries": { +"description": "The list of hub status.", +"items": { +"$ref": "HubStatusEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The token for the next page of the response. To see more results, use this value as the page_token for your next request. If this value is empty, there are no more results.", +"type": "string" +} +}, +"type": "object" +}, +"RegionalEndpoint": { +"description": "The RegionalEndpoint resource.", +"id": "RegionalEndpoint", +"properties": { +"accessType": { +"description": "Required. The access type of this regional endpoint. This field is reflected in the PSC Forwarding Rule configuration to enable global access.", +"enum": [ +"ACCESS_TYPE_UNSPECIFIED", +"GLOBAL", +"REGIONAL" +], +"enumDescriptions": [ +"An invalid type as the default case.", +"This regional endpoint is accessible from all regions.", +"This regional endpoint is only accessible from the same region where it resides." +], +"type": "string" +}, +"address": { +"description": "Optional. The IP Address of the Regional Endpoint. When no address is provided, an IP from the subnetwork is allocated. Use one of the following formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in `projects/{project}/regions/{region}/addresses/{address_name}` for an IPv4 or IPv6 address.", +"type": "string" +}, +"createTime": { +"description": "Output only. Time when the RegionalEndpoint was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this resource.", +"type": "string" +}, +"ipAddress": { +"deprecated": true, +"description": "Output only. The literal IP address of the PSC Forwarding Rule created on behalf of the customer. This field is deprecated. Use address instead.", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "Output only. The name of a RegionalEndpoint. Pattern: `projects/{project}/locations/{location}/regionalEndpoints/^[-a-z0-9](?:[-a-z0-9]{0,44})[a-z0-9]$`.", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "Optional. The name of the VPC network for this private regional endpoint. Format: `projects/{project}/global/networks/{network}`", +"type": "string" +}, +"pscForwardingRule": { +"description": "Output only. The resource reference of the PSC Forwarding Rule created on behalf of the customer. Format: `//compute.googleapis.com/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule_name}`", +"readOnly": true, +"type": "string" +}, +"subnetwork": { +"description": "Optional. The name of the subnetwork from which the IP address will be allocated. Format: `projects/{project}/regions/{region}/subnetworks/{subnetwork}`", +"type": "string" +}, +"targetGoogleApi": { +"description": "Required. The service endpoint this private regional endpoint connects to. Format: `{apiname}.{region}.p.rep.googleapis.com` Example: \"cloudkms.us-central1.p.rep.googleapis.com\".", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the RegionalEndpoint was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RejectHubSpokeRequest": { +"description": "The request for HubService.RejectHubSpoke.", +"id": "RejectHubSpokeRequest", +"properties": { +"details": { +"description": "Optional. Additional information provided by the hub administrator.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"spokeUri": { +"description": "Required. The URI of the spoke to reject from the hub.", +"type": "string" +} +}, +"type": "object" +}, +"RejectHubSpokeResponse": { +"description": "The response for HubService.RejectHubSpoke.", +"id": "RejectHubSpokeResponse", +"properties": { +"spoke": { +"$ref": "Spoke", +"description": "The spoke that was operated on." +} +}, +"type": "object" +}, +"RejectSpokeUpdateRequest": { +"description": "The request for HubService.RejectSpokeUpdate.", +"id": "RejectSpokeUpdateRequest", +"properties": { +"details": { +"description": "Optional. Additional information provided by the hub administrator.", +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"type": "string" +}, +"spokeEtag": { +"description": "Required. The etag of the spoke to reject update.", +"type": "string" +}, +"spokeUri": { +"description": "Required. The URI of the spoke to reject update.", +"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", +"properties": { +"createTime": { +"description": "Output only. The time the route was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of the route.", +"type": "string" +}, +"ipCidrRange": { +"description": "The destination IP address range.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", +"type": "object" +}, +"location": { +"description": "Output only. The origin location of the route. Uses the following form: \"projects/{project}/locations/{location}\" Example: projects/1234/locations/us-central1", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The name of the route. Route names must be unique. Route names use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`", +"type": "string" +}, +"nextHopInterconnectAttachment": { +"$ref": "NextHopInterconnectAttachment", +"description": "Immutable. The next-hop VLAN attachment for packets on this route." +}, +"nextHopRouterApplianceInstance": { +"$ref": "NextHopRouterApplianceInstance", +"description": "Immutable. The next-hop Router appliance instance for packets on this route." +}, +"nextHopSpoke": { +"$ref": "NextHopSpoke", +"description": "Immutable. The next-hop spoke for packets on this route." +}, +"nextHopVpcNetwork": { +"$ref": "NextHopVpcNetwork", +"description": "Immutable. The destination VPC network for packets on this route." +}, +"nextHopVpnTunnel": { +"$ref": "NextHopVPNTunnel", +"description": "Immutable. The next-hop VPN tunnel for packets on this route." +}, +"priority": { +"description": "Output only. The priority of this route. Priority is used to break ties in cases where a destination matches more than one route. In these cases the route with the lowest-numbered priority value wins.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"spoke": { +"description": "Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE", +"type": "string" +}, +"state": { +"description": "Output only. The current lifecycle state of the route.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Output only. The route's type. Its type is determined by the properties of its IP address range.", +"enum": [ +"ROUTE_TYPE_UNSPECIFIED", +"VPC_PRIMARY_SUBNET", +"VPC_SECONDARY_SUBNET", +"DYNAMIC_ROUTE" +], +"enumDescriptions": [ +"No route type information specified", +"The route leads to a destination within the primary address range of the VPC network's subnet.", +"The route leads to a destination within the secondary address range of the VPC network's subnet.", +"The route leads to a destination in a dynamic route. Dynamic routes are derived from Border Gateway Protocol (BGP) advertisements received from an NCC hybrid spoke." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The Google-generated UUID for the route. This value is unique across all Network Connectivity Center route resources. If a route is deleted and another with the same name is created, the new route is assigned a different `uid`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the route was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RouteTable": { +"id": "RouteTable", +"properties": { +"createTime": { +"description": "Output only. The time the route table was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "An optional description of the route table.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", +"type": "object" +}, +"name": { +"description": "Immutable. The name of the route table. Route table names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`", +"type": "string" +}, +"state": { +"description": "Output only. The current lifecycle state of this route table.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different `uid`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the route table was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RouterApplianceInstance": { +"description": "A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces.", +"id": "RouterApplianceInstance", +"properties": { +"ipAddress": { +"description": "The IP address on the VM to use for peering.", +"type": "string" +}, +"virtualMachine": { +"description": "The URI of the VM.", +"type": "string" +} +}, +"type": "object" +}, +"RoutingVPC": { +"description": "RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub.", +"id": "RoutingVPC", +"properties": { +"requiredForNewSiteToSiteDataTransferSpokes": { +"description": "Output only. If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true.", +"readOnly": true, +"type": "boolean" +}, +"uri": { +"description": "The URI of the VPC network.", +"type": "string" +} +}, +"type": "object" +}, +"ServiceClass": { +"description": "The ServiceClass resource.", +"id": "ServiceClass", +"properties": { +"createTime": { +"description": "Output only. Time when the ServiceClass was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of this resource.", +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "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", +"type": "string" +}, +"serviceClass": { +"description": "Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the ServiceClass was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceConfig": { +"description": "Specifies eligibility information for the service.", +"id": "ServiceConfig", +"properties": { +"eligibilityCriteria": { +"description": "Output only. The eligibility criteria for the service.", +"enum": [ +"ELIGIBILITY_CRITERIA_UNSPECIFIED", +"NETWORK_SERVICE_TIER_PREMIUM_ONLY", +"NETWORK_SERVICE_TIER_STANDARD_ONLY", +"REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY" +], +"enumDescriptions": [ +"The service is not eligible for Data Transfer Essentials configuration. This is the default case.", +"The service is eligible for Data Transfer Essentials configuration only for Premium Tier.", +"The service is eligible for Data Transfer Essentials configuration only for Standard Tier.", +"The service is eligible for Data Transfer Essentials configuration only for the regional endpoint." +], +"readOnly": true, +"type": "string" +}, +"supportEndTime": { +"description": "Output only. The end time for eligibility criteria support. If not specified, no planned end time is set.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceConnectionMap": { +"description": "The ServiceConnectionMap resource.", +"id": "ServiceConnectionMap", +"properties": { +"consumerPscConfigs": { +"description": "The PSC configurations on consumer side.", +"items": { +"$ref": "ConsumerPscConfig" +}, +"type": "array" +}, +"consumerPscConnections": { +"description": "Output only. PSC connection details on consumer side.", +"items": { +"$ref": "ConsumerPscConnection" +}, +"readOnly": true, +"type": "array" +}, +"createTime": { +"description": "Output only. Time when the ServiceConnectionMap was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of this resource.", +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"infrastructure": { +"description": "Output only. The infrastructure used for connections between consumers/producers.", +"enum": [ +"INFRASTRUCTURE_UNSPECIFIED", +"PSC" +], +"enumDescriptions": [ +"An invalid infrastructure as the default case.", +"Private Service Connect is used for connections." +], +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "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", +"type": "string" +}, +"producerPscConfigs": { +"description": "The PSC configurations on producer side.", +"items": { +"$ref": "ProducerPscConfig" +}, +"type": "array" +}, +"serviceClass": { +"description": "The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnectivity.serviceClasses.use IAM permission for the service class.", +"type": "string" +}, +"serviceClassUri": { +"description": "Output only. The service class uri this ServiceConnectionMap is for.", +"readOnly": true, +"type": "string" +}, +"token": { +"description": "The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the ServiceConnectionMap was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceConnectionPolicy": { +"description": "The ServiceConnectionPolicy resource.", +"id": "ServiceConnectionPolicy", +"properties": { +"autoCreatedSubnetInfo": { +"$ref": "AutoCreatedSubnetworkInfo", +"description": "Output only. Information for the automatically created subnetwork and its associated IR.", +"readOnly": true +}, +"createTime": { +"description": "Output only. Time when the ServiceConnectionPolicy was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of this resource.", +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"infrastructure": { +"description": "Output only. The type of underlying resources used to create the connection.", +"enum": [ +"INFRASTRUCTURE_UNSPECIFIED", +"PSC" +], +"enumDescriptions": [ +"An invalid infrastructure as the default case.", +"Private Service Connect is used for connections." +], +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "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", +"type": "string" +}, +"network": { +"description": "The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.", +"type": "string" +}, +"pscConfig": { +"$ref": "PscConfig", +"description": "Configuration used for Private Service Connect connections. Used when Infrastructure is PSC." +}, +"pscConnections": { +"description": "Output only. [Output only] Information about each Private Service Connect connection.", +"items": { +"$ref": "PscConnection" +}, +"readOnly": true, +"type": "array" +}, +"serviceClass": { +"description": "The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the ServiceConnectionPolicy was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ServiceConnectionToken": { +"description": "The ServiceConnectionToken resource.", +"id": "ServiceConnectionToken", +"properties": { +"createTime": { +"description": "Output only. Time when the ServiceConnectionToken was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of this resource.", +"type": "string" +}, +"etag": { +"description": "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.", +"type": "string" +}, +"expireTime": { +"description": "Output only. The time to which this token is valid.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names", +"type": "string" +}, +"network": { +"description": "The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.", +"type": "string" +}, +"token": { +"description": "Output only. The token generated by Automation.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time when the ServiceConnectionToken was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"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" +}, +"Spoke": { +"description": "A Network Connectivity Center spoke represents one or more network connectivity resources. When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields: * linked_vpn_tunnels * linked_interconnect_attachments * linked_router_appliance_instances * linked_vpc_network", +"id": "Spoke", +"properties": { +"createTime": { +"description": "Output only. The time the spoke was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. An optional description of the spoke.", +"type": "string" +}, +"etag": { +"description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"fieldPathsPendingUpdate": { +"description": "Optional. The list of fields waiting for hub administrator's approval.", +"items": { +"type": "string" +}, +"type": "array" +}, +"group": { +"description": "Optional. The name of the group that this spoke is associated with.", +"type": "string" +}, +"hub": { +"description": "Immutable. The name of the hub that this spoke is attached to.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).", +"type": "object" +}, +"linkedInterconnectAttachments": { +"$ref": "LinkedInterconnectAttachments", +"description": "Optional. VLAN attachments that are associated with the spoke." +}, +"linkedProducerVpcNetwork": { +"$ref": "LinkedProducerVpcNetwork", +"description": "Optional. The linked producer VPC that is associated with the spoke." +}, +"linkedRouterApplianceInstances": { +"$ref": "LinkedRouterApplianceInstances", +"description": "Optional. Router appliance instances that are associated with the spoke." +}, +"linkedVpcNetwork": { +"$ref": "LinkedVpcNetwork", +"description": "Optional. VPC network that is associated with the spoke." +}, +"linkedVpnTunnels": { +"$ref": "LinkedVpnTunnels", +"description": "Optional. VPN tunnels that are associated with the spoke." +}, +"name": { +"description": "Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`", +"type": "string" +}, +"reasons": { +"description": "Output only. The reasons for current state of the spoke.", +"items": { +"$ref": "StateReason" +}, +"readOnly": true, +"type": "array" +}, +"spokeType": { +"description": "Output only. The type of resource associated with the spoke.", +"enum": [ +"SPOKE_TYPE_UNSPECIFIED", +"VPN_TUNNEL", +"INTERCONNECT_ATTACHMENT", +"ROUTER_APPLIANCE", +"VPC_NETWORK", +"PRODUCER_VPC_NETWORK" +], +"enumDescriptions": [ +"Unspecified spoke type.", +"Spokes associated with VPN tunnels.", +"Spokes associated with VLAN attachments.", +"Spokes associated with router appliance instances.", +"Spokes associated with VPC networks.", +"Spokes that are backed by a producer VPC network." +], +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The current lifecycle state of this spoke.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uniqueId": { +"description": "Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different `unique_id`.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the spoke was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpokeStateCount": { +"description": "The number of spokes that are in a particular state and associated with a given hub.", +"id": "SpokeStateCount", +"properties": { +"count": { +"description": "Output only. The total number of spokes that are in this state and associated with a given hub.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the spokes.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"ACCEPTING", +"REJECTING", +"UPDATING", +"INACTIVE", +"OBSOLETE", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress.", +"The resource is active", +"The resource's delete operation is in progress.", +"The resource's accept operation is in progress.", +"The resource's reject operation is in progress.", +"The resource's update operation is in progress.", +"The resource is inactive.", +"The hub associated with this spoke resource has been deleted. This state applies to spoke resources only.", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpokeStateReasonCount": { +"description": "The number of spokes in the hub that are inactive for this reason.", +"id": "SpokeStateReasonCount", +"properties": { +"count": { +"description": "Output only. The total number of spokes that are inactive for a particular reason and associated with a given hub.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"stateReasonCode": { +"description": "Output only. The reason that a spoke is inactive.", +"enum": [ +"CODE_UNSPECIFIED", +"PENDING_REVIEW", +"REJECTED", +"PAUSED", +"FAILED", +"UPDATE_PENDING_REVIEW", +"UPDATE_REJECTED", +"UPDATE_FAILED" +], +"enumDescriptions": [ +"No information available.", +"The proposed spoke is pending review.", +"The proposed spoke has been rejected by the hub administrator.", +"The spoke has been deactivated internally.", +"Network Connectivity Center encountered errors while accepting the spoke.", +"The proposed spoke update is pending review.", +"The proposed spoke update has been rejected by the hub administrator.", +"Network Connectivity Center encountered errors while accepting the spoke update." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SpokeSummary": { +"description": "Summarizes information about the spokes associated with a hub. The summary includes a count of spokes according to type and according to state. If any spokes are inactive, the summary also lists the reasons they are inactive, including a count for each reason.", +"id": "SpokeSummary", +"properties": { +"spokeStateCounts": { +"description": "Output only. Counts the number of spokes that are in each state and associated with a given hub.", +"items": { +"$ref": "SpokeStateCount" +}, +"readOnly": true, +"type": "array" +}, +"spokeStateReasonCounts": { +"description": "Output only. Counts the number of spokes that are inactive for each possible reason and associated with a given hub.", +"items": { +"$ref": "SpokeStateReasonCount" +}, +"readOnly": true, +"type": "array" +}, +"spokeTypeCounts": { +"description": "Output only. Counts the number of spokes of each type that are associated with a specific hub.", +"items": { +"$ref": "SpokeTypeCount" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"SpokeTypeCount": { +"description": "The number of spokes of a given type that are associated with a specific hub. The type indicates what kind of resource is associated with the spoke.", +"id": "SpokeTypeCount", +"properties": { +"count": { +"description": "Output only. The total number of spokes of this type that are associated with the hub.", +"format": "int64", +"readOnly": true, +"type": "string" +}, +"spokeType": { +"description": "Output only. The type of the spokes.", +"enum": [ +"SPOKE_TYPE_UNSPECIFIED", +"VPN_TUNNEL", +"INTERCONNECT_ATTACHMENT", +"ROUTER_APPLIANCE", +"VPC_NETWORK", +"PRODUCER_VPC_NETWORK" +], +"enumDescriptions": [ +"Unspecified spoke type.", +"Spokes associated with VPN tunnels.", +"Spokes associated with VLAN attachments.", +"Spokes associated with router appliance instances.", +"Spokes associated with VPC networks.", +"Spokes that are backed by a producer VPC network." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StateMetadata": { +"description": "The state and activation time details of the resource state.", +"id": "StateMetadata", +"properties": { +"effectiveTime": { +"description": "Output only. Accompanies only the transient states, which include `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which the transient state of the resource will be effective. For instance, if the state is `ADDING`, this field shows the time when the resource state transitions to `ACTIVE`.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. The state of the resource.", +"enum": [ +"STATE_UNSPECIFIED", +"ADDING", +"ACTIVE", +"DELETING", +"SUSPENDING", +"SUSPENDED" +], +"enumDescriptions": [ +"An invalid state, which is the default case.", +"The resource is being added.", +"The resource is in use.", +"The resource is being deleted.", +"The resource is being suspended.", +"The resource is suspended and not in use." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"StateReason": { +"description": "The reason for the current state of the spoke.", +"id": "StateReason", +"properties": { +"code": { +"description": "The code associated with this reason.", +"enum": [ +"CODE_UNSPECIFIED", +"PENDING_REVIEW", +"REJECTED", +"PAUSED", +"FAILED", +"UPDATE_PENDING_REVIEW", +"UPDATE_REJECTED", +"UPDATE_FAILED" +], +"enumDescriptions": [ +"No information available.", +"The proposed spoke is pending review.", +"The proposed spoke has been rejected by the hub administrator.", +"The spoke has been deactivated internally.", +"Network Connectivity Center encountered errors while accepting the spoke.", +"The proposed spoke update is pending review.", +"The proposed spoke update has been rejected by the hub administrator.", +"Network Connectivity Center encountered errors while accepting the spoke update." +], +"type": "string" +}, +"message": { +"description": "Human-readable details about this reason.", +"type": "string" +}, +"userDetails": { +"description": "Additional information provided by the user in the RejectSpoke call.", +"type": "string" +} +}, +"type": "object" +}, +"StateTimeline": { +"description": "The timeline of the pending states for a resource.", +"id": "StateTimeline", +"properties": { +"states": { +"description": "Output only. The state and activation time details of the resource state.", +"items": { +"$ref": "StateMetadata" +}, +"readOnly": true, +"type": "array" +} +}, +"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" +}, +"VirtualMachine": { +"description": "VM instances that this policy-based route applies to.", +"id": "VirtualMachine", +"properties": { +"tags": { +"description": "Optional. A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here installs this PBR.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Warnings": { +"description": "Informational warning message.", +"id": "Warnings", +"properties": { +"code": { +"description": "Output only. A warning code, if applicable.", +"enum": [ +"WARNING_UNSPECIFIED", +"RESOURCE_NOT_ACTIVE", +"RESOURCE_BEING_MODIFIED" +], +"enumDescriptions": [ +"Default value.", +"The policy-based route is not active and functioning. Common causes are that the dependent network was deleted or the resource project was turned off.", +"The policy-based route is being modified (e.g. created/deleted) at this time." +], +"readOnly": true, +"type": "string" +}, +"data": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Metadata about this warning in key: value format. The key should provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement.", +"readOnly": true, +"type": "object" +}, +"warningMessage": { +"description": "Output only. A human-readable description of the warning code.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Network Connectivity API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..70ebae9805b8a4062d33a6a7e01de8aa24081903 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json @@ -0,0 +1,1920 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://networkconnectivity.googleapis.com/", +"batchPath": "batch", +"canonicalName": "networkconnectivity", +"description": "This API enables connectivity with and between Google Cloud resources.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", +"fullyEncodeReservedExpansion": true, +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "networkconnectivity:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://networkconnectivity.mtls.googleapis.com/", +"name": "networkconnectivity", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"global": { +"resources": { +"hubs": { +"methods": { +"create": { +"description": "Creates a new Network Connectivity Center hub in the specified project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"hubId": { +"description": "Optional. Unique id for the Hub to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name of the Hub.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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": "v1alpha1/{+parent}/hubs", +"request": { +"$ref": "Hub" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Network Connectivity Center hub.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.global.hubs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Hub to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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": "v1alpha1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Network Connectivity Center hub.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the Hub resource to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Hub" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Network Connectivity Center hubs associated with a given project.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.global.hubs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/hubs", +"response": { +"$ref": "ListHubsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the description and/or labels of a Network Connectivity Center hub.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.global.hubs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of a Hub resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/global/hubs/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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 Hub resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Hub" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/global/hubs/{hubsId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.global.hubs.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/global/hubs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"internalRanges": { +"methods": { +"create": { +"description": "Creates a new internal range in a given project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"internalRangeId": { +"description": "Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/internalRanges/foo') See https://google.aip.dev/122#resource-id-segments Unique per location.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name of the InternalRange.", +"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 the 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": "v1alpha1/{+parent}/internalRanges", +"request": { +"$ref": "InternalRange" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single internal range.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.internalRanges.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the InternalRange to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"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 the 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": "v1alpha1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single internal range.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the InternalRange to get.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "InternalRange" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists internal ranges in a given project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.internalRanges.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource's name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/internalRanges", +"response": { +"$ref": "ListInternalRangesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single internal range.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.internalRanges.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/internalRanges/[^/]+$", +"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 the 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 internal range resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "InternalRange" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/internalRanges/{internalRangesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.internalRanges.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/[^/]+/internalRanges/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:cancel", +"request": { +"$ref": "GoogleLongrunningCancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1alpha1/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"spokes": { +"methods": { +"create": { +"description": "Creates a Network Connectivity Center spoke.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent's resource name of the Spoke.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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" +}, +"spokeId": { +"description": "Optional. Unique id for the Spoke to create.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/spokes", +"request": { +"$ref": "Spoke" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Network Connectivity Center spoke.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "DELETE", +"id": "networkconnectivity.projects.locations.spokes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Spoke to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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": "v1alpha1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details about a Network Connectivity Center spoke.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of Spoke resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "Spoke" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:getIamPolicy", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists the Network Connectivity Center spokes in a specified project and location.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes", +"httpMethod": "GET", +"id": "networkconnectivity.projects.locations.spokes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter expression that filters the results listed in the response.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort the results by a certain order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results per page that should be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent's resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/spokes", +"response": { +"$ref": "ListSpokesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a Network Connectivity Center spoke.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}", +"httpMethod": "PATCH", +"id": "networkconnectivity.projects.locations.spokes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. The name of a Spoke resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 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 Spoke resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "Spoke" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:setIamPolicy", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/spokes/{spokesId}:testIamPermissions", +"httpMethod": "POST", +"id": "networkconnectivity.projects.locations.spokes.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/[^/]+/spokes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260129", +"rootUrl": "https://networkconnectivity.googleapis.com/", +"schemas": { +"AllocationOptions": { +"description": "Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.", +"id": "AllocationOptions", +"properties": { +"allocationStrategy": { +"description": "Optional. Allocation strategy. Not setting this field when the allocation is requested means an implementation defined strategy is used.", +"enum": [ +"ALLOCATION_STRATEGY_UNSPECIFIED", +"RANDOM", +"FIRST_AVAILABLE", +"RANDOM_FIRST_N_AVAILABLE", +"FIRST_SMALLEST_FITTING" +], +"enumDescriptions": [ +"Unspecified is the only valid option when the range is specified explicitly by ip_cidr_range field. Otherwise unspefified means using the default strategy.", +"Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space.", +"Pick the first available address range. This strategy is deterministic and the result is easy to predict.", +"Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced.", +"Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space." +], +"type": "string" +}, +"firstAvailableRangesLookupSize": { +"description": "Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.", +"format": "int32", +"type": "integer" +} +}, +"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" +}, +"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" +}, +"GoogleLongrunningCancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "GoogleLongrunningCancelOperationRequest", +"properties": {}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Hub": { +"description": "Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model. Following is the resource message of a hub.", +"id": "Hub", +"properties": { +"createTime": { +"description": "Time when the Hub was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Short description of the hub resource.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"name": { +"description": "Immutable. The name of a Hub resource.", +"type": "string" +}, +"spokes": { +"deprecated": true, +"description": "Output only. A list of the URIs of all attached spokes. This field is deprecated and will not be included in future API versions. Call ListSpokes on each region instead.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"description": "Output only. The current lifecycle state of this Hub.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress", +"The resource is active", +"The resource's Delete operation is in progress", +"The resource's Update operation is in progress", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub resource is deleted and another with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Time when the Hub was updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"InternalRange": { +"description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", +"id": "InternalRange", +"properties": { +"allocationOptions": { +"$ref": "AllocationOptions", +"description": "Optional. Range auto-allocation options, may be set only when auto-allocation is selected by not setting ip_cidr_range (and setting prefix_length)." +}, +"createTime": { +"description": "Output only. Time when the internal range was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. A description of this resource.", +"type": "string" +}, +"excludeCidrRanges": { +"description": "Optional. ExcludeCidrRanges flag. Specifies a set of CIDR blocks that allows exclusion of particular CIDR ranges from the auto-allocation process, without having to reserve these blocks", +"items": { +"type": "string" +}, +"type": "array" +}, +"immutable": { +"description": "Optional. Immutable ranges cannot have their fields modified, except for labels and description.", +"type": "boolean" +}, +"ipCidrRange": { +"description": "Optional. IP range that this internal range defines. NOTE: IPv6 ranges are limited to usage=EXTERNAL_TO_VPC and peering=FOR_SELF. NOTE: For IPv6 Ranges this field is compulsory, i.e. the address range must be specified explicitly.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined labels.", +"type": "object" +}, +"migration": { +"$ref": "Migration", +"description": "Optional. Must be present if usage is set to FOR_MIGRATION." +}, +"name": { +"description": "Identifier. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", +"type": "string" +}, +"network": { +"description": "Optional. The URL or resource ID of the network in which to reserve the internal range. The network cannot be deleted if there are any reserved internal ranges referring to it. Legacy networks are not supported. For example: https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} projects/{project}/locations/global/networks/{network} {network}", +"type": "string" +}, +"overlaps": { +"description": "Optional. Types of resources that are allowed to overlap with the current internal range.", +"items": { +"enum": [ +"OVERLAP_UNSPECIFIED", +"OVERLAP_ROUTE_RANGE", +"OVERLAP_EXISTING_SUBNET_RANGE" +], +"enumDescriptions": [ +"No overlap overrides.", +"Allow creation of static routes more specific than the current internal range.", +"Allow creation of internal ranges that overlap with existing subnets." +], +"type": "string" +}, +"type": "array" +}, +"peering": { +"description": "Optional. The type of peering set for this internal range.", +"enum": [ +"PEERING_UNSPECIFIED", +"FOR_SELF", +"FOR_PEER", +"NOT_SHARED" +], +"enumDescriptions": [ +"If Peering is left unspecified in CreateInternalRange or UpdateInternalRange, it will be defaulted to FOR_SELF.", +"This is the default behavior and represents the case that this internal range is intended to be used in the VPC in which it is created and is accessible from its peers. This implies that peers or peers-of-peers cannot use this range.", +"This behavior can be set when the internal range is being reserved for usage by the peers. This means that no resource within the VPC in which it is being created can use this to associate with a VPC resource, but one of the peers can. This represents donating a range for peers to use.", +"This behavior can be set when the internal range is being reserved for usage by the VPC in which it is created but not shared with the peers. In a sense it is local to the VPC. This can be used to create internal ranges for various purposes like HTTP_INTERNAL_LOAD_BALANCER or for Interconnect routes that are not shared with peers. This also implies that peers cannot use this range in a way that is visible to this VPC, but can re-use this range as long as it is NOT_SHARED from the peer VPC, too." +], +"type": "string" +}, +"prefixLength": { +"description": "Optional. An alternative to ip_cidr_range. Can be set when trying to create an IPv4 reservation that automatically finds a free range of the given size. If both ip_cidr_range and prefix_length are set, there is an error if the range sizes do not match. Can also be used during updates to change the range size. NOTE: For IPv6 this field only works if ip_cidr_range is set as well, and both fields must match. In other words, with IPv6 this field only works as a redundant parameter.", +"format": "int32", +"type": "integer" +}, +"targetCidrRange": { +"description": "Optional. Can be set to narrow down or pick a different address space while searching for a free range. If not set, defaults to the [\"10.0.0.0/8\", \"172.16.0.0/12\", \"192.168.0.0/16\"] address space (for auto-mode networks, the \"10.0.0.0/9\" range is used instead of \"10.0.0.0/8\"). This can be used to target the search in other rfc-1918 address spaces like \"172.16.0.0/12\" and \"192.168.0.0/16\" or non-rfc-1918 address spaces used in the VPC.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Time when the internal range was updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"usage": { +"description": "Optional. The type of usage set for this internal range.", +"enum": [ +"USAGE_UNSPECIFIED", +"FOR_VPC", +"EXTERNAL_TO_VPC", +"FOR_MIGRATION" +], +"enumDescriptions": [ +"Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", +"A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", +"Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases such as usage on-premises, with dynamic route announcements via Interconnect.", +"Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION the peering value has to be set to FOR_SELF or default to FOR_SELF when unset." +], +"type": "string" +}, +"users": { +"description": "Output only. The list of resources that refer to this internal range. Resources that use the internal range for their range allocation are referred to as users of the range. Other resources mark themselves as users while doing so by creating a reference to this internal range. Having a user, based on this reference, prevents deletion of the internal range that is referred to. Can be empty.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"ListHubsResponse": { +"description": "Response for HubService.ListHubs method.", +"id": "ListHubsResponse", +"properties": { +"hubs": { +"description": "Hubs to be returned.", +"items": { +"$ref": "Hub" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInternalRangesResponse": { +"description": "Response for InternalRange.ListInternalRanges", +"id": "ListInternalRangesResponse", +"properties": { +"internalRanges": { +"description": "Internal range to be returned.", +"items": { +"$ref": "InternalRange" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListSpokesResponse": { +"description": "The response for HubService.ListSpokes.", +"id": "ListSpokesResponse", +"properties": { +"nextPageToken": { +"description": "The next pagination token in the List response. It should be used as page_token for the following request. An empty value means no more result.", +"type": "string" +}, +"spokes": { +"description": "Spokes to be returned.", +"items": { +"$ref": "Spoke" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Migration": { +"description": "Specification for migration with source and target resource names.", +"id": "Migration", +"properties": { +"source": { +"description": "Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}", +"type": "string" +}, +"target": { +"description": "Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"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" +}, +"RouterApplianceInstance": { +"description": "RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.", +"id": "RouterApplianceInstance", +"properties": { +"ipAddress": { +"description": "The IP address of the network interface to use for peering.", +"type": "string" +}, +"networkInterface": { +"deprecated": true, +"type": "string" +}, +"virtualMachine": { +"description": "The URI of the virtual machine resource", +"type": "string" +} +}, +"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" +}, +"Spoke": { +"description": "A Spoke is an abstraction of a network attachment being attached to a Hub. A Spoke can be underlying a VPN tunnel, a VLAN (interconnect) attachment, a Router appliance, etc.", +"id": "Spoke", +"properties": { +"createTime": { +"description": "The time when the Spoke was created.", +"format": "google-datetime", +"type": "string" +}, +"description": { +"description": "Short description of the spoke resource", +"type": "string" +}, +"hub": { +"description": "The resource URL of the hub resource that the spoke is attached to", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "User-defined labels.", +"type": "object" +}, +"linkedInterconnectAttachments": { +"description": "The URIs of linked interconnect attachment resources", +"items": { +"type": "string" +}, +"type": "array" +}, +"linkedRouterApplianceInstances": { +"description": "The URIs of linked Router appliance resources", +"items": { +"$ref": "RouterApplianceInstance" +}, +"type": "array" +}, +"linkedVpnTunnels": { +"description": "The URIs of linked VPN tunnel resources", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. The name of a Spoke resource.", +"type": "string" +}, +"state": { +"description": "Output only. The current lifecycle state of this Hub.", +"enum": [ +"STATE_UNSPECIFIED", +"CREATING", +"ACTIVE", +"DELETING", +"UPDATING", +"FAILED" +], +"enumDescriptions": [ +"No state information available", +"The resource's create operation is in progress", +"The resource is active", +"The resource's Delete operation is in progress", +"The resource's Update operation is in progress", +"The resource is in an undefined state due to resource creation or deletion failure. You can try to delete the resource later or contact support for help." +], +"readOnly": true, +"type": "string" +}, +"uniqueId": { +"description": "Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "The time when the Spoke was updated.", +"format": "google-datetime", +"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": "Network Connectivity API", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..ef5972aa8233412b8fca9c92c6cdb0f3c99311e8 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/notebooks.v1.json @@ -0,0 +1,4620 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://notebooks.googleapis.com/", +"batchPath": "batch", +"canonicalName": "AI Platform Notebooks", +"description": "Notebooks API is used to manage notebook resources in Google Cloud.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/notebooks/docs/", +"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": "notebooks:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://notebooks.mtls.googleapis.com/", +"name": "notebooks", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "notebooks.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"environments": { +"methods": { +"create": { +"description": "Creates a new Environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "POST", +"id": "notebooks.projects.locations.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"environmentId": { +"description": "Required. User-defined unique ID of this environment. The `environment_id` must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.environments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/environments/{environment_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Environment.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.environments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/environments/{environment_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists environments in a project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments", +"httpMethod": "GET", +"id": "notebooks.projects.locations.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/environments", +"response": { +"$ref": "ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"executions": { +"methods": { +"create": { +"description": "Creates a new Execution in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/executions", +"httpMethod": "POST", +"id": "notebooks.projects.locations.executions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"executionId": { +"description": "Required. User-defined unique ID of this execution.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions", +"request": { +"$ref": "Execution" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes execution", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/executions/{executionsId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.executions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of executions", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists executions in a given project and location", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/executions", +"httpMethod": "GET", +"id": "notebooks.projects.locations.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter applied to resulting executions. Currently only supports filtering executions by a specified `schedule_id`. Format: `schedule_id=`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Sort by field.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/executions", +"response": { +"$ref": "ListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"instances": { +"methods": { +"create": { +"description": "Creates a new Instance in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"instanceId": { +"description": "Required. User-defined unique ID of this instance.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"request": { +"$ref": "Instance" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.instances.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"diagnose": { +"description": "Creates a Diagnostic File and runs Diagnostic Tool given an Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:diagnose", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.diagnose", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:diagnose", +"request": { +"$ref": "DiagnoseInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Instance" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getIamPolicy", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getInstanceHealth": { +"description": "Checks whether a notebook instance is healthy.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:getInstanceHealth", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.getInstanceHealth", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:getInstanceHealth", +"response": { +"$ref": "GetInstanceHealthResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"isUpgradeable": { +"description": "Checks whether a notebook instance is upgradable.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:isUpgradeable", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.isUpgradeable", +"parameterOrder": [ +"notebookInstance" +], +"parameters": { +"notebookInstance": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", +"enum": [ +"UPGRADE_TYPE_UNSPECIFIED", +"UPGRADE_FRAMEWORK", +"UPGRADE_OS", +"UPGRADE_CUDA", +"UPGRADE_ALL" +], +"enumDescriptions": [ +"Upgrade type is not specified.", +"Upgrade ML framework.", +"Upgrade Operating System.", +"Upgrade CUDA.", +"Upgrade All (OS, Framework and CUDA)." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+notebookInstance}:isUpgradeable", +"response": { +"$ref": "IsInstanceUpgradeableResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists instances in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances", +"httpMethod": "GET", +"id": "notebooks.projects.locations.instances.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances", +"response": { +"$ref": "ListInstancesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"migrate": { +"description": "Migrates an existing User-Managed Notebook to Workbench Instances.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:migrate", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.migrate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:migrate", +"request": { +"$ref": "MigrateInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"register": { +"description": "Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances:register", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.register", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/instances:register", +"request": { +"$ref": "RegisterInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"report": { +"description": "Allows notebook instances to report their latest instance information to the Notebooks API server. The server will merge the reported information to the instance metadata store. Do not use this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:report", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.report", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:report", +"request": { +"$ref": "ReportInstanceInfoRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reportEvent": { +"description": "Reports and processes an instance event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reportEvent", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.reportEvent", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reportEvent", +"request": { +"$ref": "ReportInstanceEventRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Resets a notebook instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reset", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reset", +"request": { +"$ref": "ResetInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rollback": { +"description": "Rollbacks a notebook instance to the previous version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rollback", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.rollback", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:rollback", +"request": { +"$ref": "RollbackInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setAccelerator": { +"description": "Updates the guest accelerators of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setAccelerator", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.setAccelerator", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setAccelerator", +"request": { +"$ref": "SetInstanceAcceleratorRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setIamPolicy", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.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/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setLabels": { +"description": "Replaces all the labels of an Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setLabels", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.setLabels", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setLabels", +"request": { +"$ref": "SetInstanceLabelsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setMachineType": { +"description": "Updates the machine type of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:setMachineType", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.setMachineType", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:setMachineType", +"request": { +"$ref": "SetInstanceMachineTypeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a notebook instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:start", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:start", +"request": { +"$ref": "StartInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a notebook instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:stop", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "StopInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:testIamPermissions", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.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/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateConfig": { +"description": "Update Notebook Instance configurations.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateConfig", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.updateConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:updateConfig", +"request": { +"$ref": "UpdateInstanceConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateMetadataItems": { +"description": "Add/update metadata items for an instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateMetadataItems", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.updateMetadataItems", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:updateMetadataItems", +"request": { +"$ref": "UpdateInstanceMetadataItemsRequest" +}, +"response": { +"$ref": "UpdateInstanceMetadataItemsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateShieldedInstanceConfig": { +"description": "Updates the Shielded instance configuration of a single Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:updateShieldedInstanceConfig", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.instances.updateShieldedInstanceConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:updateShieldedInstanceConfig", +"request": { +"$ref": "UpdateShieldedInstanceConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a notebook instance to the latest version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgrade", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:upgrade", +"request": { +"$ref": "UpgradeInstanceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgradeInternal": { +"description": "Allows notebook instances to call this endpoint to upgrade themselves. Do not use this method directly.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:upgradeInternal", +"httpMethod": "POST", +"id": "notebooks.projects.locations.instances.upgradeInternal", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:upgradeInternal", +"request": { +"$ref": "UpgradeInstanceInternalRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "notebooks.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "notebooks.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"runtimes": { +"methods": { +"create": { +"description": "Creates a new Runtime in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +}, +"runtimeId": { +"description": "Required. User-defined unique ID of this Runtime.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/runtimes", +"request": { +"$ref": "Runtime" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Runtime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.runtimes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"diagnose": { +"description": "Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:diagnose", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.diagnose", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtimes_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:diagnose", +"request": { +"$ref": "DiagnoseRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.runtimes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Runtime" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:getIamPolicy", +"httpMethod": "GET", +"id": "notebooks.projects.locations.runtimes.getIamPolicy", +"parameterOrder": [ +"resource" +], +"parameters": { +"options.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", +"location": "query", +"type": "integer" +}, +"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/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Runtimes in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes", +"httpMethod": "GET", +"id": "notebooks.projects.locations.runtimes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. List filter.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Optional. Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/runtimes", +"response": { +"$ref": "ListRuntimesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"migrate": { +"description": "Migrate an existing Runtime to a new Workbench Instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.migrate", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:migrate", +"request": { +"$ref": "MigrateRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update Notebook Runtime configuration.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}", +"httpMethod": "PATCH", +"id": "notebooks.projects.locations.runtimes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "Required. Specifies the path, relative to `Runtime`, of the field to update. For example, to change the software configuration kernels, the `update_mask` parameter would be specified as `software_config.kernels`, and the `PATCH` request body would specify the new value, as follows: { \"software_config\":{ \"kernels\": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated: - `software_config.kernels` - `software_config.post_startup_script` - `software_config.custom_gpu_driver_path` - `software_config.idle_shutdown` - `software_config.idle_shutdown_timeout` - `software_config.disable_terminal` - `labels`", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Runtime" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"refreshRuntimeTokenInternal": { +"description": "Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:refreshRuntimeTokenInternal", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.refreshRuntimeTokenInternal", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:refreshRuntimeTokenInternal", +"request": { +"$ref": "RefreshRuntimeTokenInternalRequest" +}, +"response": { +"$ref": "RefreshRuntimeTokenInternalResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reportEvent": { +"description": "Reports and processes a runtime event.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:reportEvent", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.reportEvent", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reportEvent", +"request": { +"$ref": "ReportRuntimeEventRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"reset": { +"description": "Resets a Managed Notebook Runtime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:reset", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.reset", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:reset", +"request": { +"$ref": "ResetRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:setIamPolicy", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.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/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"start": { +"description": "Starts a Managed Notebook Runtime. Perform \"Start\" on GPU instances; \"Resume\" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:start", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.start", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:start", +"request": { +"$ref": "StartRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"stop": { +"description": "Stops a Managed Notebook Runtime. Perform \"Stop\" on GPU instances; \"Suspend\" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:stop", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.stop", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:stop", +"request": { +"$ref": "StopRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"switch": { +"description": "Switch a Managed Notebook Runtime.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:switch", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.switch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:switch", +"request": { +"$ref": "SwitchRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:testIamPermissions", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.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/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"upgrade": { +"description": "Upgrades a Managed Notebook Runtime to the latest version.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:upgrade", +"httpMethod": "POST", +"id": "notebooks.projects.locations.runtimes.upgrade", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:upgrade", +"request": { +"$ref": "UpgradeRuntimeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"schedules": { +"methods": { +"create": { +"description": "Creates a new Scheduled Notebook in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules", +"httpMethod": "POST", +"id": "notebooks.projects.locations.schedules.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"scheduleId": { +"description": "Required. User-defined unique ID of this schedule.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/schedules", +"request": { +"$ref": "Schedule" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes schedule and all underlying jobs", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}", +"httpMethod": "DELETE", +"id": "notebooks.projects.locations.schedules.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of schedule", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}", +"httpMethod": "GET", +"id": "notebooks.projects.locations.schedules.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Schedule" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists schedules in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules", +"httpMethod": "GET", +"id": "notebooks.projects.locations.schedules.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter applied to resulting schedules.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Field to order results by.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum return size of the list call.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A previous returned page token that can be used to continue listing from the last result.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/schedules", +"response": { +"$ref": "ListSchedulesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"trigger": { +"description": "Triggers execution of an existing schedule.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schedules/{schedulesId}:trigger", +"httpMethod": "POST", +"id": "notebooks.projects.locations.schedules.trigger", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Format: `parent=projects/{project_id}/locations/{location}/schedules/{schedule_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/schedules/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:trigger", +"request": { +"$ref": "TriggerScheduleRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260130", +"rootUrl": "https://notebooks.googleapis.com/", +"schemas": { +"AcceleratorConfig": { +"description": "Definition of a hardware accelerator. Note that not all combinations of `type` and `core_count` are valid. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are not supported.", +"id": "AcceleratorConfig", +"properties": { +"coreCount": { +"description": "Count of cores of this accelerator.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of this accelerator.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_L4", +"NVIDIA_A100_80GB", +"NVIDIA_TESLA_T4_VWS", +"NVIDIA_TESLA_P100_VWS", +"NVIDIA_TESLA_P4_VWS", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"TPU_V2", +"TPU_V3" +], +"enumDescriptions": [ +"Accelerator type is not specified.", +"Accelerator type is Nvidia Tesla K80.", +"Accelerator type is Nvidia Tesla P100.", +"Accelerator type is Nvidia Tesla V100.", +"Accelerator type is Nvidia Tesla P4.", +"Accelerator type is Nvidia Tesla T4.", +"Accelerator type is Nvidia Tesla A100.", +"Accelerator type is Nvidia Tesla L4.", +"Accelerator type is Nvidia Tesla A100 80GB.", +"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.", +"Accelerator type is NVIDIA H100 80GB.", +"Accelerator type is NVIDIA H100 Mega 80GB.", +"(Coming soon) Accelerator type is TPU V2.", +"(Coming soon) Accelerator type is TPU V3." +], +"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" +}, +"BootImage": { +"description": "Definition of the boot image used by the Runtime. Used to facilitate runtime upgradeability.", +"id": "BootImage", +"properties": {}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"ContainerImage": { +"description": "Definition of a container image for starting a notebook instance with the environment installed in a container.", +"id": "ContainerImage", +"properties": { +"repository": { +"description": "Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`", +"type": "string" +}, +"tag": { +"description": "The tag of the container image. If not specified, this defaults to the latest tag.", +"type": "string" +} +}, +"type": "object" +}, +"DataprocParameters": { +"description": "Parameters used in Dataproc JobType executions.", +"id": "DataprocParameters", +"properties": { +"cluster": { +"description": "URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}`", +"type": "string" +} +}, +"type": "object" +}, +"DiagnoseInstanceRequest": { +"description": "Request for creating a notebook instance diagnostic file.", +"id": "DiagnoseInstanceRequest", +"properties": { +"diagnosticConfig": { +"$ref": "DiagnosticConfig", +"description": "Required. Defines flags that are used to run the diagnostic tool" +}, +"timeoutMinutes": { +"description": "Optional. Maximum amount of time in minutes before the operation times out.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DiagnoseRuntimeRequest": { +"description": "Request for creating a notebook instance diagnostic file.", +"id": "DiagnoseRuntimeRequest", +"properties": { +"diagnosticConfig": { +"$ref": "DiagnosticConfig", +"description": "Required. Defines flags that are used to run the diagnostic tool" +}, +"timeoutMinutes": { +"description": "Optional. Maximum amount of time in minutes before the operation times out.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DiagnosticConfig": { +"description": "Defines flags that are used to run the diagnostic tool", +"id": "DiagnosticConfig", +"properties": { +"copyHomeFilesFlagEnabled": { +"description": "Optional. Enables flag to copy all `/home/jupyter` folder contents", +"type": "boolean" +}, +"gcsBucket": { +"description": "Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`", +"type": "string" +}, +"packetCaptureFlagEnabled": { +"description": "Optional. Enables flag to capture packets from the instance for 30 seconds", +"type": "boolean" +}, +"relativePath": { +"description": "Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`", +"type": "string" +}, +"repairFlagEnabled": { +"description": "Optional. Enables flag to repair service for instance", +"type": "boolean" +} +}, +"type": "object" +}, +"Disk": { +"description": "An instance-attached disk resource.", +"id": "Disk", +"properties": { +"autoDelete": { +"description": "Indicates whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", +"type": "boolean" +}, +"boot": { +"description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", +"type": "boolean" +}, +"deviceName": { +"description": "Indicates a unique device name of your choice that is reflected into the `/dev/disk/by-id/google-*` tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine.This field is only applicable for persistent disks.", +"type": "string" +}, +"diskSizeGb": { +"description": "Indicates the size of the disk in base-2 GB.", +"format": "int64", +"type": "string" +}, +"guestOsFeatures": { +"description": "Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", +"items": { +"$ref": "GuestOsFeature" +}, +"type": "array" +}, +"index": { +"description": "A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.", +"format": "int64", +"type": "string" +}, +"interface": { +"description": "Indicates the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * `NVME` * `SCSI`", +"type": "string" +}, +"kind": { +"description": "Type of the resource. Always compute#attachedDisk for attached disks.", +"type": "string" +}, +"licenses": { +"description": "A list of publicly visible licenses. Reserved for Google's use. A License represents billing and aggregate usage data for public and marketplace images.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mode": { +"description": "The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`. If not specified, the default is to attach the disk in `READ_WRITE` mode. Valid values: * `READ_ONLY` * `READ_WRITE`", +"type": "string" +}, +"source": { +"description": "Indicates a valid partial or full URL to an existing Persistent Disk resource.", +"type": "string" +}, +"type": { +"description": "Indicates the type of the disk, either `SCRATCH` or `PERSISTENT`. Valid values: * `PERSISTENT` * `SCRATCH`", +"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" +}, +"EncryptionConfig": { +"description": "Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.", +"id": "EncryptionConfig", +"properties": { +"kmsKey": { +"description": "The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`", +"type": "string" +} +}, +"type": "object" +}, +"Environment": { +"description": "Definition of a software environment that is used to start a notebook instance.", +"id": "Environment", +"properties": { +"containerImage": { +"$ref": "ContainerImage", +"description": "Use a container image to start the notebook instance." +}, +"createTime": { +"description": "Output only. The time at which this environment was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A brief description of this environment.", +"type": "string" +}, +"displayName": { +"description": "Display name of this environment for the UI.", +"type": "string" +}, +"name": { +"description": "Output only. Name of this environment. Format: `projects/{project_id}/locations/{location}/environments/{environment_id}`", +"readOnly": true, +"type": "string" +}, +"postStartupScript": { +"description": "Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `\"gs://path-to-file/file-name\"`", +"type": "string" +}, +"vmImage": { +"$ref": "VmImage", +"description": "Use a Compute Engine VM image to start the notebook instance." +} +}, +"type": "object" +}, +"Event": { +"description": "The definition of an Event for a managed / semi-managed notebook instance.", +"id": "Event", +"properties": { +"details": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Event details. This field is used to pass event information.", +"type": "object" +}, +"reportTime": { +"description": "Event report time.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Event type.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"IDLE", +"HEARTBEAT", +"HEALTH", +"MAINTENANCE" +], +"enumDescriptions": [ +"Event is not specified.", +"The instance / runtime is idle", +"The instance / runtime is available. This event indicates that instance / runtime underlying compute is operational.", +"The instance / runtime health is available. This event indicates that instance / runtime health information.", +"The instance / runtime is available. This event allows instance / runtime to send Host maintenance information to Control Plane. https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance" +], +"type": "string" +} +}, +"type": "object" +}, +"Execution": { +"description": "The definition of a single executed notebook.", +"id": "Execution", +"properties": { +"createTime": { +"description": "Output only. Time the Execution was instantiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A brief description of this execution.", +"type": "string" +}, +"displayName": { +"description": "Output only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'.", +"readOnly": true, +"type": "string" +}, +"executionTemplate": { +"$ref": "ExecutionTemplate", +"description": "execute metadata including name, hardware spec, region, labels, etc." +}, +"jobUri": { +"description": "Output only. The URI of the external job used to execute the notebook.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the execute. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`", +"readOnly": true, +"type": "string" +}, +"outputNotebookFile": { +"description": "Output notebook file generated by this execution", +"type": "string" +}, +"state": { +"description": "Output only. State of the underlying AI Platform job.", +"enum": [ +"STATE_UNSPECIFIED", +"QUEUED", +"PREPARING", +"RUNNING", +"SUCCEEDED", +"FAILED", +"CANCELLING", +"CANCELLED", +"EXPIRED", +"INITIALIZING" +], +"enumDescriptions": [ +"The job state is unspecified.", +"The job has been just created and processing has not yet begun.", +"The service is preparing to execution the job.", +"The job is in progress.", +"The job completed successfully.", +"The job failed. `error_message` should contain the details of the failure.", +"The job is being cancelled. `error_message` should describe the reason for the cancellation.", +"The job has been cancelled. `error_message` should describe the reason for the cancellation.", +"The job has become expired (relevant to Vertex AI jobs) https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState", +"The Execution is being created." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the Execution was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExecutionTemplate": { +"description": "The description a notebook execution workload.", +"id": "ExecutionTemplate", +"properties": { +"acceleratorConfig": { +"$ref": "SchedulerAcceleratorConfig", +"description": "Configuration (count and accelerator type) for hardware running notebook execution." +}, +"containerImageUri": { +"description": "Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container", +"type": "string" +}, +"dataprocParameters": { +"$ref": "DataprocParameters", +"description": "Parameters used in Dataproc JobType executions." +}, +"inputNotebookFile": { +"description": "Path to the notebook file to execute. Must be in a Google Cloud Storage bucket. Format: `gs://{bucket_name}/{folder}/{notebook_file_name}` Ex: `gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb`", +"type": "string" +}, +"jobType": { +"description": "The type of Job to be used on this execution.", +"enum": [ +"JOB_TYPE_UNSPECIFIED", +"VERTEX_AI", +"DATAPROC" +], +"enumDescriptions": [ +"No type specified.", +"Custom Job in `aiplatform.googleapis.com`. Default value for an execution.", +"Run execution on a cluster with Dataproc as a job. https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs" +], +"type": "string" +}, +"kernelSpec": { +"description": "Name of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.", +"type": "object" +}, +"masterType": { +"description": "Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when `scaleTier` is set to `CUSTOM`. You can use certain Compute Engine machine types directly in this field. The following types are supported: - `n1-standard-4` - `n1-standard-8` - `n1-standard-16` - `n1-standard-32` - `n1-standard-64` - `n1-standard-96` - `n1-highmem-2` - `n1-highmem-4` - `n1-highmem-8` - `n1-highmem-16` - `n1-highmem-32` - `n1-highmem-64` - `n1-highmem-96` - `n1-highcpu-16` - `n1-highcpu-32` - `n1-highcpu-64` - `n1-highcpu-96` Alternatively, you can use the following legacy machine types: - `standard` - `large_model` - `complex_model_s` - `complex_model_m` - `complex_model_l` - `standard_gpu` - `complex_model_m_gpu` - `complex_model_l_gpu` - `standard_p100` - `complex_model_m_p100` - `standard_v100` - `large_model_v100` - `complex_model_m_v100` - `complex_model_l_v100` Finally, if you want to use a TPU for training, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).", +"type": "string" +}, +"outputNotebookFolder": { +"description": "Path to the notebook folder to write to. Must be in a Google Cloud Storage bucket path. Format: `gs://{bucket_name}/{folder}` Ex: `gs://notebook_user/scheduled_notebooks`", +"type": "string" +}, +"parameters": { +"description": "Parameters used within the 'input_notebook_file' notebook.", +"type": "string" +}, +"paramsYamlFile": { +"description": "Parameters to be overridden in the notebook during execution. Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on how to specifying parameters in the input notebook and pass them here in an YAML file. Ex: `gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml`", +"type": "string" +}, +"scaleTier": { +"deprecated": true, +"description": "Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.", +"enum": [ +"SCALE_TIER_UNSPECIFIED", +"BASIC", +"STANDARD_1", +"PREMIUM_1", +"BASIC_GPU", +"BASIC_TPU", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified Scale Tier.", +"A single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.", +"Many workers and a few parameter servers.", +"A large number of workers with many parameter servers.", +"A single worker instance with a K80 GPU.", +"A single worker instance with a Cloud TPU.", +"The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You _must_ set `ExecutionTemplate.masterType` to specify the type of machine to use for your master node. This is the only required setting." +], +"type": "string" +}, +"serviceAccount": { +"description": "The email address of a service account to use when running the execution. You must have the `iam.serviceAccounts.actAs` permission for the specified service account.", +"type": "string" +}, +"tensorboard": { +"description": "The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`", +"type": "string" +}, +"vertexAiParameters": { +"$ref": "VertexAIParameters", +"description": "Parameters used in Vertex AI JobType executions." +} +}, +"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" +}, +"GetInstanceHealthResponse": { +"description": "Response for checking if a notebook instance is healthy.", +"id": "GetInstanceHealthResponse", +"properties": { +"healthInfo": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Additional information about instance health. Example: healthInfo\": { \"docker_proxy_agent_status\": \"1\", \"docker_status\": \"1\", \"jupyterlab_api_status\": \"-1\", \"jupyterlab_status\": \"-1\", \"updated\": \"2020-10-18 09:40:03.573409\" }", +"readOnly": true, +"type": "object" +}, +"healthState": { +"description": "Output only. Runtime health_state.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"AGENT_NOT_INSTALLED", +"AGENT_NOT_RUNNING" +], +"enumDescriptions": [ +"The instance substate is unknown.", +"The instance is known to be in an healthy state (for example, critical daemons are running) Applies to ACTIVE state.", +"The instance is known to be in an unhealthy state (for example, critical daemons are not running) Applies to ACTIVE state.", +"The instance has not installed health monitoring agent. Applies to ACTIVE state.", +"The instance health monitoring agent is not running. Applies to ACTIVE state." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GuestOsFeature": { +"description": "Guest OS features for boot disk.", +"id": "GuestOsFeature", +"properties": { +"type": { +"description": "The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid values: * `FEATURE_TYPE_UNSPECIFIED` * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `UEFI_COMPATIBLE` * `VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS`", +"type": "string" +} +}, +"type": "object" +}, +"Instance": { +"description": "The definition of a notebook instance.", +"id": "Instance", +"properties": { +"acceleratorConfig": { +"$ref": "AcceleratorConfig", +"description": "The hardware accelerator used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list)." +}, +"bootDiskSizeGb": { +"description": "Input only. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100.", +"format": "int64", +"type": "string" +}, +"bootDiskType": { +"description": "Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"PD_STANDARD", +"PD_SSD", +"PD_BALANCED", +"PD_EXTREME" +], +"enumDescriptions": [ +"Disk type not set.", +"Standard persistent disk type.", +"SSD persistent disk type.", +"Balanced persistent disk type.", +"Extreme persistent disk type." +], +"type": "string" +}, +"canIpForward": { +"description": "Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward", +"type": "boolean" +}, +"containerImage": { +"$ref": "ContainerImage", +"description": "Use a container image to start the notebook instance." +}, +"createTime": { +"description": "Output only. Instance creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"creator": { +"description": "Output only. Email address of entity that sent original CreateInstance request.", +"readOnly": true, +"type": "string" +}, +"customGpuDriverPath": { +"description": "Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.", +"type": "string" +}, +"dataDiskSizeGb": { +"description": "Input only. The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100.", +"format": "int64", +"type": "string" +}, +"dataDiskType": { +"description": "Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"PD_STANDARD", +"PD_SSD", +"PD_BALANCED", +"PD_EXTREME" +], +"enumDescriptions": [ +"Disk type not set.", +"Standard persistent disk type.", +"SSD persistent disk type.", +"Balanced persistent disk type.", +"Extreme persistent disk type." +], +"type": "string" +}, +"diskEncryption": { +"description": "Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.", +"enum": [ +"DISK_ENCRYPTION_UNSPECIFIED", +"GMEK", +"CMEK" +], +"enumDescriptions": [ +"Disk encryption is not specified.", +"Use Google managed encryption keys to encrypt the boot disk.", +"Use customer managed encryption keys to encrypt the boot disk." +], +"type": "string" +}, +"disks": { +"description": "Output only. Attached disks to notebook instance.", +"items": { +"$ref": "Disk" +}, +"readOnly": true, +"type": "array" +}, +"installGpuDriver": { +"description": "Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.", +"type": "boolean" +}, +"instanceMigrationEligibility": { +"$ref": "InstanceMigrationEligibility", +"description": "Output only. Checks how feasible a migration from UmN to WbI is.", +"readOnly": true +}, +"instanceOwners": { +"description": "Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.", +"items": { +"type": "string" +}, +"type": "array" +}, +"kmsKey": { +"description": "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](/kms/docs/quickstart).", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this instance. These can be later modified by the setLabels method.", +"type": "object" +}, +"machineType": { +"description": "Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-resource) of this instance.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Custom metadata to apply to this instance. For example, to specify a Cloud Storage bucket for automatic backup, you can use the `gcs-data-bucket` metadata tag. Format: `\"--metadata=gcs-data-bucket=BUCKET\"`.", +"type": "object" +}, +"migrated": { +"description": "Output only. Bool indicating whether this notebook has been migrated to a Workbench Instance", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", +"readOnly": true, +"type": "string" +}, +"network": { +"description": "The name of the VPC that this instance is in. Format: `projects/{project_id}/global/networks/{network_id}`", +"type": "string" +}, +"nicType": { +"description": "Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", +"enum": [ +"UNSPECIFIED_NIC_TYPE", +"VIRTIO_NET", +"GVNIC" +], +"enumDescriptions": [ +"No type specified.", +"VIRTIO", +"GVNIC" +], +"type": "string" +}, +"noProxyAccess": { +"description": "If true, the notebook instance will not register with the proxy.", +"type": "boolean" +}, +"noPublicIp": { +"description": "If true, no external IP will be assigned to this instance.", +"type": "boolean" +}, +"noRemoveDataDisk": { +"description": "Input only. If true, the data disk will not be auto deleted when deleting the instance.", +"type": "boolean" +}, +"postStartupScript": { +"description": "Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).", +"type": "string" +}, +"proxyUri": { +"description": "Output only. The proxy endpoint that is used to access the Jupyter notebook.", +"readOnly": true, +"type": "string" +}, +"reservationAffinity": { +"$ref": "ReservationAffinity", +"description": "Optional. The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this notebook instance." +}, +"serviceAccount": { +"description": "The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.", +"type": "string" +}, +"serviceAccountScopes": { +"description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following [scopes](https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam) are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute", +"items": { +"type": "string" +}, +"type": "array" +}, +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm)." +}, +"state": { +"description": "Output only. The state of this instance.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTING", +"PROVISIONING", +"ACTIVE", +"STOPPING", +"STOPPED", +"DELETED", +"UPGRADING", +"INITIALIZING", +"REGISTERING", +"SUSPENDING", +"SUSPENDED" +], +"enumDescriptions": [ +"State is not specified.", +"The control logic is starting the instance.", +"The control logic is installing required frameworks and registering the instance with notebook proxy", +"The instance is running.", +"The control logic is stopping the instance.", +"The instance is stopped.", +"The instance is deleted.", +"The instance is upgrading.", +"The instance is being created.", +"The instance is getting registered.", +"The instance is suspending.", +"The instance is suspended." +], +"readOnly": true, +"type": "string" +}, +"subnet": { +"description": "The name of the subnet that this instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", +"type": "string" +}, +"tags": { +"description": "Optional. The Compute Engine network tags to add to runtime (see [Add network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Instance update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"upgradeHistory": { +"description": "The upgrade history of this instance.", +"items": { +"$ref": "UpgradeHistoryEntry" +}, +"type": "array" +}, +"vmImage": { +"$ref": "VmImage", +"description": "Use a Compute Engine VM image to start the notebook instance." +} +}, +"type": "object" +}, +"InstanceConfig": { +"description": "Notebook instance configurations that can be updated.", +"id": "InstanceConfig", +"properties": { +"enableHealthMonitoring": { +"description": "Verifies core internal services are running.", +"type": "boolean" +}, +"notebookUpgradeSchedule": { +"description": "Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).", +"type": "string" +} +}, +"type": "object" +}, +"InstanceMigrationEligibility": { +"description": "InstanceMigrationEligibility represents the feasibility information of a migration from UmN to WbI.", +"id": "InstanceMigrationEligibility", +"properties": { +"errors": { +"description": "Output only. Certain configurations make the UmN ineligible for an automatic migration. A manual migration is required.", +"items": { +"enum": [ +"ERROR_UNSPECIFIED", +"DATAPROC_HUB" +], +"enumDescriptions": [ +"Default type.", +"The UmN uses Dataproc Hub and cannot be migrated." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warnings": { +"description": "Output only. Certain configurations will be defaulted during the migration.", +"items": { +"enum": [ +"WARNING_UNSPECIFIED", +"UNSUPPORTED_MACHINE_TYPE", +"UNSUPPORTED_ACCELERATOR_TYPE", +"UNSUPPORTED_OS", +"NO_REMOVE_DATA_DISK", +"GCS_BACKUP", +"POST_STARTUP_SCRIPT" +], +"enumDescriptions": [ +"Default type.", +"The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type e2-standard-4. Users can change the machine type after the migration.", +"The UmN uses an accelerator type that's unsupported in WbI. It will be migrated without an accelerator. User can attach an accelerator after the migration.", +"The UmN uses an operating system that's unsupported in WbI (e.g. Debian 10, Ubuntu). It will be replaced with Debian 11 in WbI.", +"This UmN is configured with no_remove_data_disk, which is no longer available in WbI.", +"This UmN is configured with the Cloud Storage backup feature, which is no longer available in WbI.", +"This UmN is configured with a post startup script. Please optionally provide the `post_startup_script_option` for the migration." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"IsInstanceUpgradeableResponse": { +"description": "Response for checking if a notebook instance is upgradeable.", +"id": "IsInstanceUpgradeableResponse", +"properties": { +"upgradeImage": { +"description": "The new image self link this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.", +"type": "string" +}, +"upgradeInfo": { +"description": "Additional information about upgrade.", +"type": "string" +}, +"upgradeVersion": { +"description": "The version this instance will be upgraded to if calling the upgrade endpoint. This field will only be populated if field upgradeable is true.", +"type": "string" +}, +"upgradeable": { +"description": "If an instance is upgradeable.", +"type": "boolean" +} +}, +"type": "object" +}, +"ListEnvironmentsResponse": { +"description": "Response for listing environments.", +"id": "ListEnvironmentsResponse", +"properties": { +"environments": { +"description": "A list of returned environments.", +"items": { +"$ref": "Environment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListExecutionsResponse": { +"description": "Response for listing scheduled notebook executions", +"id": "ListExecutionsResponse", +"properties": { +"executions": { +"description": "A list of returned instances.", +"items": { +"$ref": "Execution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"unreachable": { +"description": "Executions IDs that could not be reached. For example: ['projects/{project_id}/location/{location}/executions/imagenet_test1', 'projects/{project_id}/location/{location}/executions/classifier_train1']", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListInstancesResponse": { +"description": "Response for listing notebook instances.", +"id": "ListInstancesResponse", +"properties": { +"instances": { +"description": "A list of returned instances.", +"items": { +"$ref": "Instance" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"unreachable": { +"description": "Locations that could not be reached. For example, `['us-west1-a', 'us-central1-b']`. A ListInstancesResponse will only contain either instances or unreachables,", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListRuntimesResponse": { +"description": "Response for listing Managed Notebook Runtimes.", +"id": "ListRuntimesResponse", +"properties": { +"nextPageToken": { +"description": "Page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"runtimes": { +"description": "A list of returned Runtimes.", +"items": { +"$ref": "Runtime" +}, +"type": "array" +}, +"unreachable": { +"description": "Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSchedulesResponse": { +"description": "Response for listing scheduled notebook job.", +"id": "ListSchedulesResponse", +"properties": { +"nextPageToken": { +"description": "Page token that can be used to continue listing from the last result in the next list call.", +"type": "string" +}, +"schedules": { +"description": "A list of returned instances.", +"items": { +"$ref": "Schedule" +}, +"type": "array" +}, +"unreachable": { +"description": "Schedules that could not be reached. For example: ['projects/{project_id}/location/{location}/schedules/monthly_digest', 'projects/{project_id}/location/{location}/schedules/weekly_sentiment']", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"LocalDisk": { +"description": "A Local attached disk resource.", +"id": "LocalDisk", +"properties": { +"autoDelete": { +"description": "Optional. Output only. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", +"readOnly": true, +"type": "boolean" +}, +"boot": { +"description": "Optional. Output only. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", +"readOnly": true, +"type": "boolean" +}, +"deviceName": { +"description": "Optional. Output only. Specifies a unique device name of your choice that is reflected into the `/dev/disk/by-id/google-*` tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.", +"readOnly": true, +"type": "string" +}, +"guestOsFeatures": { +"description": "Output only. Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", +"items": { +"$ref": "RuntimeGuestOsFeature" +}, +"readOnly": true, +"type": "array" +}, +"index": { +"description": "Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"initializeParams": { +"$ref": "LocalDiskInitializeParams", +"description": "Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both." +}, +"interface": { +"description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * `NVME` * `SCSI`", +"type": "string" +}, +"kind": { +"description": "Output only. Type of the resource. Always compute#attachedDisk for attached disks.", +"readOnly": true, +"type": "string" +}, +"licenses": { +"description": "Output only. Any valid publicly visible licenses.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"mode": { +"description": "The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`. If not specified, the default is to attach the disk in `READ_WRITE` mode. Valid values: * `READ_ONLY` * `READ_WRITE`", +"type": "string" +}, +"source": { +"description": "Specifies a valid partial or full URL to an existing Persistent Disk resource.", +"type": "string" +}, +"type": { +"description": "Specifies the type of the disk, either `SCRATCH` or `PERSISTENT`. If not specified, the default is `PERSISTENT`. Valid values: * `PERSISTENT` * `SCRATCH`", +"type": "string" +} +}, +"type": "object" +}, +"LocalDiskInitializeParams": { +"description": "Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.", +"id": "LocalDiskInitializeParams", +"properties": { +"description": { +"description": "Optional. Provide this property when creating the disk.", +"type": "string" +}, +"diskName": { +"description": "Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.", +"type": "string" +}, +"diskSizeGb": { +"description": "Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.", +"format": "int64", +"type": "string" +}, +"diskType": { +"description": "Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`).", +"enum": [ +"DISK_TYPE_UNSPECIFIED", +"PD_STANDARD", +"PD_SSD", +"PD_BALANCED", +"PD_EXTREME" +], +"enumDescriptions": [ +"Disk type not set.", +"Standard persistent disk type.", +"SSD persistent disk type.", +"Balanced persistent disk type.", +"Extreme persistent disk type." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.", +"type": "object" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"MigrateInstanceRequest": { +"description": "Request for migrating a User-Managed Notebook to Workbench Instances.", +"id": "MigrateInstanceRequest", +"properties": { +"postStartupScriptOption": { +"description": "Optional. Specifies the behavior of post startup script during migration.", +"enum": [ +"POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", +"POST_STARTUP_SCRIPT_OPTION_SKIP", +"POST_STARTUP_SCRIPT_OPTION_RERUN" +], +"enumDescriptions": [ +"Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", +"Not migrate the post startup script to the new Workbench Instance.", +"Redownload and rerun the same post startup script as the User-Managed Notebook." +], +"type": "string" +} +}, +"type": "object" +}, +"MigrateRuntimeRequest": { +"description": "Request for migrating a Runtime to a Workbench Instance.", +"id": "MigrateRuntimeRequest", +"properties": { +"network": { +"description": "Optional. Name of the VPC that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same VPC, and this field must be empty. Format: `projects/{project_id}/global/networks/{network_id}`", +"type": "string" +}, +"postStartupScriptOption": { +"description": "Optional. Specifies the behavior of post startup script during migration.", +"enum": [ +"POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", +"POST_STARTUP_SCRIPT_OPTION_SKIP", +"POST_STARTUP_SCRIPT_OPTION_RERUN" +], +"enumDescriptions": [ +"Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", +"Not migrate the post startup script to the new Workbench Instance.", +"Redownload and rerun the same post startup script as the Google-Managed Notebook." +], +"type": "string" +}, +"requestId": { +"description": "Optional. Idempotent request UUID.", +"type": "string" +}, +"serviceAccount": { +"description": "Optional. The service account to be included in the Compute Engine instance of the new Workbench Instance when the Runtime uses \"single user only\" mode for permission. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty.", +"type": "string" +}, +"subnet": { +"description": "Optional. Name of the subnet that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same subnet, and this field must be empty. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"endpoint": { +"description": "API endpoint name of this operation.", +"type": "string" +}, +"requestedCancellation": { +"description": "Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"type": "boolean" +}, +"statusMessage": { +"description": "Human-readable status of the operation, if any.", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"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": { +"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" +}, +"RefreshRuntimeTokenInternalRequest": { +"description": "Request for getting a new access token.", +"id": "RefreshRuntimeTokenInternalRequest", +"properties": { +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"RefreshRuntimeTokenInternalResponse": { +"description": "Response with a new access token.", +"id": "RefreshRuntimeTokenInternalResponse", +"properties": { +"accessToken": { +"description": "The OAuth 2.0 access token.", +"type": "string" +}, +"expireTime": { +"description": "Output only. Token expiration time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RegisterInstanceRequest": { +"description": "Request for registering a notebook instance.", +"id": "RegisterInstanceRequest", +"properties": { +"instanceId": { +"description": "Required. User defined unique ID of this instance. The `instance_id` must be 1 to 63 characters long and contain only lowercase letters, numeric characters, and dashes. The first character must be a lowercase letter and the last character cannot be a dash.", +"type": "string" +} +}, +"type": "object" +}, +"ReportInstanceEventRequest": { +"description": "Request for reporting a Managed Notebook Event.", +"id": "ReportInstanceEventRequest", +"properties": { +"event": { +"$ref": "Event", +"description": "Required. The Event to be reported." +}, +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"ReportInstanceInfoRequest": { +"description": "Request for notebook instances to report information to Notebooks API.", +"id": "ReportInstanceInfoRequest", +"properties": { +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "The metadata reported to Notebooks API. This will be merged to the instance metadata store", +"type": "object" +}, +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"ReportRuntimeEventRequest": { +"description": "Request for reporting a Managed Notebook Event.", +"id": "ReportRuntimeEventRequest", +"properties": { +"event": { +"$ref": "Event", +"description": "Required. The Event to be reported." +}, +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"ReservationAffinity": { +"description": "Reservation Affinity for consuming Zonal reservation.", +"id": "ReservationAffinity", +"properties": { +"consumeReservationType": { +"description": "Optional. Type of reservation to consume", +"enum": [ +"TYPE_UNSPECIFIED", +"NO_RESERVATION", +"ANY_RESERVATION", +"SPECIFIC_RESERVATION" +], +"enumDescriptions": [ +"Default type.", +"Do not consume from any allocated capacity.", +"Consume any reservation available.", +"Must consume from a specific reservation. Must specify key value fields for specifying the reservations." +], +"type": "string" +}, +"key": { +"description": "Optional. Corresponds to the label key of reservation resource.", +"type": "string" +}, +"values": { +"description": "Optional. Corresponds to the label values of reservation resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResetInstanceRequest": { +"description": "Request for resetting a notebook instance", +"id": "ResetInstanceRequest", +"properties": {}, +"type": "object" +}, +"ResetRuntimeRequest": { +"description": "Request for resetting a Managed Notebook Runtime.", +"id": "ResetRuntimeRequest", +"properties": { +"requestId": { +"description": "Idempotent request UUID.", +"type": "string" +} +}, +"type": "object" +}, +"RollbackInstanceRequest": { +"description": "Request for rollbacking a notebook instance", +"id": "RollbackInstanceRequest", +"properties": { +"targetSnapshot": { +"description": "Required. The snapshot for rollback. Example: `projects/test-project/global/snapshots/krwlzipynril`.", +"type": "string" +} +}, +"type": "object" +}, +"Runtime": { +"description": "The definition of a Runtime for a managed notebook instance.", +"id": "Runtime", +"properties": { +"accessConfig": { +"$ref": "RuntimeAccessConfig", +"description": "The config settings for accessing runtime." +}, +"createTime": { +"description": "Output only. Runtime creation time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"healthState": { +"description": "Output only. Runtime health_state.", +"enum": [ +"HEALTH_STATE_UNSPECIFIED", +"HEALTHY", +"UNHEALTHY", +"AGENT_NOT_INSTALLED", +"AGENT_NOT_RUNNING" +], +"enumDescriptions": [ +"The runtime substate is unknown.", +"The runtime is known to be in an healthy state (for example, critical daemons are running) Applies to ACTIVE state.", +"The runtime is known to be in an unhealthy state (for example, critical daemons are not running) Applies to ACTIVE state.", +"The runtime has not installed health monitoring agent. Applies to ACTIVE state.", +"The runtime health monitoring agent is not running. Applies to ACTIVE state." +], +"readOnly": true, +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this Managed Notebook or Runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", +"type": "object" +}, +"metrics": { +"$ref": "RuntimeMetrics", +"description": "Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.", +"readOnly": true +}, +"migrated": { +"description": "Output only. Bool indicating whether this notebook has been migrated to a Workbench Instance", +"readOnly": true, +"type": "boolean" +}, +"name": { +"description": "Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`", +"readOnly": true, +"type": "string" +}, +"runtimeMigrationEligibility": { +"$ref": "RuntimeMigrationEligibility", +"description": "Output only. Checks how feasible a migration from GmN to WbI is.", +"readOnly": true +}, +"softwareConfig": { +"$ref": "RuntimeSoftwareConfig", +"description": "The config settings for software inside the runtime." +}, +"state": { +"description": "Output only. Runtime state.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTING", +"PROVISIONING", +"ACTIVE", +"STOPPING", +"STOPPED", +"DELETING", +"UPGRADING", +"INITIALIZING" +], +"enumDescriptions": [ +"State is not specified.", +"The compute layer is starting the runtime. It is not ready for use.", +"The compute layer is installing required frameworks and registering the runtime with notebook proxy. It cannot be used.", +"The runtime is currently running. It is ready for use.", +"The control logic is stopping the runtime. It cannot be used.", +"The runtime is stopped. It cannot be used.", +"The runtime is being deleted. It cannot be used.", +"The runtime is upgrading. It cannot be used.", +"The runtime is being created and set up. It is not ready for use." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Runtime update time.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"virtualMachine": { +"$ref": "VirtualMachine", +"description": "Use a Compute Engine VM image to start the managed notebook instance." +} +}, +"type": "object" +}, +"RuntimeAcceleratorConfig": { +"description": "Definition of the types of hardware accelerators that can be used. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes). Examples: * `nvidia-tesla-k80` * `nvidia-tesla-p100` * `nvidia-tesla-v100` * `nvidia-tesla-p4` * `nvidia-tesla-t4` * `nvidia-tesla-a100`", +"id": "RuntimeAcceleratorConfig", +"properties": { +"coreCount": { +"description": "Count of cores of this accelerator.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Accelerator model.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_L4", +"TPU_V2", +"TPU_V3", +"NVIDIA_TESLA_T4_VWS", +"NVIDIA_TESLA_P100_VWS", +"NVIDIA_TESLA_P4_VWS" +], +"enumDeprecated": [ +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Accelerator type is not specified.", +"Accelerator type is Nvidia Tesla K80.", +"Accelerator type is Nvidia Tesla P100.", +"Accelerator type is Nvidia Tesla V100.", +"Accelerator type is Nvidia Tesla P4.", +"Accelerator type is Nvidia Tesla T4.", +"Accelerator type is Nvidia Tesla A100 - 40GB.", +"Accelerator type is Nvidia L4.", +"(Coming soon) Accelerator type is TPU V2.", +"(Coming soon) Accelerator type is TPU V3.", +"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P4 Virtual Workstations." +], +"type": "string" +} +}, +"type": "object" +}, +"RuntimeAccessConfig": { +"description": "Specifies the login configuration for Runtime", +"id": "RuntimeAccessConfig", +"properties": { +"accessType": { +"description": "The type of access mode this instance.", +"enum": [ +"RUNTIME_ACCESS_TYPE_UNSPECIFIED", +"SINGLE_USER", +"SERVICE_ACCOUNT" +], +"enumDescriptions": [ +"Unspecified access.", +"Single user login.", +"Service Account mode. In Service Account mode, Runtime creator will specify a SA that exists in the consumer project. Using Runtime Service Account field. Users accessing the Runtime need ActAs (Service Account User) permission." +], +"type": "string" +}, +"proxyUri": { +"description": "Output only. The proxy endpoint that is used to access the runtime.", +"readOnly": true, +"type": "string" +}, +"runtimeOwner": { +"description": "The owner of this runtime after creation. Format: `alias@example.com` Currently supports one owner only.", +"type": "string" +} +}, +"type": "object" +}, +"RuntimeGuestOsFeature": { +"description": "Optional. A list of features to enable on the guest operating system. Applicable only for bootable images. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Guest OS features for boot disk.", +"id": "RuntimeGuestOsFeature", +"properties": { +"type": { +"description": "The ID of a supported feature. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Valid values: * `FEATURE_TYPE_UNSPECIFIED` * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `UEFI_COMPATIBLE` * `VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS`", +"type": "string" +} +}, +"type": "object" +}, +"RuntimeMetrics": { +"description": "Contains runtime daemon metrics, such as OS and kernels and sessions stats.", +"id": "RuntimeMetrics", +"properties": { +"systemMetrics": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The system metrics.", +"readOnly": true, +"type": "object" +} +}, +"type": "object" +}, +"RuntimeMigrationEligibility": { +"description": "RuntimeMigrationEligibility represents the feasibility information of a migration from GmN to WbI.", +"id": "RuntimeMigrationEligibility", +"properties": { +"errors": { +"description": "Output only. Certain configurations make the GmN ineligible for an automatic migration. A manual migration is required.", +"items": { +"enum": [ +"ERROR_UNSPECIFIED", +"CUSTOM_CONTAINER" +], +"enumDescriptions": [ +"Default type.", +"The GmN is configured with custom container(s) and cannot be migrated." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"warnings": { +"description": "Output only. Certain configurations will be defaulted during the migration.", +"items": { +"enum": [ +"WARNING_UNSPECIFIED", +"UNSUPPORTED_ACCELERATOR_TYPE", +"UNSUPPORTED_OS", +"RESERVED_IP_RANGE", +"GOOGLE_MANAGED_NETWORK", +"POST_STARTUP_SCRIPT", +"SINGLE_USER" +], +"enumDescriptions": [ +"Default type.", +"The GmN uses an accelerator type that's unsupported in WbI. It will be migrated without an accelerator. Users can attach an accelerator after the migration.", +"The GmN uses an operating system that's unsupported in WbI (e.g. Debian 10). It will be replaced with Debian 11 in WbI.", +"This GmN is configured with reserved IP range, which is no longer applicable in WbI.", +"This GmN is configured with a Google managed network. Please provide the `network` and `subnet` options for the migration.", +"This GmN is configured with a post startup script. Please optionally provide the `post_startup_script_option` for the migration.", +"This GmN is configured with single user mode. Please optionally provide the `service_account` option for the migration." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"RuntimeShieldedInstanceConfig": { +"description": "A set of Shielded Instance options. See [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid.", +"id": "RuntimeShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Defines whether the instance has the vTPM enabled. Enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"RuntimeSoftwareConfig": { +"description": "Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in `key:value` format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `enable_health_monitoring: true`", +"id": "RuntimeSoftwareConfig", +"properties": { +"customGpuDriverPath": { +"description": "Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.", +"type": "string" +}, +"disableTerminal": { +"description": "Bool indicating whether JupyterLab terminal will be available or not. Default: False", +"type": "boolean" +}, +"enableHealthMonitoring": { +"description": "Verifies core internal services are running. Default: True", +"type": "boolean" +}, +"idleShutdown": { +"description": "Runtime will automatically shutdown after idle_shutdown_time. Default: True", +"type": "boolean" +}, +"idleShutdownTimeout": { +"description": "Time in minutes to wait before shutting down runtime. Default: 180 minutes", +"format": "int32", +"type": "integer" +}, +"installGpuDriver": { +"description": "Install Nvidia Driver automatically. Default: True", +"type": "boolean" +}, +"kernels": { +"description": "Optional. Use a list of container images to use as Kernels in the notebook instance.", +"items": { +"$ref": "ContainerImage" +}, +"type": "array" +}, +"mixerDisabled": { +"description": "Bool indicating whether mixer client should be disabled. Default: False", +"type": "boolean" +}, +"notebookUpgradeSchedule": { +"description": "Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).", +"type": "string" +}, +"postStartupScript": { +"description": "Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).", +"type": "string" +}, +"postStartupScriptBehavior": { +"description": "Behavior for the post startup script.", +"enum": [ +"POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED", +"RUN_EVERY_START", +"DOWNLOAD_AND_RUN_EVERY_START" +], +"enumDescriptions": [ +"Unspecified post startup script behavior. Will run only once at creation.", +"Runs the post startup script provided during creation at every start.", +"Downloads and runs the provided post startup script at every start." +], +"type": "string" +}, +"upgradeable": { +"description": "Output only. Bool indicating whether an newer image is available in an image family.", +"readOnly": true, +"type": "boolean" +}, +"version": { +"description": "Output only. version of boot image such as M100, from release label of the image.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Schedule": { +"description": "The definition of a schedule.", +"id": "Schedule", +"properties": { +"createTime": { +"description": "Output only. Time the schedule was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cronSchedule": { +"description": "Cron-tab formatted schedule by which the job will execute. Format: minute, hour, day of month, month, day of week, e.g. `0 0 * * WED` = every Wednesday More examples: https://crontab.guru/examples.html", +"type": "string" +}, +"description": { +"description": "A brief description of this environment.", +"type": "string" +}, +"displayName": { +"description": "Output only. Display name used for UI purposes. Name can only contain alphanumeric characters, hyphens `-`, and underscores `_`.", +"readOnly": true, +"type": "string" +}, +"executionTemplate": { +"$ref": "ExecutionTemplate", +"description": "Notebook Execution Template corresponding to this schedule." +}, +"name": { +"description": "Output only. The name of this schedule. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}`", +"readOnly": true, +"type": "string" +}, +"recentExecutions": { +"description": "Output only. The most recent execution names triggered from this schedule and their corresponding states.", +"items": { +"$ref": "Execution" +}, +"readOnly": true, +"type": "array" +}, +"state": { +"enum": [ +"STATE_UNSPECIFIED", +"ENABLED", +"PAUSED", +"DISABLED", +"UPDATE_FAILED", +"INITIALIZING", +"DELETING" +], +"enumDescriptions": [ +"Unspecified state.", +"The job is executing normally.", +"The job is paused by the user. It will not execute. A user can intentionally pause the job using [Cloud Scheduler](https://cloud.google.com/scheduler/docs/creating#pause).", +"The job is disabled by the system due to error. The user cannot directly set a job to be disabled.", +"The job state resulting from a failed [CloudScheduler.UpdateJob](https://cloud.google.com/scheduler/docs/creating#edit) operation. To recover a job from this state, retry [CloudScheduler.UpdateJob](https://cloud.google.com/scheduler/docs/creating#edit) until a successful response is received.", +"The schedule resource is being created.", +"The schedule resource is being deleted." +], +"type": "string" +}, +"timeZone": { +"description": "Timezone on which the cron_schedule. The value of this field must be a time zone name from the tz database. TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Note that some time zones include a provision for daylight savings time. The rules for daylight saving time are determined by the chosen tz. For UTC use the string \"utc\". If a time zone is not specified, the default will be in UTC (also known as GMT).", +"type": "string" +}, +"updateTime": { +"description": "Output only. Time the schedule was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SchedulerAcceleratorConfig": { +"description": "Definition of a hardware accelerator. Note that not all combinations of `type` and `core_count` are valid. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus) to find a valid combination. TPUs are not supported.", +"id": "SchedulerAcceleratorConfig", +"properties": { +"coreCount": { +"description": "Count of cores of this accelerator.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Type of this accelerator.", +"enum": [ +"SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"TPU_V2", +"TPU_V3" +], +"enumDescriptions": [ +"Unspecified accelerator type. Default to no GPU.", +"Nvidia Tesla K80 GPU.", +"Nvidia Tesla P100 GPU.", +"Nvidia Tesla V100 GPU.", +"Nvidia Tesla P4 GPU.", +"Nvidia Tesla T4 GPU.", +"Nvidia Tesla A100 GPU.", +"TPU v2.", +"TPU v3." +], +"type": "string" +} +}, +"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." +} +}, +"type": "object" +}, +"SetInstanceAcceleratorRequest": { +"description": "Request for setting instance accelerator.", +"id": "SetInstanceAcceleratorRequest", +"properties": { +"coreCount": { +"description": "Required. Count of cores of this accelerator. Note that not all combinations of `type` and `core_count` are valid. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are not supported.", +"format": "int64", +"type": "string" +}, +"type": { +"description": "Required. Type of this accelerator.", +"enum": [ +"ACCELERATOR_TYPE_UNSPECIFIED", +"NVIDIA_TESLA_K80", +"NVIDIA_TESLA_P100", +"NVIDIA_TESLA_V100", +"NVIDIA_TESLA_P4", +"NVIDIA_TESLA_T4", +"NVIDIA_TESLA_A100", +"NVIDIA_L4", +"NVIDIA_A100_80GB", +"NVIDIA_TESLA_T4_VWS", +"NVIDIA_TESLA_P100_VWS", +"NVIDIA_TESLA_P4_VWS", +"NVIDIA_H100_80GB", +"NVIDIA_H100_MEGA_80GB", +"TPU_V2", +"TPU_V3" +], +"enumDescriptions": [ +"Accelerator type is not specified.", +"Accelerator type is Nvidia Tesla K80.", +"Accelerator type is Nvidia Tesla P100.", +"Accelerator type is Nvidia Tesla V100.", +"Accelerator type is Nvidia Tesla P4.", +"Accelerator type is Nvidia Tesla T4.", +"Accelerator type is Nvidia Tesla A100.", +"Accelerator type is Nvidia Tesla L4.", +"Accelerator type is Nvidia Tesla A100 80GB.", +"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", +"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.", +"Accelerator type is NVIDIA H100 80GB.", +"Accelerator type is NVIDIA H100 Mega 80GB.", +"(Coming soon) Accelerator type is TPU V2.", +"(Coming soon) Accelerator type is TPU V3." +], +"type": "string" +} +}, +"type": "object" +}, +"SetInstanceLabelsRequest": { +"description": "Request for setting instance labels.", +"id": "SetInstanceLabelsRequest", +"properties": { +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels to apply to this instance. These can be later modified by the setLabels method", +"type": "object" +} +}, +"type": "object" +}, +"SetInstanceMachineTypeRequest": { +"description": "Request for setting instance machine type.", +"id": "SetInstanceMachineTypeRequest", +"properties": { +"machineType": { +"description": "Required. The [Compute Engine machine type](https://cloud.google.com/compute/docs/machine-resource).", +"type": "string" +} +}, +"type": "object" +}, +"ShieldedInstanceConfig": { +"description": "A set of Shielded Instance options. See [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid.", +"id": "ShieldedInstanceConfig", +"properties": { +"enableIntegrityMonitoring": { +"description": "Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.", +"type": "boolean" +}, +"enableSecureBoot": { +"description": "Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.", +"type": "boolean" +}, +"enableVtpm": { +"description": "Defines whether the instance has the vTPM enabled. Enabled by default.", +"type": "boolean" +} +}, +"type": "object" +}, +"StartInstanceRequest": { +"description": "Request for starting a notebook instance", +"id": "StartInstanceRequest", +"properties": {}, +"type": "object" +}, +"StartRuntimeRequest": { +"description": "Request for starting a Managed Notebook Runtime.", +"id": "StartRuntimeRequest", +"properties": { +"requestId": { +"description": "Idempotent request UUID.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"StopInstanceRequest": { +"description": "Request for stopping a notebook instance", +"id": "StopInstanceRequest", +"properties": {}, +"type": "object" +}, +"StopRuntimeRequest": { +"description": "Request for stopping a Managed Notebook Runtime.", +"id": "StopRuntimeRequest", +"properties": { +"requestId": { +"description": "Idempotent request UUID.", +"type": "string" +} +}, +"type": "object" +}, +"SwitchRuntimeRequest": { +"description": "Request for switching a Managed Notebook Runtime.", +"id": "SwitchRuntimeRequest", +"properties": { +"acceleratorConfig": { +"$ref": "RuntimeAcceleratorConfig", +"description": "accelerator config." +}, +"machineType": { +"description": "machine type.", +"type": "string" +}, +"requestId": { +"description": "Idempotent request UUID.", +"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" +}, +"TriggerScheduleRequest": { +"description": "Request for created scheduled notebooks", +"id": "TriggerScheduleRequest", +"properties": {}, +"type": "object" +}, +"UpdateInstanceConfigRequest": { +"description": "Request for updating instance configurations.", +"id": "UpdateInstanceConfigRequest", +"properties": { +"config": { +"$ref": "InstanceConfig", +"description": "The instance configurations to be updated." +} +}, +"type": "object" +}, +"UpdateInstanceMetadataItemsRequest": { +"description": "Request for adding/changing metadata items for an instance.", +"id": "UpdateInstanceMetadataItemsRequest", +"properties": { +"items": { +"additionalProperties": { +"type": "string" +}, +"description": "Metadata items to add/update for the instance.", +"type": "object" +} +}, +"type": "object" +}, +"UpdateInstanceMetadataItemsResponse": { +"description": "Response for adding/changing metadata items for an instance.", +"id": "UpdateInstanceMetadataItemsResponse", +"properties": { +"items": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of items that were added/updated to/in the metadata.", +"type": "object" +} +}, +"type": "object" +}, +"UpdateShieldedInstanceConfigRequest": { +"description": "Request for updating the Shielded Instance config for a notebook instance. You can only use this method on a stopped instance", +"id": "UpdateShieldedInstanceConfigRequest", +"properties": { +"shieldedInstanceConfig": { +"$ref": "ShieldedInstanceConfig", +"description": "ShieldedInstance configuration to be updated." +} +}, +"type": "object" +}, +"UpgradeHistoryEntry": { +"description": "The entry of VM image upgrade history.", +"id": "UpgradeHistoryEntry", +"properties": { +"action": { +"description": "Action. Rolloback or Upgrade.", +"enum": [ +"ACTION_UNSPECIFIED", +"UPGRADE", +"ROLLBACK" +], +"enumDescriptions": [ +"Operation is not specified.", +"Upgrade.", +"Rollback." +], +"type": "string" +}, +"containerImage": { +"description": "The container image before this instance upgrade.", +"type": "string" +}, +"createTime": { +"description": "The time that this instance upgrade history entry is created.", +"format": "google-datetime", +"type": "string" +}, +"framework": { +"description": "The framework of this notebook instance.", +"type": "string" +}, +"snapshot": { +"description": "The snapshot of the boot disk of this notebook instance before upgrade.", +"type": "string" +}, +"state": { +"description": "The state of this instance upgrade history entry.", +"enum": [ +"STATE_UNSPECIFIED", +"STARTED", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"State is not specified.", +"The instance upgrade is started.", +"The instance upgrade is succeeded.", +"The instance upgrade is failed." +], +"type": "string" +}, +"targetImage": { +"deprecated": true, +"description": "Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.", +"type": "string" +}, +"targetVersion": { +"description": "Target VM Version, like m63.", +"type": "string" +}, +"version": { +"description": "The version of the notebook instance before this upgrade.", +"type": "string" +}, +"vmImage": { +"description": "The VM image before this instance upgrade.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInstanceInternalRequest": { +"description": "Request for upgrading a notebook instance from within the VM", +"id": "UpgradeInstanceInternalRequest", +"properties": { +"type": { +"description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", +"enum": [ +"UPGRADE_TYPE_UNSPECIFIED", +"UPGRADE_FRAMEWORK", +"UPGRADE_OS", +"UPGRADE_CUDA", +"UPGRADE_ALL" +], +"enumDescriptions": [ +"Upgrade type is not specified.", +"Upgrade ML framework.", +"Upgrade Operating System.", +"Upgrade CUDA.", +"Upgrade All (OS, Framework and CUDA)." +], +"type": "string" +}, +"vmId": { +"description": "Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeInstanceRequest": { +"description": "Request for upgrading a notebook instance", +"id": "UpgradeInstanceRequest", +"properties": { +"type": { +"description": "Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.", +"enum": [ +"UPGRADE_TYPE_UNSPECIFIED", +"UPGRADE_FRAMEWORK", +"UPGRADE_OS", +"UPGRADE_CUDA", +"UPGRADE_ALL" +], +"enumDescriptions": [ +"Upgrade type is not specified.", +"Upgrade ML framework.", +"Upgrade Operating System.", +"Upgrade CUDA.", +"Upgrade All (OS, Framework and CUDA)." +], +"type": "string" +} +}, +"type": "object" +}, +"UpgradeRuntimeRequest": { +"description": "Request for upgrading a Managed Notebook Runtime to the latest version. option (google.api.message_visibility).restriction = \"TRUSTED_TESTER,SPECIAL_TESTER\";", +"id": "UpgradeRuntimeRequest", +"properties": { +"requestId": { +"description": "Idempotent request UUID.", +"type": "string" +} +}, +"type": "object" +}, +"VertexAIParameters": { +"description": "Parameters used in Vertex AI JobType executions.", +"id": "VertexAIParameters", +"properties": { +"env": { +"additionalProperties": { +"type": "string" +}, +"description": "Environment variables. At most 100 environment variables can be specified and unique. Example: `GCP_BUCKET=gs://my-bucket/samples/`", +"type": "object" +}, +"network": { +"description": "The full name of the Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the Job should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is a network name. Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.", +"type": "string" +} +}, +"type": "object" +}, +"VirtualMachine": { +"description": "Runtime using Virtual Machine for computing.", +"id": "VirtualMachine", +"properties": { +"instanceId": { +"description": "Output only. The unique identifier of the Managed Compute Engine instance.", +"readOnly": true, +"type": "string" +}, +"instanceName": { +"description": "Output only. The user-friendly name of the Managed Compute Engine instance.", +"readOnly": true, +"type": "string" +}, +"virtualMachineConfig": { +"$ref": "VirtualMachineConfig", +"description": "Virtual Machine configuration settings." +} +}, +"type": "object" +}, +"VirtualMachineConfig": { +"description": "The config settings for virtual machine.", +"id": "VirtualMachineConfig", +"properties": { +"acceleratorConfig": { +"$ref": "RuntimeAcceleratorConfig", +"description": "Optional. The Compute Engine accelerator configuration for this runtime." +}, +"bootImage": { +"$ref": "BootImage", +"description": "Optional. Boot image metadata used for runtime upgradeability." +}, +"containerImages": { +"description": "Optional. Use a list of container images to use as Kernels in the notebook instance.", +"items": { +"$ref": "ContainerImage" +}, +"type": "array" +}, +"dataDisk": { +"$ref": "LocalDisk", +"description": "Required. Data disk option configuration settings." +}, +"encryptionConfig": { +"$ref": "EncryptionConfig", +"description": "Optional. Encryption settings for virtual machine data disk." +}, +"guestAttributes": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/storing-retrieving-metadata#guest_attributes)).", +"readOnly": true, +"type": "object" +}, +"internalIpOnly": { +"description": "Optional. If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internal_ip_only` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.", +"type": "object" +}, +"machineType": { +"description": "Required. The Compute Engine machine type used for runtimes. Short name is valid. Examples: * `n1-standard-2` * `e2-standard-8`", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).", +"type": "object" +}, +"network": { +"description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the \"default\" network of the project is used, if it exists. A full URL or partial URI. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default` * `projects/[project_id]/global/networks/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations: * Google Managed Network (Network & subnet are empty) * Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access. * Shared VPC (network & subnet are required). Requires configuring Private Service Access.", +"type": "string" +}, +"nicType": { +"description": "Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", +"enum": [ +"UNSPECIFIED_NIC_TYPE", +"VIRTIO_NET", +"GVNIC" +], +"enumDescriptions": [ +"No type specified.", +"VIRTIO", +"GVNIC" +], +"type": "string" +}, +"reservedIpRange": { +"description": "Optional. Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned. Example: managed-notebooks-range-c PEERING_RANGE_NAME_3=managed-notebooks-range-c gcloud compute addresses create $PEERING_RANGE_NAME_3 \\ --global \\ --prefix-length=24 \\ --description=\"Google Cloud Managed Notebooks Range 24 c\" \\ --network=$NETWORK \\ --addresses=192.168.0.0 \\ --purpose=VPC_PEERING Field value will be: `managed-notebooks-range-c`", +"type": "string" +}, +"shieldedInstanceConfig": { +"$ref": "RuntimeShieldedInstanceConfig", +"description": "Optional. Shielded VM Instance configuration settings." +}, +"subnet": { +"description": "Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples: * `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0` * `projects/[project_id]/regions/us-east1/subnetworks/sub0`", +"type": "string" +}, +"tags": { +"description": "Optional. The Compute Engine network tags to add to runtime (see [Add network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags)).", +"items": { +"type": "string" +}, +"type": "array" +}, +"zone": { +"description": "Output only. The zone where the virtual machine is located. If using regional request, the notebooks service will pick a location in the corresponding runtime region. On a get request, zone will always be present. Example: * `us-central1-b`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"VmImage": { +"description": "Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.", +"id": "VmImage", +"properties": { +"imageFamily": { +"description": "Use this VM image family to find the image; the newest image in this family will be used.", +"type": "string" +}, +"imageName": { +"description": "Use VM image name to find the image.", +"type": "string" +}, +"project": { +"description": "Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Notebooks API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oauth2.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oauth2.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..0b5c818c6e5f0f2a6a71f0c0b61a355f06ff8104 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/oauth2.v2.json @@ -0,0 +1,293 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/userinfo.email": { +"description": "See your primary Google Account email address" +}, +"https://www.googleapis.com/auth/userinfo.profile": { +"description": "See your personal info, including any personal info you've made publicly available" +}, +"openid": { +"description": "Associate you with your personal info on Google" +} +} +} +}, +"basePath": "/", +"baseUrl": "https://www.googleapis.com/", +"batchPath": "batch/oauth2/v2", +"description": "Obtains end-user authorization grants for use with other Google APIs.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/identity/protocols/oauth2/", +"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/VCyF6WfWVwIuhIs_gw3LA4B3w1E\"", +"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": "oauth2:v2", +"kind": "discovery#restDescription", +"methods": { +"tokeninfo": { +"httpMethod": "POST", +"id": "oauth2.tokeninfo", +"parameters": { +"access_token": { +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"id_token": { +"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" +}, +"pp": { +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"strict": { +"location": "query", +"type": "string" +}, +"trace": { +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +}, +"userip": { +"location": "query", +"type": "string" +} +}, +"path": "oauth2/v2/tokeninfo", +"response": { +"$ref": "Tokeninfo" +} +} +}, +"name": "oauth2", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"alt": { +"default": "json", +"description": "Data format for the response.", +"enum": [ +"json" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json" +], +"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": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"userIp": { +"description": "Deprecated. Please use quotaUser instead.", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"userinfo": { +"methods": { +"get": { +"httpMethod": "GET", +"id": "oauth2.userinfo.get", +"path": "oauth2/v2/userinfo", +"response": { +"$ref": "Userinfo" +}, +"scopes": [ +"openid", +"https://www.googleapis.com/auth/userinfo.email", +"https://www.googleapis.com/auth/userinfo.profile" +] +} +}, +"resources": { +"v2": { +"resources": { +"me": { +"methods": { +"get": { +"httpMethod": "GET", +"id": "oauth2.userinfo.v2.me.get", +"path": "userinfo/v2/me", +"response": { +"$ref": "Userinfo" +}, +"scopes": [ +"openid", +"https://www.googleapis.com/auth/userinfo.email", +"https://www.googleapis.com/auth/userinfo.profile" +] +} +} +} +} +} +} +} +}, +"revision": "20200213", +"rootUrl": "https://www.googleapis.com/", +"schemas": { +"Tokeninfo": { +"id": "Tokeninfo", +"properties": { +"audience": { +"description": "Who is the intended audience for this token. In general the same as issued_to.", +"type": "string" +}, +"email": { +"description": "The email address of the user. Present only if the email scope is present in the request.", +"type": "string" +}, +"expires_in": { +"description": "The expiry time of the token, as number of seconds left until expiry.", +"format": "int32", +"type": "integer" +}, +"issued_to": { +"description": "To whom was the token issued to. In general the same as audience.", +"type": "string" +}, +"scope": { +"description": "The space separated list of scopes granted to this token.", +"type": "string" +}, +"user_id": { +"description": "The obfuscated user id.", +"type": "string" +}, +"verified_email": { +"description": "Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"Userinfo": { +"id": "Userinfo", +"properties": { +"email": { +"description": "The user's email address.", +"type": "string" +}, +"family_name": { +"description": "The user's last name.", +"type": "string" +}, +"gender": { +"description": "The user's gender.", +"type": "string" +}, +"given_name": { +"description": "The user's first name.", +"type": "string" +}, +"hd": { +"description": "The hosted domain e.g. example.com if the user is Google apps user.", +"type": "string" +}, +"id": { +"description": "The obfuscated ID of the user.", +"type": "string" +}, +"link": { +"description": "URL of the profile page.", +"type": "string" +}, +"locale": { +"description": "The user's preferred locale.", +"type": "string" +}, +"name": { +"description": "The user's full name.", +"type": "string" +}, +"picture": { +"description": "URL of the user's picture image.", +"type": "string" +}, +"verified_email": { +"default": "true", +"description": "Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google OAuth2 API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/observability.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/observability.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..d79459d46c3c6f1655020868d01a9f3306ec72d6 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/observability.v1.json @@ -0,0 +1,2046 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://observability.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Observability", +"description": "Provides functionality for configuring the observability scope, which controls the log, metric, and trace data that you can view.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/stackdriver/docs/", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://observability.us-central1.rep.googleapis.com/", +"location": "us-central1" +} +], +"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": "observability:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://observability.mtls.googleapis.com/", +"name": "observability", +"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": { +"folders": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "observability.folders.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSettings": { +"description": "Get Settings", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings", +"httpMethod": "GET", +"id": "observability.folders.locations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/folders/{foldersId}/locations", +"httpMethod": "GET", +"id": "observability.folders.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^folders/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSettings": { +"description": "Update Settings", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/settings", +"httpMethod": "PATCH", +"id": "observability.folders.locations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the settings.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The field mask specifying which fields of the settings are to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "observability.folders.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "observability.folders.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "observability.folders.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "observability.folders.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"organizations": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "observability.organizations.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSettings": { +"description": "Get Settings", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", +"httpMethod": "GET", +"id": "observability.organizations.locations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/organizations/{organizationsId}/locations", +"httpMethod": "GET", +"id": "observability.organizations.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSettings": { +"description": "Update Settings", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/settings", +"httpMethod": "PATCH", +"id": "observability.organizations.locations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the settings.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The field mask specifying which fields of the settings are to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "observability.organizations.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "observability.organizations.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "observability.organizations.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "observability.organizations.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "observability.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getSettings": { +"description": "Get Settings", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", +"httpMethod": "GET", +"id": "observability.projects.locations.getSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the settings to retrieve. Name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/settings\" \"folders/[FOLDER_ID]/locations/[LOCATION]/settings\" \"organizations/[ORGANIZATION_ID]/locations/[LOCATION]/settings\"", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Settings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "observability.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSettings": { +"description": "Update Settings", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/settings", +"httpMethod": "PATCH", +"id": "observability.projects.locations.updateSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the settings.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/settings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The field mask specifying which fields of the settings are to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Settings" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"buckets": { +"methods": { +"get": { +"description": "Get bucket resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the bucket to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Bucket" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List buckets of a project in a particular location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of buckets to return. If unspecified, then at most 100 buckets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListBuckets` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of buckets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, then the response will include deleted buckets.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/buckets", +"response": { +"$ref": "ListBucketsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"datasets": { +"methods": { +"get": { +"description": "Get a dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the dataset to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List datasets of a bucket.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of datasets to return. If unspecified, then at most 100 datasets are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListDatasets` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent bucket that owns this collection of datasets. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+$", +"required": true, +"type": "string" +}, +"showDeleted": { +"description": "Optional. If true, then the response will include deleted datasets.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+parent}/datasets", +"response": { +"$ref": "ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"links": { +"methods": { +"create": { +"description": "Create a new link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/links", +"httpMethod": "POST", +"id": "observability.projects.locations.buckets.datasets.links.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"linkId": { +"description": "Required. Id of the link to create.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the containing dataset for this link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/links", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/links/{linksId}", +"httpMethod": "DELETE", +"id": "observability.projects.locations.buckets.datasets.links.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the link to delete. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/links/{linksId}", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.links.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the link to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Link" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List links of a dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/links", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.links.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of links to return. If unspecified, then at most 100 links are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListLinks` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent dataset that owns this collection of links. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/links", +"response": { +"$ref": "ListLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a link.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/links/{linksId}", +"httpMethod": "PATCH", +"id": "observability.projects.locations.buckets.datasets.links.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+/links/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Link" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"views": { +"methods": { +"get": { +"description": "Get a view.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/views/{viewsId}", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.views.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the view to retrieve. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+/views/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "View" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List views of a dataset.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/datasets/{datasetsId}/views", +"httpMethod": "GET", +"id": "observability.projects.locations.buckets.datasets.views.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of views to return. If unspecified, then at most 100 views are returned. The maximum value is 1000; values above 1000 are coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListViews` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Dataset whose views are to be listed. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/buckets/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/views", +"response": { +"$ref": "ListViewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "observability.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "observability.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "observability.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "observability.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scopes": { +"methods": { +"get": { +"description": "Gets details of a single Scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "GET", +"id": "observability.projects.locations.scopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Scope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the parameters of a single Scope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/scopes/{scopesId}", +"httpMethod": "PATCH", +"id": "observability.projects.locations.scopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Field mask is used to specify the fields to be overwritten in the Scope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten when it is in the mask. If the user does not provide a mask, then all fields present in the request are overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Scope" +}, +"response": { +"$ref": "Scope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"traceScopes": { +"methods": { +"create": { +"description": "Create a new TraceScope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/traceScopes", +"httpMethod": "POST", +"id": "observability.projects.locations.traceScopes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The full resource name of the location where the trace scope should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"traceScopeId": { +"description": "Required. A client-assigned identifier for the trace scope.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/traceScopes", +"request": { +"$ref": "TraceScope" +}, +"response": { +"$ref": "TraceScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a TraceScope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}", +"httpMethod": "DELETE", +"id": "observability.projects.locations.traceScopes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The full resource name of the trace scope to delete: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get TraceScope resource.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}", +"httpMethod": "GET", +"id": "observability.projects.locations.traceScopes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the trace scope: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "TraceScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List TraceScopes of a project in a particular location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/traceScopes", +"httpMethod": "GET", +"id": "observability.projects.locations.traceScopes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The full resource name of the location to look for trace scopes: projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/traceScopes", +"response": { +"$ref": "ListTraceScopesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a TraceScope.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}", +"httpMethod": "PATCH", +"id": "observability.projects.locations.traceScopes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "TraceScope" +}, +"response": { +"$ref": "TraceScope" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260220", +"rootUrl": "https://observability.googleapis.com/", +"schemas": { +"Bucket": { +"description": "Bucket configuration for storing observability data.", +"id": "Bucket", +"properties": { +"cmekSettings": { +"$ref": "CmekSettings", +"description": "Optional. Settings for configuring CMEK on a bucket." +}, +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Delete timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the bucket.", +"type": "string" +}, +"displayName": { +"description": "Optional. User friendly display name.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the bucket. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]", +"type": "string" +}, +"purgeTime": { +"description": "Output only. Timestamp when the bucket in soft-deleted state is purged.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CmekSettings": { +"description": "Settings for configuring CMEK for a bucket.", +"id": "CmekSettings", +"properties": { +"kmsKey": { +"description": "Optional. The resource name for the configured Cloud KMS key. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] For example: projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key", +"type": "string" +}, +"kmsKeyVersion": { +"description": "Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION] For example: projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1 This read-only field is used to convey the specific configured CryptoKeyVersion of the `kms_key` that has been configured. It is populated when the CMEK settings are bound to a single key version.", +"readOnly": true, +"type": "string" +}, +"serviceAccountId": { +"description": "Output only. The service account used to access the key.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Dataset": { +"description": "A dataset is a collection of data that has a specific configuration. A dataset can be backed by multiple tables. One bucket can have multiple datasets.", +"id": "Dataset", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"deleteTime": { +"description": "Output only. Delete timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the dataset.", +"type": "string" +}, +"displayName": { +"description": "Optional. User friendly display name.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the dataset. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]", +"type": "string" +}, +"purgeTime": { +"description": "Output only. Timestamp when the dataset in soft-deleted state is purged.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"Link": { +"description": "A link lets a dataset be accessible to BigQuery via usage of linked datasets.", +"id": "Link", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the link.", +"type": "string" +}, +"displayName": { +"description": "Optional. A user friendly display name.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/links/[LINK_ID]", +"type": "string" +} +}, +"type": "object" +}, +"ListBucketsResponse": { +"description": "Response for listing buckets.", +"id": "ListBucketsResponse", +"properties": { +"buckets": { +"description": "Optional. The list of buckets.", +"items": { +"$ref": "Bucket" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListDatasetsResponse": { +"description": "Response for listing datasets.", +"id": "ListDatasetsResponse", +"properties": { +"datasets": { +"description": "The list of datasets.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListLinksResponse": { +"description": "Response for listing links.", +"id": "ListLinksResponse", +"properties": { +"links": { +"description": "The list of links.", +"items": { +"$ref": "Link" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTraceScopesResponse": { +"description": "Response for listing TraceScopes.", +"id": "ListTraceScopesResponse", +"properties": { +"nextPageToken": { +"description": "Optional. If there might be more results than appear in this response, then `next_page_token` is included. To get the next set of results, call the same method again using the value of `next_page_token` as `page_token`.", +"type": "string" +}, +"traceScopes": { +"description": "Optional. A list of trace scopes.", +"items": { +"$ref": "TraceScope" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListViewsResponse": { +"description": "Response for listing views.", +"id": "ListViewsResponse", +"properties": { +"nextPageToken": { +"description": "Optional. A token that can be sent as `page_token` to retrieve the next page. When this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"views": { +"description": "The list of views.", +"items": { +"$ref": "View" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "Output only. API version used to start the operation.", +"readOnly": true, +"type": "string" +}, +"createTime": { +"description": "Output only. The time the operation was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"endTime": { +"description": "Output only. The time the operation finished running.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"requestedCancellation": { +"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", +"readOnly": true, +"type": "boolean" +}, +"statusMessage": { +"description": "Output only. Human-readable status of the operation, if any.", +"readOnly": true, +"type": "string" +}, +"target": { +"description": "Output only. Server-defined resource path for the target of the operation.", +"readOnly": true, +"type": "string" +}, +"verb": { +"description": "Output only. Name of the verb executed by the operation.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Scope": { +"description": "Message describing Scope object", +"id": "Scope", +"properties": { +"logScope": { +"description": "Required. The full resource name of the `LogScope`. For example: //logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the resource. The format is: projects/{project}/locations/{location}/scopes/{scope} The `{location}` field must be set to `global`. The `{scope}` field must be set to `_Default`.", +"type": "string" +}, +"traceScope": { +"description": "Required. The resource name of the `TraceScope`. For example: projects/myproject/locations/global/traceScopes/my-trace-scope", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp. Note: The Update timestamp for the default scope is initially unset.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Settings": { +"description": "Describes the settings associated with a project, organization, or folder.", +"id": "Settings", +"properties": { +"defaultStorageLocation": { +"description": "Optional. The location which should be used when any regional resources are provisioned by Google Cloud.", +"type": "string" +}, +"kmsKeyName": { +"description": "Optional. The resource name for the configured Cloud KMS key. KMS key name format: \"projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]\" For example: `\"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key\"`", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the settings.", +"type": "string" +}, +"serviceAccountId": { +"description": "Output only. The service account for the given resource container, such as project or folder. This will be used by Cloud Observability to perform actions in the container's project like access KMS keys or create Links. Always the same service account per resource container regardless of region.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TraceScope": { +"description": "A trace scope is a collection of resources whose traces are queried together.", +"id": "TraceScope", +"properties": { +"createTime": { +"description": "Output only. The creation timestamp of the trace scope.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Describes this trace scope. The maximum length of the description is 8000 characters.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope", +"type": "string" +}, +"resourceNames": { +"description": "Required. Names of the projects that are included in this trace scope. * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last update timestamp of the trace scope.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"View": { +"description": "A view corresponds to a read-only representation of a subset of the data in a dataset.", +"id": "View", +"properties": { +"createTime": { +"description": "Output only. Create timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Optional. Description of the view.", +"type": "string" +}, +"displayName": { +"description": "Optional. User friendly display name.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]", +"type": "string" +}, +"updateTime": { +"description": "Output only. Update timestamp.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Observability API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..da4477aaa68eb3b19072be654204ad2fc657e317 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json @@ -0,0 +1,3327 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://ondemandscanning.googleapis.com/", +"batchPath": "batch", +"canonicalName": "On-Demand Scanning", +"description": "A service to scan container images for vulnerabilities.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", +"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": "ondemandscanning:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://ondemandscanning.mtls.googleapis.com/", +"name": "ondemandscanning", +"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": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "ondemandscanning.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "ondemandscanning.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "ondemandscanning.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "ondemandscanning.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "ondemandscanning.projects.locations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +}, +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}:wait", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"scans": { +"methods": { +"analyzePackages": { +"description": "Initiates an analysis of the provided packages.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/scans:analyzePackages", +"httpMethod": "POST", +"id": "ondemandscanning.projects.locations.scans.analyzePackages", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent of the resource for which analysis is requested. Format: projects/[project_name]/locations/[location]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/scans:analyzePackages", +"request": { +"$ref": "AnalyzePackagesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"vulnerabilities": { +"methods": { +"list": { +"description": "Lists vulnerabilities resulting from a successfully completed scan.", +"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/scans/{scansId}/vulnerabilities", +"httpMethod": "GET", +"id": "ondemandscanning.projects.locations.scans.vulnerabilities.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The number of vulnerabilities to retrieve.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token, resulting from a previous call to ListVulnerabilities.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent of the collection of Vulnerabilities being requested. Format: projects/[project_name]/locations/[location]/scans/[scan_id]", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/scans/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/vulnerabilities", +"response": { +"$ref": "ListVulnerabilitiesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260209", +"rootUrl": "https://ondemandscanning.googleapis.com/", +"schemas": { +"AliasContext": { +"description": "An alias to a repo revision.", +"id": "AliasContext", +"properties": { +"kind": { +"description": "The alias kind.", +"enum": [ +"KIND_UNSPECIFIED", +"FIXED", +"MOVABLE", +"OTHER" +], +"enumDescriptions": [ +"Unknown.", +"Git tag.", +"Git branch.", +"Used to specify non-standard aliases. For example, if a Git repo has a ref named \"refs/foo/bar\"." +], +"type": "string" +}, +"name": { +"description": "The alias name.", +"type": "string" +} +}, +"type": "object" +}, +"AnalysisCompleted": { +"description": "Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.", +"id": "AnalysisCompleted", +"properties": { +"analysisType": { +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AnalyzePackagesMetadata": { +"description": "AnalyzePackagesMetadata contains metadata for an active scan of a container image.", +"id": "AnalyzePackagesMetadata", +"properties": { +"createTime": { +"description": "When the scan was created.", +"format": "google-datetime", +"type": "string" +}, +"resourceUri": { +"description": "The resource URI of the container image being scanned.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzePackagesMetadataV1": { +"description": "AnalyzePackagesMetadata contains metadata for an active scan of a container image.", +"id": "AnalyzePackagesMetadataV1", +"properties": { +"createTime": { +"description": "When the scan was created.", +"format": "google-datetime", +"type": "string" +}, +"resourceUri": { +"description": "The resource URI of the container image being scanned.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzePackagesRequest": { +"description": "AnalyzePackagesRequest is the request to analyze a list of packages and create Vulnerability Occurrences for it.", +"id": "AnalyzePackagesRequest", +"properties": { +"packages": { +"description": "The packages to analyze.", +"items": { +"$ref": "PackageData" +}, +"type": "array" +}, +"resourceUri": { +"description": "Required. The resource URI of the container image being scanned.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzePackagesResponse": { +"description": "AnalyzePackagesResponse contains the information necessary to find results for the given scan.", +"id": "AnalyzePackagesResponse", +"properties": { +"scan": { +"description": "The name of the scan resource created by this successful scan.", +"type": "string" +} +}, +"type": "object" +}, +"AnalyzePackagesResponseV1": { +"description": "AnalyzePackagesResponse contains the information necessary to find results for the given scan.", +"id": "AnalyzePackagesResponseV1", +"properties": { +"scan": { +"description": "The name of the scan resource created by this successful scan.", +"type": "string" +} +}, +"type": "object" +}, +"Artifact": { +"description": "Artifact describes a build product.", +"id": "Artifact", +"properties": { +"checksum": { +"description": "Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.", +"type": "string" +}, +"id": { +"description": "Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.", +"type": "string" +}, +"names": { +"description": "Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AttestationOccurrence": { +"description": "Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.", +"id": "AttestationOccurrence", +"properties": { +"jwts": { +"description": "One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.", +"items": { +"$ref": "Jwt" +}, +"type": "array" +}, +"serializedPayload": { +"description": "Required. The serialized payload that is verified by one or more `signatures`.", +"format": "byte", +"type": "string" +}, +"signatures": { +"description": "One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.", +"items": { +"$ref": "Signature" +}, +"type": "array" +} +}, +"type": "object" +}, +"BaseImage": { +"description": "BaseImage describes a base image of a container image.", +"id": "BaseImage", +"properties": { +"layerCount": { +"description": "The number of layers that the base image is composed of.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the base image.", +"type": "string" +}, +"registry": { +"description": "The registry in which the base image is from.", +"type": "string" +}, +"repository": { +"description": "The repository name in which the base image is from.", +"type": "string" +} +}, +"type": "object" +}, +"BinarySourceInfo": { +"id": "BinarySourceInfo", +"properties": { +"binaryVersion": { +"$ref": "PackageVersion", +"description": "The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed." +}, +"sourceVersion": { +"$ref": "PackageVersion", +"description": "The source package. Similar to the above, this is significant when the source is different than the binary itself. Since the top-level package/version fields are based on an if/else, we need a separate field for both binary and source if we want to know definitively where the data is coming from." +} +}, +"type": "object" +}, +"BuildDefinition": { +"id": "BuildDefinition", +"properties": { +"buildType": { +"type": "string" +}, +"externalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"internalParameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"resolvedDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"BuildMetadata": { +"id": "BuildMetadata", +"properties": { +"finishedOn": { +"format": "google-datetime", +"type": "string" +}, +"invocationId": { +"type": "string" +}, +"startedOn": { +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"BuildOccurrence": { +"description": "Details of a build occurrence.", +"id": "BuildOccurrence", +"properties": { +"inTotoSlsaProvenanceV1": { +"$ref": "InTotoSlsaProvenanceV1", +"description": "In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec, wrapped in an in-toto statement. This allows for direct jsonification of a to-spec in-toto slsa statement with a to-spec slsa provenance." +}, +"intotoProvenance": { +"$ref": "InTotoProvenance", +"description": "Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec." +}, +"intotoStatement": { +"$ref": "InTotoStatement", +"description": "In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope." +}, +"provenance": { +"$ref": "BuildProvenance", +"description": "The actual provenance for the build." +}, +"provenanceBytes": { +"description": "Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.", +"type": "string" +} +}, +"type": "object" +}, +"BuildProvenance": { +"description": "Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.", +"id": "BuildProvenance", +"properties": { +"buildOptions": { +"additionalProperties": { +"type": "string" +}, +"description": "Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.", +"type": "object" +}, +"builderVersion": { +"description": "Version string of the builder at the time this build was executed.", +"type": "string" +}, +"builtArtifacts": { +"description": "Output of the build.", +"items": { +"$ref": "Artifact" +}, +"type": "array" +}, +"commands": { +"description": "Commands requested by the build.", +"items": { +"$ref": "Command" +}, +"type": "array" +}, +"createTime": { +"description": "Time at which the build was created.", +"format": "google-datetime", +"type": "string" +}, +"creator": { +"description": "E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.", +"type": "string" +}, +"endTime": { +"description": "Time at which execution of the build was finished.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "Required. Unique identifier of the build.", +"type": "string" +}, +"logsUri": { +"description": "URI where any logs for this provenance were written.", +"type": "string" +}, +"projectId": { +"description": "ID of the project.", +"type": "string" +}, +"sourceProvenance": { +"$ref": "Source", +"description": "Details of the Source input to the build." +}, +"startTime": { +"description": "Time at which execution of the build was started.", +"format": "google-datetime", +"type": "string" +}, +"triggerId": { +"description": "Trigger identifier if the build was triggered automatically; empty if not.", +"type": "string" +} +}, +"type": "object" +}, +"BuilderConfig": { +"id": "BuilderConfig", +"properties": { +"id": { +"type": "string" +} +}, +"type": "object" +}, +"CISAKnownExploitedVulnerabilities": { +"id": "CISAKnownExploitedVulnerabilities", +"properties": { +"knownRansomwareCampaignUse": { +"description": "Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.", +"type": "string" +} +}, +"type": "object" +}, +"CVSS": { +"description": "Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.", +"id": "CVSS", +"properties": { +"attackComplexity": { +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH", +"ATTACK_COMPLEXITY_MEDIUM" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"", +"", +"", +"", +"" +], +"type": "string" +}, +"authentication": { +"enum": [ +"AUTHENTICATION_UNSPECIFIED", +"AUTHENTICATION_MULTIPLE", +"AUTHENTICATION_SINGLE", +"AUTHENTICATION_NONE" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"availabilityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "float", +"type": "number" +}, +"confidentialityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"exploitabilityScore": { +"format": "float", +"type": "number" +}, +"impactScore": { +"format": "float", +"type": "number" +}, +"integrityImpact": { +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE", +"IMPACT_PARTIAL", +"IMPACT_COMPLETE" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"privilegesRequired": { +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +}, +"scope": { +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"userInteraction": { +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Category": { +"description": "The category to which the update belongs.", +"id": "Category", +"properties": { +"categoryId": { +"description": "The identifier of the category.", +"type": "string" +}, +"name": { +"description": "The localized name of the category.", +"type": "string" +} +}, +"type": "object" +}, +"CloudRepoSourceContext": { +"description": "A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.", +"id": "CloudRepoSourceContext", +"properties": { +"aliasContext": { +"$ref": "AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"repoId": { +"$ref": "RepoId", +"description": "The ID of the repo." +}, +"revisionId": { +"description": "A revision ID.", +"type": "string" +} +}, +"type": "object" +}, +"Command": { +"description": "Command describes a step performed as part of the build pipeline.", +"id": "Command", +"properties": { +"args": { +"description": "Command-line arguments used when executing this command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dir": { +"description": "Working directory (relative to project source root) used when running this command.", +"type": "string" +}, +"env": { +"description": "Environment variables set before running this command.", +"items": { +"type": "string" +}, +"type": "array" +}, +"id": { +"description": "Optional unique identifier for this command, used in wait_for to reference this command as a dependency.", +"type": "string" +}, +"name": { +"description": "Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.", +"type": "string" +}, +"waitFor": { +"description": "The ID(s) of the command(s) that this command depends on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Completeness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "Completeness", +"properties": { +"arguments": { +"description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", +"type": "boolean" +}, +"environment": { +"description": "If true, the builder claims that recipe.environment is claimed to be complete.", +"type": "boolean" +}, +"materials": { +"description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", +"type": "boolean" +} +}, +"type": "object" +}, +"ComplianceOccurrence": { +"description": "An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.", +"id": "ComplianceOccurrence", +"properties": { +"nonComplianceReason": { +"type": "string" +}, +"nonCompliantFiles": { +"items": { +"$ref": "NonCompliantFile" +}, +"type": "array" +}, +"version": { +"$ref": "ComplianceVersion", +"description": "The OS and config version the benchmark was run on." +} +}, +"type": "object" +}, +"ComplianceVersion": { +"description": "Describes the CIS benchmark version that is applicable to a given OS and os version.", +"id": "ComplianceVersion", +"properties": { +"benchmarkDocument": { +"description": "The name of the document that defines this benchmark, e.g. \"CIS Container-Optimized OS\".", +"type": "string" +}, +"cpeUri": { +"description": "The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.", +"type": "string" +}, +"version": { +"description": "The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.", +"type": "string" +} +}, +"type": "object" +}, +"DSSEAttestationOccurrence": { +"description": "Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.", +"id": "DSSEAttestationOccurrence", +"properties": { +"envelope": { +"$ref": "Envelope", +"description": "If doing something security critical, make sure to verify the signatures in this metadata." +}, +"statement": { +"$ref": "InTotoStatement" +} +}, +"type": "object" +}, +"DeploymentOccurrence": { +"description": "The period during which some deployable was active in a runtime.", +"id": "DeploymentOccurrence", +"properties": { +"address": { +"description": "Address of the runtime element hosting this deployment.", +"type": "string" +}, +"config": { +"description": "Configuration used to create this deployment.", +"type": "string" +}, +"deployTime": { +"description": "Required. Beginning of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"platform": { +"description": "Platform hosting this deployment.", +"enum": [ +"PLATFORM_UNSPECIFIED", +"GKE", +"FLEX", +"CUSTOM" +], +"enumDescriptions": [ +"Unknown.", +"Google Container Engine.", +"Google App Engine: Flexible Environment.", +"Custom user-defined platform." +], +"type": "string" +}, +"resourceUri": { +"description": "Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.", +"items": { +"type": "string" +}, +"type": "array" +}, +"undeployTime": { +"description": "End of the lifetime of this deployment.", +"format": "google-datetime", +"type": "string" +}, +"userEmail": { +"description": "Identity of the user that triggered this deployment.", +"type": "string" +} +}, +"type": "object" +}, +"DiscoveryOccurrence": { +"description": "Provides information about the analysis status of a discovered resource.", +"id": "DiscoveryOccurrence", +"properties": { +"analysisCompleted": { +"$ref": "AnalysisCompleted" +}, +"analysisError": { +"description": "Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.", +"items": { +"$ref": "Status" +}, +"type": "array" +}, +"analysisStatus": { +"description": "The status of discovery for the resource.", +"enum": [ +"ANALYSIS_STATUS_UNSPECIFIED", +"PENDING", +"SCANNING", +"FINISHED_SUCCESS", +"COMPLETE", +"FINISHED_FAILED", +"FINISHED_UNSUPPORTED" +], +"enumDescriptions": [ +"Unknown.", +"Resource is known but no action has been taken yet.", +"Resource is being analyzed.", +"Analysis has finished successfully.", +"Analysis has completed.", +"Analysis has finished unsuccessfully, the analysis itself is in a bad state.", +"The resource is known not to be supported." +], +"type": "string" +}, +"analysisStatusError": { +"$ref": "Status", +"description": "When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API." +}, +"archiveTime": { +"description": "Output only. The time occurrences related to this discovery occurrence were archived.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"continuousAnalysis": { +"description": "Whether the resource is continuously analyzed.", +"enum": [ +"CONTINUOUS_ANALYSIS_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unknown.", +"The resource is continuously analyzed.", +"The resource is ignored for continuous analysis." +], +"type": "string" +}, +"cpe": { +"description": "The CPE of the resource being scanned.", +"type": "string" +}, +"files": { +"description": "Files that make up the resource described by the occurrence.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"lastScanTime": { +"description": "The last time this resource was scanned.", +"format": "google-datetime", +"type": "string" +}, +"lastVulnerabilityUpdateTime": { +"description": "The last time vulnerability scan results changed.", +"format": "google-datetime", +"type": "string" +}, +"sbomStatus": { +"$ref": "SBOMStatus", +"description": "The status of an SBOM generation." +} +}, +"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" +}, +"Envelope": { +"description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.", +"id": "Envelope", +"properties": { +"payload": { +"format": "byte", +"type": "string" +}, +"payloadType": { +"type": "string" +}, +"signatures": { +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"EnvelopeSignature": { +"id": "EnvelopeSignature", +"properties": { +"keyid": { +"type": "string" +}, +"sig": { +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"ExploitPredictionScoringSystem": { +"id": "ExploitPredictionScoringSystem", +"properties": { +"percentile": { +"description": "The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score", +"format": "double", +"type": "number" +}, +"score": { +"description": "The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"File": { +"id": "File", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"FileHashes": { +"description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.", +"id": "FileHashes", +"properties": { +"fileHash": { +"description": "Required. Collection of file hashes.", +"items": { +"$ref": "Hash" +}, +"type": "array" +} +}, +"type": "object" +}, +"FileLocation": { +"description": "Indicates the location at which a package was found.", +"id": "FileLocation", +"properties": { +"filePath": { +"description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", +"type": "string" +}, +"layerDetails": { +"$ref": "LayerDetails" +} +}, +"type": "object" +}, +"Fingerprint": { +"description": "A set of properties that uniquely identify a given Docker image.", +"id": "Fingerprint", +"properties": { +"v1Name": { +"description": "Required. The layer ID of the final layer in the Docker image's v1 representation.", +"type": "string" +}, +"v2Blob": { +"description": "Required. The ordered list of v2 blobs that represent a given image.", +"items": { +"type": "string" +}, +"type": "array" +}, +"v2Name": { +"description": "Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + \" \" + v2_name[N+1]) Only the name of the final blob is kept.", +"type": "string" +} +}, +"type": "object" +}, +"GerritSourceContext": { +"description": "A SourceContext referring to a Gerrit project.", +"id": "GerritSourceContext", +"properties": { +"aliasContext": { +"$ref": "AliasContext", +"description": "An alias, which may be a branch or tag." +}, +"gerritProject": { +"description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is the hostURI/project.", +"type": "string" +}, +"hostUri": { +"description": "The URI of a running Gerrit instance.", +"type": "string" +}, +"revisionId": { +"description": "A revision (commit) ID.", +"type": "string" +} +}, +"type": "object" +}, +"GitSourceContext": { +"description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).", +"id": "GitSourceContext", +"properties": { +"revisionId": { +"description": "Git commit hash.", +"type": "string" +}, +"url": { +"description": "Git repository URL.", +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1BaseImage": { +"description": "BaseImage describes a base image of a container image.", +"id": "GrafeasV1BaseImage", +"properties": { +"layerCount": { +"description": "The number of layers that the base image is composed of.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the base image.", +"type": "string" +}, +"registry": { +"description": "The registry in which the base image is from.", +"type": "string" +}, +"repository": { +"description": "The repository name in which the base image is from.", +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1FileLocation": { +"description": "Indicates the location at which a package was found.", +"id": "GrafeasV1FileLocation", +"properties": { +"filePath": { +"description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", +"type": "string" +}, +"layerDetails": { +"$ref": "GrafeasV1LayerDetails", +"description": "Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)." +} +}, +"type": "object" +}, +"GrafeasV1LayerDetails": { +"description": "Details about the layer a package was found in.", +"id": "GrafeasV1LayerDetails", +"properties": { +"baseImages": { +"description": "The base images the layer is found within.", +"items": { +"$ref": "GrafeasV1BaseImage" +}, +"type": "array" +}, +"chainId": { +"description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", +"type": "string" +}, +"command": { +"description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", +"type": "string" +}, +"diffId": { +"description": "The diff ID (typically a sha256 hash) of the layer in the container image.", +"type": "string" +}, +"index": { +"description": "The index of the layer in the container image.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder": { +"description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder", +"properties": { +"id": { +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness", +"properties": { +"environment": { +"type": "boolean" +}, +"materials": { +"type": "boolean" +}, +"parameters": { +"type": "boolean" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource": { +"description": "Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"entryPoint": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation": { +"description": "Identifies the event that kicked off the build.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation", +"properties": { +"configSource": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource" +}, +"environment": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata": { +"description": "Other properties of the build.", +"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata", +"properties": { +"buildFinishedOn": { +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"type": "string" +}, +"buildStartedOn": { +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness" +}, +"reproducible": { +"type": "boolean" +} +}, +"type": "object" +}, +"Hash": { +"description": "Container message for hash values.", +"id": "Hash", +"properties": { +"type": { +"description": "Required. The type of hash that was performed, e.g. \"SHA-256\".", +"type": "string" +}, +"value": { +"description": "Required. The hash value.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"Identity": { +"description": "The unique identifier of the update.", +"id": "Identity", +"properties": { +"revision": { +"description": "The revision number of the update.", +"format": "int32", +"type": "integer" +}, +"updateId": { +"description": "The revision independent identifier of the update.", +"type": "string" +} +}, +"type": "object" +}, +"ImageOccurrence": { +"description": "Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .", +"id": "ImageOccurrence", +"properties": { +"baseResourceUrl": { +"description": "Output only. This contains the base image URL for the derived image occurrence.", +"type": "string" +}, +"distance": { +"description": "Output only. The number of layers by which this image differs from the associated image basis.", +"format": "int32", +"type": "integer" +}, +"fingerprint": { +"$ref": "Fingerprint", +"description": "Required. The fingerprint of the derived image." +}, +"layerInfo": { +"description": "This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.", +"items": { +"$ref": "Layer" +}, +"type": "array" +} +}, +"type": "object" +}, +"InTotoProvenance": { +"id": "InTotoProvenance", +"properties": { +"builderConfig": { +"$ref": "BuilderConfig", +"description": "required" +}, +"materials": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", +"items": { +"type": "string" +}, +"type": "array" +}, +"metadata": { +"$ref": "Metadata" +}, +"recipe": { +"$ref": "Recipe", +"description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required" +} +}, +"type": "object" +}, +"InTotoSlsaProvenanceV1": { +"id": "InTotoSlsaProvenanceV1", +"properties": { +"_type": { +"description": "InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement", +"type": "string" +}, +"predicate": { +"$ref": "SlsaProvenanceV1" +}, +"predicateType": { +"type": "string" +}, +"subject": { +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"InTotoStatement": { +"description": "Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application/vnd.in-toto+json\".", +"id": "InTotoStatement", +"properties": { +"_type": { +"description": "Always `https://in-toto.io/Statement/v0.1`.", +"type": "string" +}, +"predicateType": { +"description": "`https://slsa.dev/provenance/v0.1` for SlsaProvenance.", +"type": "string" +}, +"provenance": { +"$ref": "InTotoProvenance" +}, +"slsaProvenance": { +"$ref": "SlsaProvenance" +}, +"slsaProvenanceZeroTwo": { +"$ref": "SlsaProvenanceZeroTwo" +}, +"subject": { +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"Justification": { +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED.", +"id": "Justification", +"properties": { +"details": { +"description": "Additional details on why this justification was chosen.", +"type": "string" +}, +"justificationType": { +"description": "The justification type for this vulnerability.", +"enum": [ +"JUSTIFICATION_TYPE_UNSPECIFIED", +"COMPONENT_NOT_PRESENT", +"VULNERABLE_CODE_NOT_PRESENT", +"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", +"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", +"INLINE_MITIGATIONS_ALREADY_EXIST" +], +"enumDescriptions": [ +"JUSTIFICATION_TYPE_UNSPECIFIED.", +"The vulnerable component is not present in the product.", +"The vulnerable code is not present. Typically this case occurs when source code is configured or built in a way that excludes the vulnerable code.", +"The vulnerable code can not be executed. Typically this case occurs when the product includes the vulnerable code but does not call or use the vulnerable code.", +"The vulnerable code cannot be controlled by an attacker to exploit the vulnerability.", +"The product includes built-in protections or features that prevent exploitation of the vulnerability. These built-in protections cannot be subverted by the attacker and cannot be configured or disabled by the user. These mitigations completely prevent exploitation based on known attack vectors." +], +"type": "string" +} +}, +"type": "object" +}, +"Jwt": { +"id": "Jwt", +"properties": { +"compactJwt": { +"description": "The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1", +"type": "string" +} +}, +"type": "object" +}, +"LanguagePackageDependency": { +"description": "Indicates a language package available between this package and the customer's resource artifact.", +"id": "LanguagePackageDependency", +"properties": { +"package": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"Layer": { +"description": "Layer holds metadata specific to a layer of a Docker image.", +"id": "Layer", +"properties": { +"arguments": { +"description": "The recovered arguments to the Dockerfile directive.", +"type": "string" +}, +"directive": { +"description": "Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information.", +"type": "string" +} +}, +"type": "object" +}, +"LayerDetails": { +"description": "Details about the layer a package was found in.", +"id": "LayerDetails", +"properties": { +"baseImages": { +"description": "The base images the layer is found within.", +"items": { +"$ref": "BaseImage" +}, +"type": "array" +}, +"chainId": { +"description": "The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid", +"type": "string" +}, +"command": { +"description": "The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.", +"type": "string" +}, +"diffId": { +"description": "The diff ID (sha256 hash) of the layer in the container image.", +"type": "string" +}, +"index": { +"description": "The index of the layer in the container image.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"License": { +"description": "License information.", +"id": "License", +"properties": { +"comments": { +"description": "Comments", +"type": "string" +}, +"expression": { +"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVulnerabilitiesResponse": { +"description": "ListVulnerabilitiesResponse contains a single page of vulnerabilities resulting from a scan.", +"id": "ListVulnerabilitiesResponse", +"properties": { +"nextPageToken": { +"description": "A page token that can be used in a subsequent call to ListVulnerabilities to continue retrieving results.", +"type": "string" +}, +"occurrences": { +"description": "The list of Vulnerability Occurrences resulting from a scan.", +"items": { +"$ref": "Occurrence" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.", +"id": "Location", +"properties": { +"cpeUri": { +"description": "Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)", +"type": "string" +}, +"path": { +"description": "The path from which we gathered that this package/version is installed.", +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Deprecated. The version installed at this location." +} +}, +"type": "object" +}, +"Maintainer": { +"id": "Maintainer", +"properties": { +"email": { +"type": "string" +}, +"kind": { +"type": "string" +}, +"name": { +"type": "string" +}, +"url": { +"type": "string" +} +}, +"type": "object" +}, +"Material": { +"id": "Material", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "Other properties of the build.", +"id": "Metadata", +"properties": { +"buildFinishedOn": { +"description": "The timestamp of when the build completed.", +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", +"type": "string" +}, +"buildStartedOn": { +"description": "The timestamp of when the build started.", +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "Completeness", +"description": "Indicates that the builder claims certain fields in this message to be complete." +}, +"reproducible": { +"description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", +"type": "boolean" +} +}, +"type": "object" +}, +"NonCompliantFile": { +"description": "Details about files that caused a compliance check to fail. display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using 'path'.", +"id": "NonCompliantFile", +"properties": { +"displayCommand": { +"description": "Command to display the non-compliant files.", +"type": "string" +}, +"path": { +"description": "Empty if `display_command` is set.", +"type": "string" +}, +"reason": { +"description": "Explains why a file is non compliant for a CIS check.", +"type": "string" +} +}, +"type": "object" +}, +"Occurrence": { +"description": "An instance of an analysis type that has been found on a resource.", +"id": "Occurrence", +"properties": { +"attestation": { +"$ref": "AttestationOccurrence", +"description": "Describes an attestation of an artifact." +}, +"build": { +"$ref": "BuildOccurrence", +"description": "Describes a verifiable build." +}, +"compliance": { +"$ref": "ComplianceOccurrence", +"description": "Describes a compliance violation on a linked resource." +}, +"createTime": { +"description": "Output only. The time this occurrence was created.", +"format": "google-datetime", +"type": "string" +}, +"deployment": { +"$ref": "DeploymentOccurrence", +"description": "Describes the deployment of an artifact on a runtime." +}, +"discovery": { +"$ref": "DiscoveryOccurrence", +"description": "Describes when a resource was discovered." +}, +"dsseAttestation": { +"$ref": "DSSEAttestationOccurrence", +"description": "Describes an attestation of an artifact using dsse." +}, +"envelope": { +"$ref": "Envelope", +"description": "https://github.com/secure-systems-lab/dsse" +}, +"image": { +"$ref": "ImageOccurrence", +"description": "Describes how this resource derives from the basis in the associated note." +}, +"kind": { +"description": "Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.", +"enum": [ +"NOTE_KIND_UNSPECIFIED", +"VULNERABILITY", +"BUILD", +"IMAGE", +"PACKAGE", +"DEPLOYMENT", +"DISCOVERY", +"ATTESTATION", +"UPGRADE", +"COMPLIANCE", +"DSSE_ATTESTATION", +"VULNERABILITY_ASSESSMENT", +"SBOM_REFERENCE", +"SECRET" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The note and occurrence represent a package vulnerability.", +"The note and occurrence assert build provenance.", +"This represents an image basis relationship.", +"This represents a package installed via a package manager.", +"The note and occurrence track deployment events.", +"The note and occurrence track the initial discovery status of a resource.", +"This represents a logical \"role\" that can attest to artifacts.", +"This represents an available package upgrade.", +"This represents a Compliance Note", +"This represents a DSSE attestation Note", +"This represents a Vulnerability Assessment.", +"This represents an SBOM Reference.", +"This represents a secret." +], +"type": "string" +}, +"name": { +"description": "Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.", +"type": "string" +}, +"noteName": { +"description": "Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.", +"type": "string" +}, +"package": { +"$ref": "PackageOccurrence", +"description": "Describes the installation of a package on the linked resource." +}, +"remediation": { +"description": "A description of actions that can be taken to remedy the note.", +"type": "string" +}, +"resourceUri": { +"description": "Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image.", +"type": "string" +}, +"sbomReference": { +"$ref": "SBOMReferenceOccurrence", +"description": "Describes a specific SBOM reference occurrences." +}, +"secret": { +"$ref": "SecretOccurrence", +"description": "Describes a secret." +}, +"updateTime": { +"description": "Output only. The time this occurrence was last updated.", +"format": "google-datetime", +"type": "string" +}, +"upgrade": { +"$ref": "UpgradeOccurrence", +"description": "Describes an available package upgrade on the linked resource." +}, +"vulnerability": { +"$ref": "VulnerabilityOccurrence", +"description": "Describes a security vulnerability." +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"PackageData": { +"id": "PackageData", +"properties": { +"architecture": { +"description": "The architecture of the package.", +"type": "string" +}, +"binarySourceInfo": { +"description": "A bundle containing the binary and source information.", +"items": { +"$ref": "BinarySourceInfo" +}, +"type": "array" +}, +"binaryVersion": { +"$ref": "PackageVersion", +"description": "DEPRECATED" +}, +"cpeUri": { +"description": "The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability may manifest. Examples include distro or storage location for vulnerable jar.", +"type": "string" +}, +"dependencyChain": { +"description": "The dependency chain between this package and the user's artifact. List in order from the customer's package under review first, to the current package last. Inclusive of the original package and the current package.", +"items": { +"$ref": "LanguagePackageDependency" +}, +"type": "array" +}, +"fileLocation": { +"description": "The path to the jar file / go binary file.", +"items": { +"$ref": "FileLocation" +}, +"type": "array" +}, +"hashDigest": { +"description": "HashDigest stores the SHA512 hash digest of the jar file if the package is of type Maven. This field will be unset for non Maven packages.", +"type": "string" +}, +"layerDetails": { +"$ref": "LayerDetails" +}, +"licenses": { +"description": "The list of licenses found that are related to a given package. Note that licenses may also be stored on the BinarySourceInfo. If there is no BinarySourceInfo (because there's no concept of source vs binary), then it will be stored here, while if there are BinarySourceInfos, it will be stored there, as one source can have multiple binaries with different licenses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"maintainer": { +"$ref": "Maintainer", +"description": "The maintainer of the package." +}, +"os": { +"description": "The OS affected by a vulnerability Used to generate the cpe_uri for OS packages", +"type": "string" +}, +"osVersion": { +"description": "The version of the OS Used to generate the cpe_uri for OS packages", +"type": "string" +}, +"package": { +"description": "The package being analysed for vulnerabilities", +"type": "string" +}, +"packageType": { +"description": "The type of package: os, maven, go, etc.", +"enum": [ +"PACKAGE_TYPE_UNSPECIFIED", +"OS", +"MAVEN", +"GO", +"GO_STDLIB", +"PYPI", +"NPM", +"NUGET", +"RUBYGEMS", +"RUST", +"COMPOSER", +"SWIFT" +], +"enumDescriptions": [ +"", +"Operating System", +"Java packages from Maven.", +"Go third-party packages.", +"Go toolchain + standard library packages.", +"Python packages.", +"NPM packages.", +"Nuget (C#/.NET) packages.", +"Ruby packges (from RubyGems package manager).", +"Rust packages from Cargo (GitHub ecosystem is `RUST`).", +"PHP packages from Composer package manager.", +"Swift packages from Swift Package Manager (SwiftPM)." +], +"type": "string" +}, +"patchedCve": { +"description": "CVEs that this package is no longer vulnerable to", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceVersion": { +"$ref": "PackageVersion", +"description": "DEPRECATED" +}, +"unused": { +"type": "string" +}, +"version": { +"description": "The version of the package being analysed", +"type": "string" +} +}, +"type": "object" +}, +"PackageIssue": { +"description": "A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).", +"id": "PackageIssue", +"properties": { +"affectedCpeUri": { +"description": "Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.", +"type": "string" +}, +"affectedPackage": { +"description": "Required. The package this vulnerability was found in.", +"type": "string" +}, +"affectedVersion": { +"$ref": "Version", +"description": "Required. The version of the package that is installed on the resource affected by this vulnerability." +}, +"effectiveSeverity": { +"description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"readOnly": true, +"type": "string" +}, +"fileLocation": { +"description": "The location at which this package was found.", +"items": { +"$ref": "GrafeasV1FileLocation" +}, +"type": "array" +}, +"fixAvailable": { +"description": "Output only. Whether a fix is available for this package.", +"type": "boolean" +}, +"fixedCpeUri": { +"description": "The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.", +"type": "string" +}, +"fixedPackage": { +"description": "The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.", +"type": "string" +}, +"fixedVersion": { +"$ref": "Version", +"description": "Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available." +}, +"packageType": { +"description": "The type of package (e.g. OS, MAVEN, GO).", +"type": "string" +} +}, +"type": "object" +}, +"PackageOccurrence": { +"description": "Details on how a particular software package was installed on a system.", +"id": "PackageOccurrence", +"properties": { +"architecture": { +"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.", +"enum": [ +"ARCHITECTURE_UNSPECIFIED", +"X86", +"X64" +], +"enumDescriptions": [ +"Unknown architecture.", +"X86 architecture.", +"X64 architecture." +], +"readOnly": true, +"type": "string" +}, +"cpeUri": { +"description": "Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.", +"readOnly": true, +"type": "string" +}, +"license": { +"$ref": "License", +"description": "Licenses that have been declared by the authors of the package." +}, +"location": { +"description": "All of the places within the filesystem versions of this package have been found.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"name": { +"description": "Required. Output only. The name of the installed package.", +"readOnly": true, +"type": "string" +}, +"packageType": { +"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"readOnly": true, +"type": "string" +}, +"version": { +"$ref": "Version", +"description": "Output only. The version of the package.", +"readOnly": true +} +}, +"type": "object" +}, +"PackageVersion": { +"id": "PackageVersion", +"properties": { +"licenses": { +"description": "The licenses associated with this package. Note that this has to go on the PackageVersion level, because we can have cases with images with the same source having different licences. E.g. in Alpine, musl and musl-utils both have the same origin musl, but have different sets of licenses.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"type": "string" +}, +"version": { +"type": "string" +} +}, +"type": "object" +}, +"ProjectRepoId": { +"description": "Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.", +"id": "ProjectRepoId", +"properties": { +"projectId": { +"description": "The ID of the project.", +"type": "string" +}, +"repoName": { +"description": "The name of the repo. Leave empty for the default repo.", +"type": "string" +} +}, +"type": "object" +}, +"ProvenanceBuilder": { +"id": "ProvenanceBuilder", +"properties": { +"builderDependencies": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"id": { +"type": "string" +}, +"version": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +} +}, +"type": "object" +}, +"Recipe": { +"description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", +"id": "Recipe", +"properties": { +"arguments": { +"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"definedInMaterial": { +"description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", +"format": "int64", +"type": "string" +}, +"entryPoint": { +"description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", +"type": "string" +}, +"environment": { +"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"type": { +"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", +"type": "string" +} +}, +"type": "object" +}, +"RelatedUrl": { +"description": "Metadata for any related URL information.", +"id": "RelatedUrl", +"properties": { +"label": { +"description": "Label to describe usage of the URL.", +"type": "string" +}, +"url": { +"description": "Specific URL associated with the resource.", +"type": "string" +} +}, +"type": "object" +}, +"Remediation": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"id": "Remediation", +"properties": { +"details": { +"description": "Contains a comprehensive human-readable discussion of the remediation.", +"type": "string" +}, +"remediationType": { +"description": "The type of remediation that can be applied.", +"enum": [ +"REMEDIATION_TYPE_UNSPECIFIED", +"MITIGATION", +"NO_FIX_PLANNED", +"NONE_AVAILABLE", +"VENDOR_FIX", +"WORKAROUND" +], +"enumDescriptions": [ +"No remediation type specified.", +"A MITIGATION is available.", +"No fix is planned.", +"Not available.", +"A vendor fix is available.", +"A workaround is available." +], +"type": "string" +}, +"remediationUri": { +"$ref": "RelatedUrl", +"description": "Contains the URL where to obtain the remediation." +} +}, +"type": "object" +}, +"RepoId": { +"description": "A unique identifier for a Cloud Repo.", +"id": "RepoId", +"properties": { +"projectRepoId": { +"$ref": "ProjectRepoId", +"description": "A combination of a project ID and a repo name." +}, +"uid": { +"description": "A server-assigned, globally unique identifier.", +"type": "string" +} +}, +"type": "object" +}, +"ResourceDescriptor": { +"id": "ResourceDescriptor", +"properties": { +"annotations": { +"additionalProperties": { +"type": "any" +}, +"type": "object" +}, +"content": { +"format": "byte", +"type": "string" +}, +"digest": { +"additionalProperties": { +"type": "string" +}, +"type": "object" +}, +"downloadLocation": { +"type": "string" +}, +"mediaType": { +"type": "string" +}, +"name": { +"type": "string" +}, +"uri": { +"type": "string" +} +}, +"type": "object" +}, +"Risk": { +"id": "Risk", +"properties": { +"cisaKev": { +"$ref": "CISAKnownExploitedVulnerabilities", +"description": "CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild." +}, +"epss": { +"$ref": "ExploitPredictionScoringSystem", +"description": "The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild." +} +}, +"type": "object" +}, +"RunDetails": { +"id": "RunDetails", +"properties": { +"builder": { +"$ref": "ProvenanceBuilder" +}, +"byproducts": { +"items": { +"$ref": "ResourceDescriptor" +}, +"type": "array" +}, +"metadata": { +"$ref": "BuildMetadata" +} +}, +"type": "object" +}, +"SBOMReferenceOccurrence": { +"description": "The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.", +"id": "SBOMReferenceOccurrence", +"properties": { +"payload": { +"$ref": "SbomReferenceIntotoPayload", +"description": "The actual payload that contains the SBOM reference data." +}, +"payloadType": { +"description": "The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.", +"type": "string" +}, +"signatures": { +"description": "The signatures over the payload.", +"items": { +"$ref": "EnvelopeSignature" +}, +"type": "array" +} +}, +"type": "object" +}, +"SBOMStatus": { +"description": "The status of an SBOM generation.", +"id": "SBOMStatus", +"properties": { +"error": { +"description": "If there was an error generating an SBOM, this will indicate what that error was.", +"type": "string" +}, +"sbomState": { +"description": "The progress of the SBOM generation.", +"enum": [ +"SBOM_STATE_UNSPECIFIED", +"PENDING", +"COMPLETE" +], +"enumDescriptions": [ +"Default unknown state.", +"SBOM scanning is pending.", +"SBOM scanning has completed." +], +"type": "string" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPayload": { +"description": "The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.", +"id": "SbomReferenceIntotoPayload", +"properties": { +"_type": { +"description": "Identifier for the schema of the Statement.", +"type": "string" +}, +"predicate": { +"$ref": "SbomReferenceIntotoPredicate", +"description": "Additional parameters of the Predicate. Includes the actual data about the SBOM." +}, +"predicateType": { +"description": "URI identifying the type of the Predicate.", +"type": "string" +}, +"subject": { +"description": "Set of software artifacts that the attestation applies to. Each element represents a single software artifact.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"SbomReferenceIntotoPredicate": { +"description": "A predicate which describes the SBOM being referenced.", +"id": "SbomReferenceIntotoPredicate", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "A map of algorithm to digest of the contents of the SBOM.", +"type": "object" +}, +"location": { +"description": "The location of the SBOM.", +"type": "string" +}, +"mimeType": { +"description": "The mime type of the SBOM.", +"type": "string" +}, +"referrerId": { +"description": "The person or system referring this predicate to the consumer.", +"type": "string" +} +}, +"type": "object" +}, +"SecretLocation": { +"description": "The location of the secret.", +"id": "SecretLocation", +"properties": { +"fileLocation": { +"$ref": "GrafeasV1FileLocation", +"description": "The secret is found from a file." +} +}, +"type": "object" +}, +"SecretOccurrence": { +"description": "The occurrence provides details of a secret.", +"id": "SecretOccurrence", +"properties": { +"kind": { +"description": "Required. Type of secret.", +"enum": [ +"SECRET_KIND_UNSPECIFIED", +"SECRET_KIND_UNKNOWN", +"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY", +"SECRET_KIND_GCP_API_KEY", +"SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS", +"SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN", +"SECRET_KIND_ANTHROPIC_ADMIN_API_KEY", +"SECRET_KIND_ANTHROPIC_API_KEY", +"SECRET_KIND_AZURE_ACCESS_TOKEN", +"SECRET_KIND_AZURE_IDENTITY_TOKEN", +"SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_APP_REFRESH_TOKEN", +"SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN", +"SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN", +"SECRET_KIND_GITHUB_OAUTH_TOKEN", +"SECRET_KIND_HUGGINGFACE_API_KEY", +"SECRET_KIND_OPENAI_API_KEY", +"SECRET_KIND_PERPLEXITY_API_KEY", +"SECRET_KIND_STRIPE_SECRET_KEY", +"SECRET_KIND_STRIPE_RESTRICTED_KEY", +"SECRET_KIND_STRIPE_WEBHOOK_SECRET" +], +"enumDescriptions": [ +"Unspecified", +"The secret kind is unknown.", +"A Google Cloud service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys", +"A Google Cloud API key per: https://cloud.google.com/docs/authentication/api-keys", +"A Google Cloud OAuth2 client credentials per: https://developers.google.com/identity/protocols/oauth2", +"A Google Cloud OAuth2 access token per: https://cloud.google.com/docs/authentication/token-types#access", +"An Anthropic Admin API key.", +"An Anthropic API key.", +"An Azure access token.", +"An Azure Identity Platform ID token.", +"A Docker Hub personal access token.", +"A GitHub App refresh token.", +"A GitHub App server-to-server token.", +"A GitHub App user-to-server token.", +"A GitHub personal access token (classic).", +"A GitHub fine-grained personal access token.", +"A GitHub OAuth token.", +"A Hugging Face API key.", +"An OpenAI API key.", +"A Perplexity API key.", +"A Stripe secret key.", +"A Stripe restricted key.", +"A Stripe webhook secret." +], +"type": "string" +}, +"locations": { +"description": "Optional. Locations where the secret is detected.", +"items": { +"$ref": "SecretLocation" +}, +"type": "array" +}, +"statuses": { +"description": "Optional. Status of the secret.", +"items": { +"$ref": "SecretStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret with a timestamp.", +"id": "SecretStatus", +"properties": { +"message": { +"description": "Optional. Optional message about the status code.", +"type": "string" +}, +"status": { +"description": "Optional. The status of the secret.", +"enum": [ +"STATUS_UNSPECIFIED", +"UNKNOWN", +"VALID", +"INVALID" +], +"enumDescriptions": [ +"Unspecified", +"The status of the secret is unknown.", +"The secret is valid.", +"The secret is invalid." +], +"type": "string" +}, +"updateTime": { +"description": "Optional. The time the secret status was last updated.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Signature": { +"description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).", +"id": "Signature", +"properties": { +"publicKeyId": { +"description": "The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"", +"type": "string" +}, +"signature": { +"description": "The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"SlsaBuilder": { +"id": "SlsaBuilder", +"properties": { +"id": { +"type": "string" +} +}, +"type": "object" +}, +"SlsaCompleteness": { +"description": "Indicates that the builder claims certain fields in this message to be complete.", +"id": "SlsaCompleteness", +"properties": { +"arguments": { +"description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.", +"type": "boolean" +}, +"environment": { +"description": "If true, the builder claims that recipe.environment is claimed to be complete.", +"type": "boolean" +}, +"materials": { +"description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".", +"type": "boolean" +} +}, +"type": "object" +}, +"SlsaMetadata": { +"description": "Other properties of the build.", +"id": "SlsaMetadata", +"properties": { +"buildFinishedOn": { +"description": "The timestamp of when the build completed.", +"format": "google-datetime", +"type": "string" +}, +"buildInvocationId": { +"description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.", +"type": "string" +}, +"buildStartedOn": { +"description": "The timestamp of when the build started.", +"format": "google-datetime", +"type": "string" +}, +"completeness": { +"$ref": "SlsaCompleteness", +"description": "Indicates that the builder claims certain fields in this message to be complete." +}, +"reproducible": { +"description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.", +"type": "boolean" +} +}, +"type": "object" +}, +"SlsaProvenance": { +"id": "SlsaProvenance", +"properties": { +"builder": { +"$ref": "SlsaBuilder", +"description": "required" +}, +"materials": { +"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.", +"items": { +"$ref": "Material" +}, +"type": "array" +}, +"metadata": { +"$ref": "SlsaMetadata" +}, +"recipe": { +"$ref": "SlsaRecipe", +"description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required" +} +}, +"type": "object" +}, +"SlsaProvenanceV1": { +"description": "Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.", +"id": "SlsaProvenanceV1", +"properties": { +"buildDefinition": { +"$ref": "BuildDefinition" +}, +"runDetails": { +"$ref": "RunDetails" +} +}, +"type": "object" +}, +"SlsaProvenanceZeroTwo": { +"description": "See full explanation of fields at slsa.dev/provenance/v0.2.", +"id": "SlsaProvenanceZeroTwo", +"properties": { +"buildConfig": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"type": "object" +}, +"buildType": { +"type": "string" +}, +"builder": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder" +}, +"invocation": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation" +}, +"materials": { +"items": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial" +}, +"type": "array" +}, +"metadata": { +"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata" +} +}, +"type": "object" +}, +"SlsaRecipe": { +"description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.", +"id": "SlsaRecipe", +"properties": { +"arguments": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.", +"type": "object" +}, +"definedInMaterial": { +"description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.", +"format": "int64", +"type": "string" +}, +"entryPoint": { +"description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.", +"type": "string" +}, +"environment": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.", +"type": "object" +}, +"type": { +"description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.", +"type": "string" +} +}, +"type": "object" +}, +"Source": { +"description": "Source describes the location of the source used for the build.", +"id": "Source", +"properties": { +"additionalContexts": { +"description": "If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.", +"items": { +"$ref": "SourceContext" +}, +"type": "array" +}, +"artifactStorageSourceUri": { +"description": "If provided, the input binary artifacts for the build came from this location.", +"type": "string" +}, +"context": { +"$ref": "SourceContext", +"description": "If provided, the source code used for the build came from this location." +}, +"fileHashes": { +"additionalProperties": { +"$ref": "FileHashes" +}, +"description": "Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.", +"type": "object" +} +}, +"type": "object" +}, +"SourceContext": { +"description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.", +"id": "SourceContext", +"properties": { +"cloudRepo": { +"$ref": "CloudRepoSourceContext", +"description": "A SourceContext referring to a revision in a Google Cloud Source Repo." +}, +"gerrit": { +"$ref": "GerritSourceContext", +"description": "A SourceContext referring to a Gerrit project." +}, +"git": { +"$ref": "GitSourceContext", +"description": "A SourceContext referring to any third party Git repo (e.g., GitHub)." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels with user defined metadata.", +"type": "object" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"id": "Subject", +"properties": { +"digest": { +"additionalProperties": { +"type": "string" +}, +"description": "`\"\": \"\"` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet", +"type": "object" +}, +"name": { +"type": "string" +} +}, +"type": "object" +}, +"UpgradeDistribution": { +"description": "The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.", +"id": "UpgradeDistribution", +"properties": { +"classification": { +"description": "The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)", +"type": "string" +}, +"cpeUri": { +"description": "Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.", +"type": "string" +}, +"cve": { +"description": "The cve tied to this Upgrade.", +"items": { +"type": "string" +}, +"type": "array" +}, +"severity": { +"description": "The severity as specified by the upstream operating system.", +"type": "string" +} +}, +"type": "object" +}, +"UpgradeOccurrence": { +"description": "An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.", +"id": "UpgradeOccurrence", +"properties": { +"distribution": { +"$ref": "UpgradeDistribution", +"description": "Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence." +}, +"package": { +"description": "Required for non-Windows OS. The package this Upgrade is for.", +"type": "string" +}, +"parsedVersion": { +"$ref": "Version", +"description": "Required for non-Windows OS. The version of the package in a machine + human readable form." +}, +"windowsUpdate": { +"$ref": "WindowsUpdate", +"description": "Required for Windows OS. Represents the metadata about the Windows update." +} +}, +"type": "object" +}, +"Version": { +"description": "Version contains structured information about the version of a package.", +"id": "Version", +"properties": { +"epoch": { +"description": "Used to correct mistakes in the version numbering scheme.", +"format": "int32", +"type": "integer" +}, +"fullName": { +"description": "Human readable version string. This string is of the form :- and is only set when kind is NORMAL.", +"type": "string" +}, +"inclusive": { +"description": "Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.", +"type": "boolean" +}, +"kind": { +"description": "Required. Distinguishes between sentinel MIN/MAX versions and normal versions.", +"enum": [ +"VERSION_KIND_UNSPECIFIED", +"NORMAL", +"MINIMUM", +"MAXIMUM" +], +"enumDescriptions": [ +"Unknown.", +"A standard package version.", +"A special version representing negative infinity.", +"A special version representing positive infinity." +], +"type": "string" +}, +"name": { +"description": "Required only when version kind is NORMAL. The main part of the version name.", +"type": "string" +}, +"revision": { +"description": "The iteration of the package build from the above version.", +"type": "string" +} +}, +"type": "object" +}, +"VexAssessment": { +"description": "VexAssessment provides all publisher provided Vex information that is related to this vulnerability.", +"id": "VexAssessment", +"properties": { +"cve": { +"deprecated": true, +"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.", +"type": "string" +}, +"impacts": { +"description": "Contains information about the impact of this vulnerability, this will change with time.", +"items": { +"type": "string" +}, +"type": "array" +}, +"justification": { +"$ref": "Justification", +"description": "Justification provides the justification when the state of the assessment if NOT_AFFECTED." +}, +"noteName": { +"description": "The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.", +"type": "string" +}, +"relatedUris": { +"description": "Holds a list of references associated with this vulnerability item and assessment.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"remediations": { +"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.", +"items": { +"$ref": "Remediation" +}, +"type": "array" +}, +"state": { +"description": "Provides the state of this Vulnerability assessment.", +"enum": [ +"STATE_UNSPECIFIED", +"AFFECTED", +"NOT_AFFECTED", +"FIXED", +"UNDER_INVESTIGATION" +], +"enumDescriptions": [ +"No state is specified.", +"This product is known to be affected by this vulnerability.", +"This product is known to be not affected by this vulnerability.", +"This product contains a fix for this vulnerability.", +"It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation." +], +"type": "string" +}, +"vulnerabilityId": { +"description": "The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.", +"type": "string" +} +}, +"type": "object" +}, +"VulnerabilityOccurrence": { +"description": "An occurrence of a severity vulnerability on a resource.", +"id": "VulnerabilityOccurrence", +"properties": { +"cvssScore": { +"description": "Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.", +"format": "float", +"type": "number" +}, +"cvssV2": { +"$ref": "CVSS", +"description": "The cvss v2 score for the vulnerability." +}, +"cvssVersion": { +"description": "Output only. CVSS version used to populate cvss_score and severity.", +"enum": [ +"CVSS_VERSION_UNSPECIFIED", +"CVSS_VERSION_2", +"CVSS_VERSION_3" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"cvssv3": { +"$ref": "CVSS", +"description": "The cvss v3 score for the vulnerability." +}, +"effectiveSeverity": { +"description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"extraDetails": { +"description": "Occurrence-specific extra details about the vulnerability.", +"type": "string" +}, +"fixAvailable": { +"description": "Output only. Whether at least one of the affected packages has a fix available.", +"type": "boolean" +}, +"longDescription": { +"description": "Output only. A detailed description of this vulnerability.", +"type": "string" +}, +"packageIssue": { +"description": "Required. The set of affected locations and their fixes (if available) within the associated resource.", +"items": { +"$ref": "PackageIssue" +}, +"type": "array" +}, +"relatedUrls": { +"description": "Output only. URLs related to this vulnerability.", +"items": { +"$ref": "RelatedUrl" +}, +"type": "array" +}, +"risk": { +"$ref": "Risk", +"description": "Risk information about the vulnerability, such as CISA, EPSS, etc." +}, +"severity": { +"description": "Output only. The note provider assigned severity of this vulnerability.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"MINIMAL", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Unknown.", +"Minimal severity.", +"Low severity.", +"Medium severity.", +"High severity.", +"Critical severity." +], +"type": "string" +}, +"shortDescription": { +"description": "Output only. A one sentence description of this vulnerability.", +"type": "string" +}, +"type": { +"description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).", +"type": "string" +}, +"vexAssessment": { +"$ref": "VexAssessment" +} +}, +"type": "object" +}, +"WindowsUpdate": { +"description": "Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.", +"id": "WindowsUpdate", +"properties": { +"categories": { +"description": "The list of categories to which the update belongs.", +"items": { +"$ref": "Category" +}, +"type": "array" +}, +"description": { +"description": "The localized description of the update.", +"type": "string" +}, +"identity": { +"$ref": "Identity", +"description": "Required - The unique identifier for the update." +}, +"kbArticleIds": { +"description": "The Microsoft Knowledge Base article IDs that are associated with the update.", +"items": { +"type": "string" +}, +"type": "array" +}, +"lastPublishedTimestamp": { +"description": "The last published timestamp of the update.", +"format": "google-datetime", +"type": "string" +}, +"supportUrl": { +"description": "The hyperlink to the support information for the update.", +"type": "string" +}, +"title": { +"description": "The localized title of the update.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "On-Demand Scanning API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parametermanager.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parametermanager.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..a828a021eecf8300018bd726dac00595623aa286 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/parametermanager.v1.json @@ -0,0 +1,1102 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://parametermanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Parameter Manager", +"description": "Parameter Manager is a single source of truth to store, access and manage the lifecycle of your workload parameters. Parameter Manager aims to make management of sensitive application parameters effortless for customers without diminishing focus on security.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/secret-manager/parameter-manager/docs/overview", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-east4.rep.googleapis.com/", +"location": "us-east4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-east7.rep.googleapis.com/", +"location": "us-east7" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-central2.rep.googleapis.com/", +"location": "us-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-east1.rep.googleapis.com/", +"location": "us-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-east5.rep.googleapis.com/", +"location": "us-east5" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-south1.rep.googleapis.com/", +"location": "us-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-west2.rep.googleapis.com/", +"location": "us-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-west3.rep.googleapis.com/", +"location": "us-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us-west4.rep.googleapis.com/", +"location": "us-west4" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-northeast1.rep.googleapis.com/", +"location": "asia-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.australia-southeast1.rep.googleapis.com/", +"location": "australia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.australia-southeast2.rep.googleapis.com/", +"location": "australia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west6.rep.googleapis.com/", +"location": "europe-west6" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west8.rep.googleapis.com/", +"location": "europe-west8" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west9.rep.googleapis.com/", +"location": "europe-west9" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.northamerica-northeast1.rep.googleapis.com/", +"location": "northamerica-northeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.northamerica-northeast2.rep.googleapis.com/", +"location": "northamerica-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west12.rep.googleapis.com/", +"location": "europe-west12" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.africa-south1.rep.googleapis.com/", +"location": "africa-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-southeast1.rep.googleapis.com/", +"location": "asia-southeast1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-southeast2.rep.googleapis.com/", +"location": "asia-southeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.me-central1.rep.googleapis.com/", +"location": "me-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.southamerica-east1.rep.googleapis.com/", +"location": "southamerica-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-south1.rep.googleapis.com/", +"location": "asia-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west10.rep.googleapis.com/", +"location": "europe-west10" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-north1.rep.googleapis.com/", +"location": "europe-north1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-central2.rep.googleapis.com/", +"location": "europe-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-southwest1.rep.googleapis.com/", +"location": "europe-southwest1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-south2.rep.googleapis.com/", +"location": "asia-south2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-east1.rep.googleapis.com/", +"location": "asia-east1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-east2.rep.googleapis.com/", +"location": "asia-east2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-northeast2.rep.googleapis.com/", +"location": "asia-northeast2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.asia-northeast3.rep.googleapis.com/", +"location": "asia-northeast3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.northamerica-south1.rep.googleapis.com/", +"location": "northamerica-south1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.southamerica-west1.rep.googleapis.com/", +"location": "southamerica-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-north2.rep.googleapis.com/", +"location": "europe-north2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.europe-west15.rep.googleapis.com/", +"location": "europe-west15" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.eu.rep.googleapis.com/", +"location": "eu" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.ca.rep.googleapis.com/", +"location": "ca" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://parametermanager.in.rep.googleapis.com/", +"location": "in" +} +], +"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": "parametermanager:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://parametermanager.mtls.googleapis.com/", +"name": "parametermanager", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"parameters": { +"methods": { +"create": { +"description": "Creates a new Parameter in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters", +"httpMethod": "POST", +"id": "parametermanager.projects.locations.parameters.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parameterId": { +"description": "Required. Id of the Parameter resource", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/parameters", +"request": { +"$ref": "Parameter" +}, +"response": { +"$ref": "Parameter" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single Parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}", +"httpMethod": "DELETE", +"id": "parametermanager.projects.locations.parameters.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format `projects/*/locations/*/parameters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+$", +"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": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single Parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.parameters.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format `projects/*/locations/*/parameters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Parameter" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists Parameters in a given project and location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.parameters.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 page token, received from a previous `ListParameters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListParameters` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListParametersRequest in the format `projects/*/locations/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/parameters", +"response": { +"$ref": "ListParametersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single Parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}", +"httpMethod": "PATCH", +"id": "parametermanager.projects.locations.parameters.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+$", +"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 Parameter resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Parameter" +}, +"response": { +"$ref": "Parameter" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"versions": { +"methods": { +"create": { +"description": "Creates a new ParameterVersion in a given project, location, and parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions", +"httpMethod": "POST", +"id": "parametermanager.projects.locations.parameters.versions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parameterVersionId": { +"description": "Required. Id of the ParameterVersion resource", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Value for parent in the format `projects/*/locations/*/parameters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+$", +"required": true, +"type": "string" +}, +"requestId": { +"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"request": { +"$ref": "ParameterVersion" +}, +"response": { +"$ref": "ParameterVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a single ParameterVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "parametermanager.projects.locations.parameters.versions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format `projects/*/locations/*/parameters/*/versions/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+/versions/[^/]+$", +"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": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single ParameterVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.parameters.versions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource in the format `projects/*/locations/*/parameters/*/versions/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. View of the ParameterVersion. In the default FULL view, all metadata & payload associated with the ParameterVersion will be returned.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the FULL view.", +"Include only the metadata for the resource.", +"Include metadata & other relevant payload data as well. This is the default view." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ParameterVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists ParameterVersions in a given project, location, and parameter.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.parameters.versions.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 page token, received from a previous `ListParameterVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListParameterVersions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent value for ListParameterVersionsRequest in the format `projects/*/locations/*/parameters/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/versions", +"response": { +"$ref": "ListParameterVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a single ParameterVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions/{versionsId}", +"httpMethod": "PATCH", +"id": "parametermanager.projects.locations.parameters.versions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+/versions/[^/]+$", +"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 ParameterVersion resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "ParameterVersion" +}, +"response": { +"$ref": "ParameterVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"render": { +"description": "Gets rendered version of a ParameterVersion.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/parameters/{parametersId}/versions/{versionsId}:render", +"httpMethod": "GET", +"id": "parametermanager.projects.locations.parameters.versions.render", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/parameters/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:render", +"response": { +"$ref": "RenderParameterVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20260107", +"rootUrl": "https://parametermanager.googleapis.com/", +"schemas": { +"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" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListParameterVersionsResponse": { +"description": "Message for response to listing ParameterVersions", +"id": "ListParameterVersionsResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"parameterVersions": { +"description": "The list of ParameterVersions", +"items": { +"$ref": "ParameterVersion" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Locations that could not be reached.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListParametersResponse": { +"description": "Message for response to listing Parameters", +"id": "ListParametersResponse", +"properties": { +"nextPageToken": { +"description": "A token identifying a page of results the server should return.", +"type": "string" +}, +"parameters": { +"description": "The list of Parameters", +"items": { +"$ref": "Parameter" +}, +"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", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Parameter": { +"description": "Message describing Parameter resource", +"id": "Parameter", +"properties": { +"createTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"format": { +"description": "Optional. Specifies the format of a Parameter.", +"enum": [ +"PARAMETER_FORMAT_UNSPECIFIED", +"UNFORMATTED", +"YAML", +"JSON" +], +"enumDescriptions": [ +"The default / unset value. The API will default to the UNFORMATTED format.", +"Unformatted.", +"YAML format.", +"JSON format." +], +"type": "string" +}, +"kmsKey": { +"description": "Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Labels as key value pairs", +"type": "object" +}, +"name": { +"description": "Identifier. [Output only] The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`.", +"type": "string" +}, +"policyMember": { +"$ref": "ResourcePolicyMember", +"description": "Output only. [Output-only] policy member strings of a Google Cloud resource.", +"readOnly": true +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ParameterVersion": { +"description": "Message describing ParameterVersion resource", +"id": "ParameterVersion", +"properties": { +"createTime": { +"description": "Output only. [Output only] Create time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"disabled": { +"description": "Optional. Disabled boolean to determine if a ParameterVersion acts as a metadata only resource (payload is never returned if disabled is true). If true any calls will always default to BASIC view even if the user explicitly passes FULL view as part of the request. A render call on a disabled resource fails with an error. Default value is False.", +"type": "boolean" +}, +"kmsKeyVersion": { +"description": "Optional. Output only. [Output only] The resource name of the KMS key version used to encrypt the ParameterVersion payload. This field is populated only if the Parameter resource has customer managed encryption key (CMEK) configured.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. [Output only] The resource name of the ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.", +"type": "string" +}, +"payload": { +"$ref": "ParameterVersionPayload", +"description": "Required. Immutable. Payload content of a ParameterVersion resource. This is only returned when the request provides the View value of FULL (default for GET request)." +}, +"updateTime": { +"description": "Output only. [Output only] Update time stamp", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ParameterVersionPayload": { +"description": "Message for storing a ParameterVersion resource's payload data", +"id": "ParameterVersionPayload", +"properties": { +"data": { +"description": "Required. bytes data for storing payload.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"RenderParameterVersionResponse": { +"description": "Message describing RenderParameterVersionResponse resource", +"id": "RenderParameterVersionResponse", +"properties": { +"parameterVersion": { +"description": "Output only. Resource identifier of a ParameterVersion in the format `projects/*/locations/*/parameters/*/versions/*`.", +"readOnly": true, +"type": "string" +}, +"payload": { +"$ref": "ParameterVersionPayload", +"description": "Payload content of a ParameterVersion resource." +}, +"renderedPayload": { +"description": "Output only. Server generated rendered version of the user provided payload data (ParameterVersionPayload) which has substitutions of all (if any) references to a SecretManager SecretVersion resources. This substitution only works for a Parameter which is in JSON or YAML format.", +"format": "byte", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ResourcePolicyMember": { +"description": "Output-only policy member strings of a Google Cloud resource's built-in identity.", +"id": "ResourcePolicyMember", +"properties": { +"iamPolicyNamePrincipal": { +"description": "Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`", +"readOnly": true, +"type": "string" +}, +"iamPolicyUidPrincipal": { +"description": "Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Parameter Manager API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playcustomapp.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playcustomapp.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..89ac7fe577326d8d0848cd01d7d22f403ffe0318 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playcustomapp.v1.json @@ -0,0 +1,210 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/androidpublisher": { +"description": "View and manage your Google Play Developer account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://playcustomapp.googleapis.com/", +"batchPath": "batch", +"description": "API to create and publish custom Android apps", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/android/work/play/custom-app-api/", +"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": "playcustomapp:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://playcustomapp.mtls.googleapis.com/", +"name": "playcustomapp", +"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": { +"accounts": { +"resources": { +"customApps": { +"methods": { +"create": { +"description": "Creates a new custom app.", +"flatPath": "playcustomapp/v1/accounts/{account}/customApps", +"httpMethod": "POST", +"id": "playcustomapp.accounts.customApps.create", +"mediaUpload": { +"accept": [ +"*/*" +], +"maxSize": "10737418240", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/playcustomapp/v1/accounts/{account}/customApps" +}, +"simple": { +"multipart": true, +"path": "/upload/playcustomapp/v1/accounts/{account}/customApps" +} +} +}, +"parameterOrder": [ +"account" +], +"parameters": { +"account": { +"description": "Developer account ID.", +"format": "int64", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "playcustomapp/v1/accounts/{account}/customApps", +"request": { +"$ref": "CustomApp" +}, +"response": { +"$ref": "CustomApp" +}, +"scopes": [ +"https://www.googleapis.com/auth/androidpublisher" +], +"supportsMediaUpload": true +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://playcustomapp.googleapis.com/", +"schemas": { +"CustomApp": { +"description": "This resource represents a custom app.", +"id": "CustomApp", +"properties": { +"languageCode": { +"description": "Default listing language in BCP 47 format.", +"type": "string" +}, +"organizations": { +"description": "Organizations to which the custom app should be made available. If the request contains any organizations, then the app will be restricted to only these organizations. To support the organization linked to the developer account, the organization ID should be provided explicitly together with other organizations. If no organizations are provided, then the app is only available to the organization linked to the developer account.", +"items": { +"$ref": "Organization" +}, +"type": "array" +}, +"packageName": { +"description": "Output only. Package name of the created Android app. Only present in the API response.", +"readOnly": true, +"type": "string" +}, +"title": { +"description": "Title for the Android app.", +"type": "string" +} +}, +"type": "object" +}, +"Organization": { +"description": "Represents an organization that can access a custom app.", +"id": "Organization", +"properties": { +"organizationId": { +"description": "Required. ID of the organization.", +"type": "string" +}, +"organizationName": { +"description": "Optional. A human-readable name of the organization, to help recognize the organization.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Play Custom App Publishing API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..09aeaacc9ade59a208f4fa4c73295c74f2a81066 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json @@ -0,0 +1,2392 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/playdeveloperreporting": { +"description": "See metrics and data about the apps in your Google Play Developer account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://playdeveloperreporting.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Playdeveloperreporting", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/play/developer/reporting", +"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": "playdeveloperreporting:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://playdeveloperreporting.mtls.googleapis.com/", +"name": "playdeveloperreporting", +"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": { +"anomalies": { +"methods": { +"list": { +"description": "Lists anomalies in any of the datasets.", +"flatPath": "v1beta1/apps/{appsId}/anomalies", +"httpMethod": "GET", +"id": "playdeveloperreporting.anomalies.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filtering criteria for anomalies. For basic filter guidance, please check: https://google.aip.dev/160. **Supported functions:** * `activeBetween(startTime, endTime)`: If specified, only list anomalies that were active in between `startTime` (inclusive) and `endTime` (exclusive). Both parameters are expected to conform to an RFC-3339 formatted string (e.g. `2012-04-21T11:30:00-04:00`). UTC offsets are supported. Both `startTime` and `endTime` accept the special value `UNBOUNDED`, to signify intervals with no lower or upper bound, respectively. Examples: * `activeBetween(\"2021-04-21T11:30:00Z\", \"2021-07-21T00:00:00Z\")` * `activeBetween(UNBOUNDED, \"2021-11-21T00:00:00-04:00\")` * `activeBetween(\"2021-07-21T00:00:00-04:00\", UNBOUNDED)`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 10 anomalies will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListErrorReports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent app for which anomalies were detected. Format: apps/{app}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/anomalies", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"apps": { +"methods": { +"fetchReleaseFilterOptions": { +"description": "Describes filtering options for releases.", +"flatPath": "v1beta1/apps/{appsId}:fetchReleaseFilterOptions", +"httpMethod": "GET", +"id": "playdeveloperreporting.apps.fetchReleaseFilterOptions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:fetchReleaseFilterOptions", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"search": { +"description": "Searches for Apps accessible by the user.", +"flatPath": "v1beta1/apps:search", +"httpMethod": "GET", +"id": "playdeveloperreporting.apps.search", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchAccessibleApps` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/apps:search", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"vitals": { +"resources": { +"anrrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/anrRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.anrrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/anrRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/anrRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/anrRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.anrrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/anrRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/anrRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"crashrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/crashRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.crashrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/crashRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/crashRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/crashRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.crashrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/crashRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/crashRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"errors": { +"resources": { +"counts": { +"methods": { +"get": { +"description": "Describes the properties of the metrics set.", +"flatPath": "v1beta1/apps/{appsId}/errorCountMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.errors.counts.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the errors metric set. Format: apps/{app}/errorCountMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/errorCountMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metrics set.", +"flatPath": "v1beta1/apps/{appsId}/errorCountMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.errors.counts.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/errorCountMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/errorCountMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"issues": { +"methods": { +"search": { +"description": "Searches all error issues in which reports have been grouped.", +"flatPath": "v1beta1/apps/{appsId}/errorIssues:search", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.errors.issues.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", +"location": "query", +"type": "string" +}, +"interval.endTime.day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.timeZone.id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"location": "query", +"type": "string" +}, +"interval.endTime.timeZone.version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"location": "query", +"type": "string" +}, +"interval.endTime.utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"interval.endTime.year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.timeZone.id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"location": "query", +"type": "string" +}, +"interval.startTime.timeZone.version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"location": "query", +"type": "string" +}, +"interval.startTime.utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"interval.startTime.year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"orderBy": { +"description": "Optional. Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:* currently only one field is supported at a time.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of the error issues, indicating the application for which they were received. Format: apps/{app}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +}, +"sampleErrorReportLimit": { +"description": "Optional. Number of sample error reports to return per ErrorIssue. If unspecified, 0 will be used. *Note:* currently only 0 and 1 are supported.", +"format": "int32", +"location": "query", +"type": "integer" +} +}, +"path": "v1beta1/{+parent}/errorIssues:search", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"reports": { +"methods": { +"search": { +"description": "Searches all error reports received for an app.", +"flatPath": "v1beta1/apps/{appsId}/errorReports:search", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.errors.reports.search", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A selection predicate to retrieve only a subset of the reports. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: Matches error reports with the requested error report id. Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", +"location": "query", +"type": "string" +}, +"interval.endTime.day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.endTime.timeZone.id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"location": "query", +"type": "string" +}, +"interval.endTime.timeZone.version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"location": "query", +"type": "string" +}, +"interval.endTime.utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"interval.endTime.year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"interval.startTime.timeZone.id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"location": "query", +"type": "string" +}, +"interval.startTime.timeZone.version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"location": "query", +"type": "string" +}, +"interval.startTime.utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"interval.startTime.year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageSize": { +"description": "Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 50 reports will be returned. The maximum value is 100; values above 100 will be coerced to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `SearchErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchErrorReports` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource of the reports, indicating the application for which they were received. Format: apps/{app}", +"location": "path", +"pattern": "^apps/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/errorReports:search", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +} +} +}, +"excessivewakeuprate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/excessiveWakeupRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.excessivewakeuprate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/excessiveWakeupRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/excessiveWakeupRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.excessivewakeuprate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/excessiveWakeupRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"lmkrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/lmkRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.lmkrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/lmkRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/lmkRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1LmkRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/lmkRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.lmkrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/lmkRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/lmkRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"slowrenderingrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/slowRenderingRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.slowrenderingrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/slowRenderingRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/slowRenderingRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/slowRenderingRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.slowrenderingrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/slowRenderingRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/slowRenderingRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"slowstartrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/slowStartRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.slowstartrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/slowStartRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/slowStartRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/slowStartRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.slowstartrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/slowStartRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/slowStartRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +}, +"stuckbackgroundwakelockrate": { +"methods": { +"get": { +"description": "Describes the properties of the metric set.", +"flatPath": "v1beta1/apps/{appsId}/stuckBackgroundWakelockRateMetricSet", +"httpMethod": "GET", +"id": "playdeveloperreporting.vitals.stuckbackgroundwakelockrate.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/stuckBackgroundWakelockRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +}, +"query": { +"description": "Queries the metrics in the metric set.", +"flatPath": "v1beta1/apps/{appsId}/stuckBackgroundWakelockRateMetricSet:query", +"httpMethod": "POST", +"id": "playdeveloperreporting.vitals.stuckbackgroundwakelockrate.query", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet", +"location": "path", +"pattern": "^apps/[^/]+/stuckBackgroundWakelockRateMetricSet$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:query", +"request": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest" +}, +"response": { +"$ref": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/playdeveloperreporting" +] +} +} +} +} +} +}, +"revision": "20260222", +"rootUrl": "https://playdeveloperreporting.googleapis.com/", +"schemas": { +"ApiservingMcpMcpToolDataHandlingProfile": { +"description": "Profile describing the data handling characteristics of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/data_handling\"", +"id": "ApiservingMcpMcpToolDataHandlingProfile", +"properties": { +"inputDataAccessLevel": { +"description": "// The data access level of the tool's inputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +}, +"outputDataAccessLevel": { +"description": "The data access level of the tool's outputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1Anomaly": { +"description": "Represents an anomaly detected in a dataset. Our anomaly detection systems flag datapoints in a time series that fall outside of and expected range derived from historical data. Although those expected ranges have an upper and a lower bound, we only flag anomalies when the data has become unexpectedly _worse_, which usually corresponds to the case where the metric crosses the upper bound. Multiple contiguous datapoints in a timeline outside of the expected range will be grouped into a single anomaly. Therefore, an anomaly represents effectively a segment of a metric's timeline. The information stored in the `timeline_spec`, `dimensions` and `metric` can be used to fetch a full timeline with extended ragne for context. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1Anomaly", +"properties": { +"dimensions": { +"description": "Combination of dimensions in which the anomaly was detected.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1DimensionValue" +}, +"type": "array" +}, +"metric": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricValue", +"description": "Metric where the anomaly was detected, together with the anomalous value." +}, +"metricSet": { +"description": "Metric set resource where the anomaly was detected.", +"type": "string" +}, +"name": { +"description": "Identifier. Name of the anomaly. Format: apps/{app}/anomalies/{anomaly}", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Timeline specification that covers the anomaly period." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1AnrRateMetricSet": { +"description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", +"id": "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/anrRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1App": { +"description": "A representation of an app in the Play Store.", +"id": "GooglePlayDeveloperReportingV1beta1App", +"properties": { +"displayName": { +"description": "Title of the app. This is the latest title as set in the Play Console and may not yet have been reviewed, so might not match the Play Store. Example: `Google Maps`.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}", +"type": "string" +}, +"packageName": { +"description": "Package name of the app. Example: `com.example.app123`.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1AppVersion": { +"description": "Representations of an app version.", +"id": "GooglePlayDeveloperReportingV1beta1AppVersion", +"properties": { +"versionCode": { +"description": "Optional. Numeric version code of the app version (set by the app's developer).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1CrashRateMetricSet": { +"description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", +"id": "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/crashRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval": { +"description": "Represents the confidence interval of a metric.", +"id": "GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval", +"properties": { +"lowerBound": { +"$ref": "GoogleTypeDecimal", +"description": "The confidence interval's lower bound." +}, +"upperBound": { +"$ref": "GoogleTypeDecimal", +"description": "The confidence interval's upper bound." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1DeviceId": { +"description": "Identifier of a device.", +"id": "GooglePlayDeveloperReportingV1beta1DeviceId", +"properties": { +"buildBrand": { +"description": "Value of Build.BRAND.", +"type": "string" +}, +"buildDevice": { +"description": "Value of Build.DEVICE.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1DeviceModelSummary": { +"description": "Summary of a device", +"id": "GooglePlayDeveloperReportingV1beta1DeviceModelSummary", +"properties": { +"deviceId": { +"$ref": "GooglePlayDeveloperReportingV1beta1DeviceId", +"description": "Identifier of the device." +}, +"deviceUri": { +"description": "Link to the device in Play Device Catalog.", +"type": "string" +}, +"marketingName": { +"description": "Display name of the device.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1DimensionValue": { +"description": "Represents the value of a single dimension.", +"id": "GooglePlayDeveloperReportingV1beta1DimensionValue", +"properties": { +"dimension": { +"description": "Name of the dimension.", +"type": "string" +}, +"int64Value": { +"description": "Actual value, represented as an int64.", +"format": "int64", +"type": "string" +}, +"stringValue": { +"description": "Actual value, represented as a string.", +"type": "string" +}, +"valueLabel": { +"description": "Optional. Human-friendly label for the value, always in English. For example, 'Spain' for the 'ES' country code. Whereas the dimension value is stable, this value label is subject to change. Do not assume that the (value, value_label) relationship is stable. For example, the ISO country code 'MK' changed its name recently to 'North Macedonia'.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet": { +"description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", +"id": "GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/errorCountMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ErrorIssue": { +"description": "A group of related ErrorReports received for an app. Similar error reports are grouped together into issues with a likely identical root cause. **Please note:** this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to different issues. This could also cause some issues disappearing entirely and being replaced by new ones. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1ErrorIssue", +"properties": { +"annotations": { +"description": "List of annotations for an issue. Annotations provide additional information that may help in diagnosing and fixing the issue.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1IssueAnnotation" +}, +"type": "array" +}, +"cause": { +"description": "Cause of the issue. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input dispatching timed out'. * CRASH: for Java unhandled exception errors, the type of the innermost exception that was thrown, e.g., IllegalArgumentException. For signals in native code, the signal that was raised, e.g. SIGSEGV.", +"type": "string" +}, +"distinctUsers": { +"description": "An estimate of the number of unique users who have experienced this issue (only considering occurrences matching the filters and within the requested time period).", +"format": "int64", +"type": "string" +}, +"distinctUsersPercent": { +"$ref": "GoogleTypeDecimal", +"description": "An estimated percentage of users affected by any issue that are affected by this issue (only considering occurrences matching the filters and within the requested time period)." +}, +"errorReportCount": { +"description": "The total number of error reports in this issue (only considering occurrences matching the filters and within the requested time period).", +"format": "int64", +"type": "string" +}, +"firstAppVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1AppVersion", +"description": "The earliest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." +}, +"firstOsVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", +"description": "The smallest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." +}, +"issueUri": { +"description": "Link to the issue in Android vitals in the Play Console.", +"type": "string" +}, +"lastAppVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1AppVersion", +"description": "The latest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." +}, +"lastErrorReportTime": { +"description": "Start of the hour during which the last error report in this issue occurred.", +"format": "google-datetime", +"type": "string" +}, +"lastOsVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", +"description": "The latest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." +}, +"location": { +"description": "Location where the issue happened. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the name of the activity or service that stopped responding. * CRASH: the likely method name that caused the error.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the issue. Format: apps/{app}/{issue}", +"type": "string" +}, +"sampleErrorReports": { +"description": "Output only. Sample error reports which belong to this ErrorIssue. *Note:* currently a maximum of 1 per ErrorIssue is supported. Format: \"apps/{app}/{report}\"", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"type": { +"description": "Type of the errors grouped in this issue.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"APPLICATION_NOT_RESPONDING", +"CRASH", +"NON_FATAL" +], +"enumDescriptions": [ +"Unspecified error type.", +"Application Not Responding (ANR) error. To learn more about this type of errors visit the corresponding Android Developers documentation.", +"Crash caused by an unhandled exception in Java (or Kotlin or any other JVM language) or a signal in native code such as SIGSEGV.", +"Non-fatal caused by events that do not immediately cause crashes, but is likely to lead to one." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ErrorReport": { +"description": "An error report received for an app. There reports are produced by the Android platform code when a (potentially fatal) error condition is detected. Identical reports from many users will be deduplicated and coalesced into a single ErrorReport. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1ErrorReport", +"properties": { +"appVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1AppVersion", +"description": "The app version on which an event in this error report occurred on." +}, +"deviceModel": { +"$ref": "GooglePlayDeveloperReportingV1beta1DeviceModelSummary", +"description": "A device model on which an event in this error report occurred on." +}, +"eventTime": { +"description": "Start of the hour during which the latest event in this error report occurred.", +"format": "google-datetime", +"type": "string" +}, +"issue": { +"description": "The issue this report was associated with. **Please note:** this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to a different issue.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the report. Format: apps/{app}/{report}", +"type": "string" +}, +"osVersion": { +"$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", +"description": "The OS version on which an event in this error report occurred on." +}, +"reportText": { +"description": "Textual representation of the error report. These textual reports are produced by the platform. The reports are then sanitized and filtered to remove any potentially sensitive information. Although their format is fairly stable, they are not entirely meant for machine consumption and we cannot guarantee that there won't be subtle changes to the formatting that may break systems trying to parse information out of the reports.", +"type": "string" +}, +"type": { +"description": "Type of the error for which this report was generated.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"APPLICATION_NOT_RESPONDING", +"CRASH", +"NON_FATAL" +], +"enumDescriptions": [ +"Unspecified error type.", +"Application Not Responding (ANR) error. To learn more about this type of errors visit the corresponding Android Developers documentation.", +"Crash caused by an unhandled exception in Java (or Kotlin or any other JVM language) or a signal in native code such as SIGSEGV.", +"Non-fatal caused by events that do not immediately cause crashes, but is likely to lead to one." +], +"type": "string" +}, +"vcsInformation": { +"description": "Version control system information from BUNDLE-METADATA/version-control-info.textproto or META-INF/version-control-info.textproto of the app bundle or APK, respectively.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet": { +"description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/excessiveWakeupRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1FreshnessInfo": { +"description": "Represents the latest available time that can be requested in a TimelineSpec. Different aggregation periods have different freshness. For example, `DAILY` aggregation may lag behind `HOURLY` in cases where such aggregation is computed only once at the end of the day.", +"id": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"properties": { +"freshnesses": { +"description": "Information about data freshness for every supported aggregation period. This field has set semantics, keyed by the `aggregation_period` field.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness": { +"description": "Information about data freshness for a single aggregation period.", +"id": "GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness", +"properties": { +"aggregationPeriod": { +"description": "Aggregation period for which data is available.", +"enum": [ +"AGGREGATION_PERIOD_UNSPECIFIED", +"HOURLY", +"DAILY", +"FULL_RANGE" +], +"enumDescriptions": [ +"Unspecified granularity.", +"Data is aggregated in hourly intervals.", +"Data is aggregated in daily intervals.", +"Data is aggregated over the full timeline range. Effectively this produces a single value rather than a timeline." +], +"type": "string" +}, +"latestEndTime": { +"$ref": "GoogleTypeDateTime", +"description": "Latest end time for which data is available, for the aggregation period. The time is specified in the metric set's default timezone. *Note:* time ranges in TimelineSpec are represented as `start_time, end_time)`. For example, if the latest available timeline data point for a `DAILY` aggregation period is `2021-06-23 00:00:00 America/Los_Angeles`, the value of this field would be `2021-06-24 00:00:00 America/Los_Angeles` so it can be easily reused in [TimelineSpec.end_time." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1IssueAnnotation": { +"description": "Representation of an annotation message for an issue.", +"id": "GooglePlayDeveloperReportingV1beta1IssueAnnotation", +"properties": { +"body": { +"description": "Contains the contents of the annotation message.", +"type": "string" +}, +"category": { +"description": "Category that the annotation belongs to. An annotation will belong to a single category. Example categories: \"Potential fix\", \"Insight\".", +"type": "string" +}, +"title": { +"description": "Title for the annotation.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse": { +"description": "Response with a list of anomalies in datasets.", +"id": "GooglePlayDeveloperReportingV1beta1ListAnomaliesResponse", +"properties": { +"anomalies": { +"description": "Anomalies that were found.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1Anomaly" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1LmkRateMetricSet": { +"description": "Singleton resource representing the set of LMK (Low Memory Kill) metrics. This metric set contains LMKs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `userPerceivedLmkRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one LMK while they were actively using your app (a user-perceived LMK). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedLmkRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `userPerceivedLmkRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `userPerceivedLmkRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains normalized metrics about crashes, another stability metric. * vitals.errors contains normalized metrics about ANRs, another stability metric.", +"id": "GooglePlayDeveloperReportingV1beta1LmkRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/lmkRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1MetricValue": { +"description": "Represents the value of a metric.", +"id": "GooglePlayDeveloperReportingV1beta1MetricValue", +"properties": { +"decimalValue": { +"$ref": "GoogleTypeDecimal", +"description": "Actual value, represented as a decimal number." +}, +"decimalValueConfidenceInterval": { +"$ref": "GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval", +"description": "Confidence interval of a value that is of type `type.Decimal`." +}, +"metric": { +"description": "Name of the metric.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1MetricsRow": { +"description": "Represents a row of dimensions and metrics.", +"id": "GooglePlayDeveloperReportingV1beta1MetricsRow", +"properties": { +"aggregationPeriod": { +"description": "Optional. Granularity of the aggregation period of the row.", +"enum": [ +"AGGREGATION_PERIOD_UNSPECIFIED", +"HOURLY", +"DAILY", +"FULL_RANGE" +], +"enumDescriptions": [ +"Unspecified granularity.", +"Data is aggregated in hourly intervals.", +"Data is aggregated in daily intervals.", +"Data is aggregated over the full timeline range. Effectively this produces a single value rather than a timeline." +], +"type": "string" +}, +"dimensions": { +"description": "Optional. Dimension columns in the row.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1DimensionValue" +}, +"type": "array" +}, +"metrics": { +"description": "Optional. Metric columns in the row.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricValue" +}, +"type": "array" +}, +"startTime": { +"$ref": "GoogleTypeDateTime", +"description": "Optional. Starting date (and time for hourly aggregation) of the period covered by this row." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1OsVersion": { +"description": "Representation of an OS version.", +"id": "GooglePlayDeveloperReportingV1beta1OsVersion", +"properties": { +"apiLevel": { +"description": "Optional. Numeric version code of the OS - API level", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest": { +"description": "Request message for QueryAnrRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not . supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the default and only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. **Supported values:** * `OS_PUBLIC` To select data from all publicly released Android versions. This is the default. Supports all the above dimensions. * `APP_TESTERS` To select data from users who have opted in to be testers. Supports all the above dimensions. * `OS_BETA` To select data from beta android versions only, excluding data from released android versions. Only the following dimensions are supported: * `versionCode` (int64): version of the app that was running on the user's device. * `osBuild` (string): OS build of the user's device, e.g., \"T1B2.220916.004\".", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse": { +"description": "Response message for QueryAnrRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest": { +"description": "Request message for QueryCrashRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the default and only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. **Supported values:** * `OS_PUBLIC` To select data from all publicly released Android versions. This is the default. Supports all the above dimensions. * `APP_TESTERS` To select data from users who have opted in to be testers. Supports all the above dimensions. * `OS_BETA` To select data from beta android versions only, excluding data from released android versions. Only the following dimensions are supported: * `versionCode` (int64): version of the app that was running on the user's device. * `osBuild` (string): OS build of the user's device, e.g., \"T1B2.220916.004\".", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse": { +"description": "Response message for QueryCrashRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest": { +"description": "Request message for QueryErrorCountMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions and: * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse": { +"description": "Error counts query response.", +"id": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest": { +"description": "Request message for QueryExcessiveWakeupRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. The only supported value is `OS_PUBLIC`.", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse": { +"description": "Response message for QueryExcessiveWakeupRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest": { +"description": "Request message for QueryLmkRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `userPerceivedLmkRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one LMK while they were actively using your app (a user-perceived LMK). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedLmkRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `userPerceivedLmkRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedLmkRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `userPerceivedLmkRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100,000; values above 100,000 will be coerced to 100,000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the default and only supported timezone is `America/Los_Angeles`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. **Supported values:** * `OS_PUBLIC` To select data from all publicly released Android versions. This is the default. Supports all the above dimensions. * `APP_TESTERS` To select data from users who have opted in to be testers. Supports all the above dimensions. * `OS_BETA` To select data from beta android versions only, excluding data from released android versions. Only the following dimensions are supported: * `versionCode` (int64): version of the app that was running on the user's device. * `osBuild` (string): OS build of the user's device, e.g., \"T1B2.220916.004\".", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse": { +"description": "Response message for QueryLmkRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryLmkRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest": { +"description": "Request message for QuerySlowRenderingRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. The only supported value is `OS_PUBLIC`.", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse": { +"description": "Response message for QuerySlowRenderingRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest": { +"description": "Request message for QuerySlowStartRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. The only supported value is `OS_PUBLIC`.", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse": { +"description": "Response message for QuerySlowStartRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest": { +"description": "Request message for QueryStuckBackgroundWakelockRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest", +"properties": { +"dimensions": { +"description": "Optional. Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "Optional. Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", +"type": "string" +}, +"metrics": { +"description": "Optional. Metrics to aggregate. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Optional. Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token.", +"type": "string" +}, +"timelineSpec": { +"$ref": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"description": "Optional. Specification of the timeline aggregation parameters. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`." +}, +"userCohort": { +"description": "Optional. User view to select. The output data will correspond to the selected view. The only supported value is `OS_PUBLIC`.", +"enum": [ +"USER_COHORT_UNSPECIFIED", +"OS_PUBLIC", +"OS_BETA", +"APP_TESTERS" +], +"enumDescriptions": [ +"Unspecified User cohort. This will automatically choose the default value.", +"This is default view. Contains data from public released android versions only.", +"This is the view with just android beta data excluding released OS version data.", +"This is the view with data only from users who have opted in to be testers for a given app, excluding OS beta data." +], +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse": { +"description": "Response message for QueryStuckBackgroundWakelockRateMetricSet.", +"id": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +}, +"rows": { +"description": "Returned rows of data.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1MetricsRow" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1Release": { +"description": "A representation of an app release.", +"id": "GooglePlayDeveloperReportingV1beta1Release", +"properties": { +"displayName": { +"description": "Readable identifier of the release.", +"type": "string" +}, +"versionCodes": { +"description": "The version codes contained in this release.", +"items": { +"format": "int64", +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions": { +"description": "A set of filtering options for releases and version codes specific to an app.", +"id": "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions", +"properties": { +"tracks": { +"description": "List of tracks to filter releases over. Provides the grouping of version codes under releases and tracks.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1Track" +}, +"type": "array" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse": { +"description": "Response message for SearchAccessibleApps.", +"id": "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse", +"properties": { +"apps": { +"description": "The apps accessible to the user calling the endpoint.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1App" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse": { +"description": "Response with a paginated list of issues that matched the request.", +"id": "GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse", +"properties": { +"errorIssues": { +"description": "ErrorIssues that were found.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1ErrorIssue" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token to fetch the next page of data.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse": { +"description": "Response with a paginated list of error reports matching the search query.", +"id": "GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse", +"properties": { +"errorReports": { +"description": "Error reports that were found.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1ErrorReport" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to fetch the next page of reports.", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet": { +"description": "Singleton resource representing the set of Slow Rendering metrics. This metric set contains low-level rendering data captured by SurafeFlinger. Sessions are evaluated based on the present-to-present histogram of frames handled by any SurfaceFlinger layer owned by the app. A slow session is a session where more than 25% of frames for the session did not meet the metric's target frame rate (either 20fps, or 30fps). *NOTE:* This metric set is only available for games. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app rendered any frames. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/slowRenderingRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet": { +"description": "Singleton resource representing the set of Slow Start metrics. This metric set contains Activity start duration data. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Required dimension:** This dimension must be specified with each request for the request to be valid. * `startType` (string): the type of start that was measured. Valid types are `HOT`, `WARM` and `COLD`. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/slowStartRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet": { +"description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", +"id": "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet", +"properties": { +"freshnessInfo": { +"$ref": "GooglePlayDeveloperReportingV1beta1FreshnessInfo", +"description": "Summary about data freshness in this resource." +}, +"name": { +"description": "Identifier. The resource name. Format: apps/{app}/stuckBackgroundWakelockRateMetricSet", +"type": "string" +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1TimelineSpec": { +"description": "Specification of the time-related aggregation parameters of a timeline. Timelines have an aggregation period (`DAILY`, `HOURLY`, etc) which defines how events are aggregated in metrics. The points in a timeline are defined by the starting DateTime of the aggregation period. The duration is implicit in the AggregationPeriod. Hourly aggregation periods, when supported by a metric set, are always specified in UTC to avoid ambiguities around daylight saving time transitions, where an hour is skipped when adopting DST, and repeated when abandoning DST. For example, the timestamp '2021-11-07 01:00:00 America/Los_Angeles' is ambiguous since it can correspond to '2021-11-07 08:00:00 UTC' or '2021-11-07 09:00:00 UTC'. Daily aggregation periods require specifying a timezone which will determine the precise instants of the start and the end of the day. Not all metric sets support all timezones, so make sure to check which timezones are supported by the metric set you want to query.", +"id": "GooglePlayDeveloperReportingV1beta1TimelineSpec", +"properties": { +"aggregationPeriod": { +"description": "Optional. Type of the aggregation period of the datapoints in the timeline. Intervals are identified by the date and time at the start of the interval.", +"enum": [ +"AGGREGATION_PERIOD_UNSPECIFIED", +"HOURLY", +"DAILY", +"FULL_RANGE" +], +"enumDescriptions": [ +"Unspecified granularity.", +"Data is aggregated in hourly intervals.", +"Data is aggregated in daily intervals.", +"Data is aggregated over the full timeline range. Effectively this produces a single value rather than a timeline." +], +"type": "string" +}, +"endTime": { +"$ref": "GoogleTypeDateTime", +"description": "Optional. Ending datapoint of the timeline (exclusive). See start_time for restrictions. The timezone of the end point must match the timezone of the start point." +}, +"startTime": { +"$ref": "GoogleTypeDateTime", +"description": "Optional. Starting datapoint of the timeline (inclusive). Must be aligned to the aggregation period as follows: * HOURLY: the 'minutes', 'seconds' and 'nanos' fields must be unset. The time_zone can be left unset (defaults to UTC) or set explicitly to \"UTC\". Setting any other utc_offset or timezone id will result in a validation error. * DAILY: the 'hours', 'minutes', 'seconds' and 'nanos' fields must be unset. Different metric sets support different timezones. It can be left unset to use the default timezone specified by the metric set. The timezone of the end point must match the timezone of the start point." +} +}, +"type": "object" +}, +"GooglePlayDeveloperReportingV1beta1Track": { +"description": "A representation of a Play release track.", +"id": "GooglePlayDeveloperReportingV1beta1Track", +"properties": { +"displayName": { +"description": "Readable identifier of the track.", +"type": "string" +}, +"servingReleases": { +"description": "Represents all active releases in the track.", +"items": { +"$ref": "GooglePlayDeveloperReportingV1beta1Release" +}, +"type": "array" +}, +"type": { +"description": "The type of the track.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDateTime": { +"description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", +"id": "GoogleTypeDateTime", +"properties": { +"day": { +"description": "Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day.", +"format": "int32", +"type": "integer" +}, +"hours": { +"description": "Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", +"format": "int32", +"type": "integer" +}, +"minutes": { +"description": "Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"month": { +"description": "Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.", +"format": "int32", +"type": "integer" +}, +"nanos": { +"description": "Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.", +"format": "int32", +"type": "integer" +}, +"seconds": { +"description": "Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds.", +"format": "int32", +"type": "integer" +}, +"timeZone": { +"$ref": "GoogleTypeTimeZone", +"description": "Time zone." +}, +"utcOffset": { +"description": "UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.", +"format": "google-duration", +"type": "string" +}, +"year": { +"description": "Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeDecimal": { +"description": "A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).", +"id": "GoogleTypeDecimal", +"properties": { +"value": { +"description": "The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits (\"the integer\"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeTimeZone": { +"description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", +"id": "GoogleTypeTimeZone", +"properties": { +"id": { +"description": "IANA Time Zone Database time zone. For example \"America/New_York\".", +"type": "string" +}, +"version": { +"description": "Optional. IANA Time Zone Database version number. For example \"2019a\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Play Developer Reporting API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..dbdb630587e86d6596dd4db49d2fbc3bd68d81dc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policyanalyzer.v1.json @@ -0,0 +1,350 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://policyanalyzer.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Policy Analyzer", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://www.google.com", +"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": "policyanalyzer:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://policyanalyzer.mtls.googleapis.com/", +"name": "policyanalyzer", +"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": { +"folders": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on Google Cloud resources.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.folders.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the activities returned. For serviceAccountLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account. For serviceAccountKeyLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account key.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on Google Cloud resources.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.organizations.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the activities returned. For serviceAccountLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account. For serviceAccountKeyLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account key.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"activityTypes": { +"resources": { +"activities": { +"methods": { +"query": { +"description": "Queries policy activities on Google Cloud resources.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", +"httpMethod": "GET", +"id": "policyanalyzer.projects.locations.activityTypes.activities.query", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter expression to restrict the activities returned. For serviceAccountLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account. For serviceAccountKeyLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account key.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/activityTypes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/activities:query", +"response": { +"$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240707", +"rootUrl": "https://policyanalyzer.googleapis.com/", +"schemas": { +"GoogleCloudPolicyanalyzerV1Activity": { +"description": "Represents Activity on a GCP resource over specific observation period.", +"id": "GoogleCloudPolicyanalyzerV1Activity", +"properties": { +"activity": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "A struct of custom fields to explain the activity.", +"type": "object" +}, +"activityType": { +"description": "The type of the activity.", +"type": "string" +}, +"fullResourceName": { +"description": "The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"observationPeriod": { +"$ref": "GoogleCloudPolicyanalyzerV1ObservationPeriod", +"description": "The data observation period to build the activity." +} +}, +"type": "object" +}, +"GoogleCloudPolicyanalyzerV1ObservationPeriod": { +"description": "Represents data observation period.", +"id": "GoogleCloudPolicyanalyzerV1ObservationPeriod", +"properties": { +"endTime": { +"description": "The observation end time. The time in this timestamp is always `07:00:00Z`.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The observation start time. The time in this timestamp is always `07:00:00Z`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicyanalyzerV1QueryActivityResponse": { +"description": "Response to the `QueryActivity` method.", +"id": "GoogleCloudPolicyanalyzerV1QueryActivityResponse", +"properties": { +"activities": { +"description": "The set of activities that match the filter included in the request.", +"items": { +"$ref": "GoogleCloudPolicyanalyzerV1Activity" +}, +"type": "array" +}, +"nextPageToken": { +"description": "If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Policy Analyzer API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..bc251fa4c4f0e632845b3198a3bae79eecf3c78b --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/policysimulator.v1.json @@ -0,0 +1,2432 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://policysimulator.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Policy Simulator", +"description": " Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/iam/docs/simulating-access", +"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": "policysimulator:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://policysimulator.mtls.googleapis.com/", +"name": "policysimulator", +"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": { +"folders": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"methods": { +"create": { +"description": "Creates and starts a Replay using the given ReplayConfig.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/replays", +"httpMethod": "POST", +"id": "policysimulator.folders.locations.replays.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/replays", +"request": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"results": { +"methods": { +"list": { +"description": "Lists the results of running a Replay.", +"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/results", +"httpMethod": "GET", +"id": "policysimulator.folders.locations.replays.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/results", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1ListReplayResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "policysimulator.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"organizations": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"methods": { +"create": { +"description": "CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for the proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are specified by this `OrgPolicyOverlay`. The resources to scan are inferred from these specified changes.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews", +"httpMethod": "POST", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"orgPolicyViolationsPreviewId": { +"description": "Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: `organizations/my-example-org/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/orgPolicyViolationsPreviews", +"request": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. Each OrgPolicyViolationsPreview is available for at least 7 days.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the OrgPolicyViolationsPreview to get.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 5 items will be returned. The maximum value is 10; values above 10 will be coerced to 10.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent the violations are scoped to. Format: `organizations/{organization}/locations/{location}` Example: `organizations/my-example-org/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/orgPolicyViolationsPreviews", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"orgPolicyViolations": { +"methods": { +"list": { +"description": "ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/orgPolicyViolations", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 1000 items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. Format: organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/orgPolicyViolations", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"methods": { +"create": { +"description": "Creates and starts a Replay using the given ReplayConfig.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/replays", +"httpMethod": "POST", +"id": "policysimulator.organizations.locations.replays.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/replays", +"request": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"results": { +"methods": { +"list": { +"description": "Lists the results of running a Replay.", +"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/results", +"httpMethod": "GET", +"id": "policysimulator.organizations.locations.replays.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/results", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1ListReplayResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"accessPolicySimulations": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/accessPolicySimulations/{accessPolicySimulationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.accessPolicySimulations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/accessPolicySimulations/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"orgPolicyViolationsPreviews": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"replays": { +"methods": { +"create": { +"description": "Creates and starts a Replay using the given ReplayConfig.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/replays", +"httpMethod": "POST", +"id": "policysimulator.projects.locations.replays.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/replays", +"request": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1Replay" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"results": { +"methods": { +"list": { +"description": "Lists the results of running a Replay.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/results", +"httpMethod": "GET", +"id": "policysimulator.projects.locations.replays.results.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/results", +"response": { +"$ref": "GoogleCloudPolicysimulatorV1ListReplayResultsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20251127", +"rootUrl": "https://policysimulator.googleapis.com/", +"schemas": { +"GoogleCloudOrgpolicyV2AlternatePolicySpec": { +"description": "Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run.", +"id": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"properties": { +"launch": { +"description": "Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Specify constraint for configurations of Google Cloud resources." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2CustomConstraint": { +"description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.", +"id": "GoogleCloudOrgpolicyV2CustomConstraint", +"properties": { +"actionType": { +"description": "Allow or deny type.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"ALLOW", +"DENY" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Allowed action type.", +"Deny action type." +], +"type": "string" +}, +"condition": { +"description": "A Common Expression Language (CEL) condition which is used in the evaluation of the constraint. For example: `resource.instanceName.matches(\"(production|test)_(.+_)?[\\d]+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", +"type": "string" +}, +"description": { +"description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.", +"type": "string" +}, +"displayName": { +"description": "One line display name for the UI. The max length of the display_name is 200 characters.", +"type": "string" +}, +"methodTypes": { +"description": "All the operations being applied for this constraint.", +"items": { +"enum": [ +"METHOD_TYPE_UNSPECIFIED", +"CREATE", +"UPDATE", +"DELETE", +"REMOVE_GRANT", +"GOVERN_TAGS" +], +"enumDescriptions": [ +"This is only used for distinguishing unset values and should never be used. Results in an error.", +"Constraint applied when creating the resource.", +"Constraint applied when updating the resource.", +"Constraint applied when deleting the resource. Not currently supported.", +"Constraint applied when removing an IAM grant.", +"Constraint applied when enforcing forced tagging." +], +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/` is not counted.", +"type": "string" +}, +"resourceTypes": { +"description": "Immutable. The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` methods were called.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2Policy": { +"description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2Policy", +"properties": { +"alternate": { +"$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec", +"deprecated": true, +"description": "Deprecated." +}, +"dryRunSpec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced." +}, +"etag": { +"description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.", +"type": "string" +}, +"spec": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpec", +"description": "Basic information about the organization policy." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpec": { +"description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.", +"id": "GoogleCloudOrgpolicyV2PolicySpec", +"properties": { +"etag": { +"description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.", +"type": "string" +}, +"inheritFromParent": { +"description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.", +"type": "boolean" +}, +"reset": { +"description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.", +"type": "boolean" +}, +"rules": { +"description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.", +"items": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRule": { +"description": "A rule used to express this policy.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule", +"properties": { +"allowAll": { +"description": "Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "A condition that determines whether this rule is used to evaluate the policy. When set, the google.type.Expr.expression field must contain 1 to 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression must use the `resource.matchTag()`, `resource.matchTagId()`, `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression Language (CEL) function. The `resource.matchTag()` function takes the following arguments: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` * `value_name`: the short name of the tag value For example: `resource.matchTag('123456789012/environment, 'prod')` The `resource.matchTagId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` * `value_id`: the permanent ID of the tag value; for example, `tagValues/567890123456` For example: `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The `resource.hasTagKey()` function takes the following argument: * `key_name`: the namespaced name of the tag key, with the organization ID and a slash (`/`) as a prefix; for example, `123456789012/environment` For example: `resource.hasTagKey('123456789012/environment')` The `resource.hasTagKeyId()` function takes the following arguments: * `key_id`: the permanent ID of the tag key; for example, `tagKeys/123456789012` For example: `resource.hasTagKeyId('tagKeys/123456789012')`" +}, +"denyAll": { +"description": "Setting this to true means that all values are denied. This field can be set only in policies for list constraints.", +"type": "boolean" +}, +"enforce": { +"description": "If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set in policies for boolean constraints, custom constraints and managed constraints.", +"type": "boolean" +}, +"parameters": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: ``` { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true } ```", +"type": "object" +}, +"values": { +"$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"description": "List of values to be used for this policy rule. This field can be set only in policies for list constraints." +} +}, +"type": "object" +}, +"GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues": { +"description": "A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - `projects/` (for example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`) - `organizations/` (for example, `organizations/1234`) The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used.", +"id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues", +"properties": { +"allowedValues": { +"description": "List of values allowed at this resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"deniedValues": { +"description": "List of values denied at this resource.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1AccessStateDiff": { +"description": "A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.", +"id": "GoogleCloudPolicysimulatorV1AccessStateDiff", +"properties": { +"accessChange": { +"description": "How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.", +"enum": [ +"ACCESS_CHANGE_TYPE_UNSPECIFIED", +"NO_CHANGE", +"UNKNOWN_CHANGE", +"ACCESS_REVOKED", +"ACCESS_GAINED", +"ACCESS_MAYBE_REVOKED", +"ACCESS_MAYBE_GAINED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal's access did not change. This includes the case where both baseline and simulated are UNKNOWN, but the unknown information is equivalent.", +"The principal's access under both the current policies and the proposed policies is `UNKNOWN`, but the unknown information differs between them.", +"The principal had access under the current policies (`GRANTED`), but will no longer have access after the proposed changes (`NOT_GRANTED`).", +"The principal did not have access under the current policies (`NOT_GRANTED`), but will have access after the proposed changes (`GRANTED`).", +"This result can occur for the following reasons: * The principal had access under the current policies (`GRANTED`), but their access after the proposed changes is `UNKNOWN`. * The principal's access under the current policies is `UNKNOWN`, but they will not have access after the proposed changes (`NOT_GRANTED`).", +"This result can occur for the following reasons: * The principal did not have access under the current policies (`NOT_GRANTED`), but their access after the proposed changes is `UNKNOWN`. * The principal's access under the current policies is `UNKNOWN`, but they will have access after the proposed changes (`GRANTED`)." +], +"type": "string" +}, +"baseline": { +"$ref": "GoogleCloudPolicysimulatorV1ExplainedAccess", +"description": "The results of evaluating the access tuple under the current (baseline) policies. If the AccessState couldn't be fully evaluated, this field explains why." +}, +"simulated": { +"$ref": "GoogleCloudPolicysimulatorV1ExplainedAccess", +"description": "The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why." +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1AccessTuple": { +"description": "Information about the principal, resource, and permission to check.", +"id": "GoogleCloudPolicysimulatorV1AccessTuple", +"properties": { +"fullResourceName": { +"description": "Required. The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"permission": { +"description": "Required. The IAM permission to check for the specified principal and resource. For a complete list of IAM permissions, see https://cloud.google.com/iam/help/permissions/reference. For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.", +"type": "string" +}, +"principal": { +"description": "Required. The principal whose access you want to check, in the form of the email address that represents that principal. For example, `alice@example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must be a Google Account or a service account. Other types of principals are not supported.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1BindingExplanation": { +"description": "Details about how a binding in a policy affects a principal's ability to use a permission.", +"id": "GoogleCloudPolicysimulatorV1BindingExplanation", +"properties": { +"access": { +"description": "Required. Indicates whether _this binding_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another binding that overrides this binding. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate." +], +"type": "string" +}, +"condition": { +"$ref": "GoogleTypeExpr", +"description": "A condition expression that prevents this binding from granting access unless the expression evaluates to `true`. To learn about IAM Conditions, see https://cloud.google.com/iam/docs/conditions-overview." +}, +"memberships": { +"additionalProperties": { +"$ref": "GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership" +}, +"description": "Indicates whether each principal in the binding includes the principal specified in the request, either directly or indirectly. Each key identifies a principal in the binding, and each value indicates whether the principal in the binding includes the principal in the request. For example, suppose that a binding includes the following principals: * `user:alice@example.com` * `group:product-eng@example.com` The principal in the replayed access tuple is `user:bob@example.com`. This user is a principal of the group `group:product-eng@example.com`. For the first principal in the binding, the key is `user:alice@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the second principal in the binding, the key is `group:product-eng@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.", +"type": "object" +}, +"relevance": { +"description": "The relevance of this binding to the overall determination for the entire policy.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +}, +"role": { +"description": "The role that this binding grants. For example, `roles/compute.serviceAgent`. For a complete list of predefined IAM roles, as well as the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.", +"type": "string" +}, +"rolePermission": { +"description": "Indicates whether the role granted by this binding contains the specified permission.", +"enum": [ +"ROLE_PERMISSION_UNSPECIFIED", +"ROLE_PERMISSION_INCLUDED", +"ROLE_PERMISSION_NOT_INCLUDED", +"ROLE_PERMISSION_UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The permission is included in the role.", +"The permission is not included in the role.", +"The user who created the Replay is not allowed to access the binding." +], +"type": "string" +}, +"rolePermissionRelevance": { +"description": "The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership": { +"description": "Details about whether the binding includes the principal.", +"id": "GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership", +"properties": { +"membership": { +"description": "Indicates whether the binding includes the principal.", +"enum": [ +"MEMBERSHIP_UNSPECIFIED", +"MEMBERSHIP_INCLUDED", +"MEMBERSHIP_NOT_INCLUDED", +"MEMBERSHIP_UNKNOWN_INFO_DENIED", +"MEMBERSHIP_UNKNOWN_UNSUPPORTED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The binding includes the principal. The principal can be included directly or indirectly. For example: * A principal is included directly if that principal is listed in the binding. * A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.", +"The binding does not include the principal.", +"The user who created the Replay is not allowed to access the binding.", +"The principal is an unsupported type. Only Google Accounts and service accounts are supported." +], +"type": "string" +}, +"relevance": { +"description": "The relevance of the principal's status to the overall determination for the binding.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ExplainedAccess": { +"description": "Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.", +"id": "GoogleCloudPolicysimulatorV1ExplainedAccess", +"properties": { +"accessState": { +"description": "Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate." +], +"type": "string" +}, +"errors": { +"description": "If the AccessState is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"policies": { +"description": "If the AccessState is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1ExplainedPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ExplainedPolicy": { +"description": "Details about how a specific IAM Policy contributed to the access check.", +"id": "GoogleCloudPolicysimulatorV1ExplainedPolicy", +"properties": { +"access": { +"description": "Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.", +"enum": [ +"ACCESS_STATE_UNSPECIFIED", +"GRANTED", +"NOT_GRANTED", +"UNKNOWN_CONDITIONAL", +"UNKNOWN_INFO_DENIED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The principal has the permission.", +"The principal does not have the permission.", +"The principal has the permission only if a condition expression evaluates to `true`.", +"The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate." +], +"type": "string" +}, +"bindingExplanations": { +"description": "Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the Replay does not have access to the policy, this field is omitted.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1BindingExplanation" +}, +"type": "array" +}, +"fullResourceName": { +"description": "The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the user who created the Replay does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.", +"type": "string" +}, +"policy": { +"$ref": "GoogleIamV1Policy", +"description": "The IAM policy attached to the resource. If the user who created the Replay does not have access to the policy, this field is empty." +}, +"relevance": { +"description": "The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse. If the user who created the Replay does not have access to the policy, this field is omitted.", +"enum": [ +"HEURISTIC_RELEVANCE_UNSPECIFIED", +"NORMAL", +"HIGH" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.", +"The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse": { +"description": "ListOrgPolicyViolationsPreviewsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews.", +"id": "GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse", +"properties": { +"nextPageToken": { +"description": "A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"orgPolicyViolationsPreviews": { +"description": "The list of OrgPolicyViolationsPreview", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse": { +"description": "ListOrgPolicyViolationsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolations", +"id": "GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse", +"properties": { +"nextPageToken": { +"description": "A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"orgPolicyViolations": { +"description": "The list of OrgPolicyViolations", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyViolation" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ListReplayResultsResponse": { +"description": "Response message for Simulator.ListReplayResults.", +"id": "GoogleCloudPolicysimulatorV1ListReplayResultsResponse", +"properties": { +"nextPageToken": { +"description": "A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"replayResults": { +"description": "The results of running a Replay.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyOverlay": { +"description": "The proposed changes to OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyOverlay", +"properties": { +"customConstraints": { +"description": "Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay" +}, +"type": "array" +}, +"policies": { +"description": "Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay": { +"description": "A change to an OrgPolicy custom constraint.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint", +"description": "Optional. The new or updated custom constraint." +}, +"customConstraintParent": { +"description": "Optional. Resource the constraint is attached to. Example: \"organization/987654\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay": { +"description": "A change to an OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay", +"properties": { +"policy": { +"$ref": "GoogleCloudOrgpolicyV2Policy", +"description": "Optional. The new or updated OrgPolicy." +}, +"policyParent": { +"description": "Optional. The parent of the policy we are attaching to. Example: \"projects/123456\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyViolation": { +"description": "OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyViolation", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint", +"description": "The custom constraint being violated." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "Any error encountered during the evaluation." +}, +"name": { +"description": "The name of the `OrgPolicyViolation`. Example: organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudPolicysimulatorV1ResourceContext", +"description": "The resource violating the constraint." +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview": { +"description": "OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made. The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview", +"properties": { +"createTime": { +"description": "Output only. Time when this `OrgPolicyViolationsPreview` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customConstraints": { +"description": "Output only. The names of the constraints against which all `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `PolicyOverlay` then it contains the name of the configured custom constraint, applicable to the specified policies. Otherwise it contains the name of the constraint specified in `CustomConstraintOverlay`. Format: `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the following format: `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` Example: `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f`", +"readOnly": true, +"type": "string" +}, +"overlay": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyOverlay", +"description": "Required. The proposed changes we are previewing violations for." +}, +"resourceCounts": { +"$ref": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts", +"description": "Output only. A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the `OrgPolicyViolationsPreview`.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"readOnly": true, +"type": "string" +}, +"violationsCount": { +"description": "Output only. The number of OrgPolicyViolations in this `OrgPolicyViolationsPreview`. This count may differ from `resource_summary.noncompliant_count` because each OrgPolicyViolation is specific to a resource **and** constraint. If there are multiple constraints being evaluated (i.e. multiple policies in the overlay), a single resource may violate multiple constraints.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts": { +"description": "A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts", +"properties": { +"compliant": { +"description": "Output only. Number of scanned resources with zero violations.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"errors": { +"description": "Output only. Number of resources that returned an error when scanned.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"noncompliant": { +"description": "Output only. Number of scanned resources with at least one violation.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"scanned": { +"description": "Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"unenforced": { +"description": "Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1Replay": { +"description": "A resource describing a `Replay`, or simulation.", +"id": "GoogleCloudPolicysimulatorV1Replay", +"properties": { +"config": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayConfig", +"description": "Required. The configuration used for the `Replay`." +}, +"name": { +"description": "Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`", +"readOnly": true, +"type": "string" +}, +"resultsSummary": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", +"description": "Output only. Summary statistics about the replayed log entries.", +"readOnly": true +}, +"state": { +"description": "Output only. The current state of the `Replay`.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The `Replay` has not started yet.", +"The `Replay` is currently running.", +"The `Replay` has successfully completed.", +"The `Replay` has finished with an error." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayConfig": { +"description": "The configuration used for a Replay.", +"id": "GoogleCloudPolicysimulatorV1ReplayConfig", +"properties": { +"logSource": { +"description": "The logs to use as input for the Replay.", +"enum": [ +"LOG_SOURCE_UNSPECIFIED", +"RECENT_ACCESSES" +], +"enumDescriptions": [ +"An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.", +"All access logs from the last 90 days. These logs may not include logs from the most recent 7 days." +], +"type": "string" +}, +"policyOverlay": { +"additionalProperties": { +"$ref": "GoogleIamV1Policy" +}, +"description": "A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayDiff": { +"description": "The difference between the results of evaluating an access tuple under the current (baseline) policies and under the proposed (simulated) policies. This difference explains how a principal's access could change if the proposed policies were applied.", +"id": "GoogleCloudPolicysimulatorV1ReplayDiff", +"properties": { +"accessDiff": { +"$ref": "GoogleCloudPolicysimulatorV1AccessStateDiff", +"description": "A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple. The evaluation of the principal's access is reported in the AccessState field." +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayOperationMetadata": { +"description": "Metadata about a Replay operation.", +"id": "GoogleCloudPolicysimulatorV1ReplayOperationMetadata", +"properties": { +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayResult": { +"description": "The result of replaying a single access tuple against a simulated state.", +"id": "GoogleCloudPolicysimulatorV1ReplayResult", +"properties": { +"accessTuple": { +"$ref": "GoogleCloudPolicysimulatorV1AccessTuple", +"description": "The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt." +}, +"diff": { +"$ref": "GoogleCloudPolicysimulatorV1ReplayDiff", +"description": "The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies. This field is only included for access tuples that were successfully replayed and had different results under the current policies and the proposed policies." +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully." +}, +"lastSeenDate": { +"$ref": "GoogleTypeDate", +"description": "The latest date this access tuple was seen in the logs." +}, +"name": { +"description": "The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`", +"type": "string" +}, +"parent": { +"description": "The Replay that the access tuple was included in.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ReplayResultsSummary": { +"description": "Summary statistics about the replayed log entries.", +"id": "GoogleCloudPolicysimulatorV1ReplayResultsSummary", +"properties": { +"differenceCount": { +"description": "The number of replayed log entries with a difference between baseline and simulated policies.", +"format": "int32", +"type": "integer" +}, +"errorCount": { +"description": "The number of log entries that could not be replayed.", +"format": "int32", +"type": "integer" +}, +"logCount": { +"description": "The total number of log entries replayed.", +"format": "int32", +"type": "integer" +}, +"newestDate": { +"$ref": "GoogleTypeDate", +"description": "The date of the newest log entry replayed." +}, +"oldestDate": { +"$ref": "GoogleTypeDate", +"description": "The date of the oldest log entry replayed." +}, +"unchangedCount": { +"description": "The number of replayed log entries with no difference between baseline and simulated policies.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1ResourceContext": { +"description": "ResourceContext provides the context we know about a resource. It is similar in concept to google.cloud.asset.v1.Resource, but focuses on the information specifically used by Simulator.", +"id": "GoogleCloudPolicysimulatorV1ResourceContext", +"properties": { +"ancestors": { +"description": "The ancestry path of the resource in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the resource is a project, folder, or organization, the ancestry path starts from the resource itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", +"items": { +"type": "string" +}, +"type": "array" +}, +"assetType": { +"description": "The asset type of the resource as defined by CAIS. Example: `compute.googleapis.com/Firewall` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.", +"type": "string" +}, +"resource": { +"description": "The full name of the resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata": { +"description": "CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.", +"id": "GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata", +"properties": { +"requestTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"resourcesFound": { +"description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending", +"format": "int32", +"type": "integer" +}, +"resourcesPending": { +"description": "Number of resources still to scan.", +"format": "int32", +"type": "integer" +}, +"resourcesScanned": { +"description": "Number of resources already scanned.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request started processing, i.e., when the state was set to RUNNING.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Output only. The current state of the operation.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata": { +"description": "GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.", +"id": "GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata", +"properties": { +"requestTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"resourcesFound": { +"description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending", +"format": "int32", +"type": "integer" +}, +"resourcesPending": { +"description": "Number of resources still to scan.", +"format": "int32", +"type": "integer" +}, +"resourcesScanned": { +"description": "Number of resources already scanned.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request started processing, i.e. when the state was set to RUNNING.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The current state of the operation.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay": { +"description": "The proposed changes to OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay", +"properties": { +"customConstraints": { +"description": "Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay" +}, +"type": "array" +}, +"policies": { +"description": "Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.", +"items": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay": { +"description": "A change to an OrgPolicy custom constraint.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay", +"properties": { +"customConstraint": { +"$ref": "GoogleCloudOrgpolicyV2CustomConstraint", +"description": "Optional. The new or updated custom constraint." +}, +"customConstraintParent": { +"description": "Optional. Resource the constraint is attached to. Example: \"organization/987654\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay": { +"description": "A change to an OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay", +"properties": { +"policy": { +"$ref": "GoogleCloudOrgpolicyV2Policy", +"description": "Optional. The new or updated OrgPolicy." +}, +"policyParent": { +"description": "Optional. The parent of the policy we are attaching to. Example: \"projects/123456\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview": { +"description": "OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made. The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview", +"properties": { +"createTime": { +"description": "Output only. Time when this `OrgPolicyViolationsPreview` was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"customConstraints": { +"description": "Output only. The names of the constraints against which all `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `PolicyOverlay` then it contains the name of the configured custom constraint, applicable to the specified policies. Otherwise it contains the name of the constraint specified in `CustomConstraintOverlay`. Format: `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the following format: `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` Example: `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f`", +"readOnly": true, +"type": "string" +}, +"overlay": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay", +"description": "Required. The proposed changes we are previewing violations for." +}, +"resourceCounts": { +"$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts", +"description": "Output only. A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"readOnly": true +}, +"state": { +"description": "Output only. The state of the `OrgPolicyViolationsPreview`.", +"enum": [ +"PREVIEW_STATE_UNSPECIFIED", +"PREVIEW_PENDING", +"PREVIEW_RUNNING", +"PREVIEW_SUCCEEDED", +"PREVIEW_FAILED" +], +"enumDescriptions": [ +"The state is unspecified.", +"The OrgPolicyViolationsPreview has not been created yet.", +"The OrgPolicyViolationsPreview is currently being created.", +"The OrgPolicyViolationsPreview creation finished successfully.", +"The OrgPolicyViolationsPreview creation failed with an error." +], +"readOnly": true, +"type": "string" +}, +"violationsCount": { +"description": "Output only. The number of OrgPolicyViolations in this `OrgPolicyViolationsPreview`. This count may differ from `resource_summary.noncompliant_count` because each OrgPolicyViolation is specific to a resource **and** constraint. If there are multiple constraints being evaluated (i.e. multiple policies in the overlay), a single resource may violate multiple constraints.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts": { +"description": "A summary of the state of all resources scanned for compliance with the changed OrgPolicy.", +"id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts", +"properties": { +"compliant": { +"description": "Output only. Number of scanned resources with zero violations.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"errors": { +"description": "Output only. Number of resources that returned an error when scanned.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"noncompliant": { +"description": "Output only. Number of scanned resources with at least one violation.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"scanned": { +"description": "Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"unenforced": { +"description": "Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"GoogleIamV1AuditConfig": { +"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": "GoogleIamV1AuditConfig", +"properties": { +"auditLogConfigs": { +"description": "The configuration for logging of each type of permission.", +"items": { +"$ref": "GoogleIamV1AuditLogConfig" +}, +"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" +}, +"GoogleIamV1AuditLogConfig": { +"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": "GoogleIamV1AuditLogConfig", +"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" +}, +"GoogleIamV1Binding": { +"description": "Associates `members`, or principals, with a `role`.", +"id": "GoogleIamV1Binding", +"properties": { +"condition": { +"$ref": "GoogleTypeExpr", +"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" +}, +"GoogleIamV1Policy": { +"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": "GoogleIamV1Policy", +"properties": { +"auditConfigs": { +"description": "Specifies cloud audit logging configuration for this policy.", +"items": { +"$ref": "GoogleIamV1AuditConfig" +}, +"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": "GoogleIamV1Binding" +}, +"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" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleTypeExpr": { +"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": "GoogleTypeExpr", +"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" +} +}, +"servicePath": "", +"title": "Policy Simulator API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json new file mode 100644 index 0000000000000000000000000000000000000000..a7bf4d7f82281e22d7e866c5369d2aa4762dd12e --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json @@ -0,0 +1,3774 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/sasportal": { +"description": "Read, create, update, and delete your SAS Portal data." +} +} +} +}, +"basePath": "", +"baseUrl": "https://prod-tt-sasportal.googleapis.com/", +"batchPath": "batch", +"canonicalName": "SAS Portal Testing", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/spectrum-access-system/", +"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": "prod_tt_sasportal:v1alpha1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://prod-tt-sasportal.mtls.googleapis.com/", +"name": "prod_tt_sasportal", +"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": { +"customers": { +"methods": { +"get": { +"description": "Returns a requested customer.", +"flatPath": "v1alpha1/customers/{customersId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the customer.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalCustomer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Returns a list of requested customers.", +"flatPath": "v1alpha1/customers", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The maximum number of customers to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListCustomers that indicates where this listing should continue from.", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/customers", +"response": { +"$ref": "SasPortalListCustomersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"listGcpProjectDeployments": { +"description": "Returns a list of SAS deployments associated with current GCP project. Includes whether SAS analytics has been enabled or not.", +"flatPath": "v1alpha1/customers:listGcpProjectDeployments", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.listGcpProjectDeployments", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/customers:listGcpProjectDeployments", +"response": { +"$ref": "SasPortalListGcpProjectDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"listLegacyOrganizations": { +"description": "Returns a list of legacy organizations.", +"flatPath": "v1alpha1/customers:listLegacyOrganizations", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.listLegacyOrganizations", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/customers:listLegacyOrganizations", +"response": { +"$ref": "SasPortalListLegacyOrganizationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"migrateOrganization": { +"description": "Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration", +"flatPath": "v1alpha1/customers:migrateOrganization", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.migrateOrganization", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/customers:migrateOrganization", +"request": { +"$ref": "SasPortalMigrateOrganizationRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates an existing customer.", +"flatPath": "v1alpha1/customers/{customersId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.customers.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name of the customer.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalCustomer" +}, +"response": { +"$ref": "SasPortalCustomer" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"provisionDeployment": { +"description": "Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found.", +"flatPath": "v1alpha1/customers:provisionDeployment", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.provisionDeployment", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/customers:provisionDeployment", +"request": { +"$ref": "SasPortalProvisionDeploymentRequest" +}, +"response": { +"$ref": "SasPortalProvisionDeploymentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"setupSasAnalytics": { +"description": "Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service.", +"flatPath": "v1alpha1/customers:setupSasAnalytics", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.setupSasAnalytics", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/customers:setupSasAnalytics", +"request": { +"$ref": "SasPortalSetupSasAnalyticsRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"deployments": { +"methods": { +"create": { +"description": "Creates a new deployment.", +"flatPath": "v1alpha1/customers/{customersId}/deployments", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the deployment is to be created.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"request": { +"$ref": "SasPortalDeployment" +}, +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"delete": { +"description": "Deletes a deployment.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.customers.deployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Returns a requested deployment.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists deployments.", +"flatPath": "v1alpha1/customers/{customersId}/deployments", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no deployments are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of deployments to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\", customer/1/nodes/2.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"response": { +"$ref": "SasPortalListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a deployment under another node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.deployments.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment to move.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveDeploymentRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates an existing deployment.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.customers.deployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalDeployment" +}, +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.deployments.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.deployments.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/deployments/{deploymentsId}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.deployments.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +} +}, +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"delete": { +"description": "Deletes a device.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.customers.devices.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Gets details about a device.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a device under another node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.devices.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to move.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveDeviceRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates a device.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.customers.devices.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"signDevice": { +"description": "Signs a device.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}:signDevice", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.devices.signDevice", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:signDevice", +"request": { +"$ref": "SasPortalSignDeviceRequest" +}, +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"updateSigned": { +"description": "Updates a signed device.", +"flatPath": "v1alpha1/customers/{customersId}/devices/{devicesId}:updateSigned", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.customers.devices.updateSigned", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to update.", +"location": "path", +"pattern": "^customers/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:updateSigned", +"request": { +"$ref": "SasPortalUpdateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"nodes": { +"methods": { +"create": { +"description": "Creates a new node.", +"flatPath": "v1alpha1/customers/{customersId}/nodes", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the node is to be created.", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"delete": { +"description": "Deletes a node.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.customers.nodes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Returns a requested node.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.nodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists nodes.", +"flatPath": "v1alpha1/customers/{customersId}/nodes", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no nodes are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of nodes to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\".", +"location": "path", +"pattern": "^customers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"response": { +"$ref": "SasPortalListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a node under another node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node to move.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveNodeRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates an existing node.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.customers.nodes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"deployments": { +"methods": { +"create": { +"description": "Creates a new deployment.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/deployments", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the deployment is to be created.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"request": { +"$ref": "SasPortalDeployment" +}, +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists deployments.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/deployments", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.nodes.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no deployments are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of deployments to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\", customer/1/nodes/2.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"response": { +"$ref": "SasPortalListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.nodes.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"nodes": { +"methods": { +"create": { +"description": "Creates a new node.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/nodes", +"httpMethod": "POST", +"id": "prod_tt_sasportal.customers.nodes.nodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the node is to be created.", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists nodes.", +"flatPath": "v1alpha1/customers/{customersId}/nodes/{nodesId}/nodes", +"httpMethod": "GET", +"id": "prod_tt_sasportal.customers.nodes.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no nodes are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of nodes to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\".", +"location": "path", +"pattern": "^customers/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"response": { +"$ref": "SasPortalListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +} +} +} +}, +"deployments": { +"methods": { +"get": { +"description": "Returns a requested deployment.", +"flatPath": "v1alpha1/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment.", +"location": "path", +"pattern": "^deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"devices": { +"methods": { +"delete": { +"description": "Deletes a device.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.deployments.devices.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Gets details about a device.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.deployments.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a device under another node or customer.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.deployments.devices.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to move.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveDeviceRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates a device.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.deployments.devices.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"signDevice": { +"description": "Signs a device.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}:signDevice", +"httpMethod": "POST", +"id": "prod_tt_sasportal.deployments.devices.signDevice", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:signDevice", +"request": { +"$ref": "SasPortalSignDeviceRequest" +}, +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"updateSigned": { +"description": "Updates a signed device.", +"flatPath": "v1alpha1/deployments/{deploymentsId}/devices/{devicesId}:updateSigned", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.deployments.devices.updateSigned", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to update.", +"location": "path", +"pattern": "^deployments/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:updateSigned", +"request": { +"$ref": "SasPortalUpdateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +} +}, +"installer": { +"methods": { +"generateSecret": { +"description": "Generates a secret to be used with the ValidateInstaller.", +"flatPath": "v1alpha1/installer:generateSecret", +"httpMethod": "POST", +"id": "prod_tt_sasportal.installer.generateSecret", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/installer:generateSecret", +"request": { +"$ref": "SasPortalGenerateSecretRequest" +}, +"response": { +"$ref": "SasPortalGenerateSecretResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"validate": { +"description": "Validates the identity of a Certified Professional Installer (CPI).", +"flatPath": "v1alpha1/installer:validate", +"httpMethod": "POST", +"id": "prod_tt_sasportal.installer.validate", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/installer:validate", +"request": { +"$ref": "SasPortalValidateInstallerRequest" +}, +"response": { +"$ref": "SasPortalValidateInstallerResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"nodes": { +"methods": { +"get": { +"description": "Returns a requested node.", +"flatPath": "v1alpha1/nodes/{nodesId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"deployments": { +"methods": { +"delete": { +"description": "Deletes a deployment.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.nodes.deployments.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Returns a requested deployment.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.deployments.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists deployments.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no deployments are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of deployments to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\", customer/1/nodes/2.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"response": { +"$ref": "SasPortalListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a deployment under another node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.deployments.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the deployment to move.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveDeploymentRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates an existing deployment.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.nodes.deployments.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalDeployment" +}, +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.deployments.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.deployments.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/deployments/{deploymentsId}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.deployments.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/deployments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +} +}, +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"delete": { +"description": "Deletes a device.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.nodes.devices.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Gets details about a device.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a device under another node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.devices.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to move.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveDeviceRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates a device.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.nodes.devices.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"signDevice": { +"description": "Signs a device.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}:signDevice", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.devices.signDevice", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. The resource path name.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:signDevice", +"request": { +"$ref": "SasPortalSignDeviceRequest" +}, +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"updateSigned": { +"description": "Updates a signed device.", +"flatPath": "v1alpha1/nodes/{nodesId}/devices/{devicesId}:updateSigned", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.nodes.devices.updateSigned", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the device to update.", +"location": "path", +"pattern": "^nodes/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:updateSigned", +"request": { +"$ref": "SasPortalUpdateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"nodes": { +"methods": { +"create": { +"description": "Creates a new node.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the node is to be created.", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"delete": { +"description": "Deletes a node.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}", +"httpMethod": "DELETE", +"id": "prod_tt_sasportal.nodes.nodes.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"get": { +"description": "Returns a requested node.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.nodes.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists nodes.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no nodes are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of nodes to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\".", +"location": "path", +"pattern": "^nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"response": { +"$ref": "SasPortalListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"move": { +"description": "Moves a node under another node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}:move", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.move", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the node to move.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+name}:move", +"request": { +"$ref": "SasPortalMoveNodeRequest" +}, +"response": { +"$ref": "SasPortalOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"patch": { +"description": "Updates an existing node.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}", +"httpMethod": "PATCH", +"id": "prod_tt_sasportal.nodes.nodes.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Output only. Resource name.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1alpha1/{+name}", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +}, +"resources": { +"deployments": { +"methods": { +"create": { +"description": "Creates a new deployment.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/deployments", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.deployments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the deployment is to be created.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"request": { +"$ref": "SasPortalDeployment" +}, +"response": { +"$ref": "SasPortalDeployment" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists deployments.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/deployments", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.nodes.deployments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no deployments are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of deployments to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\", customer/1/nodes/2.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/deployments", +"response": { +"$ref": "SasPortalListDeploymentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"devices": { +"methods": { +"create": { +"description": "Creates a device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/devices", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.devices.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"request": { +"$ref": "SasPortalDevice" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"createSigned": { +"description": "Creates a signed device under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/devices:createSigned", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.devices.createSigned", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices:createSigned", +"request": { +"$ref": "SasPortalCreateSignedDeviceRequest" +}, +"response": { +"$ref": "SasPortalDevice" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists devices under a node or customer.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/devices", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.nodes.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"display_name=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent resource.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/devices", +"response": { +"$ref": "SasPortalListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +}, +"nodes": { +"methods": { +"create": { +"description": "Creates a new node.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/nodes", +"httpMethod": "POST", +"id": "prod_tt_sasportal.nodes.nodes.nodes.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource name where the node is to be created.", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"request": { +"$ref": "SasPortalNode" +}, +"response": { +"$ref": "SasPortalNode" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"list": { +"description": "Lists nodes.", +"flatPath": "v1alpha1/nodes/{nodesId}/nodes/{nodesId1}/nodes", +"httpMethod": "GET", +"id": "prod_tt_sasportal.nodes.nodes.nodes.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no nodes are filtered.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of nodes to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent resource name, for example, \"nodes/1\".", +"location": "path", +"pattern": "^nodes/[^/]+/nodes/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1alpha1/{+parent}/nodes", +"response": { +"$ref": "SasPortalListNodesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +} +} +} +}, +"policies": { +"methods": { +"get": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1alpha1/policies:get", +"httpMethod": "POST", +"id": "prod_tt_sasportal.policies.get", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/policies:get", +"request": { +"$ref": "SasPortalGetPolicyRequest" +}, +"response": { +"$ref": "SasPortalPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"set": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy.", +"flatPath": "v1alpha1/policies:set", +"httpMethod": "POST", +"id": "prod_tt_sasportal.policies.set", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/policies:set", +"request": { +"$ref": "SasPortalSetPolicyRequest" +}, +"response": { +"$ref": "SasPortalPolicy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +}, +"test": { +"description": "Returns permissions that a caller has on the specified resource.", +"flatPath": "v1alpha1/policies:test", +"httpMethod": "POST", +"id": "prod_tt_sasportal.policies.test", +"parameterOrder": [], +"parameters": {}, +"path": "v1alpha1/policies:test", +"request": { +"$ref": "SasPortalTestPermissionsRequest" +}, +"response": { +"$ref": "SasPortalTestPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/sasportal" +] +} +} +} +}, +"revision": "20240730", +"rootUrl": "https://prod-tt-sasportal.googleapis.com/", +"schemas": { +"SasPortalAssignment": { +"description": "Associates `members` with a `role`.", +"id": "SasPortalAssignment", +"properties": { +"members": { +"description": "The identities the role is assigned to. It can have the following values: * `{user_email}`: An email address that represents a specific Google account. For example: `alice@gmail.com`. * `{group_email}`: An email address that represents a Google group. For example, `viewers@gmail.com`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Required. Role that is assigned to `members`.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalChannelWithScore": { +"description": "The channel with score.", +"id": "SasPortalChannelWithScore", +"properties": { +"frequencyRange": { +"$ref": "SasPortalFrequencyRange", +"description": "The frequency range of the channel." +}, +"score": { +"description": "The channel score, normalized to be in the range [0,100].", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SasPortalCreateSignedDeviceRequest": { +"description": "Request for CreateSignedDevice.", +"id": "SasPortalCreateSignedDeviceRequest", +"properties": { +"encodedDevice": { +"description": "Required. JSON Web Token signed using a CPI private key. Payload must be the JSON encoding of the device. The user_id field must be set.", +"format": "byte", +"type": "string" +}, +"installerId": { +"description": "Required. Unique installer id (CPI ID) from the Certified Professional Installers database.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalCustomer": { +"description": "Entity representing a SAS customer.", +"id": "SasPortalCustomer", +"properties": { +"displayName": { +"description": "Required. Name of the organization that the customer entity represents.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name of the customer.", +"type": "string" +}, +"sasUserIds": { +"description": "User IDs used by the devices belonging to this customer.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalDeployment": { +"description": "The Deployment.", +"id": "SasPortalDeployment", +"properties": { +"displayName": { +"description": "The deployment's display name.", +"type": "string" +}, +"frns": { +"description": "Output only. The FCC Registration Numbers (FRNs) copied from its direct parent.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Resource name.", +"readOnly": true, +"type": "string" +}, +"sasUserIds": { +"description": "User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalDeploymentAssociation": { +"description": "Association between a gcp project and a SAS user id.", +"id": "SasPortalDeploymentAssociation", +"properties": { +"gcpProjectId": { +"description": "GCP project id of the associated project.", +"type": "string" +}, +"userId": { +"description": "User id of the deployment.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalDevice": { +"id": "SasPortalDevice", +"properties": { +"activeConfig": { +"$ref": "SasPortalDeviceConfig", +"description": "Output only. Current configuration of the device as registered to the SAS." +}, +"currentChannels": { +"deprecated": true, +"description": "Output only. Current channels with scores.", +"items": { +"$ref": "SasPortalChannelWithScore" +}, +"readOnly": true, +"type": "array" +}, +"deviceMetadata": { +"$ref": "SasPortalDeviceMetadata", +"description": "Device parameters that can be overridden by both SAS Portal and SAS registration requests." +}, +"displayName": { +"description": "Device display name.", +"type": "string" +}, +"fccId": { +"description": "The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them.", +"type": "string" +}, +"grantRangeAllowlists": { +"description": "Only ranges that are within the allowlists are available for new grants.", +"items": { +"$ref": "SasPortalFrequencyRange" +}, +"type": "array" +}, +"grants": { +"description": "Output only. Grants held by the device.", +"items": { +"$ref": "SasPortalDeviceGrant" +}, +"type": "array" +}, +"name": { +"description": "Output only. The resource path name.", +"type": "string" +}, +"preloadedConfig": { +"$ref": "SasPortalDeviceConfig", +"description": "Configuration of the device, as specified via SAS Portal API." +}, +"serialNumber": { +"description": "A serial number assigned to the device by the device manufacturer.", +"type": "string" +}, +"state": { +"description": "Output only. Device state.", +"enum": [ +"DEVICE_STATE_UNSPECIFIED", +"RESERVED", +"REGISTERED", +"DEREGISTERED" +], +"enumDescriptions": [ +"Unspecified state.", +"Device created in the SAS Portal, however, not yet registered with SAS.", +"Device registered with SAS.", +"Device de-registered with SAS." +], +"type": "string" +} +}, +"type": "object" +}, +"SasPortalDeviceAirInterface": { +"description": "Information about the device's air interface.", +"id": "SasPortalDeviceAirInterface", +"properties": { +"radioTechnology": { +"description": "Conditional. This field specifies the radio access technology that is used for the CBSD.", +"enum": [ +"RADIO_TECHNOLOGY_UNSPECIFIED", +"E_UTRA", +"CAMBIUM_NETWORKS", +"FOUR_G_BBW_SAA_1", +"NR", +"DOODLE_CBRS", +"CW", +"REDLINE", +"TARANA_WIRELESS", +"FAROS" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"supportedSpec": { +"description": "Optional. This field is related to the `radioTechnology` and provides the air interface specification that the CBSD is compliant with at the time of registration.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalDeviceConfig": { +"description": "Information about the device configuration.", +"id": "SasPortalDeviceConfig", +"properties": { +"airInterface": { +"$ref": "SasPortalDeviceAirInterface", +"description": "Information about this device's air interface." +}, +"callSign": { +"description": "The call sign of the device operator.", +"type": "string" +}, +"category": { +"description": "FCC category of the device.", +"enum": [ +"DEVICE_CATEGORY_UNSPECIFIED", +"DEVICE_CATEGORY_A", +"DEVICE_CATEGORY_B" +], +"enumDescriptions": [ +"Unspecified device category.", +"Category A.", +"Category B." +], +"type": "string" +}, +"installationParams": { +"$ref": "SasPortalInstallationParams", +"description": "Installation parameters for the device." +}, +"isSigned": { +"description": "Output only. Whether the configuration has been signed by a CPI.", +"type": "boolean" +}, +"measurementCapabilities": { +"description": "Measurement reporting capabilities of the device.", +"items": { +"enum": [ +"MEASUREMENT_CAPABILITY_UNSPECIFIED", +"MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITH_GRANT", +"MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITHOUT_GRANT" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"type": "array" +}, +"model": { +"$ref": "SasPortalDeviceModel", +"description": "Information about this device model." +}, +"state": { +"description": "State of the configuration.", +"enum": [ +"DEVICE_CONFIG_STATE_UNSPECIFIED", +"DRAFT", +"FINAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The last time the device configuration was edited.", +"format": "google-datetime", +"type": "string" +}, +"userId": { +"description": "The identifier of a device user.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalDeviceGrant": { +"description": "Device grant. It is an authorization provided by the Spectrum Access System to a device to transmit using specified operating parameters after a successful heartbeat by the device.", +"id": "SasPortalDeviceGrant", +"properties": { +"channelType": { +"description": "Type of channel used.", +"enum": [ +"CHANNEL_TYPE_UNSPECIFIED", +"CHANNEL_TYPE_GAA", +"CHANNEL_TYPE_PAL" +], +"enumDescriptions": [ +"", +"", +"" +], +"type": "string" +}, +"expireTime": { +"description": "The expiration time of the grant.", +"format": "google-datetime", +"type": "string" +}, +"frequencyRange": { +"$ref": "SasPortalFrequencyRange", +"description": "The transmission frequency range." +}, +"grantId": { +"description": "Grant Id.", +"type": "string" +}, +"lastHeartbeatTransmitExpireTime": { +"description": "The transmit expiration time of the last heartbeat.", +"format": "google-datetime", +"type": "string" +}, +"maxEirp": { +"description": "Maximum Equivalent Isotropically Radiated Power (EIRP) permitted by the grant. The maximum EIRP is in units of dBm/MHz. The value of `maxEirp` represents the average (RMS) EIRP that would be measured by the procedure defined in FCC part 96.41(e)(3).", +"format": "double", +"type": "number" +}, +"moveList": { +"description": "The DPA move lists on which this grant appears.", +"items": { +"$ref": "SasPortalDpaMoveList" +}, +"type": "array" +}, +"state": { +"description": "State of the grant.", +"enum": [ +"GRANT_STATE_UNSPECIFIED", +"GRANT_STATE_GRANTED", +"GRANT_STATE_TERMINATED", +"GRANT_STATE_SUSPENDED", +"GRANT_STATE_AUTHORIZED", +"GRANT_STATE_EXPIRED" +], +"enumDescriptions": [ +"", +"The grant has been granted but the device is not heartbeating on it.", +"The grant has been terminated by the SAS.", +"The grant has been suspended by the SAS.", +"The device is currently transmitting.", +"The grant has expired." +], +"type": "string" +}, +"suspensionReason": { +"description": "If the grant is suspended, the reason(s) for suspension.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalDeviceMetadata": { +"description": "Device data overridable by both SAS Portal and registration requests.", +"id": "SasPortalDeviceMetadata", +"properties": { +"antennaModel": { +"description": "If populated, the Antenna Model Pattern to use. Format is: `RecordCreatorId:PatternId`", +"type": "string" +}, +"commonChannelGroup": { +"description": "Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a common primary channel assignment. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", +"type": "string" +}, +"interferenceCoordinationGroup": { +"description": "Interference Coordination Group (ICG). A group of CBSDs that manage their own interference with the group. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf).", +"type": "string" +}, +"nrqzValidated": { +"deprecated": true, +"description": "Output only. Set to `true` if a CPI has validated that they have coordinated with the National Quiet Zone office.", +"readOnly": true, +"type": "boolean" +}, +"nrqzValidation": { +"$ref": "SasPortalNrqzValidation", +"description": "Output only. National Radio Quiet Zone validation info.", +"readOnly": true +} +}, +"type": "object" +}, +"SasPortalDeviceModel": { +"description": "Information about the model of the device.", +"id": "SasPortalDeviceModel", +"properties": { +"firmwareVersion": { +"description": "The firmware version of the device.", +"type": "string" +}, +"hardwareVersion": { +"description": "The hardware version of the device.", +"type": "string" +}, +"name": { +"description": "The name of the device model.", +"type": "string" +}, +"softwareVersion": { +"description": "The software version of the device.", +"type": "string" +}, +"vendor": { +"description": "The name of the device vendor.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalDpaMoveList": { +"description": "An entry in a DPA's move list.", +"id": "SasPortalDpaMoveList", +"properties": { +"dpaId": { +"description": "The ID of the DPA.", +"type": "string" +}, +"frequencyRange": { +"$ref": "SasPortalFrequencyRange", +"description": "The frequency range that the move list affects." +} +}, +"type": "object" +}, +"SasPortalEmpty": { +"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": "SasPortalEmpty", +"properties": {}, +"type": "object" +}, +"SasPortalFrequencyRange": { +"description": "Frequency range from `low_frequency` to `high_frequency`.", +"id": "SasPortalFrequencyRange", +"properties": { +"highFrequencyMhz": { +"description": "The highest frequency of the frequency range in MHz.", +"format": "double", +"type": "number" +}, +"lowFrequencyMhz": { +"description": "The lowest frequency of the frequency range in MHz.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SasPortalGcpProjectDeployment": { +"description": "Deployment associated with the GCP project. Includes whether SAS analytics has been enabled or not.", +"id": "SasPortalGcpProjectDeployment", +"properties": { +"deployment": { +"$ref": "SasPortalDeployment", +"description": "Deployment associated with the GCP project." +}, +"hasEnabledAnalytics": { +"description": "Whether SAS analytics has been enabled.", +"type": "boolean" +} +}, +"type": "object" +}, +"SasPortalGenerateSecretRequest": { +"description": "Request for GenerateSecret.", +"id": "SasPortalGenerateSecretRequest", +"properties": {}, +"type": "object" +}, +"SasPortalGenerateSecretResponse": { +"description": "Response for GenerateSecret.", +"id": "SasPortalGenerateSecretResponse", +"properties": { +"secret": { +"description": "The secret generated by the string and used by ValidateInstaller.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalGetPolicyRequest": { +"description": "Request message for `GetPolicy` method.", +"id": "SasPortalGetPolicyRequest", +"properties": { +"resource": { +"description": "Required. The resource for which the policy is being requested.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalInstallationParams": { +"description": "Information about the device installation parameters.", +"id": "SasPortalInstallationParams", +"properties": { +"antennaAzimuth": { +"description": "Boresight direction of the horizontal plane of the antenna in degrees with respect to true north. The value of this parameter is an integer with a value between 0 and 359 inclusive. A value of 0 degrees means true north; a value of 90 degrees means east. This parameter is optional for Category A devices and conditional for Category B devices.", +"format": "int32", +"type": "integer" +}, +"antennaBeamwidth": { +"description": "3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees. This parameter is an unsigned integer having a value between 0 and 360 (degrees) inclusive; it is optional for Category A devices and conditional for Category B devices.", +"format": "int32", +"type": "integer" +}, +"antennaDowntilt": { +"description": "Antenna downtilt in degrees and is an integer with a value between -90 and +90 inclusive; a negative value means the antenna is tilted up (above horizontal). This parameter is optional for Category A devices and conditional for Category B devices.", +"format": "int32", +"type": "integer" +}, +"antennaGain": { +"description": "Peak antenna gain in dBi. This parameter is a double with a value between -127 and +128 (dBi) inclusive. Part of Release 2 to support floating-point value", +"format": "double", +"type": "number" +}, +"antennaModel": { +"description": "If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.", +"type": "string" +}, +"cpeCbsdIndication": { +"description": "If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.", +"type": "boolean" +}, +"eirpCapability": { +"description": "This parameter is the maximum device EIRP in units of dBm/10MHz and is an integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz for device category.", +"format": "int32", +"type": "integer" +}, +"height": { +"description": "Device antenna height in meters. When the `heightType` parameter value is \"AGL\", the antenna height should be given relative to ground level. When the `heightType` parameter value is \"AMSL\", it is given with respect to WGS84 datum.", +"format": "double", +"type": "number" +}, +"heightType": { +"description": "Specifies how the height is measured.", +"enum": [ +"HEIGHT_TYPE_UNSPECIFIED", +"HEIGHT_TYPE_AGL", +"HEIGHT_TYPE_AMSL" +], +"enumDescriptions": [ +"Unspecified height type.", +"AGL height is measured relative to the ground level.", +"AMSL height is measured relative to the mean sea level." +], +"type": "string" +}, +"horizontalAccuracy": { +"description": "A positive number in meters to indicate accuracy of the device antenna horizontal location. This optional parameter should only be present if its value is less than the FCC requirement of 50 meters.", +"format": "double", +"type": "number" +}, +"indoorDeployment": { +"description": "Whether the device antenna is indoor or not. `true`: indoor. `false`: outdoor.", +"type": "boolean" +}, +"latitude": { +"description": "Latitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -90.000000 to +90.000000. Positive values represent latitudes north of the equator; negative values south of the equator.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "Longitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -180.000000 to +180.000000. Positive values represent longitudes east of the prime meridian; negative values west of the prime meridian.", +"format": "double", +"type": "number" +}, +"verticalAccuracy": { +"description": "A positive number in meters to indicate accuracy of the device antenna vertical location. This optional parameter should only be present if its value is less than the FCC requirement of 3 meters.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"SasPortalListCustomersResponse": { +"description": "Response for `ListCustomers`.", +"id": "SasPortalListCustomersResponse", +"properties": { +"customers": { +"description": "The list of customers that match the request.", +"items": { +"$ref": "SasPortalCustomer" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A pagination token returned from a previous call to ListCustomers that indicates from where listing should continue. If the field is missing or empty, it means there are no more customers.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalListDeploymentsResponse": { +"description": "Response for ListDeployments.", +"id": "SasPortalListDeploymentsResponse", +"properties": { +"deployments": { +"description": "The deployments that match the request.", +"items": { +"$ref": "SasPortalDeployment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A pagination token returned from a previous call to ListDeployments that indicates from where listing should continue. If the field is missing or empty, it means there are no more deployments.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalListDevicesResponse": { +"description": "Response for ListDevices.", +"id": "SasPortalListDevicesResponse", +"properties": { +"devices": { +"description": "The devices that match the request.", +"items": { +"$ref": "SasPortalDevice" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A pagination token returned from a previous call to ListDevices that indicates from where listing should continue. If the field is missing or empty, it means there is no more devices.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalListGcpProjectDeploymentsResponse": { +"description": "Response for [ListGcpProjectDeployments].", +"id": "SasPortalListGcpProjectDeploymentsResponse", +"properties": { +"deployments": { +"description": "Optional. Deployments associated with the GCP project", +"items": { +"$ref": "SasPortalGcpProjectDeployment" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalListLegacyOrganizationsResponse": { +"description": "Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.Provisioning.ListLegacyOrganizations].", +"id": "SasPortalListLegacyOrganizationsResponse", +"properties": { +"organizations": { +"description": "Optional. Legacy SAS organizations.", +"items": { +"$ref": "SasPortalOrganization" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalListNodesResponse": { +"description": "Response for ListNodes.", +"id": "SasPortalListNodesResponse", +"properties": { +"nextPageToken": { +"description": "A pagination token returned from a previous call to ListNodes that indicates from where listing should continue. If the field is missing or empty, it means there is no more nodes.", +"type": "string" +}, +"nodes": { +"description": "The nodes that match the request.", +"items": { +"$ref": "SasPortalNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalMigrateOrganizationMetadata": { +"description": "Long-running operation metadata message returned by the MigrateOrganization.", +"id": "SasPortalMigrateOrganizationMetadata", +"properties": { +"operationState": { +"description": "Output only. Current operation state", +"enum": [ +"OPERATION_STATE_UNSPECIFIED", +"OPERATION_STATE_PENDING", +"OPERATION_STATE_RUNNING", +"OPERATION_STATE_SUCCEEDED", +"OPERATION_STATE_FAILED" +], +"enumDescriptions": [ +"Unspecified.", +"Pending (Not started).", +"In-progress.", +"Done successfully.", +"Done with errors." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"SasPortalMigrateOrganizationRequest": { +"description": "Request for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization]. GCP Project, Organization Info, and caller's GAIA ID should be retrieved from the RPC handler, and used to check authorization on SAS Portal organization and to create GCP Projects.", +"id": "SasPortalMigrateOrganizationRequest", +"properties": { +"organizationId": { +"description": "Required. Id of the SAS organization to be migrated.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalMigrateOrganizationResponse": { +"description": "Response for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization].", +"id": "SasPortalMigrateOrganizationResponse", +"properties": { +"deploymentAssociation": { +"description": "Optional. A list of deployment association that were created for the migration, or current associations if they already exist.", +"items": { +"$ref": "SasPortalDeploymentAssociation" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalMoveDeploymentRequest": { +"description": "Request for MoveDeployment.", +"id": "SasPortalMoveDeploymentRequest", +"properties": { +"destination": { +"description": "Required. The name of the new parent resource node or customer to reparent the deployment under.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalMoveDeviceRequest": { +"description": "Request for MoveDevice.", +"id": "SasPortalMoveDeviceRequest", +"properties": { +"destination": { +"description": "Required. The name of the new parent resource node or customer to reparent the device under.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalMoveNodeRequest": { +"description": "Request for MoveNode.", +"id": "SasPortalMoveNodeRequest", +"properties": { +"destination": { +"description": "Required. The name of the new parent resource node or customer to reparent the node under.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalNode": { +"description": "The Node.", +"id": "SasPortalNode", +"properties": { +"displayName": { +"description": "The node's display name.", +"type": "string" +}, +"name": { +"description": "Output only. Resource name.", +"type": "string" +}, +"sasUserIds": { +"description": "User ids used by the devices belonging to this node.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalNrqzValidation": { +"description": "Information about National Radio Quiet Zone validation.", +"id": "SasPortalNrqzValidation", +"properties": { +"caseId": { +"description": "Validation case ID.", +"type": "string" +}, +"cpiId": { +"description": "CPI who signed the validation.", +"type": "string" +}, +"latitude": { +"description": "Device latitude that's associated with the validation.", +"format": "double", +"type": "number" +}, +"longitude": { +"description": "Device longitude that's associated with the validation.", +"format": "double", +"type": "number" +}, +"state": { +"description": "State of the NRQZ validation info.", +"enum": [ +"STATE_UNSPECIFIED", +"DRAFT", +"FINAL" +], +"enumDescriptions": [ +"Unspecified state.", +"Draft state.", +"Final state." +], +"type": "string" +} +}, +"type": "object" +}, +"SasPortalOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "SasPortalOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "SasPortalStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"SasPortalOrganization": { +"description": "Organization details.", +"id": "SasPortalOrganization", +"properties": { +"displayName": { +"description": "Name of organization", +"type": "string" +}, +"id": { +"description": "Id of organization", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalPolicy": { +"description": "Defines an access control policy to the resources.", +"id": "SasPortalPolicy", +"properties": { +"assignments": { +"description": "List of assignments", +"items": { +"$ref": "SasPortalAssignment" +}, +"type": "array" +}, +"etag": { +"description": "The 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 GetPolicy, and systems are expected to put that etag in the request to SetPolicy to ensure that their change will be applied to the same version of the policy. If no etag is provided in the call to GetPolicy, then the existing policy is overwritten blindly.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalProvisionDeploymentRequest": { +"description": "Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. GCP Project, Organization Info, and caller\u2019s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new SAS organization (if not exists) and a new SAS deployment.", +"id": "SasPortalProvisionDeploymentRequest", +"properties": { +"newDeploymentDisplayName": { +"description": "Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its display name will be set to the value of this field.", +"type": "string" +}, +"newOrganizationDisplayName": { +"description": "Optional. If this field is set, and a new SAS Portal Organization needs to be created, its display name will be set to the value of this field.", +"type": "string" +}, +"organizationId": { +"description": "Optional. If this field is set then a new deployment will be created under the organization specified by this id.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalProvisionDeploymentResponse": { +"description": "Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment].", +"id": "SasPortalProvisionDeploymentResponse", +"properties": { +"errorMessage": { +"description": "Optional. Optional error message if the provisioning request is not successful.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalSetPolicyRequest": { +"description": "Request message for `SetPolicy` method.", +"id": "SasPortalSetPolicyRequest", +"properties": { +"disableNotification": { +"description": "Optional. Set the field as `true` to disable the onboarding notification.", +"type": "boolean" +}, +"policy": { +"$ref": "SasPortalPolicy", +"description": "Required. The policy to be applied to the `resource`." +}, +"resource": { +"description": "Required. The resource for which the policy is being specified. This policy replaces any existing policy.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalSetupSasAnalyticsMetadata": { +"description": "Metadata returned by the long running operation for the SetupSasAnalytics rpc.", +"id": "SasPortalSetupSasAnalyticsMetadata", +"properties": {}, +"type": "object" +}, +"SasPortalSetupSasAnalyticsRequest": { +"description": "Request for the SetupSasAnalytics rpc.", +"id": "SasPortalSetupSasAnalyticsRequest", +"properties": { +"userId": { +"description": "Optional. User id to setup analytics for, if not provided the user id associated with the project is used. optional", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalSetupSasAnalyticsResponse": { +"description": "Response returned by the long running operation for the SetupSasAnalytics rpc.", +"id": "SasPortalSetupSasAnalyticsResponse", +"properties": {}, +"type": "object" +}, +"SasPortalSignDeviceRequest": { +"description": "Request for SignDevice.", +"id": "SasPortalSignDeviceRequest", +"properties": { +"device": { +"$ref": "SasPortalDevice", +"description": "Required. The device to sign. The device fields name, fcc_id and serial_number must be set. The user_id field must be set." +} +}, +"type": "object" +}, +"SasPortalStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "SasPortalStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalTestPermissionsRequest": { +"description": "Request message for `TestPermissions` method.", +"id": "SasPortalTestPermissionsRequest", +"properties": { +"permissions": { +"description": "The set of permissions to check for the `resource`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resource": { +"description": "Required. The resource for which the permissions are being requested.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalTestPermissionsResponse": { +"description": "Response message for `TestPermissions` method.", +"id": "SasPortalTestPermissionsResponse", +"properties": { +"permissions": { +"description": "A set of permissions that the caller is allowed.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SasPortalUpdateSignedDeviceRequest": { +"description": "Request for UpdateSignedDevice.", +"id": "SasPortalUpdateSignedDeviceRequest", +"properties": { +"encodedDevice": { +"description": "Required. The JSON Web Token signed using a CPI private key. Payload must be the JSON encoding of the device. The user_id field must be set.", +"format": "byte", +"type": "string" +}, +"installerId": { +"description": "Required. Unique installer ID (CPI ID) from the Certified Professional Installers database.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalValidateInstallerRequest": { +"description": "Request for ValidateInstaller.", +"id": "SasPortalValidateInstallerRequest", +"properties": { +"encodedSecret": { +"description": "Required. JSON Web Token signed using a CPI private key. Payload must include a \"secret\" claim whose value is the secret.", +"type": "string" +}, +"installerId": { +"description": "Required. Unique installer id (CPI ID) from the Certified Professional Installers database.", +"type": "string" +}, +"secret": { +"description": "Required. Secret returned by the GenerateSecret.", +"type": "string" +} +}, +"type": "object" +}, +"SasPortalValidateInstallerResponse": { +"description": "Response for ValidateInstaller.", +"id": "SasPortalValidateInstallerResponse", +"properties": {}, +"type": "object" +} +}, +"servicePath": "", +"title": "SAS Portal API (Testing)", +"version": "v1alpha1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/publicca.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/publicca.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..82c028545dcdbdbd0ca1bbe3f8bc2f5da2ce4d17 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/publicca.v1.json @@ -0,0 +1,180 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://publicca.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Public Certificate Authority", +"description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority. ", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/public-certificate-authority/docs", +"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": "publicca:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://publicca.mtls.googleapis.com/", +"name": "publicca", +"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": { +"externalAccountKeys": { +"methods": { +"create": { +"description": "Creates a new ExternalAccountKey bound to the project.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalAccountKeys", +"httpMethod": "POST", +"id": "publicca.projects.locations.externalAccountKeys.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the \"global\" location is supported.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/externalAccountKeys", +"request": { +"$ref": "ExternalAccountKey" +}, +"response": { +"$ref": "ExternalAccountKey" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20240702", +"rootUrl": "https://publicca.googleapis.com/", +"schemas": { +"ExternalAccountKey": { +"description": "A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.", +"id": "ExternalAccountKey", +"properties": { +"b64MacKey": { +"description": "Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created", +"format": "byte", +"readOnly": true, +"type": "string" +}, +"keyId": { +"description": "Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Public Certificate Authority API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsublite.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsublite.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..af4ebab6bfa69bc43a933f27975eb87bc85d5a7c --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/pubsublite.v1.json @@ -0,0 +1,1708 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://pubsublite.googleapis.com/", +"batchPath": "batch", +"canonicalName": "PubsubLite", +"description": "", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/pubsub/lite/docs", +"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": "pubsublite:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://pubsublite.mtls.googleapis.com/", +"name": "pubsublite", +"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": { +"admin": { +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "pubsublite.admin.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "pubsublite.admin.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/admin/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"reservations": { +"methods": { +"create": { +"description": "Creates a new reservation.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations", +"httpMethod": "POST", +"id": "pubsublite.admin.projects.locations.reservations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent location in which to create the reservation. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"reservationId": { +"description": "Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+parent}/reservations", +"request": { +"$ref": "Reservation" +}, +"response": { +"$ref": "Reservation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified reservation.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", +"httpMethod": "DELETE", +"id": "pubsublite.admin.projects.locations.reservations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the reservation to delete. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the reservation configuration.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.reservations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Reservation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of reservations for the given project.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.reservations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of reservations to return. The service may return fewer than this value. If unset or zero, all reservations for the parent will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListReservations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservations` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent whose reservations are to be listed. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+parent}/reservations", +"response": { +"$ref": "ListReservationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates properties of the specified reservation.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}", +"httpMethod": "PATCH", +"id": "pubsublite.admin.projects.locations.reservations.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying the reservation fields to change.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"request": { +"$ref": "Reservation" +}, +"response": { +"$ref": "Reservation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"topics": { +"methods": { +"list": { +"description": "Lists the topics attached to the specified reservation.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/reservations/{reservationsId}/topics", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.reservations.topics.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the given reservation will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListReservationTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReservationTopics` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+name}/topics", +"response": { +"$ref": "ListReservationTopicsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"subscriptions": { +"methods": { +"create": { +"description": "Creates a new subscription.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions", +"httpMethod": "POST", +"id": "pubsublite.admin.projects.locations.subscriptions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent location in which to create the subscription. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"skipBacklog": { +"description": "If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.", +"location": "query", +"type": "boolean" +}, +"subscriptionId": { +"description": "Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+parent}/subscriptions", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified subscription.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}", +"httpMethod": "DELETE", +"id": "pubsublite.admin.projects.locations.subscriptions.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subscription to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the subscription configuration.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.subscriptions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subscription whose configuration to return.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of subscriptions for the given project.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.subscriptions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unset or zero, all subscriptions for the parent will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent whose subscriptions are to be listed. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+parent}/subscriptions", +"response": { +"$ref": "ListSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates properties of the specified subscription.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}", +"httpMethod": "PATCH", +"id": "pubsublite.admin.projects.locations.subscriptions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying the subscription fields to change.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"request": { +"$ref": "Subscription" +}, +"response": { +"$ref": "Subscription" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"seek": { +"description": "Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:seek", +"httpMethod": "POST", +"id": "pubsublite.admin.projects.locations.subscriptions.seek", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the subscription to seek.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}:seek", +"request": { +"$ref": "SeekSubscriptionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"topics": { +"methods": { +"create": { +"description": "Creates a new topic.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics", +"httpMethod": "POST", +"id": "pubsublite.admin.projects.locations.topics.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent location in which to create the topic. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"topicId": { +"description": "Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`.", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+parent}/topics", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes the specified topic.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}", +"httpMethod": "DELETE", +"id": "pubsublite.admin.projects.locations.topics.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the topic to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns the topic configuration.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.topics.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the topic whose configuration to return.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getPartitions": { +"description": "Returns the partition information for the requested topic.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}/partitions", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.topics.getPartitions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The topic whose partition information to return.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+name}/partitions", +"response": { +"$ref": "TopicPartitions" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns the list of topics for the given project.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.topics.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the parent will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTopics` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent whose topics are to be listed. Structured like `projects/{project_number}/locations/{location}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/admin/{+parent}/topics", +"response": { +"$ref": "ListTopicsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates properties of the specified topic.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}", +"httpMethod": "PATCH", +"id": "pubsublite.admin.projects.locations.topics.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. A mask specifying the topic fields to change.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+name}", +"request": { +"$ref": "Topic" +}, +"response": { +"$ref": "Topic" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"subscriptions": { +"methods": { +"list": { +"description": "Lists the subscriptions attached to the specified topic.", +"flatPath": "v1/admin/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}/subscriptions", +"httpMethod": "GET", +"id": "pubsublite.admin.projects.locations.topics.subscriptions.list", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the topic whose subscriptions to list.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unset or zero, all subscriptions for the given topic will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListTopicSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTopicSubscriptions` must match the call that provided the page token.", +"location": "query", +"type": "string" +} +}, +"path": "v1/admin/{+name}/subscriptions", +"response": { +"$ref": "ListTopicSubscriptionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +}, +"cursor": { +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"subscriptions": { +"methods": { +"commitCursor": { +"description": "Updates the committed cursor.", +"flatPath": "v1/cursor/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:commitCursor", +"httpMethod": "POST", +"id": "pubsublite.cursor.projects.locations.subscriptions.commitCursor", +"parameterOrder": [ +"subscription" +], +"parameters": { +"subscription": { +"description": "The subscription for which to update the cursor.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/cursor/{+subscription}:commitCursor", +"request": { +"$ref": "CommitCursorRequest" +}, +"response": { +"$ref": "CommitCursorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"cursors": { +"methods": { +"list": { +"description": "Returns all committed cursor information for a subscription.", +"flatPath": "v1/cursor/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}/cursors", +"httpMethod": "GET", +"id": "pubsublite.cursor.projects.locations.subscriptions.cursors.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of cursors to return. The service may return fewer than this value. If unset or zero, all cursors for the parent will be returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPartitionCursors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPartitionCursors` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The subscription for which to retrieve cursors. Structured like `projects/{project_number}/locations/{location}/subscriptions/{subscription_id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/cursor/{+parent}/cursors", +"response": { +"$ref": "ListPartitionCursorsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +} +}, +"topicStats": { +"resources": { +"projects": { +"resources": { +"locations": { +"resources": { +"topics": { +"methods": { +"computeHeadCursor": { +"description": "Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.", +"flatPath": "v1/topicStats/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}:computeHeadCursor", +"httpMethod": "POST", +"id": "pubsublite.topicStats.projects.locations.topics.computeHeadCursor", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. The topic for which we should compute the head cursor.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/topicStats/{+topic}:computeHeadCursor", +"request": { +"$ref": "ComputeHeadCursorRequest" +}, +"response": { +"$ref": "ComputeHeadCursorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"computeMessageStats": { +"description": "Compute statistics about a range of messages in a given topic and partition.", +"flatPath": "v1/topicStats/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}:computeMessageStats", +"httpMethod": "POST", +"id": "pubsublite.topicStats.projects.locations.topics.computeMessageStats", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. The topic for which we should compute message stats.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/topicStats/{+topic}:computeMessageStats", +"request": { +"$ref": "ComputeMessageStatsRequest" +}, +"response": { +"$ref": "ComputeMessageStatsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"computeTimeCursor": { +"description": "Compute the corresponding cursor for a publish or event time in a topic partition.", +"flatPath": "v1/topicStats/projects/{projectsId}/locations/{locationsId}/topics/{topicsId}:computeTimeCursor", +"httpMethod": "POST", +"id": "pubsublite.topicStats.projects.locations.topics.computeTimeCursor", +"parameterOrder": [ +"topic" +], +"parameters": { +"topic": { +"description": "Required. The topic for which we should compute the cursor.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/topics/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/topicStats/{+topic}:computeTimeCursor", +"request": { +"$ref": "ComputeTimeCursorRequest" +}, +"response": { +"$ref": "ComputeTimeCursorResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20251114", +"rootUrl": "https://pubsublite.googleapis.com/", +"schemas": { +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Capacity": { +"description": "The throughput capacity configuration for each partition.", +"id": "Capacity", +"properties": { +"publishMibPerSec": { +"description": "Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16.", +"format": "int32", +"type": "integer" +}, +"subscribeMibPerSec": { +"description": "Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CommitCursorRequest": { +"description": "Request for CommitCursor.", +"id": "CommitCursorRequest", +"properties": { +"cursor": { +"$ref": "Cursor", +"description": "The new value for the committed cursor." +}, +"partition": { +"description": "The partition for which to update the cursor. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CommitCursorResponse": { +"description": "Response for CommitCursor.", +"id": "CommitCursorResponse", +"properties": {}, +"type": "object" +}, +"ComputeHeadCursorRequest": { +"description": "Compute the current head cursor for a partition.", +"id": "ComputeHeadCursorRequest", +"properties": { +"partition": { +"description": "Required. The partition for which we should compute the head cursor.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ComputeHeadCursorResponse": { +"description": "Response containing the head cursor for the requested topic and partition.", +"id": "ComputeHeadCursorResponse", +"properties": { +"headCursor": { +"$ref": "Cursor", +"description": "The head cursor." +} +}, +"type": "object" +}, +"ComputeMessageStatsRequest": { +"description": "Compute statistics about a range of messages in a given topic and partition.", +"id": "ComputeMessageStatsRequest", +"properties": { +"endCursor": { +"$ref": "Cursor", +"description": "The exclusive end of the range. The range is empty if end_cursor <= start_cursor. Specifying a start_cursor before the first message and an end_cursor after the last message will retrieve all messages." +}, +"partition": { +"description": "Required. The partition for which we should compute message stats.", +"format": "int64", +"type": "string" +}, +"startCursor": { +"$ref": "Cursor", +"description": "The inclusive start of the range." +} +}, +"type": "object" +}, +"ComputeMessageStatsResponse": { +"description": "Response containing stats for messages in the requested topic and partition.", +"id": "ComputeMessageStatsResponse", +"properties": { +"messageBytes": { +"description": "The number of quota bytes accounted to these messages.", +"format": "int64", +"type": "string" +}, +"messageCount": { +"description": "The count of messages.", +"format": "int64", +"type": "string" +}, +"minimumEventTime": { +"description": "The minimum event timestamp across these messages. For the purposes of this computation, if a message does not have an event time, we use the publish time. The timestamp will be unset if there are no messages.", +"format": "google-datetime", +"type": "string" +}, +"minimumPublishTime": { +"description": "The minimum publish timestamp across these messages. Note that publish timestamps within a partition are not guaranteed to be non-decreasing. The timestamp will be unset if there are no messages.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ComputeTimeCursorRequest": { +"description": "Compute the corresponding cursor for a publish or event time in a topic partition.", +"id": "ComputeTimeCursorRequest", +"properties": { +"partition": { +"description": "Required. The partition for which we should compute the cursor.", +"format": "int64", +"type": "string" +}, +"target": { +"$ref": "TimeTarget", +"description": "Required. The target publish or event time. Specifying a future time will return an unset cursor." +} +}, +"type": "object" +}, +"ComputeTimeCursorResponse": { +"description": "Response containing the cursor corresponding to a publish or event time in a topic partition.", +"id": "ComputeTimeCursorResponse", +"properties": { +"cursor": { +"$ref": "Cursor", +"description": "If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. `cursor` is not present)." +} +}, +"type": "object" +}, +"Cursor": { +"description": "A cursor that describes the position of a message within a topic partition.", +"id": "Cursor", +"properties": { +"offset": { +"description": "The offset of a message within a topic partition. Must be greater than or equal 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DeliveryConfig": { +"description": "The settings for a subscription's message delivery.", +"id": "DeliveryConfig", +"properties": { +"deliveryRequirement": { +"description": "The DeliveryRequirement for this subscription.", +"enum": [ +"DELIVERY_REQUIREMENT_UNSPECIFIED", +"DELIVER_IMMEDIATELY", +"DELIVER_AFTER_STORED" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The server does not wait for a published message to be successfully written to storage before delivering it to subscribers.", +"The server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery." +], +"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" +}, +"ExportConfig": { +"description": "Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.", +"id": "ExportConfig", +"properties": { +"currentState": { +"description": "Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"PAUSED", +"PERMISSION_DENIED", +"NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Messages are being exported.", +"Exporting messages is suspended.", +"Messages cannot be exported due to permission denied errors. Output only.", +"Messages cannot be exported due to missing resources. Output only." +], +"readOnly": true, +"type": "string" +}, +"deadLetterTopic": { +"description": "Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.", +"type": "string" +}, +"desiredState": { +"description": "The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"PAUSED", +"PERMISSION_DENIED", +"NOT_FOUND" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Messages are being exported.", +"Exporting messages is suspended.", +"Messages cannot be exported due to permission denied errors. Output only.", +"Messages cannot be exported due to missing resources. Output only." +], +"type": "string" +}, +"pubsubConfig": { +"$ref": "PubSubConfig", +"description": "Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic." +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPartitionCursorsResponse": { +"description": "Response for ListPartitionCursors", +"id": "ListPartitionCursorsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"partitionCursors": { +"description": "The partition cursors from this request.", +"items": { +"$ref": "PartitionCursor" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReservationTopicsResponse": { +"description": "Response for ListReservationTopics.", +"id": "ListReservationTopicsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"topics": { +"description": "The names of topics attached to the reservation. The order of the topics is unspecified.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListReservationsResponse": { +"description": "Response for ListReservations.", +"id": "ListReservationsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"reservations": { +"description": "The list of reservation in the requested parent. The order of the reservations is unspecified.", +"items": { +"$ref": "Reservation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSubscriptionsResponse": { +"description": "Response for ListSubscriptions.", +"id": "ListSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"subscriptions": { +"description": "The list of subscriptions in the requested parent. The order of the subscriptions is unspecified.", +"items": { +"$ref": "Subscription" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicSubscriptionsResponse": { +"description": "Response for ListTopicSubscriptions.", +"id": "ListTopicSubscriptionsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"subscriptions": { +"description": "The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTopicsResponse": { +"description": "Response for ListTopics.", +"id": "ListTopicsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.", +"type": "string" +}, +"topics": { +"description": "The list of topic in the requested parent. The order of the topics is unspecified.", +"items": { +"$ref": "Topic" +}, +"type": "array" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Metadata for long running operations.", +"id": "OperationMetadata", +"properties": { +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running. Not set if the operation has not completed.", +"format": "google-datetime", +"type": "string" +}, +"target": { +"description": "Resource path for the target of the operation. For example, targets of seeks are subscription resources, structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"PartitionConfig": { +"description": "The settings for a topic's partitions.", +"id": "PartitionConfig", +"properties": { +"capacity": { +"$ref": "Capacity", +"description": "The capacity configuration." +}, +"count": { +"description": "The number of partitions in the topic. Must be at least 1. Once a topic has been created the number of partitions can be increased but not decreased. Message ordering is not guaranteed across a topic resize. For more information see https://cloud.google.com/pubsub/lite/docs/topics#scaling_capacity", +"format": "int64", +"type": "string" +}, +"scale": { +"deprecated": true, +"description": "DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"PartitionCursor": { +"description": "A pair of a Cursor and the partition it is for.", +"id": "PartitionCursor", +"properties": { +"cursor": { +"$ref": "Cursor", +"description": "The value of the cursor." +}, +"partition": { +"description": "The partition this is for.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"PubSubConfig": { +"description": "Configuration for exporting to a Pub/Sub topic.", +"id": "PubSubConfig", +"properties": { +"topic": { +"description": "The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.", +"type": "string" +} +}, +"type": "object" +}, +"Reservation": { +"description": "Metadata about a reservation resource.", +"id": "Reservation", +"properties": { +"name": { +"description": "The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"type": "string" +}, +"throughputCapacity": { +"description": "The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ReservationConfig": { +"description": "The settings for this topic's Reservation usage.", +"id": "ReservationConfig", +"properties": { +"throughputReservation": { +"description": "The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}", +"type": "string" +} +}, +"type": "object" +}, +"RetentionConfig": { +"description": "The settings for a topic's message retention.", +"id": "RetentionConfig", +"properties": { +"perPartitionBytes": { +"description": "The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`.", +"format": "int64", +"type": "string" +}, +"period": { +"description": "How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below `per_partition_bytes`.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"SeekSubscriptionRequest": { +"description": "Request for SeekSubscription.", +"id": "SeekSubscriptionRequest", +"properties": { +"namedTarget": { +"description": "Seek to a named position with respect to the message backlog.", +"enum": [ +"NAMED_TARGET_UNSPECIFIED", +"TAIL", +"HEAD" +], +"enumDescriptions": [ +"Unspecified named target. Do not use.", +"Seek to the oldest retained message.", +"Seek past all recently published messages, skipping the entire message backlog." +], +"type": "string" +}, +"timeTarget": { +"$ref": "TimeTarget", +"description": "Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog." +} +}, +"type": "object" +}, +"SeekSubscriptionResponse": { +"description": "Response for SeekSubscription long running operation.", +"id": "SeekSubscriptionResponse", +"properties": {}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subscription": { +"description": "Metadata about a subscription resource.", +"id": "Subscription", +"properties": { +"deliveryConfig": { +"$ref": "DeliveryConfig", +"description": "The settings for this subscription's message delivery." +}, +"exportConfig": { +"$ref": "ExportConfig", +"description": "If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination." +}, +"name": { +"description": "The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}", +"type": "string" +}, +"topic": { +"description": "The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}", +"type": "string" +} +}, +"type": "object" +}, +"TimeTarget": { +"description": "A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.", +"id": "TimeTarget", +"properties": { +"eventTime": { +"description": "Request the cursor of the first message with event time greater than or equal to `event_time`. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less than `event_time` and should be filtered by the client, if necessary.", +"format": "google-datetime", +"type": "string" +}, +"publishTime": { +"description": "Request the cursor of the first message with publish time greater than or equal to `publish_time`. All messages thereafter are guaranteed to have publish times >= `publish_time`.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Topic": { +"description": "Metadata about a topic resource.", +"id": "Topic", +"properties": { +"name": { +"description": "The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}", +"type": "string" +}, +"partitionConfig": { +"$ref": "PartitionConfig", +"description": "The settings for this topic's partitions." +}, +"reservationConfig": { +"$ref": "ReservationConfig", +"description": "The settings for this topic's Reservation usage." +}, +"retentionConfig": { +"$ref": "RetentionConfig", +"description": "The settings for this topic's message retention." +} +}, +"type": "object" +}, +"TopicPartitions": { +"description": "Response for GetTopicPartitions.", +"id": "TopicPartitions", +"properties": { +"partitionCount": { +"description": "The number of partitions in the topic.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Pub/Sub Lite API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..08edb90fbdfac189189a3601a78d581cd2c04f45 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/remotebuildexecution.v1.json @@ -0,0 +1,2103 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud Platform data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://remotebuildexecution.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Remote Build Execution", + "description": "Supplies a Remote Execution API service for tools such as bazel.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/remote-build-execution/docs/", + "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": "remotebuildexecution:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://remotebuildexecution.mtls.googleapis.com/", + "name": "remotebuildexecution", + "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": { + "media": { + "methods": { + "download": { + "description": "Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`.", + "flatPath": "v1/media/{mediaId}", + "httpMethod": "GET", + "id": "remotebuildexecution.media.download", + "parameterOrder": [ + "resourceName" + ], + "parameters": { + "resourceName": { + "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v1/media/{+resourceName}", + "response": { + "$ref": "GoogleBytestreamMedia" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "supportsMediaDownload": true + }, + "upload": { + "description": "Uploads media. Upload is supported on the URI `/upload/v1/media/{+name}`.", + "flatPath": "v1/media/{mediaId}", + "httpMethod": "POST", + "id": "remotebuildexecution.media.upload", + "mediaUpload": { + "accept": [ + "*/*" + ], + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/v1/media/{+resourceName}" + } + } + }, + "parameterOrder": [ + "resourceName" + ], + "parameters": { + "resourceName": { + "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.", + "location": "path", + "pattern": "^.*$", + "required": true, + "type": "string" + } + }, + "path": "v1/media/{+resourceName}", + "request": { + "$ref": "GoogleBytestreamMedia" + }, + "response": { + "$ref": "GoogleBytestreamMedia" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ], + "supportsMediaUpload": true + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "remotebuildexecution.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "GoogleLongrunningCancelOperationRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "remotebuildexecution.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^operations/.*$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "flatPath": "v1/operations", + "httpMethod": "GET", + "id": "remotebuildexecution.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^operations$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "projects": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "remotebuildexecution.projects.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "revision": "20210712", + "rootUrl": "https://remotebuildexecution.googleapis.com/", + "schemas": { + "BuildBazelRemoteExecutionV2Action": { + "description": "An `Action` captures all the information about an execution which is required to reproduce it. `Action`s are the core component of the [Execution] service. A single `Action` represents a repeatable action that can be performed by the execution service. `Action`s can be succinctly identified by the digest of their wire format encoding and, once an `Action` has been executed, will be cached in the action cache. Future requests can then use the cached result rather than needing to run afresh. When a server completes execution of an Action, it MAY choose to cache the result in the ActionCache unless `do_not_cache` is `true`. Clients SHOULD expect the server to do so. By default, future calls to Execute the same `Action` will also serve their results from the cache. Clients must take care to understand the caching behaviour. Ideally, all `Action`s will be reproducible so that serving a result from cache is always desirable and correct.", + "id": "BuildBazelRemoteExecutionV2Action", + "properties": { + "commandDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Command to run, which MUST be present in the ContentAddressableStorage." + }, + "doNotCache": { + "description": "If true, then the `Action`'s result cannot be cached, and in-flight requests for the same `Action` may not be merged.", + "type": "boolean" + }, + "inputRootDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the root Directory for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the ContentAddressableStorage." + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The optional platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. New in version 2.2: clients SHOULD set these platform properties as well as those in the Command. Servers SHOULD prefer those set here." + }, + "salt": { + "description": "An optional additional salt value used to place this `Action` into a separate cache namespace from other instances having the same field contents. This salt typically comes from operational configuration specific to sources such as repo and service configuration, and allows disowning an entire set of ActionResults that might have been poisoned by buggy software or tool failures.", + "format": "byte", + "type": "string" + }, + "timeout": { + "description": "A timeout after which the execution should be killed. If the timeout is absent, then the client is specifying that the execution should continue as long as the server will let it. The server SHOULD impose a timeout if the client does not specify one, however, if the client does specify a timeout that is longer than the server's maximum timeout, the server MUST reject the request. The timeout is a part of the Action message, and therefore two `Actions` with different timeouts are different, even if they are otherwise identical. This is because, if they were not, running an `Action` with a lower timeout than is required might result in a cache hit from an execution run with a longer timeout, hiding the fact that the timeout is too short. By encoding it directly in the `Action`, a lower timeout will result in a cache miss and the execution timeout will fail immediately, rather than whenever the cache entry gets evicted.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ActionResult": { + "description": "An ActionResult represents the result of an Action being run. It is advised that at least one field (for example `ActionResult.execution_metadata.Worker`) have a non-default value, to ensure that the serialized value is non-empty, which can then be used as a basic data sanity check.", + "id": "BuildBazelRemoteExecutionV2ActionResult", + "properties": { + "executionMetadata": { + "$ref": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "description": "The details of the execution that originally produced this result." + }, + "exitCode": { + "description": "The exit code of the command.", + "format": "int32", + "type": "integer" + }, + "outputDirectories": { + "description": "The output directories of the action. For each output directory requested in the `output_directories` or `output_paths` field of the Action, if the corresponding directory existed after the action completed, a single entry will be present in the output list, which will contain the digest of a Tree message containing the directory tree, and the path equal exactly to the corresponding Action output_directories member. As an example, suppose the Action had an output directory `a/b/dir` and the execution produced the following contents in `a/b/dir`: a file named `bar` and a directory named `foo` with an executable file named `baz`. Then, output_directory will contain (hashes shortened for readability): ```json // OutputDirectory proto: { path: \"a/b/dir\" tree_digest: { hash: \"4a73bc9d03...\", size: 55 } } // Tree proto with hash \"4a73bc9d03...\" and size 55: { root: { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 } } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } children : { // (Directory proto with hash \"4cf2eda940...\" and size 43) files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } } ``` If an output of the same name as listed in `output_files` of the Command was found in `output_directories`, but was not a directory, the server will return a FAILED_PRECONDITION.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputDirectory" + }, + "type": "array" + }, + "outputDirectorySymlinks": { + "description": "The output directories of the action that are symbolic links to other directories. Those may be links to other output directories, or input directories, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output directory requested in the `output_directories` field of the Action, if the directory existed after the action completed, a single entry will be present either in this field, or in the `output_directories` field, if the directory was not a symbolic link. If an output of the same name was found, but was a symbolic link to a file instead of a directory, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFileSymlinks": { + "description": "The output files of the action that are symbolic links to other files. Those may be links to other output files, or input files, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or in the `output_files` field, if the file was not a symbolic link. If an output symbolic link of the same name as listed in `output_files` of the Command was found, but its target type was not a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted. DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API should still populate this field in addition to `output_symlinks`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "outputFiles": { + "description": "The output files of the action. For each output file requested in the `output_files` or `output_paths` field of the Action, if the corresponding file existed after the action completed, a single entry will be present either in this field, or the `output_file_symlinks` field if the file was a symbolic link to another file (`output_symlinks` field after v2.1). If an output listed in `output_files` was found, but was a directory rather than a regular file, the server will return a FAILED_PRECONDITION. If the action does not produce the requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputFile" + }, + "type": "array" + }, + "outputSymlinks": { + "description": "New in v2.1: this field will only be populated if the command `output_paths` field was used, and not the pre v2.1 `output_files` or `output_directories` fields. The output paths of the action that are symbolic links to other paths. Those may be links to other outputs, or inputs, or even absolute paths outside of the working directory, if the server supports SymlinkAbsolutePathStrategy.ALLOWED. A single entry for each output requested in `output_paths` field of the Action, if the corresponding path existed after the action completed and was a symbolic link. If the action does not produce a requested output, then that output will be omitted from the list. The server is free to arrange the output list as desired; clients MUST NOT assume that the output list is sorted.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2OutputSymlink" + }, + "type": "array" + }, + "stderrDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard error of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stderrRaw": { + "description": "The standard error buffer of the action. The server SHOULD NOT inline stderr unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "stdoutDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest for a blob containing the standard output of the action, which can be retrieved from the ContentAddressableStorage." + }, + "stdoutRaw": { + "description": "The standard output buffer of the action. The server SHOULD NOT inline stdout unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Command": { + "description": "A `Command` is the actual command executed by a worker running an Action and specifications of its environment. Except as otherwise required, the environment (such as which system libraries or binaries are available, and what filesystems are mounted where) is defined by and specific to the implementation of the remote execution API.", + "id": "BuildBazelRemoteExecutionV2Command", + "properties": { + "arguments": { + "description": "The arguments to the command. The first argument must be the path to the executable, which must be either a relative path, in which case it is evaluated with respect to the input root, or an absolute path.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "The environment variables to set when running the program. The worker may provide its own default environment variables; these defaults can be overridden using this field. Additional variables can also be specified. In order to ensure that equivalent Commands always hash to the same value, the environment variables MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable" + }, + "type": "array" + }, + "outputDirectories": { + "description": "A list of the output directories that the client expects to retrieve from the action. Only the listed directories will be returned (an entire directory structure will be returned as a Tree message digest, see OutputDirectory), as well as files listed in `output_files`. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. The special value of empty string is allowed, although not recommended, and can be used to capture the entire working directory tree, including inputs. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output directory cannot be duplicated or have the same path as any of the listed output files. An output directory is allowed to be a parent of another output directory. Directories leading up to the output directories (but not the output directories themselves) are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since 2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputFiles": { + "description": "A list of the output files that the client expects to retrieve from the action. Only the listed files, as well as directories listed in `output_directories`, will be returned to the client as output. Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). An output file cannot be duplicated, be a parent of another output file, or have the same path as any of the listed output directories. Directories leading up to the output files are created by the worker prior to execution, even if they are not explicitly part of the input root. DEPRECATED since v2.1: Use `output_paths` instead.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputNodeProperties": { + "description": "A list of keys for node properties the client expects to retrieve for output files and directories. Keys are either names of string-based NodeProperty or names of fields in NodeProperties. In order to ensure that equivalent `Action`s always hash to the same value, the node properties MUST be lexicographically sorted by name. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. The interpretation of string-based properties is server-dependent. If a property is not recognized by the server, the server will return an `INVALID_ARGUMENT`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "outputPaths": { + "description": "A list of the output paths that the client expects to retrieve from the action. Only the listed paths will be returned to the client as output. The type of the output (file or directory) is not specified, and will be determined by the server after action execution. If the resulting path is a file, it will be returned in an OutputFile) typed field. If the path is a directory, the entire directory structure will be returned as a Tree message digest, see OutputDirectory) Other files or directories that may be created during command execution are discarded. The paths are relative to the working directory of the action execution. The paths are specified using a single forward slash (`/`) as a path separator, even if the execution platform natively uses a different separator. The path MUST NOT include a trailing slash, nor a leading slash, being a relative path. In order to ensure consistent hashing of the same Action, the output paths MUST be deduplicated and sorted lexicographically by code point (or, equivalently, by UTF-8 bytes). Directories leading up to the output paths are created by the worker prior to execution, even if they are not explicitly part of the input root. New in v2.1: this field supersedes the DEPRECATED `output_files` and `output_directories` fields. If `output_paths` is used, `output_files` and `output_directories` will be ignored!", + "items": { + "type": "string" + }, + "type": "array" + }, + "platform": { + "$ref": "BuildBazelRemoteExecutionV2Platform", + "description": "The platform requirements for the execution environment. The server MAY choose to execute the action on any worker satisfying the requirements, so the client SHOULD ensure that running the action on any such worker will have the same result. A detailed lexicon for this can be found in the accompanying platform.md. DEPRECATED as of v2.2: platform properties are now specified directly in the action. See documentation note in the Action for migration." + }, + "workingDirectory": { + "description": "The working directory, relative to the input root, for the command to run in. It must be a directory which exists in the input tree. If it is left empty, then the action is run in the input root.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2CommandEnvironmentVariable": { + "description": "An `EnvironmentVariable` is one variable to set in the running program's environment.", + "id": "BuildBazelRemoteExecutionV2CommandEnvironmentVariable", + "properties": { + "name": { + "description": "The variable name.", + "type": "string" + }, + "value": { + "description": "The variable value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Digest": { + "description": "A content digest. A digest for a given blob consists of the size of the blob and its hash. The hash algorithm to use is defined by the server. The size is considered to be an integral part of the digest and cannot be separated. That is, even if the `hash` field is correctly specified but `size_bytes` is not, the server MUST reject the request. The reason for including the size in the digest is as follows: in a great many cases, the server needs to know the size of the blob it is about to work with prior to starting an operation with it, such as flattening Merkle tree structures or streaming it to a worker. Technically, the server could implement a separate metadata store, but this results in a significantly more complicated implementation as opposed to having the client specify the size up-front (or storing the size along with the digest in every message where digests are embedded). This does mean that the API leaks some implementation details of (what we consider to be) a reasonable server implementation, but we consider this to be a worthwhile tradeoff. When a `Digest` is used to refer to a proto message, it always refers to the message in binary encoded form. To ensure consistent hashing, clients and servers MUST ensure that they serialize messages according to the following rules, even if there are alternate valid encodings for the same message: * Fields are serialized in tag order. * There are no unknown fields. * There are no duplicate fields. * Fields are serialized according to the default semantics for their type. Most protocol buffer implementations will always follow these rules when serializing, but care should be taken to avoid shortcuts. For instance, concatenating two messages to merge them may produce duplicate fields.", + "id": "BuildBazelRemoteExecutionV2Digest", + "properties": { + "hash": { + "description": "The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the blob, in bytes.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Directory": { + "description": "A `Directory` represents a directory node in a file tree, containing zero or more children FileNodes, DirectoryNodes and SymlinkNodes. Each `Node` contains its name in the directory, either the digest of its content (either a file blob or a `Directory` proto) or a symlink target, as well as possibly some metadata about the file or directory. In order to ensure that two equivalent directory trees hash to the same value, the following restrictions MUST be obeyed when constructing a a `Directory`: * Every child in the directory must have a path of exactly one segment. Multiple levels of directory hierarchy may not be collapsed. * Each child in the directory must have a unique path segment (file name). Note that while the API itself is case-sensitive, the environment where the Action is executed may or may not be case-sensitive. That is, it is legal to call the API with a Directory that has both \"Foo\" and \"foo\" as children, but the Action may be rejected by the remote system upon execution. * The files, directories and symlinks in the directory must each be sorted in lexicographical order by path. The path strings must be sorted by code point, equivalently, by UTF-8 bytes. * The NodeProperties of files, directories, and symlinks must be sorted in lexicographical order by property name. A `Directory` that obeys the restrictions is said to be in canonical form. As an example, the following could be used for a file named `bar` and a directory named `foo` with an executable file named `baz` (hashes shortened for readability): ```json // (Directory proto) { files: [ { name: \"bar\", digest: { hash: \"4a73bc9d03...\", size: 65534 }, node_properties: [ { \"name\": \"MTime\", \"value\": \"2017-01-15T01:30:15.01Z\" } ] } ], directories: [ { name: \"foo\", digest: { hash: \"4cf2eda940...\", size: 43 } } ] } // (Directory proto with hash \"4cf2eda940...\" and size 43) { files: [ { name: \"baz\", digest: { hash: \"b2c941073e...\", size: 1294, }, is_executable: true } ] } ```", + "id": "BuildBazelRemoteExecutionV2Directory", + "properties": { + "directories": { + "description": "The subdirectories in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2DirectoryNode" + }, + "type": "array" + }, + "files": { + "description": "The files in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2FileNode" + }, + "type": "array" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "symlinks": { + "description": "The symlinks in the directory.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2SymlinkNode" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2DirectoryNode": { + "description": "A `DirectoryNode` represents a child of a Directory which is itself a `Directory` and its associated metadata.", + "id": "BuildBazelRemoteExecutionV2DirectoryNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Directory object represented. See Digest for information about how to take the digest of a proto message." + }, + "name": { + "description": "The name of the directory.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteOperationMetadata": { + "description": "Metadata about an ongoing execution, which will be contained in the metadata field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteOperationMetadata", + "properties": { + "actionDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the Action being executed." + }, + "stage": { + "description": "The current stage of execution.", + "enum": [ + "UNKNOWN", + "CACHE_CHECK", + "QUEUED", + "EXECUTING", + "COMPLETED" + ], + "enumDescriptions": [ + "Invalid value.", + "Checking the result against the cache.", + "Currently idle, awaiting a free machine to execute.", + "Currently being executed by a worker.", + "Finished execution." + ], + "type": "string" + }, + "stderrStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard error from the endpoint hosting streamed responses.", + "type": "string" + }, + "stdoutStreamName": { + "description": "If set, the client can use this resource name with ByteStream.Read to stream the standard output from the endpoint hosting streamed responses.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecuteResponse": { + "description": "The response message for Execution.Execute, which will be contained in the response field of the Operation.", + "id": "BuildBazelRemoteExecutionV2ExecuteResponse", + "properties": { + "cachedResult": { + "description": "True if the result was served from cache, false if it was executed.", + "type": "boolean" + }, + "message": { + "description": "Freeform informational message with details on the execution of the action that may be displayed to the user upon failure or when requested explicitly.", + "type": "string" + }, + "result": { + "$ref": "BuildBazelRemoteExecutionV2ActionResult", + "description": "The result of the action." + }, + "serverLogs": { + "additionalProperties": { + "$ref": "BuildBazelRemoteExecutionV2LogFile" + }, + "description": "An optional list of additional log outputs the server wishes to provide. A server can use this to return execution-specific logs however it wishes. This is intended primarily to make it easier for users to debug issues that may be outside of the actual job execution, such as by identifying the worker executing the action or by providing logs from the worker's setup phase. The keys SHOULD be human readable so that a client can display them to a user.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "If the status has a code other than `OK`, it indicates that the action did not finish execution. For example, if the operation times out during execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST use this field for errors in execution, rather than the error field on the `Operation` object. If the status code is other than `OK`, then the result MUST NOT be cached. For an error status, the `result` field is optional; the server may populate the output-, stdout-, and stderr-related fields if it has any information available, such as the stdout and stderr of a timed-out action." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ExecutedActionMetadata": { + "description": "ExecutedActionMetadata contains details about a completed execution.", + "id": "BuildBazelRemoteExecutionV2ExecutedActionMetadata", + "properties": { + "auxiliaryMetadata": { + "description": "Details that are specific to the kind of worker used. For example, on POSIX-like systems this could contain a message with getrusage(2) statistics.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "executionCompletedTimestamp": { + "description": "When the worker completed executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "executionStartTimestamp": { + "description": "When the worker started executing the action command.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchCompletedTimestamp": { + "description": "When the worker finished fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "inputFetchStartTimestamp": { + "description": "When the worker started fetching action inputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadCompletedTimestamp": { + "description": "When the worker finished uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "outputUploadStartTimestamp": { + "description": "When the worker started uploading action outputs.", + "format": "google-datetime", + "type": "string" + }, + "queuedTimestamp": { + "description": "When was the action added to the queue.", + "format": "google-datetime", + "type": "string" + }, + "worker": { + "description": "The name of the worker which ran the execution.", + "type": "string" + }, + "workerCompletedTimestamp": { + "description": "When the worker completed the action, including all stages.", + "format": "google-datetime", + "type": "string" + }, + "workerStartTimestamp": { + "description": "When the worker received the action.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2FileNode": { + "description": "A `FileNode` represents a single file and associated metadata.", + "id": "BuildBazelRemoteExecutionV2FileNode", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "name": { + "description": "The name of the file.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2LogFile": { + "description": "A `LogFile` is a log stored in the CAS.", + "id": "BuildBazelRemoteExecutionV2LogFile", + "properties": { + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the log contents." + }, + "humanReadable": { + "description": "This is a hint as to the purpose of the log, and is set to true if the log is human-readable text that can be usefully displayed to a user, and false otherwise. For instance, if a command-line client wishes to print the server logs to the terminal for a failed action, this allows it to avoid displaying a binary file.", + "type": "boolean" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperties": { + "description": "Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts.", + "id": "BuildBazelRemoteExecutionV2NodeProperties", + "properties": { + "mtime": { + "description": "The file's last modification timestamp.", + "format": "google-datetime", + "type": "string" + }, + "properties": { + "description": "A list of string-based NodeProperties.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperty" + }, + "type": "array" + }, + "unixMode": { + "description": "The UNIX file mode, e.g., 0755.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2NodeProperty": { + "description": "A single property for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the property `name`s that it accepts. If permitted by the server, the same `name` may occur multiple times.", + "id": "BuildBazelRemoteExecutionV2NodeProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputDirectory": { + "description": "An `OutputDirectory` is the output in an `ActionResult` corresponding to a directory's full contents rather than a single file.", + "id": "BuildBazelRemoteExecutionV2OutputDirectory", + "properties": { + "path": { + "description": "The full path of the directory relative to the working directory. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash. The empty string value is allowed, and it denotes the entire working directory.", + "type": "string" + }, + "treeDigest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the encoded Tree proto containing the directory's contents." + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputFile": { + "description": "An `OutputFile` is similar to a FileNode, but it is used as an output in an `ActionResult`. It allows a full file path rather than only a name.", + "id": "BuildBazelRemoteExecutionV2OutputFile", + "properties": { + "contents": { + "description": "The contents of the file if inlining was requested. The server SHOULD NOT inline file contents unless requested by the client in the GetActionResultRequest message. The server MAY omit inlining, even if requested, and MUST do so if inlining would cause the response to exceed message size limits.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "BuildBazelRemoteExecutionV2Digest", + "description": "The digest of the file's content." + }, + "isExecutable": { + "description": "True if file is executable, false otherwise.", + "type": "boolean" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the file relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2OutputSymlink": { + "description": "An `OutputSymlink` is similar to a Symlink, but it is used as an output in an `ActionResult`. `OutputSymlink` is binary-compatible with `SymlinkNode`.", + "id": "BuildBazelRemoteExecutionV2OutputSymlink", + "properties": { + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "path": { + "description": "The full path of the symlink relative to the working directory, including the filename. The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a leading forward slash.", + "type": "string" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Platform": { + "description": "A `Platform` is a set of requirements, such as hardware, operating system, or compiler toolchain, for an Action's execution environment. A `Platform` is represented as a series of key-value pairs representing the properties that are required of the platform.", + "id": "BuildBazelRemoteExecutionV2Platform", + "properties": { + "properties": { + "description": "The properties that make up this platform. In order to ensure that equivalent `Platform`s always hash to the same value, the properties MUST be lexicographically sorted by name, and then by value. Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2PlatformProperty" + }, + "type": "array" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2PlatformProperty": { + "description": "A single property for the environment. The server is responsible for specifying the property `name`s that it accepts. If an unknown `name` is provided in the requirements for an Action, the server SHOULD reject the execution request. If permitted by the server, the same `name` may occur multiple times. The server is also responsible for specifying the interpretation of property `value`s. For instance, a property describing how much RAM must be available may be interpreted as allowing a worker with 16GB to fulfill a request for 8GB, while a property describing the OS environment on which the action must be performed may require an exact match with the worker's OS. The server MAY use the `value` of one or more properties to determine how it sets up the execution environment, such as by making specific system files available to the worker. Both names and values are typically case-sensitive. Note that the platform is implicitly part of the action digest, so even tiny changes in the names or values (like changing case) may result in different action cache entries.", + "id": "BuildBazelRemoteExecutionV2PlatformProperty", + "properties": { + "name": { + "description": "The property name.", + "type": "string" + }, + "value": { + "description": "The property value.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2RequestMetadata": { + "description": "An optional Metadata to attach to any RPC request to tell the server about an external context of the request. The server may use this for logging or other purposes. To use it, the client attaches the header to the call using the canonical proto serialization: * name: `build.bazel.remote.execution.v2.requestmetadata-bin` * contents: the base64 encoded binary `RequestMetadata` message. Note: the gRPC library serializes binary headers encoded in base 64 by default (https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md#requests). Therefore, if the gRPC library is used to pass/retrieve this metadata, the user may ignore the base64 encoding and assume it is simply serialized as a binary message.", + "id": "BuildBazelRemoteExecutionV2RequestMetadata", + "properties": { + "actionId": { + "description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.", + "type": "string" + }, + "actionMnemonic": { + "description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.", + "type": "string" + }, + "configurationId": { + "description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.", + "type": "string" + }, + "correlatedInvocationsId": { + "description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.", + "type": "string" + }, + "targetId": { + "description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.", + "type": "string" + }, + "toolDetails": { + "$ref": "BuildBazelRemoteExecutionV2ToolDetails", + "description": "The details for the tool invoking the requests." + }, + "toolInvocationId": { + "description": "An identifier that ties multiple actions together to a final result. For example, multiple actions are required to build and run foo_test.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2SymlinkNode": { + "description": "A `SymlinkNode` represents a symbolic link.", + "id": "BuildBazelRemoteExecutionV2SymlinkNode", + "properties": { + "name": { + "description": "The name of the symlink.", + "type": "string" + }, + "nodeProperties": { + "$ref": "BuildBazelRemoteExecutionV2NodeProperties" + }, + "target": { + "description": "The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as `bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2ToolDetails": { + "description": "Details for the tool used to call the API.", + "id": "BuildBazelRemoteExecutionV2ToolDetails", + "properties": { + "toolName": { + "description": "Name of the tool, e.g. bazel.", + "type": "string" + }, + "toolVersion": { + "description": "Version of the tool used for the request, e.g. 5.0.3.", + "type": "string" + } + }, + "type": "object" + }, + "BuildBazelRemoteExecutionV2Tree": { + "description": "A `Tree` contains all the Directory protos in a single directory Merkle tree, compressed into one message.", + "id": "BuildBazelRemoteExecutionV2Tree", + "properties": { + "children": { + "description": "All the child directories: the directories referred to by the root and, recursively, all its children. In order to reconstruct the directory tree, the client must take the digests of each of the child directories and then build up a tree starting from the `root`.", + "items": { + "$ref": "BuildBazelRemoteExecutionV2Directory" + }, + "type": "array" + }, + "root": { + "$ref": "BuildBazelRemoteExecutionV2Directory", + "description": "The root directory in the tree." + } + }, + "type": "object" + }, + "GoogleBytestreamMedia": { + "description": "Media resource.", + "id": "GoogleBytestreamMedia", + "properties": { + "resourceName": { + "description": "Name of the media resource.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandDurations": { + "description": "CommandDuration contains the various duration metrics tracked when a bot performs a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandDurations", + "properties": { + "casRelease": { + "description": "The time spent to release the CAS blobs used by the task.", + "format": "google-duration", + "type": "string" + }, + "cmWaitForAssignment": { + "description": "The time spent waiting for Container Manager to assign an asynchronous container for execution.", + "format": "google-duration", + "type": "string" + }, + "dockerPrep": { + "description": "The time spent preparing the command to be run in a Docker container (includes pulling the Docker image, if necessary).", + "format": "google-duration", + "type": "string" + }, + "dockerPrepStartTime": { + "description": "The timestamp when docker preparation begins.", + "format": "google-datetime", + "type": "string" + }, + "download": { + "description": "The time spent downloading the input files and constructing the working directory.", + "format": "google-duration", + "type": "string" + }, + "downloadStartTime": { + "description": "The timestamp when downloading the input files begins.", + "format": "google-datetime", + "type": "string" + }, + "execStartTime": { + "description": "The timestamp when execution begins.", + "format": "google-datetime", + "type": "string" + }, + "execution": { + "description": "The time spent executing the command (i.e., doing useful work).", + "format": "google-duration", + "type": "string" + }, + "isoPrepDone": { + "description": "The timestamp when preparation is done and bot starts downloading files.", + "format": "google-datetime", + "type": "string" + }, + "overall": { + "description": "The time spent completing the command, in total.", + "format": "google-duration", + "type": "string" + }, + "stdout": { + "description": "The time spent uploading the stdout logs.", + "format": "google-duration", + "type": "string" + }, + "upload": { + "description": "The time spent uploading the output files.", + "format": "google-duration", + "type": "string" + }, + "uploadStartTime": { + "description": "The timestamp when uploading the output files begins.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandEvents": { + "description": "CommandEvents contains counters for the number of warnings and errors that occurred during the execution of a command.", + "id": "GoogleDevtoolsRemotebuildbotCommandEvents", + "properties": { + "cmUsage": { + "description": "Indicates if and how Container Manager is being used for task execution.", + "enum": [ + "CONFIG_NONE", + "CONFIG_MATCH", + "CONFIG_MISMATCH" + ], + "enumDescriptions": [ + "Container Manager is disabled or not running for this execution.", + "Container Manager is enabled and there was a matching container available for use during execution.", + "Container Manager is enabled, but there was no matching container available for execution." + ], + "type": "string" + }, + "dockerCacheHit": { + "description": "Indicates whether we are using a cached Docker image (true) or had to pull the Docker image (false) for this command.", + "type": "boolean" + }, + "dockerImageName": { + "description": "Docker Image name.", + "type": "string" + }, + "inputCacheMiss": { + "description": "The input cache miss ratio.", + "format": "float", + "type": "number" + }, + "numErrors": { + "description": "The number of errors reported.", + "format": "uint64", + "type": "string" + }, + "numWarnings": { + "description": "The number of warnings reported.", + "format": "uint64", + "type": "string" + }, + "outputLocation": { + "description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.", + "enum": [ + "LOCATION_UNDEFINED", + "LOCATION_NONE", + "LOCATION_EXEC_ROOT_RELATIVE", + "LOCATION_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE", + "LOCATION_EXEC_ROOT_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR", + "LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE_OUTPUT_OUTSIDE_WORKING_DIR" + ], + "enumDescriptions": [ + "Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.", + "No output files or directories were found neither relative to the execution root directory nor relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory.", + "Output files or directories were found relative to the working directory but not relative to the execution root directory.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory.", + "Output files or directories were found relative to the execution root directory but not relative to the working directory. In addition at least one output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`.", + "Output files or directories were found both relative to the execution root directory and relative to the working directory. In addition at least one exec-root-relative output file or directory was found outside of the working directory such that a working-directory-relative-path would have needed to start with a `..`." + ], + "type": "string" + }, + "usedAsyncContainer": { + "description": "Indicates whether an asynchronous container was used for execution.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotCommandStatus": { + "description": "The internal status of the command result.", + "id": "GoogleDevtoolsRemotebuildbotCommandStatus", + "properties": { + "code": { + "description": "The status code.", + "enum": [ + "OK", + "INVALID_ARGUMENT", + "DEADLINE_EXCEEDED", + "NOT_FOUND", + "PERMISSION_DENIED", + "INTERNAL", + "ABORTED", + "FAILED_PRECONDITION", + "CLEANUP_ERROR", + "DOWNLOAD_INPUTS_ERROR", + "UNKNOWN", + "UPLOAD_OUTPUTS_ERROR", + "UPLOAD_OUTPUTS_BYTES_LIMIT_EXCEEDED", + "DOCKER_LOGIN_ERROR", + "DOCKER_IMAGE_PULL_ERROR", + "DOCKER_IMAGE_EXIST_ERROR", + "DUPLICATE_INPUTS", + "DOCKER_IMAGE_PERMISSION_DENIED", + "DOCKER_IMAGE_NOT_FOUND", + "WORKING_DIR_NOT_FOUND", + "WORKING_DIR_NOT_IN_BASE_DIR", + "DOCKER_UNAVAILABLE", + "NO_CUDA_CAPABLE_DEVICE", + "REMOTE_CAS_DOWNLOAD_ERROR", + "REMOTE_CAS_UPLOAD_ERROR", + "LOCAL_CASPROXY_NOT_RUNNING", + "DOCKER_CREATE_CONTAINER_ERROR", + "DOCKER_INVALID_ULIMIT", + "DOCKER_UNKNOWN_RUNTIME", + "DOCKER_UNKNOWN_CAPABILITY", + "DOCKER_UNKNOWN_ERROR", + "DOCKER_CREATE_COMPUTE_SYSTEM_ERROR", + "DOCKER_PREPARELAYER_ERROR", + "DOCKER_INCOMPATIBLE_OS_ERROR", + "DOCKER_CREATE_RUNTIME_FILE_NOT_FOUND", + "DOCKER_CREATE_RUNTIME_PERMISSION_DENIED", + "DOCKER_CREATE_PROCESS_FILE_NOT_FOUND", + "DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR", + "DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS", + "LOCAL_CONTAINER_MANAGER_NOT_RUNNING", + "DOCKER_IMAGE_VPCSC_PERMISSION_DENIED", + "WORKING_DIR_NOT_RELATIVE", + "DOCKER_MISSING_CONTAINER" + ], + "enumDescriptions": [ + "The command succeeded.", + "The command input was invalid.", + "The command had passed its expiry time while it was still running.", + "The resources requested by the command were not found.", + "The command failed due to permission errors.", + "The command failed because of some invariants expected by the underlying system have been broken. This usually indicates a bug wit the system.", + "The command was aborted.", + "The command failed because the system is not in a state required for the command, e.g. the command inputs cannot be found on the server.", + "The bot failed to do the cleanup, e.g. unable to delete the command working directory or the command process.", + "The bot failed to download the inputs.", + "Unknown error.", + "The bot failed to upload the outputs.", + "The bot tried to upload files having a total size that is too large.", + "The bot failed to login to docker.", + "The bot failed to pull docker image.", + "The bot failed to check docker images.", + "The inputs contain duplicate files.", + "The bot doesn't have the permissions to pull docker images.", + "The docker image cannot be found.", + "Working directory is not found.", + "Working directory is not under the base directory", + "There are issues with docker service/runtime.", + "The command failed with \"no cuda-capable device is detected\" error.", + "The bot encountered errors from remote CAS when downloading blobs.", + "The bot encountered errors from remote CAS when uploading blobs.", + "The local casproxy is not running.", + "The bot couldn't start the container.", + "The docker ulimit is not valid.", + "The docker runtime is unknown.", + "The docker capability is unknown.", + "The command failed with unknown docker errors.", + "Docker failed to run containers with CreateComputeSystem error.", + "Docker failed to run containers with hcsshim::PrepareLayer error.", + "Docker incompatible operating system error.", + "Docker failed to create OCI runtime because of file not found.", + "Docker failed to create OCI runtime because of permission denied.", + "Docker failed to create process because of file not found.", + "Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).", + "Docker failed to create an overlay mount because of too many levels of symbolic links.", + "The local Container Manager is not running.", + "Docker failed because a request was denied by the organization's policy.", + "Working directory is not relative", + "Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run." + ], + "type": "string" + }, + "message": { + "description": "The error message.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsage": { + "description": "ResourceUsage is the system resource usage of the host machine.", + "id": "GoogleDevtoolsRemotebuildbotResourceUsage", + "properties": { + "cpuUsedPercent": { + "format": "double", + "type": "number" + }, + "diskUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "memoryUsage": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat" + }, + "totalDiskIoStats": { + "$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageIOStats": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats", + "properties": { + "readBytesCount": { + "format": "uint64", + "type": "string" + }, + "readCount": { + "format": "uint64", + "type": "string" + }, + "readTimeMs": { + "format": "uint64", + "type": "string" + }, + "writeBytesCount": { + "format": "uint64", + "type": "string" + }, + "writeCount": { + "format": "uint64", + "type": "string" + }, + "writeTimeMs": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildbotResourceUsageStat": { + "id": "GoogleDevtoolsRemotebuildbotResourceUsageStat", + "properties": { + "total": { + "format": "uint64", + "type": "string" + }, + "used": { + "format": "uint64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig": { + "description": "AcceleratorConfig defines the accelerator cards to attach to the VM.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "properties": { + "acceleratorCount": { + "description": "The number of guest accelerator cards exposed to each VM.", + "format": "int64", + "type": "string" + }, + "acceleratorType": { + "description": "The type of accelerator to attach to each VM, e.g. \"nvidia-tesla-k80\" for nVidia Tesla K80.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale": { + "description": "Autoscale defines the autoscaling policy of a worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "properties": { + "maxSize": { + "description": "The maximal number of workers. Must be equal to or greater than min_size.", + "format": "int64", + "type": "string" + }, + "minSize": { + "description": "The minimal number of workers. Must be greater than 0.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest": { + "description": "The request used for `CreateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to create. The name in the instance, if specified in the instance, is ignored." + }, + "instanceId": { + "description": "ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "parent": { + "description": "Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest": { + "description": "The request used for `CreateWorkerPool`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest", + "properties": { + "parent": { + "description": "Resource name of the instance in which to create the new worker pool. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "poolId": { + "description": "ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to create. The name in the worker pool, if specified, is ignored." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest": { + "description": "The request used for `DeleteInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest": { + "description": "The request used for DeleteWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to delete. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy": { + "description": "FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "properties": { + "containerImageSources": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ \"gcr.io/project-foo\", \"gcr.io/project-bar/repo-baz\", ] } will allow any repositories under \"gcr.io/project-foo\" plus the repository \"gcr.io/project-bar/repo-baz\". Default (UNSPECIFIED) is equivalent to any source is allowed." + }, + "dockerAddCapabilities": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerAddCapabilities can be used or what capabilities are allowed." + }, + "dockerChrootPath": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerChrootPath can be used." + }, + "dockerNetwork": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow `off` value only via `allowed_values`." + }, + "dockerPrivileged": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerPrivileged can be used." + }, + "dockerRunAsRoot": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRunAsRoot can be used." + }, + "dockerRuntime": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation." + }, + "dockerSiblingContainers": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "description": "Whether dockerSiblingContainers can be used." + }, + "linuxIsolation": { + "description": "linux_isolation allows overriding the docker runtime used for containers started on Linux.", + "enum": [ + "LINUX_ISOLATION_UNSPECIFIED", + "GVISOR", + "OFF" + ], + "enumDescriptions": [ + "Default value. Will be using Linux default runtime.", + "Use gVisor runsc runtime.", + "Use stardard Linux runtime. This has the same behaviour as unspecified, but it can be used to revert back from gVisor." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature": { + "description": "Defines whether a feature can be used or what values are accepted.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature", + "properties": { + "allowedValues": { + "description": "A list of acceptable values. Only effective when the policy is `RESTRICTED`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "policy": { + "description": "The policy of the feature.", + "enum": [ + "POLICY_UNSPECIFIED", + "ALLOWED", + "FORBIDDEN", + "RESTRICTED" + ], + "enumDescriptions": [ + "Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.", + "Feature is explicitly allowed.", + "Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: \"Feature forbidden by FeaturePolicy: Feature on instance \"", + "Only the values specified in the `allowed_values` are allowed." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest": { + "description": "The request used for `GetInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest", + "properties": { + "name": { + "description": "Name of the instance to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest": { + "description": "The request used for GetWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest", + "properties": { + "name": { + "description": "Name of the worker pool to retrieve. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance": { + "description": "Instance conceptually encapsulates all Remote Build Execution resources for remote builds. An instance consists of storage and compute resources (for example, `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for running remote builds. All Remote Build Execution API calls are scoped to an instance.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "properties": { + "featurePolicy": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy", + "description": "The policy to define whether or not RBE features can be used or how they can be used." + }, + "location": { + "description": "The location is a GCP region. Currently only `us-central1` is supported.", + "type": "string" + }, + "loggingEnabled": { + "description": "Output only. Whether stack driver logging is enabled for the instance.", + "type": "boolean" + }, + "name": { + "description": "Output only. Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the instance.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The instance is in state `CREATING` once `CreateInstance` is called and before the instance is ready for use.", + "The instance is in state `RUNNING` when it is ready for use.", + "An `INACTIVE` instance indicates that there is a problem that needs to be fixed. Such instances cannot be used for execution and instances that remain in this state for a significant period of time will be removed permanently." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesRequest", + "properties": { + "parent": { + "description": "Resource name of the project. Format: `projects/[PROJECT_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListInstancesResponse", + "properties": { + "instances": { + "description": "The list of instances in a given project.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest", + "properties": { + "filter": { + "description": "Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either `:`, `=`, `!=`, `>`, `>=`, `<=` or `<`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using `AND` and `OR` operators, using parentheses to specify precedence. If neither operator is specified, `AND` is assumed. Examples: Include only pools with more than 100 reserved workers: `(worker_count > 100) (worker_config.reserved = true)` Include only pools with a certain label or machines of the e2-standard family: `worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard`", + "type": "string" + }, + "parent": { + "description": "Resource name of the instance. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse": { + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsResponse", + "properties": { + "workerPools": { + "description": "The list of worker pools in a given instance.", + "items": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest": { + "description": "The request used for `UpdateInstance`.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest", + "properties": { + "instance": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance", + "description": "Specifies the instance to update." + }, + "loggingEnabled": { + "description": "Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.", + "type": "boolean" + }, + "name": { + "description": "Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.", + "type": "string" + }, + "updateMask": { + "description": "The update mask applies to instance. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest": { + "description": "The request used for UpdateWorkerPool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest", + "properties": { + "updateMask": { + "description": "The update mask applies to worker_pool. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided.", + "format": "google-fieldmask", + "type": "string" + }, + "workerPool": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "description": "Specifies the worker pool to update." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig": { + "description": "Defines the configuration to be used for creating workers in the worker pool.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "properties": { + "accelerator": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig", + "description": "The accelerator card attached to each VM." + }, + "diskSizeGb": { + "description": "Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/", + "format": "int64", + "type": "string" + }, + "diskType": { + "description": "Required. Disk Type to use for the worker. See [Storage options](https://cloud.google.com/compute/docs/disks/#introduction). Currently only `pd-standard` and `pd-ssd` are supported.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.", + "type": "object" + }, + "machineType": { + "description": "Required. Machine type of the worker, such as `e2-standard-2`. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that `f1-micro` and `g1-small` are not yet supported.", + "type": "string" + }, + "maxConcurrentActions": { + "description": "The maximum number of actions a worker can execute concurrently.", + "format": "int64", + "type": "string" + }, + "minCpuPlatform": { + "description": "Minimum CPU platform to use when creating the worker. See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).", + "type": "string" + }, + "networkAccess": { + "description": "Determines the type of network access granted to workers. Possible values: - \"public\": Workers can connect to the public internet. - \"private\": Workers can only connect to Google APIs and services. - \"restricted-private\": Workers can only connect to Google APIs that are reachable through `restricted.googleapis.com` (`199.36.153.4/30`).", + "type": "string" + }, + "reserved": { + "description": "Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more details.", + "type": "boolean" + }, + "soleTenantNodeType": { + "description": "The node type name to be used for sole-tenant nodes.", + "type": "string" + }, + "vmImage": { + "description": "The name of the image used by each VM.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": { + "description": "A worker pool resource in the Remote Build Execution API.", + "id": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool", + "properties": { + "autoscale": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale", + "description": "The autoscale policy to apply on a pool." + }, + "channel": { + "description": "Channel specifies the release channel of the pool.", + "type": "string" + }, + "name": { + "description": "WorkerPool resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`. name should not be populated when creating a worker pool since it is provided in the `poolId` field.", + "type": "string" + }, + "state": { + "description": "Output only. State of the worker pool.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "RUNNING", + "UPDATING", + "DELETING", + "INACTIVE" + ], + "enumDescriptions": [ + "Not a valid state, but the default value of the enum.", + "The worker pool is in state `CREATING` once `CreateWorkerPool` is called and before all requested workers are ready.", + "The worker pool is in state `RUNNING` when all its workers are ready for use.", + "The worker pool is in state `UPDATING` once `UpdateWorkerPool` is called and before the new configuration has all the requested workers ready for use, and no older configuration has any workers. At that point the state transitions to `RUNNING`.", + "The worker pool is in state `DELETING` once the `Delete` method is called and before the deletion completes.", + "The worker pool is in state `INACTIVE` when the instance hosting the worker pool in not running." + ], + "type": "string" + }, + "workerConfig": { + "$ref": "GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig", + "description": "Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool." + }, + "workerCount": { + "description": "The desired number of workers in the worker pool. Must be a value between 0 and 15000.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2AdminTemp": { + "description": "AdminTemp is a prelimiary set of administration tasks. It's called \"Temp\" because we do not yet know the best way to represent admin tasks; it's possible that this will be entirely replaced in later versions of this API. If this message proves to be sufficient, it will be renamed in the alpha or beta release of this API. This message (suitably marshalled into a protobuf.Any) can be used as the inline_assignment field in a lease; the lease assignment field should simply be `\"admin\"` in these cases. This message is heavily based on Swarming administration tasks from the LUCI project (http://github.com/luci/luci-py/appengine/swarming).", + "id": "GoogleDevtoolsRemoteworkersV1test2AdminTemp", + "properties": { + "arg": { + "description": "The argument to the admin action; see `Command` for semantics.", + "type": "string" + }, + "command": { + "description": "The admin action; see `Command` for legal values.", + "enum": [ + "UNSPECIFIED", + "BOT_UPDATE", + "BOT_RESTART", + "BOT_TERMINATE", + "HOST_RESTART" + ], + "enumDescriptions": [ + "Illegal value.", + "Download and run a new version of the bot. `arg` will be a resource accessible via `ByteStream.Read` to obtain the new bot code.", + "Restart the bot without downloading a new version. `arg` will be a message to log.", + "Shut down the bot. `arg` will be a task resource name (similar to those in tasks.proto) that the bot can use to tell the server that it is terminating.", + "Restart the host computer. `arg` will be a message to log." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Blob": { + "description": "Describes a blob of binary content with its digest.", + "id": "GoogleDevtoolsRemoteworkersV1test2Blob", + "properties": { + "contents": { + "description": "The contents of the blob.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The digest of the blob. This should be verified by the receiver." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOutputs": { + "description": "DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOutputs", + "properties": { + "exitCode": { + "description": "exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK.", + "format": "int32", + "type": "integer" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandOverhead": { + "description": "DEPRECATED - use CommandResult instead. Can be used as part of CompleteRequest.metadata, or are part of a more sophisticated message.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandOverhead", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandResult": { + "description": "All information about the execution of a command, suitable for providing as the Bots interface's `Lease.result` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandResult", + "properties": { + "duration": { + "description": "The elapsed time between calling Accept and Complete. The server will also have its own idea of what this should be, but this excludes the overhead of the RPCs and the bot response time.", + "format": "google-duration", + "type": "string" + }, + "exitCode": { + "description": "The exit code of the process. An exit code of \"0\" should only be trusted if `status` has a code of OK (otherwise it may simply be unset).", + "format": "int32", + "type": "integer" + }, + "metadata": { + "description": "Implementation-dependent metadata about the task. Both servers and bots may define messages which can be encoded here; bots are free to provide metadata in multiple formats, and servers are free to choose one or more of the values to process and ignore others. In particular, it is *not* considered an error for the bot to provide the server with a field that it doesn't know about.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "outputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "The output files. The blob referenced by the digest should contain one of the following (implementation-dependent): * A marshalled DirectoryMetadata of the returned filesystem * A LUCI-style .isolated file" + }, + "overhead": { + "description": "The amount of time *not* spent executing the command (ie uploading/downloading files).", + "format": "google-duration", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "An overall status for the command. For example, if the command timed out, this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for memory exhaustion, it might have a code of RESOURCE_EXHAUSTED." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTask": { + "description": "Describes a shell-style task to execute, suitable for providing as the Bots interface's `Lease.payload` field.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTask", + "properties": { + "expectedOutputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "description": "The expected outputs from the task." + }, + "inputs": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "description": "The inputs to the task." + }, + "timeouts": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "description": "The timeouts of this task." + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs": { + "description": "Describes the inputs to a shell-style task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs", + "properties": { + "arguments": { + "description": "The command itself to run (e.g., argv). This field should be passed directly to the underlying operating system, and so it must be sensible to that operating system. For example, on Windows, the first argument might be \"C:\\Windows\\System32\\ping.exe\" - that is, using drive letters and backslashes. A command for a *nix system, on the other hand, would use forward slashes. All other fields in the RWAPI must consistently use forward slashes, since those fields may be interpretted by both the service and the bot.", + "items": { + "type": "string" + }, + "type": "array" + }, + "environmentVariables": { + "description": "All environment variables required by the task.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable" + }, + "type": "array" + }, + "files": { + "description": "The input filesystem to be set up prior to the task beginning. The contents should be a repeated set of FileMetadata messages though other formats are allowed if better for the implementation (eg, a LUCI-style .isolated file). This field is repeated since implementations might want to cache the metadata, in which case it may be useful to break up portions of the filesystem that change frequently (eg, specific input files) from those that don't (eg, standard header files).", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest" + }, + "type": "array" + }, + "inlineBlobs": { + "description": "Inline contents for blobs expected to be needed by the bot to execute the task. For example, contents of entries in `files` or blobs that are indirectly referenced by an entry there. The bot should check against this list before downloading required task inputs to reduce the number of communications between itself and the remote CAS server.", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Blob" + }, + "type": "array" + }, + "workingDirectory": { + "description": "Directory from which a command is executed. It is a relative directory with respect to the bot's working directory (i.e., \"./\"). If it is non-empty, then it must exist under \"./\". Otherwise, \"./\" will be used.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable": { + "description": "An environment variable required by this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable", + "properties": { + "name": { + "description": "The envvar name.", + "type": "string" + }, + "value": { + "description": "The envvar value.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs": { + "description": "Describes the expected outputs of the command.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs", + "properties": { + "directories": { + "description": "A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "files": { + "description": "A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "stderrDestination": { + "description": "The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + }, + "stdoutDestination": { + "description": "The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the `files` field in this message, or it could be a URI that must be written via the ByteStream API.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts": { + "description": "Describes the timeouts associated with this task.", + "id": "GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts", + "properties": { + "execution": { + "description": "This specifies the maximum time that the task can run, excluding the time required to download inputs or upload outputs. That is, the worker will terminate the task if it runs longer than this.", + "format": "google-duration", + "type": "string" + }, + "idle": { + "description": "This specifies the maximum amount of time the task can be idle - that is, go without generating some output in either stdout or stderr. If the process is silent for more than the specified time, the worker will terminate the task.", + "format": "google-duration", + "type": "string" + }, + "shutdown": { + "description": "If the execution or IO timeouts are exceeded, the worker will try to gracefully terminate the task and return any existing logs. However, tasks may be hard-frozen in which case this process will fail. This timeout specifies how long to wait for a terminated task to shut down gracefully (e.g. via SIGTERM) before we bring down the hammer (e.g. SIGKILL on *nix, CTRL_BREAK_EVENT on Windows).", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Digest": { + "description": "The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a \"digest.\" The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's \"ContentAddressibleStorage\" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message.", + "id": "GoogleDevtoolsRemoteworkersV1test2Digest", + "properties": { + "hash": { + "description": "A string-encoded hash (eg \"1a2b3c\", not the byte array [0x1a, 0x2b, 0x3c]) using an implementation-defined hash algorithm (eg SHA-256).", + "type": "string" + }, + "sizeBytes": { + "description": "The size of the contents. While this is not strictly required as part of an identifier (after all, any given hash will have exactly one canonical size), it's useful in almost all cases when one might want to send or retrieve blobs of content and is included here for this reason.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2Directory": { + "description": "The contents of a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2Directory", + "properties": { + "directories": { + "description": "Any subdirectories", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata" + }, + "type": "array" + }, + "files": { + "description": "The files in this directory", + "items": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2FileMetadata" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata": { + "description": "The metadata for a directory. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2DirectoryMetadata", + "properties": { + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the directory, in the form of a marshalled Directory message." + }, + "path": { + "description": "The path of the directory, as in FileMetadata.path.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleDevtoolsRemoteworkersV1test2FileMetadata": { + "description": "The metadata for a file. Similar to the equivalent message in the Remote Execution API.", + "id": "GoogleDevtoolsRemoteworkersV1test2FileMetadata", + "properties": { + "contents": { + "description": "If the file is small enough, its contents may also or alternatively be listed here.", + "format": "byte", + "type": "string" + }, + "digest": { + "$ref": "GoogleDevtoolsRemoteworkersV1test2Digest", + "description": "A pointer to the contents of the file. The method by which a client retrieves the contents from a CAS system is not defined here." + }, + "isExecutable": { + "description": "Properties of the file", + "type": "boolean" + }, + "path": { + "description": "The path of this file. If this message is part of the CommandOutputs.outputs fields, the path is relative to the execution root and must correspond to an entry in CommandTask.outputs.files. If this message is part of a Directory message, then the path is relative to the root of that directory. All paths MUST be delimited by forward slashes.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleLongrunningCancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "GoogleLongrunningCancelOperationRequest", + "properties": {}, + "type": "object" + }, + "GoogleLongrunningListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "GoogleLongrunningListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "GoogleLongrunningOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleLongrunningOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "GoogleLongrunningOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "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); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "GoogleProtobufEmpty", + "properties": {}, + "type": "object" + }, + "GoogleRpcStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "GoogleRpcStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Remote Build Execution API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2alpha.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2alpha.json new file mode 100644 index 0000000000000000000000000000000000000000..410cb06d44c715622a058075669d2cfe3665dea2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/retail.v2alpha.json @@ -0,0 +1,9523 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://retail.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Cloud Retail", +"description": "Vertex AI Search for commerce API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/recommendations", +"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": "retail:v2alpha", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://retail.mtls.googleapis.com/", +"name": "retail", +"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": { +"methods": { +"enrollSolution": { +"description": "The method enrolls a solution of type Retail Search into a project. The Recommendations AI solution type is enrolled by default when your project enables Retail API, so you don't need to call the enrollSolution method for recommendations.", +"flatPath": "v2alpha/projects/{projectsId}:enrollSolution", +"httpMethod": "POST", +"id": "retail.projects.enrollSolution", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Required. Full resource name of parent. Format: `projects/{project_number_or_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+project}:enrollSolution", +"request": { +"$ref": "GoogleCloudRetailV2alphaEnrollSolutionRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAlertConfig": { +"description": "Get the AlertConfig of the requested project.", +"flatPath": "v2alpha/projects/{projectsId}/alertConfig", +"httpMethod": "GET", +"id": "retail.projects.getAlertConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full AlertConfig resource name. Format: projects/{project_number}/alertConfig", +"location": "path", +"pattern": "^projects/[^/]+/alertConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaAlertConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getLoggingConfig": { +"description": "Gets the LoggingConfig of the requested project.", +"flatPath": "v2alpha/projects/{projectsId}/loggingConfig", +"httpMethod": "GET", +"id": "retail.projects.getLoggingConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig", +"location": "path", +"pattern": "^projects/[^/]+/loggingConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getRetailProject": { +"description": "Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the Retail API service.", +"flatPath": "v2alpha/projects/{projectsId}/retailProject", +"httpMethod": "GET", +"id": "retail.projects.getRetailProject", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of the project. Format: `projects/{project_number_or_id}/retailProject`", +"location": "path", +"pattern": "^projects/[^/]+/retailProject$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaProject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listEnrolledSolutions": { +"description": "Lists all the retail API solutions the project has enrolled.", +"flatPath": "v2alpha/projects/{projectsId}:enrolledSolutions", +"httpMethod": "GET", +"id": "retail.projects.listEnrolledSolutions", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project_number_or_id}`", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}:enrolledSolutions", +"response": { +"$ref": "GoogleCloudRetailV2alphaListEnrolledSolutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAlertConfig": { +"description": "Update the alert config of the requested project.", +"flatPath": "v2alpha/projects/{projectsId}/alertConfig", +"httpMethod": "PATCH", +"id": "retail.projects.updateAlertConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig", +"location": "path", +"pattern": "^projects/[^/]+/alertConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaAlertConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaAlertConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateLoggingConfig": { +"description": "Updates the LoggingConfig of the requested project.", +"flatPath": "v2alpha/projects/{projectsId}/loggingConfig", +"httpMethod": "PATCH", +"id": "retail.projects.updateLoggingConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The name of the LoggingConfig singleton resource. Format: projects/*/loggingConfig", +"location": "path", +"pattern": "^projects/[^/]+/loggingConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields: * LoggingConfig.default_log_generation_rule * LoggingConfig.service_log_generation_rules If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"locations": { +"resources": { +"catalogs": { +"methods": { +"completeQuery": { +"description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.completeQuery", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"dataset": { +"description": "Determines which dataset to use for fetching completion. \"user-data\" will use the dataset imported through CompletionService.ImportCompletionData. `cloud-retail` will use the dataset generated by Cloud Retail based on user events. If left empty, completions will be fetched from the `user-data` dataset. Current supported values: * user-data * cloud-retail: This option requires enabling auto-learning function first. See [guidelines](https://cloud.google.com/retail/docs/completion-overview#generated-completion-dataset).", +"location": "query", +"type": "string" +}, +"deviceType": { +"description": "The device type context for completion suggestions. We recommend that you leave this field empty. It can apply different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.", +"location": "query", +"type": "string" +}, +"enableAttributeSuggestions": { +"description": "If true, attribute suggestions are enabled and provided in the response. This field is only available for the `cloud-retail` dataset.", +"location": "query", +"type": "boolean" +}, +"entity": { +"description": "The entity for customers who run multiple entities, domains, sites, or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it must be an exact match with UserEvent.entity to get per-entity autocomplete results. This field will be applied to `completion_results` only. It has no effect on the `attribute_results`. Also, this entity should be limited to 256 characters, if too long, it will be truncated to 256 characters in both generation and serving time, and may lead to mis-match. To ensure it works, please set the entity with string within 256 characters.", +"location": "query", +"type": "string" +}, +"languageCodes": { +"description": "Note that this field applies for `user-data` dataset only. For requests with `cloud-retail` dataset, setting this field has no effect. The language filters applied to the output suggestions. If set, it should contain the language of the query. If not set, suggestions are returned without considering language restrictions. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of language codes is 3.", +"location": "query", +"repeated": true, +"type": "string" +}, +"maxSuggestions": { +"description": "Completion max suggestions. If left unset or set to 0, then will fallback to the configured value CompletionConfig.max_suggestions. The maximum allowed max suggestions is 20. If it is set higher, it will be capped by 20.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"query": { +"description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.", +"location": "query", +"type": "string" +}, +"visitorId": { +"description": "Recommended field. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+catalog}:completeQuery", +"response": { +"$ref": "GoogleCloudRetailV2alphaCompleteQueryResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"exportAnalyticsMetrics": { +"description": "Exports analytics metrics. `Operation.response` is of type `ExportAnalyticsMetricsResponse`. `Operation.metadata` is of type `ExportMetadata`.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:exportAnalyticsMetrics", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.exportAnalyticsMetrics", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Full resource name of the parent catalog. Expected format: `projects/*/locations/*/catalogs/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+catalog}:exportAnalyticsMetrics", +"request": { +"$ref": "GoogleCloudRetailV2alphaExportAnalyticsMetricsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getAttributesConfig": { +"description": "Gets an AttributesConfig.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getAttributesConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getCompletionConfig": { +"description": "Gets a CompletionConfig.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getCompletionConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full CompletionConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/completionConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/completionConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaCompletionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getConversationalSearchCustomizationConfig": { +"description": "Returns the conversational search customization config for a given catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/conversationalSearchCustomizationConfig", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getConversationalSearchCustomizationConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}/conversationalSearchCustomizationConfig", +"response": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getDefaultBranch": { +"description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getDefaultBranch", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+catalog}:getDefaultBranch", +"response": { +"$ref": "GoogleCloudRetailV2alphaGetDefaultBranchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getGenerativeQuestionFeature": { +"description": "Manages overal generative question feature state -- enables toggling feature on and off.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestionFeature", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.getGenerativeQuestionFeature", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+catalog}/generativeQuestionFeature", +"response": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the Catalogs associated with the project.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of Catalogs to return. If unspecified, defaults to 50. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListCatalogsResponse.next_page_token, received from a previous CatalogService.ListCatalogs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CatalogService.ListCatalogs must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The account resource name with an associated location. If the caller does not have permission to list Catalogs under this location, regardless of whether or not this location exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/catalogs", +"response": { +"$ref": "GoogleCloudRetailV2alphaListCatalogsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates the Catalogs.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The fully qualified resource name of the catalog.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaCatalog" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaCatalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setDefaultBranch": { +"description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.setDefaultBranch", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+catalog}:setDefaultBranch", +"request": { +"$ref": "GoogleCloudRetailV2alphaSetDefaultBranchRequest" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateAttributesConfig": { +"description": "Updates the AttributesConfig. The catalog attributes in the request will be updated in the catalog, or inserted if they do not exist. Existing catalog attributes not included in the request will remain unchanged. Attributes that are assigned to products, but do not exist at the catalog level, are always included in the response. The product attribute is assigned default values for missing catalog attribute fields, e.g., searchable and dynamic facetable options.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateAttributesConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateCompletionConfig": { +"description": "Updates the CompletionConfigs.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateCompletionConfig", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/completionConfig$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided CompletionConfig to update. The following are the only supported fields: * CompletionConfig.matching_order * CompletionConfig.max_suggestions * CompletionConfig.min_prefix_length * CompletionConfig.auto_learning If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaCompletionConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaCompletionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateConversationalSearchCustomizationConfig": { +"description": "Updates the conversational search customization config for a given catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/conversationalSearchCustomizationConfig", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateConversationalSearchCustomizationConfig", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided ConversationalSearchCustomizationConfig to update. If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+catalog}/conversationalSearchCustomizationConfig", +"request": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateGenerativeQuestion": { +"description": "Allows management of individual questions.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestion", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateGenerativeQuestion", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+catalog}/generativeQuestion", +"request": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateGenerativeQuestionFeature": { +"description": "Manages overal generative question feature state -- enables toggling feature on and off.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestionFeature", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.updateGenerativeQuestionFeature", +"parameterOrder": [ +"catalog" +], +"parameters": { +"catalog": { +"description": "Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionsFeatureConfig to update. If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+catalog}/generativeQuestionFeature", +"request": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"attributesConfig": { +"methods": { +"addCatalogAttribute": { +"description": "Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:addCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.addCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+attributesConfig}:addCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2alphaAddCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"batchRemoveCatalogAttributes": { +"description": "Removes all specified CatalogAttributes from the AttributesConfig.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:batchRemoveCatalogAttributes", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.batchRemoveCatalogAttributes", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+attributesConfig}:batchRemoveCatalogAttributes", +"request": { +"$ref": "GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeCatalogAttribute": { +"description": "Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:removeCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.removeCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+attributesConfig}:removeCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"replaceCatalogAttribute": { +"description": "Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/attributesConfig:replaceCatalogAttribute", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.attributesConfig.replaceCatalogAttribute", +"parameterOrder": [ +"attributesConfig" +], +"parameters": { +"attributesConfig": { +"description": "Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/attributesConfig$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+attributesConfig}:replaceCatalogAttribute", +"request": { +"$ref": "GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaAttributesConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"branches": { +"methods": { +"get": { +"description": "Retrieves a Branch.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the branch to retrieve. Format: `projects/*/locations/global/catalogs/default_catalog/branches/some_branch_id`. \"default_branch\" can be used as a special branch_id, it returns the default branch that has been set for the catalog.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to apply to the returned Branch. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of Branch to find what fields are excluded from BASIC view.", +"enum": [ +"BRANCH_VIEW_UNSPECIFIED", +"BRANCH_VIEW_BASIC", +"BRANCH_VIEW_FULL" +], +"enumDescriptions": [ +"The value when it's unspecified. This defaults to the BASIC view.", +"Includes basic metadata about the branch, but not statistical fields. See documentation of fields of Branch to find what fields are excluded from BASIC view.", +"Includes all fields of a Branch." +], +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaBranch" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all instances of Branch under the specified parent Catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "The view to apply to the returned Branch. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of Branch to find what fields are excluded from BASIC view.", +"enum": [ +"BRANCH_VIEW_UNSPECIFIED", +"BRANCH_VIEW_BASIC", +"BRANCH_VIEW_FULL" +], +"enumDescriptions": [ +"The value when it's unspecified. This defaults to the BASIC view.", +"Includes basic metadata about the branch, but not statistical fields. See documentation of fields of Branch to find what fields are excluded from BASIC view.", +"Includes all fields of a Branch." +], +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+parent}/branches", +"response": { +"$ref": "GoogleCloudRetailV2alphaListBranchesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"places": { +"resources": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/places/{placesId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.places.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/places/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"products": { +"methods": { +"addFulfillmentPlaces": { +"description": "We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+product}:addFulfillmentPlaces", +"request": { +"$ref": "GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"addLocalInventories": { +"description": "Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be modified using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addLocalInventories", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.addLocalInventories", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+product}:addLocalInventories", +"request": { +"$ref": "GoogleCloudRetailV2alphaAddLocalInventoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a Product.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"productId": { +"description": "Required. The ID to use for the Product, which will become the final component of the Product.name. If the caller does not have permission to create the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Products with the same parent. Otherwise, an ALREADY_EXISTS error is returned. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+parent}/products", +"request": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Product.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.branches.products.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "This value only applies to the case when the target product is of type PRIMARY. When deleting a product of VARIANT/COLLECTION type, this value will be ignored. When set to true, the subsequent variant products will be deleted. When set to false, if the primary product has active variant products, an error will be returned.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to delete the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to delete does not exist, a NOT_FOUND error is returned. The Product to delete can neither be a Product.Type.COLLECTION Product member nor a Product.Type.PRIMARY Product with more than one variants. Otherwise, an INVALID_ARGUMENT error is returned. All inventory information for the named Product will be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports multiple Products.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:export", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of a Branch, and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/products:export", +"request": { +"$ref": "GoogleCloudRetailV2alphaExportProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Product.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.products.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Product does not exist, a NOT_FOUND error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch` If no updateMask is specified, requires products.create permission. If updateMask is specified, requires products.update permission.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/products:import", +"request": { +"$ref": "GoogleCloudRetailV2alphaImportProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Gets a list of Products.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.branches.products.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +}, +"readMask": { +"description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"requireTotalSize": { +"description": "If true and page_token is empty, ListProductsResponse.total_size is set to the total count of matched items irrespective of pagination. Notice that setting this field to true affects the performance.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2alpha/{+parent}/products", +"response": { +"$ref": "GoogleCloudRetailV2alphaListProductsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Product.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.branches.products.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"allowMissing": { +"description": "If set to true, and the Product is not found, a new Product will be created. In this situation, `update_mask` is ignored.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Product to update. The immutable and output only fields are NOT supported. If not set, all supported fields (the fields that are neither immutable nor output only) are updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. The attribute key can be updated by setting the mask path as \"attributes.${key_name}\". If a key name is present in the mask but not in the patching product from the request, this key will be deleted after the update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Permanently deletes all selected Products under a branch. This process is asynchronous. If the request is valid, the removal will be enqueued and processed offline. Depending on the number of Products, this operation could take hours to complete. Before the operation completes, some Products may still be returned by ProductService.GetProduct or ProductService.ListProducts. Depending on the number of Products, this operation could take hours to complete. To get a sample of Products that would be deleted, set PurgeProductsRequest.force to false.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products:purge", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the branch under which the products are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}/branches/${branchId}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/products:purge", +"request": { +"$ref": "GoogleCloudRetailV2alphaPurgeProductsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeFulfillmentPlaces": { +"description": "We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+product}:removeFulfillmentPlaces", +"request": { +"$ref": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeLocalInventories": { +"description": "Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeLocalInventories", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.removeLocalInventories", +"parameterOrder": [ +"product" +], +"parameters": { +"product": { +"description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+product}:removeLocalInventories", +"request": { +"$ref": "GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setInventory": { +"description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update is enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. When inventory is updated with ProductService.CreateProduct and ProductService.UpdateProduct, the specified inventory field value(s) overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update times for the specified inventory fields are overwritten by the times of the ProductService.CreateProduct or ProductService.UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product is used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information is preserved. Pre-existing inventory information can only be updated with ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and ProductService.RemoveFulfillmentPlaces. The returned Operations is obsolete after one day, and the GetOperation API returns `NOT_FOUND` afterwards. If conflicting updates are issued, the Operations associated with the stale updates are not marked as done until they are obsolete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.branches.products.setInventory", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}:setInventory", +"request": { +"$ref": "GoogleCloudRetailV2alphaSetInventoryRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"completionData": { +"methods": { +"import": { +"description": "Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.completionData.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/completionData:import", +"request": { +"$ref": "GoogleCloudRetailV2alphaImportCompletionDataRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"controls": { +"methods": { +"create": { +"description": "Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.controls.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"controlId": { +"description": "Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Full resource name of parent catalog. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/controls", +"request": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.controls.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a Control.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.controls.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/controls/{control_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all Controls by their parent Catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.controls.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List controls that are used in a single ServingConfig: 'serving_config = \"boosted_home_page_cvr\"'", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/controls", +"response": { +"$ref": "GoogleCloudRetailV2alphaListControlsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/controls/{controlsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.controls.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/controls/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"generativeQuestion": { +"methods": { +"batchUpdate": { +"description": "Allows management of multiple questions.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestion:batchUpdate", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.generativeQuestion.batchUpdate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Optional. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/generativeQuestion:batchUpdate", +"request": { +"$ref": "GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"generativeQuestions": { +"methods": { +"list": { +"description": "Returns all questions for a given catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/generativeQuestions", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.generativeQuestions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/generativeQuestions", +"response": { +"$ref": "GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"merchantCenterAccountLinks": { +"methods": { +"create": { +"description": "Creates a MerchantCenterAccountLink.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/merchantCenterAccountLinks", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.merchantCenterAccountLinks.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The branch resource where this MerchantCenterAccountLink will be created. Format: `projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/merchantCenterAccountLinks", +"request": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterAccountLink" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to delete does not exist, a NOT_FOUND error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/merchantCenterAccountLinks/{merchantCenterAccountLinksId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.merchantCenterAccountLinks.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Full resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/merchantCenterAccountLinks/{merchant_center_account_link_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/merchantCenterAccountLinks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all MerchantCenterAccountLinks under the specified parent Catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/merchantCenterAccountLinks", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.merchantCenterAccountLinks.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent Catalog of the resource. It must match this format: `projects/{PROJECT_NUMBER}/locations/global/catalogs/{CATALOG_ID}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/merchantCenterAccountLinks", +"response": { +"$ref": "GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"models": { +"methods": { +"create": { +"description": "Creates a new model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"dryRun": { +"description": "Optional. Whether to run a dry run to validate the request (without actually creating the model).", +"location": "query", +"type": "boolean" +}, +"parent": { +"description": "Required. The parent resource under which to create the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/models", +"request": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes an existing model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Model to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the Model to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all the models linked to this event store.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListModels` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent for which to list models. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/models", +"response": { +"$ref": "GoogleCloudRetailV2alphaListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update of model metadata. Only fields that currently can be updated are: `filtering_option` and `periodic_tuning_state`. If other values are provided, this API method ignores them.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.models.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"pause": { +"description": "Pauses the training of an existing model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:pause", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.pause", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to pause. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}:pause", +"request": { +"$ref": "GoogleCloudRetailV2alphaPauseModelRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"resume": { +"description": "Resumes the training of an existing model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:resume", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.resume", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to resume. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}:resume", +"request": { +"$ref": "GoogleCloudRetailV2alphaResumeModelRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"tune": { +"description": "Tunes an existing model.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/models/{modelsId}:tune", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.models.tune", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the model to tune. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}:tune", +"request": { +"$ref": "GoogleCloudRetailV2alphaTuneModelRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2alpha/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"placements": { +"methods": { +"conversationalSearch": { +"description": "Performs a conversational search. This feature is only available for users who have Conversational Search enabled.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:conversationalSearch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.conversationalSearch", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:conversationalSearch", +"request": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Makes a recommendation prediction.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:predict", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.predict", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:predict", +"request": { +"$ref": "GoogleCloudRetailV2alphaPredictRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.placements.search", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that are used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:search", +"request": { +"$ref": "GoogleCloudRetailV2alphaSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"servingConfigs": { +"methods": { +"addControl": { +"description": "Enables a Control on the specified ServingConfig. The control is added in the last position of the list of controls it belongs to (e.g. if it's a facet spec control it will be applied in the last position of servingConfig.facetSpecIds) Returns a ALREADY_EXISTS error if the control has already been applied. Returns a FAILED_PRECONDITION error if the addition could exceed maximum number of control allowed for that type of control.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:addControl", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.addControl", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The source ServingConfig resource name . Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+servingConfig}:addControl", +"request": { +"$ref": "GoogleCloudRetailV2alphaAddControlRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"conversationalSearch": { +"description": "Performs a conversational search. This feature is only available for users who have Conversational Search enabled.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:conversationalSearch", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.conversationalSearch", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search` or `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` This field is used to identify the serving config name and the set of models that will be used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:conversationalSearch", +"request": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Full resource name of parent. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"servingConfigId": { +"description": "Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+parent}/servingConfigs", +"request": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "DELETE", +"id": "retail.projects.locations.catalogs.servingConfigs.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to delete. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleProtobufEmpty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.servingConfigs.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all ServingConfigs linked to this catalog.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs", +"httpMethod": "GET", +"id": "retail.projects.locations.catalogs.servingConfigs.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The catalog resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/servingConfigs", +"response": { +"$ref": "GoogleCloudRetailV2alphaListServingConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a ServingConfig.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}", +"httpMethod": "PATCH", +"id": "retail.projects.locations.catalogs.servingConfigs.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"request": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"predict": { +"description": "Makes a recommendation prediction.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:predict", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.predict", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. Full resource name of the format: `{placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*}` or `{placement=projects/*/locations/global/catalogs/default_catalog/placements/*}`. We recommend using the `servingConfigs` resource. `placements` is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:predict", +"request": { +"$ref": "GoogleCloudRetailV2alphaPredictRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaPredictResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"removeControl": { +"description": "Disables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:removeControl", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.removeControl", +"parameterOrder": [ +"servingConfig" +], +"parameters": { +"servingConfig": { +"description": "Required. The source ServingConfig resource name . Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+servingConfig}:removeControl", +"request": { +"$ref": "GoogleCloudRetailV2alphaRemoveControlRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"search": { +"description": "Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/servingConfigs/{servingConfigsId}:search", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.servingConfigs.search", +"parameterOrder": [ +"placement" +], +"parameters": { +"placement": { +"description": "Required. The resource name of the Retail Search serving config, such as `projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config` or the name of the legacy placement resource, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the serving config name and the set of models that are used to make the search.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/servingConfigs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+placement}:search", +"request": { +"$ref": "GoogleCloudRetailV2alphaSearchRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaSearchResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"userEvents": { +"methods": { +"collect": { +"description": "Writes a single user event from the browser. For larger user event payload over 16 KB, the POST method should be used instead, otherwise a 400 Bad Request error is returned. This method is used only by the Retail API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:collect", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.collect", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/userEvents:collect", +"request": { +"$ref": "GoogleCloudRetailV2alphaCollectUserEventRequest" +}, +"response": { +"$ref": "GoogleApiHttpBody" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"export": { +"description": "Exports user events. `Operation.response` is of type `ExportResponse`. `Operation.metadata` is of type `ExportMetadata`.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:export", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.export", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of a Catalog. For example `projects/1234/locations/global/catalogs/default_catalog`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/userEvents:export", +"request": { +"$ref": "GoogleCloudRetailV2alphaExportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"import": { +"description": "Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:import", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.import", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. `projects/1234/locations/global/catalogs/default_catalog`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/userEvents:import", +"request": { +"$ref": "GoogleCloudRetailV2alphaImportUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"purge": { +"description": "Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:purge", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.purge", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/userEvents:purge", +"request": { +"$ref": "GoogleCloudRetailV2alphaPurgeUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"rejoin": { +"description": "Starts a user-event rejoin operation with latest product catalog. Events are not annotated with detailed product information for products that are missing from the catalog when the user event is ingested. These events are stored as unjoined events with limited usage on training and serving. You can use this method to start a join operation on specified events with the latest version of product catalog. You can also use this method to correct events joined with the wrong product catalog. A rejoin operation can take hours or days to complete.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:rejoin", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.rejoin", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+parent}/userEvents:rejoin", +"request": { +"$ref": "GoogleCloudRetailV2alphaRejoinUserEventsRequest" +}, +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"write": { +"description": "Writes a single user event.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/userEvents:write", +"httpMethod": "POST", +"id": "retail.projects.locations.catalogs.userEvents.write", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent catalog resource name, such as `projects/1234/locations/global/catalogs/default_catalog`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", +"required": true, +"type": "string" +}, +"writeAsync": { +"description": "If set to true, the user event will be written asynchronously after validation, and the API will respond without waiting for the write. Therefore, silent failures can occur even if the API returns success. In case of silent failures, error messages can be found in Stackdriver logs.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2alpha/{+parent}/userEvents:write", +"request": { +"$ref": "GoogleCloudRetailV2alphaUserEvent" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaUserEvent" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2alpha/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +}, +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v2alpha/projects/{projectsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "retail.projects.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+name}", +"response": { +"$ref": "GoogleLongrunningOperation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v2alpha/projects/{projectsId}/operations", +"httpMethod": "GET", +"id": "retail.projects.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v2alpha/{+name}/operations", +"response": { +"$ref": "GoogleLongrunningListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"retailProject": { +"methods": { +"acceptTerms": { +"description": "Accepts service terms for this project. By making requests to this API, you agree to the terms of service linked below. https://cloud.google.com/retail/data-use-terms", +"flatPath": "v2alpha/projects/{projectsId}/retailProject:acceptTerms", +"httpMethod": "POST", +"id": "retail.projects.retailProject.acceptTerms", +"parameterOrder": [ +"project" +], +"parameters": { +"project": { +"description": "Required. Full resource name of the project. Format: `projects/{project_number_or_id}/retailProject`", +"location": "path", +"pattern": "^projects/[^/]+/retailProject$", +"required": true, +"type": "string" +} +}, +"path": "v2alpha/{+project}:acceptTerms", +"request": { +"$ref": "GoogleCloudRetailV2alphaAcceptTermsRequest" +}, +"response": { +"$ref": "GoogleCloudRetailV2alphaProject" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://retail.googleapis.com/", +"schemas": { +"GoogleApiHttpBody": { +"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", +"id": "GoogleApiHttpBody", +"properties": { +"contentType": { +"description": "The HTTP Content-Type header value specifying the content type of the body.", +"type": "string" +}, +"data": { +"description": "The HTTP request/response body as raw binary.", +"format": "byte", +"type": "string" +}, +"extensions": { +"description": "Application specific response metadata. Must be set in the first response for streaming APIs.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingErrorContext": { +"description": "A description of the context in which an error occurred.", +"id": "GoogleCloudRetailLoggingErrorContext", +"properties": { +"httpRequest": { +"$ref": "GoogleCloudRetailLoggingHttpRequestContext", +"description": "The HTTP request which was processed when the error was triggered." +}, +"reportLocation": { +"$ref": "GoogleCloudRetailLoggingSourceLocation", +"description": "The location in the source code where the decision was made to report the error, usually the place where it was logged." +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingErrorLog": { +"description": "An error log which is reported to the Error Reporting system. This proto a superset of google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.", +"id": "GoogleCloudRetailLoggingErrorLog", +"properties": { +"context": { +"$ref": "GoogleCloudRetailLoggingErrorContext", +"description": "A description of the context in which the error occurred." +}, +"importPayload": { +"$ref": "GoogleCloudRetailLoggingImportErrorContext", +"description": "The error payload that is populated on LRO import APIs." +}, +"message": { +"description": "A message describing the error.", +"type": "string" +}, +"requestPayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API request payload, represented as a protocol buffer. Most API request types are supported. For example: \"type.googleapis.com/google.cloud.retail.v2.ProductService.CreateProductRequest\" \"type.googleapis.com/google.cloud.retail.v2.UserEventService.WriteUserEventRequest\"", +"type": "object" +}, +"responsePayload": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported and no PII is included: \"google.cloud.retail.v2.PredictionService.Predict\" \"google.cloud.retail.v2.UserEventService.WriteUserEvent\" \"google.cloud.retail.v2.UserEventService.CollectUserEvent\"", +"type": "object" +}, +"serviceContext": { +"$ref": "GoogleCloudRetailLoggingServiceContext", +"description": "The service context in which this error has occurred." +}, +"status": { +"$ref": "GoogleRpcStatus", +"description": "The RPC status associated with the error log." +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingHttpRequestContext": { +"description": "HTTP request data that is related to a reported error.", +"id": "GoogleCloudRetailLoggingHttpRequestContext", +"properties": { +"responseStatusCode": { +"description": "The HTTP response status code for the request.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingImportErrorContext": { +"description": "The error payload that is populated on LRO import APIs, including \"google.cloud.retail.v2.ProductService.ImportProducts\" and \"google.cloud.retail.v2.EventService.ImportUserEvents\".", +"id": "GoogleCloudRetailLoggingImportErrorContext", +"properties": { +"catalogItem": { +"description": "The detailed content which caused the error on importing a catalog item.", +"type": "string" +}, +"gcsPath": { +"description": "Cloud Storage file path of the import source. Can be set for batch operation error.", +"type": "string" +}, +"lineNumber": { +"description": "Line number of the content in file. Should be empty for permission or batch operation error.", +"type": "string" +}, +"operationName": { +"description": "The operation resource name of the LRO.", +"type": "string" +}, +"product": { +"description": "The detailed content which caused the error on importing a product.", +"type": "string" +}, +"userEvent": { +"description": "The detailed content which caused the error on importing a user event.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingServiceContext": { +"description": "Describes a running service that sends errors.", +"id": "GoogleCloudRetailLoggingServiceContext", +"properties": { +"service": { +"description": "An identifier of the service. For example, \"retail.googleapis.com\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailLoggingSourceLocation": { +"description": "Indicates a location in the source code of the service for which errors are reported.", +"id": "GoogleCloudRetailLoggingSourceLocation", +"properties": { +"functionName": { +"description": "Human-readable name of a function or method. For example, \"google.cloud.retail.v2.UserEventService.ImportUserEvents\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2AddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2AddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2AddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2AddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2BigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2BigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2CreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2CreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2OutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2ExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2ExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2GcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2GcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2ImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2ImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2ImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2ImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2ImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2UserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2Model": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2Model", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2ModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2ModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2ModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2ModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2ModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2OutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2OutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2BigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2GcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2PurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2PurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2PurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2PurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2PurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2RejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2RejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2RejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2RemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2RemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2RemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2SetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2SetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2SetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2SetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2TuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2TuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2TuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2TuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2UserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2UserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAcceptTermsRequest": { +"description": "Request for AcceptTerms method.", +"id": "GoogleCloudRetailV2alphaAcceptTermsRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddCatalogAttributeRequest": { +"description": "Request for CatalogService.AddCatalogAttribute method.", +"id": "GoogleCloudRetailV2alphaAddCatalogAttributeRequest", +"properties": { +"catalogAttribute": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttribute", +"description": "Required. The CatalogAttribute to add." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddControlRequest": { +"description": "Request for AddControl method.", +"id": "GoogleCloudRetailV2alphaAddControlRequest", +"properties": { +"controlId": { +"description": "Required. The id of the control to apply. Assumed to be in the same catalog as the serving config - if id is not found a NOT_FOUND error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest": { +"description": "Request message for ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest", +"properties": { +"addTime": { +"description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"allowMissing": { +"description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2alphaAddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddLocalInventoriesRequest": { +"description": "Request message for ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2alphaAddLocalInventoriesRequest", +"properties": { +"addMask": { +"description": "Indicates which inventory fields in the provided list of LocalInventory to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.", +"format": "google-fieldmask", +"type": "string" +}, +"addTime": { +"description": "The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"allowMissing": { +"description": "If set to true, and the Product is not found, the local inventory will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"localInventories": { +"description": "Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.", +"items": { +"$ref": "GoogleCloudRetailV2alphaLocalInventory" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2alphaAddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAlertConfig": { +"description": "Project level alert config.", +"id": "GoogleCloudRetailV2alphaAlertConfig", +"properties": { +"alertPolicies": { +"description": "Alert policies for a customer. They must be unique by [AlertPolicy.alert_group]", +"items": { +"$ref": "GoogleCloudRetailV2alphaAlertConfigAlertPolicy" +}, +"type": "array" +}, +"name": { +"description": "Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAlertConfigAlertPolicy": { +"description": "Alert policy for a customer.", +"id": "GoogleCloudRetailV2alphaAlertConfigAlertPolicy", +"properties": { +"alertGroup": { +"description": "The feature that provides alerting capability. Supported value: - `search-data-quality` for retail search customers. - `conv-data-quality` for retail conversation customers.", +"type": "string" +}, +"enrollStatus": { +"description": "The enrollment status of a customer.", +"enum": [ +"ENROLL_STATUS_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" +}, +"recipients": { +"description": "Recipients for the alert policy. One alert policy should not exceed 20 recipients.", +"items": { +"$ref": "GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient": { +"description": "Recipient contact information.", +"id": "GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient", +"properties": { +"emailAddress": { +"description": "Email address of the recipient.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAttributesConfig": { +"description": "Catalog level attribute config.", +"id": "GoogleCloudRetailV2alphaAttributesConfig", +"properties": { +"attributeConfigLevel": { +"description": "Output only. The AttributeConfigLevel used for this catalog.", +"enum": [ +"ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", +"PRODUCT_LEVEL_ATTRIBUTE_CONFIG", +"CATALOG_LEVEL_ATTRIBUTE_CONFIG" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to CATALOG_LEVEL_ATTRIBUTE_CONFIG.", +"At this level, we honor the attribute configurations set in Product.attributes.", +"At this level, we honor the attribute configurations set in `CatalogConfig.attribute_configs`." +], +"readOnly": true, +"type": "string" +}, +"catalogAttributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttribute" +}, +"description": "Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.", +"type": "object" +}, +"name": { +"description": "Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaAudience": { +"description": "An intended audience of the Product for whom it's sold.", +"id": "GoogleCloudRetailV2alphaAudience", +"properties": { +"ageGroups": { +"description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3\u201312 months old), \"toddler\" (1\u20135 years old), \"kids\" (5\u201313 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).", +"items": { +"type": "string" +}, +"type": "array" +}, +"genders": { +"description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest": { +"description": "Request for CatalogService.BatchRemoveCatalogAttributes method.", +"id": "GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest", +"properties": { +"attributeKeys": { +"description": "Required. The attribute name keys of the CatalogAttributes to delete. A maximum of 1000 catalog attributes can be deleted in a batch.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse": { +"description": "Response of the CatalogService.BatchRemoveCatalogAttributes.", +"id": "GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse", +"properties": { +"deletedCatalogAttributes": { +"description": "Catalog attributes that were deleted. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resetCatalogAttributes": { +"description": "Catalog attributes that were reset. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest": { +"description": "Request for BatchUpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest", +"properties": { +"requests": { +"description": "Required. The updates question configs.", +"items": { +"$ref": "GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse": { +"description": "Aggregated response for UpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse", +"properties": { +"generativeQuestionConfigs": { +"description": "Optional. The updates question configs.", +"items": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2alphaBigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBigQuerySource": { +"description": "BigQuery source import data from.", +"id": "GoogleCloudRetailV2alphaBigQuerySource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: The schema is available here: https://support.google.com/analytics/answer/3437719. * `user_event_ga4`: The schema is available here: https://support.google.com/analytics/answer/7029846. Supported values for autocomplete imports: * `suggestions` (default): One JSON completion suggestion per line. * `denylist`: One JSON deny suggestion per line. * `allowlist`: One JSON allow suggestion per line.", +"type": "string" +}, +"datasetId": { +"description": "Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.", +"type": "string" +}, +"gcsStagingDir": { +"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.", +"type": "string" +}, +"partitionDate": { +"$ref": "GoogleTypeDate", +"description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format." +}, +"projectId": { +"description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.", +"type": "string" +}, +"tableId": { +"description": "Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBranch": { +"description": "A data branch that stores all instances of Products.", +"id": "GoogleCloudRetailV2alphaBranch", +"properties": { +"displayName": { +"description": "Output only. Human readable name of the branch to display in the UI.", +"readOnly": true, +"type": "string" +}, +"isDefault": { +"description": "Output only. Indicates whether this branch is set as the default branch of its parent catalog.", +"readOnly": true, +"type": "boolean" +}, +"lastProductImportTime": { +"description": "Output only. Timestamp of last import through ProductService.ImportProducts. Empty value means no import has been made to this branch.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. Full resource name of the branch, such as `projects/*/locations/global/catalogs/default_catalog/branches/branch_id`.", +"type": "string" +}, +"productCountStats": { +"description": "Output only. Statistics for number of products in the branch, provided for different scopes. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.", +"items": { +"$ref": "GoogleCloudRetailV2alphaBranchProductCountStatistic" +}, +"readOnly": true, +"type": "array" +}, +"qualityMetrics": { +"description": "Output only. The quality metrics measured among products of this branch. See QualityMetric.requirement_key for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.", +"items": { +"$ref": "GoogleCloudRetailV2alphaBranchQualityMetric" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBranchProductCountStatistic": { +"description": "A statistic about the number of products in a branch.", +"id": "GoogleCloudRetailV2alphaBranchProductCountStatistic", +"properties": { +"counts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "The number of products in scope broken down into different groups. The key is a group representing a set of products, and the value is the number of products in that group. Note: keys in this map may change over time. Possible keys: * \"primary-in-stock\", products have Product.Type.PRIMARY type and Product.Availability.IN_STOCK availability. * \"primary-out-of-stock\", products have Product.Type.PRIMARY type and Product.Availability.OUT_OF_STOCK availability. * \"primary-preorder\", products have Product.Type.PRIMARY type and Product.Availability.PREORDER availability. * \"primary-backorder\", products have Product.Type.PRIMARY type and Product.Availability.BACKORDER availability. * \"variant-in-stock\", products have Product.Type.VARIANT type and Product.Availability.IN_STOCK availability. * \"variant-out-of-stock\", products have Product.Type.VARIANT type and Product.Availability.OUT_OF_STOCK availability. * \"variant-preorder\", products have Product.Type.VARIANT type and Product.Availability.PREORDER availability. * \"variant-backorder\", products have Product.Type.VARIANT type and Product.Availability.BACKORDER availability. * \"price-discounted\", products have [Product.price_info.price] < [Product.price_info.original_price].", +"type": "object" +}, +"scope": { +"description": "[ProductCountScope] of the [counts].", +"enum": [ +"PRODUCT_COUNT_SCOPE_UNSPECIFIED", +"ALL_PRODUCTS", +"LAST_24_HOUR_UPDATE" +], +"enumDescriptions": [ +"Default value for enum. This value is not used in the API response.", +"Scope for all existing products in the branch. Useful for understanding how many products there are in a branch.", +"Scope for products created or updated in the last 24 hours." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaBranchQualityMetric": { +"description": "Metric measured on a group of Products against a certain quality requirement. Contains the number of products that pass the check and the number of products that don't.", +"id": "GoogleCloudRetailV2alphaBranchQualityMetric", +"properties": { +"qualifiedProductCount": { +"description": "Number of products passing the quality requirement check. We only check searchable products.", +"format": "int32", +"type": "integer" +}, +"requirementKey": { +"description": "The key that represents a quality requirement rule. Supported keys: * \"has-valid-uri\": product has a valid and accessible uri. * \"available-expire-time-conformance\": Product.available_time is early than \"now\", and Product.expire_time is greater than \"now\". * \"has-searchable-attributes\": product has at least one attribute set to searchable. * \"has-description\": product has non-empty description. * \"has-at-least-bigram-title\": Product title has at least two words. A comprehensive title helps to improve search quality. * \"variant-has-image\": the variant products has at least one image. You may ignore this metric if all your products are at primary level. * \"variant-has-price-info\": the variant products has price_info set. You may ignore this metric if all your products are at primary level. * \"has-publish-time\": product has non-empty publish_time.", +"type": "string" +}, +"suggestedQualityPercentThreshold": { +"description": "Value from 0 to 100 representing the suggested percentage of products that meet the quality requirements to get good search and recommendation performance. 100 * (qualified_product_count) / (qualified_product_count + unqualified_product_count) should be greater or equal to this suggestion.", +"format": "double", +"type": "number" +}, +"unqualifiedProductCount": { +"description": "Number of products failing the quality requirement check. We only check searchable products.", +"format": "int32", +"type": "integer" +}, +"unqualifiedSampleProducts": { +"description": "A list of a maximum of 100 sample products that do not qualify for this requirement. This field is only populated in the response to BranchService.GetBranch API, and is always empty for BranchService.ListBranches. Only the following fields are set in the Product. * Product.name * Product.id * Product.title", +"items": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalog": { +"description": "The catalog configuration.", +"id": "GoogleCloudRetailV2alphaCatalog", +"properties": { +"displayName": { +"description": "Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"merchantCenterLinkingConfig": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterLinkingConfig", +"description": "The Merchant Center linking configuration. After a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the Merchant Center account in order to make changes to this field." +}, +"name": { +"description": "Required. Immutable. The fully qualified resource name of the catalog.", +"type": "string" +}, +"productLevelConfig": { +"$ref": "GoogleCloudRetailV2alphaProductLevelConfig", +"description": "Required. The product level configuration." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttribute": { +"description": "Catalog level attribute config for an attribute. For example, if customers want to enable/disable facet for a specific attribute.", +"id": "GoogleCloudRetailV2alphaCatalogAttribute", +"properties": { +"dynamicFacetableOption": { +"description": "If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must be specified, otherwise throws INVALID_FORMAT error.", +"enum": [ +"DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", +"DYNAMIC_FACETABLE_ENABLED", +"DYNAMIC_FACETABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Dynamic facetable option enabled for an attribute.", +"Dynamic facetable option disabled for an attribute." +], +"type": "string" +}, +"exactSearchableOption": { +"description": "If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable exact-searchable. If unset, the server behavior defaults to EXACT_SEARCHABLE_DISABLED.", +"enum": [ +"EXACT_SEARCHABLE_OPTION_UNSPECIFIED", +"EXACT_SEARCHABLE_ENABLED", +"EXACT_SEARCHABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Exact searchable option enabled for an attribute.", +"Exact searchable option disabled for an attribute." +], +"type": "string" +}, +"facetConfig": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfig", +"description": "Contains facet options." +}, +"inUse": { +"description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", +"readOnly": true, +"type": "boolean" +}, +"indexableOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered, faceted, or boosted in SearchService.Search. Must be specified when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.", +"enum": [ +"INDEXABLE_OPTION_UNSPECIFIED", +"INDEXABLE_ENABLED", +"INDEXABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Indexable option enabled for an attribute.", +"Indexable option disabled for an attribute." +], +"type": "string" +}, +"key": { +"description": "Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. If the attribute key starts with `attributes.`, then the attribute is a custom attribute. Attributes such as `brands`, `patterns`, and `title` are built-in and called system attributes.", +"type": "string" +}, +"recommendationsFilteringOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if RECOMMENDATIONS_FILTERING_ENABLED, attribute values are filterable for recommendations. This option works for categorical features only, does not work for numerical features, inventory filtering.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"retrievableOption": { +"description": "If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. If unset, the server behavior defaults to RETRIEVABLE_DISABLED.", +"enum": [ +"RETRIEVABLE_OPTION_UNSPECIFIED", +"RETRIEVABLE_ENABLED", +"RETRIEVABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Retrievable option enabled for an attribute.", +"Retrievable option disabled for an attribute." +], +"type": "string" +}, +"searchableOption": { +"description": "When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical, attribute values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical attributes. Must be specified, when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error.", +"enum": [ +"SEARCHABLE_OPTION_UNSPECIFIED", +"SEARCHABLE_ENABLED", +"SEARCHABLE_DISABLED" +], +"enumDescriptions": [ +"Value used when unset.", +"Searchable option enabled for an attribute.", +"Searchable option disabled for an attribute." +], +"type": "string" +}, +"type": { +"description": "Output only. The type of this attribute. This is derived from the attribute in Product.attributes.", +"enum": [ +"UNKNOWN", +"TEXTUAL", +"NUMERICAL" +], +"enumDescriptions": [ +"The type of the attribute is unknown. Used when type cannot be derived from attribute that is not in_use.", +"Textual attribute.", +"Numerical attribute." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttributeFacetConfig": { +"description": "Possible options for the facet that corresponds to the current attribute config.", +"id": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfig", +"properties": { +"facetIntervals": { +"description": "If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per CatalogAttribute is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound.", +"items": { +"$ref": "GoogleCloudRetailV2alphaInterval" +}, +"type": "array" +}, +"ignoredFacetValues": { +"description": "Each instance represents a list of attribute values to ignore as facet values for a specific time range. The maximum number of instances per CatalogAttribute is 25.", +"items": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues" +}, +"type": "array" +}, +"mergedFacet": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet", +"description": "Use this field only if you want to merge a facet key into another facet key." +}, +"mergedFacetValues": { +"description": "Each instance replaces a list of facet values by a merged facet value. If a facet value is not in any list, then it will stay the same. To avoid conflicts, only paths of length 1 are accepted. In other words, if \"dark_blue\" merged into \"BLUE\", then the latter can't merge into \"blues\" because this would create a path of length 2. The maximum number of instances of MergedFacetValue per CatalogAttribute is 100. This feature is available only for textual custom attributes.", +"items": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue" +}, +"type": "array" +}, +"rerankConfig": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig", +"description": "Set this field only if you want to rerank based on facet values engaged by the user for the current key. This option is only possible for custom facetable textual keys." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues": { +"description": "Facet values to ignore on facets during the specified time range for the given SearchResponse.Facet.key attribute.", +"id": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigIgnoredFacetValues", +"properties": { +"endTime": { +"description": "If start time is empty and end time is not empty, then ignore these facet values before end time.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Time range for the current list of facet values to ignore. If multiple time ranges are specified for an facet value for the current attribute, consider all of them. If both are empty, ignore always. If start time and end time are set, then start time must be before end time. If start time is not empty and end time is empty, then will ignore these facet values after the start time.", +"format": "google-datetime", +"type": "string" +}, +"values": { +"description": "List of facet values to ignore for the following time range. The facet values are the same as the attribute values. There is a limit of 10 values per instance of IgnoredFacetValues. Each value can have at most 128 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet": { +"description": "The current facet key (i.e. attribute config) maps into the merged_facet_key. A facet key can have at most one child. The current facet key and the merged facet key need both to be textual custom attributes or both numerical custom attributes (same type).", +"id": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacet", +"properties": { +"mergedFacetKey": { +"description": "The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue": { +"description": "Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes.", +"id": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue", +"properties": { +"mergedValue": { +"description": "All the previous values are replaced by this merged facet value. This merged_value must be non-empty and can have up to 128 characters.", +"type": "string" +}, +"values": { +"description": "All the facet values that are replaces by the same merged_value that follows. The maximum number of values per MergedFacetValue is 25. Each value can have up to 128 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig": { +"description": "Options to rerank based on facet values engaged by the user for the current key. That key needs to be a custom textual key and facetable. To use this control, you also need to pass all the facet keys engaged by the user in the request using the field [SearchRequest.FacetSpec]. In particular, if you don't pass the facet keys engaged that you want to rerank on, this control won't be effective. Moreover, to obtain better results, the facet values that you want to rerank on should be close to English (ideally made of words, underscores, and spaces).", +"id": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigRerankConfig", +"properties": { +"facetValues": { +"description": "If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rerankFacet": { +"description": "If set to true, then we also rerank the dynamic facets based on the facet values engaged by the user for the current attribute key during serving.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCollectUserEventRequest": { +"description": "Request message for CollectUserEvent method.", +"id": "GoogleCloudRetailV2alphaCollectUserEventRequest", +"properties": { +"ets": { +"description": "The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.", +"format": "int64", +"type": "string" +}, +"prebuiltRule": { +"description": "The prebuilt rule name that can convert a specific type of raw_json. For example: \"ga4_bq\" rule for the GA4 user event schema.", +"type": "string" +}, +"rawJson": { +"description": "An arbitrary serialized JSON string that contains necessary information that can comprise a user event. When this field is specified, the user_event field will be ignored. Note: line-delimited JSON is not supported, a single JSON only.", +"type": "string" +}, +"uri": { +"description": "The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for 3rd party requests.", +"type": "string" +}, +"userEvent": { +"description": "Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaColorInfo": { +"description": "The color information of a Product.", +"id": "GoogleCloudRetailV2alphaColorInfo", +"properties": { +"colorFamilies": { +"description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). The colorFamilies field as a system attribute is not a required field but strongly recommended to be specified. Google Search models treat this field as more important than a custom product attribute when specified.", +"items": { +"type": "string" +}, +"type": "array" +}, +"colors": { +"description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompleteQueryResponse": { +"description": "Response of the autocomplete query.", +"id": "GoogleCloudRetailV2alphaCompleteQueryResponse", +"properties": { +"attributeResults": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult" +}, +"description": "A map of matched attribute suggestions. This field is only available for `cloud-retail` dataset. Current supported keys: * `brands` * `categories`", +"type": "object" +}, +"attributionToken": { +"description": "A unique complete token. This should be included in the UserEvent.completion_detail for search events resulting from this completion, which enables accurate attribution of complete model performance.", +"type": "string" +}, +"completionResults": { +"description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.", +"items": { +"$ref": "GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult" +}, +"type": "array" +}, +"recentSearchResults": { +"deprecated": true, +"description": "Deprecated. Matched recent searches of this user. The maximum number of recent searches is 10. This field is a restricted feature. If you want to enable it, contact Retail Search support. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower case. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.", +"items": { +"$ref": "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult": { +"description": "Resource that represents attribute results.", +"id": "GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult", +"properties": { +"suggestions": { +"description": "The list of suggestions for the attribute.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult": { +"description": "Resource that represents completion results.", +"id": "GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCustomAttribute" +}, +"description": "Custom attributes for the suggestion term. * For `user-data`, the attributes are additional custom attributes ingested through BigQuery. * For `cloud-retail`, the attributes are product attributes generated by Cloud Retail. It requires UserEvent.product_details is imported properly.", +"type": "object" +}, +"facets": { +"description": "Facet information for the suggestion term. Gives the number of items resulting from a search with this suggestion term for each facet. This is an experimental feature for limited customers. If you want to receive this facet information, reach out to the Retail support team.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseFacet" +}, +"type": "array" +}, +"suggestion": { +"description": "The suggestion for the query.", +"type": "string" +}, +"totalProductCount": { +"description": "Total number of products associated with a search with this suggestion. This is an experimental feature for limited customers. If you want to receive this product count information, reach out to the Retail support team.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult": { +"deprecated": true, +"description": "Deprecated: Recent search of this user.", +"id": "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult", +"properties": { +"recentSearch": { +"description": "The recent search query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompletionConfig": { +"description": "Catalog level autocomplete config for customers to customize autocomplete feature's settings.", +"id": "GoogleCloudRetailV2alphaCompletionConfig", +"properties": { +"allowlistInputConfig": { +"$ref": "GoogleCloudRetailV2alphaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete allowlist phrases.", +"readOnly": true +}, +"autoLearning": { +"description": "If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use `cloud-retail` data in CompleteQueryRequest.", +"type": "boolean" +}, +"denylistInputConfig": { +"$ref": "GoogleCloudRetailV2alphaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete denylist phrases.", +"readOnly": true +}, +"lastAllowlistImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest allowlist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"lastDenylistImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest denylist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"lastSuggestionsImportOperation": { +"description": "Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use GetOperation API method to retrieve the latest state of the Long Running Operation.", +"readOnly": true, +"type": "string" +}, +"matchingOrder": { +"description": "Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest \"women's shoes\", whereas a query of 'red s' with 'exact-prefix' specified would suggest \"red shoes\". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.", +"type": "string" +}, +"maxSuggestions": { +"description": "The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.", +"format": "int32", +"type": "integer" +}, +"minPrefixLength": { +"description": "The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Required. Immutable. Fully qualified name `projects/*/locations/*/catalogs/*/completionConfig`", +"type": "string" +}, +"suggestionsInputConfig": { +"$ref": "GoogleCloudRetailV2alphaCompletionDataInputConfig", +"description": "Output only. The source data for the latest import of the autocomplete suggestion phrases.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompletionDataInputConfig": { +"description": "The input config source for completion data.", +"id": "GoogleCloudRetailV2alphaCompletionDataInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2alphaBigQuerySource", +"description": "Required. BigQuery input source. Add the IAM permission \"BigQuery Data Viewer\" for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCompletionDetail": { +"description": "Detailed completion information including completion attribution token and clicked completion info.", +"id": "GoogleCloudRetailV2alphaCompletionDetail", +"properties": { +"completionAttributionToken": { +"description": "Completion attribution token in CompleteQueryResponse.attribution_token.", +"type": "string" +}, +"selectedPosition": { +"description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.", +"format": "int32", +"type": "integer" +}, +"selectedSuggestion": { +"description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCondition": { +"description": "Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.", +"id": "GoogleCloudRetailV2alphaCondition", +"properties": { +"activeTimeRange": { +"description": "Range of time(s) specifying when Condition is active. Condition true if any time range matches.", +"items": { +"$ref": "GoogleCloudRetailV2alphaConditionTimeRange" +}, +"type": "array" +}, +"pageCategories": { +"description": "Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).", +"items": { +"$ref": "GoogleCloudRetailV2alphaConditionQueryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConditionQueryTerm": { +"description": "Query terms that we want to match on.", +"id": "GoogleCloudRetailV2alphaConditionQueryTerm", +"properties": { +"fullMatch": { +"description": "Whether this is supposed to be a full or partial match.", +"type": "boolean" +}, +"value": { +"description": "The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, \"a b c\" is 3 terms and allowed, but \" a b c d\" is 4 terms and not allowed for a partial match.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConditionTimeRange": { +"description": "Used for time-dependent conditions. Example: Want to have rule applied for week long sale.", +"id": "GoogleCloudRetailV2alphaConditionTimeRange", +"properties": { +"endTime": { +"description": "End of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "Start of time range. Range is inclusive.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaControl": { +"description": "Configures dynamic metadata that can be linked to a ServingConfig and affect search or recommendation results at serving time.", +"id": "GoogleCloudRetailV2alphaControl", +"properties": { +"associatedServingConfigIds": { +"description": "Output only. List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"displayName": { +"description": "Required. The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.", +"type": "string" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`", +"type": "string" +}, +"rule": { +"$ref": "GoogleCloudRetailV2alphaRule", +"description": "A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost \"gShoe\" when query full matches \"Running Shoes\"." +}, +"searchSolutionUseCase": { +"description": "Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.", +"items": { +"enum": [ +"SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", +"SEARCH_SOLUTION_USE_CASE_SEARCH", +"SEARCH_SOLUTION_USE_CASE_BROWSE" +], +"enumDescriptions": [ +"The value when it's unspecified. In this case, server behavior defaults to SEARCH_SOLUTION_USE_CASE_SEARCH.", +"Search use case. Expects the traffic has a non-empty query.", +"Browse use case. Expects the traffic has an empty query." +], +"type": "string" +}, +"type": "array" +}, +"solutionTypes": { +"description": "Required. Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig": { +"description": "The public proto to represent the conversational search customization config. It will be converted to the internal proto in the backend.", +"id": "GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig", +"properties": { +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"intentClassificationConfig": { +"$ref": "GoogleCloudRetailV2alphaIntentClassificationConfig", +"description": "Optional. The configs for intent classification." +}, +"retailerDisplayName": { +"description": "Optional. The retailer's display name that could be used in our LLM answers. Example - \"Google\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchRequest": { +"description": "Request message for ConversationalSearchService.ConversationalSearch method.", +"id": "GoogleCloudRetailV2alphaConversationalSearchRequest", +"properties": { +"branch": { +"description": "Required. The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.", +"type": "string" +}, +"conversationId": { +"description": "Optional. This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous ConversationalSearchResponse.conversation_id. For the initial request, this should be empty.", +"type": "string" +}, +"conversationalFilteringSpec": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec", +"description": "Optional. This field specifies all conversational filtering related parameters." +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"query": { +"description": "Optional. Raw search query to be searched for. If this field is empty, the request is considered a category browsing request.", +"type": "string" +}, +"safetySettings": { +"description": "Optional. The safety settings to be applied to the generated content.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSafetySetting" +}, +"type": "array" +}, +"searchParams": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams", +"description": "Optional. Search parameters." +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2alphaUserInfo", +"description": "Optional. User information." +}, +"userLabels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This should be the same identifier as UserEvent.visitor_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec": { +"description": "This field specifies all conversational filtering related parameters addition to conversational retail search.", +"id": "GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec", +"properties": { +"conversationalFilteringMode": { +"description": "Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED", +"CONVERSATIONAL_FILTER_ONLY" +], +"enumDescriptions": [ +"Default value.", +"Disables Conversational Filtering when using Conversational Search.", +"Enables Conversational Filtering when using Conversational Search.", +"Enables Conversational Filtering without Conversational Search." +], +"type": "string" +}, +"enableConversationalFiltering": { +"deprecated": true, +"description": "Optional. This field is deprecated. Please use ConversationalFilteringSpec.conversational_filtering_mode instead.", +"type": "boolean" +}, +"userAnswer": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer", +"description": "Optional. This field specifies the current user answer during the conversational filtering search. It can be either user selected from suggested answers or user input plain text." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams": { +"description": "Search parameters.", +"id": "GoogleCloudRetailV2alphaConversationalSearchRequestSearchParams", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpec", +"description": "Optional. The boost spec to specify the boosting of search results. The syntax of the boost spec is the same as SearchRequest.boost_spec." +}, +"canonicalFilter": { +"description": "Optional. The canonical filter string to restrict search results. The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.", +"type": "string" +}, +"filter": { +"description": "Optional. The filter string to restrict search results. The syntax of the filter string is the same as SearchRequest.filter.", +"type": "string" +}, +"sortBy": { +"description": "Optional. The sort string to specify the sorting of search results. The syntax of the sort string is the same as SearchRequest.order_by.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer": { +"description": "This field specifies the current user answer during the conversational filtering search. This can be either user selected from suggested answers or user input plain text.", +"id": "GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswer", +"properties": { +"selectedAnswer": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer", +"description": "Optional. This field specifies the selected answer during the conversational search. This should be a subset of ConversationalSearchResponse.FollowupQuestion.SuggestedAnswer." +}, +"textAnswer": { +"description": "This field specifies the incremental input text from the user during the conversational search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer": { +"description": "This field specifies the selected answers during the conversational search.", +"id": "GoogleCloudRetailV2alphaConversationalSearchRequestUserAnswerSelectedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "Optional. This field specifies the selected answer which is a attribute key-value." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponse": { +"description": "Response message for ConversationalSearchService.ConversationalSearch method.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponse", +"properties": { +"conversationId": { +"description": "Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's ConversationalSearchRequest.conversation_id to restore conversation state in server.", +"type": "string" +}, +"conversationalFilteringResult": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult", +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational filtering search." +}, +"conversationalTextResponse": { +"description": "The conversational answer-based text response generated by the Server.", +"type": "string" +}, +"followupQuestion": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion", +"description": "The conversational followup question generated for Intent refinement." +}, +"refinedSearch": { +"description": "The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.", +"items": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch" +}, +"type": "array" +}, +"state": { +"description": "Output only. The state of the response generation.", +"enum": [ +"STATE_UNSPECIFIED", +"STREAMING", +"SUCCEEDED" +], +"enumDescriptions": [ +"Unknown.", +"Response generation is being streamed.", +"Response generation has succeeded." +], +"readOnly": true, +"type": "string" +}, +"userQueryTypes": { +"description": "The types Retail classifies the search query as. Supported values are: - \"ORDER_SUPPORT\" - \"SIMPLE_PRODUCT_SEARCH\" - \"INTENT_REFINEMENT\" - \"PRODUCT_DETAILS\" - \"PRODUCT_COMPARISON\" - \"DEALS_AND_COUPONS\" - \"STORE_RELEVANT\" - \"BLOCKLISTED\" - \"BEST_PRODUCT\" - \"RETAIL_SUPPORT\" - \"DISABLED\"", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult": { +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational filtering search.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult", +"properties": { +"additionalFilter": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter", +"description": "This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous ConversationalSearchRequest.SearchParams.filter and SearchRequest.filter, and use the merged filter in the follow up requests." +}, +"followupQuestion": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion", +"description": "The conversational filtering question." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter": { +"description": "Additional filter that client side need to apply.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResultAdditionalFilter", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion": { +"description": "The conversational followup question generated for Intent refinement.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion", +"properties": { +"followupQuestion": { +"description": "The conversational followup question generated for Intent refinement.", +"type": "string" +}, +"suggestedAnswers": { +"description": "The answer options provided to client for the follow-up question.", +"items": { +"$ref": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer": { +"description": "Suggested answers to the follow-up question. If it's numerical attribute, only ProductAttributeInterval will be set. If it's textual attribute, only productAttributeValue will be set.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch": { +"description": "The proposed refined search for intent-refinement/bundled shopping conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.", +"id": "GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch", +"properties": { +"query": { +"description": "The query to be used for search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata": { +"description": "Common metadata related to the progress of the operations.", +"id": "GoogleCloudRetailV2alphaCreateMerchantCenterAccountLinkMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2alphaCreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaCustomAttribute": { +"description": "A custom attribute that is not explicitly modeled in Product.", +"id": "GoogleCloudRetailV2alphaCustomAttribute", +"properties": { +"indexable": { +"deprecated": true, +"description": "This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are indexed, so that they can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.", +"type": "boolean" +}, +"numbers": { +"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +}, +"searchable": { +"deprecated": true, +"description": "This field is normally ignored unless AttributesConfig.attribute_config_level of the Catalog is set to the deprecated 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG' mode. For information about product-level attribute configuration, see [Configuration modes](https://cloud.google.com/retail/docs/attribute-config#config-modes). If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.", +"type": "boolean" +}, +"text": { +"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaDoubleList": { +"description": "A message with a list of double values.", +"id": "GoogleCloudRetailV2alphaDoubleList", +"properties": { +"values": { +"description": "The list of double values.", +"items": { +"format": "double", +"type": "number" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaEnrollSolutionMetadata": { +"description": "Metadata related to the EnrollSolution method. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaEnrollSolutionMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaEnrollSolutionRequest": { +"description": "Request for EnrollSolution method.", +"id": "GoogleCloudRetailV2alphaEnrollSolutionRequest", +"properties": { +"solution": { +"description": "Required. Solution to enroll.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaEnrollSolutionResponse": { +"description": "Response for EnrollSolution method.", +"id": "GoogleCloudRetailV2alphaEnrollSolutionResponse", +"properties": { +"enrolledSolution": { +"description": "Retail API solution that the project has enrolled.", +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExperimentInfo": { +"description": "Metadata for active A/B testing experiment.", +"id": "GoogleCloudRetailV2alphaExperimentInfo", +"properties": { +"experiment": { +"description": "The fully qualified resource name of the experiment that provides the serving config under test, should an active experiment exist. For example: `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id`", +"type": "string" +}, +"servingConfigExperiment": { +"$ref": "GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment", +"description": "A/B test between existing Cloud Retail Search ServingConfigs." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment": { +"description": "Metadata for active serving config A/B tests.", +"id": "GoogleCloudRetailV2alphaExperimentInfoServingConfigExperiment", +"properties": { +"experimentServingConfig": { +"description": "The fully qualified resource name of the serving config `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.", +"type": "string" +}, +"originalServingConfig": { +"description": "The fully qualified resource name of the original SearchRequest.placement in the search request prior to reassignment by experiment API. For example: `projects/*/locations/*/catalogs/*/servingConfigs/*`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportAnalyticsMetricsRequest": { +"description": "Request message for the `ExportAnalyticsMetrics` method.", +"id": "GoogleCloudRetailV2alphaExportAnalyticsMetricsRequest", +"properties": { +"filter": { +"description": "A filtering expression to specify restrictions on returned metrics. The expression is a sequence of terms. Each term applies a restriction to the returned metrics. Use this expression to restrict results to a specific time range. Currently we expect only one types of fields: * `timestamp`: This can be specified twice, once with a less than operator and once with a greater than operator. The `timestamp` restriction should result in one, contiguous, valid, `timestamp` range. Some examples of valid filters expressions: * Example 1: `timestamp > \"2012-04-23T18:25:43.511Z\" timestamp < \"2012-04-23T18:30:43.511Z\"` * Example 2: `timestamp > \"2012-04-23T18:25:43.511Z\"`", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2alphaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2alphaExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportProductsRequest": { +"description": "Request message for ExportProducts method.", +"id": "GoogleCloudRetailV2alphaExportProductsRequest", +"properties": { +"filter": { +"deprecated": true, +"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2alphaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportProductsResponse": { +"description": "Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportUserEventsRequest": { +"description": "Request message for the `ExportUserEvents` method.", +"id": "GoogleCloudRetailV2alphaExportUserEventsRequest", +"properties": { +"filter": { +"deprecated": true, +"description": "Deprecated: This field is deprecated. Any filter provided will be ignored.", +"type": "string" +}, +"outputConfig": { +"$ref": "GoogleCloudRetailV2alphaOutputConfig", +"description": "Required. The output location of the data. Only `bigquery_destination` is supported, and `bigquery_destination.table_type` must be set to `view`." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaExportUserEventsResponse": { +"description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaExportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2alphaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaFulfillmentInfo": { +"description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.", +"id": "GoogleCloudRetailV2alphaFulfillmentInfo", +"properties": { +"placeIds": { +"description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"type": { +"description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2alphaGcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGcsSource": { +"description": "Google Cloud Storage location for input content.", +"id": "GoogleCloudRetailV2alphaGcsSource", +"properties": { +"dataSchema": { +"description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719. Supported values for control imports: * `control` (default): One JSON Control per line. Supported values for catalog attribute imports: * `catalog_attribute` (default): One CSV CatalogAttribute per line.", +"type": "string" +}, +"inputUris": { +"description": "Required. Google Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files, and each file can be up to 2 GB. See [Importing product information](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGenerativeQuestionConfig": { +"description": "Configuration for a single generated question.", +"id": "GoogleCloudRetailV2alphaGenerativeQuestionConfig", +"properties": { +"allowedInConversation": { +"description": "Optional. Whether the question is asked at serving time.", +"type": "boolean" +}, +"catalog": { +"description": "Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"exampleValues": { +"description": "Output only. Values that can be used to answer the question.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"facet": { +"description": "Required. The facet to which the question is associated.", +"type": "string" +}, +"finalQuestion": { +"description": "Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.", +"type": "string" +}, +"frequency": { +"description": "Output only. The ratio of how often a question was asked.", +"format": "float", +"readOnly": true, +"type": "number" +}, +"generatedQuestion": { +"description": "Output only. The LLM generated question.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig": { +"description": "Configuration for overall generative question feature state.", +"id": "GoogleCloudRetailV2alphaGenerativeQuestionsFeatureConfig", +"properties": { +"catalog": { +"description": "Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}", +"type": "string" +}, +"featureEnabled": { +"description": "Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.", +"type": "boolean" +}, +"minimumProducts": { +"description": "Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaGetDefaultBranchResponse": { +"description": "Response message of CatalogService.GetDefaultBranch.", +"id": "GoogleCloudRetailV2alphaGetDefaultBranchResponse", +"properties": { +"branch": { +"description": "Full resource name of the branch id currently set as default branch.", +"type": "string" +}, +"note": { +"description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.", +"type": "string" +}, +"setTime": { +"description": "The time when this branch is set to default.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImage": { +"description": "Product image. Recommendations AI and Retail Search use product images to improve prediction and search results. Product images can be returned in results, and are shown in prediction or search previews in the console. Please try to provide correct product images and avoid using images with size too small.", +"id": "GoogleCloudRetailV2alphaImage", +"properties": { +"height": { +"description": "Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"uri": { +"description": "Required. URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).", +"type": "string" +}, +"width": { +"description": "Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportCompletionDataRequest": { +"description": "Request message for ImportCompletionData methods.", +"id": "GoogleCloudRetailV2alphaImportCompletionDataRequest", +"properties": { +"inputConfig": { +"$ref": "GoogleCloudRetailV2alphaCompletionDataInputConfig", +"description": "Required. The desired input location of the data." +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2alphaImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2alphaImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"transformedUserEventsMetadata": { +"$ref": "GoogleCloudRetailV2alphaTransformedUserEventsMetadata", +"description": "Metadata related to transform user events." +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportProductsRequest": { +"description": "Request message for Import methods.", +"id": "GoogleCloudRetailV2alphaImportProductsRequest", +"properties": { +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "The desired location of errors incurred during the Import." +}, +"inputConfig": { +"$ref": "GoogleCloudRetailV2alphaProductInputConfig", +"description": "Required. The desired input location of the data." +}, +"notificationPubsubTopic": { +"description": "Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has to be within the same project as ImportProductsRequest.parent. Make sure that both `cloud-retail-customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on the topic. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.", +"type": "string" +}, +"reconciliationMode": { +"description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.", +"enum": [ +"RECONCILIATION_MODE_UNSPECIFIED", +"INCREMENTAL", +"FULL" +], +"enumDescriptions": [ +"Defaults to INCREMENTAL.", +"Inserts new products or updates existing products.", +"Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location." +], +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field has no effect.", +"type": "string" +}, +"skipDefaultBranchProtection": { +"description": "If true, this performs the FULL import even if it would delete a large proportion of the products in the default branch, which could potentially cause outages if you have live predict/search traffic. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.", +"type": "boolean" +}, +"updateMask": { +"description": "Indicates which fields in the provided imported `products` to update. If not set, all fields are updated. If provided, only the existing product fields are updated. Missing products will not be created.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportUserEventsRequest": { +"description": "Request message for the ImportUserEvents request.", +"id": "GoogleCloudRetailV2alphaImportUserEventsRequest", +"properties": { +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "The desired location of errors incurred during the Import. Cannot be set for inline user event imports." +}, +"inputConfig": { +"$ref": "GoogleCloudRetailV2alphaUserEventInputConfig", +"description": "Required. The desired input location of the data." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2alphaImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2alphaImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2alphaUserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaIntentClassificationConfig": { +"description": "The public proto to represent the intent classification config. It will be converted to the internal proto in the backend.", +"id": "GoogleCloudRetailV2alphaIntentClassificationConfig", +"properties": { +"blocklistKeywords": { +"description": "Optional. A list of keywords that will be used to classify the query to the \"BLOCKLISTED\" intent type. The keywords are case insensitive.", +"items": { +"type": "string" +}, +"type": "array" +}, +"disabledIntentTypes": { +"description": "Optional. A list of intent types that will be disabled for this customer. The intent types must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"items": { +"type": "string" +}, +"type": "array" +}, +"example": { +"description": "Optional. A list of examples for intent classification.", +"items": { +"$ref": "GoogleCloudRetailV2alphaIntentClassificationConfigExample" +}, +"type": "array" +}, +"inlineSource": { +"$ref": "GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource", +"description": "Optional. Inline source for intent classifications." +}, +"modelPreamble": { +"description": "Optional. Customers can use the preamble to specify any requirements for blocklisting intent classification. This preamble will be added to the blocklisting intent classification model prompt.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaIntentClassificationConfigExample": { +"description": "An example for intent classification.", +"id": "GoogleCloudRetailV2alphaIntentClassificationConfigExample", +"properties": { +"classifiedPositive": { +"description": "Required. Whether the example is classified positively.", +"type": "boolean" +}, +"intentType": { +"description": "Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"type": "string" +}, +"query": { +"description": "Required. Example query.", +"type": "string" +}, +"reason": { +"description": "Optional. The reason for the intent classification. This is used to explain the intent classification decision.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent": { +"description": "An inline force intent classification configuration.", +"id": "GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent", +"properties": { +"intentType": { +"description": "Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype", +"type": "string" +}, +"operation": { +"description": "Optional. The operation to perform for the query.", +"enum": [ +"OPERATION_UNSPECIFIED", +"EXACT_MATCH", +"CONTAINS" +], +"enumDescriptions": [ +"Unspecified match operation.", +"Exact match.", +"Contains match." +], +"type": "string" +}, +"query": { +"description": "Optional. A example query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource": { +"description": "Inline source for intent classifications.", +"id": "GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource", +"properties": { +"inlineForceIntents": { +"description": "Optional. A list of inline force intent classifications.", +"items": { +"$ref": "GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaInterval": { +"description": "A floating point interval.", +"id": "GoogleCloudRetailV2alphaInterval", +"properties": { +"exclusiveMaximum": { +"description": "Exclusive upper bound.", +"format": "double", +"type": "number" +}, +"exclusiveMinimum": { +"description": "Exclusive lower bound.", +"format": "double", +"type": "number" +}, +"maximum": { +"description": "Inclusive upper bound.", +"format": "double", +"type": "number" +}, +"minimum": { +"description": "Inclusive lower bound.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListBranchesResponse": { +"description": "Response for BranchService.ListBranches method.", +"id": "GoogleCloudRetailV2alphaListBranchesResponse", +"properties": { +"branches": { +"description": "The Branches.", +"items": { +"$ref": "GoogleCloudRetailV2alphaBranch" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListCatalogsResponse": { +"description": "Response for CatalogService.ListCatalogs method.", +"id": "GoogleCloudRetailV2alphaListCatalogsResponse", +"properties": { +"catalogs": { +"description": "All the customer's Catalogs.", +"items": { +"$ref": "GoogleCloudRetailV2alphaCatalog" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as ListCatalogsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListControlsResponse": { +"description": "Response for ListControls method.", +"id": "GoogleCloudRetailV2alphaListControlsResponse", +"properties": { +"controls": { +"description": "All the Controls for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2alphaControl" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListEnrolledSolutionsResponse": { +"description": "Response for ListEnrolledSolutions method.", +"id": "GoogleCloudRetailV2alphaListEnrolledSolutionsResponse", +"properties": { +"enrolledSolutions": { +"description": "Retail API solutions that the project has enrolled.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse": { +"description": "Response for ListQuestions method.", +"id": "GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse", +"properties": { +"generativeQuestionConfigs": { +"description": "All the questions for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse": { +"description": "Response for MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks method.", +"id": "GoogleCloudRetailV2alphaListMerchantCenterAccountLinksResponse", +"properties": { +"merchantCenterAccountLinks": { +"description": "The links.", +"items": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterAccountLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListModelsResponse": { +"description": "Response to a ListModelRequest.", +"id": "GoogleCloudRetailV2alphaListModelsResponse", +"properties": { +"models": { +"description": "List of Models.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModel" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListProductsResponse": { +"description": "Response message for ProductService.ListProducts method.", +"id": "GoogleCloudRetailV2alphaListProductsResponse", +"properties": { +"nextPageToken": { +"description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"products": { +"description": "The Products.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"type": "array" +}, +"totalSize": { +"description": "The total count of matched Products irrespective of pagination. The total number of Products returned by pagination may be less than the total_size that matches. This field is ignored if ListProductsRequest.require_total_size is not set or ListProductsRequest.page_token is not empty.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaListServingConfigsResponse": { +"description": "Response for ListServingConfigs method.", +"id": "GoogleCloudRetailV2alphaListServingConfigsResponse", +"properties": { +"nextPageToken": { +"description": "Pagination token, if not returned indicates the last page.", +"type": "string" +}, +"servingConfigs": { +"description": "All the ServingConfigs for a given catalog.", +"items": { +"$ref": "GoogleCloudRetailV2alphaServingConfig" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaLocalInventory": { +"description": "The inventory information at a place (e.g. a store) identified by a place ID.", +"id": "GoogleCloudRetailV2alphaLocalInventory", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCustomAttribute" +}, +"description": "Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.", +"type": "object" +}, +"availability": { +"description": "Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details.", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"PREORDER", +"BACKORDER" +], +"enumDescriptions": [ +"Default product availability. Default to Availability.IN_STOCK if unset.", +"Product in stock.", +"Product out of stock.", +"Product that is in pre-order state.", +"Product that is back-ordered (i.e. temporarily out of stock)." +], +"type": "string" +}, +"fulfillmentTypes": { +"description": "Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"placeId": { +"description": "Optional. The place ID for the current set of inventory information.", +"type": "string" +}, +"priceInfo": { +"$ref": "GoogleCloudRetailV2alphaPriceInfo", +"description": "Optional. Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaLoggingConfig": { +"description": "Project level logging config to control what level of log will be generated and written to Cloud Logging.", +"id": "GoogleCloudRetailV2alphaLoggingConfig", +"properties": { +"defaultLogGenerationRule": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule", +"description": "The log generation rule that applies by default to all services supporting log generation. It can be overridden by ServiceLogGenerationRule for service level control." +}, +"name": { +"description": "Required. Immutable. The name of the LoggingConfig singleton resource. Format: projects/*/loggingConfig", +"type": "string" +}, +"serviceLogGenerationRules": { +"description": "Controls logging configurations more granularly for each supported service. This overrides the default_log_generation_rule for the services specified. For those not mentioned, they will fallback to the default log generation rule.", +"items": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule": { +"description": "The logging configurations for services supporting log generation.", +"id": "GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule", +"properties": { +"infoLogSampleRate": { +"description": "The log sample rate for INFO level log entries. You can use this to reduce the number of entries generated for INFO level logs. DO NOT set this field if the logging_level is not LoggingLevel.LOG_ALL. Otherwise, an INVALID_ARGUMENT error is returned. Sample rate for INFO logs defaults to 1 when unset (generate and send all INFO logs to Cloud Logging). Its value must be greater than 0 and less than or equal to 1.", +"format": "float", +"type": "number" +}, +"loggingLevel": { +"description": "The logging level. By default it is set to `LOG_WARNINGS_AND_ABOVE`.", +"enum": [ +"LOGGING_LEVEL_UNSPECIFIED", +"LOGGING_DISABLED", +"LOG_ERRORS_AND_ABOVE", +"LOG_WARNINGS_AND_ABOVE", +"LOG_ALL" +], +"enumDescriptions": [ +"Default value. Defaults to `LOG_FOR_WARNINGS_AND_ABOVE` if unset.", +"No log will be generated and sent to Cloud Logging.", +"Log for operations resulted in fatal error.", +"In addition to `LOG_ERRORS_AND_ABOVE`, also log for operations that have soft errors, quality suggestions.", +"Log all operations, including successful ones." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule": { +"description": "The granular logging configurations for supported services.", +"id": "GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule", +"properties": { +"logGenerationRule": { +"$ref": "GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule", +"description": "The log generation rule that applies to this service." +}, +"serviceName": { +"description": "Required. Supported service names: \"CatalogService\", \"CompletionService\", \"ControlService\", \"MerchantCenterStreaming\", \"ModelService\", \"PredictionService\", \"ProductService\", \"ServingConfigService\", \"UserEventService\",", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterAccountLink": { +"description": "Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.", +"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLink", +"properties": { +"branchId": { +"description": "Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.", +"type": "string" +}, +"feedFilters": { +"description": "Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.", +"items": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter" +}, +"type": "array" +}, +"feedLabel": { +"description": "The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.", +"type": "string" +}, +"id": { +"description": "Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of name. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.", +"readOnly": true, +"type": "string" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty, no language filtering will be performed. Example value: `en`.", +"type": "string" +}, +"merchantCenterAccountId": { +"description": "Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.", +"format": "int64", +"type": "string" +}, +"name": { +"description": "Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.", +"readOnly": true, +"type": "string" +}, +"projectId": { +"description": "Output only. Google Cloud project ID.", +"readOnly": true, +"type": "string" +}, +"source": { +"description": "Optional. An optional arbitrary string that could be used as a tag for tracking link source.", +"type": "string" +}, +"state": { +"description": "Output only. Represents the state of the link.", +"enum": [ +"STATE_UNSPECIFIED", +"PENDING", +"ACTIVE", +"FAILED" +], +"enumDescriptions": [ +"Default value.", +"Link is created and LRO is not complete.", +"Link is active.", +"Link creation failed." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter": { +"description": "Merchant Center Feed filter criterion.", +"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter", +"properties": { +"dataSourceId": { +"description": "AFM data source ID.", +"format": "int64", +"type": "string" +}, +"primaryFeedId": { +"deprecated": true, +"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", +"format": "int64", +"type": "string" +}, +"primaryFeedName": { +"description": "Merchant Center primary feed name. The name is used for the display purposes only.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterFeedFilter": { +"description": "Merchant Center Feed filter criterion.", +"id": "GoogleCloudRetailV2alphaMerchantCenterFeedFilter", +"properties": { +"dataSourceId": { +"description": "AFM data source ID.", +"format": "int64", +"type": "string" +}, +"primaryFeedId": { +"deprecated": true, +"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.", +"format": "int64", +"type": "string" +}, +"primaryFeedName": { +"description": "Merchant Center primary feed name. The name is used for the display purposes only.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterLink": { +"description": "Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.", +"id": "GoogleCloudRetailV2alphaMerchantCenterLink", +"properties": { +"branchId": { +"description": "The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.", +"type": "string" +}, +"destinations": { +"description": "String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: \"Shopping_ads\", \"Buy_on_google_listings\", \"Display_ads\", \"Local_inventory _ads\", \"Free_listings\", \"Free_local_listings\" NOTE: The string values are case sensitive.", +"items": { +"type": "string" +}, +"type": "array" +}, +"feeds": { +"description": "Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.", +"items": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterFeedFilter" +}, +"type": "array" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.", +"type": "string" +}, +"merchantCenterAccountId": { +"description": "Required. The linked [Merchant Center account ID](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.", +"format": "int64", +"type": "string" +}, +"regionCode": { +"description": "Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaMerchantCenterLinkingConfig": { +"description": "Configures Merchant Center linking. Links contained in the config will be used to sync data from a Merchant Center account to a Cloud Retail branch.", +"id": "GoogleCloudRetailV2alphaMerchantCenterLinkingConfig", +"properties": { +"links": { +"description": "Links between Merchant Center accounts and branches.", +"items": { +"$ref": "GoogleCloudRetailV2alphaMerchantCenterLink" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModel": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2alphaModel", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2alphaModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"pageOptimizationConfig": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfig", +"description": "Optional. The page optimization config." +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2alphaModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfig": { +"description": "The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfig", +"properties": { +"pageOptimizationEventType": { +"description": "Required. The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.", +"type": "string" +}, +"panels": { +"description": "Required. A list of panel configurations. Limit = 5.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel" +}, +"type": "array" +}, +"restriction": { +"description": "Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.", +"enum": [ +"RESTRICTION_UNSPECIFIED", +"NO_RESTRICTION", +"UNIQUE_SERVING_CONFIG_RESTRICTION", +"UNIQUE_MODEL_RESTRICTION", +"UNIQUE_MODEL_TYPE_RESTRICTION" +], +"enumDescriptions": [ +"Unspecified value for restriction.", +"Allow any ServingConfig to be show on any number of panels. Example: `Panel1 candidates`: pdp_ctr, pdp_cvr, home_page_ctr_no_diversity `Panel2 candidates`: home_page_ctr_no_diversity, home_page_ctr_diversity, pdp_cvr_no_diversity `Restriction` = NO_RESTRICTION `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: []", +"Do not allow the same ServingConfig.name to be shown on multiple panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_SERVING_CONFIG_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity_low) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) *", +"Do not allow multiple ServingConfigs with same Model.name to be show on on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) *", +"Do not allow multiple ServingConfigs with same Model.type to be shown on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) *" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate": { +"description": "A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate", +"properties": { +"servingConfigId": { +"description": "This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel": { +"description": "An individual panel with a list of ServingConfigs to consider for it.", +"id": "GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel", +"properties": { +"candidates": { +"description": "Required. The candidates to consider on the panel.", +"items": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate" +}, +"type": "array" +}, +"defaultCandidate": { +"$ref": "GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate", +"description": "Required. The default candidate. If the model fails at serving time, we fall back to the default." +}, +"displayName": { +"description": "Optional. The name to display for the panel.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2alphaModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaOutputConfig": { +"description": "The output configuration setting.", +"id": "GoogleCloudRetailV2alphaOutputConfig", +"properties": { +"bigqueryDestination": { +"$ref": "GoogleCloudRetailV2alphaOutputConfigBigQueryDestination", +"description": "The BigQuery location where the output is to be written to." +}, +"gcsDestination": { +"$ref": "GoogleCloudRetailV2alphaOutputConfigGcsDestination", +"description": "The Google Cloud Storage location where the output is to be written to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaOutputConfigBigQueryDestination": { +"description": "The BigQuery output destination configuration.", +"id": "GoogleCloudRetailV2alphaOutputConfigBigQueryDestination", +"properties": { +"datasetId": { +"description": "Required. The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableIdPrefix": { +"description": "Required. The prefix of exported BigQuery tables.", +"type": "string" +}, +"tableType": { +"description": "Required. Describes the table type. The following values are supported: * `table`: A BigQuery native table. * `view`: A virtual table defined by a SQL query.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaOutputConfigGcsDestination": { +"description": "The Google Cloud Storage output destination configuration.", +"id": "GoogleCloudRetailV2alphaOutputConfigGcsDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) ======================== ============================================= gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaOutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2alphaOutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2alphaBigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2alphaGcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPanelInfo": { +"description": "Detailed panel information associated with a user event.", +"id": "GoogleCloudRetailV2alphaPanelInfo", +"properties": { +"attributionToken": { +"description": "Optional. The attribution token of the panel.", +"type": "string" +}, +"displayName": { +"description": "Optional. The display name of the panel.", +"type": "string" +}, +"panelId": { +"description": "Required. The panel ID.", +"type": "string" +}, +"panelPosition": { +"description": "Optional. The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set.", +"format": "int32", +"type": "integer" +}, +"productDetails": { +"description": "Optional. The product details associated with the panel.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProductDetail" +}, +"type": "array" +}, +"totalPanels": { +"description": "Optional. The total number of panels, including this one, shown to the user. Must be set if panel_position is set.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPauseModelRequest": { +"description": "Request for pausing training of a model.", +"id": "GoogleCloudRetailV2alphaPauseModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPinControlMetadata": { +"description": "Metadata for pinning to be returned in the response. This is used for distinguishing between applied vs dropped pins.", +"id": "GoogleCloudRetailV2alphaPinControlMetadata", +"properties": { +"allMatchedPins": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaPinControlMetadataProductPins" +}, +"description": "Map of all matched pins, keyed by pin position.", +"type": "object" +}, +"droppedPins": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaPinControlMetadataProductPins" +}, +"description": "Map of pins that were dropped due to overlap with other matching pins, keyed by pin position.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPinControlMetadataProductPins": { +"description": "List of product ids which have associated pins.", +"id": "GoogleCloudRetailV2alphaPinControlMetadataProductPins", +"properties": { +"productId": { +"description": "List of product ids which have associated pins.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPredictRequest": { +"description": "Request message for Predict method.", +"id": "GoogleCloudRetailV2alphaPredictRequest", +"properties": { +"filter": { +"description": "Filter for restricting prediction results with a length limit of 5,000 characters. Accepts values for tags and the `filterOutOfStockItems` flag. * Tag expressions. Restricts predictions to products that match all of the specified tags. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses, and must be separated from the tag values by a space. `-\"tagA\"` is also supported and is equivalent to `NOT \"tagA\"`. Tag values must be double quoted UTF-8 encoded strings with a size limit of 1,000 characters. Note: \"Recently viewed\" models don't support tag filtering at the moment. * filterOutOfStockItems. Restricts predictions to products that do not have a stockState value of OUT_OF_STOCK. Examples: * tag=(\"Red\" OR \"Blue\") tag=\"New-Arrival\" tag=(NOT \"promotional\") * filterOutOfStockItems tag=(-\"promotional\") * filterOutOfStockItems If your filter blocks all prediction results, the API will return *no* results. If instead you want empty result sets to return generic (unfiltered) popular products, set `strictFiltering` to False in `PredictRequest.params`. Note that the API will never return items with storageStatus of \"EXPIRED\" or \"DELETED\" regardless of filter choices. If `filterSyntaxV2` is set to true under the `params` field, then attribute-based expressions are expected instead of the above described tag-based syntax. Examples: * (colors: ANY(\"Red\", \"Blue\")) AND NOT (categories: ANY(\"Phones\")) * (availability: ANY(\"IN_STOCK\")) AND (colors: ANY(\"Red\") OR categories: ANY(\"Phones\")) For more information, see [Filter recommendations](https://cloud.google.com/retail/docs/filter-recs).", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details.", +"type": "object" +}, +"pageSize": { +"description": "Maximum number of results to return. Set this property to the number of prediction results needed. If zero, the service will choose a reasonable default. The maximum allowed value is 100. Values above 100 will be coerced to 100.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"deprecated": true, +"description": "This field is not used; leave it unset.", +"type": "string" +}, +"params": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional domain specific parameters for the predictions. Allowed values: * `returnProduct`: Boolean. If set to true, the associated product object will be returned in the `results.metadata` field in the prediction response. * `returnScore`: Boolean. If set to true, the prediction 'score' corresponding to each returned product will be set in the `results.metadata` field in the prediction response. The given 'score' indicates the probability of a product being clicked/purchased given the user's context and history. * `strictFiltering`: Boolean. True by default. If set to false, the service will return generic (unfiltered) popular products instead of empty if your filter blocks all prediction results. * `priceRerankLevel`: String. Default empty. If set to be non-empty, then it needs to be one of {'no-price-reranking', 'low-price-reranking', 'medium-price-reranking', 'high-price-reranking'}. This gives request-level control and adjusts prediction results based on product price. * `diversityLevel`: String. Default empty. If set to be non-empty, then it needs to be one of {'no-diversity', 'low-diversity', 'medium-diversity', 'high-diversity', 'auto-diversity'}. This gives request-level control and adjusts prediction results based on product category. * `filterSyntaxV2`: Boolean. False by default. If set to true, the `filter` field is interpreteted according to the new, attribute-based syntax.", +"type": "object" +}, +"userEvent": { +"$ref": "GoogleCloudRetailV2alphaUserEvent", +"description": "Required. Context about the user, what they are looking at and what action they took to trigger the predict request. Note that this user event detail won't be ingested to userEvent logs. Thus, a separate userEvent write request is required for event logging. Don't set UserEvent.visitor_id or UserInfo.user_id to the same fixed ID for different users. If you are trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserEvent.visitor_id to a random unique ID and leave UserInfo.user_id unset." +}, +"validateOnly": { +"description": "Use validate only mode for this prediction query. If set to true, a dummy model will be used that returns arbitrary products. Note that the validate only mode should only be used for testing the API, or if the model is not ready.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPredictResponse": { +"description": "Response message for predict method.", +"id": "GoogleCloudRetailV2alphaPredictResponse", +"properties": { +"attributionToken": { +"description": "A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.", +"type": "string" +}, +"missingIds": { +"description": "IDs of products in the request that were missing from the inventory.", +"items": { +"type": "string" +}, +"type": "array" +}, +"results": { +"description": "A list of recommended products. The order represents the ranking (from the most relevant product to the least).", +"items": { +"$ref": "GoogleCloudRetailV2alphaPredictResponsePredictionResult" +}, +"type": "array" +}, +"validateOnly": { +"description": "True if the validateOnly property was set in the request.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPredictResponsePredictionResult": { +"description": "PredictionResult represents the recommendation prediction results.", +"id": "GoogleCloudRetailV2alphaPredictResponsePredictionResult", +"properties": { +"id": { +"description": "ID of the recommended product", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"type": "any" +}, +"description": "Additional product metadata / annotations. Possible values: * `product`: JSON representation of the product. Is set if `returnProduct` is set to true in `PredictRequest.params`. * `score`: Prediction score in double value. Is set if `returnScore` is set to true in `PredictRequest.params`.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPriceInfo": { +"description": "The price information of a Product.", +"id": "GoogleCloudRetailV2alphaPriceInfo", +"properties": { +"cost": { +"description": "The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).", +"format": "float", +"type": "number" +}, +"currencyCode": { +"description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.", +"type": "string" +}, +"originalPrice": { +"description": "Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.", +"format": "float", +"type": "number" +}, +"price": { +"description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).", +"format": "float", +"type": "number" +}, +"priceEffectiveTime": { +"description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.", +"format": "google-datetime", +"type": "string" +}, +"priceExpireTime": { +"description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.", +"format": "google-datetime", +"type": "string" +}, +"priceRange": { +"$ref": "GoogleCloudRetailV2alphaPriceInfoPriceRange", +"description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", +"readOnly": true +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPriceInfoPriceRange": { +"description": "The price range of all variant Product having the same Product.primary_product_id.", +"id": "GoogleCloudRetailV2alphaPriceInfoPriceRange", +"properties": { +"originalPrice": { +"$ref": "GoogleCloudRetailV2alphaInterval", +"description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id." +}, +"price": { +"$ref": "GoogleCloudRetailV2alphaInterval", +"description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProduct": { +"description": "Product captures all metadata information of items to be recommended or searched.", +"id": "GoogleCloudRetailV2alphaProduct", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCustomAttribute" +}, +"description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.", +"type": "object" +}, +"audience": { +"$ref": "GoogleCloudRetailV2alphaAudience", +"description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product." +}, +"availability": { +"description": "The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered \"in stock\" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).", +"enum": [ +"AVAILABILITY_UNSPECIFIED", +"IN_STOCK", +"OUT_OF_STOCK", +"PREORDER", +"BACKORDER" +], +"enumDescriptions": [ +"Default product availability. Default to Availability.IN_STOCK if unset.", +"Product in stock.", +"Product out of stock.", +"Product that is in pre-order state.", +"Product that is back-ordered (i.e. temporarily out of stock)." +], +"type": "string" +}, +"availableQuantity": { +"description": "The available quantity of the item.", +"format": "int32", +"type": "integer" +}, +"availableTime": { +"description": "The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.", +"format": "google-datetime", +"type": "string" +}, +"brands": { +"description": "The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", +"items": { +"type": "string" +}, +"type": "array" +}, +"categories": { +"description": "Optional. Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product unless overridden through the Google Cloud console. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436", +"items": { +"type": "string" +}, +"type": "array" +}, +"collectionMemberIds": { +"description": "The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.", +"items": { +"type": "string" +}, +"type": "array" +}, +"colorInfo": { +"$ref": "GoogleCloudRetailV2alphaColorInfo", +"description": "The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)." +}, +"conditions": { +"description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).", +"items": { +"type": "string" +}, +"type": "array" +}, +"description": { +"description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).", +"type": "string" +}, +"expireTime": { +"description": "Note that this field is applied in the following ways: * If the Product is already expired when it is uploaded, this product is not indexed for search. * If the Product is not expired when it is uploaded, only the Type.PRIMARY's and Type.COLLECTION's expireTime is respected, and Type.VARIANT's expireTime is not used. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).", +"format": "google-datetime", +"type": "string" +}, +"fulfillmentInfo": { +"description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"$ref": "GoogleCloudRetailV2alphaFulfillmentInfo" +}, +"type": "array" +}, +"gtin": { +"description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"id": { +"description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org property [Product.sku](https://schema.org/sku).", +"type": "string" +}, +"images": { +"description": "Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).", +"items": { +"$ref": "GoogleCloudRetailV2alphaImage" +}, +"type": "array" +}, +"languageCode": { +"description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.", +"type": "string" +}, +"localInventories": { +"description": "Output only. A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.", +"items": { +"$ref": "GoogleCloudRetailV2alphaLocalInventory" +}, +"readOnly": true, +"type": "array" +}, +"materials": { +"description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.", +"type": "string" +}, +"patterns": { +"description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).", +"items": { +"type": "string" +}, +"type": "array" +}, +"priceInfo": { +"$ref": "GoogleCloudRetailV2alphaPriceInfo", +"description": "Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)." +}, +"primaryProductId": { +"description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).", +"type": "string" +}, +"promotions": { +"description": "The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.", +"items": { +"$ref": "GoogleCloudRetailV2alphaPromotion" +}, +"type": "array" +}, +"publishTime": { +"description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.", +"format": "google-datetime", +"type": "string" +}, +"rating": { +"$ref": "GoogleCloudRetailV2alphaRating", +"description": "The rating of this product." +}, +"retrievableFields": { +"deprecated": true, +"description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.", +"format": "google-fieldmask", +"type": "string" +}, +"sizes": { +"description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0\u20134](https://support.google.com/merchants/answer/6324473).", +"items": { +"type": "string" +}, +"type": "array" +}, +"title": { +"description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).", +"type": "string" +}, +"ttl": { +"description": "Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.", +"enum": [ +"TYPE_UNSPECIFIED", +"PRIMARY", +"VARIANT", +"COLLECTION" +], +"enumDescriptions": [ +"Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.", +"The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.", +"The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.", +"The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc." +], +"type": "string" +}, +"uri": { +"description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).", +"type": "string" +}, +"variants": { +"description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductAttributeInterval": { +"description": "Product attribute name and numeric interval.", +"id": "GoogleCloudRetailV2alphaProductAttributeInterval", +"properties": { +"interval": { +"$ref": "GoogleCloudRetailV2alphaInterval", +"description": "The numeric interval (e.g. [10, 20))" +}, +"name": { +"description": "The attribute name (e.g. \"length\")", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductAttributeValue": { +"description": "Product attribute which structured by an attribute name and value. This structure is used in conversational search filters and answers. For example, if we have `name=color` and `value=red`, this means that the color is `red`.", +"id": "GoogleCloudRetailV2alphaProductAttributeValue", +"properties": { +"name": { +"description": "The attribute name.", +"type": "string" +}, +"value": { +"description": "The attribute value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductDetail": { +"description": "Detailed product information associated with a user event.", +"id": "GoogleCloudRetailV2alphaProductDetail", +"properties": { +"product": { +"$ref": "GoogleCloudRetailV2alphaProduct", +"description": "Required. Product information. Required field(s): * Product.id Optional override field(s): * Product.price_info If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion." +}, +"quantity": { +"description": "Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductInlineSource": { +"description": "The inline source for the input config for ImportProducts method.", +"id": "GoogleCloudRetailV2alphaProductInlineSource", +"properties": { +"products": { +"description": "Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProduct" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductInputConfig": { +"description": "The input config source for products.", +"id": "GoogleCloudRetailV2alphaProductInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2alphaBigQuerySource", +"description": "BigQuery input source." +}, +"gcsSource": { +"$ref": "GoogleCloudRetailV2alphaGcsSource", +"description": "Google Cloud Storage location for the input content." +}, +"productInlineSource": { +"$ref": "GoogleCloudRetailV2alphaProductInlineSource", +"description": "The Inline source for the input content for products." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProductLevelConfig": { +"description": "Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.", +"id": "GoogleCloudRetailV2alphaProductLevelConfig", +"properties": { +"ingestionProductType": { +"description": "The type of Products allowed to be ingested into the catalog. Acceptable values are: * `primary` (default): You can ingest Products of all types. When ingesting a Product, its type will default to Product.Type.PRIMARY if unset. * `variant` (incompatible with Retail Search): You can only ingest Product.Type.VARIANT Products. This means Product.primary_product_id cannot be empty. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `variant` and merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#product-levels) for more details.", +"type": "string" +}, +"merchantCenterProductIdField": { +"description": "Which field of [Merchant Center Product](/bigquery-transfer/docs/merchant-center-products-schema) should be imported as Product.id. Acceptable values are: * `offerId` (default): Import `offerId` as the product ID. * `itemGroupId`: Import `itemGroupId` as the product ID. Notice that Retail API will choose one item from the ones with the same `itemGroupId`, and use it to represent the item group. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned. See [Product levels](https://cloud.google.com/retail/docs/catalog#product-levels) for more details.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaProject": { +"description": "Metadata that describes a Cloud Retail Project.", +"id": "GoogleCloudRetailV2alphaProject", +"properties": { +"enrolledSolutions": { +"description": "Output only. Retail API solutions that the project has enrolled.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "Output only. Full resource name of the retail project, such as `projects/{project_id_or_number}/retailProject`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPromotion": { +"description": "Promotion specification.", +"id": "GoogleCloudRetailV2alphaPromotion", +"properties": { +"promotionId": { +"description": "Promotion identifier, which is the final component of name. For example, this field is \"free_gift\", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurchaseTransaction": { +"description": "A transaction represents the entire purchase transaction.", +"id": "GoogleCloudRetailV2alphaPurchaseTransaction", +"properties": { +"cost": { +"description": "All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = revenue - tax - cost", +"format": "float", +"type": "number" +}, +"currencyCode": { +"description": "Required. Currency code. Use three-character ISO-4217 code.", +"type": "string" +}, +"id": { +"description": "The transaction ID with a length limit of 128 characters.", +"type": "string" +}, +"revenue": { +"description": "Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.", +"format": "float", +"type": "number" +}, +"tax": { +"description": "All the taxes associated with the transaction.", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaPurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2alphaPurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeProductsRequest": { +"description": "Request message for PurgeProducts method.", +"id": "GoogleCloudRetailV2alphaPurgeProductsRequest", +"properties": { +"filter": { +"description": "Required. The filter string to specify the products to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. \"*\" implies delete all items in a branch. The eligible fields for filtering are: * `availability`: Double quoted Product.availability string. * `create_time` : in ISO 8601 \"zulu\" format. Supported syntax: * Comparators (\">\", \"<\", \">=\", \"<=\", \"=\"). Examples: * create_time <= \"2015-02-13T17:05:46Z\" * availability = \"IN_STOCK\" * Conjunctions (\"AND\") Examples: * create_time <= \"2015-02-13T17:05:46Z\" AND availability = \"PREORDER\" * Disjunctions (\"OR\") Examples: * create_time <= \"2015-02-13T17:05:46Z\" OR availability = \"IN_STOCK\" * Can support nested queries. Examples: * (create_time <= \"2015-02-13T17:05:46Z\" AND availability = \"PREORDER\") OR (create_time >= \"2015-02-14T13:03:32Z\" AND availability = \"IN_STOCK\") * Filter Limits: * Filter should not contain more than 6 conditions. * Max nesting depth should not exceed 2 levels. Examples queries: * Delete back order products created before a timestamp. create_time <= \"2015-02-13T17:05:46Z\" OR availability = \"BACKORDER\"", +"type": "string" +}, +"force": { +"description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any products.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2alphaPurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeUserEventsRequest": { +"description": "Request message for PurgeUserEvents method.", +"id": "GoogleCloudRetailV2alphaPurgeUserEventsRequest", +"properties": { +"filter": { +"description": "Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. Empty string filter is not allowed. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 \"zulu\" format. * `visitorId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Examples: * Deleting all events in a time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventTime < \"2012-04-23T18:30:43.511Z\"` * Deleting specific eventType in time range: `eventTime > \"2012-04-23T18:25:43.511Z\" eventType = \"detail-page-view\"` * Deleting all events for a specific visitor: `visitorId = \"visitor1024\"` The filtering fields are assumed to have an implicit AND.", +"type": "string" +}, +"force": { +"description": "Actually perform the purge. If `force` is set to false, the method will return the expected purge count without deleting any user events.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaPurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2alphaPurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRating": { +"description": "The rating of a Product.", +"id": "GoogleCloudRetailV2alphaRating", +"properties": { +"averageRating": { +"description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "float", +"type": "number" +}, +"ratingCount": { +"description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"ratingHistogram": { +"description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2alphaRejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRejoinUserEventsRequest": { +"description": "Request message for RejoinUserEvents method.", +"id": "GoogleCloudRetailV2alphaRejoinUserEventsRequest", +"properties": { +"userEventRejoinScope": { +"description": "The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an invalid integer value.", +"enum": [ +"USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", +"JOINED_EVENTS", +"UNJOINED_EVENTS" +], +"enumDescriptions": [ +"Rejoin all events with the latest product catalog, including both joined events and unjoined events.", +"Only rejoin joined events with the latest product catalog.", +"Only rejoin unjoined events with the latest product catalog." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2alphaRejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest": { +"description": "Request for CatalogService.RemoveCatalogAttribute method.", +"id": "GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest", +"properties": { +"key": { +"description": "Required. The attribute name key of the CatalogAttribute to remove.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveControlRequest": { +"description": "Request for RemoveControl method.", +"id": "GoogleCloudRetailV2alphaRemoveControlRequest", +"properties": { +"controlId": { +"description": "Required. The id of the control to apply. Assumed to be in the same catalog as the serving config.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest": { +"description": "Request message for ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeTime": { +"description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +}, +"type": { +"description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2alphaRemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest": { +"description": "Request message for ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2alphaRemoveLocalInventoriesRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product is not found, the local inventory removal request will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"placeIds": { +"description": "Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.", +"items": { +"type": "string" +}, +"type": "array" +}, +"removeTime": { +"description": "The time when the inventory deletions are issued. Used to prevent out-of-order updates and deletions on local inventory fields. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2alphaRemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest": { +"description": "Request for CatalogService.ReplaceCatalogAttribute method.", +"id": "GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest", +"properties": { +"catalogAttribute": { +"$ref": "GoogleCloudRetailV2alphaCatalogAttribute", +"description": "Required. The updated CatalogAttribute." +}, +"updateMask": { +"description": "Indicates which fields in the provided CatalogAttribute to update. The following are NOT supported: * CatalogAttribute.key If not set, all supported fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaResumeModelRequest": { +"description": "Request for resuming training of a model.", +"id": "GoogleCloudRetailV2alphaResumeModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRule": { +"description": "A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.", +"id": "GoogleCloudRetailV2alphaRule", +"properties": { +"boostAction": { +"$ref": "GoogleCloudRetailV2alphaRuleBoostAction", +"description": "A boost action." +}, +"condition": { +"$ref": "GoogleCloudRetailV2alphaCondition", +"description": "Required. The condition that triggers the rule. If the condition is empty, the rule will always apply." +}, +"doNotAssociateAction": { +"$ref": "GoogleCloudRetailV2alphaRuleDoNotAssociateAction", +"description": "Prevents term from being associated with other terms." +}, +"filterAction": { +"$ref": "GoogleCloudRetailV2alphaRuleFilterAction", +"description": "Filters results." +}, +"forceReturnFacetAction": { +"$ref": "GoogleCloudRetailV2alphaRuleForceReturnFacetAction", +"description": "Force returns an attribute as a facet in the request." +}, +"ignoreAction": { +"$ref": "GoogleCloudRetailV2alphaRuleIgnoreAction", +"description": "Ignores specific terms from query during search." +}, +"onewaySynonymsAction": { +"$ref": "GoogleCloudRetailV2alphaRuleOnewaySynonymsAction", +"description": "Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term." +}, +"pinAction": { +"$ref": "GoogleCloudRetailV2alphaRulePinAction", +"description": "Pins one or more specified products to a specific position in the results." +}, +"redirectAction": { +"$ref": "GoogleCloudRetailV2alphaRuleRedirectAction", +"description": "Redirects a shopper to a specific page." +}, +"removeFacetAction": { +"$ref": "GoogleCloudRetailV2alphaRuleRemoveFacetAction", +"description": "Remove an attribute as a facet in the request (if present)." +}, +"replacementAction": { +"$ref": "GoogleCloudRetailV2alphaRuleReplacementAction", +"description": "Replaces specific terms in the query." +}, +"twowaySynonymsAction": { +"$ref": "GoogleCloudRetailV2alphaRuleTwowaySynonymsAction", +"description": "Treats a set of terms as synonyms of one another." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleBoostAction": { +"description": "A boost action to apply to results matching condition specified above.", +"id": "GoogleCloudRetailV2alphaRuleBoostAction", +"properties": { +"boost": { +"description": "Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"productsFilter": { +"description": "The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleDoNotAssociateAction": { +"description": "Prevents `query_term` from being associated with specified terms during search. Example: Don't associate \"gShoe\" and \"cheap\".", +"id": "GoogleCloudRetailV2alphaRuleDoNotAssociateAction", +"properties": { +"doNotAssociateTerms": { +"description": "Cannot contain duplicates or the query term. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"terms": { +"description": "Will be [deprecated = true] post migration;", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleFilterAction": { +"description": "* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.", +"id": "GoogleCloudRetailV2alphaRuleFilterAction", +"properties": { +"filter": { +"description": "A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleForceReturnFacetAction": { +"description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", +"id": "GoogleCloudRetailV2alphaRuleForceReturnFacetAction", +"properties": { +"facetPositionAdjustments": { +"description": "Each instance corresponds to a force return attribute for the given condition. There can't be more 15 instances here.", +"items": { +"$ref": "GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment": { +"description": "Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.", +"id": "GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment", +"properties": { +"attributeName": { +"description": "The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.", +"type": "string" +}, +"position": { +"description": "This is the position in the request as explained above. It should be strictly positive be at most 100.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleIgnoreAction": { +"description": "Prevents a term in the query from being used in search. Example: Don't search for \"shoddy\".", +"id": "GoogleCloudRetailV2alphaRuleIgnoreAction", +"properties": { +"ignoreTerms": { +"description": "Terms to ignore in the search query.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleOnewaySynonymsAction": { +"description": "Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: \"sneakers\" will use a synonym of \"shoes\". \"shoes\" will not use a synonym of \"sneakers\".", +"id": "GoogleCloudRetailV2alphaRuleOnewaySynonymsAction", +"properties": { +"onewayTerms": { +"description": "Will be [deprecated = true] post migration;", +"items": { +"type": "string" +}, +"type": "array" +}, +"queryTerms": { +"description": "Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"synonyms": { +"description": "Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRulePinAction": { +"description": "Pins one or more specified products to a specific position in the results. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: mapping of `[pin_position, product_id]` pairs (pin position uses 1-based indexing). * Action Result: Will pin products with matching ids to the position specified in the final result order. Example: Suppose the query is `shoes`, the Condition.query_terms is `shoes` and the pin_map has `{1, \"pid1\"}`, then product with `pid1` will be pinned to the top position in the final results. If multiple PinActions are matched to a single request the actions will be processed from most to least recently updated. Pins to positions larger than the max allowed page size of 120 are not allowed.", +"id": "GoogleCloudRetailV2alphaRulePinAction", +"properties": { +"pinMap": { +"additionalProperties": { +"type": "string" +}, +"description": "Required. A map of positions to product_ids. Partial matches per action are allowed, if a certain position in the map is already filled that `[position, product_id]` pair will be ignored but the rest may still be applied. This case will only occur if multiple pin actions are matched to a single request, as the map guarantees that pin positions are unique within the same action. Duplicate product_ids are not permitted within a single pin map. The max size of this map is 120, equivalent to the max [request page size](https://cloud.google.com/retail/docs/reference/rest/v2/projects.locations.catalogs.placements/search#request-body).", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleRedirectAction": { +"description": "Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", +"id": "GoogleCloudRetailV2alphaRuleRedirectAction", +"properties": { +"redirectUri": { +"description": "URL must have length equal or less than 2000 characters.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleRemoveFacetAction": { +"description": "Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", +"id": "GoogleCloudRetailV2alphaRuleRemoveFacetAction", +"properties": { +"attributeNames": { +"description": "The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleReplacementAction": { +"description": "Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace \"gShoe\" with \"google shoe\".", +"id": "GoogleCloudRetailV2alphaRuleReplacementAction", +"properties": { +"queryTerms": { +"description": "Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replacementTerm": { +"description": "Term that will be used for replacement.", +"type": "string" +}, +"term": { +"description": "Will be [deprecated = true] post migration;", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaRuleTwowaySynonymsAction": { +"description": "Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of \"sneakers\" and \"shoes\": * \"sneakers\" will use a synonym of \"shoes\". * \"shoes\" will use a synonym of \"sneakers\".", +"id": "GoogleCloudRetailV2alphaRuleTwowaySynonymsAction", +"properties": { +"synonyms": { +"description": "Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSafetySetting": { +"description": "Safety settings.", +"id": "GoogleCloudRetailV2alphaSafetySetting", +"properties": { +"category": { +"description": "Harm category.", +"enum": [ +"HARM_CATEGORY_UNSPECIFIED", +"HARM_CATEGORY_HATE_SPEECH", +"HARM_CATEGORY_DANGEROUS_CONTENT", +"HARM_CATEGORY_HARASSMENT", +"HARM_CATEGORY_SEXUALLY_EXPLICIT", +"HARM_CATEGORY_CIVIC_INTEGRITY" +], +"enumDescriptions": [ +"The harm category is unspecified.", +"The harm category is hate speech.", +"The harm category is dangerous content.", +"The harm category is harassment.", +"The harm category is sexually explicit content.", +"The harm category is civic integrity." +], +"type": "string" +}, +"method": { +"description": "Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score.", +"enum": [ +"HARM_BLOCK_METHOD_UNSPECIFIED", +"SEVERITY", +"PROBABILITY" +], +"enumDescriptions": [ +"The harm block method is unspecified.", +"The harm block method uses both probability and severity scores.", +"The harm block method uses the probability score." +], +"type": "string" +}, +"threshold": { +"description": "The harm block threshold.", +"enum": [ +"HARM_BLOCK_THRESHOLD_UNSPECIFIED", +"BLOCK_LOW_AND_ABOVE", +"BLOCK_MEDIUM_AND_ABOVE", +"BLOCK_ONLY_HIGH", +"BLOCK_NONE", +"OFF" +], +"enumDescriptions": [ +"Unspecified harm block threshold.", +"Block low threshold and above (i.e. block more).", +"Block medium threshold and above.", +"Block only high threshold (i.e. block less).", +"Block none.", +"Turn off the safety filter." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequest": { +"description": "Request message for SearchService.Search method.", +"id": "GoogleCloudRetailV2alphaSearchRequest", +"properties": { +"boostSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpec", +"description": "Boost specification to boost certain products. For more information, see [Boost results](https://cloud.google.com/retail/docs/boosting). Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions." +}, +"branch": { +"description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.", +"type": "string" +}, +"canonicalFilter": { +"description": "The default filter that is applied when a user performs a search without checking any filters on the search page. The filter applied to every search request when quality improvement such as query expansion is needed. In the case a query does not have a sufficient amount of results this filter will be used to determine whether or not to enable the query expansion flow. The original filter will still be used for the query expanded search. This field is strongly recommended to achieve high search quality. For more information about filter syntax, see SearchRequest.filter.", +"type": "string" +}, +"conversationalSearchSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec", +"description": "Optional. This field specifies all conversational related parameters addition to traditional retail search." +}, +"dynamicFacetSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec", +"deprecated": true, +"description": "Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to enable dynamic facets. Do not set this field. The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated." +}, +"entity": { +"description": "The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. If this is set, it should be exactly matched with UserEvent.entity to get search results boosted by entity.", +"type": "string" +}, +"experimentId": { +"description": "Optional. An ID for the experiment group this search belongs to.", +"type": "string" +}, +"facetSpecs": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestFacetSpec" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. For more information, see [Filter](https://cloud.google.com/retail/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "The labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. For more information, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) in the Resource Manager documentation.", +"type": "object" +}, +"languageCode": { +"description": "Optional. The BCP-47 language code, such as \"en-US\" or \"sr-Latn\" [list](https://www.unicode.org/cldr/charts/46/summary/root.html). For more information, see [Standardized codes](https://google.aip.dev/143). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", +"type": "string" +}, +"offset": { +"description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. For more information, see [Order](https://cloud.google.com/retail/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent the full path of category, use '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageSize": { +"description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"personalizationSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec", +"description": "The specification for personalization. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec." +}, +"placeId": { +"description": "Optional. An id corresponding to a place, such as a store id or region id. When specified, we use the price from the local inventory with the matching product's LocalInventory.place_id for revenue optimization. Note, the currency of the local inventory's price must match the currency of the product's price.", +"type": "string" +}, +"query": { +"description": "Raw search query. If this field is empty, the request is considered a category browsing request and returned results are based on filter and page_categories.", +"type": "string" +}, +"queryExpansionSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec", +"description": "The query expansion specification that specifies the conditions under which query expansion occurs. For more information, see [Query expansion](https://cloud.google.com/retail/docs/result-size#query_expansion)." +}, +"regionCode": { +"description": "Optional. The Unicode country/region code (CLDR) of a location, such as \"US\" and \"419\" [list](https://www.unicode.org/cldr/charts/46/supplemental/territory_information.html). For more information, see [Standardized codes](https://google.aip.dev/143). If set, then results will be boosted based on the region_code provided.", +"type": "string" +}, +"relevanceThreshold": { +"description": "The relevance threshold of the search results. Defaults to RelevanceThreshold.HIGH, which means only the most relevant results are shown, and the least number of results are returned. For more information, see [Adjust result size](https://cloud.google.com/retail/docs/result-size#relevance_thresholding).", +"enum": [ +"RELEVANCE_THRESHOLD_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"LOWEST" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to RelevanceThreshold.HIGH.", +"High relevance threshold.", +"Medium relevance threshold.", +"Low relevance threshold.", +"Lowest relevance threshold." +], +"type": "string" +}, +"searchMode": { +"description": "The search mode of the search request. If not specified, a single search request triggers both product search and faceted search.", +"enum": [ +"SEARCH_MODE_UNSPECIFIED", +"PRODUCT_SEARCH_ONLY", +"FACETED_SEARCH_ONLY" +], +"enumDescriptions": [ +"Default value. In this case both product search and faceted search will be performed. Both SearchResponse.SearchResult and SearchResponse.Facet will be returned.", +"Only product search will be performed. The faceted search will be disabled. Only SearchResponse.SearchResult will be returned. SearchResponse.Facet will not be returned, even if SearchRequest.facet_specs or SearchRequest.dynamic_facet_spec is set.", +"Only faceted search will be performed. The product search will be disabled. When in this mode, one or both of SearchRequest.facet_specs and SearchRequest.dynamic_facet_spec should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only SearchResponse.Facet will be returned. SearchResponse.SearchResult will not be returned." +], +"type": "string" +}, +"spellCorrectionSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec", +"description": "The spell correction specification that specifies the mode under which spell correction will take effect." +}, +"tileNavigationSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec", +"description": "Optional. This field specifies tile navigation related parameters." +}, +"userAttributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaStringList" +}, +"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplicate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]", +"type": "object" +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2alphaUserInfo", +"description": "User information." +}, +"variantRollupKeys": { +"description": "The keys to fetch and rollup the matching variant Products attributes, FulfillmentInfo or LocalInventorys attributes. The attributes from all the matching variant Products or LocalInventorys are merged and de-duplicated. Notice that rollup attributes will lead to extra query latency. Maximum number of keys is 30. For FulfillmentInfo, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.fulfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * variantId * inventory(place_id,price) * inventory(place_id,original_price) * inventory(place_id,attributes.key), where key is any key in the Product.local_inventories.attributes map. * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"pickup-in-store\". * shipToStore.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"ship-to-store\". * sameDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"same-day-delivery\". * nextDayDelivery.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"next-day-delivery\". * customFulfillment1.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-1\". * customFulfillment2.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-2\". * customFulfillment3.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-3\". * customFulfillment4.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-4\". * customFulfillment5.id, where id is any FulfillmentInfo.place_ids for FulfillmentInfo.type \"custom-type-5\". If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This should be the same identifier as UserEvent.visitor_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestBoostSpec": { +"description": "Boost specification to boost certain items.", +"id": "GoogleCloudRetailV2alphaSearchRequestBoostSpec", +"properties": { +"conditionBoostSpecs": { +"description": "Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +}, +"skipBoostSpecValidation": { +"description": "Whether to skip boostspec validation. If this field is set to true, invalid BoostSpec.condition_boost_specs will be ignored and valid BoostSpec.condition_boost_specs will still be applied.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec": { +"description": "Boost applies to products which match a condition.", +"id": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec", +"properties": { +"boost": { +"description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.", +"format": "float", +"type": "number" +}, +"condition": { +"description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": * (id: ANY(\"product_1\", \"product_2\")) AND (colorFamilies: ANY(\"Red\",\"Blue\"))", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec": { +"description": "This field specifies all conversational related parameters addition to traditional retail search.", +"id": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpec", +"properties": { +"conversationId": { +"description": "This field specifies the conversation id, which maintains the state of the conversation between client side and server side. Use the value from the previous SearchResponse.ConversationalSearchResult.conversation_id. For the initial request, this should be empty.", +"type": "string" +}, +"followupConversationRequested": { +"description": "This field specifies whether the customer would like to do conversational search. If this field is set to true, conversational related extra information will be returned from server side, including follow-up question, answer options, etc.", +"type": "boolean" +}, +"userAnswer": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer", +"description": "This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer": { +"description": "This field specifies the current user answer during the conversational search. This can be either user selected from suggested answers or user input plain text.", +"id": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswer", +"properties": { +"selectedAnswer": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer", +"description": "This field specifies the selected attributes during the conversational search. This should be a subset of SearchResponse.ConversationalSearchResult.suggested_answers." +}, +"textAnswer": { +"description": "This field specifies the incremental input text from the user during the conversational search.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer": { +"description": "This field specifies the selected answers during the conversational search.", +"id": "GoogleCloudRetailV2alphaSearchRequestConversationalSearchSpecUserAnswerSelectedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "This field specifies the selected answer which is a attribute key-value." +}, +"productAttributeValues": { +"deprecated": true, +"description": "This field is deprecated and should not be set.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec": { +"description": "The specifications of dynamically generated facets.", +"id": "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec", +"properties": { +"mode": { +"description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.", +"enum": [ +"MODE_UNSPECIFIED", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Default value.", +"Disable Dynamic Facet.", +"Automatic mode built by Google Retail Search." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestFacetSpec": { +"description": "A facet specification to perform faceted search.", +"id": "GoogleCloudRetailV2alphaSearchRequestFacetSpec", +"properties": { +"enableDynamicPosition": { +"description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet \"gender\". Then, the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" are always ranked at first and second position because their enable_dynamic_position values are false.", +"type": "boolean" +}, +"excludedFilterKeys": { +"description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet \"Red\" and 200 products with the color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and having \"colorFamilies\" as FacetKey.key would by default return only \"Red\" products in the search results, and also return \"Red\" with count 100 as the only color facet. Although there are also blue products available, \"Blue\" would not be shown as an available facet value. If \"colorFamilies\" is listed in \"excludedFilterKeys\", then the query returns the facet values \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only \"Red\" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"facetKey": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey", +"description": "Required. The facet key specification." +}, +"limit": { +"description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey": { +"description": "Specifies how a facet is computed.", +"id": "GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey", +"properties": { +"caseInsensitive": { +"description": "True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.", +"type": "boolean" +}, +"contains": { +"description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet gives only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"intervals": { +"description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.", +"items": { +"$ref": "GoogleCloudRetailV2alphaInterval" +}, +"type": "array" +}, +"key": { +"description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * \"brands\" * \"categories\" * \"genders\" * \"ageGroups\" * \"availability\" * \"colorFamilies\" * \"colors\" * \"sizes\" * \"materials\" * \"patterns\" * \"conditions\" * \"attributes.key\" * \"pickupInStore\" * \"shipToStore\" * \"sameDayDelivery\" * \"nextDayDelivery\" * \"customFulfillment1\" * \"customFulfillment2\" * \"customFulfillment3\" * \"customFulfillment4\" * \"customFulfillment5\" * \"inventory(place_id,attributes.key)\" * numerical_field = * \"price\" * \"discount\" * \"rating\" * \"ratingCount\" * \"attributes.key\" * \"inventory(place_id,price)\" * \"inventory(place_id,original_price)\" * \"inventory(place_id,attributes.key)\"", +"type": "string" +}, +"orderBy": { +"description": "The order in which SearchResponse.Facet.values are returned. Allowed values are: * \"count desc\", which means order by SearchResponse.Facet.values.count descending. * \"value desc\", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.", +"type": "string" +}, +"prefixes": { +"description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet gives only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.", +"items": { +"type": "string" +}, +"type": "array" +}, +"query": { +"description": "The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always \"1\" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet counts the products that are both in stock and ship to store \"123\".", +"type": "string" +}, +"restrictedValues": { +"description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5", +"items": { +"type": "string" +}, +"type": "array" +}, +"returnMinMax": { +"description": "Returns the min and max value for each numerical facet intervals. Ignored for textual facets.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec": { +"description": "The specification for personalization.", +"id": "GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec", +"properties": { +"mode": { +"description": "Defaults to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"AUTO", +"DISABLED" +], +"enumDescriptions": [ +"Default value. In this case, server behavior defaults to Mode.AUTO.", +"Let CRS decide whether to use personalization based on quality of user event data.", +"Disable personalization." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec": { +"description": "Specification to determine under which conditions query expansion should occur.", +"id": "GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec", +"properties": { +"condition": { +"description": "The condition under which query expansion should occur. Default to Condition.DISABLED.", +"enum": [ +"CONDITION_UNSPECIFIED", +"DISABLED", +"AUTO" +], +"enumDescriptions": [ +"Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.", +"Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.", +"Automatic query expansion built by Google Retail Search." +], +"type": "string" +}, +"pinUnexpandedResults": { +"description": "Whether to pin unexpanded results. The default value is false. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec": { +"description": "The specification for query spell correction.", +"id": "GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec", +"properties": { +"mode": { +"description": "The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.", +"enum": [ +"MODE_UNSPECIFIED", +"SUGGESTION_ONLY", +"AUTO" +], +"enumDescriptions": [ +"Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.", +"Google Retail Search will try to find a spell suggestion if there is any and put in the SearchResponse.corrected_query. The spell suggestion will not be used as the search query.", +"Automatic spell correction built by Google Retail Search. Search will be based on the corrected query if found." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec": { +"description": "This field specifies tile navigation related parameters.", +"id": "GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec", +"properties": { +"appliedTiles": { +"description": "This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.", +"items": { +"$ref": "GoogleCloudRetailV2alphaTile" +}, +"type": "array" +}, +"tileNavigationRequested": { +"description": "This field specifies whether the customer would like to request tile navigation.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponse": { +"description": "Response message for SearchService.Search method.", +"id": "GoogleCloudRetailV2alphaSearchResponse", +"properties": { +"appliedControls": { +"description": "The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).", +"items": { +"type": "string" +}, +"type": "array" +}, +"attributionToken": { +"description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.", +"type": "string" +}, +"conversationalSearchResult": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult", +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational retail search." +}, +"correctedQuery": { +"description": "Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.", +"type": "string" +}, +"experimentInfo": { +"description": "Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.", +"items": { +"$ref": "GoogleCloudRetailV2alphaExperimentInfo" +}, +"type": "array" +}, +"facets": { +"description": "Results of facets requested by user.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseFacet" +}, +"type": "array" +}, +"invalidConditionBoostSpecs": { +"description": "The invalid SearchRequest.BoostSpec.condition_boost_specs that are not applied during serving.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"pinControlMetadata": { +"$ref": "GoogleCloudRetailV2alphaPinControlMetadata", +"description": "Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin." +}, +"queryExpansionInfo": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo", +"description": "Query expansion information for the returned results." +}, +"redirectUri": { +"description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response.", +"type": "string" +}, +"results": { +"description": "A list of matched items. The order represents the ranking.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseSearchResult" +}, +"type": "array" +}, +"tileNavigationResult": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseTileNavigationResult", +"description": "This field specifies all related information for tile navigation that will be used in client side." +}, +"totalSize": { +"description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult": { +"description": "This field specifies all related information that is needed on client side for UI rendering of conversational retail search.", +"id": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResult", +"properties": { +"additionalFilter": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter", +"description": "This is the incremental additional filters implied from the current user answer. User should add the suggested addition filters to the previous SearchRequest.filter, and use the merged filter in the follow up search request." +}, +"additionalFilters": { +"deprecated": true, +"description": "This field is deprecated but will be kept for backward compatibility. There is expected to have only one additional filter and the value will be the same to the same as field `additional_filter`.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter" +}, +"type": "array" +}, +"conversationId": { +"description": "Conversation UUID. This field will be stored in client side storage to maintain the conversation session with server and will be used for next search request's SearchRequest.ConversationalSearchSpec.conversation_id to restore conversation state in server.", +"type": "string" +}, +"followupQuestion": { +"description": "The follow-up question. e.g., `What is the color?`", +"type": "string" +}, +"refinedQuery": { +"description": "The current refined query for the conversational search. This field will be used in customer UI that the query in the search bar should be replaced with the refined query. For example, if SearchRequest.query is `dress` and next SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer is `red color`, which does not match any product attribute value filters, the refined query will be `dress, red color`.", +"type": "string" +}, +"suggestedAnswers": { +"description": "The answer options provided to client for the follow-up question.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter": { +"description": "Additional filter that client side need to apply.", +"id": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultAdditionalFilter", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer": { +"description": "Suggested answers to the follow-up question.", +"id": "GoogleCloudRetailV2alphaSearchResponseConversationalSearchResultSuggestedAnswer", +"properties": { +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "Product attribute value, including an attribute key and an attribute value. Other types can be added here in the future." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseFacet": { +"description": "A facet result.", +"id": "GoogleCloudRetailV2alphaSearchResponseFacet", +"properties": { +"dynamicFacet": { +"description": "Whether the facet is dynamically generated.", +"type": "boolean" +}, +"key": { +"description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".", +"type": "string" +}, +"values": { +"description": "The facet values for this field.", +"items": { +"$ref": "GoogleCloudRetailV2alphaSearchResponseFacetFacetValue" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseFacetFacetValue": { +"description": "A facet value which contains value names and their count.", +"id": "GoogleCloudRetailV2alphaSearchResponseFacetFacetValue", +"properties": { +"count": { +"description": "Number of items that have this facet value.", +"format": "int64", +"type": "string" +}, +"interval": { +"$ref": "GoogleCloudRetailV2alphaInterval", +"description": "Interval value for a facet, such as [10, 20) for facet \"price\"." +}, +"maxValue": { +"description": "The maximum value in the FacetValue.interval. Only supported on numerical facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.", +"format": "double", +"type": "number" +}, +"minValue": { +"description": "The minimum value in the FacetValue.interval. Only supported on numerical facets and returned if SearchRequest.FacetSpec.FacetKey.return_min_max is true.", +"format": "double", +"type": "number" +}, +"value": { +"description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo": { +"description": "Information describing query expansion including whether expansion has occurred.", +"id": "GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo", +"properties": { +"expandedQuery": { +"description": "Bool describing whether query expansion has occurred.", +"type": "boolean" +}, +"pinnedResultCount": { +"description": "Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseSearchResult": { +"description": "Represents the search results.", +"id": "GoogleCloudRetailV2alphaSearchResponseSearchResult", +"properties": { +"id": { +"description": "Product.id of the searched Product.", +"type": "string" +}, +"matchingVariantCount": { +"description": "The count of matched variant Products.", +"format": "int32", +"type": "integer" +}, +"matchingVariantFields": { +"additionalProperties": { +"format": "google-fieldmask", +"type": "string" +}, +"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.", +"type": "object" +}, +"modelScores": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaDoubleList" +}, +"description": "Google provided available scores.", +"type": "object" +}, +"personalLabels": { +"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.", +"items": { +"type": "string" +}, +"type": "array" +}, +"product": { +"$ref": "GoogleCloudRetailV2alphaProduct", +"description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless." +}, +"variantRollupValues": { +"additionalProperties": { +"type": "any" +}, +"description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For FulfillmentInfo, the rollup values is a double value with type google.protobuf.Value. For example, `{key: \"pickupInStore.store1\" value { number_value: 10 }}` means a there are 10 variants in this product are available in the store \"store1\".", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSearchResponseTileNavigationResult": { +"description": "This field specifies all related information for tile navigation that will be used in client side.", +"id": "GoogleCloudRetailV2alphaSearchResponseTileNavigationResult", +"properties": { +"tiles": { +"description": "The current tiles that are used for tile navigation, sorted by engagement.", +"items": { +"$ref": "GoogleCloudRetailV2alphaTile" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaServingConfig": { +"description": "Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions).", +"id": "GoogleCloudRetailV2alphaServingConfig", +"properties": { +"boostControlIds": { +"description": "Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"displayName": { +"description": "Required. The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"diversityLevel": { +"description": "How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"diversityType": { +"description": "What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.", +"enum": [ +"DIVERSITY_TYPE_UNSPECIFIED", +"RULE_BASED_DIVERSITY", +"DATA_DRIVEN_DIVERSITY" +], +"enumDescriptions": [ +"Default value.", +"Rule based diversity.", +"Data driven diversity." +], +"type": "string" +}, +"doNotAssociateControlIds": { +"description": "Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dynamicFacetSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec", +"description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH." +}, +"enableCategoryFilterLevel": { +"description": "Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"facetControlIds": { +"description": "Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"filterControlIds": { +"description": "Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoreControlIds": { +"description": "Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoreRecsDenylist": { +"description": "When the flag is enabled, the products in the denylist will not be filtered out in the recommendation filtering results.", +"type": "boolean" +}, +"modelId": { +"description": "The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"name": { +"description": "Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`", +"type": "string" +}, +"onewaySynonymsControlIds": { +"description": "Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"personalizationSpec": { +"$ref": "GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec", +"description": "The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec." +}, +"priceRerankingLevel": { +"description": "How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.", +"type": "string" +}, +"redirectControlIds": { +"description": "Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"replacementControlIds": { +"description": "Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +}, +"solutionTypes": { +"description": "Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.", +"items": { +"enum": [ +"SOLUTION_TYPE_UNSPECIFIED", +"SOLUTION_TYPE_RECOMMENDATION", +"SOLUTION_TYPE_SEARCH" +], +"enumDescriptions": [ +"Default value.", +"Used for Recommendations AI.", +"Used for Retail Search." +], +"type": "string" +}, +"type": "array" +}, +"twowaySynonymsControlIds": { +"description": "Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetDefaultBranchRequest": { +"description": "Request message to set a specified branch as new default_branch.", +"id": "GoogleCloudRetailV2alphaSetDefaultBranchRequest", +"properties": { +"branchId": { +"description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned. If there are no sufficient active products in the targeted branch and force is not set, a FAILED_PRECONDITION error is returned.", +"type": "string" +}, +"force": { +"description": "If set to true, it permits switching to a branch with branch_id even if it has no sufficient active products.", +"type": "boolean" +}, +"note": { +"description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2alphaSetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetInventoryRequest": { +"description": "Request message for ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2alphaSetInventoryRequest", +"properties": { +"allowMissing": { +"description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.", +"type": "boolean" +}, +"inventory": { +"$ref": "GoogleCloudRetailV2alphaProduct", +"description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The caller can replace place IDs for a subset of fulfillment types in the following ways: * Adds \"fulfillment_info\" in SetInventoryRequest.set_mask * Specifies only the desired fulfillment types and corresponding place IDs to update in SetInventoryRequest.inventory.fulfillment_info The caller can clear all place IDs from a subset of fulfillment types in the following ways: * Adds \"fulfillment_info\" in SetInventoryRequest.set_mask * Specifies only the desired fulfillment types to clear in SetInventoryRequest.inventory.fulfillment_info * Checks that only the desired fulfillment info types have empty SetInventoryRequest.inventory.fulfillment_info.place_ids The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, ProductService.UpdateProduct should be invoked instead." +}, +"setMask": { +"description": "Indicates which inventory fields in the provided Product to update. At least one field must be provided. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.", +"format": "google-fieldmask", +"type": "string" +}, +"setTime": { +"description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaSetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2alphaSetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaStringList": { +"description": "A list of string values.", +"id": "GoogleCloudRetailV2alphaStringList", +"properties": { +"values": { +"description": "String values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTile": { +"description": "This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.", +"id": "GoogleCloudRetailV2alphaTile", +"properties": { +"productAttributeInterval": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeInterval", +"description": "The product attribute key-numeric interval." +}, +"productAttributeValue": { +"$ref": "GoogleCloudRetailV2alphaProductAttributeValue", +"description": "The product attribute key-value." +}, +"representativeProductId": { +"description": "The representative product id for this tile.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTransformedUserEventsMetadata": { +"description": "Metadata related to transform user events operation.", +"id": "GoogleCloudRetailV2alphaTransformedUserEventsMetadata", +"properties": { +"sourceEventsCount": { +"description": "Count of entries in the source user events BigQuery table.", +"format": "int64", +"type": "string" +}, +"transformedEventsCount": { +"description": "Count of entries in the transformed user events BigQuery table, which could be different from the actually imported number of user events.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2alphaTuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTuneModelRequest": { +"description": "Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).", +"id": "GoogleCloudRetailV2alphaTuneModelRequest", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaTuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2alphaTuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest": { +"description": "Request for UpdateGenerativeQuestionConfig method.", +"id": "GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest", +"properties": { +"generativeQuestionConfig": { +"$ref": "GoogleCloudRetailV2alphaGenerativeQuestionConfig", +"description": "Required. The question to update." +}, +"updateMask": { +"description": "Optional. Indicates which fields in the provided GenerativeQuestionConfig to update. The following are NOT supported: * GenerativeQuestionConfig.frequency If not set or empty, all supported fields are updated.", +"format": "google-fieldmask", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserEvent": { +"description": "UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.", +"id": "GoogleCloudRetailV2alphaUserEvent", +"properties": { +"attributes": { +"additionalProperties": { +"$ref": "GoogleCloudRetailV2alphaCustomAttribute" +}, +"description": "Extra user event features to include in the recommendation model. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Retail API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", +"type": "object" +}, +"attributionToken": { +"description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.", +"type": "string" +}, +"cartId": { +"description": "The ID or name of the associated shopping cart. This ID is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.", +"type": "string" +}, +"completionDetail": { +"$ref": "GoogleCloudRetailV2alphaCompletionDetail", +"description": "The main auto-completion details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search." +}, +"entity": { +"description": "The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that you set this field to get better per-entity search, completion, and prediction results.", +"type": "string" +}, +"eventTime": { +"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Required. User event type. Allowed values are: * `add-to-cart`: Products being added to cart. * `remove-from-cart`: Products being removed from cart. * `category-page-view`: Special pages such as sale or promotion pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed. * `purchase-complete`: User finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`: User viewing a shopping cart.", +"type": "string" +}, +"experimentIds": { +"description": "A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different experiment setups (e.g. using Retail API, using different recommendation models).", +"items": { +"type": "string" +}, +"type": "array" +}, +"filter": { +"description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"offset": { +"description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"format": "int32", +"type": "integer" +}, +"orderBy": { +"description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"pageCategories": { +"description": "Optional. The categories associated with a category page. To represent the full path of category, use the '>' sign, with one space on each side, to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"items": { +"type": "string" +}, +"type": "array" +}, +"pageViewId": { +"description": "A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple events as the user is browsing the page. The `pageViewId` property should be kept the same for all these events so that they can be grouped together properly. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.", +"type": "string" +}, +"panels": { +"description": "Optional. List of panels associated with this event. Used for panel-level impression data.", +"items": { +"$ref": "GoogleCloudRetailV2alphaPanelInfo" +}, +"type": "array" +}, +"productDetails": { +"description": "The main product details related to the event. This field is optional except for the following event types: * `add-to-cart` * `detail-page-view` * `purchase-complete` In a `search` event, this field represents the products returned to the end user on the current page (the end user may have not finished browsing the whole page yet). When a new page is returned to the end user, after pagination/filtering/ordering even for the same query, a new `search` event with different product_details is desired. The end user may have not finished browsing the whole page yet.", +"items": { +"$ref": "GoogleCloudRetailV2alphaProductDetail" +}, +"type": "array" +}, +"purchaseTransaction": { +"$ref": "GoogleCloudRetailV2alphaPurchaseTransaction", +"description": "A transaction represents the entire purchase transaction. Required for `purchase-complete` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned." +}, +"referrerUri": { +"description": "The referrer URL of the current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.", +"type": "string" +}, +"searchQuery": { +"description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +}, +"sessionId": { +"description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.", +"type": "string" +}, +"uri": { +"description": "Complete URL (window.location.href) of the user's current page. When using the client side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically. Maximum length 5,000 characters.", +"type": "string" +}, +"userInfo": { +"$ref": "GoogleCloudRetailV2alphaUserInfo", +"description": "User information." +}, +"visitorId": { +"description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor log in/out of the website. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2alphaUserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserEventInlineSource": { +"description": "The inline source for the input config for ImportUserEvents method.", +"id": "GoogleCloudRetailV2alphaUserEventInlineSource", +"properties": { +"userEvents": { +"description": "Required. A list of user events to import. Recommended max of 10k items.", +"items": { +"$ref": "GoogleCloudRetailV2alphaUserEvent" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserEventInputConfig": { +"description": "The input config source for user events.", +"id": "GoogleCloudRetailV2alphaUserEventInputConfig", +"properties": { +"bigQuerySource": { +"$ref": "GoogleCloudRetailV2alphaBigQuerySource", +"description": "Required. BigQuery input source." +}, +"gcsSource": { +"$ref": "GoogleCloudRetailV2alphaGcsSource", +"description": "Required. Google Cloud Storage location for the input content." +}, +"userEventInlineSource": { +"$ref": "GoogleCloudRetailV2alphaUserEventInlineSource", +"description": "Required. The Inline source for the input content for UserEvents." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2alphaUserInfo": { +"description": "Information of an end user.", +"id": "GoogleCloudRetailV2alphaUserInfo", +"properties": { +"directUserRequest": { +"description": "True if the request is made directly from the end user, in which case the ip_address and user_agent can be populated from the HTTP request. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.", +"type": "boolean" +}, +"ipAddress": { +"description": "The end user's IP address. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when: * setting SearchRequest.user_info. * using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", +"type": "string" +}, +"userAgent": { +"description": "User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.", +"type": "string" +}, +"userId": { +"description": "Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": { +"description": "Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.AddFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2betaAddLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaAddLocalInventoriesResponse": { +"description": "Response of the ProductService.AddLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.AddLocalInventories method.", +"id": "GoogleCloudRetailV2betaAddLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaBigQueryOutputResult": { +"description": "A BigQuery output result.", +"id": "GoogleCloudRetailV2betaBigQueryOutputResult", +"properties": { +"datasetId": { +"description": "The ID of a BigQuery Dataset.", +"type": "string" +}, +"tableId": { +"description": "The ID of a BigQuery Table.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaCreateModelMetadata": { +"description": "Metadata associated with a create operation.", +"id": "GoogleCloudRetailV2betaCreateModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this create applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportAnalyticsMetricsResponse": { +"description": "Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportAnalyticsMetricsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportErrorsConfig": { +"description": "Configuration of destination for Export related errors.", +"id": "GoogleCloudRetailV2betaExportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportMetadata": { +"description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaExportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportProductsResponse": { +"description": "Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaExportUserEventsResponse": { +"description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaExportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaExportErrorsConfig", +"description": "This field is never set." +}, +"outputResult": { +"$ref": "GoogleCloudRetailV2betaOutputResult", +"description": "Output result indicating where the data were exported to." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaGcsOutputResult": { +"description": "A Gcs output result.", +"id": "GoogleCloudRetailV2betaGcsOutputResult", +"properties": { +"outputUri": { +"description": "The uri of Gcs output", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportCompletionDataResponse": { +"description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.", +"id": "GoogleCloudRetailV2betaImportCompletionDataResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportErrorsConfig": { +"description": "Configuration of destination for Import related errors.", +"id": "GoogleCloudRetailV2betaImportErrorsConfig", +"properties": { +"gcsPrefix": { +"description": "Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportMetadata": { +"description": "Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaImportMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"notificationPubsubTopic": { +"description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.", +"type": "string" +}, +"requestId": { +"deprecated": true, +"description": "Deprecated. This field is never set.", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were processed successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportProductsResponse": { +"description": "Response of the ImportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaImportProductsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "Echoes the destination for the complete errors in the request if set." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaImportUserEventsResponse": { +"description": "Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.", +"id": "GoogleCloudRetailV2betaImportUserEventsResponse", +"properties": { +"errorSamples": { +"description": "A sample of errors encountered while processing the request.", +"items": { +"$ref": "GoogleRpcStatus" +}, +"type": "array" +}, +"errorsConfig": { +"$ref": "GoogleCloudRetailV2betaImportErrorsConfig", +"description": "Echoes the destination for the complete errors if this field was set in the request." +}, +"importSummary": { +"$ref": "GoogleCloudRetailV2betaUserEventImportSummary", +"description": "Aggregated statistics of user event import status." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModel": { +"description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", +"id": "GoogleCloudRetailV2betaModel", +"properties": { +"createTime": { +"description": "Output only. Timestamp the Recommendation Model was created at.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataState": { +"description": "Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.", +"enum": [ +"DATA_STATE_UNSPECIFIED", +"DATA_OK", +"DATA_ERROR" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has sufficient training data.", +"The model does not have sufficient training data. Error messages can be queried via Stackdriver." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.", +"type": "string" +}, +"filteringOption": { +"description": "Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.", +"enum": [ +"RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", +"RECOMMENDATIONS_FILTERING_DISABLED", +"RECOMMENDATIONS_FILTERING_ENABLED" +], +"enumDescriptions": [ +"Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.", +"Recommendation filtering is disabled.", +"Recommendation filtering is enabled." +], +"type": "string" +}, +"lastTuneTime": { +"description": "Output only. The timestamp when the latest successful tune finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"modelFeaturesConfig": { +"$ref": "GoogleCloudRetailV2betaModelModelFeaturesConfig", +"description": "Optional. Additional model features config." +}, +"name": { +"description": "Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.", +"type": "string" +}, +"optimizationObjective": { +"description": "Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"periodicTuningState": { +"description": "Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.", +"enum": [ +"PERIODIC_TUNING_STATE_UNSPECIFIED", +"PERIODIC_TUNING_DISABLED", +"ALL_TUNING_DISABLED", +"PERIODIC_TUNING_ENABLED" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set.", +"The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.", +"The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.", +"The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method." +], +"type": "string" +}, +"servingConfigLists": { +"description": "Output only. The list of valid serving configs associated with the PageOptimizationConfig.", +"items": { +"$ref": "GoogleCloudRetailV2betaModelServingConfigList" +}, +"readOnly": true, +"type": "array" +}, +"servingState": { +"description": "Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.", +"enum": [ +"SERVING_STATE_UNSPECIFIED", +"INACTIVE", +"ACTIVE", +"TUNED" +], +"enumDescriptions": [ +"Unspecified serving state.", +"The model is not serving.", +"The model is serving and can be queried.", +"The model is trained on tuned hyperparameters and can be queried." +], +"readOnly": true, +"type": "string" +}, +"trainingState": { +"description": "Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.", +"enum": [ +"TRAINING_STATE_UNSPECIFIED", +"PAUSED", +"TRAINING" +], +"enumDescriptions": [ +"Unspecified training state.", +"The model training is paused.", +"The model is training." +], +"type": "string" +}, +"tuningOperation": { +"description": "Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.", +"readOnly": true, +"type": "string" +}, +"type": { +"description": "Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig": { +"description": "Additional configs for the frequently-bought-together model type.", +"id": "GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig", +"properties": { +"contextProductsType": { +"description": "Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"enum": [ +"CONTEXT_PRODUCTS_TYPE_UNSPECIFIED", +"SINGLE_CONTEXT_PRODUCT", +"MULTIPLE_CONTEXT_PRODUCTS" +], +"enumDescriptions": [ +"Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.", +"Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.", +"Use one or multiple products as context for the recommendation. Typically used on shopping cart pages." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelModelFeaturesConfig": { +"description": "Additional model features config.", +"id": "GoogleCloudRetailV2betaModelModelFeaturesConfig", +"properties": { +"frequentlyBoughtTogetherConfig": { +"$ref": "GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig", +"description": "Additional configs for frequently-bought-together models." +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaModelServingConfigList": { +"description": "Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.", +"id": "GoogleCloudRetailV2betaModelServingConfigList", +"properties": { +"servingConfigIds": { +"description": "Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaOutputResult": { +"description": "Output result that stores the information about where the exported data is stored.", +"id": "GoogleCloudRetailV2betaOutputResult", +"properties": { +"bigqueryResult": { +"description": "The BigQuery location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2betaBigQueryOutputResult" +}, +"type": "array" +}, +"gcsResult": { +"description": "The Google Cloud Storage location where the result is stored.", +"items": { +"$ref": "GoogleCloudRetailV2betaGcsOutputResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeMetadata": { +"description": "Metadata related to the progress of the Purge operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaPurgeMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeProductsMetadata": { +"description": "Metadata related to the progress of the PurgeProducts operation. This will be returned by the google.longrunning.Operation.metadata field.", +"id": "GoogleCloudRetailV2betaPurgeProductsMetadata", +"properties": { +"createTime": { +"description": "Operation create time.", +"format": "google-datetime", +"type": "string" +}, +"failureCount": { +"description": "Count of entries that encountered errors while processing.", +"format": "int64", +"type": "string" +}, +"successCount": { +"description": "Count of entries that were deleted successfully.", +"format": "int64", +"type": "string" +}, +"updateTime": { +"description": "Operation last update time. If the operation is done, this is also the finish time.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeProductsResponse": { +"description": "Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2betaPurgeProductsResponse", +"properties": { +"purgeCount": { +"description": "The total count of products purged as a result of the operation.", +"format": "int64", +"type": "string" +}, +"purgeSample": { +"description": "A sample of the product names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaPurgeUserEventsResponse": { +"description": "Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.", +"id": "GoogleCloudRetailV2betaPurgeUserEventsResponse", +"properties": { +"purgedEventsCount": { +"description": "The total count of events purged as a result of the operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRejoinUserEventsMetadata": { +"description": "Metadata for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2betaRejoinUserEventsMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRejoinUserEventsResponse": { +"description": "Response message for `RejoinUserEvents` method.", +"id": "GoogleCloudRetailV2betaRejoinUserEventsResponse", +"properties": { +"rejoinedUserEventsCount": { +"description": "Number of user events that were joined with latest product catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": { +"description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": { +"description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the ProductService.RemoveFulfillmentPlaces method.", +"id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata": { +"description": "Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2betaRemoveLocalInventoriesMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaRemoveLocalInventoriesResponse": { +"description": "Response of the ProductService.RemoveLocalInventories API. Currently empty because there is no meaningful response populated from the ProductService.RemoveLocalInventories method.", +"id": "GoogleCloudRetailV2betaRemoveLocalInventoriesResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetInventoryMetadata": { +"description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2betaSetInventoryMetadata", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaSetInventoryResponse": { +"description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.", +"id": "GoogleCloudRetailV2betaSetInventoryResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaTuneModelMetadata": { +"description": "Metadata associated with a tune operation.", +"id": "GoogleCloudRetailV2betaTuneModelMetadata", +"properties": { +"model": { +"description": "The resource name of the model that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudRetailV2betaTuneModelResponse": { +"description": "Response associated with a tune operation.", +"id": "GoogleCloudRetailV2betaTuneModelResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudRetailV2betaUserEventImportSummary": { +"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.", +"id": "GoogleCloudRetailV2betaUserEventImportSummary", +"properties": { +"joinedEventsCount": { +"description": "Count of user events imported with complete existing catalog information.", +"format": "int64", +"type": "string" +}, +"unjoinedEventsCount": { +"description": "Count of user events imported, but with catalog information not found in the imported catalog.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleLongrunningListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "GoogleLongrunningListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "GoogleLongrunningOperation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleLongrunningOperation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "GoogleLongrunningOperation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "GoogleRpcStatus", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"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", +"properties": {}, +"type": "object" +}, +"GoogleRpcStatus": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "GoogleRpcStatus", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleTypeDate": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "GoogleTypeDate", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Vertex AI Search for commerce API", +"version": "v2alpha", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/safebrowsing.v4.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/safebrowsing.v4.json new file mode 100644 index 0000000000000000000000000000000000000000..1416935afac13d883c35a03abc7c00a7681ef2f2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/safebrowsing.v4.json @@ -0,0 +1,1344 @@ +{ +"basePath": "", +"baseUrl": "https://safebrowsing.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Safebrowsing", +"description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes \u2013 meaning \u201cfor sale or revenue-generating purposes\u201d \u2013 please refer to the Web Risk API.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/safe-browsing/", +"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": "safebrowsing:v4", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://safebrowsing.mtls.googleapis.com/", +"name": "safebrowsing", +"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": { +"encodedFullHashes": { +"methods": { +"get": { +"description": "", +"flatPath": "v4/encodedFullHashes/{encodedRequest}", +"httpMethod": "GET", +"id": "safebrowsing.encodedFullHashes.get", +"parameterOrder": [ +"encodedRequest" +], +"parameters": { +"clientId": { +"description": "A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.", +"location": "query", +"type": "string" +}, +"clientVersion": { +"description": "The version of the client implementation.", +"location": "query", +"type": "string" +}, +"encodedRequest": { +"description": "A serialized FindFullHashesRequest proto.", +"format": "byte", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/encodedFullHashes/{encodedRequest}", +"response": { +"$ref": "GoogleSecuritySafebrowsingV4FindFullHashesResponse" +} +} +} +}, +"encodedUpdates": { +"methods": { +"get": { +"description": "", +"flatPath": "v4/encodedUpdates/{encodedRequest}", +"httpMethod": "GET", +"id": "safebrowsing.encodedUpdates.get", +"parameterOrder": [ +"encodedRequest" +], +"parameters": { +"clientId": { +"description": "A client ID that uniquely identifies the client implementation of the Safe Browsing API.", +"location": "query", +"type": "string" +}, +"clientVersion": { +"description": "The version of the client implementation.", +"location": "query", +"type": "string" +}, +"encodedRequest": { +"description": "A serialized FetchThreatListUpdatesRequest proto.", +"format": "byte", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v4/encodedUpdates/{encodedRequest}", +"response": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse" +} +} +} +}, +"fullHashes": { +"methods": { +"find": { +"description": "Finds the full hashes that match the requested hash prefixes.", +"flatPath": "v4/fullHashes:find", +"httpMethod": "POST", +"id": "safebrowsing.fullHashes.find", +"parameterOrder": [], +"parameters": {}, +"path": "v4/fullHashes:find", +"request": { +"$ref": "GoogleSecuritySafebrowsingV4FindFullHashesRequest" +}, +"response": { +"$ref": "GoogleSecuritySafebrowsingV4FindFullHashesResponse" +} +} +} +}, +"threatHits": { +"methods": { +"create": { +"description": "Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method.", +"flatPath": "v4/threatHits", +"httpMethod": "POST", +"id": "safebrowsing.threatHits.create", +"parameterOrder": [], +"parameters": {}, +"path": "v4/threatHits", +"request": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatHit" +}, +"response": { +"$ref": "GoogleProtobufEmpty" +} +} +} +}, +"threatListUpdates": { +"methods": { +"fetch": { +"description": "Fetches the most recent threat list updates. A client can request updates for multiple lists at once.", +"flatPath": "v4/threatListUpdates:fetch", +"httpMethod": "POST", +"id": "safebrowsing.threatListUpdates.fetch", +"parameterOrder": [], +"parameters": {}, +"path": "v4/threatListUpdates:fetch", +"request": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest" +}, +"response": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse" +} +} +} +}, +"threatLists": { +"methods": { +"list": { +"description": "Lists the Safe Browsing threat lists available for download.", +"flatPath": "v4/threatLists", +"httpMethod": "GET", +"id": "safebrowsing.threatLists.list", +"parameterOrder": [], +"parameters": {}, +"path": "v4/threatLists", +"response": { +"$ref": "GoogleSecuritySafebrowsingV4ListThreatListsResponse" +} +} +} +}, +"threatMatches": { +"methods": { +"find": { +"description": "Finds the threat entries that match the Safe Browsing lists.", +"flatPath": "v4/threatMatches:find", +"httpMethod": "POST", +"id": "safebrowsing.threatMatches.find", +"parameterOrder": [], +"parameters": {}, +"path": "v4/threatMatches:find", +"request": { +"$ref": "GoogleSecuritySafebrowsingV4FindThreatMatchesRequest" +}, +"response": { +"$ref": "GoogleSecuritySafebrowsingV4FindThreatMatchesResponse" +} +} +} +} +}, +"revision": "20240630", +"rootUrl": "https://safebrowsing.googleapis.com/", +"schemas": { +"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", +"properties": {}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4Checksum": { +"description": "The expected state of a client's local database.", +"id": "GoogleSecuritySafebrowsingV4Checksum", +"properties": { +"sha256": { +"description": "The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ClientInfo": { +"description": "The client metadata associated with Safe Browsing API requests.", +"id": "GoogleSecuritySafebrowsingV4ClientInfo", +"properties": { +"clientId": { +"description": "A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.", +"type": "string" +}, +"clientVersion": { +"description": "The version of the client implementation.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest": { +"description": "Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. The server may not respond to all requests, if the server has no updates for that list. NOTE: Field index 2 is unused. NEXT: 5", +"id": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest", +"properties": { +"client": { +"$ref": "GoogleSecuritySafebrowsingV4ClientInfo", +"description": "The client metadata." +}, +"listUpdateRequests": { +"description": "The requested threat list updates.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest": { +"description": "A single list update request.", +"id": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest", +"properties": { +"constraints": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints", +"description": "The constraints associated with this request." +}, +"platformType": { +"description": "The type of platform at risk by entries present in the list.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"state": { +"description": "The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).", +"format": "byte", +"type": "string" +}, +"threatEntryType": { +"description": "The types of entries present in the list.", +"enum": [ +"THREAT_ENTRY_TYPE_UNSPECIFIED", +"URL", +"EXECUTABLE", +"IP_RANGE", +"CHROME_EXTENSION", +"FILENAME", +"CERT" +], +"enumDescriptions": [ +"Unspecified.", +"A URL.", +"An executable program.", +"An IP range.", +"Chrome extension.", +"Filename.", +"CERT" +], +"type": "string" +}, +"threatType": { +"description": "The type of threat posed by entries present in the list.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints": { +"description": "The constraints for this update.", +"id": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints", +"properties": { +"deviceLocation": { +"description": "A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.", +"type": "string" +}, +"language": { +"description": "Requests the lists for a specific language. Expects ISO 639 alpha-2 format.", +"type": "string" +}, +"maxDatabaseEntries": { +"description": "Sets the maximum number of entries that the client is willing to have in the local database for the specified list. This should be a power of 2 between 2**10 and 2**20. If zero, no database size limit is set.", +"format": "int32", +"type": "integer" +}, +"maxUpdateEntries": { +"description": "The maximum size in number of entries. The update will not contain more entries than this value. This should be a power of 2 between 2**10 and 2**20. If zero, no update size limit is set.", +"format": "int32", +"type": "integer" +}, +"region": { +"description": "Requests the list for a specific geographic location. If not set the server may pick that value based on the user's IP address. Expects ISO 3166-1 alpha-2 format.", +"type": "string" +}, +"supportedCompressions": { +"description": "The compression types supported by the client.", +"items": { +"enum": [ +"COMPRESSION_TYPE_UNSPECIFIED", +"RAW", +"RICE" +], +"enumDescriptions": [ +"Unknown.", +"Raw, uncompressed data.", +"Rice-Golomb encoded data." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse": { +"id": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse", +"properties": { +"listUpdateResponses": { +"description": "The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse" +}, +"type": "array" +}, +"minimumWaitDuration": { +"description": "The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse": { +"description": "An update to an individual list.", +"id": "GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse", +"properties": { +"additions": { +"description": "A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntrySet" +}, +"type": "array" +}, +"checksum": { +"$ref": "GoogleSecuritySafebrowsingV4Checksum", +"description": "The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later." +}, +"newClientState": { +"description": "The new client state, in encrypted format. Opaque to clients.", +"format": "byte", +"type": "string" +}, +"platformType": { +"description": "The platform type for which data is returned.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"removals": { +"description": "A set of entries to remove from a local threat type's list. In practice, this field is empty or contains exactly one ThreatEntrySet.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntrySet" +}, +"type": "array" +}, +"responseType": { +"description": "The type of response. This may indicate that an action is required by the client when the response is received.", +"enum": [ +"RESPONSE_TYPE_UNSPECIFIED", +"PARTIAL_UPDATE", +"FULL_UPDATE" +], +"enumDescriptions": [ +"Unknown.", +"Partial updates are applied to the client's existing local database.", +"Full updates replace the client's entire local database. This means that either the client was seriously out-of-date or the client is believed to be corrupt." +], +"type": "string" +}, +"threatEntryType": { +"description": "The format of the threats.", +"enum": [ +"THREAT_ENTRY_TYPE_UNSPECIFIED", +"URL", +"EXECUTABLE", +"IP_RANGE", +"CHROME_EXTENSION", +"FILENAME", +"CERT" +], +"enumDescriptions": [ +"Unspecified.", +"A URL.", +"An executable program.", +"An IP range.", +"Chrome extension.", +"Filename.", +"CERT" +], +"type": "string" +}, +"threatType": { +"description": "The threat type for which data is returned.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FindFullHashesRequest": { +"description": "Request to return full hashes matched by the provided hash prefixes.", +"id": "GoogleSecuritySafebrowsingV4FindFullHashesRequest", +"properties": { +"apiClient": { +"$ref": "GoogleSecuritySafebrowsingV4ClientInfo", +"description": "Client metadata associated with callers of higher-level APIs built on top of the client's implementation." +}, +"client": { +"$ref": "GoogleSecuritySafebrowsingV4ClientInfo", +"description": "The client metadata." +}, +"clientStates": { +"description": "The current client states for each of the client's local threat lists.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"threatInfo": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatInfo", +"description": "The lists and hashes to be checked." +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FindFullHashesResponse": { +"id": "GoogleSecuritySafebrowsingV4FindFullHashesResponse", +"properties": { +"matches": { +"description": "The full hashes that matched the requested prefixes.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatMatch" +}, +"type": "array" +}, +"minimumWaitDuration": { +"description": "The minimum duration the client must wait before issuing any find hashes request. If this field is not set, clients can issue a request as soon as they want.", +"format": "google-duration", +"type": "string" +}, +"negativeCacheDuration": { +"description": "For requested entities that did not match the threat list, how long to cache the response.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FindThreatMatchesRequest": { +"description": "Request to check entries against lists.", +"id": "GoogleSecuritySafebrowsingV4FindThreatMatchesRequest", +"properties": { +"client": { +"$ref": "GoogleSecuritySafebrowsingV4ClientInfo", +"description": "The client metadata." +}, +"threatInfo": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatInfo", +"description": "The lists and entries to be checked for matches." +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4FindThreatMatchesResponse": { +"id": "GoogleSecuritySafebrowsingV4FindThreatMatchesResponse", +"properties": { +"matches": { +"description": "The threat list matches.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatMatch" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ListThreatListsResponse": { +"id": "GoogleSecuritySafebrowsingV4ListThreatListsResponse", +"properties": { +"threatLists": { +"description": "The lists available for download by the client.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatListDescriptor" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4RawHashes": { +"description": "The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL. Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.", +"id": "GoogleSecuritySafebrowsingV4RawHashes", +"properties": { +"prefixSize": { +"description": "The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).", +"format": "int32", +"type": "integer" +}, +"rawHashes": { +"description": "The hashes, in binary format, concatenated into one long string. Hashes are sorted in lexicographic order. For JSON API users, hashes are base64-encoded.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4RawIndices": { +"description": "A set of raw indices to remove from a local list.", +"id": "GoogleSecuritySafebrowsingV4RawIndices", +"properties": { +"indices": { +"description": "The indices to remove from a lexicographically-sorted local list.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4RiceDeltaEncoding": { +"description": "The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.", +"id": "GoogleSecuritySafebrowsingV4RiceDeltaEncoding", +"properties": { +"encodedData": { +"description": "The encoded deltas that are encoded using the Golomb-Rice coder.", +"format": "byte", +"type": "string" +}, +"firstValue": { +"description": "The offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value. If the field is empty or missing, assume zero.", +"format": "int64", +"type": "string" +}, +"numEntries": { +"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.", +"format": "int32", +"type": "integer" +}, +"riceParameter": { +"description": "The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if `num_entries` is zero.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatEntry": { +"description": "An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.", +"id": "GoogleSecuritySafebrowsingV4ThreatEntry", +"properties": { +"digest": { +"description": "The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded.", +"format": "byte", +"type": "string" +}, +"hash": { +"description": "A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.", +"format": "byte", +"type": "string" +}, +"url": { +"description": "A URL.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatEntryMetadata": { +"description": "The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.", +"id": "GoogleSecuritySafebrowsingV4ThreatEntryMetadata", +"properties": { +"entries": { +"description": "The metadata entries.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry": { +"description": "A single metadata entry.", +"id": "GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry", +"properties": { +"key": { +"description": "The metadata entry key. For JSON requests, the key is base64-encoded.", +"format": "byte", +"type": "string" +}, +"value": { +"description": "The metadata entry value. For JSON requests, the value is base64-encoded.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatEntrySet": { +"description": "A set of threats that should be added or removed from a client's local database.", +"id": "GoogleSecuritySafebrowsingV4ThreatEntrySet", +"properties": { +"compressionType": { +"description": "The compression type for the entries in this set.", +"enum": [ +"COMPRESSION_TYPE_UNSPECIFIED", +"RAW", +"RICE" +], +"enumDescriptions": [ +"Unknown.", +"Raw, uncompressed data.", +"Rice-Golomb encoded data." +], +"type": "string" +}, +"rawHashes": { +"$ref": "GoogleSecuritySafebrowsingV4RawHashes", +"description": "The raw SHA256-formatted entries." +}, +"rawIndices": { +"$ref": "GoogleSecuritySafebrowsingV4RawIndices", +"description": "The raw removal indices for a local list." +}, +"riceHashes": { +"$ref": "GoogleSecuritySafebrowsingV4RiceDeltaEncoding", +"description": "The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data." +}, +"riceIndices": { +"$ref": "GoogleSecuritySafebrowsingV4RiceDeltaEncoding", +"description": "The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data." +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatHit": { +"id": "GoogleSecuritySafebrowsingV4ThreatHit", +"properties": { +"clientInfo": { +"$ref": "GoogleSecuritySafebrowsingV4ClientInfo", +"description": "Client-reported identification." +}, +"entry": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntry", +"description": "The threat entry responsible for the hit. Full hash should be reported for hash-based hits." +}, +"platformType": { +"description": "The platform type reported.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"resources": { +"description": "The resources related to the threat hit.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatHitThreatSource" +}, +"type": "array" +}, +"threatType": { +"description": "The threat type reported.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +}, +"userInfo": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatHitUserInfo", +"description": "Details about the user that encountered the threat." +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatHitThreatSource": { +"description": "A single resource related to a threat hit.", +"id": "GoogleSecuritySafebrowsingV4ThreatHitThreatSource", +"properties": { +"referrer": { +"description": "Referrer of the resource. Only set if the referrer is available.", +"type": "string" +}, +"remoteIp": { +"description": "The remote IP of the resource in ASCII format. Either IPv4 or IPv6.", +"type": "string" +}, +"type": { +"description": "The type of source reported.", +"enum": [ +"THREAT_SOURCE_TYPE_UNSPECIFIED", +"MATCHING_URL", +"TAB_URL", +"TAB_REDIRECT", +"TAB_RESOURCE" +], +"enumDescriptions": [ +"Unknown.", +"The URL that matched the threat list (for which GetFullHash returned a valid hash).", +"The final top-level URL of the tab that the client was browsing when the match occurred.", +"A redirect URL that was fetched before hitting the final TAB_URL.", +"A resource loaded within the final TAB_URL." +], +"type": "string" +}, +"url": { +"description": "The URL of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatHitUserInfo": { +"description": "Details about the user that encountered the threat.", +"id": "GoogleSecuritySafebrowsingV4ThreatHitUserInfo", +"properties": { +"regionCode": { +"description": "The UN M.49 region code associated with the user's location.", +"type": "string" +}, +"userId": { +"description": "Unique user identifier defined by the client.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatInfo": { +"description": "The information regarding one or more threats that a client submits when checking for matches in threat lists.", +"id": "GoogleSecuritySafebrowsingV4ThreatInfo", +"properties": { +"platformTypes": { +"description": "The platform types to be checked.", +"items": { +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"type": "array" +}, +"threatEntries": { +"description": "The threat entries to be checked.", +"items": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntry" +}, +"type": "array" +}, +"threatEntryTypes": { +"description": "The entry types to be checked.", +"items": { +"enum": [ +"THREAT_ENTRY_TYPE_UNSPECIFIED", +"URL", +"EXECUTABLE", +"IP_RANGE", +"CHROME_EXTENSION", +"FILENAME", +"CERT" +], +"enumDescriptions": [ +"Unspecified.", +"A URL.", +"An executable program.", +"An IP range.", +"Chrome extension.", +"Filename.", +"CERT" +], +"type": "string" +}, +"type": "array" +}, +"threatTypes": { +"description": "The threat types to be checked.", +"items": { +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatListDescriptor": { +"description": "Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.", +"id": "GoogleSecuritySafebrowsingV4ThreatListDescriptor", +"properties": { +"platformType": { +"description": "The platform type targeted by the list's entries.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"threatEntryType": { +"description": "The entry types contained in the list.", +"enum": [ +"THREAT_ENTRY_TYPE_UNSPECIFIED", +"URL", +"EXECUTABLE", +"IP_RANGE", +"CHROME_EXTENSION", +"FILENAME", +"CERT" +], +"enumDescriptions": [ +"Unspecified.", +"A URL.", +"An executable program.", +"An IP range.", +"Chrome extension.", +"Filename.", +"CERT" +], +"type": "string" +}, +"threatType": { +"description": "The threat type posed by the list's entries.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleSecuritySafebrowsingV4ThreatMatch": { +"description": "A match when checking a threat entry in the Safe Browsing threat lists.", +"id": "GoogleSecuritySafebrowsingV4ThreatMatch", +"properties": { +"cacheDuration": { +"description": "The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.", +"format": "google-duration", +"type": "string" +}, +"platformType": { +"description": "The platform type matching this threat.", +"enum": [ +"PLATFORM_TYPE_UNSPECIFIED", +"WINDOWS", +"LINUX", +"ANDROID", +"OSX", +"IOS", +"ANY_PLATFORM", +"ALL_PLATFORMS", +"CHROME" +], +"enumDescriptions": [ +"Unknown platform.", +"Threat posed to Windows.", +"Threat posed to Linux.", +"Threat posed to Android.", +"Threat posed to OS X.", +"Threat posed to iOS.", +"Threat posed to at least one of the defined platforms.", +"Threat posed to all defined platforms.", +"Threat posed to Chrome." +], +"type": "string" +}, +"threat": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntry", +"description": "The threat matching this threat." +}, +"threatEntryMetadata": { +"$ref": "GoogleSecuritySafebrowsingV4ThreatEntryMetadata", +"description": "Optional metadata associated with this threat." +}, +"threatEntryType": { +"description": "The threat entry type matching this threat.", +"enum": [ +"THREAT_ENTRY_TYPE_UNSPECIFIED", +"URL", +"EXECUTABLE", +"IP_RANGE", +"CHROME_EXTENSION", +"FILENAME", +"CERT" +], +"enumDescriptions": [ +"Unspecified.", +"A URL.", +"An executable program.", +"An IP range.", +"Chrome extension.", +"Filename.", +"CERT" +], +"type": "string" +}, +"threatType": { +"description": "The threat type matching this threat.", +"enum": [ +"THREAT_TYPE_UNSPECIFIED", +"MALWARE", +"SOCIAL_ENGINEERING", +"UNWANTED_SOFTWARE", +"POTENTIALLY_HARMFUL_APPLICATION", +"SOCIAL_ENGINEERING_INTERNAL", +"API_ABUSE", +"MALICIOUS_BINARY", +"CSD_WHITELIST", +"CSD_DOWNLOAD_WHITELIST", +"CLIENT_INCIDENT", +"CLIENT_INCIDENT_WHITELIST", +"APK_MALWARE_OFFLINE", +"SUBRESOURCE_FILTER", +"SUSPICIOUS", +"TRICK_TO_BILL", +"HIGH_CONFIDENCE_ALLOWLIST", +"ACCURACY_TIPS" +], +"enumDescriptions": [ +"Unknown.", +"Malware threat type.", +"Social engineering threat type.", +"Unwanted software threat type.", +"Potentially harmful application threat type.", +"Social engineering threat type for internal use.", +"API abuse threat type.", +"Malicious binary threat type.", +"Client side detection whitelist threat type.", +"Client side download detection whitelist threat type.", +"Client incident threat type.", +"Whitelist used when detecting client incident threats.", +"List used for offline APK checks in PAM.", +"Patterns to be used for activating the subresource filter.", +"Entities that are suspected to present a threat.", +"Trick-to-bill threat type.", +"URL expressions that are very likely to be safe.", +"An experimental threat type related to Jigsaw. See https://jigsaw.google.com/." +], +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Safe Browsing API", +"version": "v4", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json new file mode 100644 index 0000000000000000000000000000000000000000..4509c5e42abe71386741d3c0be5023943a53a990 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json @@ -0,0 +1,11821 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://securitycenter.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Security Command Center", +"description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/security-command-center", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.me-central2.rep.googleapis.com/", +"location": "me-central2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.us.rep.googleapis.com/", +"location": "us" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://securitycenter.eu.rep.googleapis.com/", +"location": "eu" +} +], +"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": "securitycenter:v1beta1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", +"name": "securitycenter", +"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": { +"organizations": { +"methods": { +"getOrganizationSettings": { +"description": "Gets the settings for an organization.", +"flatPath": "v1beta1/organizations/{organizationsId}/organizationSettings", +"httpMethod": "GET", +"id": "securitycenter.organizations.getOrganizationSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the organization to get organization settings for. Its format is \"organizations/[organization_id]/organizationSettings\".", +"location": "path", +"pattern": "^organizations/[^/]+/organizationSettings$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "OrganizationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateOrganizationSettings": { +"deprecated": true, +"description": "Updates an organization's settings.", +"flatPath": "v1beta1/organizations/{organizationsId}/organizationSettings", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.updateOrganizationSettings", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", +"location": "path", +"pattern": "^organizations/[^/]+/organizationSettings$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the settings resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "OrganizationSettings" +}, +"response": { +"$ref": "OrganizationSettings" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"assets": { +"methods": { +"group": { +"description": "Filters an organization's assets and groups them by their specified properties.", +"flatPath": "v1beta1/organizations/{organizationsId}/assets:group", +"httpMethod": "POST", +"id": "securitycenter.organizations.assets.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization to groupBy. Its format is \"organizations/[organization_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/assets:group", +"request": { +"$ref": "GroupAssetsRequest" +}, +"response": { +"$ref": "GroupAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists an organization's assets.", +"flatPath": "v1beta1/organizations/{organizationsId}/assets", +"httpMethod": "GET", +"id": "securitycenter.organizations.assets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"compareDuration": { +"description": "When compare_duration is set, the ListAssetResult's \"state\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present before compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state is \"UNUSED\", which indicates that the asset is present at read_time.", +"format": "google-duration", +"location": "query", +"type": "string" +}, +"fieldMask": { +"description": "Optional. A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. For example, `resource_properties.size = 100` is a valid filter string.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the organization assets should belong to. Its format is \"organizations/[organization_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/assets", +"response": { +"$ref": "ListAssetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"runDiscovery": { +"description": "Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.", +"flatPath": "v1beta1/organizations/{organizationsId}/assets:runDiscovery", +"httpMethod": "POST", +"id": "securitycenter.organizations.assets.runDiscovery", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the organization to run asset discovery for. Its format is \"organizations/[organization_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/assets:runDiscovery", +"request": { +"$ref": "RunAssetDiscoveryRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1beta1/organizations/{organizationsId}/assets/{assetsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.assets.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^organizations/[^/]+/assets/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "securitycenter.organizations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "securitycenter.organizations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta1/organizations/{organizationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1beta1/organizations/{organizationsId}/operations", +"httpMethod": "GET", +"id": "securitycenter.organizations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^organizations/[^/]+/operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"sources": { +"methods": { +"create": { +"description": "Creates a source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Resource name of the new source's parent. Its format should be \"organizations/[organization_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/sources", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets a source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Relative resource name of the source. Its format is \"organizations/[organization_id]/source/[source_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy on the specified Source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}:getIamPolicy", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.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": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists all sources belonging to an organization.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/sources", +"response": { +"$ref": "ListSourcesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates a source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the source resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "Source" +}, +"response": { +"$ref": "Source" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified Source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}:setIamPolicy", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.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": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"testIamPermissions": { +"description": " Returns the permissions that a caller has on the specified source.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}:testIamPermissions", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.testIamPermissions", +"parameterOrder": [ +"resource" +], +"parameters": { +"resource": { +"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"findings": { +"methods": { +"create": { +"description": "Creates a finding. The corresponding source must exist for finding creation to succeed.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"findingId": { +"description": "Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Resource name of the new finding's parent. Its format should be \"organizations/[organization_id]/sources/[source_id]\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/findings", +"request": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"group": { +"description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1beta1/organizations/{organization_id}/sources/-/findings", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings:group", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.group", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\". To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+parent}/findings:group", +"request": { +"$ref": "GroupFindingsRequest" +}, +"response": { +"$ref": "GroupFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1beta1/organizations/{organization_id}/sources/-/findings", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings", +"httpMethod": "GET", +"id": "securitycenter.organizations.sources.findings.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"fieldMask": { +"description": "Optional. A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. For example, `source_properties.size = 100` is a valid filter string.", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+$", +"required": true, +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+parent}/findings", +"response": { +"$ref": "ListFindingsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.findings.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"setState": { +"description": "Updates the state of a finding.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setState", +"httpMethod": "POST", +"id": "securitycenter.organizations.sources.findings.setState", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/finding/{finding_id}\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta1/{+name}:setState", +"request": { +"$ref": "SetFindingStateRequest" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"updateSecurityMarks": { +"description": "Updates security marks.", +"flatPath": "v1beta1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", +"httpMethod": "PATCH", +"id": "securitycenter.organizations.sources.findings.updateSecurityMarks", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"location": "path", +"pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", +"required": true, +"type": "string" +}, +"startTime": { +"description": "The time at which the updated SecurityMarks take effect.", +"format": "google-datetime", +"location": "query", +"type": "string" +}, +"updateMask": { +"description": "The FieldMask to use when updating the security marks resource.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta1/{+name}", +"request": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks" +}, +"response": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://securitycenter.googleapis.com/", +"schemas": { +"Access": { +"description": "Represents an access event.", +"id": "Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"Allowed": { +"description": "Allowed IP rule.", +"id": "Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Application": { +"description": "Represents an application associated with a finding.", +"id": "Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"Asset": { +"description": "Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.", +"id": "Asset", +"properties": { +"createTime": { +"description": "The time at which the asset was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"name": { +"description": "The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/assets/{asset_id}\".", +"type": "string" +}, +"resourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.", +"type": "object" +}, +"securityCenterProperties": { +"$ref": "SecurityCenterProperties", +"description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user." +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks", +"description": "User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset." +}, +"updateTime": { +"description": "The time at which the asset was last updated, added, or deleted in Security Command Center.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"AssetDiscoveryConfig": { +"description": "The configuration used for Asset Discovery runs.", +"id": "AssetDiscoveryConfig", +"properties": { +"inclusionMode": { +"description": "The mode to use for filtering asset discovery.", +"enum": [ +"INCLUSION_MODE_UNSPECIFIED", +"INCLUDE_ONLY", +"EXCLUDE" +], +"enumDescriptions": [ +"Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.", +"Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.", +"Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved." +], +"type": "string" +}, +"projectIds": { +"description": "The project ids to use for filtering asset discovery.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"type": "string" +} +}, +"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" +}, +"AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "AwsMetadata", +"properties": { +"account": { +"$ref": "AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"BigQueryDestination": { +"description": "The destination BigQuery dataset to export findings to.", +"id": "BigQueryDestination", +"properties": { +"dataset": { +"description": "Required. The relative resource name of the destination dataset, in the form projects/{projectId}/datasets/{datasetId}.", +"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" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Contact": { +"description": "The email address of a contact.", +"id": "Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"ContactDetails": { +"description": "Details about specific contacts", +"id": "ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"Container": { +"description": "Container associated with the finding.", +"id": "Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Compliance control associated with the finding.", +"id": "Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "Cve", +"properties": { +"cvssv3": { +"$ref": "Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"Denied": { +"description": "Denied IP rule.", +"id": "Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"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" +}, +"EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsMetadata": { +"description": "The LRO metadata for a ExportFindings request.", +"id": "ExportFindingsMetadata", +"properties": { +"bigQueryDestination": { +"$ref": "BigQueryDestination", +"description": "Required. The destination BigQuery dataset to export findings to." +}, +"exportStartTime": { +"description": "Optional. Timestamp at which export was started", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ExportFindingsResponse": { +"description": "The response to a ExportFindings request. Contains the LRO information.", +"id": "ExportFindingsResponse", +"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" +}, +"ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "Finding", +"properties": { +"access": { +"$ref": "Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV1ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "Process" +}, +"type": "array" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"secret": { +"$ref": "Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +}, +"toxicCombination": { +"$ref": "ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"Framework": { +"description": "Compliance framework associated with the finding.", +"id": "Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GcpMetadata": { +"description": "Google Cloud metadata associated with the resource. Only applicable if the finding's cloud provider is Google Cloud.", +"id": "GcpMetadata", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Folder" +}, +"readOnly": true, +"type": "array" +}, +"organization": { +"description": "The name of the organization that the resource belongs to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"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" +}, +"GoogleCloudSecuritycenterV1BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV1BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV1Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV1BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomConfig": { +"description": "Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.", +"id": "GoogleCloudSecuritycenterV1CustomConfig", +"properties": { +"customOutput": { +"$ref": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"description": "Custom output properties." +}, +"description": { +"description": "Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks.", +"type": "string" +}, +"predicate": { +"$ref": "Expr", +"description": "The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated." +}, +"recommendation": { +"description": "An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the `nextSteps` property of the finding JSON.", +"type": "string" +}, +"resourceSelector": { +"$ref": "GoogleCloudSecuritycenterV1ResourceSelector", +"description": "The resource types that the custom module operates on. Each custom module can specify up to 5 resource types." +}, +"severity": { +"description": "The severity to assign to findings generated by the module.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1CustomOutputSpec": { +"description": "A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`.", +"id": "GoogleCloudSecuritycenterV1CustomOutputSpec", +"properties": { +"properties": { +"description": "A list of custom output properties to add to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Property" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule": { +"description": "An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.", +"id": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule", +"properties": { +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "Output only. The user-specified configuration for the module.", +"readOnly": true +}, +"displayName": { +"description": "Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"readOnly": true, +"type": "string" +}, +"enablementState": { +"description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given level.", +"The module is disabled at the given level." +], +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV1ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV1MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"displayName": { +"deprecated": true, +"description": "The human readable name to be displayed for the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV1NotificationMessage", +"properties": { +"finding": { +"$ref": "Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Property": { +"description": "An individual name-value pair that defines a custom source property.", +"id": "GoogleCloudSecuritycenterV1Property", +"properties": { +"name": { +"description": "Name of the property for the custom output.", +"type": "string" +}, +"valueExpression": { +"$ref": "Expr", +"description": "The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1Resource", +"properties": { +"adcApplication": { +"$ref": "AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the resource resides in.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "Folder" +}, +"readOnly": true, +"type": "array" +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"organization": { +"description": "Indicates which organization or tenant in the cloud provider the finding applies to.", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project ID that the resource belongs to.", +"type": "string" +}, +"resourcePath": { +"$ref": "ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The parent service or product from which the resource is provided, for example, GKE or SNS.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV1ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceSelector": { +"description": "Resource for selecting resource type.", +"id": "GoogleCloudSecuritycenterV1ResourceSelector", +"properties": { +"resourceTypes": { +"description": "The resource types to run the detector on.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV1ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Required. Resource value level this expression represents", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Required. Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule": { +"description": "Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.", +"id": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule", +"properties": { +"ancestorModule": { +"description": "Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.", +"readOnly": true, +"type": "string" +}, +"cloudProvider": { +"description": "The cloud provider of the custom module.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services (AWS).", +"Microsoft Azure." +], +"type": "string" +}, +"customConfig": { +"$ref": "GoogleCloudSecuritycenterV1CustomConfig", +"description": "The user specified custom configuration for the module." +}, +"displayName": { +"description": "The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", +"type": "string" +}, +"enablementState": { +"description": "The enablement state of the custom module.", +"enum": [ +"ENABLEMENT_STATE_UNSPECIFIED", +"ENABLED", +"DISABLED", +"INHERITED" +], +"enumDescriptions": [ +"Unspecified enablement state.", +"The module is enabled at the given CRM resource.", +"The module is disabled at the given CRM resource.", +"State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy." +], +"type": "string" +}, +"lastEditor": { +"description": "Output only. The editor that last updated the custom module.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", +"type": "string" +}, +"updateTime": { +"description": "Output only. The time at which the custom module was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1beta1Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV1beta1Finding", +"properties": { +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"eventTime": { +"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"name": { +"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", +"type": "string" +}, +"parent": { +"description": "Immutable. The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV1beta1SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1beta1SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV1beta1SecurityMarks", +"properties": { +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV1p1beta1Finding", +"properties": { +"canonicalName": { +"description": "The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", +"type": "string" +}, +"category": { +"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"createTime": { +"description": "The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"type": "string" +}, +"eventTime": { +"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"name": { +"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"", +"type": "string" +}, +"parent": { +"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +}, +"resourceName": { +"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.", +"type": "string" +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"No severity specified. The default value.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { +"description": "Security Command Center's Notification", +"id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource", +"description": "The Cloud resource tied to the notification." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV1p1beta1Resource", +"properties": { +"folders": { +"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1p1beta1Folder" +}, +"readOnly": true, +"type": "array" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"parent": { +"description": "The full resource name of resource's parent.", +"type": "string" +}, +"parentDisplayName": { +"description": "The human readable name of resource's parent.", +"type": "string" +}, +"project": { +"description": "The full resource name of project that the resource belongs to.", +"type": "string" +}, +"projectDisplayName": { +"description": "The project id that the resource belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { +"description": "Response of asset discovery run", +"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", +"properties": { +"duration": { +"description": "The duration between asset discovery run start and end", +"format": "google-duration", +"type": "string" +}, +"state": { +"description": "The state of an asset discovery run.", +"enum": [ +"STATE_UNSPECIFIED", +"COMPLETED", +"SUPERSEDED", +"TERMINATED" +], +"enumDescriptions": [ +"Asset discovery run state was unspecified.", +"Asset discovery run completed successfully.", +"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.", +"Asset discovery run was killed and terminated." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Access": { +"description": "Represents an access event.", +"id": "GoogleCloudSecuritycenterV2Access", +"properties": { +"callerIp": { +"description": "Caller's IP address, such as \"1.1.1.1\".", +"type": "string" +}, +"callerIpGeo": { +"$ref": "GoogleCloudSecuritycenterV2Geolocation", +"description": "The caller IP's geolocation, which identifies where the call came from." +}, +"methodName": { +"description": "The method that the service account called, e.g. \"SetIamPolicy\".", +"type": "string" +}, +"principalEmail": { +"description": "Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).", +"type": "string" +}, +"principalSubject": { +"description": "A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.", +"type": "string" +}, +"serviceAccountDelegationInfo": { +"description": "The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo" +}, +"type": "array" +}, +"serviceAccountKeyName": { +"description": "The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ", +"type": "string" +}, +"serviceName": { +"description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", +"type": "string" +}, +"userAgent": { +"description": "The caller's user agent string associated with the finding.", +"type": "string" +}, +"userAgentFamily": { +"description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", +"type": "string" +}, +"userName": { +"description": "A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AccessReview": { +"description": "Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.", +"id": "GoogleCloudSecuritycenterV2AccessReview", +"properties": { +"group": { +"description": "The API group of the resource. \"*\" means all.", +"type": "string" +}, +"name": { +"description": "The name of the resource being requested. Empty means all.", +"type": "string" +}, +"ns": { +"description": "Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).", +"type": "string" +}, +"resource": { +"description": "The optional resource type requested. \"*\" means all.", +"type": "string" +}, +"subresource": { +"description": "The optional subresource type.", +"type": "string" +}, +"verb": { +"description": "A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.", +"type": "string" +}, +"version": { +"description": "The API version of the resource. \"*\" means all.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdaptiveProtection": { +"description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", +"id": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"properties": { +"confidence": { +"description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AffectedResources": { +"description": "Details about resources affected by this finding.", +"id": "GoogleCloudSecuritycenterV2AffectedResources", +"properties": { +"count": { +"description": "The count of resources affected by the finding.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AiModel": { +"description": "Contains information about the AI model associated with the finding.", +"id": "GoogleCloudSecuritycenterV2AiModel", +"properties": { +"deploymentPlatform": { +"description": "The platform on which the model is deployed.", +"enum": [ +"DEPLOYMENT_PLATFORM_UNSPECIFIED", +"VERTEX_AI", +"GKE", +"GCE", +"FINE_TUNED_MODEL" +], +"enumDescriptions": [ +"Unspecified deployment platform.", +"Vertex AI.", +"Google Kubernetes Engine.", +"Google Compute Engine.", +"Fine tuned model." +], +"type": "string" +}, +"displayName": { +"description": "The user defined display name of model. Ex. baseline-classification-model", +"type": "string" +}, +"domain": { +"description": "The domain of the model, for example, \u201cimage-classification\u201d.", +"type": "string" +}, +"library": { +"description": "The name of the model library, for example, \u201ctransformers\u201d.", +"type": "string" +}, +"location": { +"description": "The region in which the model is used, for example, \u201cus-central1\u201d.", +"type": "string" +}, +"name": { +"description": "The name of the AI model, for example, \"gemini:1.0.0\".", +"type": "string" +}, +"publisher": { +"description": "The publisher of the model, for example, \u201cgoogle\u201d or \u201cnvidia\u201d.", +"type": "string" +}, +"usageCategory": { +"description": "The purpose of the model, for example, \"Inteference\" or \"Training\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Allowed": { +"description": "Allowed IP rule.", +"id": "GoogleCloudSecuritycenterV2Allowed", +"properties": { +"ipRules": { +"description": "Optional. Optional list of allowed IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Application": { +"description": "Represents an application associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Application", +"properties": { +"baseUri": { +"description": "The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.", +"type": "string" +}, +"fullUri": { +"description": "The full URI with payload that could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicies": { +"description": "Represents the result of evaluating artifact guard policies.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"properties": { +"failingPolicies": { +"description": "A list of failing policies.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy" +}, +"type": "array" +}, +"resourceId": { +"description": "The ID of the resource that has policies configured for it.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ArtifactGuardPolicy": { +"description": "Represents an artifact guard policy.", +"id": "GoogleCloudSecuritycenterV2ArtifactGuardPolicy", +"properties": { +"failureReason": { +"description": "The reason for the policy failure, for example, \"severity=HIGH AND max_vuln_count=2\".", +"type": "string" +}, +"policyId": { +"description": "The ID of the failing policy, for example, \"organizations/3392779/locations/global/policies/prod-policy\".", +"type": "string" +}, +"type": { +"description": "The type of the policy evaluation.", +"enum": [ +"ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", +"VULNERABILITY" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Vulnerability type." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Attack": { +"description": "Information about DDoS attack volume and classification.", +"id": "GoogleCloudSecuritycenterV2Attack", +"properties": { +"classification": { +"description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", +"type": "string" +}, +"volumeBps": { +"deprecated": true, +"description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumeBpsLong": { +"description": "Total BPS (bytes per second) volume of attack.", +"format": "int64", +"type": "string" +}, +"volumePps": { +"deprecated": true, +"description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", +"format": "int32", +"type": "integer" +}, +"volumePpsLong": { +"description": "Total PPS (packets per second) volume of attack.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AttackExposure": { +"description": "An attack exposure contains the results of an attack path simulation run.", +"id": "GoogleCloudSecuritycenterV2AttackExposure", +"properties": { +"attackExposureResult": { +"description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", +"type": "string" +}, +"exposedHighValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedLowValueResourcesCount": { +"description": "The number of high value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"exposedMediumValueResourcesCount": { +"description": "The number of medium value resources that are exposed as a result of this finding.", +"format": "int32", +"type": "integer" +}, +"latestCalculationTime": { +"description": "The most recent time the attack exposure was updated on this finding.", +"format": "google-datetime", +"type": "string" +}, +"score": { +"description": "A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.", +"format": "double", +"type": "number" +}, +"state": { +"description": "Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", +"enum": [ +"STATE_UNSPECIFIED", +"CALCULATED", +"NOT_CALCULATED" +], +"enumDescriptions": [ +"The state is not specified.", +"The attack exposure has been calculated.", +"The attack exposure has not been calculated." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsAccount": { +"description": "An AWS account that is a member of an organization.", +"id": "GoogleCloudSecuritycenterV2AwsAccount", +"properties": { +"id": { +"description": "The unique identifier (ID) of the account, containing exactly 12 digits.", +"type": "string" +}, +"name": { +"description": "The friendly name of this account.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsMetadata": { +"description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", +"id": "GoogleCloudSecuritycenterV2AwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2AwsAccount", +"description": "The AWS account associated with the resource." +}, +"organization": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganization", +"description": "The AWS organization associated with the resource." +}, +"organizationalUnits": { +"description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganization": { +"description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", +"id": "GoogleCloudSecuritycenterV2AwsOrganization", +"properties": { +"id": { +"description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AwsOrganizationalUnit": { +"description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", +"id": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit", +"properties": { +"id": { +"description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", +"type": "string" +}, +"name": { +"description": "The friendly name of the OU.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureManagementGroup": { +"description": "Represents an Azure management group.", +"id": "GoogleCloudSecuritycenterV2AzureManagementGroup", +"properties": { +"displayName": { +"description": "The display name of the Azure management group.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureMetadata": { +"description": "Azure metadata associated with the resource, only applicable if the finding's cloud provider is Microsoft Azure.", +"id": "GoogleCloudSecuritycenterV2AzureMetadata", +"properties": { +"managementGroups": { +"description": "A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AzureManagementGroup" +}, +"type": "array" +}, +"resourceGroup": { +"$ref": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"description": "The Azure resource group associated with the resource." +}, +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2AzureSubscription", +"description": "The Azure subscription associated with the resource." +}, +"tenant": { +"$ref": "GoogleCloudSecuritycenterV2AzureTenant", +"description": "The Azure Entra tenant associated with the resource." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureResourceGroup": { +"description": "Represents an Azure resource group.", +"id": "GoogleCloudSecuritycenterV2AzureResourceGroup", +"properties": { +"id": { +"description": "The ID of the Azure resource group.", +"type": "string" +}, +"name": { +"description": "The name of the Azure resource group. This is not a UUID.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureSubscription": { +"description": "Represents an Azure subscription.", +"id": "GoogleCloudSecuritycenterV2AzureSubscription", +"properties": { +"displayName": { +"description": "The display name of the Azure subscription.", +"type": "string" +}, +"id": { +"description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2AzureTenant": { +"description": "Represents a Microsoft Entra tenant.", +"id": "GoogleCloudSecuritycenterV2AzureTenant", +"properties": { +"displayName": { +"description": "The display name of the Azure tenant.", +"type": "string" +}, +"id": { +"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BackupDisasterRecovery": { +"description": "Information related to Google Cloud Backup and DR Service findings.", +"id": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"properties": { +"appliance": { +"description": "The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.", +"type": "string" +}, +"applications": { +"description": "The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"backupCreateTime": { +"description": "The timestamp at which the Backup and DR backup was created.", +"format": "google-datetime", +"type": "string" +}, +"backupTemplate": { +"description": "The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.", +"type": "string" +}, +"backupType": { +"description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", +"type": "string" +}, +"host": { +"description": "The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.", +"type": "string" +}, +"policies": { +"description": "The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"policyOptions": { +"description": "The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.", +"items": { +"type": "string" +}, +"type": "array" +}, +"profile": { +"description": "The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.", +"type": "string" +}, +"storagePool": { +"description": "The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BigQueryExport": { +"description": "Configures how to deliver Findings to BigQuery Instance.", +"id": "GoogleCloudSecuritycenterV2BigQueryExport", +"properties": { +"createTime": { +"description": "Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).", +"type": "string" +}, +"description": { +"description": "The description of the export (max of 1024 characters).", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}` + `folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id}` + `projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}` This field is provided in responses, and is ignored when provided in create requests.", +"type": "string" +}, +"principal": { +"description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Binding": { +"description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", +"id": "GoogleCloudSecuritycenterV2Binding", +"properties": { +"name": { +"description": "Name for the binding.", +"type": "string" +}, +"ns": { +"description": "Namespace for the binding.", +"type": "string" +}, +"role": { +"$ref": "GoogleCloudSecuritycenterV2Role", +"description": "The Role or ClusterRole referenced by the binding." +}, +"subjects": { +"description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Subject" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": { +"description": "The response to a BulkMute request. Contains the LRO information.", +"id": "GoogleCloudSecuritycenterV2BulkMuteFindingsResponse", +"properties": {}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Chokepoint": { +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations).", +"id": "GoogleCloudSecuritycenterV2Chokepoint", +"properties": { +"relatedFindings": { +"description": "List of resource names of findings associated with this chokepoint. For example, organizations/123/sources/456/findings/789. This list will have at most 100 findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudArmor": { +"description": "Fields related to Google Cloud Armor findings.", +"id": "GoogleCloudSecuritycenterV2CloudArmor", +"properties": { +"adaptiveProtection": { +"$ref": "GoogleCloudSecuritycenterV2AdaptiveProtection", +"description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview)." +}, +"attack": { +"$ref": "GoogleCloudSecuritycenterV2Attack", +"description": "Information about DDoS attack volume and classification." +}, +"duration": { +"description": "Duration of attack from the start until the current moment (updated every 5 minutes).", +"format": "google-duration", +"type": "string" +}, +"requests": { +"$ref": "GoogleCloudSecuritycenterV2Requests", +"description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview)." +}, +"securityPolicy": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPolicy", +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding." +}, +"threatVector": { +"description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudControl": { +"description": "CloudControl associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudControl", +"properties": { +"cloudControlName": { +"description": "Name of the CloudControl associated with the finding.", +"type": "string" +}, +"policyType": { +"description": "Policy type of the CloudControl", +"type": "string" +}, +"type": { +"description": "Type of cloud control.", +"enum": [ +"CLOUD_CONTROL_TYPE_UNSPECIFIED", +"BUILT_IN", +"CUSTOM" +], +"enumDescriptions": [ +"Unspecified.", +"Built in Cloud Control.", +"Custom Cloud Control." +], +"type": "string" +}, +"version": { +"description": "Version of the Cloud Control", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpDataProfile": { +"description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"properties": { +"dataProfile": { +"description": "Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.", +"type": "string" +}, +"infoTypes": { +"description": "Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2InfoType" +}, +"type": "array" +}, +"parentType": { +"description": "The resource hierarchy level at which the data profile was generated.", +"enum": [ +"PARENT_TYPE_UNSPECIFIED", +"ORGANIZATION", +"PROJECT" +], +"enumDescriptions": [ +"Unspecified parent type.", +"Organization-level configurations.", +"Project-level configurations." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudDlpInspection": { +"description": "Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.", +"id": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"properties": { +"fullScan": { +"description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", +"type": "boolean" +}, +"infoType": { +"description": "The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.", +"type": "string" +}, +"infoTypeCount": { +"description": "The number of times Cloud DLP found this infoType within this job and resource.", +"format": "int64", +"type": "string" +}, +"inspectJob": { +"description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2CloudLoggingEntry": { +"description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", +"id": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"properties": { +"insertId": { +"description": "A unique identifier for the log entry.", +"type": "string" +}, +"logId": { +"description": "The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity` Note that this field is not URL-encoded, unlike in `LogEntry`.", +"type": "string" +}, +"resourceContainer": { +"description": "The organization, folder, or project of the monitored resource that produced this log entry.", +"type": "string" +}, +"timestamp": { +"description": "The time the event described by the log entry occurred.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Compliance": { +"description": "Contains compliance information about a security standard indicating unmet recommendations.", +"id": "GoogleCloudSecuritycenterV2Compliance", +"properties": { +"ids": { +"description": "Policies within the standard or benchmark, for example, A.12.4.1", +"items": { +"type": "string" +}, +"type": "array" +}, +"standard": { +"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.", +"type": "string" +}, +"version": { +"description": "Version of the standard or benchmark, for example, 1.1", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ComplianceDetails": { +"description": "Compliance Details associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ComplianceDetails", +"properties": { +"cloudControl": { +"$ref": "GoogleCloudSecuritycenterV2CloudControl", +"description": "CloudControl associated with the finding" +}, +"cloudControlDeploymentNames": { +"description": "Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier", +"items": { +"type": "string" +}, +"type": "array" +}, +"frameworks": { +"description": "Details of Frameworks associated with the finding", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Framework" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Connection": { +"description": "Contains information about the IP connection associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Connection", +"properties": { +"destinationIp": { +"description": "Destination IP address. Not present for sockets that are listening and not connected.", +"type": "string" +}, +"destinationPort": { +"description": "Destination port. Not present for sockets that are listening and not connected.", +"format": "int32", +"type": "integer" +}, +"protocol": { +"description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", +"enum": [ +"PROTOCOL_UNSPECIFIED", +"ICMP", +"TCP", +"UDP", +"GRE", +"ESP" +], +"enumDescriptions": [ +"Unspecified protocol (not HOPOPT).", +"Internet Control Message Protocol.", +"Transmission Control Protocol.", +"User Datagram Protocol.", +"Generic Routing Encapsulation.", +"Encap Security Payload." +], +"type": "string" +}, +"sourceIp": { +"description": "Source IP address.", +"type": "string" +}, +"sourcePort": { +"description": "Source port.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Contact": { +"description": "The email address of a contact.", +"id": "GoogleCloudSecuritycenterV2Contact", +"properties": { +"email": { +"description": "An email address. For example, \"`person123@company.com`\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ContactDetails": { +"description": "Details about specific contacts", +"id": "GoogleCloudSecuritycenterV2ContactDetails", +"properties": { +"contacts": { +"description": "A list of contacts", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Contact" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Container": { +"description": "Container associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Container", +"properties": { +"createTime": { +"description": "The time that the container was created.", +"format": "google-datetime", +"type": "string" +}, +"imageId": { +"description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", +"type": "string" +}, +"labels": { +"description": "Container labels, as provided by the container runtime.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Name of the container.", +"type": "string" +}, +"uri": { +"description": "Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Control": { +"description": "Compliance control associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Control", +"properties": { +"controlName": { +"description": "Name of the Control", +"type": "string" +}, +"displayName": { +"description": "Display name of the control. For example, AU-02.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cve": { +"description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", +"id": "GoogleCloudSecuritycenterV2Cve", +"properties": { +"cvssv3": { +"$ref": "GoogleCloudSecuritycenterV2Cvssv3", +"description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document" +}, +"exploitReleaseDate": { +"description": "Date the first publicly available exploit or PoC was released.", +"format": "google-datetime", +"type": "string" +}, +"exploitationActivity": { +"description": "The exploitation activity of the vulnerability in the wild.", +"enum": [ +"EXPLOITATION_ACTIVITY_UNSPECIFIED", +"WIDE", +"CONFIRMED", +"AVAILABLE", +"ANTICIPATED", +"NO_KNOWN" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation has been reported or confirmed to widely occur.", +"Limited reported or confirmed exploitation activities.", +"Exploit is publicly available.", +"No known exploitation activity, but has a high potential for exploitation.", +"No known exploitation activity." +], +"type": "string" +}, +"firstExploitationDate": { +"description": "Date of the earliest known exploitation.", +"format": "google-datetime", +"type": "string" +}, +"id": { +"description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", +"type": "string" +}, +"impact": { +"description": "The potential impact of the vulnerability if it was to be exploited.", +"enum": [ +"RISK_RATING_UNSPECIFIED", +"LOW", +"MEDIUM", +"HIGH", +"CRITICAL" +], +"enumDescriptions": [ +"Invalid or empty value.", +"Exploitation would have little to no security impact.", +"Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", +"Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", +"Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." +], +"type": "string" +}, +"observedInTheWild": { +"description": "Whether or not the vulnerability has been observed in the wild.", +"type": "boolean" +}, +"references": { +"description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +}, +"upstreamFixAvailable": { +"description": "Whether upstream fix is available for the CVE.", +"type": "boolean" +}, +"zeroDay": { +"description": "Whether or not the vulnerability was zero day when the finding was published.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cvssv3": { +"description": "Common Vulnerability Scoring System version 3.", +"id": "GoogleCloudSecuritycenterV2Cvssv3", +"properties": { +"attackComplexity": { +"description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", +"enum": [ +"ATTACK_COMPLEXITY_UNSPECIFIED", +"ATTACK_COMPLEXITY_LOW", +"ATTACK_COMPLEXITY_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", +"A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." +], +"type": "string" +}, +"attackVector": { +"description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.", +"enum": [ +"ATTACK_VECTOR_UNSPECIFIED", +"ATTACK_VECTOR_NETWORK", +"ATTACK_VECTOR_ADJACENT", +"ATTACK_VECTOR_LOCAL", +"ATTACK_VECTOR_PHYSICAL" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", +"The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", +"The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", +"The attack requires the attacker to physically touch or manipulate the vulnerable component." +], +"type": "string" +}, +"availabilityImpact": { +"description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"baseScore": { +"description": "The base score is a function of the base metric scores.", +"format": "double", +"type": "number" +}, +"confidentialityImpact": { +"description": "This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"integrityImpact": { +"description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", +"enum": [ +"IMPACT_UNSPECIFIED", +"IMPACT_HIGH", +"IMPACT_LOW", +"IMPACT_NONE" +], +"enumDescriptions": [ +"Invalid value.", +"High impact.", +"Low impact.", +"No impact." +], +"type": "string" +}, +"privilegesRequired": { +"description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", +"enum": [ +"PRIVILEGES_REQUIRED_UNSPECIFIED", +"PRIVILEGES_REQUIRED_NONE", +"PRIVILEGES_REQUIRED_LOW", +"PRIVILEGES_REQUIRED_HIGH" +], +"enumDescriptions": [ +"Invalid value.", +"The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", +"The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", +"The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." +], +"type": "string" +}, +"scope": { +"description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", +"enum": [ +"SCOPE_UNSPECIFIED", +"SCOPE_UNCHANGED", +"SCOPE_CHANGED" +], +"enumDescriptions": [ +"Invalid value.", +"An exploited vulnerability can only affect resources managed by the same security authority.", +"An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." +], +"type": "string" +}, +"userInteraction": { +"description": "This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.", +"enum": [ +"USER_INTERACTION_UNSPECIFIED", +"USER_INTERACTION_NONE", +"USER_INTERACTION_REQUIRED" +], +"enumDescriptions": [ +"Invalid value.", +"The vulnerable system can be exploited without interaction from any user.", +"Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Cwe": { +"description": "CWE stands for Common Weakness Enumeration. Information about this weakness, as described by [CWE](https://cwe.mitre.org/).", +"id": "GoogleCloudSecuritycenterV2Cwe", +"properties": { +"id": { +"description": "The CWE identifier, e.g. CWE-94", +"type": "string" +}, +"references": { +"description": "Any reference to the details on the CWE, for example, https://cwe.mitre.org/data/definitions/94.html", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Reference" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataAccessEvent": { +"description": "Details about a data access attempt made by a principal not authorized under applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataAccessEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data access event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data access event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal to access the data.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataFlowEvent": { +"description": "Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.", +"id": "GoogleCloudSecuritycenterV2DataFlowEvent", +"properties": { +"eventId": { +"description": "Unique identifier for data flow event.", +"type": "string" +}, +"eventTime": { +"description": "Timestamp of data flow event.", +"format": "google-datetime", +"type": "string" +}, +"operation": { +"description": "The operation performed by the principal for the data flow event.", +"enum": [ +"OPERATION_UNSPECIFIED", +"READ", +"MOVE", +"COPY" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents a read operation.", +"Represents a move operation.", +"Represents a copy operation." +], +"type": "string" +}, +"principalEmail": { +"description": "The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.", +"type": "string" +}, +"violatedLocation": { +"description": "Non-compliant location of the principal or the data destination.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DataRetentionDeletionEvent": { +"description": "Details about data retention deletion violations, in which the data is non-compliant based on their retention or deletion time, as defined in the applicable data security policy. The Data Retention Deletion (DRD) control is a control of the DSPM (Data Security Posture Management) suite that enables organizations to manage data retention and deletion policies in compliance with regulations, such as GDPR and CRPA. DRD supports two primary policy types: maximum storage length (max TTL) and minimum storage length (min TTL). Both are aimed at helping organizations meet regulatory and data management commitments.", +"id": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent", +"properties": { +"dataObjectCount": { +"description": "Number of objects that violated the policy for this resource. If the number is less than 1,000, then the value of this field is the exact number. If the number of objects that violated the policy is greater than or equal to 1,000, then the value of this field is 1000.", +"format": "int64", +"type": "string" +}, +"eventDetectionTime": { +"description": "Timestamp indicating when the event was detected.", +"format": "google-datetime", +"type": "string" +}, +"eventType": { +"description": "Type of the DRD event.", +"enum": [ +"EVENT_TYPE_UNSPECIFIED", +"EVENT_TYPE_MAX_TTL_EXCEEDED", +"EVENT_TYPE_MAX_TTL_FROM_CREATION", +"EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION", +"EVENT_TYPE_MIN_TTL_FROM_CREATION" +], +"enumDeprecated": [ +false, +true, +false, +false, +false +], +"enumDescriptions": [ +"Unspecified event type.", +"Deprecated: This field is pending removal. Use EVENT_TYPE_MAX_TTL_FROM_CREATION or EVENT_TYPE_MAX_TTL_FROM_LAST_MODIFICATION instead.", +"Max TTL from the asset's creation time.", +"Max TTL from the asset's last modification time.", +"Min TTL from the asset's creation time." +], +"type": "string" +}, +"maxRetentionAllowed": { +"description": "Maximum duration of retention allowed from the DRD control. This comes from the DRD control where users set a max TTL for their data. For example, suppose that a user sets the max TTL for a Cloud Storage bucket to 90 days. However, an object in that bucket is 100 days old. In this case, a DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, and the max_retention_allowed is 90 days.", +"format": "google-duration", +"type": "string" +}, +"minRetentionAllowed": { +"description": "Min duration of retention allowed from the DSPM retention control. This field is only populated when event type is set to EVENT_TYPE_MIN_TTL_FROM_CREATION.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Database": { +"description": "Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.", +"id": "GoogleCloudSecuritycenterV2Database", +"properties": { +"displayName": { +"description": "The human-readable name of the database that the user connected to.", +"type": "string" +}, +"grantees": { +"description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.", +"type": "string" +}, +"query": { +"description": "The SQL statement that is associated with the database access.", +"type": "string" +}, +"userName": { +"description": "The username used to connect to the database. The username might not be an IAM principal and does not have a set format.", +"type": "string" +}, +"version": { +"description": "The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Dataset": { +"description": "Vertex AI dataset associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Dataset", +"properties": { +"displayName": { +"description": "The user defined display name of dataset, e.g. plants-dataset", +"type": "string" +}, +"name": { +"description": "Resource name of the dataset, e.g. projects/{project}/locations/{location}/datasets/2094040236064505856", +"type": "string" +}, +"source": { +"description": "Data source, such as a BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.gsod", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Denied": { +"description": "Denied IP rule.", +"id": "GoogleCloudSecuritycenterV2Denied", +"properties": { +"ipRules": { +"description": "Optional. Optional list of denied IP rules.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Detection": { +"description": "Memory hash detection contributing to the binary family match.", +"id": "GoogleCloudSecuritycenterV2Detection", +"properties": { +"binary": { +"description": "The name of the binary associated with the memory hash signature detection.", +"type": "string" +}, +"percentPagesMatched": { +"description": "The percentage of memory page hashes in the signature that were matched.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Disk": { +"description": "Contains information about the disk associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Disk", +"properties": { +"name": { +"description": "The name of the disk, for example, \"https://www.googleapis.com/compute/v1/projects/{project-id}/zones/{zone-id}/disks/{disk-id}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DiskPath": { +"description": "Path of the file in terms of underlying disk/partition identifiers.", +"id": "GoogleCloudSecuritycenterV2DiskPath", +"properties": { +"partitionUuid": { +"description": "UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)", +"type": "string" +}, +"relativePath": { +"description": "Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2DynamicMuteRecord": { +"description": "The record of a dynamic mute rule that matches the finding.", +"id": "GoogleCloudSecuritycenterV2DynamicMuteRecord", +"properties": { +"matchTime": { +"description": "When the dynamic mute rule first matched the finding.", +"format": "google-datetime", +"type": "string" +}, +"muteConfig": { +"description": "The relative resource name of the mute rule, represented by a mute config, that created this record, for example `organizations/123/muteConfigs/mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2EnvironmentVariable": { +"description": "A name-value pair representing an environment variable used in an operating system process.", +"id": "GoogleCloudSecuritycenterV2EnvironmentVariable", +"properties": { +"name": { +"description": "Environment variable name as a JSON encoded string.", +"type": "string" +}, +"val": { +"description": "Environment variable value as a JSON encoded string.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExfilResource": { +"description": "Resource where data was exfiltrated from or exfiltrated to.", +"id": "GoogleCloudSecuritycenterV2ExfilResource", +"properties": { +"components": { +"description": "Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Exfiltration": { +"description": "Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.", +"id": "GoogleCloudSecuritycenterV2Exfiltration", +"properties": { +"sources": { +"description": "If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"targets": { +"description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ExfilResource" +}, +"type": "array" +}, +"totalExfiltratedBytes": { +"description": "Total exfiltrated bytes processed for the entire job.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalExposure": { +"description": "Details about the externally exposed resource associated with the finding.", +"id": "GoogleCloudSecuritycenterV2ExternalExposure", +"properties": { +"backendService": { +"description": "The full resource name of load balancer backend service, for example, \"//compute.googleapis.com/projects/{project-id}/global/backendServices/{name}\".", +"type": "string" +}, +"exposedEndpoint": { +"description": "The resource which is running the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/zones/{zone}/instances/{instance}.\u201d", +"type": "string" +}, +"exposedService": { +"description": "The name and version of the service, for example, \"Jupyter Notebook 6.14.0\".", +"type": "string" +}, +"forwardingRule": { +"description": "The full resource name of the forwarding rule, for example, \"//compute.googleapis.com/projects/{project-id}/global/forwardingRules/{forwarding-rule-name}\".", +"type": "string" +}, +"instanceGroup": { +"description": "The full resource name of the instance group, for example, \"//compute.googleapis.com/projects/{project-id}/global/instanceGroups/{name}\".", +"type": "string" +}, +"loadBalancerFirewallPolicy": { +"description": "The full resource name of the load balancer firewall policy, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +}, +"networkEndpointGroup": { +"description": "The full resource name of the network endpoint group, for example, \"//compute.googleapis.com/projects/{project-id}/global/networkEndpointGroups/{name}\".", +"type": "string" +}, +"privateIpAddress": { +"description": "Private IP address of the exposed endpoint.", +"type": "string" +}, +"privatePort": { +"description": "Port number associated with private IP address.", +"type": "string" +}, +"publicIpAddress": { +"description": "Public IP address of the exposed endpoint.", +"type": "string" +}, +"publicPort": { +"description": "Public port number of the exposed endpoint.", +"type": "string" +}, +"serviceFirewallPolicy": { +"description": "The full resource name of the firewall policy of the exposed service, for example, \"//compute.googleapis.com/projects/{project-id}/global/firewallPolicies/{policy-name}\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ExternalSystem": { +"description": "Representation of third party SIEM/SOAR fields within SCC.", +"id": "GoogleCloudSecuritycenterV2ExternalSystem", +"properties": { +"assignees": { +"description": "References primary/secondary etc assignees in the external system.", +"items": { +"type": "string" +}, +"type": "array" +}, +"caseCloseTime": { +"description": "The time when the case was closed, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseCreateTime": { +"description": "The time when the case was created, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"casePriority": { +"description": "The priority of the finding's corresponding case in the external system.", +"type": "string" +}, +"caseSla": { +"description": "The SLA of the finding's corresponding case in the external system.", +"format": "google-datetime", +"type": "string" +}, +"caseUri": { +"description": "The link to the finding's corresponding case in the external system.", +"type": "string" +}, +"externalSystemUpdateTime": { +"description": "The time when the case was last updated, as reported by the external system.", +"format": "google-datetime", +"type": "string" +}, +"externalUid": { +"description": "The identifier that's used to track the finding's corresponding case in the external system.", +"type": "string" +}, +"name": { +"description": "Full resource name of the external system. The following list shows some examples: + `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira`", +"type": "string" +}, +"status": { +"description": "The most recent status of the finding's corresponding case, as reported by the external system.", +"type": "string" +}, +"ticketInfo": { +"$ref": "GoogleCloudSecuritycenterV2TicketInfo", +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2File": { +"description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", +"id": "GoogleCloudSecuritycenterV2File", +"properties": { +"contents": { +"description": "Prefix of the file contents as a JSON-encoded string.", +"type": "string" +}, +"diskPath": { +"$ref": "GoogleCloudSecuritycenterV2DiskPath", +"description": "Path of the file in terms of underlying disk/partition identifiers." +}, +"fileLoadState": { +"description": "The load state of the file.", +"enum": [ +"FILE_LOAD_STATE_UNSPECIFIED", +"LOADED_BY_PROCESS", +"NOT_LOADED_BY_PROCESS" +], +"enumDescriptions": [ +"The file state is unspecified.", +"The file is being used by an active process at the time of scanning.", +"The file is not being used by any active process at the time of scanning." +], +"type": "string" +}, +"hashedSize": { +"description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", +"format": "int64", +"type": "string" +}, +"operations": { +"description": "Operation(s) performed on a file.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2FileOperation" +}, +"type": "array" +}, +"partiallyHashed": { +"description": "True when the hash covers only a prefix of the file.", +"type": "boolean" +}, +"path": { +"description": "Absolute path of the file as a JSON encoded string.", +"type": "string" +}, +"sha256": { +"description": "SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.", +"type": "string" +}, +"size": { +"description": "Size of the file in bytes.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2FileOperation": { +"description": "Operation(s) performed on a file.", +"id": "GoogleCloudSecuritycenterV2FileOperation", +"properties": { +"type": { +"description": "The type of the operation", +"enum": [ +"OPERATION_TYPE_UNSPECIFIED", +"OPEN", +"READ", +"RENAME", +"WRITE", +"EXECUTE" +], +"enumDescriptions": [ +"The operation is unspecified.", +"Represents an open operation.", +"Represents a read operation.", +"Represents a rename operation.", +"Represents a write operation.", +"Represents an execute operation." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Finding": { +"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.", +"id": "GoogleCloudSecuritycenterV2Finding", +"properties": { +"access": { +"$ref": "GoogleCloudSecuritycenterV2Access", +"description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where." +}, +"affectedResources": { +"$ref": "GoogleCloudSecuritycenterV2AffectedResources", +"description": "AffectedResources associated with the finding." +}, +"aiModel": { +"$ref": "GoogleCloudSecuritycenterV2AiModel", +"description": "The AI model associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2Application", +"description": "Represents an application associated with the finding." +}, +"artifactGuardPolicies": { +"$ref": "GoogleCloudSecuritycenterV2ArtifactGuardPolicies", +"description": "ArtifactGuardPolicies associated with the finding." +}, +"attackExposure": { +"$ref": "GoogleCloudSecuritycenterV2AttackExposure", +"description": "The results of an attack path simulation relevant to this finding." +}, +"backupDisasterRecovery": { +"$ref": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", +"description": "Fields related to Backup and DR findings." +}, +"canonicalName": { +"description": "Output only. The canonical name of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` The prefix is the closest CRM ancestor of the resource associated with the finding.", +"readOnly": true, +"type": "string" +}, +"category": { +"description": "Immutable. The additional taxonomy group within findings from a given source. Example: \"XSS_FLASH_INJECTION\"", +"type": "string" +}, +"chokepoint": { +"$ref": "GoogleCloudSecuritycenterV2Chokepoint", +"description": "Contains details about a chokepoint, which is a resource or resource group where high-risk attack paths converge, based on [attack path simulations] (https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_path_simulations). This field cannot be updated. Its value is ignored in all update requests." +}, +"cloudArmor": { +"$ref": "GoogleCloudSecuritycenterV2CloudArmor", +"description": "Fields related to Cloud Armor findings." +}, +"cloudDlpDataProfile": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", +"description": "Cloud DLP data profile that is associated with the finding." +}, +"cloudDlpInspection": { +"$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection", +"description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding." +}, +"complianceDetails": { +"$ref": "GoogleCloudSecuritycenterV2ComplianceDetails", +"description": "Details about the compliance implications of the finding." +}, +"compliances": { +"description": "Contains compliance information for security standards associated to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Compliance" +}, +"type": "array" +}, +"connections": { +"description": "Contains information about the IP connection associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Connection" +}, +"type": "array" +}, +"contacts": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ContactDetails" +}, +"description": "Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }", +"readOnly": true, +"type": "object" +}, +"containers": { +"description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"createTime": { +"description": "Output only. The time at which the finding was created in Security Command Center.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The name of the Cloud KMS key used to encrypt this finding, if any.", +"readOnly": true, +"type": "string" +}, +"dataAccessEvents": { +"description": "Data access events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataAccessEvent" +}, +"type": "array" +}, +"dataFlowEvents": { +"description": "Data flow events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataFlowEvent" +}, +"type": "array" +}, +"dataRetentionDeletionEvents": { +"description": "Data retention deletion events associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DataRetentionDeletionEvent" +}, +"type": "array" +}, +"database": { +"$ref": "GoogleCloudSecuritycenterV2Database", +"description": "Database associated with the finding." +}, +"description": { +"description": "Contains more details about the finding.", +"type": "string" +}, +"disk": { +"$ref": "GoogleCloudSecuritycenterV2Disk", +"description": "Disk associated with the finding." +}, +"eventTime": { +"description": "The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.", +"format": "google-datetime", +"type": "string" +}, +"exfiltration": { +"$ref": "GoogleCloudSecuritycenterV2Exfiltration", +"description": "Represents exfiltrations associated with the finding." +}, +"externalExposure": { +"$ref": "GoogleCloudSecuritycenterV2ExternalExposure", +"description": "External exposure associated with the finding." +}, +"externalSystems": { +"additionalProperties": { +"$ref": "GoogleCloudSecuritycenterV2ExternalSystem" +}, +"description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", +"readOnly": true, +"type": "object" +}, +"externalUri": { +"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.", +"type": "string" +}, +"files": { +"description": "File associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"findingClass": { +"description": "The class of the finding.", +"enum": [ +"FINDING_CLASS_UNSPECIFIED", +"THREAT", +"VULNERABILITY", +"MISCONFIGURATION", +"OBSERVATION", +"SCC_ERROR", +"POSTURE_VIOLATION", +"TOXIC_COMBINATION", +"SENSITIVE_DATA_RISK", +"CHOKEPOINT", +"EXTERNAL_EXPOSURE" +], +"enumDescriptions": [ +"Unspecified finding class.", +"Describes unwanted or malicious activity.", +"Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", +"Describes a potential weakness in cloud resource/asset configuration that increases risk.", +"Describes a security observation that is for informational purposes.", +"Describes an error that prevents some SCC functionality.", +"Describes a potential security risk due to a change in the security posture.", +"Describes a combination of security issues that represent a more severe security problem when taken together.", +"Describes a potential security risk to data assets that contain sensitive data.", +"Describes a resource or resource group where high risk attack paths converge, based on attack path simulations (APS).", +"Describes a potential security risk due to the resource being exposed to the internet." +], +"type": "string" +}, +"groupMemberships": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2GroupMembership" +}, +"type": "array" +}, +"iamBindings": { +"description": "Represents IAM bindings associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IamBinding" +}, +"type": "array" +}, +"indicator": { +"$ref": "GoogleCloudSecuritycenterV2Indicator", +"description": "Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)." +}, +"ipRules": { +"$ref": "GoogleCloudSecuritycenterV2IpRules", +"description": "IP rules associated with the finding." +}, +"job": { +"$ref": "GoogleCloudSecuritycenterV2Job", +"description": "Job associated with the finding." +}, +"kernelRootkit": { +"$ref": "GoogleCloudSecuritycenterV2KernelRootkit", +"description": "Signature of the kernel rootkit." +}, +"kubernetes": { +"$ref": "GoogleCloudSecuritycenterV2Kubernetes", +"description": "Kubernetes resources associated with the finding." +}, +"loadBalancers": { +"description": "The load balancers associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LoadBalancer" +}, +"type": "array" +}, +"logEntries": { +"description": "Log entries that are relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2LogEntry" +}, +"type": "array" +}, +"mitreAttack": { +"$ref": "GoogleCloudSecuritycenterV2MitreAttack", +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org" +}, +"moduleName": { +"description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", +"type": "string" +}, +"mute": { +"description": "Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +}, +"muteInfo": { +"$ref": "GoogleCloudSecuritycenterV2MuteInfo", +"description": "Output only. The mute information regarding this finding.", +"readOnly": true +}, +"muteInitiator": { +"description": "Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", +"type": "string" +}, +"muteUpdateTime": { +"description": "Output only. The most recent time this finding was muted or unmuted.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`", +"type": "string" +}, +"networks": { +"description": "Represents the VPC networks that the resource is attached to.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Network" +}, +"type": "array" +}, +"nextSteps": { +"description": "Steps to address the finding.", +"type": "string" +}, +"notebook": { +"$ref": "GoogleCloudSecuritycenterV2Notebook", +"description": "Notebook associated with the finding." +}, +"orgPolicies": { +"description": "Contains information about the org policies associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2OrgPolicy" +}, +"type": "array" +}, +"parent": { +"description": "The relative resource name of the source and location the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}` + `folders/{folders_id}/sources/{source_id}` + `projects/{projects_id}/sources/{source_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}` + `folders/{folders_id}/sources/{source_id}/locations/{location_id}` + `projects/{projects_id}/sources/{source_id}/locations/{location_id}`", +"type": "string" +}, +"parentDisplayName": { +"description": "Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".", +"readOnly": true, +"type": "string" +}, +"processes": { +"description": "Represents operating system processes associated with the Finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Process" +}, +"type": "array" +}, +"resourceName": { +"description": "Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.", +"type": "string" +}, +"secret": { +"$ref": "GoogleCloudSecuritycenterV2Secret", +"description": "Secret associated with the finding." +}, +"securityMarks": { +"$ref": "GoogleCloudSecuritycenterV2SecurityMarks", +"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.", +"readOnly": true +}, +"securityPosture": { +"$ref": "GoogleCloudSecuritycenterV2SecurityPosture", +"description": "The security posture associated with the finding." +}, +"severity": { +"description": "The severity of the finding. This field is managed by the source that writes the finding.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"This value is used for findings when a source doesn't write a severity value.", +"Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", +"Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", +"Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", +"Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." +], +"type": "string" +}, +"sourceProperties": { +"additionalProperties": { +"type": "any" +}, +"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.", +"type": "object" +}, +"state": { +"description": "Output only. The state of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"readOnly": true, +"type": "string" +}, +"toxicCombination": { +"$ref": "GoogleCloudSecuritycenterV2ToxicCombination", +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests." +}, +"vertexAi": { +"$ref": "GoogleCloudSecuritycenterV2VertexAi", +"description": "VertexAi associated with the finding." +}, +"vulnerability": { +"$ref": "GoogleCloudSecuritycenterV2Vulnerability", +"description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Folder": { +"description": "Message that contains the resource name and display name of a folder resource.", +"id": "GoogleCloudSecuritycenterV2Folder", +"properties": { +"resourceFolder": { +"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceFolderDisplayName": { +"description": "The user defined display name for this folder.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Framework": { +"description": "Compliance framework associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Framework", +"properties": { +"category": { +"description": "Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads", +"items": { +"enum": [ +"FRAMEWORK_CATEGORY_UNSPECIFIED", +"SECURITY_BENCHMARKS", +"ASSURED_WORKLOADS", +"DATA_SECURITY", +"GOOGLE_BEST_PRACTICES", +"CUSTOM_FRAMEWORK" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Security Benchmarks framework", +"Assured Workloads framework", +"Data Security framework", +"Google Best Practices framework", +"A user-created framework" +], +"type": "string" +}, +"type": "array" +}, +"controls": { +"description": "The controls associated with the framework.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Control" +}, +"type": "array" +}, +"displayName": { +"description": "Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework", +"type": "string" +}, +"name": { +"description": "Name of the framework associated with the finding", +"type": "string" +}, +"type": { +"description": "Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)", +"enum": [ +"FRAMEWORK_TYPE_UNSPECIFIED", +"FRAMEWORK_TYPE_BUILT_IN", +"FRAMEWORK_TYPE_CUSTOM" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"The framework is a built-in framework if it is created and managed by GCP.", +"The framework is a custom framework if it is created and managed by the user." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Geolocation": { +"description": "Represents a geographical location for a given access.", +"id": "GoogleCloudSecuritycenterV2Geolocation", +"properties": { +"regionCode": { +"description": "A CLDR.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GoogleCloudSecuritycenterV2GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "GoogleCloudSecuritycenterV2IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "GoogleCloudSecuritycenterV2Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2InfoType": { +"description": "Type of information detected by the API.", +"id": "GoogleCloudSecuritycenterV2InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "GoogleCloudSecuritycenterV2SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRule": { +"description": "IP rule information.", +"id": "GoogleCloudSecuritycenterV2IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IpRules": { +"description": "IP rules associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IpRules", +"properties": { +"allowed": { +"$ref": "GoogleCloudSecuritycenterV2Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "GoogleCloudSecuritycenterV2Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Issue": { +"description": "Security Command Center Issue.", +"id": "GoogleCloudSecuritycenterV2Issue", +"properties": { +"createTime": { +"description": "Output only. The time the issue was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "The description of the issue in Markdown format.", +"type": "string" +}, +"detection": { +"description": "The finding category or rule name that generated the issue.", +"type": "string" +}, +"domains": { +"description": "The domains of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueDomain" +}, +"type": "array" +}, +"exposureScore": { +"description": "The exposure score of the issue.", +"format": "double", +"type": "number" +}, +"issueType": { +"description": "The type of the issue.", +"enum": [ +"ISSUE_TYPE_UNSPECIFIED", +"CHOKEPOINT", +"TOXIC_COMBINATION", +"INSIGHT" +], +"enumDescriptions": [ +"Unspecified issue type.", +"Chokepoint issue type.", +"Toxic combination issue type.", +"Insight issue type." +], +"type": "string" +}, +"lastObservationTime": { +"description": "The time the issue was last observed.", +"format": "google-datetime", +"type": "string" +}, +"mute": { +"$ref": "GoogleCloudSecuritycenterV2IssueMute", +"description": "The mute information of the issue." +}, +"name": { +"description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", +"type": "string" +}, +"primaryResource": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource", +"description": "The primary resource associated with the issue." +}, +"relatedFindings": { +"description": "The findings related to the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueFinding" +}, +"type": "array" +}, +"remediations": { +"description": "Approaches to remediate the issue in Markdown format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secondaryResources": { +"description": "Additional resources associated with the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResource" +}, +"type": "array" +}, +"securityContexts": { +"description": "The security context of the issue.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" +}, +"type": "array" +}, +"severity": { +"description": "The severity of the issue.", +"enum": [ +"SEVERITY_UNSPECIFIED", +"CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified severity.", +"Critical severity.", +"High severity.", +"Medium severity.", +"Low severity." +], +"type": "string" +}, +"state": { +"description": "Output only. The state of the issue.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"Active state.", +"Inactive state." +], +"readOnly": true, +"type": "string" +}, +"updateTime": { +"description": "Output only. The time the issue was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueDomain": { +"description": "The domains of an issue.", +"id": "GoogleCloudSecuritycenterV2IssueDomain", +"properties": { +"domainCategory": { +"description": "The domain category of the issue.", +"enum": [ +"DOMAIN_CATEGORY_UNSPECIFIED", +"AI", +"CODE", +"CONTAINER", +"DATA", +"IDENTITY_AND_ACCESS", +"VULNERABILITY", +"THREAT" +], +"enumDescriptions": [ +"Unspecified domain category.", +"Issues in the AI domain.", +"Issues in the code domain.", +"Issues in the container domain.", +"Issues in the data domain.", +"Issues in the identity and access domain.", +"Issues in the vulnerability domain.", +"Issues in the threat domain." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFinding": { +"description": "Finding related to an issue.", +"id": "GoogleCloudSecuritycenterV2IssueFinding", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", +"description": "The CVE of the finding." +}, +"name": { +"description": "The name of the finding.", +"type": "string" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"description": "The security bulletin of the finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingCve": { +"description": "The CVE of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingCve", +"properties": { +"name": { +"description": "The CVE name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { +"description": "The security bulletin of the finding.", +"id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", +"properties": { +"name": { +"description": "The security bulletin name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueMute": { +"description": "The mute information of the issue.", +"id": "GoogleCloudSecuritycenterV2IssueMute", +"properties": { +"muteInitiator": { +"description": "The email address of the user who last changed the mute state of the issue.", +"type": "string" +}, +"muteReason": { +"description": "The user-provided reason for muting the issue.", +"type": "string" +}, +"muteState": { +"description": "Output only. The mute state of the issue.", +"enum": [ +"MUTE_STATE_UNSPECIFIED", +"NOT_MUTED", +"MUTED" +], +"enumDescriptions": [ +"Unspecified mute state.", +"Not muted.", +"Muted." +], +"readOnly": true, +"type": "string" +}, +"muteUpdateTime": { +"description": "The time the issue was muted.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResource": { +"description": "A resource associated with the an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"description": "The AppHub application associated with the resource, if any. Only populated for the primary resource." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." +}, +"cloudProvider": { +"description": "The cloud provider of the resource associated with the issue.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"Unspecified cloud provider.", +"Google Cloud.", +"Amazon Web Services.", +"Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The resource-type specific display name of the resource associated with the issue.", +"type": "string" +}, +"googleCloudMetadata": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." +}, +"name": { +"description": "The full resource name of the resource associated with the issue.", +"type": "string" +}, +"type": { +"description": "The type of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplication": { +"description": "Represents an ADC application associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the AppHub application." +}, +"name": { +"description": "The resource name of an ADC Application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision": { +"description": "Represents an ADC template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Application Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision": { +"description": "Represents an ADC shared template associated with the finding.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision", +"properties": { +"name": { +"description": "The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplication": { +"description": "The AppHub application associated with the resource, if any.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { +"description": "The AWS metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", +"properties": { +"account": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"description": "The AWS account of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { +"description": "The AWS account of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", +"properties": { +"id": { +"description": "The AWS account ID of the resource associated with the issue.", +"type": "string" +}, +"name": { +"description": "The AWS account name of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { +"description": "The Azure metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", +"properties": { +"subscription": { +"$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"description": "The Azure subscription of the resource associated with the issue." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { +"description": "The Azure subscription of the resource associated with the issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", +"properties": { +"displayName": { +"description": "The Azure subscription display name of the resource associated with the issue.", +"type": "string" +}, +"id": { +"description": "The Azure subscription ID of the resource associated with the issue.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { +"description": "Google Cloud metadata of a resource associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", +"properties": { +"projectId": { +"description": "The project ID that the resource associated with the issue belongs to.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContext": { +"description": "Security context associated with an issue.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContext", +"properties": { +"aggregatedCount": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"description": "The aggregated count of the security context." +}, +"context": { +"$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"description": "The context of the security context." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { +"description": "Aggregated count of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", +"properties": { +"key": { +"description": "Aggregation key.", +"type": "string" +}, +"value": { +"description": "Aggregation value.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2IssueSecurityContextContext": { +"description": "Context of a security context.", +"id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", +"properties": { +"type": { +"description": "Context type.", +"type": "string" +}, +"values": { +"description": "Context values.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Job": { +"description": "Describes a job", +"id": "GoogleCloudSecuritycenterV2Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "GoogleCloudSecuritycenterV2KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "GoogleCloudSecuritycenterV2Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "GoogleCloudSecuritycenterV2Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "GoogleCloudSecuritycenterV2LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2LogEntry": { +"description": "An individual entry in a log.", +"id": "GoogleCloudSecuritycenterV2LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "GoogleCloudSecuritycenterV2CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "GoogleCloudSecuritycenterV2MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteConfig": { +"description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", +"id": "GoogleCloudSecuritycenterV2MuteConfig", +"properties": { +"createTime": { +"description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "A description of the mute config.", +"type": "string" +}, +"expiryTime": { +"description": "Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.", +"format": "google-datetime", +"type": "string" +}, +"filter": { +"description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", +"type": "string" +}, +"mostRecentEditor": { +"description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}` + `folders/{folder}/muteConfigs/{mute_config}` + `folders/{folder}/locations/{location}/muteConfigs/{mute_config}` + `projects/{project}/muteConfigs/{mute_config}` + `projects/{project}/locations/{location}/muteConfigs/{mute_config}`", +"type": "string" +}, +"type": { +"description": "Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.", +"enum": [ +"MUTE_CONFIG_TYPE_UNSPECIFIED", +"STATIC", +"DYNAMIC" +], +"enumDescriptions": [ +"Unused.", +"A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state.", +"A dynamic mute config, which is applied to existing and future matching findings, setting their dynamic mute state to \"muted\". If the config is updated or deleted, or a matching finding is updated, such that the finding doesn't match the config, the config will be removed from the finding, and the finding's dynamic mute state may become \"unmuted\" (unless other configs still match)." +], +"type": "string" +}, +"updateTime": { +"description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "GoogleCloudSecuritycenterV2MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "GoogleCloudSecuritycenterV2StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NodePool": { +"description": "Provides GKE node pool information.", +"id": "GoogleCloudSecuritycenterV2NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "GoogleCloudSecuritycenterV2Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2NotificationMessage": { +"description": "Cloud SCC's Notification", +"id": "GoogleCloudSecuritycenterV2NotificationMessage", +"properties": { +"finding": { +"$ref": "GoogleCloudSecuritycenterV2Finding", +"description": "If it's a Finding based notification config, this field will be populated." +}, +"notificationConfigName": { +"description": "Name of the notification config that generated current notification.", +"type": "string" +}, +"resource": { +"$ref": "GoogleCloudSecuritycenterV2Resource", +"description": "The Cloud resource tied to this notification's Finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "GoogleCloudSecuritycenterV2Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "GoogleCloudSecuritycenterV2OrgPolicy", +"properties": { +"name": { +"description": "Identifier. The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Package": { +"description": "Package is a generic definition of a package.", +"id": "GoogleCloudSecuritycenterV2Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Pipeline", +"properties": { +"displayName": { +"description": "The user-defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Pod": { +"description": "A Kubernetes Pod.", +"id": "GoogleCloudSecuritycenterV2Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "GoogleCloudSecuritycenterV2PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "GoogleCloudSecuritycenterV2PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Process": { +"description": "Represents an operating system process.", +"id": "GoogleCloudSecuritycenterV2Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "GoogleCloudSecuritycenterV2File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "GoogleCloudSecuritycenterV2ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "GoogleCloudSecuritycenterV2MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Reference": { +"description": "Additional Links", +"id": "GoogleCloudSecuritycenterV2Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Resource": { +"description": "Information related to the Google Cloud resource.", +"id": "GoogleCloudSecuritycenterV2Resource", +"properties": { +"adcApplication": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplication", +"description": "The ADC application associated with the finding." +}, +"adcApplicationTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision", +"description": "The ADC template associated with the finding." +}, +"adcSharedTemplate": { +"$ref": "GoogleCloudSecuritycenterV2AdcSharedTemplateRevision", +"description": "The ADC shared template associated with the finding." +}, +"application": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplication", +"description": "The App Hub application this resource belongs to." +}, +"awsMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AwsMetadata", +"description": "The AWS metadata associated with the finding." +}, +"azureMetadata": { +"$ref": "GoogleCloudSecuritycenterV2AzureMetadata", +"description": "The Azure metadata associated with the finding." +}, +"cloudProvider": { +"description": "Indicates which cloud provider the finding is from.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"displayName": { +"description": "The human readable name of the resource.", +"type": "string" +}, +"gcpMetadata": { +"$ref": "GcpMetadata", +"description": "The Google Cloud metadata associated with the finding." +}, +"location": { +"description": "The region or location of the service (if applicable).", +"type": "string" +}, +"name": { +"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourcePath": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePath", +"description": "Provides the path to the resource within the resource hierarchy." +}, +"resourcePathString": { +"description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", +"type": "string" +}, +"service": { +"description": "The service or resource provider associated with the resource.", +"type": "string" +}, +"type": { +"description": "The full resource type of the resource.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplication": { +"description": "The App Hub Application associated with the finding's resource.", +"id": "GoogleCloudSecuritycenterV2ResourceApplication", +"properties": { +"attributes": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"description": "Consumer provided attributes for the application" +}, +"name": { +"description": "The resource name of an Application. Format: `projects/{host-project-id}/locations/{location}/applications/{application-id}`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributes": { +"description": "Consumer provided attributes for the application", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributes", +"properties": { +"businessOwners": { +"description": "Business team that ensures user needs are met and value is delivered", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"criticality": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"description": "User-defined criticality information." +}, +"developerOwners": { +"description": "Developer team that owns development and coding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +}, +"environment": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"description": "User-defined environment information." +}, +"operatorOwners": { +"description": "Operator team that ensures runtime and operations.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo": { +"description": "Contact information of stakeholders.", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo", +"properties": { +"email": { +"description": "Email address of the contacts.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality": { +"description": "Criticality of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality", +"properties": { +"type": { +"description": "Criticality Type.", +"enum": [ +"CRITICALITY_TYPE_UNSPECIFIED", +"MISSION_CRITICAL", +"HIGH", +"MEDIUM", +"LOW" +], +"enumDescriptions": [ +"Unspecified type.", +"Mission critical service, application or workload.", +"High impact.", +"Medium impact.", +"Low impact." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment": { +"description": "Environment of the Application, Service, or Workload", +"id": "GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment", +"properties": { +"type": { +"description": "Environment Type.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"PRODUCTION", +"STAGING", +"TEST", +"DEVELOPMENT" +], +"enumDescriptions": [ +"Unspecified type.", +"Production environment.", +"Staging environment.", +"Test environment.", +"Development environment." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "GoogleCloudSecuritycenterV2ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "GoogleCloudSecuritycenterV2ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ResourceValueConfig": { +"description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", +"id": "GoogleCloudSecuritycenterV2ResourceValueConfig", +"properties": { +"cloudProvider": { +"description": "Cloud provider this configuration applies to", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"createTime": { +"description": "Output only. Timestamp this resource value configuration was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the resource value configuration.", +"type": "string" +}, +"name": { +"description": "Identifier. Name for the resource value configuration", +"type": "string" +}, +"resourceLabelsSelector": { +"additionalProperties": { +"type": "string" +}, +"description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", +"type": "object" +}, +"resourceType": { +"description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", +"type": "string" +}, +"resourceValue": { +"description": "Resource value level this expression represents Only required when there is no Sensitive Data Protection mapping in the request", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"scope": { +"description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope and will be checked with `AND` of other resources.", +"type": "string" +}, +"sensitiveDataProtectionMapping": { +"$ref": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." +}, +"tagValues": { +"description": "Tag values combined with `AND` to check against. For Google Cloud resources, they are tag value IDs in the form of \"tagValues/123\". Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", +"items": { +"type": "string" +}, +"type": "array" +}, +"updateTime": { +"description": "Output only. Timestamp this resource value configuration was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "GoogleCloudSecuritycenterV2Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "GoogleCloudSecuritycenterV2Secret", +"properties": { +"environmentVariable": { +"$ref": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "GoogleCloudSecuritycenterV2SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "GoogleCloudSecuritycenterV2SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretFilePath": { +"description": "File path containing the secret.", +"id": "GoogleCloudSecuritycenterV2SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecretStatus": { +"description": "The status of the secret.", +"id": "GoogleCloudSecuritycenterV2SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "GoogleCloudSecuritycenterV2SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "GoogleCloudSecuritycenterV2SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/assets/{asset_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `projects/{project_number}/assets/{asset_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "GoogleCloudSecuritycenterV2SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "GoogleCloudSecuritycenterV2SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policy set, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping": { +"description": "Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", +"id": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", +"properties": { +"highSensitivityMapping": { +"description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +}, +"mediumSensitivityMapping": { +"description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", +"enum": [ +"RESOURCE_VALUE_UNSPECIFIED", +"HIGH", +"MEDIUM", +"LOW", +"NONE" +], +"enumDescriptions": [ +"Unspecific value", +"High resource value", +"Medium resource value", +"Low resource value", +"No resource value, e.g. ignore these resources" +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "GoogleCloudSecuritycenterV2SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "GoogleCloudSecuritycenterV2StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Subject": { +"description": "Represents a Kubernetes subject.", +"id": "GoogleCloudSecuritycenterV2Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "GoogleCloudSecuritycenterV2TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "GoogleCloudSecuritycenterV2ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "GoogleCloudSecuritycenterV2VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "GoogleCloudSecuritycenterV2Vulnerability", +"properties": { +"cve": { +"$ref": "GoogleCloudSecuritycenterV2Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "GoogleCloudSecuritycenterV2Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "GoogleCloudSecuritycenterV2Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "GoogleCloudSecuritycenterV2SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"GoogleCloudSecuritycenterV2YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "GoogleCloudSecuritycenterV2YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +}, +"GroupAssetsRequest": { +"description": "Request message for grouping by assets.", +"id": "GroupAssetsRequest", +"properties": { +"compareDuration": { +"description": "When compare_duration is set, the Asset's \"state\" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present before compare_duration, but present at reference_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. This field is ignored if `state` is not a field in `group_by`.", +"format": "google-duration", +"type": "string" +}, +"filter": { +"description": "Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. For example, `resource_properties.size = 100` is a valid filter string.", +"type": "string" +}, +"groupBy": { +"description": "Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: \"security_center_properties.resource_project,security_center_properties.project\". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.", +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupAssetsResponse": { +"description": "Response message for grouping by assets.", +"id": "GroupAssetsResponse", +"properties": { +"groupByResults": { +"description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", +"items": { +"$ref": "GroupResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the groupBy request.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupFindingsRequest": { +"description": "Request message for grouping by findings.", +"id": "GroupFindingsRequest", +"properties": { +"filter": { +"description": "Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. For example, `source_properties.size = 100` is a valid filter string.", +"type": "string" +}, +"groupBy": { +"description": "Required. Expression that defines what assets fields to use for grouping (including `state`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported: * resource_name * category * state * parent", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", +"format": "int32", +"type": "integer" +}, +"pageToken": { +"description": "The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.", +"type": "string" +}, +"readTime": { +"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupFindingsResponse": { +"description": "Response message for group by findings.", +"id": "GroupFindingsResponse", +"properties": { +"groupByResults": { +"description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", +"items": { +"$ref": "GroupResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the groupBy request.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"GroupMembership": { +"description": "Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way.", +"id": "GroupMembership", +"properties": { +"groupId": { +"description": "ID of the group.", +"type": "string" +}, +"groupType": { +"description": "Type of group.", +"enum": [ +"GROUP_TYPE_UNSPECIFIED", +"GROUP_TYPE_TOXIC_COMBINATION", +"GROUP_TYPE_CHOKEPOINT" +], +"enumDescriptions": [ +"Default value.", +"Group represents a toxic combination.", +"Group represents a chokepoint." +], +"type": "string" +} +}, +"type": "object" +}, +"GroupResult": { +"description": "Result containing the properties and count of a groupBy request.", +"id": "GroupResult", +"properties": { +"count": { +"description": "Total count of resources for the given properties.", +"format": "int64", +"type": "string" +}, +"properties": { +"additionalProperties": { +"type": "any" +}, +"description": "Properties matching the groupBy fields in the request.", +"type": "object" +} +}, +"type": "object" +}, +"IamBinding": { +"description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", +"id": "IamBinding", +"properties": { +"action": { +"description": "The action that was performed on a Binding.", +"enum": [ +"ACTION_UNSPECIFIED", +"ADD", +"REMOVE" +], +"enumDescriptions": [ +"Unspecified.", +"Addition of a Binding.", +"Removal of a Binding." +], +"type": "string" +}, +"member": { +"description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", +"type": "string" +}, +"role": { +"description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", +"type": "string" +} +}, +"type": "object" +}, +"Indicator": { +"description": "Represents what's commonly known as an _indicator of compromise_ (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise).", +"id": "Indicator", +"properties": { +"domains": { +"description": "List of domains associated to the Finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ipAddresses": { +"description": "The list of IP addresses that are associated with the finding.", +"items": { +"type": "string" +}, +"type": "array" +}, +"signatures": { +"description": "The list of matched signatures indicating that the given process is present in the environment.", +"items": { +"$ref": "ProcessSignature" +}, +"type": "array" +}, +"uris": { +"description": "The list of URIs associated to the Findings.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"InfoType": { +"description": "Type of information detected by the API.", +"id": "InfoType", +"properties": { +"name": { +"description": "Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.", +"type": "string" +}, +"sensitivityScore": { +"$ref": "SensitivityScore", +"description": "Optional custom sensitivity for this InfoType. This only applies to data profiling." +}, +"version": { +"description": "Optional version name for this InfoType.", +"type": "string" +} +}, +"type": "object" +}, +"IpRule": { +"description": "IP rule information.", +"id": "IpRule", +"properties": { +"portRanges": { +"description": "Optional. An optional list of ports to which this rule applies. This field is only applicable for the UDP or (S)TCP protocols. Each entry must be either an integer or a range including a min and max port number.", +"items": { +"$ref": "PortRange" +}, +"type": "array" +}, +"protocol": { +"description": "The IP protocol this rule applies to. This value can either be one of the following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or a string representation of the integer value.", +"type": "string" +} +}, +"type": "object" +}, +"IpRules": { +"description": "IP rules associated with the finding.", +"id": "IpRules", +"properties": { +"allowed": { +"$ref": "Allowed", +"description": "Tuple with allowed rules." +}, +"denied": { +"$ref": "Denied", +"description": "Tuple with denied rules." +}, +"destinationIpRanges": { +"description": "If destination IP ranges are specified, the firewall rule applies only to traffic that has a destination IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +}, +"direction": { +"description": "The direction that the rule is applicable to, one of ingress or egress.", +"enum": [ +"DIRECTION_UNSPECIFIED", +"INGRESS", +"EGRESS" +], +"enumDescriptions": [ +"Unspecified direction value.", +"Ingress direction value.", +"Egress direction value." +], +"type": "string" +}, +"exposedServices": { +"description": "Name of the network protocol service, such as FTP, that is exposed by the open port. Follows the naming convention available at: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceIpRanges": { +"description": "If source IP ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. Only supports IPv4.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Job": { +"description": "Describes a job", +"id": "Job", +"properties": { +"errorCode": { +"description": "Optional. If the job did not complete successfully, this field describes why.", +"format": "int32", +"type": "integer" +}, +"location": { +"description": "Optional. Gives the location where the job ran, such as `US` or `europe-west1`", +"type": "string" +}, +"name": { +"description": "The fully-qualified name for a job. e.g. `projects//jobs/`", +"type": "string" +}, +"state": { +"description": "Output only. State of the job, such as `RUNNING` or `PENDING`.", +"enum": [ +"JOB_STATE_UNSPECIFIED", +"PENDING", +"RUNNING", +"SUCCEEDED", +"FAILED" +], +"enumDescriptions": [ +"Unspecified represents an unknown state and should not be used.", +"Job is scheduled and pending for run", +"Job in progress", +"Job has completed with success", +"Job has completed but with failure" +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"KernelRootkit": { +"description": "Kernel mode rootkit signatures.", +"id": "KernelRootkit", +"properties": { +"name": { +"description": "Rootkit name, when available.", +"type": "string" +}, +"unexpectedCodeModification": { +"description": "True if unexpected modifications of kernel code memory are present.", +"type": "boolean" +}, +"unexpectedFtraceHandler": { +"description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedInterruptHandler": { +"description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKernelCodePages": { +"description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", +"type": "boolean" +}, +"unexpectedKprobeHandler": { +"description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", +"type": "boolean" +}, +"unexpectedProcessesInRunqueue": { +"description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", +"type": "boolean" +}, +"unexpectedReadOnlyDataModification": { +"description": "True if unexpected modifications of kernel read-only data memory are present.", +"type": "boolean" +}, +"unexpectedSystemCallHandler": { +"description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", +"type": "boolean" +} +}, +"type": "object" +}, +"Kubernetes": { +"description": "Kubernetes-related attributes.", +"id": "Kubernetes", +"properties": { +"accessReviews": { +"description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", +"items": { +"$ref": "AccessReview" +}, +"type": "array" +}, +"bindings": { +"description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "GoogleCloudSecuritycenterV1Binding" +}, +"type": "array" +}, +"nodePools": { +"description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", +"items": { +"$ref": "NodePool" +}, +"type": "array" +}, +"nodes": { +"description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", +"items": { +"$ref": "Node" +}, +"type": "array" +}, +"objects": { +"description": "Kubernetes objects related to the finding.", +"items": { +"$ref": "Object" +}, +"type": "array" +}, +"pods": { +"description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", +"items": { +"$ref": "Pod" +}, +"type": "array" +}, +"roles": { +"description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", +"items": { +"$ref": "Role" +}, +"type": "array" +} +}, +"type": "object" +}, +"Label": { +"description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", +"id": "Label", +"properties": { +"name": { +"description": "Name of the label.", +"type": "string" +}, +"value": { +"description": "Value that corresponds to the label's name.", +"type": "string" +} +}, +"type": "object" +}, +"ListAssetsResponse": { +"description": "Response message for listing assets.", +"id": "ListAssetsResponse", +"properties": { +"listAssetsResults": { +"description": "Assets matching the list request.", +"items": { +"$ref": "ListAssetsResult" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the list request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of assets matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListAssetsResult": { +"description": "Result containing the Asset and its State.", +"id": "ListAssetsResult", +"properties": { +"asset": { +"$ref": "Asset", +"description": "Asset matching the search request." +}, +"state": { +"description": "State of the asset.", +"enum": [ +"STATE_UNSPECIFIED", +"UNUSED", +"ADDED", +"REMOVED", +"ACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"Request did not specify use of this field in the result.", +"Asset was added between the points in time.", +"Asset was removed between the points in time.", +"Asset was active at both point(s) in time." +], +"type": "string" +} +}, +"type": "object" +}, +"ListFindingsResponse": { +"description": "Response message for listing findings.", +"id": "ListFindingsResponse", +"properties": { +"findings": { +"description": "Findings matching the list request.", +"items": { +"$ref": "GoogleCloudSecuritycenterV1beta1Finding" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"readTime": { +"description": "Time used for executing the list request.", +"format": "google-datetime", +"type": "string" +}, +"totalSize": { +"description": "The total number of findings matching the query.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSourcesResponse": { +"description": "Response message for listing sources.", +"id": "ListSourcesResponse", +"properties": { +"nextPageToken": { +"description": "Token to retrieve the next page of results, or empty if there are no more results.", +"type": "string" +}, +"sources": { +"description": "Sources belonging to the requested parent.", +"items": { +"$ref": "Source" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoadBalancer": { +"description": "Contains information related to the load balancer associated with the finding.", +"id": "LoadBalancer", +"properties": { +"name": { +"description": "The name of the load balancer associated with the finding.", +"type": "string" +} +}, +"type": "object" +}, +"LogEntry": { +"description": "An individual entry in a log.", +"id": "LogEntry", +"properties": { +"cloudLoggingEntry": { +"$ref": "CloudLoggingEntry", +"description": "An individual entry in a log stored in Cloud Logging." +} +}, +"type": "object" +}, +"MemoryHashSignature": { +"description": "A signature corresponding to memory page hashes.", +"id": "MemoryHashSignature", +"properties": { +"binaryFamily": { +"description": "The binary family.", +"type": "string" +}, +"detections": { +"description": "The list of memory hash detections contributing to the binary family match.", +"items": { +"$ref": "Detection" +}, +"type": "array" +} +}, +"type": "object" +}, +"MitreAttack": { +"description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", +"id": "MitreAttack", +"properties": { +"additionalTactics": { +"description": "Additional MITRE ATT&CK tactics related to this finding, if any.", +"items": { +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"type": "array" +}, +"additionalTechniques": { +"description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"primaryTactic": { +"description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", +"enum": [ +"TACTIC_UNSPECIFIED", +"RECONNAISSANCE", +"RESOURCE_DEVELOPMENT", +"INITIAL_ACCESS", +"EXECUTION", +"PERSISTENCE", +"PRIVILEGE_ESCALATION", +"DEFENSE_EVASION", +"CREDENTIAL_ACCESS", +"DISCOVERY", +"LATERAL_MOVEMENT", +"COLLECTION", +"COMMAND_AND_CONTROL", +"EXFILTRATION", +"IMPACT" +], +"enumDescriptions": [ +"Unspecified value.", +"TA0043", +"TA0042", +"TA0001", +"TA0002", +"TA0003", +"TA0004", +"TA0005", +"TA0006", +"TA0007", +"TA0008", +"TA0009", +"TA0011", +"TA0010", +"TA0040" +], +"type": "string" +}, +"primaryTechniques": { +"description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", +"items": { +"enum": [ +"TECHNIQUE_UNSPECIFIED", +"DATA_OBFUSCATION", +"DATA_OBFUSCATION_STEGANOGRAPHY", +"OS_CREDENTIAL_DUMPING", +"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM", +"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW", +"DATA_FROM_LOCAL_SYSTEM", +"AUTOMATED_EXFILTRATION", +"OBFUSCATED_FILES_OR_INFO", +"STEGANOGRAPHY", +"COMPILE_AFTER_DELIVERY", +"COMMAND_OBFUSCATION", +"SCHEDULED_TRANSFER", +"SYSTEM_OWNER_USER_DISCOVERY", +"MASQUERADING", +"MATCH_LEGITIMATE_NAME_OR_LOCATION", +"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", +"STARTUP_ITEMS", +"NETWORK_SERVICE_DISCOVERY", +"SCHEDULED_TASK_JOB", +"SCHEDULED_TASK_JOB_CRON", +"CONTAINER_ORCHESTRATION_JOB", +"PROCESS_INJECTION", +"INPUT_CAPTURE", +"INPUT_CAPTURE_KEYLOGGING", +"PROCESS_DISCOVERY", +"COMMAND_AND_SCRIPTING_INTERPRETER", +"UNIX_SHELL", +"PYTHON", +"EXPLOITATION_FOR_PRIVILEGE_ESCALATION", +"PERMISSION_GROUPS_DISCOVERY", +"CLOUD_GROUPS", +"INDICATOR_REMOVAL", +"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS", +"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY", +"INDICATOR_REMOVAL_FILE_DELETION", +"INDICATOR_REMOVAL_TIMESTOMP", +"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA", +"APPLICATION_LAYER_PROTOCOL", +"DNS", +"SOFTWARE_DEPLOYMENT_TOOLS", +"VALID_ACCOUNTS", +"DEFAULT_ACCOUNTS", +"LOCAL_ACCOUNTS", +"CLOUD_ACCOUNTS", +"FILE_AND_DIRECTORY_DISCOVERY", +"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT", +"PROXY", +"EXTERNAL_PROXY", +"MULTI_HOP_PROXY", +"ACCOUNT_MANIPULATION", +"ADDITIONAL_CLOUD_CREDENTIALS", +"ADDITIONAL_CLOUD_ROLES", +"SSH_AUTHORIZED_KEYS", +"ADDITIONAL_CONTAINER_CLUSTER_ROLES", +"MULTI_STAGE_CHANNELS", +"INGRESS_TOOL_TRANSFER", +"NATIVE_API", +"BRUTE_FORCE", +"AUTOMATED_COLLECTION", +"SHARED_MODULES", +"DATA_ENCODING", +"STANDARD_ENCODING", +"ACCESS_TOKEN_MANIPULATION", +"TOKEN_IMPERSONATION_OR_THEFT", +"CREATE_ACCOUNT", +"LOCAL_ACCOUNT", +"DEOBFUSCATE_DECODE_FILES_OR_INFO", +"EXPLOIT_PUBLIC_FACING_APPLICATION", +"SUPPLY_CHAIN_COMPROMISE", +"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS", +"EXPLOITATION_FOR_CLIENT_EXECUTION", +"USER_EXECUTION", +"EXPLOITATION_FOR_CREDENTIAL_ACCESS", +"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION", +"DOMAIN_POLICY_MODIFICATION", +"DATA_DESTRUCTION", +"DATA_ENCRYPTED_FOR_IMPACT", +"SERVICE_STOP", +"INHIBIT_SYSTEM_RECOVERY", +"FIRMWARE_CORRUPTION", +"RESOURCE_HIJACKING", +"NETWORK_DENIAL_OF_SERVICE", +"CLOUD_SERVICE_DISCOVERY", +"STEAL_APPLICATION_ACCESS_TOKEN", +"ACCOUNT_ACCESS_REMOVAL", +"TRANSFER_DATA_TO_CLOUD_ACCOUNT", +"STEAL_WEB_SESSION_COOKIE", +"CREATE_OR_MODIFY_SYSTEM_PROCESS", +"EVENT_TRIGGERED_EXECUTION", +"BOOT_OR_LOGON_AUTOSTART_EXECUTION", +"KERNEL_MODULES_AND_EXTENSIONS", +"SHORTCUT_MODIFICATION", +"ABUSE_ELEVATION_CONTROL_MECHANISM", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID", +"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING", +"UNSECURED_CREDENTIALS", +"CREDENTIALS_IN_FILES", +"BASH_HISTORY", +"PRIVATE_KEYS", +"SUBVERT_TRUST_CONTROL", +"INSTALL_ROOT_CERTIFICATE", +"COMPROMISE_HOST_SOFTWARE_BINARY", +"CREDENTIALS_FROM_PASSWORD_STORES", +"MODIFY_AUTHENTICATION_PROCESS", +"PLUGGABLE_AUTHENTICATION_MODULES", +"MULTI_FACTOR_AUTHENTICATION", +"IMPAIR_DEFENSES", +"DISABLE_OR_MODIFY_TOOLS", +"INDICATOR_BLOCKING", +"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM", +"HIDE_ARTIFACTS", +"HIDDEN_FILES_AND_DIRECTORIES", +"HIDDEN_USERS", +"EXFILTRATION_OVER_WEB_SERVICE", +"EXFILTRATION_TO_CLOUD_STORAGE", +"DYNAMIC_RESOLUTION", +"LATERAL_TOOL_TRANSFER", +"HIJACK_EXECUTION_FLOW", +"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING", +"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", +"CREATE_SNAPSHOT", +"CLOUD_INFRASTRUCTURE_DISCOVERY", +"DEVELOP_CAPABILITIES", +"DEVELOP_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES", +"OBTAIN_CAPABILITIES_MALWARE", +"OBTAIN_CAPABILITIES_VULNERABILITIES", +"ACTIVE_SCANNING", +"SCANNING_IP_BLOCKS", +"STAGE_CAPABILITIES", +"UPLOAD_MALWARE", +"CONTAINER_ADMINISTRATION_COMMAND", +"DEPLOY_CONTAINER", +"ESCAPE_TO_HOST", +"CONTAINER_AND_RESOURCE_DISCOVERY", +"REFLECTIVE_CODE_LOADING", +"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES", +"FINANCIAL_THEFT" +], +"enumDescriptions": [ +"Unspecified value.", +"T1001", +"T1001.002", +"T1003", +"T1003.007", +"T1003.008", +"T1005", +"T1020", +"T1027", +"T1027.003", +"T1027.004", +"T1027.010", +"T1029", +"T1033", +"T1036", +"T1036.005", +"T1037", +"T1037.005", +"T1046", +"T1053", +"T1053.003", +"T1053.007", +"T1055", +"T1056", +"T1056.001", +"T1057", +"T1059", +"T1059.004", +"T1059.006", +"T1068", +"T1069", +"T1069.003", +"T1070", +"T1070.002", +"T1070.003", +"T1070.004", +"T1070.006", +"T1070.008", +"T1071", +"T1071.004", +"T1072", +"T1078", +"T1078.001", +"T1078.003", +"T1078.004", +"T1083", +"T1087.001", +"T1090", +"T1090.002", +"T1090.003", +"T1098", +"T1098.001", +"T1098.003", +"T1098.004", +"T1098.006", +"T1104", +"T1105", +"T1106", +"T1110", +"T1119", +"T1129", +"T1132", +"T1132.001", +"T1134", +"T1134.001", +"T1136", +"T1136.001", +"T1140", +"T1190", +"T1195", +"T1195.001", +"T1203", +"T1204", +"T1212", +"T1222.002", +"T1484", +"T1485", +"T1486", +"T1489", +"T1490", +"T1495", +"T1496", +"T1498", +"T1526", +"T1528", +"T1531", +"T1537", +"T1539", +"T1543", +"T1546", +"T1547", +"T1547.006", +"T1547.009", +"T1548", +"T1548.001", +"T1548.003", +"T1552", +"T1552.001", +"T1552.003", +"T1552.004", +"T1553", +"T1553.004", +"T1554", +"T1555", +"T1556", +"T1556.003", +"T1556.006", +"T1562", +"T1562.001", +"T1562.006", +"T1562.012", +"T1564", +"T1564.001", +"T1564.002", +"T1567", +"T1567.002", +"T1568", +"T1570", +"T1574", +"T1574.006", +"T1578", +"T1578.001", +"T1580", +"T1587", +"T1587.001", +"T1588", +"T1588.001", +"T1588.006", +"T1595", +"T1595.001", +"T1608", +"T1608.001", +"T1609", +"T1610", +"T1611", +"T1613", +"T1620", +"T1649", +"T1657" +], +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", +"type": "string" +} +}, +"type": "object" +}, +"MuteInfo": { +"description": "Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.", +"id": "MuteInfo", +"properties": { +"dynamicMuteRecords": { +"description": "The list of dynamic mute rules that currently match the finding.", +"items": { +"$ref": "DynamicMuteRecord" +}, +"type": "array" +}, +"staticMute": { +"$ref": "StaticMute", +"description": "If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute." +} +}, +"type": "object" +}, +"Network": { +"description": "Contains information about a VPC network associated with the finding.", +"id": "Network", +"properties": { +"name": { +"description": "The name of the VPC network resource, for example, `//compute.googleapis.com/projects/my-project/global/networks/my-network`.", +"type": "string" +} +}, +"type": "object" +}, +"Node": { +"description": "Kubernetes nodes associated with the finding.", +"id": "Node", +"properties": { +"name": { +"description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", +"type": "string" +} +}, +"type": "object" +}, +"NodePool": { +"description": "Provides GKE node pool information.", +"id": "NodePool", +"properties": { +"name": { +"description": "Kubernetes node pool name.", +"type": "string" +}, +"nodes": { +"description": "Nodes associated with the finding.", +"items": { +"$ref": "Node" +}, +"type": "array" +} +}, +"type": "object" +}, +"Notebook": { +"description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", +"id": "Notebook", +"properties": { +"lastAuthor": { +"description": "The user ID of the latest author to modify the notebook.", +"type": "string" +}, +"name": { +"description": "The name of the notebook.", +"type": "string" +}, +"notebookUpdateTime": { +"description": "The most recent time the notebook was updated.", +"format": "google-datetime", +"type": "string" +}, +"service": { +"description": "The source notebook service, for example, \"Colab Enterprise\".", +"type": "string" +} +}, +"type": "object" +}, +"Object": { +"description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", +"id": "Object", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"group": { +"description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", +"type": "string" +}, +"kind": { +"description": "Kubernetes object kind, such as \"Namespace\".", +"type": "string" +}, +"name": { +"description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", +"type": "string" +}, +"ns": { +"description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OrgPolicy": { +"description": "Contains information about the org policies associated with the finding.", +"id": "OrgPolicy", +"properties": { +"name": { +"description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", +"type": "string" +} +}, +"type": "object" +}, +"OrganizationSettings": { +"description": "User specified settings that are attached to the Security Command Center organization.", +"id": "OrganizationSettings", +"properties": { +"assetDiscoveryConfig": { +"$ref": "AssetDiscoveryConfig", +"description": "The configuration used for Asset Discovery runs." +}, +"enableAssetDiscovery": { +"description": "A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.", +"type": "boolean" +}, +"name": { +"description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", +"type": "string" +} +}, +"type": "object" +}, +"Package": { +"description": "Package is a generic definition of a package.", +"id": "Package", +"properties": { +"cpeUri": { +"description": "The CPE URI where the vulnerability was detected.", +"type": "string" +}, +"packageName": { +"description": "The name of the package where the vulnerability was detected.", +"type": "string" +}, +"packageType": { +"description": "Type of package, for example, os, maven, or go.", +"type": "string" +}, +"packageVersion": { +"description": "The version of the package.", +"type": "string" +} +}, +"type": "object" +}, +"Pipeline": { +"description": "Vertex AI training pipeline associated with the finding.", +"id": "Pipeline", +"properties": { +"displayName": { +"description": "The user defined display name of pipeline, e.g. plants-classification", +"type": "string" +}, +"name": { +"description": "Resource name of the pipeline, e.g. projects/{project}/locations/{location}/trainingPipelines/5253428229225578496", +"type": "string" +} +}, +"type": "object" +}, +"Pod": { +"description": "A Kubernetes Pod.", +"id": "Pod", +"properties": { +"containers": { +"description": "Pod containers associated with this finding, if any.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"labels": { +"description": "Pod labels. For Kubernetes containers, these are applied to the container.", +"items": { +"$ref": "Label" +}, +"type": "array" +}, +"name": { +"description": "Kubernetes Pod name.", +"type": "string" +}, +"ns": { +"description": "Kubernetes Pod namespace.", +"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" +}, +"PolicyDriftDetails": { +"description": "The policy field that violates the deployed posture and its expected and detected values.", +"id": "PolicyDriftDetails", +"properties": { +"detectedValue": { +"description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", +"type": "string" +}, +"expectedValue": { +"description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", +"type": "string" +}, +"field": { +"description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", +"type": "string" +} +}, +"type": "object" +}, +"PortRange": { +"description": "A port range which is inclusive of the min and max values. Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.", +"id": "PortRange", +"properties": { +"max": { +"description": "Maximum port value.", +"format": "int64", +"type": "string" +}, +"min": { +"description": "Minimum port value.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Process": { +"description": "Represents an operating system process.", +"id": "Process", +"properties": { +"args": { +"description": "Process arguments as JSON encoded strings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"argumentsTruncated": { +"description": "True if `args` is incomplete.", +"type": "boolean" +}, +"binary": { +"$ref": "File", +"description": "File information for the process executable." +}, +"envVariables": { +"description": "Process environment variables.", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"envVariablesTruncated": { +"description": "True if `env_variables` is incomplete.", +"type": "boolean" +}, +"libraries": { +"description": "File information for libraries loaded by the process.", +"items": { +"$ref": "File" +}, +"type": "array" +}, +"name": { +"description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", +"type": "string" +}, +"parentPid": { +"description": "The parent process ID.", +"format": "int64", +"type": "string" +}, +"pid": { +"description": "The process ID.", +"format": "int64", +"type": "string" +}, +"script": { +"$ref": "File", +"description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter." +}, +"userId": { +"description": "The ID of the user that executed the process. E.g. If this is the root user this will always be 0.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"ProcessSignature": { +"description": "Indicates what signature matched this process.", +"id": "ProcessSignature", +"properties": { +"memoryHashSignature": { +"$ref": "MemoryHashSignature", +"description": "Signature indicating that a binary family was matched." +}, +"signatureType": { +"description": "Describes the type of resource associated with the signature.", +"enum": [ +"SIGNATURE_TYPE_UNSPECIFIED", +"SIGNATURE_TYPE_PROCESS", +"SIGNATURE_TYPE_FILE" +], +"enumDescriptions": [ +"The default signature type.", +"Used for signatures concerning processes.", +"Used for signatures concerning disks." +], +"type": "string" +}, +"yaraRuleSignature": { +"$ref": "YaraRuleSignature", +"description": "Signature indicating that a YARA rule was matched." +} +}, +"type": "object" +}, +"Reference": { +"description": "Additional Links", +"id": "Reference", +"properties": { +"source": { +"description": "Source of the reference e.g. NVD", +"type": "string" +}, +"uri": { +"description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", +"type": "string" +} +}, +"type": "object" +}, +"Requests": { +"description": "Information about the requests relevant to the finding.", +"id": "Requests", +"properties": { +"longTermAllowed": { +"description": "Allowed RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"longTermDenied": { +"description": "Denied RPS (requests per second) over the long term.", +"format": "int32", +"type": "integer" +}, +"ratio": { +"description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", +"format": "double", +"type": "number" +}, +"shortTermAllowed": { +"description": "Allowed RPS (requests per second) in the short term.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"ResourcePath": { +"description": "Represents the path of resources leading up to the resource this finding is about.", +"id": "ResourcePath", +"properties": { +"nodes": { +"description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", +"items": { +"$ref": "ResourcePathNode" +}, +"type": "array" +} +}, +"type": "object" +}, +"ResourcePathNode": { +"description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", +"id": "ResourcePathNode", +"properties": { +"displayName": { +"description": "The display name of the resource this node represents.", +"type": "string" +}, +"id": { +"description": "The ID of the resource this node represents.", +"type": "string" +}, +"nodeType": { +"description": "The type of resource this node represents.", +"enum": [ +"RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", +"GCP_ORGANIZATION", +"GCP_FOLDER", +"GCP_PROJECT", +"AWS_ORGANIZATION", +"AWS_ORGANIZATIONAL_UNIT", +"AWS_ACCOUNT", +"AZURE_MANAGEMENT_GROUP", +"AZURE_SUBSCRIPTION", +"AZURE_RESOURCE_GROUP" +], +"enumDescriptions": [ +"Node type is unspecified.", +"The node represents a Google Cloud organization.", +"The node represents a Google Cloud folder.", +"The node represents a Google Cloud project.", +"The node represents an AWS organization.", +"The node represents an AWS organizational unit.", +"The node represents an AWS account.", +"The node represents an Azure management group.", +"The node represents an Azure subscription.", +"The node represents an Azure resource group." +], +"type": "string" +} +}, +"type": "object" +}, +"Role": { +"description": "Kubernetes Role or ClusterRole.", +"id": "Role", +"properties": { +"kind": { +"description": "Role type.", +"enum": [ +"KIND_UNSPECIFIED", +"ROLE", +"CLUSTER_ROLE" +], +"enumDescriptions": [ +"Role type is not specified.", +"Kubernetes Role.", +"Kubernetes ClusterRole." +], +"type": "string" +}, +"name": { +"description": "Role name.", +"type": "string" +}, +"ns": { +"description": "Role namespace.", +"type": "string" +} +}, +"type": "object" +}, +"RunAssetDiscoveryRequest": { +"description": "Request message for running asset discovery for an organization.", +"id": "RunAssetDiscoveryRequest", +"properties": {}, +"type": "object" +}, +"Secret": { +"description": "Details about a secret or credential associated with the finding.", +"id": "Secret", +"properties": { +"environmentVariable": { +"$ref": "SecretEnvironmentVariable", +"description": "The environment variable containing the secret." +}, +"filePath": { +"$ref": "SecretFilePath", +"description": "The file containing the secret." +}, +"status": { +"$ref": "SecretStatus", +"description": "The status of the secret." +}, +"type": { +"description": "The type of secret, for example, GCP_API_KEY.", +"type": "string" +} +}, +"type": "object" +}, +"SecretEnvironmentVariable": { +"description": "Environment variable containing the secret.", +"id": "SecretEnvironmentVariable", +"properties": { +"key": { +"description": "Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.", +"type": "string" +} +}, +"type": "object" +}, +"SecretFilePath": { +"description": "File path containing the secret.", +"id": "SecretFilePath", +"properties": { +"path": { +"description": "Path to the file.", +"type": "string" +} +}, +"type": "object" +}, +"SecretStatus": { +"description": "The status of the secret.", +"id": "SecretStatus", +"properties": { +"lastUpdatedTime": { +"description": "Time that the secret was found.", +"format": "google-datetime", +"type": "string" +}, +"validity": { +"description": "The validity of the secret.", +"enum": [ +"SECRET_VALIDITY_UNSPECIFIED", +"SECRET_VALIDITY_UNSUPPORTED", +"SECRET_VALIDITY_FAILED", +"SECRET_VALIDITY_INVALID", +"SECRET_VALIDITY_VALID" +], +"enumDescriptions": [ +"Default value; no validation was attempted.", +"There is no mechanism to validate the secret.", +"Validation is supported but the validation failed.", +"The secret is confirmed to be invalid.", +"The secret is confirmed to be valid." +], +"type": "string" +} +}, +"type": "object" +}, +"SecurityBulletin": { +"description": "SecurityBulletin are notifications of vulnerabilities of Google products.", +"id": "SecurityBulletin", +"properties": { +"bulletinId": { +"description": "ID of the bulletin corresponding to the vulnerability.", +"type": "string" +}, +"submissionTime": { +"description": "Submission time of this Security Bulletin.", +"format": "google-datetime", +"type": "string" +}, +"suggestedUpgradeVersion": { +"description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", +"type": "string" +} +}, +"type": "object" +}, +"SecurityCenterProperties": { +"description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", +"id": "SecurityCenterProperties", +"properties": { +"resourceName": { +"description": "Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceOwners": { +"description": "Owners of the Google Cloud resource.", +"items": { +"type": "string" +}, +"type": "array" +}, +"resourceParent": { +"description": "The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceProject": { +"description": "The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", +"type": "string" +}, +"resourceType": { +"description": "The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityMarks": { +"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.", +"id": "SecurityMarks", +"properties": { +"canonicalName": { +"description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", +"type": "string" +}, +"marks": { +"additionalProperties": { +"type": "string" +}, +"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)", +"type": "object" +}, +"name": { +"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPolicy": { +"description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", +"id": "SecurityPolicy", +"properties": { +"name": { +"description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", +"type": "string" +}, +"preview": { +"description": "Whether or not the associated rule or policy is in preview mode.", +"type": "boolean" +}, +"type": { +"description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", +"type": "string" +} +}, +"type": "object" +}, +"SecurityPosture": { +"description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", +"id": "SecurityPosture", +"properties": { +"changedPolicy": { +"description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", +"type": "string" +}, +"name": { +"description": "Name of the posture, for example, `CIS-Posture`.", +"type": "string" +}, +"policy": { +"description": "The ID of the updated policy, for example, `compute-policy-1`.", +"type": "string" +}, +"policyDriftDetails": { +"description": "The details about a change in an updated policy that violates the deployed posture.", +"items": { +"$ref": "PolicyDriftDetails" +}, +"type": "array" +}, +"policySet": { +"description": "The name of the updated policyset, for example, `cis-policyset`.", +"type": "string" +}, +"postureDeployment": { +"description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", +"type": "string" +}, +"postureDeploymentResource": { +"description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", +"type": "string" +}, +"revisionId": { +"description": "The version of the posture, for example, `c7cfa2a8`.", +"type": "string" +} +}, +"type": "object" +}, +"SensitivityScore": { +"description": "Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.", +"id": "SensitivityScore", +"properties": { +"score": { +"description": "The sensitivity score applied to the resource.", +"enum": [ +"SENSITIVITY_SCORE_LEVEL_UNSPECIFIED", +"SENSITIVITY_LOW", +"SENSITIVITY_UNKNOWN", +"SENSITIVITY_MODERATE", +"SENSITIVITY_HIGH" +], +"enumDescriptions": [ +"Unused.", +"No sensitive information detected. The resource isn't publicly accessible.", +"Unable to determine sensitivity.", +"Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.", +"High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII." +], +"type": "string" +} +}, +"type": "object" +}, +"ServiceAccountDelegationInfo": { +"description": "Identity delegation history of an authenticated service account.", +"id": "ServiceAccountDelegationInfo", +"properties": { +"principalEmail": { +"description": "The email address of a Google account.", +"type": "string" +}, +"principalSubject": { +"description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", +"type": "string" +} +}, +"type": "object" +}, +"SetFindingStateRequest": { +"description": "Request message for updating a finding's state.", +"id": "SetFindingStateRequest", +"properties": { +"startTime": { +"description": "Optional. The time at which the updated state takes effect. If not set uses the current time.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "Required. The desired State of the finding.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"INACTIVE" +], +"enumDescriptions": [ +"Unspecified state.", +"The finding requires attention and has not been addressed yet.", +"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active." +], +"type": "string" +} +}, +"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" +}, +"Source": { +"description": "Security Command Center finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.", +"id": "Source", +"properties": { +"description": { +"description": "The description of the source (max of 1024 characters). Example: \"Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated/insecure libraries.\"", +"type": "string" +}, +"displayName": { +"description": "The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).", +"type": "string" +}, +"name": { +"description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", +"type": "string" +} +}, +"type": "object" +}, +"StaticMute": { +"description": "Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.", +"id": "StaticMute", +"properties": { +"applyTime": { +"description": "When the static mute was applied.", +"format": "google-datetime", +"type": "string" +}, +"state": { +"description": "The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value.", +"enum": [ +"MUTE_UNSPECIFIED", +"MUTED", +"UNMUTED", +"UNDEFINED" +], +"enumDescriptions": [ +"Unspecified.", +"Finding has been muted.", +"Finding has been unmuted.", +"Finding has never been muted/unmuted." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subject": { +"description": "Represents a Kubernetes subject.", +"id": "Subject", +"properties": { +"kind": { +"description": "Authentication type for the subject.", +"enum": [ +"AUTH_TYPE_UNSPECIFIED", +"USER", +"SERVICEACCOUNT", +"GROUP" +], +"enumDescriptions": [ +"Authentication is not specified.", +"User with valid certificate.", +"Users managed by Kubernetes API with credentials stored as secrets.", +"Collection of users." +], +"type": "string" +}, +"name": { +"description": "Name for the subject.", +"type": "string" +}, +"ns": { +"description": "Namespace for the subject.", +"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" +}, +"TicketInfo": { +"description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", +"id": "TicketInfo", +"properties": { +"assignee": { +"description": "The assignee of the ticket in the ticket system.", +"type": "string" +}, +"description": { +"description": "The description of the ticket in the ticket system.", +"type": "string" +}, +"id": { +"description": "The identifier of the ticket in the ticket system.", +"type": "string" +}, +"status": { +"description": "The latest status of the ticket, as reported by the ticket system.", +"type": "string" +}, +"updateTime": { +"description": "The time when the ticket was last updated, as reported by the ticket system.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "The link to the ticket in the ticket system.", +"type": "string" +} +}, +"type": "object" +}, +"ToxicCombination": { +"description": "Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination.", +"id": "ToxicCombination", +"properties": { +"attackExposureScore": { +"description": "The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack.", +"format": "double", +"type": "number" +}, +"relatedFindings": { +"description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"VertexAi": { +"description": "Vertex AI-related information associated with the finding.", +"id": "VertexAi", +"properties": { +"datasets": { +"description": "Datasets associated with the finding.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"pipelines": { +"description": "Pipelines associated with the finding.", +"items": { +"$ref": "Pipeline" +}, +"type": "array" +} +}, +"type": "object" +}, +"Vulnerability": { +"description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", +"id": "Vulnerability", +"properties": { +"cve": { +"$ref": "Cve", +"description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)" +}, +"cwes": { +"description": "Represents one or more Common Weakness Enumeration (CWE) information on this vulnerability.", +"items": { +"$ref": "Cwe" +}, +"type": "array" +}, +"fixedPackage": { +"$ref": "Package", +"description": "The fixed package is relevant to the finding." +}, +"offendingPackage": { +"$ref": "Package", +"description": "The offending package is relevant to the finding." +}, +"providerRiskScore": { +"description": "Provider provided risk_score based on multiple factors. The higher the risk score, the more risky the vulnerability is.", +"format": "int64", +"type": "string" +}, +"reachable": { +"description": "Represents whether the vulnerability is reachable (detected via static analysis)", +"type": "boolean" +}, +"securityBulletin": { +"$ref": "SecurityBulletin", +"description": "The security bulletin is relevant to this finding." +} +}, +"type": "object" +}, +"VulnerabilityCountBySeverity": { +"description": "Vulnerability count by severity.", +"id": "VulnerabilityCountBySeverity", +"properties": { +"severityToFindingCount": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Key is the Severity enum.", +"type": "object" +} +}, +"type": "object" +}, +"VulnerabilitySnapshot": { +"description": "Result containing the properties and count of a VulnerabilitySnapshot request.", +"id": "VulnerabilitySnapshot", +"properties": { +"cloudProvider": { +"description": "The cloud provider for the vulnerability snapshot.", +"enum": [ +"CLOUD_PROVIDER_UNSPECIFIED", +"GOOGLE_CLOUD_PLATFORM", +"AMAZON_WEB_SERVICES", +"MICROSOFT_AZURE" +], +"enumDescriptions": [ +"The cloud provider is unspecified.", +"The cloud provider is Google Cloud.", +"The cloud provider is Amazon Web Services.", +"The cloud provider is Microsoft Azure." +], +"type": "string" +}, +"findingCount": { +"$ref": "VulnerabilityCountBySeverity", +"description": "The vulnerability count by severity." +}, +"name": { +"description": "Identifier. The vulnerability snapshot name. Format: //locations//vulnerabilitySnapshots/", +"type": "string" +}, +"snapshotTime": { +"description": "The time that the snapshot was taken.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"YaraRuleSignature": { +"description": "A signature corresponding to a YARA rule.", +"id": "YaraRuleSignature", +"properties": { +"yaraRule": { +"description": "The name of the YARA rule.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Security Command Center API", +"version": "v1beta1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicemanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicemanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..4c61e96e46aa9723df1f47213fdabb03171b6ef9 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicemanagement.v1.json @@ -0,0 +1,3881 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +}, +"https://www.googleapis.com/auth/service.management": { +"description": "Manage your Google API service configuration" +}, +"https://www.googleapis.com/auth/service.management.readonly": { +"description": "View your Google API service configuration" +} +} +} +}, +"basePath": "", +"baseUrl": "https://servicemanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Management", +"description": "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-management/", +"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": "servicemanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://servicemanagement.mtls.googleapis.com/", +"name": "servicemanagement", +"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": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "servicemanagement.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "Lists service operations that match the specified filter in the request.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "servicemanagement.operations.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "A string for filtering Operations. The following filter fields are supported: * serviceName: Required. Only `=` operator is allowed. * startTime: The time this job was started, in ISO 8601 format. Allowed operators are `>=`, `>`, `<=`, and `<`. * status: Can be `done`, `in_progress`, or `failed`. Allowed operators are `=`, and `!=`. Filter expression supports conjunction (AND) and disjunction (OR) logical operators. However, the serviceName restriction must be at the top-level and can only be combined with other restrictions via the AND logical operator. Examples: * `serviceName={some-service}.googleapis.com` * `serviceName={some-service}.googleapis.com AND startTime>=\"2017-02-01\"` * `serviceName={some-service}.googleapis.com AND status=done` * `serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017-02-01\")`", +"location": "query", +"type": "string" +}, +"name": { +"description": "Not used.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The maximum number of operations to return. If unspecified, defaults to 50. The maximum value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"services": { +"methods": { +"create": { +"description": "Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation", +"flatPath": "v1/services", +"httpMethod": "POST", +"id": "servicemanagement.services.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/services", +"request": { +"$ref": "ManagedService" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"delete": { +"description": "Deletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation", +"flatPath": "v1/services/{serviceName}", +"httpMethod": "DELETE", +"id": "servicemanagement.services.delete", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"generateConfigReport": { +"description": "Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.", +"flatPath": "v1/services:generateConfigReport", +"httpMethod": "POST", +"id": "servicemanagement.services.generateConfigReport", +"parameterOrder": [], +"parameters": {}, +"path": "v1/services:generateConfigReport", +"request": { +"$ref": "GenerateConfigReportRequest" +}, +"response": { +"$ref": "GenerateConfigReportResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"get": { +"description": "Gets a managed service. Authentication is required unless the service is public.", +"flatPath": "v1/services/{serviceName}", +"httpMethod": "GET", +"id": "servicemanagement.services.get", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the `ServiceManager` overview for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}", +"response": { +"$ref": "ManagedService" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"getConfig": { +"description": "Gets a service configuration (version) for a managed service.", +"flatPath": "v1/services/{serviceName}/config", +"httpMethod": "GET", +"id": "servicemanagement.services.getConfig", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"configId": { +"description": "Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including `SourceInfo`.", +"location": "query", +"type": "string" +}, +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Service Config should be returned in the response.", +"enum": [ +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Server response includes all fields except SourceInfo.", +"Server response includes all fields including SourceInfo. SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' and are only available for configs created using the SubmitConfigSource method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/services/{serviceName}/config", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/services/{servicesId}:getIamPolicy", +"httpMethod": "POST", +"id": "servicemanagement.services.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": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"list": { +"description": "Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has \"servicemanagement.services.get\" permission for.", +"flatPath": "v1/services", +"httpMethod": "GET", +"id": "servicemanagement.services.list", +"parameterOrder": [], +"parameters": { +"consumerId": { +"deprecated": true, +"description": "Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project:", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Token identifying which result to start with; returned by a previous list call.", +"location": "query", +"type": "string" +}, +"producerProjectId": { +"description": "Include services produced by the specified project.", +"location": "query", +"type": "string" +} +}, +"path": "v1/services", +"response": { +"$ref": "ListServicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/services/{servicesId}:setIamPolicy", +"httpMethod": "POST", +"id": "servicemanagement.services.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": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/services/{servicesId}:testIamPermissions", +"httpMethod": "POST", +"id": "servicemanagement.services.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": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"undelete": { +"description": "Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation", +"flatPath": "v1/services/{serviceName}:undelete", +"httpMethod": "POST", +"id": "servicemanagement.services.undelete", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}:undelete", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +}, +"resources": { +"configs": { +"methods": { +"create": { +"description": "Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.", +"flatPath": "v1/services/{serviceName}/configs", +"httpMethod": "POST", +"id": "servicemanagement.services.configs.create", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/configs", +"request": { +"$ref": "Service" +}, +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"get": { +"description": "Gets a service configuration (version) for a managed service.", +"flatPath": "v1/services/{serviceName}/configs/{configId}", +"httpMethod": "GET", +"id": "servicemanagement.services.configs.get", +"parameterOrder": [ +"serviceName", +"configId" +], +"parameters": { +"configId": { +"description": "Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including `SourceInfo`.", +"location": "path", +"required": true, +"type": "string" +}, +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies which parts of the Service Config should be returned in the response.", +"enum": [ +"BASIC", +"FULL" +], +"enumDescriptions": [ +"Server response includes all fields except SourceInfo.", +"Server response includes all fields including SourceInfo. SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' and are only available for configs created using the SubmitConfigSource method." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/services/{serviceName}/configs/{configId}", +"response": { +"$ref": "Service" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"list": { +"description": "Lists the history of the service configuration for a managed service, from the newest to the oldest.", +"flatPath": "v1/services/{serviceName}/configs", +"httpMethod": "GET", +"id": "servicemanagement.services.configs.list", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"pageSize": { +"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to retrieve.", +"location": "query", +"type": "string" +}, +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/configs", +"response": { +"$ref": "ListServiceConfigsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"submit": { +"description": "Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation", +"flatPath": "v1/services/{serviceName}/configs:submit", +"httpMethod": "POST", +"id": "servicemanagement.services.configs.submit", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/configs:submit", +"request": { +"$ref": "SubmitConfigSourceRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"consumers": { +"methods": { +"getIamPolicy": { +"description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", +"flatPath": "v1/services/{servicesId}/consumers/{consumersId}:getIamPolicy", +"httpMethod": "POST", +"id": "servicemanagement.services.consumers.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": "^services/[^/]+/consumers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:getIamPolicy", +"request": { +"$ref": "GetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"setIamPolicy": { +"description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", +"flatPath": "v1/services/{servicesId}/consumers/{consumersId}:setIamPolicy", +"httpMethod": "POST", +"id": "servicemanagement.services.consumers.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": "^services/[^/]+/consumers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:setIamPolicy", +"request": { +"$ref": "SetIamPolicyRequest" +}, +"response": { +"$ref": "Policy" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"testIamPermissions": { +"description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", +"flatPath": "v1/services/{servicesId}/consumers/{consumersId}:testIamPermissions", +"httpMethod": "POST", +"id": "servicemanagement.services.consumers.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": "^services/[^/]+/consumers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+resource}:testIamPermissions", +"request": { +"$ref": "TestIamPermissionsRequest" +}, +"response": { +"$ref": "TestIamPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +} +} +}, +"rollouts": { +"methods": { +"create": { +"description": "Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation", +"flatPath": "v1/services/{serviceName}/rollouts", +"httpMethod": "POST", +"id": "servicemanagement.services.rollouts.create", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/rollouts", +"request": { +"$ref": "Rollout" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"get": { +"description": "Gets a service configuration rollout.", +"flatPath": "v1/services/{serviceName}/rollouts/{rolloutId}", +"httpMethod": "GET", +"id": "servicemanagement.services.rollouts.get", +"parameterOrder": [ +"serviceName", +"rolloutId" +], +"parameters": { +"rolloutId": { +"description": "Required. The id of the rollout resource.", +"location": "path", +"required": true, +"type": "string" +}, +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/rollouts/{rolloutId}", +"response": { +"$ref": "Rollout" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +}, +"list": { +"description": "Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.", +"flatPath": "v1/services/{serviceName}/rollouts", +"httpMethod": "GET", +"id": "servicemanagement.services.rollouts.list", +"parameterOrder": [ +"serviceName" +], +"parameters": { +"filter": { +"description": "Required. Use `filter` to return subset of rollouts. The following filters are supported: -- By status. For example, `filter='status=SUCCESS'` -- By strategy. For example, `filter='strategy=TrafficPercentStrategy'`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The token of the page to retrieve.", +"location": "query", +"type": "string" +}, +"serviceName": { +"description": "Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview) for naming requirements. For example: `example.googleapis.com`.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/services/{serviceName}/rollouts", +"response": { +"$ref": "ListServiceRolloutsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only", +"https://www.googleapis.com/auth/service.management", +"https://www.googleapis.com/auth/service.management.readonly" +] +} +} +} +} +} +}, +"revision": "20260219", +"rootUrl": "https://servicemanagement.googleapis.com/", +"schemas": { +"Advice": { +"description": "Generated advice about this change, used for providing more information about how a change will affect the existing service.", +"id": "Advice", +"properties": { +"description": { +"description": "Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.", +"type": "string" +} +}, +"type": "object" +}, +"Api": { +"description": "Api is a light-weight descriptor for an API Interface. Interfaces are also described as \"protocol buffer services\" in some contexts, such as by the \"service\" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as \"APIs\" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Api", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"methods": { +"description": "The methods of this interface, in unspecified order.", +"items": { +"$ref": "Method" +}, +"type": "array" +}, +"mixins": { +"description": "Included interfaces. See Mixin.", +"items": { +"$ref": "Mixin" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified name of this interface, including package name followed by the interface's simple name.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the interface.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "Source context for the protocol buffer service represented by this message." +}, +"syntax": { +"description": "The source syntax of the service.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +}, +"version": { +"description": "A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. ", +"type": "string" +} +}, +"type": "object" +}, +"Aspect": { +"description": "Aspect represents Generic aspect. It is used to configure an aspect without making direct changes to service.proto", +"id": "Aspect", +"properties": { +"kind": { +"description": "The type of this aspect configuration.", +"type": "string" +}, +"rules": { +"description": "Optional. Rules of the Configuration.", +"items": { +"$ref": "AspectRule" +}, +"type": "array" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +} +}, +"type": "object" +}, +"AspectRule": { +"description": "Rule-based configuration for an aspect.", +"id": "AspectRule", +"properties": { +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +}, +"selector": { +"description": "Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"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" +}, +"AuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthProvider", +"properties": { +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - \"https://[service.name]/[google.protobuf.Api.name]\" - \"https://[service.name]/\" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"authorizationUrl": { +"description": "Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: \"bookstore_auth\".", +"type": "string" +}, +"issuer": { +"description": "Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com", +"type": "string" +}, +"jwksUri": { +"description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs", +"type": "string" +}, +"jwtLocations": { +"description": "Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: \"Bearer \" - header: x-goog-iap-jwt-assertion - query: access_token", +"items": { +"$ref": "JwtLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthRequirement": { +"description": "User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthRequirement", +"properties": { +"audiences": { +"description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience \"https://Service_name/API_name\" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience \"https://library-example.googleapis.com/google.example.library.v1.LibraryService\". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"providerId": { +"description": "id from authentication provider. Example: provider_id: bookstore_auth", +"type": "string" +} +}, +"type": "object" +}, +"Authentication": { +"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read", +"id": "Authentication", +"properties": { +"providers": { +"description": "Defines a set of authentication providers that a service supports.", +"items": { +"$ref": "AuthProvider" +}, +"type": "array" +}, +"rules": { +"description": "A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "AuthenticationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationRule": { +"description": "Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.", +"id": "AuthenticationRule", +"properties": { +"allowWithoutCredential": { +"description": "If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.", +"type": "boolean" +}, +"oauth": { +"$ref": "OAuthRequirements", +"description": "The requirements for OAuth credentials." +}, +"requirements": { +"description": "Requirements for additional authentication providers.", +"items": { +"$ref": "AuthRequirement" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "`Backend` defines the backend configuration for a service.", +"id": "Backend", +"properties": { +"rules": { +"description": "A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "BackendRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendRule": { +"description": "A backend rule provides configuration for an individual API element.", +"id": "BackendRule", +"properties": { +"address": { +"description": "The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.", +"type": "string" +}, +"deadline": { +"description": "The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.", +"format": "double", +"type": "number" +}, +"disableAuth": { +"description": "When disable_auth is true, a JWT ID token won't be generated and the original \"Authorization\" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.", +"type": "boolean" +}, +"jwtAudience": { +"description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", +"type": "string" +}, +"loadBalancingPolicy": { +"description": "The load balancing policy used for connection to the application backend. Defined as an arbitrary string to accomondate custom load balancing policies supported by the underlying channel, but suggest most users use one of the standard policies, such as the default, \"RoundRobin\".", +"type": "string" +}, +"minDeadline": { +"deprecated": true, +"description": "Deprecated, do not use.", +"format": "double", +"type": "number" +}, +"operationDeadline": { +"description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", +"format": "double", +"type": "number" +}, +"overridesByRequestProtocol": { +"additionalProperties": { +"$ref": "BackendRule" +}, +"description": "The map between request protocol and the backend address.", +"type": "object" +}, +"pathTranslation": { +"description": "no-lint", +"enum": [ +"PATH_TRANSLATION_UNSPECIFIED", +"CONSTANT_ADDRESS", +"APPEND_PATH_TO_ADDRESS" +], +"enumDescriptions": [ +"", +"Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe", +"The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST" +], +"type": "string" +}, +"protocol": { +"description": "The protocol used for sending a request to the backend. The supported values are \"http/1.1\" and \"h2\". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to \"h2\" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.", +"type": "string" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingConfigProto": { +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", +"id": "BatchingConfigProto", +"properties": { +"batchDescriptor": { +"$ref": "BatchingDescriptorProto", +"description": "The request and response fields used in batching." +}, +"thresholds": { +"$ref": "BatchingSettingsProto", +"description": "The thresholds which trigger a batched request to be sent." +} +}, +"type": "object" +}, +"BatchingDescriptorProto": { +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", +"id": "BatchingDescriptorProto", +"properties": { +"batchedField": { +"description": "The repeated field in the request message to be aggregated by batching.", +"type": "string" +}, +"discriminatorFields": { +"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subresponseField": { +"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingSettingsProto": { +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", +"id": "BatchingSettingsProto", +"properties": { +"delayThreshold": { +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", +"format": "google-duration", +"type": "string" +}, +"elementCountLimit": { +"description": "The maximum number of elements collected in a batch that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"elementCountThreshold": { +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", +"format": "int32", +"type": "integer" +}, +"flowControlByteLimit": { +"description": "The maximum size of data allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlElementLimit": { +"description": "The maximum number of elements allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlLimitExceededBehavior": { +"description": "The behavior to take when the flow control limit is exceeded.", +"enum": [ +"UNSET_BEHAVIOR", +"THROW_EXCEPTION", +"BLOCK", +"IGNORE" +], +"enumDescriptions": [ +"Default behavior, system-defined.", +"Stop operation, raise error.", +"Pause operation until limit clears.", +"Continue operation, disregard limit." +], +"type": "string" +}, +"requestByteLimit": { +"description": "The maximum size of the request that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"requestByteThreshold": { +"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Billing": { +"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count", +"id": "Billing", +"properties": { +"consumerDestinations": { +"description": "Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.", +"items": { +"$ref": "BillingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"BillingDestination": { +"description": "Configuration of a specific billing destination (Currently only support bill against consumer project).", +"id": "BillingDestination", +"properties": { +"metrics": { +"description": "Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"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" +}, +"ChangeReport": { +"description": "Change report associated with a particular service configuration. It contains a list of ConfigChanges based on the comparison between two service configurations.", +"id": "ChangeReport", +"properties": { +"configChanges": { +"description": "List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction", +"items": { +"$ref": "ConfigChange" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClientLibrarySettings": { +"description": "Details about how and where to publish client libraries.", +"id": "ClientLibrarySettings", +"properties": { +"cppSettings": { +"$ref": "CppSettings", +"description": "Settings for C++ client libraries." +}, +"dotnetSettings": { +"$ref": "DotnetSettings", +"description": "Settings for .NET client libraries." +}, +"goSettings": { +"$ref": "GoSettings", +"description": "Settings for Go client libraries." +}, +"javaSettings": { +"$ref": "JavaSettings", +"description": "Settings for legacy Java features, supported in the Service YAML." +}, +"launchStage": { +"description": "Launch stage of this version of the API.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"nodeSettings": { +"$ref": "NodeSettings", +"description": "Settings for Node client libraries." +}, +"phpSettings": { +"$ref": "PhpSettings", +"description": "Settings for PHP client libraries." +}, +"pythonSettings": { +"$ref": "PythonSettings", +"description": "Settings for Python client libraries." +}, +"restNumericEnums": { +"description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", +"type": "boolean" +}, +"rubySettings": { +"$ref": "RubySettings", +"description": "Settings for Ruby client libraries." +}, +"version": { +"description": "Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".", +"type": "string" +} +}, +"type": "object" +}, +"CommonLanguageSettings": { +"description": "Required information for every language.", +"id": "CommonLanguageSettings", +"properties": { +"destinations": { +"description": "The destination where API teams want this client library to be published.", +"items": { +"enum": [ +"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", +"GITHUB", +"PACKAGE_MANAGER" +], +"enumDescriptions": [ +"Client libraries will neither be generated nor published to package managers.", +"Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", +"Publish the library to package managers like nuget.org and npmjs.com." +], +"type": "string" +}, +"type": "array" +}, +"referenceDocsUri": { +"deprecated": true, +"description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", +"type": "string" +}, +"selectiveGapicGeneration": { +"$ref": "SelectiveGapicGeneration", +"description": "Configuration for which RPCs should be generated in the GAPIC client." +} +}, +"type": "object" +}, +"ConfigChange": { +"description": "Output generated from semantically comparing two versions of a service configuration. Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.", +"id": "ConfigChange", +"properties": { +"advices": { +"description": "Collection of advice provided for this change, useful for determining the possible impact of this change.", +"items": { +"$ref": "Advice" +}, +"type": "array" +}, +"changeType": { +"description": "The type for this change, either ADDED, REMOVED, or MODIFIED.", +"enum": [ +"CHANGE_TYPE_UNSPECIFIED", +"ADDED", +"REMOVED", +"MODIFIED" +], +"enumDescriptions": [ +"No value was provided.", +"The changed object exists in the 'new' service configuration, but not in the 'old' service configuration.", +"The changed object exists in the 'old' service configuration, but not in the 'new' service configuration.", +"The changed object exists in both service configurations, but its value is different." +], +"type": "string" +}, +"element": { +"description": "Object hierarchy path to the change, with levels separated by a '.' character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term 'key' is used. If the field has no unique identifier, the numeric index is used. Examples: - visibility.rules[selector==\"google.LibraryService.ListBooks\"].restriction - quota.metric_rules[selector==\"google\"].metric_costs[key==\"reads\"].value - logging.producer_destinations[0]", +"type": "string" +}, +"newValue": { +"description": "Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.", +"type": "string" +}, +"oldValue": { +"description": "Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.", +"type": "string" +} +}, +"type": "object" +}, +"ConfigFile": { +"description": "Generic specification of a source configuration file", +"id": "ConfigFile", +"properties": { +"fileContents": { +"description": "The bytes that constitute the file.", +"format": "byte", +"type": "string" +}, +"filePath": { +"description": "The file name of the configuration file (full or relative path).", +"type": "string" +}, +"fileType": { +"description": "The type of configuration file this represents.", +"enum": [ +"FILE_TYPE_UNSPECIFIED", +"SERVICE_CONFIG_YAML", +"OPEN_API_JSON", +"OPEN_API_YAML", +"FILE_DESCRIPTOR_SET_PROTO", +"PROTO_FILE" +], +"enumDescriptions": [ +"Unknown file type.", +"YAML-specification of service.", +"OpenAPI specification, serialized in JSON.", +"OpenAPI specification, serialized in YAML.", +"FileDescriptorSet, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $protoc --include_imports --include_source_info test.proto -o out.pb", +"Uncompiled Proto file. Used for storage and display purposes only, currently server-side compilation is not supported. Should match the inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A file of this type can only be included if at least one file of type FILE_DESCRIPTOR_SET_PROTO is included." +], +"type": "string" +} +}, +"type": "object" +}, +"ConfigRef": { +"description": "Represents a service configuration with its name and id.", +"id": "ConfigRef", +"properties": { +"name": { +"description": "Resource name of a service config. It must have the following format: \"services/{service name}/configs/{config id}\".", +"type": "string" +} +}, +"type": "object" +}, +"ConfigSource": { +"description": "Represents a source file which is used to generate the service configuration defined by `google.api.Service`.", +"id": "ConfigSource", +"properties": { +"files": { +"description": "Set of source configuration files that are used to generate a service configuration (`google.api.Service`).", +"items": { +"$ref": "ConfigFile" +}, +"type": "array" +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.", +"type": "string" +} +}, +"type": "object" +}, +"Context": { +"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using \u201cx-goog-ext--bin\u201d and \u201cx-goog-ext--jspb\u201d format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", +"id": "Context", +"properties": { +"rules": { +"description": "A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "ContextRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextRule": { +"description": "A context rule provides information about the context for an individual API element.", +"id": "ContextRule", +"properties": { +"allowedRequestExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowedResponseExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"provided": { +"description": "A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requested": { +"description": "A list of full type names of requested contexts, only the requested context will be made available to the backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", +"id": "Control", +"properties": { +"environment": { +"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.", +"type": "string" +}, +"methodPolicies": { +"description": "Defines policies applying to the API methods of the service.", +"items": { +"$ref": "MethodPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"CppSettings": { +"description": "Settings for C++ client libraries.", +"id": "CppSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"CustomError": { +"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", +"id": "CustomError", +"properties": { +"rules": { +"description": "The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "CustomErrorRule" +}, +"type": "array" +}, +"types": { +"description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomErrorRule": { +"description": "A custom error rule.", +"id": "CustomErrorRule", +"properties": { +"isErrorType": { +"description": "Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.", +"type": "boolean" +}, +"selector": { +"description": "Selects messages to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"CustomHttpPattern": { +"description": "A custom pattern is used for defining custom HTTP verb.", +"id": "CustomHttpPattern", +"properties": { +"kind": { +"description": "The name of this custom HTTP verb.", +"type": "string" +}, +"path": { +"description": "The path matched by this custom verb.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteServiceStrategy": { +"description": "Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.", +"id": "DeleteServiceStrategy", +"properties": {}, +"type": "object" +}, +"Diagnostic": { +"description": "Represents a diagnostic message (error or warning)", +"id": "Diagnostic", +"properties": { +"kind": { +"description": "The kind of diagnostic information provided.", +"enum": [ +"WARNING", +"ERROR" +], +"enumDescriptions": [ +"Warnings and errors", +"Only errors" +], +"type": "string" +}, +"location": { +"description": "File name and line number of the error or warning.", +"type": "string" +}, +"message": { +"description": "Message describing the error or warning.", +"type": "string" +} +}, +"type": "object" +}, +"Documentation": { +"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", +"id": "Documentation", +"properties": { +"additionalIamInfo": { +"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", +"type": "string" +}, +"documentationRootUrl": { +"description": "The URL to the root of documentation.", +"type": "string" +}, +"overview": { +"description": "Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.", +"type": "string" +}, +"pages": { +"description": "The top level pages for the documentation set.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"rules": { +"description": "A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "DocumentationRule" +}, +"type": "array" +}, +"sectionOverrides": { +"description": "Specifies section and content to override the boilerplate content. Currently overrides following sections: 1. rest.service.client_libraries", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"serviceRootUrl": { +"description": "Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.", +"type": "string" +}, +"summary": { +"description": "A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentationRule": { +"description": "A documentation rule provides information about individual API elements.", +"id": "DocumentationRule", +"properties": { +"deprecationDescription": { +"description": "Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.", +"type": "string" +}, +"description": { +"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", +"type": "string" +}, +"disableReplacementWords": { +"description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled.", +"type": "string" +}, +"selector": { +"description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in \"*\", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern \"*\" is used.", +"type": "string" +} +}, +"type": "object" +}, +"DotnetSettings": { +"description": "Settings for Dotnet client libraries.", +"id": "DotnetSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"forcedNamespaceAliases": { +"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", +"items": { +"type": "string" +}, +"type": "array" +}, +"handwrittenSignatures": { +"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoredResources": { +"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"renamedResources": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", +"type": "object" +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", +"type": "object" +} +}, +"type": "object" +}, +"EnableServiceResponse": { +"description": "Operation payload for EnableService method.", +"id": "EnableServiceResponse", +"properties": {}, +"type": "object" +}, +"Endpoint": { +"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", +"id": "Endpoint", +"properties": { +"aliases": { +"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowCors": { +"description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", +"type": "boolean" +}, +"name": { +"description": "The canonical name of this endpoint.", +"type": "string" +}, +"target": { +"description": "The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, \"8.8.8.8\" or \"myservice.appspot.com\".", +"type": "string" +} +}, +"type": "object" +}, +"Enum": { +"description": "Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Enum", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"enumvalue": { +"description": "Enum value definitions.", +"items": { +"$ref": "EnumValue" +}, +"type": "array" +}, +"name": { +"description": "Enum type name.", +"type": "string" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumValue": { +"description": "Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "EnumValue", +"properties": { +"name": { +"description": "Enum value name.", +"type": "string" +}, +"number": { +"description": "Enum value number.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExperimentalFeatures": { +"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", +"id": "ExperimentalFeatures", +"properties": { +"protobufPythonicTypesEnabled": { +"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"restAsyncIoEnabled": { +"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"unversionedPackageDisabled": { +"description": "Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.", +"type": "boolean" +} +}, +"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" +}, +"Field": { +"description": "A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", +"type": "string" +} +}, +"type": "object" +}, +"FieldPolicy": { +"description": "Google API Policy Annotation This message defines a simple API policy annotation that can be used to annotate API request and response message fields with applicable policies. One field may have multiple applicable policies that must all be satisfied before a request can be processed. This policy annotation is used to generate the overall policy that will be used for automatic runtime policy enforcement and documentation generation.", +"id": "FieldPolicy", +"properties": { +"resourcePermission": { +"description": "Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission checks to proceed. For example, \"resourcemanager.projects.get\".", +"type": "string" +}, +"resourceType": { +"description": "Specifies the resource type for the resource referred to by the field.", +"type": "string" +}, +"selector": { +"description": "Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as \"foo.bar\" or \"foo.bar,foo.baz\".", +"type": "string" +} +}, +"type": "object" +}, +"FlowErrorDetails": { +"description": "Encapsulation of flow-specific error details for debugging. Used as a details field on an error Status, not intended for external use.", +"id": "FlowErrorDetails", +"properties": { +"exceptionType": { +"description": "The type of exception (as a class name).", +"type": "string" +}, +"flowStepId": { +"description": "The step that failed.", +"type": "string" +} +}, +"type": "object" +}, +"GenerateConfigReportRequest": { +"description": "Request message for GenerateConfigReport method.", +"id": "GenerateConfigReportRequest", +"properties": { +"newConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Required. Service configuration for which we want to generate the report. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service", +"type": "object" +}, +"oldConfig": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are google.api.servicemanagement.v1.ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.Service", +"type": "object" +} +}, +"type": "object" +}, +"GenerateConfigReportResponse": { +"description": "Response message for GenerateConfigReport method.", +"id": "GenerateConfigReportResponse", +"properties": { +"changeReports": { +"description": "list of ChangeReport, each corresponding to comparison between two service configurations.", +"items": { +"$ref": "ChangeReport" +}, +"type": "array" +}, +"diagnostics": { +"description": "Errors / Linter warnings associated with the service definition this report belongs to.", +"items": { +"$ref": "Diagnostic" +}, +"type": "array" +}, +"id": { +"description": "ID of the service configuration this report belongs to.", +"type": "string" +}, +"serviceName": { +"description": "Name of the service this report belongs to.", +"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" +}, +"GoSettings": { +"description": "Settings for Go client libraries.", +"id": "GoSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin", +"type": "object" +} +}, +"type": "object" +}, +"Http": { +"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", +"id": "Http", +"properties": { +"fullyDecodeReservedExpansion": { +"description": "When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where \"%2F\" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.", +"type": "boolean" +}, +"rules": { +"description": "A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRule": { +"description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. The following example selects a gRPC method and applies an `HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", +"id": "HttpRule", +"properties": { +"additionalBindings": { +"description": "Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +}, +"body": { +"description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", +"type": "string" +}, +"custom": { +"$ref": "CustomHttpPattern", +"description": "The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients." +}, +"delete": { +"description": "Maps to HTTP DELETE. Used for deleting a resource.", +"type": "string" +}, +"get": { +"description": "Maps to HTTP GET. Used for listing and getting information about resources.", +"type": "string" +}, +"patch": { +"description": "Maps to HTTP PATCH. Used for updating a resource.", +"type": "string" +}, +"post": { +"description": "Maps to HTTP POST. Used for creating a resource or performing an action.", +"type": "string" +}, +"put": { +"description": "Maps to HTTP PUT. Used for replacing a resource.", +"type": "string" +}, +"responseBody": { +"description": "Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.", +"type": "string" +}, +"selector": { +"description": "Selects a method to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"JavaSettings": { +"description": "Settings for Java client libraries.", +"id": "JavaSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: library_settings: java_settings: library_package: com.google.cloud.pubsub.v1", +"type": "string" +}, +"serviceClassNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", +"type": "object" +} +}, +"type": "object" +}, +"JwtLocation": { +"description": "Specifies a location to extract JWT from an API request.", +"id": "JwtLocation", +"properties": { +"cookie": { +"description": "Specifies cookie name to extract JWT token.", +"type": "string" +}, +"header": { +"description": "Specifies HTTP header name to extract JWT token.", +"type": "string" +}, +"query": { +"description": "Specifies URL query parameter name to extract JWT token.", +"type": "string" +}, +"valuePrefix": { +"description": "The value prefix. The value format is \"value_prefix{token}\" Only applies to \"in\" header type. Must be empty for \"in\" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for \"Authorization: Bearer {JWT}\", value_prefix=\"Bearer \" with a space at the end.", +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceConfigsResponse": { +"description": "Response message for ListServiceConfigs method.", +"id": "ListServiceConfigsResponse", +"properties": { +"nextPageToken": { +"description": "The token of the next page of results.", +"type": "string" +}, +"serviceConfigs": { +"description": "The list of service configuration resources.", +"items": { +"$ref": "Service" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServiceRolloutsResponse": { +"description": "Response message for ListServiceRollouts method.", +"id": "ListServiceRolloutsResponse", +"properties": { +"nextPageToken": { +"description": "The token of the next page of results.", +"type": "string" +}, +"rollouts": { +"description": "The list of rollout resources.", +"items": { +"$ref": "Rollout" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListServicesResponse": { +"description": "Response message for `ListServices` method.", +"id": "ListServicesResponse", +"properties": { +"nextPageToken": { +"description": "Token that can be passed to `ListServices` to resume a paginated query.", +"type": "string" +}, +"services": { +"description": "The returned services will only have the name field set.", +"items": { +"$ref": "ManagedService" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogDescriptor": { +"description": "A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer", +"id": "LogDescriptor", +"properties": { +"description": { +"description": "A human-readable description of this log. This information appears in the documentation and can contain details.", +"type": "string" +}, +"displayName": { +"description": "The human-readable name for this log. This information appears on the user interface and should be concise.", +"type": "string" +}, +"labels": { +"description": "The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"name": { +"description": "The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].", +"type": "string" +} +}, +"type": "object" +}, +"Logging": { +"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history", +"id": "Logging", +"properties": { +"consumerDestinations": { +"description": "Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingDestination": { +"description": "Configuration of a specific logging destination (the producer project or the consumer project).", +"id": "LoggingDestination", +"properties": { +"logs": { +"description": "Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by \"/\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in the Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"LongRunning": { +"description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", +"id": "LongRunning", +"properties": { +"initialPollDelay": { +"description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", +"format": "google-duration", +"type": "string" +}, +"maxPollDelay": { +"description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", +"format": "google-duration", +"type": "string" +}, +"pollDelayMultiplier": { +"description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", +"format": "float", +"type": "number" +}, +"totalPollTimeout": { +"description": "Total polling timeout. Default value: 5 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"ManagedService": { +"description": "The full representation of a Service that is managed by Google Service Management.", +"id": "ManagedService", +"properties": { +"producerProjectId": { +"description": "ID of the project that produces and owns this service.", +"type": "string" +}, +"serviceName": { +"description": "The name of the service. See the [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements.", +"type": "string" +} +}, +"type": "object" +}, +"Method": { +"description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Method", +"properties": { +"edition": { +"deprecated": true, +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.", +"type": "string" +}, +"name": { +"description": "The simple name of this method.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the method.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"requestStreaming": { +"description": "If true, the request is streamed.", +"type": "boolean" +}, +"requestTypeUrl": { +"description": "A URL of the input message type.", +"type": "string" +}, +"responseStreaming": { +"description": "If true, the response is streamed.", +"type": "boolean" +}, +"responseTypeUrl": { +"description": "The URL of the output message type.", +"type": "string" +}, +"syntax": { +"deprecated": true, +"description": "The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"MethodPolicy": { +"description": "Defines policies applying to an RPC method.", +"id": "MethodPolicy", +"properties": { +"requestPolicies": { +"description": "Policies that are applicable to the request message.", +"items": { +"$ref": "FieldPolicy" +}, +"type": "array" +}, +"selector": { +"description": "Selects a method to which these policies should be enforced, for example, \"google.pubsub.v1.Subscriber.CreateSubscription\". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .", +"type": "string" +} +}, +"type": "object" +}, +"MethodSettings": { +"description": "Describes the generator configuration for a method.", +"id": "MethodSettings", +"properties": { +"autoPopulatedFields": { +"description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", +"items": { +"type": "string" +}, +"type": "array" +}, +"batching": { +"$ref": "BatchingConfigProto", +"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10" +}, +"longRunning": { +"$ref": "LongRunning", +"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes" +}, +"selector": { +"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...", +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean \"5300 page views per day\"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricRule": { +"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.", +"id": "MetricRule", +"properties": { +"metricCosts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.", +"type": "object" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Mixin": { +"description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", +"id": "Mixin", +"properties": { +"name": { +"description": "The fully qualified name of the interface which is included.", +"type": "string" +}, +"root": { +"description": "If non-empty specifies a path under which inherited HTTP paths are rooted.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. ", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `\"Google Cloud SQL Database\"`.", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`.", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"Monitoring": { +"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue", +"id": "Monitoring", +"properties": { +"consumerDestinations": { +"description": "Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringDestination": { +"description": "Configuration of a specific monitoring destination (the producer project or the consumer project).", +"id": "MonitoringDestination", +"properties": { +"metrics": { +"description": "Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"NodeSettings": { +"description": "Settings for Node client libraries.", +"id": "NodeSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"OAuthRequirements": { +"description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", +"id": "OAuthRequirements", +"properties": { +"canonicalScopes": { +"description": "The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationInfo": { +"description": "A message representing the message types used by a long-running operation. Example: rpc Export(ExportRequest) returns (google.longrunning.Operation) { option (google.longrunning.operation_info) = { response_type: \"ExportResponse\" metadata_type: \"ExportMetadata\" }; }", +"id": "OperationInfo", +"properties": { +"metadataType": { +"description": "Required. The message name of the metadata type for this long-running operation. If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. `google.protobuf.Struct`). Note: Altering this value constitutes a breaking change.", +"type": "string" +}, +"responseType": { +"description": "Required. The message name of the primary return type for this long-running operation. This type will be used to deserialize the LRO's response. If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. `google.protobuf.Struct`). Note: Altering this value constitutes a breaking change.", +"type": "string" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "The metadata associated with a long running operation resource.", +"id": "OperationMetadata", +"properties": { +"progressPercentage": { +"description": "Percentage of completion of this operation, ranging from 0 to 100.", +"format": "int32", +"type": "integer" +}, +"resourceNames": { +"description": "The full name of the resources that this operation is directly associated with.", +"items": { +"type": "string" +}, +"type": "array" +}, +"startTime": { +"description": "The start time of the operation.", +"format": "google-datetime", +"type": "string" +}, +"steps": { +"description": "Detailed status information for each step. The order is undetermined.", +"items": { +"$ref": "Step" +}, +"type": "array" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `\"map_entry\"`. For custom options, it should be the fully-qualified name. For example, `\"google.api.http\"`.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Page": { +"description": "Represents a documentation page. A page can contain subpages to represent nested documentation set structure.", +"id": "Page", +"properties": { +"content": { +"description": "The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.", +"type": "string" +}, +"name": { +"description": "The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.", +"type": "string" +}, +"subpages": { +"description": "Subpages of this page. The order of subpages specified here will be honored in the generated docset.", +"items": { +"$ref": "Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"PhpSettings": { +"description": "Settings for Php client libraries.", +"id": "PhpSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name\" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\\Cloud\\PubSub\\V1", +"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" +}, +"Publishing": { +"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", +"id": "Publishing", +"properties": { +"apiShortName": { +"description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", +"type": "string" +}, +"codeownerGithubTeams": { +"description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"docTagPrefix": { +"description": "A prefix used in sample code when demarking regions to be included in documentation.", +"type": "string" +}, +"documentationUri": { +"description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", +"type": "string" +}, +"githubLabel": { +"description": "GitHub label to apply to issues and pull requests opened for this API.", +"type": "string" +}, +"librarySettings": { +"description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", +"items": { +"$ref": "ClientLibrarySettings" +}, +"type": "array" +}, +"methodSettings": { +"description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", +"items": { +"$ref": "MethodSettings" +}, +"type": "array" +}, +"newIssueUri": { +"description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", +"type": "string" +}, +"organization": { +"description": "For whom the client library is being published.", +"enum": [ +"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", +"CLOUD", +"ADS", +"PHOTOS", +"STREET_VIEW", +"SHOPPING", +"GEO", +"GENERATIVE_AI" +], +"enumDescriptions": [ +"Not useful.", +"Google Cloud Platform Org.", +"Ads (Advertising) Org.", +"Photos Org.", +"Street View Org.", +"Shopping Org.", +"Geo Org.", +"Generative AI - https://developers.generativeai.google" +], +"type": "string" +}, +"protoReferenceDocumentationUri": { +"description": "Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc", +"type": "string" +}, +"restReferenceDocumentationUri": { +"description": "Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest", +"type": "string" +} +}, +"type": "object" +}, +"PythonSettings": { +"description": "Settings for Python client libraries.", +"id": "PythonSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"experimentalFeatures": { +"$ref": "ExperimentalFeatures", +"description": "Experimental features to be included during client library generation." +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", +"id": "Quota", +"properties": { +"limits": { +"description": "List of QuotaLimit definitions for the service.", +"items": { +"$ref": "QuotaLimit" +}, +"type": "array" +}, +"metricRules": { +"description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", +"items": { +"$ref": "MetricRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaLimit": { +"description": "`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.", +"id": "QuotaLimit", +"properties": { +"defaultLimit": { +"description": "Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).", +"type": "string" +}, +"displayName": { +"description": "User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.", +"type": "string" +}, +"duration": { +"description": "Duration of this limit in textual notation. Must be \"100s\" or \"1d\". Used by group-based quotas only.", +"type": "string" +}, +"freeTier": { +"description": "Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration \"1d\", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"maxLimit": { +"description": "Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.", +"type": "string" +}, +"name": { +"description": "Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.", +"type": "string" +}, +"unit": { +"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.", +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.", +"type": "object" +} +}, +"type": "object" +}, +"ResourceReference": { +"description": "Defines a proto annotation that describes a string field that refers to an API resource.", +"id": "ResourceReference", +"properties": { +"childType": { +"description": "The resource type of a child collection that the annotated field references. This is useful for annotating the `parent` field that doesn't have a fixed resource type. Example: message ListLogEntriesRequest { string parent = 1 [(google.api.resource_reference) = { child_type: \"logging.googleapis.com/LogEntry\" }; }", +"type": "string" +}, +"type": { +"description": "The resource type that the annotated field references. Example: message Subscription { string topic = 2 [(google.api.resource_reference) = { type: \"pubsub.googleapis.com/Topic\" }]; } Occasionally, a field may reference an arbitrary resource. In this case, APIs use the special value * in their resource reference. Example: message GetIamPolicyRequest { string resource = 2 [(google.api.resource_reference) = { type: \"*\" }]; }", +"type": "string" +} +}, +"type": "object" +}, +"Rollout": { +"description": "A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.", +"id": "Rollout", +"properties": { +"createTime": { +"description": "Creation time of the rollout. Readonly.", +"format": "google-datetime", +"type": "string" +}, +"createdBy": { +"description": "The user who created the Rollout. Readonly.", +"type": "string" +}, +"deleteServiceStrategy": { +"$ref": "DeleteServiceStrategy", +"description": "The strategy associated with a rollout to delete a `ManagedService`. Readonly." +}, +"rolloutId": { +"description": "Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where \"date\" is the create date in ISO 8601 format. \"revision number\" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'", +"type": "string" +}, +"serviceName": { +"description": "The name of the service associated with this Rollout.", +"type": "string" +}, +"status": { +"description": "The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.", +"enum": [ +"ROLLOUT_STATUS_UNSPECIFIED", +"IN_PROGRESS", +"SUCCESS", +"CANCELLED", +"FAILED", +"PENDING", +"FAILED_ROLLED_BACK" +], +"enumDescriptions": [ +"No status specified.", +"The Rollout is in progress.", +"The Rollout has completed successfully.", +"The Rollout has been cancelled. This can happen if you have overlapping Rollout pushes, and the previous ones will be cancelled.", +"The Rollout has failed and the rollback attempt has failed too.", +"The Rollout has not started yet and is pending for execution.", +"The Rollout has failed and rolled back to the previous successful Rollout." +], +"type": "string" +}, +"trafficPercentStrategy": { +"$ref": "TrafficPercentStrategy", +"description": "Google Service Control selects service configurations based on traffic percentage." +} +}, +"type": "object" +}, +"RubySettings": { +"description": "Settings for Ruby client libraries.", +"id": "RubySettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"SelectiveGapicGeneration": { +"description": "This message is used to configure the generation of a subset of the RPCs in a service for client libraries.", +"id": "SelectiveGapicGeneration", +"properties": { +"generateOmittedAsInternal": { +"description": "Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.", +"type": "boolean" +}, +"methods": { +"description": "An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Service": { +"description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", +"id": "Service", +"properties": { +"apis": { +"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.", +"items": { +"$ref": "Api" +}, +"type": "array" +}, +"aspects": { +"description": "Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.", +"items": { +"$ref": "Aspect" +}, +"type": "array" +}, +"authentication": { +"$ref": "Authentication", +"description": "Auth configuration." +}, +"backend": { +"$ref": "Backend", +"description": "API backend configuration." +}, +"billing": { +"$ref": "Billing", +"description": "Billing configuration." +}, +"configVersion": { +"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.", +"format": "uint32", +"type": "integer" +}, +"context": { +"$ref": "Context", +"description": "Context configuration." +}, +"control": { +"$ref": "Control", +"description": "Configuration for the service control plane." +}, +"customError": { +"$ref": "CustomError", +"description": "Custom error configuration." +}, +"documentation": { +"$ref": "Documentation", +"description": "Additional API documentation." +}, +"endpoints": { +"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. WARNING: Defining any entries in the `endpoints` list disables the automatic generation of default endpoint variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in this list alongside any other custom endpoints (like REP, GFE, etc.).", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"enums": { +"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum", +"items": { +"$ref": "Enum" +}, +"type": "array" +}, +"http": { +"$ref": "Http", +"description": "HTTP configuration." +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.", +"type": "string" +}, +"logging": { +"$ref": "Logging", +"description": "Logging configuration." +}, +"logs": { +"description": "Defines the logs used by this service.", +"items": { +"$ref": "LogDescriptor" +}, +"type": "array" +}, +"metrics": { +"description": "Defines the metrics used by this service.", +"items": { +"$ref": "MetricDescriptor" +}, +"type": "array" +}, +"monitoredResources": { +"description": "Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +}, +"monitoring": { +"$ref": "Monitoring", +"description": "Monitoring configuration." +}, +"name": { +"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.", +"type": "string" +}, +"producerProjectId": { +"description": "The Google project that owns this service.", +"type": "string" +}, +"publishing": { +"$ref": "Publishing", +"description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." +}, +"quota": { +"$ref": "Quota", +"description": "Quota configuration." +}, +"sourceInfo": { +"$ref": "SourceInfo", +"description": "Output only. The source information for this configuration if available." +}, +"systemParameters": { +"$ref": "SystemParameters", +"description": "System parameter configuration." +}, +"systemTypes": { +"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"title": { +"description": "The product title for this service, it is the name displayed in Google Cloud Console.", +"type": "string" +}, +"types": { +"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"usage": { +"$ref": "Usage", +"description": "Configuration controlling usage of this service." +} +}, +"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" +}, +"SourceContext": { +"description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source_context.proto\"`.", +"type": "string" +} +}, +"type": "object" +}, +"SourceInfo": { +"description": "Source information used to create a Service Config", +"id": "SourceInfo", +"properties": { +"sourceFiles": { +"description": "All files used during config generation.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Step": { +"description": "Represents the status of one operation step.", +"id": "Step", +"properties": { +"description": { +"description": "The short description of the step.", +"type": "string" +}, +"status": { +"description": "The status code.", +"enum": [ +"STATUS_UNSPECIFIED", +"DONE", +"NOT_STARTED", +"IN_PROGRESS", +"FAILED", +"CANCELLED" +], +"enumDescriptions": [ +"Unspecified code.", +"The operation or step has completed without errors.", +"The operation or step has not started yet.", +"The operation or step is in progress.", +"The operation or step has completed with errors. If the operation is rollbackable, the rollback completed with errors too.", +"The operation or step has completed with cancellation." +], +"type": "string" +} +}, +"type": "object" +}, +"SubmitConfigSourceRequest": { +"description": "Request message for SubmitConfigSource method.", +"id": "SubmitConfigSourceRequest", +"properties": { +"configSource": { +"$ref": "ConfigSource", +"description": "Required. The source configuration for the service." +}, +"validateOnly": { +"description": "Optional. If set, this will result in the generation of a `google.api.Service` configuration based on the `ConfigSource` provided, but the generated config and the sources will NOT be persisted.", +"type": "boolean" +} +}, +"type": "object" +}, +"SubmitConfigSourceResponse": { +"description": "Response message for SubmitConfigSource method.", +"id": "SubmitConfigSourceResponse", +"properties": { +"serviceConfig": { +"$ref": "Service", +"description": "The generated service configuration." +} +}, +"type": "object" +}, +"SystemParameter": { +"description": "Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.", +"id": "SystemParameter", +"properties": { +"httpHeader": { +"description": "Define the HTTP header name to use for the parameter. It is case insensitive.", +"type": "string" +}, +"name": { +"description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", +"type": "string" +}, +"urlQueryParameter": { +"description": "Define the URL query parameter name to use for the parameter. It is case sensitive.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameterRule": { +"description": "Define a system parameter rule mapping system parameter definitions to methods.", +"id": "SystemParameterRule", +"properties": { +"parameters": { +"description": "Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.", +"items": { +"$ref": "SystemParameter" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameters": { +"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.", +"id": "SystemParameters", +"properties": { +"rules": { +"description": "Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: \"*\" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: \"/ListShelves\" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "SystemParameterRule" +}, +"type": "array" +} +}, +"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" +}, +"TrafficPercentStrategy": { +"description": "Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: \"example.googleapis.com/rollout_20160206\" traffic_percent_strategy { percentages: { \"example.googleapis.com/20160201\": 70.00 \"example.googleapis.com/20160206\": 30.00 } } } Day 2 Rollout { id: \"example.googleapis.com/rollout_20160207\" traffic_percent_strategy: { percentages: { \"example.googleapis.com/20160206\": 100.00 } } }", +"id": "TrafficPercentStrategy", +"properties": { +"percentages": { +"additionalProperties": { +"format": "double", +"type": "number" +}, +"description": "Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.", +"type": "object" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type. New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in `oneof` definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"UndeleteServiceResponse": { +"description": "Response message for UndeleteService method.", +"id": "UndeleteServiceResponse", +"properties": { +"service": { +"$ref": "ManagedService", +"description": "Revived service resource." +} +}, +"type": "object" +}, +"Usage": { +"description": "Configuration controlling usage of a service.", +"id": "Usage", +"properties": { +"producerNotificationChannel": { +"description": "The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.", +"type": "string" +}, +"requirements": { +"description": "Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\". Other Google APIs should include \"serviceusage.googleapis.com/tos/universal\". Additional ToS can be included based on the business needs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "UsageRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageRule": { +"description": "Usage configuration rules for the service.", +"id": "UsageRule", +"properties": { +"allowUnregisteredCalls": { +"description": " Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.", +"type": "boolean" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +}, +"skipServiceControl": { +"description": "If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.", +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Management API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..0df6389894991b962ad0a3443e5a1594f785afc3 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1.json @@ -0,0 +1,4383 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/service.management": { +"description": "Manage your Google API service configuration" +} +} +} +}, +"basePath": "", +"baseUrl": "https://servicenetworking.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Networking", +"description": "Provides automatic management of network configurations necessary for certain services.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", +"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": "servicenetworking:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://servicenetworking.mtls.googleapis.com/", +"name": "servicenetworking", +"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": { +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "servicenetworking.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "servicenetworking.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "servicenetworking.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "servicenetworking.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"services": { +"methods": { +"addSubnetwork": { +"description": "For service producers, provisions a new subnet in a peered service's shared VPC network in the requested region and with the requested size that's expressed as a CIDR range (number of leading bits of ipV4 network mask). The method checks against the assigned allocated ranges to find a non-conflicting IP address range. The method will reuse a subnet if subsequent calls contain the same subnet name, region, and prefix length. This method will make producer's tenant project to be a shared VPC service project as needed.", +"flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}:addSubnetwork", +"httpMethod": "POST", +"id": "servicenetworking.services.addSubnetwork", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A tenant project in the service producer organization, in the following format: services/{service}/{collection-id}/{resource-id}. {collection-id} is the cloud resource collection type that represents the tenant project. Only `projects` are supported. {resource-id} is the tenant project numeric id, such as `123456`. {service} the name of the peering service, such as `service-peering.example.com`. This service must already be enabled in the service consumer's project.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:addSubnetwork", +"request": { +"$ref": "AddSubnetworkRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"disableVpcServiceControls": { +"description": "Disables VPC service controls for a connection.", +"flatPath": "v1/services/{servicesId}:disableVpcServiceControls", +"httpMethod": "PATCH", +"id": "servicenetworking.services.disableVpcServiceControls", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:disableVpcServiceControls", +"request": { +"$ref": "DisableVpcServiceControlsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"enableVpcServiceControls": { +"description": "Enables VPC service controls for a connection.", +"flatPath": "v1/services/{servicesId}:enableVpcServiceControls", +"httpMethod": "PATCH", +"id": "servicenetworking.services.enableVpcServiceControls", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:enableVpcServiceControls", +"request": { +"$ref": "EnableVpcServiceControlsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"searchRange": { +"description": "Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation).", +"flatPath": "v1/services/{servicesId}:searchRange", +"httpMethod": "POST", +"id": "servicenetworking.services.searchRange", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. This is in a form services/{service}. {service} the name of the private access management service, for example 'service-peering.example.com'.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:searchRange", +"request": { +"$ref": "SearchRangeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"validate": { +"description": "Service producers use this method to validate if the consumer provided network, project and requested range are valid. This allows them to use a fail-fast mechanism for consumer requests, and not have to wait for AddSubnetwork operation completion to determine if user request is invalid.", +"flatPath": "v1/services/{servicesId}:validate", +"httpMethod": "POST", +"id": "servicenetworking.services.validate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. This is in a form services/{service} where {service} is the name of the private access management service. For example 'service-peering.example.com'.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:validate", +"request": { +"$ref": "ValidateConsumerConfigRequest" +}, +"response": { +"$ref": "ValidateConsumerConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +}, +"resources": { +"connections": { +"methods": { +"create": { +"description": "Creates a private connection that establishes a VPC Network Peering connection to a VPC network in the service producer's organization. The administrator of the service consumer's VPC network invokes this method. The administrator must assign one or more allocated IP ranges for provisioning subnetworks in the service producer's VPC network. This connection is used for all supported services in the service producer's organization, so it only needs to be invoked once.", +"flatPath": "v1/services/{servicesId}/connections", +"httpMethod": "POST", +"id": "servicenetworking.services.connections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connections", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"deleteConnection": { +"description": "Deletes a private service access connection.", +"flatPath": "v1/services/{servicesId}/connections/{connectionsId}", +"httpMethod": "POST", +"id": "servicenetworking.services.connections.deleteConnection", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name}/connections/{vpc_peering_name}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.", +"location": "path", +"pattern": "^services/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DeleteConnectionRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "List the private connections that are configured in a service consumer's VPC network.", +"flatPath": "v1/services/{servicesId}/connections", +"httpMethod": "GET", +"id": "servicenetworking.services.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"network": { +"description": "Required. The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `services/-` as the parameter value, all configured peering services are listed.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/connections", +"response": { +"$ref": "ListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"patch": { +"description": "Updates the allocated ranges that are assigned to a connection.", +"flatPath": "v1/services/{servicesId}/connections/{connectionsId}", +"httpMethod": "PATCH", +"id": "servicenetworking.services.connections.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If a previously defined allocated range is removed, force flag must be set to true.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of `services/{peering_service_name}/connections/{vpc_peering_name}`. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`.", +"location": "path", +"pattern": "^services/[^/]+/connections/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask. If this is omitted, it defaults to \"*\". You can only update the listed peering ranges.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Connection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"dnsRecordSets": { +"methods": { +"add": { +"description": "Service producers can use this method to add DNS record sets to private DNS zones in the shared producer host project.", +"flatPath": "v1/services/{servicesId}/dnsRecordSets:add", +"httpMethod": "POST", +"id": "servicenetworking.services.dnsRecordSets.add", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsRecordSets:add", +"request": { +"$ref": "AddDnsRecordSetRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"get": { +"description": "Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network.", +"flatPath": "v1/services/{servicesId}/dnsRecordSets:get", +"httpMethod": "GET", +"id": "servicenetworking.services.dnsRecordSets.get", +"parameterOrder": [ +"parent" +], +"parameters": { +"consumerNetwork": { +"description": "Required. The consumer network containing the record set. Must be in the form of projects/{project}/global/networks/{network}", +"location": "query", +"type": "string" +}, +"domain": { +"description": "Required. The domain name of the zone containing the recordset.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "Required. RecordSet Type eg. type='A'. See the list of [Supported DNS Types](https://cloud.google.com/dns/records/json-record).", +"location": "query", +"type": "string" +}, +"zone": { +"description": "Required. The name of the zone containing the record set.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dnsRecordSets:get", +"response": { +"$ref": "DnsRecordSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "Producers can use this method to retrieve a list of available DNS RecordSets available inside the private zone on the tenant host project accessible from their network.", +"flatPath": "v1/services/{servicesId}/dnsRecordSets:list", +"httpMethod": "GET", +"id": "servicenetworking.services.dnsRecordSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +}, +"zone": { +"description": "Required. The name of the private DNS zone in the shared producer host project from which the record set will be removed.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/dnsRecordSets:list", +"response": { +"$ref": "ListDnsRecordSetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"remove": { +"description": "Service producers can use this method to remove DNS record sets from private DNS zones in the shared producer host project.", +"flatPath": "v1/services/{servicesId}/dnsRecordSets:remove", +"httpMethod": "POST", +"id": "servicenetworking.services.dnsRecordSets.remove", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsRecordSets:remove", +"request": { +"$ref": "RemoveDnsRecordSetRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"update": { +"description": "Service producers can use this method to update DNS record sets from private DNS zones in the shared producer host project.", +"flatPath": "v1/services/{servicesId}/dnsRecordSets:update", +"httpMethod": "POST", +"id": "servicenetworking.services.dnsRecordSets.update", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsRecordSets:update", +"request": { +"$ref": "UpdateDnsRecordSetRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"dnsZones": { +"methods": { +"add": { +"description": "Service producers can use this method to add private DNS zones in the shared producer host project and matching peering zones in the consumer project.", +"flatPath": "v1/services/{servicesId}/dnsZones:add", +"httpMethod": "POST", +"id": "servicenetworking.services.dnsZones.add", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsZones:add", +"request": { +"$ref": "AddDnsZoneRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"remove": { +"description": "Service producers can use this method to remove private DNS zones in the shared producer host project and matching peering zones in the consumer project.", +"flatPath": "v1/services/{servicesId}/dnsZones:remove", +"httpMethod": "POST", +"id": "servicenetworking.services.dnsZones.remove", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsZones:remove", +"request": { +"$ref": "RemoveDnsZoneRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"projects": { +"resources": { +"global": { +"resources": { +"networks": { +"methods": { +"get": { +"description": "Service producers use this method to get the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}", +"httpMethod": "GET", +"id": "servicenetworking.services.projects.global.networks.get", +"parameterOrder": [ +"name" +], +"parameters": { +"includeUsedIpRanges": { +"description": "Optional. When true, include the used IP ranges as part of the GetConsumerConfig output. This includes routes created inside the service networking network, consumer network, peers of the consumer network, and reserved ranges inside the service networking network. By default, this is false", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "Required. Name of the consumer config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ConsumerConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"getVpcServiceControls": { +"description": "Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/vpcServiceControls", +"httpMethod": "GET", +"id": "servicenetworking.services.projects.global.networks.getVpcServiceControls", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the VPC Service Controls config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}/vpcServiceControls", +"response": { +"$ref": "VpcServiceControls" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"updateConsumerConfig": { +"description": "Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}:updateConsumerConfig", +"httpMethod": "PATCH", +"id": "servicenetworking.services.projects.global.networks.updateConsumerConfig", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource identifying the connection for which the consumer config is being updated in the format: `services/{service}/projects/{project}/global/networks/{network}` {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network} is the name of the service consumer's VPC network.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}:updateConsumerConfig", +"request": { +"$ref": "UpdateConsumerConfigRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +}, +"resources": { +"dnsZones": { +"methods": { +"get": { +"description": "Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/dnsZones/{dnsZonesId}", +"httpMethod": "GET", +"id": "servicenetworking.services.projects.global.networks.dnsZones.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/dnsZones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+/dnsZones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GetDnsZoneResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. *", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/dnsZones:list", +"httpMethod": "GET", +"id": "servicenetworking.services.projects.global.networks.dnsZones.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. Projects: the consumer project containing the consumer network. Network: The consumer network accessible from the tenant project.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/dnsZones:list", +"response": { +"$ref": "ListDnsZonesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"peeredDnsDomains": { +"methods": { +"create": { +"description": "Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/peeredDnsDomains", +"httpMethod": "POST", +"id": "servicenetworking.services.projects.global.networks.peeredDnsDomains.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: `services/{service}/projects/{project}/global/networks/{network}` {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network} is the name of the service consumer's VPC network.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/peeredDnsDomains", +"request": { +"$ref": "PeeredDnsDomain" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"delete": { +"description": "Deletes a peered DNS domain.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/peeredDnsDomains/{peeredDnsDomainsId}", +"httpMethod": "DELETE", +"id": "servicenetworking.services.projects.global.networks.peeredDnsDomains.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the peered DNS domain to delete in the format: `services/{service}/projects/{project}/global/networks/{network}/peeredDnsDomains/{name}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is the number of the project that contains the service consumer's VPC network e.g. `12345`. {network} is the name of the service consumer's VPC network. {name} is the name of the peered DNS domain.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+/peeredDnsDomains/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "Lists peered DNS domains for a connection.", +"flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/peeredDnsDomains", +"httpMethod": "GET", +"id": "servicenetworking.services.projects.global.networks.peeredDnsDomains.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", +"location": "path", +"pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/peeredDnsDomains", +"response": { +"$ref": "ListPeeredDnsDomainsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +} +} +} +} +} +} +}, +"roles": { +"methods": { +"add": { +"description": "Service producers can use this method to add roles in the shared VPC host project. Each role is bound to the provided member. Each role must be selected from within an allowlisted set of roles. Each role is applied at only the granularity specified in the allowlist.", +"flatPath": "v1/services/{servicesId}/roles:add", +"httpMethod": "POST", +"id": "servicenetworking.services.roles.add", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. This is in a form services/{service} where {service} is the name of the private access management service. For example 'service-peering.example.com'.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/roles:add", +"request": { +"$ref": "AddRolesRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://servicenetworking.googleapis.com/", +"schemas": { +"AddDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddDnsRecordSet API", +"id": "AddDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"AddDnsRecordSetRequest": { +"description": "Request to add a record set to a private managed DNS zone in the shared producer host project.", +"id": "AddDnsRecordSetRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"type": "string" +}, +"dnsRecordSet": { +"$ref": "DnsRecordSet", +"description": "Required. The DNS record set to add." +}, +"zone": { +"description": "Required. The name of the private DNS zone in the shared producer host project to which the record set will be added.", +"type": "string" +} +}, +"type": "object" +}, +"AddDnsZoneMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddDnsZone API", +"id": "AddDnsZoneMetadata", +"properties": {}, +"type": "object" +}, +"AddDnsZoneRequest": { +"description": "Request to add a private managed DNS zone in the shared producer host project and a matching DNS peering zone in the consumer project.", +"id": "AddDnsZoneRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"type": "string" +}, +"dnsSuffix": { +"description": "Required. The DNS name suffix for the zones e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"name": { +"description": "Required. The name for both the private zone in the shared producer host project and the peering zone in the consumer project. Must be unique within both projects. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +} +}, +"type": "object" +}, +"AddDnsZoneResponse": { +"description": "Represents managed DNS zones created in the shared producer host and consumer projects.", +"id": "AddDnsZoneResponse", +"properties": { +"consumerPeeringZone": { +"$ref": "DnsZone", +"description": "The DNS peering zone created in the consumer project." +}, +"producerPrivateZone": { +"$ref": "DnsZone", +"description": "The private DNS zone created in the shared producer host project." +} +}, +"type": "object" +}, +"AddRolesMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddRoles API", +"id": "AddRolesMetadata", +"properties": {}, +"type": "object" +}, +"AddRolesRequest": { +"description": "Request for AddRoles to allow Service Producers to add roles in the shared VPC host project for them to use.", +"id": "AddRolesRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is a network name.", +"type": "string" +}, +"policyBinding": { +"description": "Required. List of policy bindings to add to shared VPC host project.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddRolesResponse": { +"description": "Represents IAM roles added to the shared VPC host project.", +"id": "AddRolesResponse", +"properties": { +"policyBinding": { +"description": "Required. List of policy bindings that were added to the shared VPC host project.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddSubnetworkRequest": { +"description": "Request to create a subnetwork in a previously peered service network.", +"id": "AddSubnetworkRequest", +"properties": { +"allowSubnetCidrRoutesOverlap": { +"description": "Optional. Defines the allowSubnetCidrRoutesOverlap field of the subnet, e.g. Available in alpha and beta according to [Compute API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks/insert)", +"type": "boolean" +}, +"checkServiceNetworkingUsePermission": { +"description": "Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.", +"type": "boolean" +}, +"computeIdempotencyWindow": { +"description": "Optional. Specifies a custom time bucket for GCE subnetwork request idempotency. If two equivalent concurrent requests are made, GCE will know to ignore the request if it has already been completed or is in progress. Only requests with matching compute_idempotency_window have guaranteed idempotency. Changing this time window between requests results in undefined behavior. Zero (or empty) value with custom_compute_idempotency_window=true specifies no idempotency (i.e. no request ID is provided to GCE). Maximum value of 14 days (enforced by GCE limit).", +"format": "google-duration", +"type": "string" +}, +"consumer": { +"description": "Required. A resource that represents the service consumer, such as `projects/123456`. The project number can be different from the value in the consumer network parameter. For example, the network might be part of a Shared VPC network. In those cases, Service Networking validates that this resource belongs to that Shared VPC.", +"type": "string" +}, +"consumerNetwork": { +"description": "Required. The name of the service consumer's VPC network. The network must have an existing private connection that was provisioned through the connections.create method. The name must be in the following format: `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`. {network} is the name of a VPC network in the project.", +"type": "string" +}, +"description": { +"description": "Optional. Description of the subnet.", +"type": "string" +}, +"internalRange": { +"description": "Optional. The url of an Internal Range. Eg: `projects//locations/global/internalRanges/`. If specified, it means that the subnetwork cidr will be created using the combination of requested_address/ip_prefix_length. Note that the subnet cidr has to be within the cidr range of this Internal Range.", +"type": "string" +}, +"ipPrefixLength": { +"description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range. GCE disallows subnets with prefix_length > 29", +"format": "int32", +"type": "integer" +}, +"outsideAllocationPublicIpRange": { +"description": "Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this primary IP range.", +"type": "string" +}, +"privateIpv6GoogleAccess": { +"description": "Optional. The private IPv6 google access type for the VMs in this subnet. For information about the access types that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", +"type": "string" +}, +"purpose": { +"description": "Optional. Defines the purpose field of the subnet, e.g. 'PRIVATE_SERVICE_CONNECT'. For information about the purposes that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", +"type": "string" +}, +"region": { +"description": "Required. The name of a [region](https://cloud.google.com/compute/docs/regions-zones) for the subnet, such `europe-west1`.", +"type": "string" +}, +"requestedAddress": { +"description": "Optional. The starting address of a range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix range is the CIDR range for the subnet. The range must be within the allocated range that is assigned to the private connection. If the CIDR range isn't available, the call fails.", +"type": "string" +}, +"requestedRanges": { +"description": "Optional. The name of one or more allocated IP address ranges associated with this private service access connection. If no range names are provided all ranges associated with this connection will be considered. If a CIDR range with the specified IP prefix length is not available within these ranges, the call fails.", +"items": { +"type": "string" +}, +"type": "array" +}, +"role": { +"description": "Optional. Defines the role field of the subnet, e.g. 'ACTIVE'. For information about the roles that can be set using this field, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", +"type": "string" +}, +"secondaryIpRangeSpecs": { +"description": "Optional. A list of secondary IP ranges to be created within the new subnetwork.", +"items": { +"$ref": "SecondaryIpRangeSpec" +}, +"type": "array" +}, +"skipRequestedAddressValidation": { +"description": "Optional. Skips validating if the requested_address is in use by SN VPC\u2019s peering group. Compute Engine will still perform this check and fail the request if the requested_address is in use. Note that Compute Engine does not check for the existence of dynamic routes when performing this check. Caller of this API should make sure that there are no dynamic routes overlapping with the requested_address/prefix_length IP address range otherwise the created subnet could cause misrouting.", +"type": "boolean" +}, +"subnetwork": { +"description": "Required. A name for the new subnet. For information about the naming requirements, see [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", +"type": "string" +}, +"subnetworkUsers": { +"description": "A list of members that are granted the `roles/servicenetworking.subnetworkAdmin` role on the subnet.", +"items": { +"type": "string" +}, +"type": "array" +}, +"useCustomComputeIdempotencyWindow": { +"description": "Optional. Specifies if Service Networking should use a custom time bucket for GCE idempotency. If false, Service Networking uses a 300 second (5 minute) GCE idempotency window. If true, Service Networking uses a custom idempotency window provided by the user in field compute_idempotency_window.", +"type": "boolean" +} +}, +"type": "object" +}, +"Api": { +"description": "Api is a light-weight descriptor for an API Interface. Interfaces are also described as \"protocol buffer services\" in some contexts, such as by the \"service\" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as \"APIs\" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Api", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"methods": { +"description": "The methods of this interface, in unspecified order.", +"items": { +"$ref": "Method" +}, +"type": "array" +}, +"mixins": { +"description": "Included interfaces. See Mixin.", +"items": { +"$ref": "Mixin" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified name of this interface, including package name followed by the interface's simple name.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the interface.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "Source context for the protocol buffer service represented by this message." +}, +"syntax": { +"description": "The source syntax of the service.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +}, +"version": { +"description": "A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. ", +"type": "string" +} +}, +"type": "object" +}, +"Aspect": { +"description": "Aspect represents Generic aspect. It is used to configure an aspect without making direct changes to service.proto", +"id": "Aspect", +"properties": { +"kind": { +"description": "The type of this aspect configuration.", +"type": "string" +}, +"rules": { +"description": "Optional. Rules of the Configuration.", +"items": { +"$ref": "AspectRule" +}, +"type": "array" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +} +}, +"type": "object" +}, +"AspectRule": { +"description": "Rule-based configuration for an aspect.", +"id": "AspectRule", +"properties": { +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +}, +"selector": { +"description": "Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"AuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthProvider", +"properties": { +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - \"https://[service.name]/[google.protobuf.Api.name]\" - \"https://[service.name]/\" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"authorizationUrl": { +"description": "Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: \"bookstore_auth\".", +"type": "string" +}, +"issuer": { +"description": "Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com", +"type": "string" +}, +"jwksUri": { +"description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs", +"type": "string" +}, +"jwtLocations": { +"description": "Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: \"Bearer \" - header: x-goog-iap-jwt-assertion - query: access_token", +"items": { +"$ref": "JwtLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthRequirement": { +"description": "User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthRequirement", +"properties": { +"audiences": { +"description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience \"https://Service_name/API_name\" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience \"https://library-example.googleapis.com/google.example.library.v1.LibraryService\". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"providerId": { +"description": "id from authentication provider. Example: provider_id: bookstore_auth", +"type": "string" +} +}, +"type": "object" +}, +"Authentication": { +"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read", +"id": "Authentication", +"properties": { +"providers": { +"description": "Defines a set of authentication providers that a service supports.", +"items": { +"$ref": "AuthProvider" +}, +"type": "array" +}, +"rules": { +"description": "A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "AuthenticationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationRule": { +"description": "Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.", +"id": "AuthenticationRule", +"properties": { +"allowWithoutCredential": { +"description": "If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.", +"type": "boolean" +}, +"oauth": { +"$ref": "OAuthRequirements", +"description": "The requirements for OAuth credentials." +}, +"requirements": { +"description": "Requirements for additional authentication providers.", +"items": { +"$ref": "AuthRequirement" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "`Backend` defines the backend configuration for a service.", +"id": "Backend", +"properties": { +"rules": { +"description": "A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "BackendRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendRule": { +"description": "A backend rule provides configuration for an individual API element.", +"id": "BackendRule", +"properties": { +"address": { +"description": "The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.", +"type": "string" +}, +"deadline": { +"description": "The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.", +"format": "double", +"type": "number" +}, +"disableAuth": { +"description": "When disable_auth is true, a JWT ID token won't be generated and the original \"Authorization\" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.", +"type": "boolean" +}, +"jwtAudience": { +"description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", +"type": "string" +}, +"loadBalancingPolicy": { +"description": "The load balancing policy used for connection to the application backend. Defined as an arbitrary string to accomondate custom load balancing policies supported by the underlying channel, but suggest most users use one of the standard policies, such as the default, \"RoundRobin\".", +"type": "string" +}, +"minDeadline": { +"deprecated": true, +"description": "Deprecated, do not use.", +"format": "double", +"type": "number" +}, +"operationDeadline": { +"description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", +"format": "double", +"type": "number" +}, +"overridesByRequestProtocol": { +"additionalProperties": { +"$ref": "BackendRule" +}, +"description": "The map between request protocol and the backend address.", +"type": "object" +}, +"pathTranslation": { +"description": "no-lint", +"enum": [ +"PATH_TRANSLATION_UNSPECIFIED", +"CONSTANT_ADDRESS", +"APPEND_PATH_TO_ADDRESS" +], +"enumDescriptions": [ +"", +"Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe", +"The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST" +], +"type": "string" +}, +"protocol": { +"description": "The protocol used for sending a request to the backend. The supported values are \"http/1.1\" and \"h2\". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to \"h2\" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.", +"type": "string" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingConfigProto": { +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", +"id": "BatchingConfigProto", +"properties": { +"batchDescriptor": { +"$ref": "BatchingDescriptorProto", +"description": "The request and response fields used in batching." +}, +"thresholds": { +"$ref": "BatchingSettingsProto", +"description": "The thresholds which trigger a batched request to be sent." +} +}, +"type": "object" +}, +"BatchingDescriptorProto": { +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", +"id": "BatchingDescriptorProto", +"properties": { +"batchedField": { +"description": "The repeated field in the request message to be aggregated by batching.", +"type": "string" +}, +"discriminatorFields": { +"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subresponseField": { +"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingSettingsProto": { +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", +"id": "BatchingSettingsProto", +"properties": { +"delayThreshold": { +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", +"format": "google-duration", +"type": "string" +}, +"elementCountLimit": { +"description": "The maximum number of elements collected in a batch that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"elementCountThreshold": { +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", +"format": "int32", +"type": "integer" +}, +"flowControlByteLimit": { +"description": "The maximum size of data allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlElementLimit": { +"description": "The maximum number of elements allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlLimitExceededBehavior": { +"description": "The behavior to take when the flow control limit is exceeded.", +"enum": [ +"UNSET_BEHAVIOR", +"THROW_EXCEPTION", +"BLOCK", +"IGNORE" +], +"enumDescriptions": [ +"Default behavior, system-defined.", +"Stop operation, raise error.", +"Pause operation until limit clears.", +"Continue operation, disregard limit." +], +"type": "string" +}, +"requestByteLimit": { +"description": "The maximum size of the request that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"requestByteThreshold": { +"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Billing": { +"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count", +"id": "Billing", +"properties": { +"consumerDestinations": { +"description": "Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.", +"items": { +"$ref": "BillingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"BillingDestination": { +"description": "Configuration of a specific billing destination (Currently only support bill against consumer project).", +"id": "BillingDestination", +"properties": { +"metrics": { +"description": "Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CleanupConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Cleanup Connection API", +"id": "CleanupConnectionMetadata", +"properties": {}, +"type": "object" +}, +"ClientLibrarySettings": { +"description": "Details about how and where to publish client libraries.", +"id": "ClientLibrarySettings", +"properties": { +"cppSettings": { +"$ref": "CppSettings", +"description": "Settings for C++ client libraries." +}, +"dotnetSettings": { +"$ref": "DotnetSettings", +"description": "Settings for .NET client libraries." +}, +"goSettings": { +"$ref": "GoSettings", +"description": "Settings for Go client libraries." +}, +"javaSettings": { +"$ref": "JavaSettings", +"description": "Settings for legacy Java features, supported in the Service YAML." +}, +"launchStage": { +"description": "Launch stage of this version of the API.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"nodeSettings": { +"$ref": "NodeSettings", +"description": "Settings for Node client libraries." +}, +"phpSettings": { +"$ref": "PhpSettings", +"description": "Settings for PHP client libraries." +}, +"pythonSettings": { +"$ref": "PythonSettings", +"description": "Settings for Python client libraries." +}, +"restNumericEnums": { +"description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", +"type": "boolean" +}, +"rubySettings": { +"$ref": "RubySettings", +"description": "Settings for Ruby client libraries." +}, +"version": { +"description": "Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLConfig": { +"description": "Cloud SQL configuration.", +"id": "CloudSQLConfig", +"properties": { +"service": { +"description": "Required. Peering service used for peering with the Cloud SQL project.", +"type": "string" +}, +"umbrellaNetwork": { +"description": "Required. The name of the umbrella network in the Cloud SQL umbrella project.", +"type": "string" +}, +"umbrellaProject": { +"description": "Required. The project number of the Cloud SQL umbrella project.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CommonLanguageSettings": { +"description": "Required information for every language.", +"id": "CommonLanguageSettings", +"properties": { +"destinations": { +"description": "The destination where API teams want this client library to be published.", +"items": { +"enum": [ +"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", +"GITHUB", +"PACKAGE_MANAGER" +], +"enumDescriptions": [ +"Client libraries will neither be generated nor published to package managers.", +"Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", +"Publish the library to package managers like nuget.org and npmjs.com." +], +"type": "string" +}, +"type": "array" +}, +"referenceDocsUri": { +"deprecated": true, +"description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", +"type": "string" +}, +"selectiveGapicGeneration": { +"$ref": "SelectiveGapicGeneration", +"description": "Configuration for which RPCs should be generated in the GAPIC client." +} +}, +"type": "object" +}, +"Connection": { +"description": "Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.", +"id": "Connection", +"properties": { +"network": { +"description": "Required. The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project}/global/networks/{network}`. `{project}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network}` is the name of the service consumer's VPC network.", +"type": "string" +}, +"peering": { +"description": "Output only. The name of the VPC Network Peering connection that was created by the service producer.", +"readOnly": true, +"type": "string" +}, +"reservedPeeringRanges": { +"description": "The name of one or more allocated IP address ranges for this service producer of type `PEERING`. Note that invoking CreateConnection method with a different range when connection is already established will not modify already provisioned service producer subnetworks. If CreateConnection method is invoked repeatedly to reconnect when peering connection had been disconnected on the consumer side, leaving this field empty will restore previously allocated IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"service": { +"description": "Output only. The name of the peering service that's associated with this connection, in the following format: `services/{service name}`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConsumerConfig": { +"description": "Configuration information for a private service access connection.", +"id": "ConsumerConfig", +"properties": { +"cloudsqlConfigs": { +"description": "Represents one or multiple Cloud SQL configurations.", +"items": { +"$ref": "CloudSQLConfig" +}, +"type": "array" +}, +"consumerExportCustomRoutes": { +"description": "Export custom routes flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerExportSubnetRoutesWithPublicIp": { +"description": "Export subnet routes with public ip flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerImportCustomRoutes": { +"description": "Import custom routes flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerImportSubnetRoutesWithPublicIp": { +"description": "Import subnet routes with public ip flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerPeeringActive": { +"description": "Output only. If this is true, consumer peering is active.", +"readOnly": true, +"type": "boolean" +}, +"producerExportCustomRoutes": { +"description": "Export custom routes flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerExportSubnetRoutesWithPublicIp": { +"description": "Export subnet routes with public ip flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerImportCustomRoutes": { +"description": "Import custom routes flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerImportSubnetRoutesWithPublicIp": { +"description": "Import subnet routes with public ip flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerNetwork": { +"description": "Output only. The VPC host network that is used to host managed service instances. In the format, projects/{project}/global/networks/{network} where {project} is the project number e.g. '12345' and {network} is the network name.", +"readOnly": true, +"type": "string" +}, +"reservedRanges": { +"description": "Output only. The reserved ranges associated with this private service access connection.", +"items": { +"$ref": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange" +}, +"readOnly": true, +"type": "array" +}, +"usedIpRanges": { +"description": "Output only. The IP ranges already in use by consumer or producer", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"vpcScReferenceArchitectureEnabled": { +"description": "Output only. Indicates whether the VPC Service Controls reference architecture is configured for the producer VPC host network.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"ConsumerConfigMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by UpdateConsumerConfig API.", +"id": "ConsumerConfigMetadata", +"properties": {}, +"type": "object" +}, +"ConsumerProject": { +"description": "Represents a consumer project.", +"id": "ConsumerProject", +"properties": { +"projectNum": { +"description": "Required. Project number of the consumer that is launching the service instance. It can own the network that is peered with Google or, be a service project in an XPN where the host project has the network.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Context": { +"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using \u201cx-goog-ext--bin\u201d and \u201cx-goog-ext--jspb\u201d format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", +"id": "Context", +"properties": { +"rules": { +"description": "A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "ContextRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextRule": { +"description": "A context rule provides information about the context for an individual API element.", +"id": "ContextRule", +"properties": { +"allowedRequestExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowedResponseExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"provided": { +"description": "A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requested": { +"description": "A list of full type names of requested contexts, only the requested context will be made available to the backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", +"id": "Control", +"properties": { +"environment": { +"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.", +"type": "string" +}, +"methodPolicies": { +"description": "Defines policies applying to the API methods of the service.", +"items": { +"$ref": "MethodPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"CppSettings": { +"description": "Settings for C++ client libraries.", +"id": "CppSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"CustomError": { +"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", +"id": "CustomError", +"properties": { +"rules": { +"description": "The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "CustomErrorRule" +}, +"type": "array" +}, +"types": { +"description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomErrorRule": { +"description": "A custom error rule.", +"id": "CustomErrorRule", +"properties": { +"isErrorType": { +"description": "Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.", +"type": "boolean" +}, +"selector": { +"description": "Selects messages to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"CustomHttpPattern": { +"description": "A custom pattern is used for defining custom HTTP verb.", +"id": "CustomHttpPattern", +"properties": { +"kind": { +"description": "The name of this custom HTTP verb.", +"type": "string" +}, +"path": { +"description": "The path matched by this custom verb.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Delete Connection API", +"id": "DeleteConnectionMetadata", +"properties": {}, +"type": "object" +}, +"DeleteConnectionRequest": { +"description": "Request to delete a private service access connection. The call will fail if there are any managed service instances using this connection.", +"id": "DeleteConnectionRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is a network name.", +"type": "string" +} +}, +"type": "object" +}, +"DeletePeeredDnsDomainMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by DeletePeeredDnsDomain API.", +"id": "DeletePeeredDnsDomainMetadata", +"properties": {}, +"type": "object" +}, +"DisableVpcServiceControlsRequest": { +"description": "Request to disable VPC service controls.", +"id": "DisableVpcServiceControlsRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is network name.", +"type": "string" +} +}, +"type": "object" +}, +"DnsRecordSet": { +"description": "Represents a DNS record set resource.", +"id": "DnsRecordSet", +"properties": { +"data": { +"description": "Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see https://cloud.google.com/dns/records/json-record.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domain": { +"description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"ttl": { +"description": "Required. The period of time for which this RecordSet can be cached by resolvers.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Required. The identifier of a supported record type.", +"type": "string" +} +}, +"type": "object" +}, +"DnsZone": { +"description": "Represents a DNS zone resource.", +"id": "DnsZone", +"properties": { +"dnsSuffix": { +"description": "The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"name": { +"description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +} +}, +"type": "object" +}, +"DnsZonePair": { +"description": "* Represents a pair of private and peering DNS zone resources. *", +"id": "DnsZonePair", +"properties": { +"consumerPeeringZone": { +"$ref": "DnsZone", +"description": "The DNS peering zone in the consumer project." +}, +"producerPrivateZone": { +"$ref": "DnsZone", +"description": "The private DNS zone in the shared producer host project." +} +}, +"type": "object" +}, +"Documentation": { +"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", +"id": "Documentation", +"properties": { +"additionalIamInfo": { +"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", +"type": "string" +}, +"documentationRootUrl": { +"description": "The URL to the root of documentation.", +"type": "string" +}, +"overview": { +"description": "Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.", +"type": "string" +}, +"pages": { +"description": "The top level pages for the documentation set.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"rules": { +"description": "A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "DocumentationRule" +}, +"type": "array" +}, +"sectionOverrides": { +"description": "Specifies section and content to override the boilerplate content. Currently overrides following sections: 1. rest.service.client_libraries", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"serviceRootUrl": { +"description": "Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.", +"type": "string" +}, +"summary": { +"description": "A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentationRule": { +"description": "A documentation rule provides information about individual API elements.", +"id": "DocumentationRule", +"properties": { +"deprecationDescription": { +"description": "Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.", +"type": "string" +}, +"description": { +"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", +"type": "string" +}, +"disableReplacementWords": { +"description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled.", +"type": "string" +}, +"selector": { +"description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in \"*\", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern \"*\" is used.", +"type": "string" +} +}, +"type": "object" +}, +"DotnetSettings": { +"description": "Settings for Dotnet client libraries.", +"id": "DotnetSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"forcedNamespaceAliases": { +"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", +"items": { +"type": "string" +}, +"type": "array" +}, +"handwrittenSignatures": { +"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoredResources": { +"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"renamedResources": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", +"type": "object" +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", +"type": "object" +} +}, +"type": "object" +}, +"Empty": { +"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", +"id": "Empty", +"properties": {}, +"type": "object" +}, +"EnableVpcServiceControlsRequest": { +"description": "Request to enable VPC service controls.", +"id": "EnableVpcServiceControlsRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is network name.", +"type": "string" +} +}, +"type": "object" +}, +"Endpoint": { +"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", +"id": "Endpoint", +"properties": { +"aliases": { +"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowCors": { +"description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", +"type": "boolean" +}, +"name": { +"description": "The canonical name of this endpoint.", +"type": "string" +}, +"target": { +"description": "The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, \"8.8.8.8\" or \"myservice.appspot.com\".", +"type": "string" +} +}, +"type": "object" +}, +"Enum": { +"description": "Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Enum", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"enumvalue": { +"description": "Enum value definitions.", +"items": { +"$ref": "EnumValue" +}, +"type": "array" +}, +"name": { +"description": "Enum type name.", +"type": "string" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumValue": { +"description": "Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "EnumValue", +"properties": { +"name": { +"description": "Enum value name.", +"type": "string" +}, +"number": { +"description": "Enum value number.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExperimentalFeatures": { +"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", +"id": "ExperimentalFeatures", +"properties": { +"protobufPythonicTypesEnabled": { +"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"restAsyncIoEnabled": { +"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"unversionedPackageDisabled": { +"description": "Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.", +"type": "boolean" +} +}, +"type": "object" +}, +"Field": { +"description": "A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", +"type": "string" +} +}, +"type": "object" +}, +"FieldPolicy": { +"description": "Google API Policy Annotation This message defines a simple API policy annotation that can be used to annotate API request and response message fields with applicable policies. One field may have multiple applicable policies that must all be satisfied before a request can be processed. This policy annotation is used to generate the overall policy that will be used for automatic runtime policy enforcement and documentation generation.", +"id": "FieldPolicy", +"properties": { +"resourcePermission": { +"description": "Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission checks to proceed. For example, \"resourcemanager.projects.get\".", +"type": "string" +}, +"resourceType": { +"description": "Specifies the resource type for the resource referred to by the field.", +"type": "string" +}, +"selector": { +"description": "Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as \"foo.bar\" or \"foo.bar,foo.baz\".", +"type": "string" +} +}, +"type": "object" +}, +"GetDnsZoneResponse": { +"description": "Represents managed DNS zones created in the shared Producer host and consumer projects.", +"id": "GetDnsZoneResponse", +"properties": { +"consumerPeeringZone": { +"$ref": "DnsZone", +"description": "The DNS peering zone created in the consumer project." +}, +"producerPrivateZone": { +"$ref": "DnsZone", +"description": "The private DNS zone created in the shared producer host project." +} +}, +"type": "object" +}, +"GoSettings": { +"description": "Settings for Go client libraries.", +"id": "GoSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": { +"description": "Allocated IP address ranges for this private service access connection.", +"id": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange", +"properties": { +"address": { +"description": "The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.", +"type": "string" +}, +"ipPrefixLength": { +"description": "The prefix length of the reserved range.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the reserved range.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1betaConnection": { +"description": "Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.", +"id": "GoogleCloudServicenetworkingV1betaConnection", +"properties": { +"network": { +"description": "The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project}/global/networks/{network}`. `{project}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network}` is the name of the service consumer's VPC network.", +"type": "string" +}, +"peering": { +"description": "Output only. The name of the VPC Network Peering connection that was created by the service producer.", +"type": "string" +}, +"reservedPeeringRanges": { +"description": "The name of one or more allocated IP address ranges for this service producer of type `PEERING`. Note that invoking this method with a different range when connection is already established will not modify already provisioned service producer subnetworks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"service": { +"description": "Output only. The name of the peering service that's associated with this connection, in the following format: `services/{service name}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1betaSubnetwork": { +"description": "Represents a subnet that was created or discovered by a private access management service.", +"id": "GoogleCloudServicenetworkingV1betaSubnetwork", +"properties": { +"ipCidrRange": { +"description": "Subnetwork CIDR range in `10.x.x.x/y` format.", +"type": "string" +}, +"name": { +"description": "Subnetwork name. See https://cloud.google.com/compute/docs/vpc/", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +}, +"outsideAllocation": { +"description": "This is a discovered subnet that is not within the current consumer allocated ranges.", +"type": "boolean" +} +}, +"type": "object" +}, +"Http": { +"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", +"id": "Http", +"properties": { +"fullyDecodeReservedExpansion": { +"description": "When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where \"%2F\" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.", +"type": "boolean" +}, +"rules": { +"description": "A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRule": { +"description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. The following example selects a gRPC method and applies an `HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", +"id": "HttpRule", +"properties": { +"additionalBindings": { +"description": "Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +}, +"body": { +"description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", +"type": "string" +}, +"custom": { +"$ref": "CustomHttpPattern", +"description": "The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients." +}, +"delete": { +"description": "Maps to HTTP DELETE. Used for deleting a resource.", +"type": "string" +}, +"get": { +"description": "Maps to HTTP GET. Used for listing and getting information about resources.", +"type": "string" +}, +"patch": { +"description": "Maps to HTTP PATCH. Used for updating a resource.", +"type": "string" +}, +"post": { +"description": "Maps to HTTP POST. Used for creating a resource or performing an action.", +"type": "string" +}, +"put": { +"description": "Maps to HTTP PUT. Used for replacing a resource.", +"type": "string" +}, +"responseBody": { +"description": "Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.", +"type": "string" +}, +"selector": { +"description": "Selects a method to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"JavaSettings": { +"description": "Settings for Java client libraries.", +"id": "JavaSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: library_settings: java_settings: library_package: com.google.cloud.pubsub.v1", +"type": "string" +}, +"serviceClassNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", +"type": "object" +} +}, +"type": "object" +}, +"JwtLocation": { +"description": "Specifies a location to extract JWT from an API request.", +"id": "JwtLocation", +"properties": { +"cookie": { +"description": "Specifies cookie name to extract JWT token.", +"type": "string" +}, +"header": { +"description": "Specifies HTTP header name to extract JWT token.", +"type": "string" +}, +"query": { +"description": "Specifies URL query parameter name to extract JWT token.", +"type": "string" +}, +"valuePrefix": { +"description": "The value prefix. The value format is \"value_prefix{token}\" Only applies to \"in\" header type. Must be empty for \"in\" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for \"Authorization: Bearer {JWT}\", value_prefix=\"Bearer \" with a space at the end.", +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionsResponse": { +"description": "ListConnectionsResponse is the response to list peering states for the given service and consumer project.", +"id": "ListConnectionsResponse", +"properties": { +"connections": { +"description": "The list of Connections.", +"items": { +"$ref": "Connection" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDnsRecordSetsResponse": { +"description": "Represents all DNS RecordSets associated with the producer network", +"id": "ListDnsRecordSetsResponse", +"properties": { +"dnsRecordSets": { +"description": "DNS record Set Resource", +"items": { +"$ref": "DnsRecordSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListDnsZonesResponse": { +"description": "Represents all DNS zones in the shared producer host project and the matching peering zones in the consumer project.", +"id": "ListDnsZonesResponse", +"properties": { +"dnsZonePairs": { +"description": "All pairs of private DNS zones in the shared producer host project and the matching peering zones in the consumer project..", +"items": { +"$ref": "DnsZonePair" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPeeredDnsDomainsResponse": { +"description": "Response to list peered DNS domains for a given connection.", +"id": "ListPeeredDnsDomainsResponse", +"properties": { +"peeredDnsDomains": { +"description": "The list of peered DNS domains.", +"items": { +"$ref": "PeeredDnsDomain" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogDescriptor": { +"description": "A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer", +"id": "LogDescriptor", +"properties": { +"description": { +"description": "A human-readable description of this log. This information appears in the documentation and can contain details.", +"type": "string" +}, +"displayName": { +"description": "The human-readable name for this log. This information appears on the user interface and should be concise.", +"type": "string" +}, +"labels": { +"description": "The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"name": { +"description": "The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].", +"type": "string" +} +}, +"type": "object" +}, +"Logging": { +"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history", +"id": "Logging", +"properties": { +"consumerDestinations": { +"description": "Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingDestination": { +"description": "Configuration of a specific logging destination (the producer project or the consumer project).", +"id": "LoggingDestination", +"properties": { +"logs": { +"description": "Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by \"/\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in the Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"LongRunning": { +"description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", +"id": "LongRunning", +"properties": { +"initialPollDelay": { +"description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", +"format": "google-duration", +"type": "string" +}, +"maxPollDelay": { +"description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", +"format": "google-duration", +"type": "string" +}, +"pollDelayMultiplier": { +"description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", +"format": "float", +"type": "number" +}, +"totalPollTimeout": { +"description": "Total polling timeout. Default value: 5 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Method": { +"description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Method", +"properties": { +"edition": { +"deprecated": true, +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.", +"type": "string" +}, +"name": { +"description": "The simple name of this method.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the method.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"requestStreaming": { +"description": "If true, the request is streamed.", +"type": "boolean" +}, +"requestTypeUrl": { +"description": "A URL of the input message type.", +"type": "string" +}, +"responseStreaming": { +"description": "If true, the response is streamed.", +"type": "boolean" +}, +"responseTypeUrl": { +"description": "The URL of the output message type.", +"type": "string" +}, +"syntax": { +"deprecated": true, +"description": "The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"MethodPolicy": { +"description": "Defines policies applying to an RPC method.", +"id": "MethodPolicy", +"properties": { +"requestPolicies": { +"description": "Policies that are applicable to the request message.", +"items": { +"$ref": "FieldPolicy" +}, +"type": "array" +}, +"selector": { +"description": "Selects a method to which these policies should be enforced, for example, \"google.pubsub.v1.Subscriber.CreateSubscription\". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .", +"type": "string" +} +}, +"type": "object" +}, +"MethodSettings": { +"description": "Describes the generator configuration for a method.", +"id": "MethodSettings", +"properties": { +"autoPopulatedFields": { +"description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", +"items": { +"type": "string" +}, +"type": "array" +}, +"batching": { +"$ref": "BatchingConfigProto", +"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10" +}, +"longRunning": { +"$ref": "LongRunning", +"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes" +}, +"selector": { +"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...", +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean \"5300 page views per day\"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricRule": { +"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.", +"id": "MetricRule", +"properties": { +"metricCosts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.", +"type": "object" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Mixin": { +"description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", +"id": "Mixin", +"properties": { +"name": { +"description": "The fully qualified name of the interface which is included.", +"type": "string" +}, +"root": { +"description": "If non-empty specifies a path under which inherited HTTP paths are rooted.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. ", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `\"Google Cloud SQL Database\"`.", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`.", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"Monitoring": { +"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue", +"id": "Monitoring", +"properties": { +"consumerDestinations": { +"description": "Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringDestination": { +"description": "Configuration of a specific monitoring destination (the producer project or the consumer project).", +"id": "MonitoringDestination", +"properties": { +"metrics": { +"description": "Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"NodeSettings": { +"description": "Settings for Node client libraries.", +"id": "NodeSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"OAuthRequirements": { +"description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", +"id": "OAuthRequirements", +"properties": { +"canonicalScopes": { +"description": "The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `\"map_entry\"`. For custom options, it should be the fully-qualified name. For example, `\"google.api.http\"`.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Page": { +"description": "Represents a documentation page. A page can contain subpages to represent nested documentation set structure.", +"id": "Page", +"properties": { +"content": { +"description": "The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.", +"type": "string" +}, +"name": { +"description": "The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.", +"type": "string" +}, +"subpages": { +"description": "Subpages of this page. The order of subpages specified here will be honored in the generated docset.", +"items": { +"$ref": "Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"PartialDeleteConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Partial Delete Connection API", +"id": "PartialDeleteConnectionMetadata", +"properties": {}, +"type": "object" +}, +"PeeredDnsDomain": { +"description": "DNS domain suffix for which requests originating in the producer VPC network are resolved in the associated consumer VPC network.", +"id": "PeeredDnsDomain", +"properties": { +"dnsSuffix": { +"description": "The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"name": { +"description": "Required. User assigned name for this resource. Must be unique within the consumer network. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +} +}, +"type": "object" +}, +"PeeredDnsDomainMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by CreatePeeredDnsDomain API.", +"id": "PeeredDnsDomainMetadata", +"properties": {}, +"type": "object" +}, +"PhpSettings": { +"description": "Settings for Php client libraries.", +"id": "PhpSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name\" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\\Cloud\\PubSub\\V1", +"type": "string" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Grouping of IAM role and IAM member.", +"id": "PolicyBinding", +"properties": { +"member": { +"description": "Required. Member to bind the role with. See /iam/docs/reference/rest/v1/Policy#Binding for how to format each member. Eg. - user:myuser@mydomain.com - serviceAccount:my-service-account@app.gserviceaccount.com", +"type": "string" +}, +"role": { +"description": "Required. Role to apply. Only allowlisted roles can be used at the specified granularity. The role must be one of the following: - 'roles/container.hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.securityAdmin' applied on the shared VPC host project - 'roles/compute.networkAdmin' applied on the shared VPC host project - 'roles/tpu.xpnAgent' applied on the shared VPC host project - 'roles/dns.admin' applied on the shared VPC host project - 'roles/logging.admin' applied on the shared VPC host project - 'roles/monitoring.viewer' applied on the shared VPC host project - 'roles/servicemanagement.quotaViewer' applied on the shared VPC host project", +"type": "string" +} +}, +"type": "object" +}, +"Publishing": { +"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", +"id": "Publishing", +"properties": { +"apiShortName": { +"description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", +"type": "string" +}, +"codeownerGithubTeams": { +"description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"docTagPrefix": { +"description": "A prefix used in sample code when demarking regions to be included in documentation.", +"type": "string" +}, +"documentationUri": { +"description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", +"type": "string" +}, +"githubLabel": { +"description": "GitHub label to apply to issues and pull requests opened for this API.", +"type": "string" +}, +"librarySettings": { +"description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", +"items": { +"$ref": "ClientLibrarySettings" +}, +"type": "array" +}, +"methodSettings": { +"description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", +"items": { +"$ref": "MethodSettings" +}, +"type": "array" +}, +"newIssueUri": { +"description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", +"type": "string" +}, +"organization": { +"description": "For whom the client library is being published.", +"enum": [ +"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", +"CLOUD", +"ADS", +"PHOTOS", +"STREET_VIEW", +"SHOPPING", +"GEO", +"GENERATIVE_AI" +], +"enumDescriptions": [ +"Not useful.", +"Google Cloud Platform Org.", +"Ads (Advertising) Org.", +"Photos Org.", +"Street View Org.", +"Shopping Org.", +"Geo Org.", +"Generative AI - https://developers.generativeai.google" +], +"type": "string" +}, +"protoReferenceDocumentationUri": { +"description": "Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc", +"type": "string" +}, +"restReferenceDocumentationUri": { +"description": "Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest", +"type": "string" +} +}, +"type": "object" +}, +"PythonSettings": { +"description": "Settings for Python client libraries.", +"id": "PythonSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"experimentalFeatures": { +"$ref": "ExperimentalFeatures", +"description": "Experimental features to be included during client library generation." +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", +"id": "Quota", +"properties": { +"limits": { +"description": "List of QuotaLimit definitions for the service.", +"items": { +"$ref": "QuotaLimit" +}, +"type": "array" +}, +"metricRules": { +"description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", +"items": { +"$ref": "MetricRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaLimit": { +"description": "`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.", +"id": "QuotaLimit", +"properties": { +"defaultLimit": { +"description": "Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).", +"type": "string" +}, +"displayName": { +"description": "User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.", +"type": "string" +}, +"duration": { +"description": "Duration of this limit in textual notation. Must be \"100s\" or \"1d\". Used by group-based quotas only.", +"type": "string" +}, +"freeTier": { +"description": "Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration \"1d\", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"maxLimit": { +"description": "Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.", +"type": "string" +}, +"name": { +"description": "Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.", +"type": "string" +}, +"unit": { +"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.", +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.", +"type": "object" +} +}, +"type": "object" +}, +"Range": { +"description": "Represents a found unused range.", +"id": "Range", +"properties": { +"ipCidrRange": { +"description": "CIDR range in \"10.x.x.x/y\" format that is within the allocated ranges and currently unused.", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +} +}, +"type": "object" +}, +"RangeReservation": { +"description": "Represents a range reservation.", +"id": "RangeReservation", +"properties": { +"ipPrefixLength": { +"description": "Required. The size of the desired subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size. GCE disallows subnets with prefix_length > 29", +"format": "int32", +"type": "integer" +}, +"requestedRanges": { +"description": "Optional. The name of one or more allocated IP address ranges associated with this private service access connection. If no range names are provided all ranges associated with this connection will be considered. If a CIDR range with the specified IP prefix length is not available within these ranges the validation fails.", +"items": { +"type": "string" +}, +"type": "array" +}, +"secondaryRangeIpPrefixLengths": { +"description": "Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges. GCE disallows subnets with prefix_length > 29", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +}, +"subnetworkCandidates": { +"description": "Optional. List of subnetwork candidates to validate. The required input fields are `name`, `network`, and `region`. Subnetworks from this list which exist will be returned in the response with the `ip_cidr_range`, `secondary_ip_cider_ranges`, and `outside_allocation` fields set.", +"items": { +"$ref": "Subnetwork" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoveDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by RemoveDnsRecordSet API", +"id": "RemoveDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"RemoveDnsRecordSetRequest": { +"description": "Request to remove a record set from a private managed DNS zone in the shared producer host project. The name, type, ttl, and data values must all exactly match an existing record set in the specified zone.", +"id": "RemoveDnsRecordSetRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"type": "string" +}, +"dnsRecordSet": { +"$ref": "DnsRecordSet", +"description": "Required. The DNS record set to remove." +}, +"zone": { +"description": "Required. The name of the private DNS zone in the shared producer host project from which the record set will be removed.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveDnsRecordSetResponse": { +"description": "Blank message response type for RemoveDnsRecordSet API", +"id": "RemoveDnsRecordSetResponse", +"properties": {}, +"type": "object" +}, +"RemoveDnsZoneMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by RemoveDnsZone API", +"id": "RemoveDnsZoneMetadata", +"properties": {}, +"type": "object" +}, +"RemoveDnsZoneRequest": { +"description": "Request to remove a private managed DNS zone in the shared producer host project and a matching DNS peering zone in the consumer project.", +"id": "RemoveDnsZoneRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"type": "string" +}, +"name": { +"description": "Required. The name for both the private zone in the shared producer host project and the peering zone in the consumer project.", +"type": "string" +} +}, +"type": "object" +}, +"RemoveDnsZoneResponse": { +"description": "Blank message response type for RemoveDnsZone API", +"id": "RemoveDnsZoneResponse", +"properties": {}, +"type": "object" +}, +"Route": { +"description": "Represents a route that was created or discovered by a private access management service.", +"id": "Route", +"properties": { +"destRange": { +"description": "Destination CIDR range that this route applies to.", +"type": "string" +}, +"name": { +"description": "Route name. See https://cloud.google.com/vpc/docs/routes", +"type": "string" +}, +"network": { +"description": "Fully-qualified URL of the VPC network in the producer host tenant project that this route applies to. For example: `projects/123456/global/networks/host-network`", +"type": "string" +}, +"nextHopGateway": { +"description": "Fully-qualified URL of the gateway that should handle matching packets that this route applies to. For example: `projects/123456/global/gateways/default-internet-gateway`", +"type": "string" +} +}, +"type": "object" +}, +"RubySettings": { +"description": "Settings for Ruby client libraries.", +"id": "RubySettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"SearchRangeRequest": { +"description": "Request to search for an unused range within allocated ranges.", +"id": "SearchRangeRequest", +"properties": { +"ipPrefixLength": { +"description": "Required. The prefix length of the IP range. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. Actual range will be determined using allocated range for the consumer peered network and returned in the result.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Required. Network name in the consumer project. This network must have been already peered with a shared VPC network using CreateConnection method. Must be in a form 'projects/{project}/global/networks/{network}'. {project} is a project number, as in '12345' {network} is network name.", +"type": "string" +} +}, +"type": "object" +}, +"SecondaryIpRange": { +"id": "SecondaryIpRange", +"properties": { +"ipCidrRange": { +"description": "Secondary IP CIDR range in `x.x.x.x/y` format.", +"type": "string" +}, +"rangeName": { +"description": "Name of the secondary IP range.", +"type": "string" +} +}, +"type": "object" +}, +"SecondaryIpRangeSpec": { +"id": "SecondaryIpRangeSpec", +"properties": { +"ipPrefixLength": { +"description": "Required. The prefix length of the secondary IP range. Use CIDR range notation, such as `30` to provision a secondary IP range with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.", +"format": "int32", +"type": "integer" +}, +"outsideAllocationPublicIpRange": { +"description": "Optional. Enable outside allocation using public IP addresses. Any public IP range may be specified. If this field is provided, we will not use customer reserved ranges for this secondary IP range.", +"type": "string" +}, +"rangeName": { +"description": "Required. A name for the secondary IP range. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.", +"type": "string" +}, +"requestedAddress": { +"description": "Optional. The starting address of a range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix range is the CIDR range for the secondary IP range. The range must be within the allocated range that is assigned to the private connection. If the CIDR range isn't available, the call fails.", +"type": "string" +} +}, +"type": "object" +}, +"SelectiveGapicGeneration": { +"description": "This message is used to configure the generation of a subset of the RPCs in a service for client libraries.", +"id": "SelectiveGapicGeneration", +"properties": { +"generateOmittedAsInternal": { +"description": "Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.", +"type": "boolean" +}, +"methods": { +"description": "An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Service": { +"description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", +"id": "Service", +"properties": { +"apis": { +"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.", +"items": { +"$ref": "Api" +}, +"type": "array" +}, +"aspects": { +"description": "Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.", +"items": { +"$ref": "Aspect" +}, +"type": "array" +}, +"authentication": { +"$ref": "Authentication", +"description": "Auth configuration." +}, +"backend": { +"$ref": "Backend", +"description": "API backend configuration." +}, +"billing": { +"$ref": "Billing", +"description": "Billing configuration." +}, +"configVersion": { +"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.", +"format": "uint32", +"type": "integer" +}, +"context": { +"$ref": "Context", +"description": "Context configuration." +}, +"control": { +"$ref": "Control", +"description": "Configuration for the service control plane." +}, +"customError": { +"$ref": "CustomError", +"description": "Custom error configuration." +}, +"documentation": { +"$ref": "Documentation", +"description": "Additional API documentation." +}, +"endpoints": { +"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. WARNING: Defining any entries in the `endpoints` list disables the automatic generation of default endpoint variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in this list alongside any other custom endpoints (like REP, GFE, etc.).", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"enums": { +"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum", +"items": { +"$ref": "Enum" +}, +"type": "array" +}, +"http": { +"$ref": "Http", +"description": "HTTP configuration." +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.", +"type": "string" +}, +"logging": { +"$ref": "Logging", +"description": "Logging configuration." +}, +"logs": { +"description": "Defines the logs used by this service.", +"items": { +"$ref": "LogDescriptor" +}, +"type": "array" +}, +"metrics": { +"description": "Defines the metrics used by this service.", +"items": { +"$ref": "MetricDescriptor" +}, +"type": "array" +}, +"monitoredResources": { +"description": "Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +}, +"monitoring": { +"$ref": "Monitoring", +"description": "Monitoring configuration." +}, +"name": { +"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.", +"type": "string" +}, +"producerProjectId": { +"description": "The Google project that owns this service.", +"type": "string" +}, +"publishing": { +"$ref": "Publishing", +"description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." +}, +"quota": { +"$ref": "Quota", +"description": "Quota configuration." +}, +"sourceInfo": { +"$ref": "SourceInfo", +"description": "Output only. The source information for this configuration if available." +}, +"systemParameters": { +"$ref": "SystemParameters", +"description": "System parameter configuration." +}, +"systemTypes": { +"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"title": { +"description": "The product title for this service, it is the name displayed in Google Cloud Console.", +"type": "string" +}, +"types": { +"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"usage": { +"$ref": "Usage", +"description": "Configuration controlling usage of this service." +} +}, +"type": "object" +}, +"SourceContext": { +"description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source_context.proto\"`.", +"type": "string" +} +}, +"type": "object" +}, +"SourceInfo": { +"description": "Source information used to create a Service Config", +"id": "SourceInfo", +"properties": { +"sourceFiles": { +"description": "All files used during config generation.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subnetwork": { +"description": "Represents a subnet that was created or discovered by a private access management service.", +"id": "Subnetwork", +"properties": { +"ipCidrRange": { +"description": "Subnetwork CIDR range in `10.x.x.x/y` format.", +"type": "string" +}, +"name": { +"description": "Subnetwork name. See https://cloud.google.com/compute/docs/vpc/", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +}, +"outsideAllocation": { +"description": "This is a discovered subnet that is not within the current consumer allocated ranges.", +"type": "boolean" +}, +"region": { +"description": "GCP region where the subnetwork is located.", +"type": "string" +}, +"secondaryIpRanges": { +"description": "List of secondary IP ranges in this subnetwork.", +"items": { +"$ref": "SecondaryIpRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"SystemParameter": { +"description": "Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.", +"id": "SystemParameter", +"properties": { +"httpHeader": { +"description": "Define the HTTP header name to use for the parameter. It is case insensitive.", +"type": "string" +}, +"name": { +"description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", +"type": "string" +}, +"urlQueryParameter": { +"description": "Define the URL query parameter name to use for the parameter. It is case sensitive.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameterRule": { +"description": "Define a system parameter rule mapping system parameter definitions to methods.", +"id": "SystemParameterRule", +"properties": { +"parameters": { +"description": "Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.", +"items": { +"$ref": "SystemParameter" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameters": { +"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.", +"id": "SystemParameters", +"properties": { +"rules": { +"description": "Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: \"*\" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: \"/ListShelves\" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "SystemParameterRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type. New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in `oneof` definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"UpdateConsumerConfigRequest": { +"description": "Request to update the configuration of a service networking connection including the import/export of custom routes and subnetwork routes with public IP.", +"id": "UpdateConsumerConfigRequest", +"properties": { +"consumerConfig": { +"$ref": "ConsumerConfig", +"description": "Required. The updated peering config." +} +}, +"type": "object" +}, +"UpdateDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by UpdateDnsRecordSet API", +"id": "UpdateDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"UpdateDnsRecordSetRequest": { +"description": "Request to update a record set from a private managed DNS zone in the shared producer host project. The name, type, ttl, and data values of the existing record set must all exactly match an existing record set in the specified zone.", +"id": "UpdateDnsRecordSetRequest", +"properties": { +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.", +"type": "string" +}, +"existingDnsRecordSet": { +"$ref": "DnsRecordSet", +"description": "Required. The existing DNS record set to update." +}, +"newDnsRecordSet": { +"$ref": "DnsRecordSet", +"description": "Required. The new values that the DNS record set should be updated to hold." +}, +"zone": { +"description": "Required. The name of the private DNS zone in the shared producer host project from which the record set will be removed.", +"type": "string" +} +}, +"type": "object" +}, +"Usage": { +"description": "Configuration controlling usage of a service.", +"id": "Usage", +"properties": { +"producerNotificationChannel": { +"description": "The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.", +"type": "string" +}, +"requirements": { +"description": "Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\". Other Google APIs should include \"serviceusage.googleapis.com/tos/universal\". Additional ToS can be included based on the business needs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "UsageRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageRule": { +"description": "Usage configuration rules for the service.", +"id": "UsageRule", +"properties": { +"allowUnregisteredCalls": { +"description": " Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.", +"type": "boolean" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +}, +"skipServiceControl": { +"description": "If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.", +"type": "boolean" +} +}, +"type": "object" +}, +"ValidateConsumerConfigRequest": { +"id": "ValidateConsumerConfigRequest", +"properties": { +"checkServiceNetworkingUsePermission": { +"description": "Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.", +"type": "boolean" +}, +"consumerNetwork": { +"description": "Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is network name.", +"type": "string" +}, +"consumerProject": { +"$ref": "ConsumerProject", +"description": "NETWORK_NOT_IN_CONSUMERS_PROJECT, NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT, and HOST_PROJECT_NOT_FOUND are done when consumer_project is provided." +}, +"rangeReservation": { +"$ref": "RangeReservation", +"description": "RANGES_EXHAUSTED, RANGES_NOT_RESERVED, and RANGES_DELETED_LATER are done when range_reservation is provided." +}, +"validateNetwork": { +"description": "The validations will be performed in the order listed in the ValidationError enum. The first failure will return. If a validation is not requested, then the next one will be performed. SERVICE_NETWORKING_NOT_ENABLED and NETWORK_NOT_PEERED checks are performed for all requests where validation is requested. NETWORK_NOT_FOUND and NETWORK_DISCONNECTED checks are done for requests that have validate_network set to true.", +"type": "boolean" +} +}, +"type": "object" +}, +"ValidateConsumerConfigResponse": { +"id": "ValidateConsumerConfigResponse", +"properties": { +"existingSubnetworkCandidates": { +"description": "List of subnetwork candidates from the request which exist with the `ip_cidr_range`, `secondary_ip_cider_ranges`, and `outside_allocation` fields set.", +"items": { +"$ref": "Subnetwork" +}, +"type": "array" +}, +"isValid": { +"description": "Indicates whether all the requested validations passed.", +"type": "boolean" +}, +"validationError": { +"description": "The first validation which failed.", +"enum": [ +"VALIDATION_ERROR_UNSPECIFIED", +"VALIDATION_NOT_REQUESTED", +"SERVICE_NETWORKING_NOT_ENABLED", +"NETWORK_NOT_FOUND", +"NETWORK_NOT_PEERED", +"NETWORK_PEERING_DELETED", +"NETWORK_NOT_IN_CONSUMERS_PROJECT", +"NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT", +"HOST_PROJECT_NOT_FOUND", +"CONSUMER_PROJECT_NOT_SERVICE_PROJECT", +"RANGES_EXHAUSTED", +"RANGES_NOT_RESERVED", +"RANGES_DELETED_LATER", +"COMPUTE_API_NOT_ENABLED", +"USE_PERMISSION_NOT_FOUND", +"SN_SERVICE_AGENT_PERMISSION_DENIED_ON_CONSUMER_PROJECT" +], +"enumDescriptions": [ +"", +"In case none of the validations are requested.", +"", +"The network provided by the consumer does not exist.", +"The network has not been peered with the producer org.", +"The peering was created and later deleted.", +"The network is a regular VPC but the network is not in the consumer's project.", +"The consumer project is a service project, and network is a shared VPC, but the network is not in the host project of this consumer project.", +"The host project associated with the consumer project was not found.", +"The consumer project is not a service project for the specified host project.", +"The reserved IP ranges do not have enough space to create a subnet of desired size.", +"The IP ranges were not reserved.", +"The IP ranges were reserved but deleted later.", +"The consumer project does not have the compute api enabled.", +"The consumer project does not have the permission from the host project.", +"The SN service agent {service-@service-networking.iam.gserviceaccount.com} does not have the SN service agent role on the consumer project." +], +"type": "string" +} +}, +"type": "object" +}, +"VpcServiceControls": { +"description": "Response for the get VPC Service Controls request.", +"id": "VpcServiceControls", +"properties": { +"enabled": { +"description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Networking API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..76af2768f405ad3aff5a2c166214367046afe7b1 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json @@ -0,0 +1,3183 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/service.management": { +"description": "Manage your Google API service configuration" +} +} +} +}, +"basePath": "", +"baseUrl": "https://servicenetworking.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Service Networking", +"description": "Provides automatic management of network configurations necessary for certain services.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", +"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": "servicenetworking:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://servicenetworking.mtls.googleapis.com/", +"name": "servicenetworking", +"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": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1beta/operations/{operationsId}", +"httpMethod": "GET", +"id": "servicenetworking.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +}, +"services": { +"methods": { +"addSubnetwork": { +"description": "For service producers, provisions a new subnet in a peered service's shared VPC network in the requested region and with the requested size that's expressed as a CIDR range (number of leading bits of ipV4 network mask). The method checks against the assigned allocated ranges to find a non-conflicting IP address range. The method will reuse a subnet if subsequent calls contain the same subnet name, region, and prefix length. This method will make producer's tenant project to be a shared VPC service project as needed. The response from the `get` operation will be of type `Subnetwork` if the operation successfully completes.", +"flatPath": "v1beta/services/{servicesId}/{servicesId1}/{servicesId2}:addSubnetwork", +"httpMethod": "POST", +"id": "servicenetworking.services.addSubnetwork", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. A tenant project in the service producer organization, in the following format: services/{service}/{collection-id}/{resource-id}. {collection-id} is the cloud resource collection type that represents the tenant project. Only `projects` are supported. {resource-id} is the tenant project numeric id, such as `123456`. {service} the name of the peering service, such as `service-peering.example.com`. This service must already be enabled in the service consumer's project.", +"location": "path", +"pattern": "^services/[^/]+/[^/]+/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}:addSubnetwork", +"request": { +"$ref": "AddSubnetworkRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"searchRange": { +"description": "Service producers can use this method to find a currently unused range within consumer allocated ranges. This returned range is not reserved, and not guaranteed to remain unused. It will validate previously provided allocated ranges, find non-conflicting sub-range of requested size (expressed in number of leading bits of ipv4 network mask, as in CIDR range notation). Operation", +"flatPath": "v1beta/services/{servicesId}:searchRange", +"httpMethod": "POST", +"id": "servicenetworking.services.searchRange", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. This is in a form services/{service}. {service} the name of the private access management service, for example 'service-peering.example.com'.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}:searchRange", +"request": { +"$ref": "SearchRangeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"updateConnections": { +"description": "Updates the allocated ranges that are assigned to a connection. The response from the `get` operation will be of type `Connection` if the operation successfully completes.", +"flatPath": "v1beta/services/{servicesId}/connections", +"httpMethod": "PATCH", +"id": "servicenetworking.services.updateConnections", +"parameterOrder": [ +"name" +], +"parameters": { +"force": { +"description": "If a previously defined allocated range is removed, force flag must be set to true.", +"location": "query", +"type": "boolean" +}, +"name": { +"description": "The service producer peering service that is managing peering connectivity for a service producer organization. For Google services that support this functionality, this is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The update mask. If this is omitted, it defaults to \"*\". You can only update the listed peering ranges.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}/connections", +"request": { +"$ref": "GoogleCloudServicenetworkingV1betaConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +}, +"resources": { +"connections": { +"methods": { +"create": { +"description": "Creates a private connection that establishes a VPC Network Peering connection to a VPC network in the service producer's organization. The administrator of the service consumer's VPC network invokes this method. The administrator must assign one or more allocated IP ranges for provisioning subnetworks in the service producer's VPC network. This connection is used for all supported services in the service producer's organization, so it only needs to be invoked once. The response from the `get` operation will be of type `Connection` if the operation successfully completes.", +"flatPath": "v1beta/services/{servicesId}/connections", +"httpMethod": "POST", +"id": "servicenetworking.services.connections.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/connections", +"request": { +"$ref": "GoogleCloudServicenetworkingV1betaConnection" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +}, +"list": { +"description": "List the private connections that are configured in a service consumer's VPC network.", +"flatPath": "v1beta/services/{servicesId}/connections", +"httpMethod": "GET", +"id": "servicenetworking.services.connections.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"network": { +"description": "The name of service consumer's VPC network that's connected with service producer network through a private connection. The network name must be in the following format: `projects/{project}/global/networks/{network}`. {project} is a project number, such as in `12345` that includes the VPC service consumer's VPC network. {network} is the name of the service consumer's VPC network.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. If you specify `-` as the parameter value, all configured public peering services are listed.", +"location": "path", +"pattern": "^services/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/connections", +"response": { +"$ref": "ListConnectionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/service.management" +] +} +} +} +} +} +}, +"revision": "20260223", +"rootUrl": "https://servicenetworking.googleapis.com/", +"schemas": { +"AddDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddDnsRecordSet API", +"id": "AddDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"AddDnsZoneMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddDnsZone API", +"id": "AddDnsZoneMetadata", +"properties": {}, +"type": "object" +}, +"AddDnsZoneResponse": { +"description": "Represents managed DNS zones created in the shared producer host and consumer projects.", +"id": "AddDnsZoneResponse", +"properties": { +"consumerPeeringZone": { +"$ref": "DnsZone", +"description": "The DNS peering zone created in the consumer project." +}, +"producerPrivateZone": { +"$ref": "DnsZone", +"description": "The private DNS zone created in the shared producer host project." +} +}, +"type": "object" +}, +"AddRolesMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by AddRoles API", +"id": "AddRolesMetadata", +"properties": {}, +"type": "object" +}, +"AddRolesResponse": { +"description": "Represents IAM roles added to the shared VPC host project.", +"id": "AddRolesResponse", +"properties": { +"policyBinding": { +"description": "Required. List of policy bindings that were added to the shared VPC host project.", +"items": { +"$ref": "PolicyBinding" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddSubnetworkRequest": { +"description": "Request to create a subnetwork in a previously peered service network.", +"id": "AddSubnetworkRequest", +"properties": { +"consumer": { +"description": "Required. A resource that represents the service consumer, such as `projects/123456`. The project number can be different from the value in the consumer network parameter. For example, the network might be part of a Shared VPC network. In those cases, Service Networking validates that this resource belongs to that Shared VPC.", +"type": "string" +}, +"consumerNetwork": { +"description": "Required. The name of the service consumer's VPC network. The network must have an existing private connection that was provisioned through the connections.create method. The name must be in the following format: `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`. {network} is the name of a VPC network in the project.", +"type": "string" +}, +"description": { +"description": "An optional description of the subnet.", +"type": "string" +}, +"ipPrefixLength": { +"description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range.", +"format": "int32", +"type": "integer" +}, +"region": { +"description": "Required. The name of a [region](/compute/docs/regions-zones) for the subnet, such `europe-west1`.", +"type": "string" +}, +"requestedAddress": { +"description": "Optional. The starting address of a range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix range is the CIDR range for the subnet. The range must be within the allocated range that is assigned to the private connection. If the CIDR range isn't available, the call fails.", +"type": "string" +}, +"subnetwork": { +"description": "Required. A name for the new subnet. For information about the naming requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.", +"type": "string" +}, +"subnetworkUsers": { +"description": "A list of members that are granted the `compute.networkUser` role on the subnet.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Api": { +"description": "Api is a light-weight descriptor for an API Interface. Interfaces are also described as \"protocol buffer services\" in some contexts, such as by the \"service\" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as \"APIs\" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. New usages of this message as an alternative to ServiceDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Api", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"methods": { +"description": "The methods of this interface, in unspecified order.", +"items": { +"$ref": "Method" +}, +"type": "array" +}, +"mixins": { +"description": "Included interfaces. See Mixin.", +"items": { +"$ref": "Mixin" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified name of this interface, including package name followed by the interface's simple name.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the interface.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "Source context for the protocol buffer service represented by this message." +}, +"syntax": { +"description": "The source syntax of the service.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +}, +"version": { +"description": "A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. ", +"type": "string" +} +}, +"type": "object" +}, +"Aspect": { +"description": "Aspect represents Generic aspect. It is used to configure an aspect without making direct changes to service.proto", +"id": "Aspect", +"properties": { +"kind": { +"description": "The type of this aspect configuration.", +"type": "string" +}, +"rules": { +"description": "Optional. Rules of the Configuration.", +"items": { +"$ref": "AspectRule" +}, +"type": "array" +}, +"spec": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Content of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +} +}, +"type": "object" +}, +"AspectRule": { +"description": "Rule-based configuration for an aspect.", +"id": "AspectRule", +"properties": { +"config": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Required. Rules of the configuration. The underlying schema should be defined by Aspect owners as protobuf message under `google/api/configaspects/proto`.", +"type": "object" +}, +"selector": { +"description": "Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"AuthProvider": { +"description": "Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthProvider", +"properties": { +"audiences": { +"description": "The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - \"https://[service.name]/[google.protobuf.Api.name]\" - \"https://[service.name]/\" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"authorizationUrl": { +"description": "Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.", +"type": "string" +}, +"id": { +"description": "The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: \"bookstore_auth\".", +"type": "string" +}, +"issuer": { +"description": "Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com", +"type": "string" +}, +"jwksUri": { +"description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs", +"type": "string" +}, +"jwtLocations": { +"description": "Defines the locations to extract the JWT. For now it is only used by the Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) JWT locations can be one of HTTP headers, URL query parameters or cookies. The rule is that the first match wins. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: \"Bearer \" - header: x-goog-iap-jwt-assertion - query: access_token", +"items": { +"$ref": "JwtLocation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthRequirement": { +"description": "User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).", +"id": "AuthRequirement", +"properties": { +"audiences": { +"description": "NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience \"https://Service_name/API_name\" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience \"https://library-example.googleapis.com/google.example.library.v1.LibraryService\". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com", +"type": "string" +}, +"providerId": { +"description": "id from authentication provider. Example: provider_id: bookstore_auth", +"type": "string" +} +}, +"type": "object" +}, +"Authentication": { +"description": "`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read", +"id": "Authentication", +"properties": { +"providers": { +"description": "Defines a set of authentication providers that a service supports.", +"items": { +"$ref": "AuthProvider" +}, +"type": "array" +}, +"rules": { +"description": "A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "AuthenticationRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"AuthenticationRule": { +"description": "Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.", +"id": "AuthenticationRule", +"properties": { +"allowWithoutCredential": { +"description": "If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.", +"type": "boolean" +}, +"oauth": { +"$ref": "OAuthRequirements", +"description": "The requirements for OAuth credentials." +}, +"requirements": { +"description": "Requirements for additional authentication providers.", +"items": { +"$ref": "AuthRequirement" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Backend": { +"description": "`Backend` defines the backend configuration for a service.", +"id": "Backend", +"properties": { +"rules": { +"description": "A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "BackendRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"BackendRule": { +"description": "A backend rule provides configuration for an individual API element.", +"id": "BackendRule", +"properties": { +"address": { +"description": "The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.", +"type": "string" +}, +"deadline": { +"description": "The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.", +"format": "double", +"type": "number" +}, +"disableAuth": { +"description": "When disable_auth is true, a JWT ID token won't be generated and the original \"Authorization\" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.", +"type": "boolean" +}, +"jwtAudience": { +"description": "The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP \"authorization\" header, and sent to the backend.", +"type": "string" +}, +"loadBalancingPolicy": { +"description": "The load balancing policy used for connection to the application backend. Defined as an arbitrary string to accomondate custom load balancing policies supported by the underlying channel, but suggest most users use one of the standard policies, such as the default, \"RoundRobin\".", +"type": "string" +}, +"minDeadline": { +"deprecated": true, +"description": "Deprecated, do not use.", +"format": "double", +"type": "number" +}, +"operationDeadline": { +"description": "The number of seconds to wait for the completion of a long running operation. The default is no deadline.", +"format": "double", +"type": "number" +}, +"overridesByRequestProtocol": { +"additionalProperties": { +"$ref": "BackendRule" +}, +"description": "The map between request protocol and the backend address.", +"type": "object" +}, +"pathTranslation": { +"description": "no-lint", +"enum": [ +"PATH_TRANSLATION_UNSPECIFIED", +"CONSTANT_ADDRESS", +"APPEND_PATH_TO_ADDRESS" +], +"enumDescriptions": [ +"", +"Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe", +"The request path will be appended to the backend address. # Examples Given the following operation config: Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com Requests to the following request paths will call the backend at the translated path: Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST" +], +"type": "string" +}, +"protocol": { +"description": "The protocol used for sending a request to the backend. The supported values are \"http/1.1\" and \"h2\". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to \"h2\" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.", +"type": "string" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingConfigProto": { +"description": "`BatchingConfigProto` defines the batching configuration for an API method.", +"id": "BatchingConfigProto", +"properties": { +"batchDescriptor": { +"$ref": "BatchingDescriptorProto", +"description": "The request and response fields used in batching." +}, +"thresholds": { +"$ref": "BatchingSettingsProto", +"description": "The thresholds which trigger a batched request to be sent." +} +}, +"type": "object" +}, +"BatchingDescriptorProto": { +"description": "`BatchingDescriptorProto` specifies the fields of the request message to be used for batching, and, optionally, the fields of the response message to be used for demultiplexing.", +"id": "BatchingDescriptorProto", +"properties": { +"batchedField": { +"description": "The repeated field in the request message to be aggregated by batching.", +"type": "string" +}, +"discriminatorFields": { +"description": "A list of the fields in the request message. Two requests will be batched together only if the values of every field specified in `request_discriminator_fields` is equal between the two requests.", +"items": { +"type": "string" +}, +"type": "array" +}, +"subresponseField": { +"description": "Optional. When present, indicates the field in the response message to be used to demultiplex the response into multiple response messages, in correspondence with the multiple request messages originally batched together.", +"type": "string" +} +}, +"type": "object" +}, +"BatchingSettingsProto": { +"description": "`BatchingSettingsProto` specifies a set of batching thresholds, each of which acts as a trigger to send a batch of messages as a request. At least one threshold must be positive nonzero.", +"id": "BatchingSettingsProto", +"properties": { +"delayThreshold": { +"description": "The duration after which a batch should be sent, starting from the addition of the first message to that batch.", +"format": "google-duration", +"type": "string" +}, +"elementCountLimit": { +"description": "The maximum number of elements collected in a batch that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"elementCountThreshold": { +"description": "The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.", +"format": "int32", +"type": "integer" +}, +"flowControlByteLimit": { +"description": "The maximum size of data allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlElementLimit": { +"description": "The maximum number of elements allowed by flow control.", +"format": "int32", +"type": "integer" +}, +"flowControlLimitExceededBehavior": { +"description": "The behavior to take when the flow control limit is exceeded.", +"enum": [ +"UNSET_BEHAVIOR", +"THROW_EXCEPTION", +"BLOCK", +"IGNORE" +], +"enumDescriptions": [ +"Default behavior, system-defined.", +"Stop operation, raise error.", +"Pause operation until limit clears.", +"Continue operation, disregard limit." +], +"type": "string" +}, +"requestByteLimit": { +"description": "The maximum size of the request that could be accepted by server.", +"format": "int32", +"type": "integer" +}, +"requestByteThreshold": { +"description": "The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Billing": { +"description": "Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: \"1\" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count", +"id": "Billing", +"properties": { +"consumerDestinations": { +"description": "Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.", +"items": { +"$ref": "BillingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"BillingDestination": { +"description": "Configuration of a specific billing destination (Currently only support bill against consumer project).", +"id": "BillingDestination", +"properties": { +"metrics": { +"description": "Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"CleanupConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Cleanup Connection API", +"id": "CleanupConnectionMetadata", +"properties": {}, +"type": "object" +}, +"ClientLibrarySettings": { +"description": "Details about how and where to publish client libraries.", +"id": "ClientLibrarySettings", +"properties": { +"cppSettings": { +"$ref": "CppSettings", +"description": "Settings for C++ client libraries." +}, +"dotnetSettings": { +"$ref": "DotnetSettings", +"description": "Settings for .NET client libraries." +}, +"goSettings": { +"$ref": "GoSettings", +"description": "Settings for Go client libraries." +}, +"javaSettings": { +"$ref": "JavaSettings", +"description": "Settings for legacy Java features, supported in the Service YAML." +}, +"launchStage": { +"description": "Launch stage of this version of the API.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"nodeSettings": { +"$ref": "NodeSettings", +"description": "Settings for Node client libraries." +}, +"phpSettings": { +"$ref": "PhpSettings", +"description": "Settings for PHP client libraries." +}, +"pythonSettings": { +"$ref": "PythonSettings", +"description": "Settings for Python client libraries." +}, +"restNumericEnums": { +"description": "When using transport=rest, the client request will encode enums as numbers rather than strings.", +"type": "boolean" +}, +"rubySettings": { +"$ref": "RubySettings", +"description": "Settings for Ruby client libraries." +}, +"version": { +"description": "Version of the API to apply these settings to. This is the full protobuf package for the API, ending in the version element. Examples: \"google.cloud.speech.v1\" and \"google.spanner.admin.database.v1\".", +"type": "string" +} +}, +"type": "object" +}, +"CloudSQLConfig": { +"description": "Cloud SQL configuration.", +"id": "CloudSQLConfig", +"properties": { +"service": { +"description": "Required. Peering service used for peering with the Cloud SQL project.", +"type": "string" +}, +"umbrellaNetwork": { +"description": "Required. The name of the umbrella network in the Cloud SQL umbrella project.", +"type": "string" +}, +"umbrellaProject": { +"description": "Required. The project number of the Cloud SQL umbrella project.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CommonLanguageSettings": { +"description": "Required information for every language.", +"id": "CommonLanguageSettings", +"properties": { +"destinations": { +"description": "The destination where API teams want this client library to be published.", +"items": { +"enum": [ +"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED", +"GITHUB", +"PACKAGE_MANAGER" +], +"enumDescriptions": [ +"Client libraries will neither be generated nor published to package managers.", +"Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.", +"Publish the library to package managers like nuget.org and npmjs.com." +], +"type": "string" +}, +"type": "array" +}, +"referenceDocsUri": { +"deprecated": true, +"description": "Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest", +"type": "string" +}, +"selectiveGapicGeneration": { +"$ref": "SelectiveGapicGeneration", +"description": "Configuration for which RPCs should be generated in the GAPIC client." +} +}, +"type": "object" +}, +"Connection": { +"description": "Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.", +"id": "Connection", +"properties": { +"network": { +"description": "Required. The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project}/global/networks/{network}`. `{project}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network}` is the name of the service consumer's VPC network.", +"type": "string" +}, +"peering": { +"description": "Output only. The name of the VPC Network Peering connection that was created by the service producer.", +"readOnly": true, +"type": "string" +}, +"reservedPeeringRanges": { +"description": "The name of one or more allocated IP address ranges for this service producer of type `PEERING`. Note that invoking CreateConnection method with a different range when connection is already established will not modify already provisioned service producer subnetworks. If CreateConnection method is invoked repeatedly to reconnect when peering connection had been disconnected on the consumer side, leaving this field empty will restore previously allocated IP ranges.", +"items": { +"type": "string" +}, +"type": "array" +}, +"service": { +"description": "Output only. The name of the peering service that's associated with this connection, in the following format: `services/{service name}`.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ConsumerConfig": { +"description": "Configuration information for a private service access connection.", +"id": "ConsumerConfig", +"properties": { +"cloudsqlConfigs": { +"description": "Represents one or multiple Cloud SQL configurations.", +"items": { +"$ref": "CloudSQLConfig" +}, +"type": "array" +}, +"consumerExportCustomRoutes": { +"description": "Export custom routes flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerExportSubnetRoutesWithPublicIp": { +"description": "Export subnet routes with public ip flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerImportCustomRoutes": { +"description": "Import custom routes flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerImportSubnetRoutesWithPublicIp": { +"description": "Import subnet routes with public ip flag value for peering from consumer to producer.", +"type": "boolean" +}, +"consumerPeeringActive": { +"description": "Output only. If this is true, consumer peering is active.", +"readOnly": true, +"type": "boolean" +}, +"producerExportCustomRoutes": { +"description": "Export custom routes flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerExportSubnetRoutesWithPublicIp": { +"description": "Export subnet routes with public ip flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerImportCustomRoutes": { +"description": "Import custom routes flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerImportSubnetRoutesWithPublicIp": { +"description": "Import subnet routes with public ip flag value for peering from producer to consumer.", +"type": "boolean" +}, +"producerNetwork": { +"description": "Output only. The VPC host network that is used to host managed service instances. In the format, projects/{project}/global/networks/{network} where {project} is the project number e.g. '12345' and {network} is the network name.", +"readOnly": true, +"type": "string" +}, +"reservedRanges": { +"description": "Output only. The reserved ranges associated with this private service access connection.", +"items": { +"$ref": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange" +}, +"readOnly": true, +"type": "array" +}, +"usedIpRanges": { +"description": "Output only. The IP ranges already in use by consumer or producer", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"vpcScReferenceArchitectureEnabled": { +"description": "Output only. Indicates whether the VPC Service Controls reference architecture is configured for the producer VPC host network.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +}, +"ConsumerConfigMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by UpdateConsumerConfig API.", +"id": "ConsumerConfigMetadata", +"properties": {}, +"type": "object" +}, +"Context": { +"description": "`Context` defines which contexts an API requests. Example: context: rules: - selector: \"*\" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using \u201cx-goog-ext--bin\u201d and \u201cx-goog-ext--jspb\u201d format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: \"google.example.library.v1.LibraryService.CreateBook\" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.", +"id": "Context", +"properties": { +"rules": { +"description": "A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "ContextRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContextRule": { +"description": "A context rule provides information about the context for an individual API element.", +"id": "ContextRule", +"properties": { +"allowedRequestExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowedResponseExtensions": { +"description": "A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.", +"items": { +"type": "string" +}, +"type": "array" +}, +"provided": { +"description": "A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.", +"items": { +"type": "string" +}, +"type": "array" +}, +"requested": { +"description": "A list of full type names of requested contexts, only the requested context will be made available to the backend.", +"items": { +"type": "string" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Control": { +"description": "Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com", +"id": "Control", +"properties": { +"environment": { +"description": "The service controller environment to use. If empty, no control plane features (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.", +"type": "string" +}, +"methodPolicies": { +"description": "Defines policies applying to the API methods of the service.", +"items": { +"$ref": "MethodPolicy" +}, +"type": "array" +} +}, +"type": "object" +}, +"CppSettings": { +"description": "Settings for C++ client libraries.", +"id": "CppSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"CustomError": { +"description": "Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError", +"id": "CustomError", +"properties": { +"rules": { +"description": "The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "CustomErrorRule" +}, +"type": "array" +}, +"types": { +"description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CustomErrorRule": { +"description": "A custom error rule.", +"id": "CustomErrorRule", +"properties": { +"isErrorType": { +"description": "Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.", +"type": "boolean" +}, +"selector": { +"description": "Selects messages to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"CustomHttpPattern": { +"description": "A custom pattern is used for defining custom HTTP verb.", +"id": "CustomHttpPattern", +"properties": { +"kind": { +"description": "The name of this custom HTTP verb.", +"type": "string" +}, +"path": { +"description": "The path matched by this custom verb.", +"type": "string" +} +}, +"type": "object" +}, +"DeleteConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Delete Connection API", +"id": "DeleteConnectionMetadata", +"properties": {}, +"type": "object" +}, +"DeletePeeredDnsDomainMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by DeletePeeredDnsDomain API.", +"id": "DeletePeeredDnsDomainMetadata", +"properties": {}, +"type": "object" +}, +"DnsRecordSet": { +"description": "Represents a DNS record set resource.", +"id": "DnsRecordSet", +"properties": { +"data": { +"description": "Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see https://cloud.google.com/dns/records/json-record.", +"items": { +"type": "string" +}, +"type": "array" +}, +"domain": { +"description": "Required. The DNS or domain name of the record set, e.g. `test.example.com`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"ttl": { +"description": "Required. The period of time for which this RecordSet can be cached by resolvers.", +"format": "google-duration", +"type": "string" +}, +"type": { +"description": "Required. The identifier of a supported record type.", +"type": "string" +} +}, +"type": "object" +}, +"DnsZone": { +"description": "Represents a DNS zone resource.", +"id": "DnsZone", +"properties": { +"dnsSuffix": { +"description": "The DNS name suffix of this zone e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"name": { +"description": "User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +} +}, +"type": "object" +}, +"Documentation": { +"description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", +"id": "Documentation", +"properties": { +"additionalIamInfo": { +"description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", +"type": "string" +}, +"documentationRootUrl": { +"description": "The URL to the root of documentation.", +"type": "string" +}, +"overview": { +"description": "Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.", +"type": "string" +}, +"pages": { +"description": "The top level pages for the documentation set.", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"rules": { +"description": "A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "DocumentationRule" +}, +"type": "array" +}, +"sectionOverrides": { +"description": "Specifies section and content to override the boilerplate content. Currently overrides following sections: 1. rest.service.client_libraries", +"items": { +"$ref": "Page" +}, +"type": "array" +}, +"serviceRootUrl": { +"description": "Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.", +"type": "string" +}, +"summary": { +"description": "A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentationRule": { +"description": "A documentation rule provides information about individual API elements.", +"id": "DocumentationRule", +"properties": { +"deprecationDescription": { +"description": "Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.", +"type": "string" +}, +"description": { +"description": "Description of the selected proto element (e.g. a message, a method, a 'service' definition, or a field). Defaults to leading & trailing comments taken from the proto source definition of the proto element.", +"type": "string" +}, +"disableReplacementWords": { +"description": "String of comma or space separated case-sensitive words for which method/field name replacement will be disabled.", +"type": "string" +}, +"selector": { +"description": "The selector is a comma-separated list of patterns for any element such as a method, a field, an enum value. Each pattern is a qualified name of the element which may end in \"*\", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"foo.*.bar\". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern \"*\" is used.", +"type": "string" +} +}, +"type": "object" +}, +"DotnetSettings": { +"description": "Settings for Dotnet client libraries.", +"id": "DotnetSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"forcedNamespaceAliases": { +"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", +"items": { +"type": "string" +}, +"type": "array" +}, +"handwrittenSignatures": { +"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", +"items": { +"type": "string" +}, +"type": "array" +}, +"ignoredResources": { +"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", +"items": { +"type": "string" +}, +"type": "array" +}, +"renamedResources": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", +"type": "object" +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", +"type": "object" +} +}, +"type": "object" +}, +"Endpoint": { +"description": "`Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true", +"id": "Endpoint", +"properties": { +"aliases": { +"description": "Aliases for this endpoint, these will be served by the same UrlMap as the parent endpoint, and will be provisioned in the GCP stack for the Regional Endpoints.", +"items": { +"type": "string" +}, +"type": "array" +}, +"allowCors": { +"description": "Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.", +"type": "boolean" +}, +"name": { +"description": "The canonical name of this endpoint.", +"type": "string" +}, +"target": { +"description": "The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, \"8.8.8.8\" or \"myservice.appspot.com\".", +"type": "string" +} +}, +"type": "object" +}, +"Enum": { +"description": "Enum type definition. New usages of this message as an alternative to EnumDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Enum", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"enumvalue": { +"description": "Enum value definitions.", +"items": { +"$ref": "EnumValue" +}, +"type": "array" +}, +"name": { +"description": "Enum type name.", +"type": "string" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"EnumValue": { +"description": "Enum value definition. New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "EnumValue", +"properties": { +"name": { +"description": "Enum value name.", +"type": "string" +}, +"number": { +"description": "Enum value number.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "Protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +} +}, +"type": "object" +}, +"ExperimentalFeatures": { +"description": "Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.", +"id": "ExperimentalFeatures", +"properties": { +"protobufPythonicTypesEnabled": { +"description": "Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"restAsyncIoEnabled": { +"description": "Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages.", +"type": "boolean" +}, +"unversionedPackageDisabled": { +"description": "Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`.", +"type": "boolean" +} +}, +"type": "object" +}, +"Field": { +"description": "A single field of a message type. New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Field", +"properties": { +"cardinality": { +"description": "The field cardinality.", +"enum": [ +"CARDINALITY_UNKNOWN", +"CARDINALITY_OPTIONAL", +"CARDINALITY_REQUIRED", +"CARDINALITY_REPEATED" +], +"enumDescriptions": [ +"For fields with unknown cardinality.", +"For optional fields.", +"For required fields. Proto2 syntax only.", +"For repeated fields." +], +"type": "string" +}, +"defaultValue": { +"description": "The string value of the default value of this field. Proto2 syntax only.", +"type": "string" +}, +"jsonName": { +"description": "The field JSON name.", +"type": "string" +}, +"kind": { +"description": "The field type.", +"enum": [ +"TYPE_UNKNOWN", +"TYPE_DOUBLE", +"TYPE_FLOAT", +"TYPE_INT64", +"TYPE_UINT64", +"TYPE_INT32", +"TYPE_FIXED64", +"TYPE_FIXED32", +"TYPE_BOOL", +"TYPE_STRING", +"TYPE_GROUP", +"TYPE_MESSAGE", +"TYPE_BYTES", +"TYPE_UINT32", +"TYPE_ENUM", +"TYPE_SFIXED32", +"TYPE_SFIXED64", +"TYPE_SINT32", +"TYPE_SINT64" +], +"enumDescriptions": [ +"Field type unknown.", +"Field type double.", +"Field type float.", +"Field type int64.", +"Field type uint64.", +"Field type int32.", +"Field type fixed64.", +"Field type fixed32.", +"Field type bool.", +"Field type string.", +"Field type group. Proto2 syntax only, and deprecated.", +"Field type message.", +"Field type bytes.", +"Field type uint32.", +"Field type enum.", +"Field type sfixed32.", +"Field type sfixed64.", +"Field type sint32.", +"Field type sint64." +], +"type": "string" +}, +"name": { +"description": "The field name.", +"type": "string" +}, +"number": { +"description": "The field number.", +"format": "int32", +"type": "integer" +}, +"oneofIndex": { +"description": "The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.", +"format": "int32", +"type": "integer" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"packed": { +"description": "Whether to use alternative packed wire representation.", +"type": "boolean" +}, +"typeUrl": { +"description": "The field type URL, without the scheme, for message or enumeration types. Example: `\"type.googleapis.com/google.protobuf.Timestamp\"`.", +"type": "string" +} +}, +"type": "object" +}, +"FieldPolicy": { +"description": "Google API Policy Annotation This message defines a simple API policy annotation that can be used to annotate API request and response message fields with applicable policies. One field may have multiple applicable policies that must all be satisfied before a request can be processed. This policy annotation is used to generate the overall policy that will be used for automatic runtime policy enforcement and documentation generation.", +"id": "FieldPolicy", +"properties": { +"resourcePermission": { +"description": "Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission checks to proceed. For example, \"resourcemanager.projects.get\".", +"type": "string" +}, +"resourceType": { +"description": "Specifies the resource type for the resource referred to by the field.", +"type": "string" +}, +"selector": { +"description": "Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or response field paths, such as \"foo.bar\" or \"foo.bar,foo.baz\".", +"type": "string" +} +}, +"type": "object" +}, +"GoSettings": { +"description": "Settings for Go client libraries.", +"id": "GoSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"renamedServices": { +"additionalProperties": { +"type": "string" +}, +"description": "Map of service names to renamed services. Keys are the package relative service names and values are the name to be used for the service client and call options. Example: publishing: go_settings: renamed_services: Publisher: TopicAdmin", +"type": "object" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1ConsumerConfigReservedRange": { +"description": "Allocated IP address ranges for this private service access connection.", +"id": "GoogleCloudServicenetworkingV1ConsumerConfigReservedRange", +"properties": { +"address": { +"description": "The starting address of the reserved range. The address must be a valid IPv4 address in the x.x.x.x format. This value combined with the IP prefix length is the CIDR range for the reserved range.", +"type": "string" +}, +"ipPrefixLength": { +"description": "The prefix length of the reserved range.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The name of the reserved range.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1betaConnection": { +"description": "Represents a private connection resource. A private connection is implemented as a VPC Network Peering connection between a service producer's VPC network and a service consumer's VPC network.", +"id": "GoogleCloudServicenetworkingV1betaConnection", +"properties": { +"network": { +"description": "The name of service consumer's VPC network that's connected with service producer network, in the following format: `projects/{project}/global/networks/{network}`. `{project}` is a project number, such as in `12345` that includes the VPC service consumer's VPC network. `{network}` is the name of the service consumer's VPC network.", +"type": "string" +}, +"peering": { +"description": "Output only. The name of the VPC Network Peering connection that was created by the service producer.", +"type": "string" +}, +"reservedPeeringRanges": { +"description": "The name of one or more allocated IP address ranges for this service producer of type `PEERING`. Note that invoking this method with a different range when connection is already established will not modify already provisioned service producer subnetworks.", +"items": { +"type": "string" +}, +"type": "array" +}, +"service": { +"description": "Output only. The name of the peering service that's associated with this connection, in the following format: `services/{service name}`.", +"type": "string" +} +}, +"type": "object" +}, +"GoogleCloudServicenetworkingV1betaSubnetwork": { +"description": "Represents a subnet that was created or discovered by a private access management service.", +"id": "GoogleCloudServicenetworkingV1betaSubnetwork", +"properties": { +"ipCidrRange": { +"description": "Subnetwork CIDR range in `10.x.x.x/y` format.", +"type": "string" +}, +"name": { +"description": "Subnetwork name. See https://cloud.google.com/compute/docs/vpc/", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +}, +"outsideAllocation": { +"description": "This is a discovered subnet that is not within the current consumer allocated ranges.", +"type": "boolean" +} +}, +"type": "object" +}, +"Http": { +"description": "Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.", +"id": "Http", +"properties": { +"fullyDecodeReservedExpansion": { +"description": "When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where \"%2F\" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.", +"type": "boolean" +}, +"rules": { +"description": "A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"HttpRule": { +"description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. The following example selects a gRPC method and applies an `HttpRule` to it: http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", +"id": "HttpRule", +"properties": { +"additionalBindings": { +"description": "Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).", +"items": { +"$ref": "HttpRule" +}, +"type": "array" +}, +"body": { +"description": "The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.", +"type": "string" +}, +"custom": { +"$ref": "CustomHttpPattern", +"description": "The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients." +}, +"delete": { +"description": "Maps to HTTP DELETE. Used for deleting a resource.", +"type": "string" +}, +"get": { +"description": "Maps to HTTP GET. Used for listing and getting information about resources.", +"type": "string" +}, +"patch": { +"description": "Maps to HTTP PATCH. Used for updating a resource.", +"type": "string" +}, +"post": { +"description": "Maps to HTTP POST. Used for creating a resource or performing an action.", +"type": "string" +}, +"put": { +"description": "Maps to HTTP PUT. Used for replacing a resource.", +"type": "string" +}, +"responseBody": { +"description": "Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.", +"type": "string" +}, +"selector": { +"description": "Selects a method to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"JavaSettings": { +"description": "Settings for Java client libraries.", +"id": "JavaSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Java. Clobbers the java_package option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.java.package_name\" field in gapic.yaml. API teams should use the protobuf java_package option where possible. Example of a YAML configuration:: publishing: library_settings: java_settings: library_package: com.google.cloud.pubsub.v1", +"type": "string" +}, +"serviceClassNames": { +"additionalProperties": { +"type": "string" +}, +"description": "Configure the Java class name to use instead of the service's for its corresponding generated GAPIC client. Keys are fully-qualified service names as they appear in the protobuf (including the full the language_settings.java.interface_names\" field in gapic.yaml. API teams should otherwise use the service name as it appears in the protobuf. Example of a YAML configuration:: publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher: TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin", +"type": "object" +} +}, +"type": "object" +}, +"JwtLocation": { +"description": "Specifies a location to extract JWT from an API request.", +"id": "JwtLocation", +"properties": { +"cookie": { +"description": "Specifies cookie name to extract JWT token.", +"type": "string" +}, +"header": { +"description": "Specifies HTTP header name to extract JWT token.", +"type": "string" +}, +"query": { +"description": "Specifies URL query parameter name to extract JWT token.", +"type": "string" +}, +"valuePrefix": { +"description": "The value prefix. The value format is \"value_prefix{token}\" Only applies to \"in\" header type. Must be empty for \"in\" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for \"Authorization: Bearer {JWT}\", value_prefix=\"Bearer \" with a space at the end.", +"type": "string" +} +}, +"type": "object" +}, +"LabelDescriptor": { +"description": "A description of a label.", +"id": "LabelDescriptor", +"properties": { +"description": { +"description": "A human-readable description for the label.", +"type": "string" +}, +"key": { +"description": "The label key.", +"type": "string" +}, +"valueType": { +"description": "The type of data that can be assigned to the label.", +"enum": [ +"STRING", +"BOOL", +"INT64" +], +"enumDescriptions": [ +"A variable-length string. This is the default.", +"Boolean; true or false.", +"A 64-bit signed integer." +], +"type": "string" +} +}, +"type": "object" +}, +"ListConnectionsResponse": { +"description": "ListConnectionsResponse is the response to list peering states for the given service and consumer project.", +"id": "ListConnectionsResponse", +"properties": { +"connections": { +"description": "The list of Connections.", +"items": { +"$ref": "GoogleCloudServicenetworkingV1betaConnection" +}, +"type": "array" +} +}, +"type": "object" +}, +"LogDescriptor": { +"description": "A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer", +"id": "LogDescriptor", +"properties": { +"description": { +"description": "A human-readable description of this log. This information appears in the documentation and can contain details.", +"type": "string" +}, +"displayName": { +"description": "The human-readable name for this log. This information appears on the user interface and should be concise.", +"type": "string" +}, +"labels": { +"description": "The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"name": { +"description": "The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].", +"type": "string" +} +}, +"type": "object" +}, +"Logging": { +"description": "Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history", +"id": "Logging", +"properties": { +"consumerDestinations": { +"description": "Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.", +"items": { +"$ref": "LoggingDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"LoggingDestination": { +"description": "Configuration of a specific logging destination (the producer project or the consumer project).", +"id": "LoggingDestination", +"properties": { +"logs": { +"description": "Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by \"/\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in the Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"LongRunning": { +"description": "Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).", +"id": "LongRunning", +"properties": { +"initialPollDelay": { +"description": "Initial delay after which the first poll request will be made. Default value: 5 seconds.", +"format": "google-duration", +"type": "string" +}, +"maxPollDelay": { +"description": "Maximum time between two subsequent poll requests. Default value: 45 seconds.", +"format": "google-duration", +"type": "string" +}, +"pollDelayMultiplier": { +"description": "Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.", +"format": "float", +"type": "number" +}, +"totalPollTimeout": { +"description": "Total polling timeout. Default value: 5 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Method": { +"description": "Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Method", +"properties": { +"edition": { +"deprecated": true, +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.", +"type": "string" +}, +"name": { +"description": "The simple name of this method.", +"type": "string" +}, +"options": { +"description": "Any metadata attached to the method.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"requestStreaming": { +"description": "If true, the request is streamed.", +"type": "boolean" +}, +"requestTypeUrl": { +"description": "A URL of the input message type.", +"type": "string" +}, +"responseStreaming": { +"description": "If true, the response is streamed.", +"type": "boolean" +}, +"responseTypeUrl": { +"description": "The URL of the output message type.", +"type": "string" +}, +"syntax": { +"deprecated": true, +"description": "The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"MethodPolicy": { +"description": "Defines policies applying to an RPC method.", +"id": "MethodPolicy", +"properties": { +"requestPolicies": { +"description": "Policies that are applicable to the request message.", +"items": { +"$ref": "FieldPolicy" +}, +"type": "array" +}, +"selector": { +"description": "Selects a method to which these policies should be enforced, for example, \"google.pubsub.v1.Subscriber.CreateSubscription\". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .", +"type": "string" +} +}, +"type": "object" +}, +"MethodSettings": { +"description": "Describes the generator configuration for a method.", +"id": "MethodSettings", +"properties": { +"autoPopulatedFields": { +"description": "List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id", +"items": { +"type": "string" +}, +"type": "array" +}, +"batching": { +"$ref": "BatchingConfigProto", +"description": "Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10" +}, +"longRunning": { +"$ref": "LongRunning", +"description": "Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes" +}, +"selector": { +"description": "The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...", +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptor": { +"description": "Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. ", +"id": "MetricDescriptor", +"properties": { +"description": { +"description": "A detailed description of the metric, which can be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example \"Request count\". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.", +"type": "string" +}, +"labels": { +"description": "The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the metric definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"metadata": { +"$ref": "MetricDescriptorMetadata", +"description": "Optional. Metadata which can be used to guide usage of the metric." +}, +"metricKind": { +"description": "Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"METRIC_KIND_UNSPECIFIED", +"GAUGE", +"DELTA", +"CUMULATIVE" +], +"enumDescriptions": [ +"Do not use this default value.", +"An instantaneous measurement of a value.", +"The change in a value during a time interval.", +"A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points." +], +"type": "string" +}, +"monitoredResourceTypes": { +"description": "Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.", +"items": { +"type": "string" +}, +"type": "array" +}, +"name": { +"description": "The resource name of the metric descriptor.", +"type": "string" +}, +"type": { +"description": "The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: \"custom.googleapis.com/invoice/paid/amount\" \"external.googleapis.com/prometheus/up\" \"appengine.googleapis.com/http/server/response_latencies\"", +"type": "string" +}, +"unit": { +"description": "The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { \".\" Component } { \"/\" Component } ; Component = ( [ PREFIX ] UNIT | \"%\" ) [ Annotation ] | Annotation | \"1\" ; Annotation = \"{\" NAME \"}\" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, \"new users per day\" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean \"5 new users). Alternatively, \"thousands of page views per day\" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean \"5300 page views per day\"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means \"3 percent\"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means \"3 percent\").", +"type": "string" +}, +"valueType": { +"description": "Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.", +"enum": [ +"VALUE_TYPE_UNSPECIFIED", +"BOOL", +"INT64", +"DOUBLE", +"STRING", +"DISTRIBUTION", +"MONEY" +], +"enumDescriptions": [ +"Do not use this default value.", +"The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a signed 64-bit integer.", +"The value is a double precision floating point number.", +"The value is a text string. This value type can be used only if the metric kind is `GAUGE`.", +"The value is a `Distribution`.", +"The value is money." +], +"type": "string" +} +}, +"type": "object" +}, +"MetricDescriptorMetadata": { +"description": "Additional annotations that can be used to guide the usage of a metric.", +"id": "MetricDescriptorMetadata", +"properties": { +"ingestDelay": { +"description": "The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.", +"format": "google-duration", +"type": "string" +}, +"launchStage": { +"deprecated": true, +"description": "Deprecated. Must use the MetricDescriptor.launch_stage instead.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"samplePeriod": { +"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.", +"format": "google-duration", +"type": "string" +}, +"timeSeriesResourceHierarchyLevel": { +"description": "The scope of the timeseries data of the metric.", +"items": { +"enum": [ +"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED", +"PROJECT", +"ORGANIZATION", +"FOLDER" +], +"enumDescriptions": [ +"Do not use this default value.", +"Scopes a metric to a project.", +"Scopes a metric to an organization.", +"Scopes a metric to a folder." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"MetricRule": { +"description": "Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.", +"id": "MetricRule", +"properties": { +"metricCosts": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.", +"type": "object" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"Mixin": { +"description": "Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v1/{resource=**}:getAcl\"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = \"/v2/{resource=**}\"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/{resource=**}:getAcl\"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\"; } ... }", +"id": "Mixin", +"properties": { +"name": { +"description": "The fully qualified name of the interface which is included.", +"type": "string" +}, +"root": { +"description": "If non-empty specifies a path under which inherited HTTP paths are rooted.", +"type": "string" +} +}, +"type": "object" +}, +"MonitoredResourceDescriptor": { +"description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `\"gce_instance\"` and specifies the use of the labels `\"instance_id\"` and `\"zone\"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. ", +"id": "MonitoredResourceDescriptor", +"properties": { +"description": { +"description": "Optional. A detailed description of the monitored resource type that might be used in documentation.", +"type": "string" +}, +"displayName": { +"description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `\"Google Cloud SQL Database\"`.", +"type": "string" +}, +"labels": { +"description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `\"database_id\"` and `\"zone\"`.", +"items": { +"$ref": "LabelDescriptor" +}, +"type": "array" +}, +"launchStage": { +"description": "Optional. The launch stage of the monitored resource definition.", +"enum": [ +"LAUNCH_STAGE_UNSPECIFIED", +"UNIMPLEMENTED", +"PRELAUNCH", +"EARLY_ACCESS", +"ALPHA", +"BETA", +"GA", +"DEPRECATED" +], +"enumDescriptions": [ +"Do not use this default value.", +"The feature is not yet implemented. Users can not use it.", +"Prelaunch features are hidden from users and are only visible internally.", +"Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.", +"Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don't have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests -- just like they would in normal production cases.", +"Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.", +"GA features are open to all developers and are considered stable and fully qualified for production use.", +"Deprecated features are scheduled to be shut down and removed. For more information, see the \"Deprecation Policy\" section of our [Terms of Service](https://cloud.google.com/terms/) and the [Google Cloud Platform Subject to the Deprecation Policy](https://cloud.google.com/terms/deprecation) documentation." +], +"type": "string" +}, +"name": { +"description": "Optional. The resource name of the monitored resource descriptor: `\"projects/{project_id}/monitoredResourceDescriptors/{type}\"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `\"monitoredResourceDescriptors/{type}\"`.", +"type": "string" +}, +"type": { +"description": "Required. The monitored resource type. For example, the type `\"cloudsql_database\"` represents databases in Google Cloud SQL. For a list of types, see [Monitored resource types](https://cloud.google.com/monitoring/api/resources) and [Logging resource types](https://cloud.google.com/logging/docs/api/v2/resource-list).", +"type": "string" +} +}, +"type": "object" +}, +"Monitoring": { +"description": "Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: \"Library Branch\" description: \"A branch of a library.\" launch_stage: GA labels: - key: resource_container description: \"The Cloud container (ie. project id) for the Branch.\" - key: location description: \"The location of the library branch.\" - key: branch_id description: \"The id of the branch.\" metrics: - name: library.googleapis.com/book/returned_count display_name: \"Books Returned\" description: \"The count of books that have been returned.\" launch_stage: GA metric_kind: DELTA value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" - name: library.googleapis.com/book/num_overdue display_name: \"Books Overdue\" description: \"The current number of overdue books.\" launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: \"1\" labels: - key: customer_id description: \"The id of the customer.\" monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue", +"id": "Monitoring", +"properties": { +"consumerDestinations": { +"description": "Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +}, +"producerDestinations": { +"description": "Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.", +"items": { +"$ref": "MonitoringDestination" +}, +"type": "array" +} +}, +"type": "object" +}, +"MonitoringDestination": { +"description": "Configuration of a specific monitoring destination (the producer project or the consumer project).", +"id": "MonitoringDestination", +"properties": { +"metrics": { +"description": "Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.", +"items": { +"type": "string" +}, +"type": "array" +}, +"monitoredResource": { +"description": "The monitored resource type. The type must be defined in Service.monitored_resources section.", +"type": "string" +} +}, +"type": "object" +}, +"NodeSettings": { +"description": "Settings for Node client libraries.", +"id": "NodeSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"OAuthRequirements": { +"description": "OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for \"Read-only access to Google Calendar\" and \"Access to Cloud Platform\". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.", +"id": "OAuthRequirements", +"properties": { +"canonicalScopes": { +"description": "The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Option": { +"description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc. New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged.", +"id": "Option", +"properties": { +"name": { +"description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `\"map_entry\"`. For custom options, it should be the fully-qualified name. For example, `\"google.api.http\"`.", +"type": "string" +}, +"value": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.", +"type": "object" +} +}, +"type": "object" +}, +"Page": { +"description": "Represents a documentation page. A page can contain subpages to represent nested documentation set structure.", +"id": "Page", +"properties": { +"content": { +"description": "The Markdown content of the page. You can use ```(== include {path} ==)``` to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.", +"type": "string" +}, +"name": { +"description": "The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.", +"type": "string" +}, +"subpages": { +"description": "Subpages of this page. The order of subpages specified here will be honored in the generated docset.", +"items": { +"$ref": "Page" +}, +"type": "array" +} +}, +"type": "object" +}, +"PartialDeleteConnectionMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by Partial Delete Connection API", +"id": "PartialDeleteConnectionMetadata", +"properties": {}, +"type": "object" +}, +"PeeredDnsDomain": { +"description": "DNS domain suffix for which requests originating in the producer VPC network are resolved in the associated consumer VPC network.", +"id": "PeeredDnsDomain", +"properties": { +"dnsSuffix": { +"description": "The DNS domain name suffix e.g. `example.com.`. Cloud DNS requires that a DNS suffix ends with a trailing dot.", +"type": "string" +}, +"name": { +"description": "Required. User assigned name for this resource. Must be unique within the consumer network. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.", +"type": "string" +} +}, +"type": "object" +}, +"PeeredDnsDomainMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by CreatePeeredDnsDomain API.", +"id": "PeeredDnsDomainMetadata", +"properties": {}, +"type": "object" +}, +"PhpSettings": { +"description": "Settings for Php client libraries.", +"id": "PhpSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"libraryPackage": { +"description": "The package name to use in Php. Clobbers the php_namespace option set in the protobuf. This should be used **only** by APIs who have already set the language_settings.php.package_name\" field in gapic.yaml. API teams should use the protobuf php_namespace option where possible. Example of a YAML configuration:: publishing: library_settings: php_settings: library_package: Google\\Cloud\\PubSub\\V1", +"type": "string" +} +}, +"type": "object" +}, +"PolicyBinding": { +"description": "Grouping of IAM role and IAM member.", +"id": "PolicyBinding", +"properties": { +"member": { +"description": "Required. Member to bind the role with. See /iam/docs/reference/rest/v1/Policy#Binding for how to format each member. Eg. - user:myuser@mydomain.com - serviceAccount:my-service-account@app.gserviceaccount.com", +"type": "string" +}, +"role": { +"description": "Required. Role to apply. Only allowlisted roles can be used at the specified granularity. The role must be one of the following: - 'roles/container.hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.securityAdmin' applied on the shared VPC host project - 'roles/compute.networkAdmin' applied on the shared VPC host project - 'roles/tpu.xpnAgent' applied on the shared VPC host project - 'roles/dns.admin' applied on the shared VPC host project - 'roles/logging.admin' applied on the shared VPC host project - 'roles/monitoring.viewer' applied on the shared VPC host project - 'roles/servicemanagement.quotaViewer' applied on the shared VPC host project", +"type": "string" +} +}, +"type": "object" +}, +"Publishing": { +"description": "This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config.", +"id": "Publishing", +"properties": { +"apiShortName": { +"description": "Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: \"speech\".", +"type": "string" +}, +"codeownerGithubTeams": { +"description": "GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.", +"items": { +"type": "string" +}, +"type": "array" +}, +"docTagPrefix": { +"description": "A prefix used in sample code when demarking regions to be included in documentation.", +"type": "string" +}, +"documentationUri": { +"description": "Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview", +"type": "string" +}, +"githubLabel": { +"description": "GitHub label to apply to issues and pull requests opened for this API.", +"type": "string" +}, +"librarySettings": { +"description": "Client library settings. If the same version string appears multiple times in this list, then the last one wins. Settings from earlier settings with the same version string are discarded.", +"items": { +"$ref": "ClientLibrarySettings" +}, +"type": "array" +}, +"methodSettings": { +"description": "A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.", +"items": { +"$ref": "MethodSettings" +}, +"type": "array" +}, +"newIssueUri": { +"description": "Link to a *public* URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103", +"type": "string" +}, +"organization": { +"description": "For whom the client library is being published.", +"enum": [ +"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED", +"CLOUD", +"ADS", +"PHOTOS", +"STREET_VIEW", +"SHOPPING", +"GEO", +"GENERATIVE_AI" +], +"enumDescriptions": [ +"Not useful.", +"Google Cloud Platform Org.", +"Ads (Advertising) Org.", +"Photos Org.", +"Street View Org.", +"Shopping Org.", +"Geo Org.", +"Generative AI - https://developers.generativeai.google" +], +"type": "string" +}, +"protoReferenceDocumentationUri": { +"description": "Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc", +"type": "string" +}, +"restReferenceDocumentationUri": { +"description": "Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest", +"type": "string" +} +}, +"type": "object" +}, +"PythonSettings": { +"description": "Settings for Python client libraries.", +"id": "PythonSettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +}, +"experimentalFeatures": { +"$ref": "ExperimentalFeatures", +"description": "Experimental features to be included during client library generation." +} +}, +"type": "object" +}, +"Quota": { +"description": "Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: \"1/min/{project}\" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: \"*\" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 ", +"id": "Quota", +"properties": { +"limits": { +"description": "List of QuotaLimit definitions for the service.", +"items": { +"$ref": "QuotaLimit" +}, +"type": "array" +}, +"metricRules": { +"description": "List of MetricRule definitions, each one mapping a selected method to one or more metrics.", +"items": { +"$ref": "MetricRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"QuotaLimit": { +"description": "`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.", +"id": "QuotaLimit", +"properties": { +"defaultLimit": { +"description": "Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"description": { +"description": "Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).", +"type": "string" +}, +"displayName": { +"description": "User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.", +"type": "string" +}, +"duration": { +"description": "Duration of this limit in textual notation. Must be \"100s\" or \"1d\". Used by group-based quotas only.", +"type": "string" +}, +"freeTier": { +"description": "Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration \"1d\", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"maxLimit": { +"description": "Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.", +"format": "int64", +"type": "string" +}, +"metric": { +"description": "The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.", +"type": "string" +}, +"name": { +"description": "Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.", +"type": "string" +}, +"unit": { +"description": "Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * \"1/min/{project}\" for quota per minute per project. Note: the order of unit components is insignificant. The \"1\" at the beginning is required to follow the metric unit syntax.", +"type": "string" +}, +"values": { +"additionalProperties": { +"format": "int64", +"type": "string" +}, +"description": "Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.", +"type": "object" +} +}, +"type": "object" +}, +"Range": { +"description": "Represents a found unused range.", +"id": "Range", +"properties": { +"ipCidrRange": { +"description": "CIDR range in \"10.x.x.x/y\" format that is within the allocated ranges and currently unused.", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +} +}, +"type": "object" +}, +"RemoveDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by RemoveDnsRecordSet API", +"id": "RemoveDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"RemoveDnsRecordSetResponse": { +"description": "Blank message response type for RemoveDnsRecordSet API", +"id": "RemoveDnsRecordSetResponse", +"properties": {}, +"type": "object" +}, +"RemoveDnsZoneMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by RemoveDnsZone API", +"id": "RemoveDnsZoneMetadata", +"properties": {}, +"type": "object" +}, +"RemoveDnsZoneResponse": { +"description": "Blank message response type for RemoveDnsZone API", +"id": "RemoveDnsZoneResponse", +"properties": {}, +"type": "object" +}, +"Route": { +"description": "Represents a route that was created or discovered by a private access management service.", +"id": "Route", +"properties": { +"destRange": { +"description": "Destination CIDR range that this route applies to.", +"type": "string" +}, +"name": { +"description": "Route name. See https://cloud.google.com/vpc/docs/routes", +"type": "string" +}, +"network": { +"description": "Fully-qualified URL of the VPC network in the producer host tenant project that this route applies to. For example: `projects/123456/global/networks/host-network`", +"type": "string" +}, +"nextHopGateway": { +"description": "Fully-qualified URL of the gateway that should handle matching packets that this route applies to. For example: `projects/123456/global/gateways/default-internet-gateway`", +"type": "string" +} +}, +"type": "object" +}, +"RubySettings": { +"description": "Settings for Ruby client libraries.", +"id": "RubySettings", +"properties": { +"common": { +"$ref": "CommonLanguageSettings", +"description": "Some settings." +} +}, +"type": "object" +}, +"SearchRangeRequest": { +"description": "Request to search for an unused range within allocated ranges.", +"id": "SearchRangeRequest", +"properties": { +"ipPrefixLength": { +"description": "Required. The prefix length of the IP range. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. Actual range will be determined using allocated range for the consumer peered network and returned in the result.", +"format": "int32", +"type": "integer" +}, +"network": { +"description": "Network name in the consumer project. This network must have been already peered with a shared VPC network using CreateConnection method. Must be in a form 'projects/{project}/global/networks/{network}'. {project} is a project number, as in '12345' {network} is network name.", +"type": "string" +} +}, +"type": "object" +}, +"SecondaryIpRange": { +"id": "SecondaryIpRange", +"properties": { +"ipCidrRange": { +"description": "Secondary IP CIDR range in `x.x.x.x/y` format.", +"type": "string" +}, +"rangeName": { +"description": "Name of the secondary IP range.", +"type": "string" +} +}, +"type": "object" +}, +"SelectiveGapicGeneration": { +"description": "This message is used to configure the generation of a subset of the RPCs in a service for client libraries.", +"id": "SelectiveGapicGeneration", +"properties": { +"generateOmittedAsInternal": { +"description": "Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.", +"type": "boolean" +}, +"methods": { +"description": "An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Service": { +"description": "`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: \"google.calendar.v3.*\" restriction: PREVIEW backend: rules: - selector: \"google.calendar.v3.*\" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: \"*\" requirements: provider_id: google_calendar_auth", +"id": "Service", +"properties": { +"apis": { +"description": "A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.", +"items": { +"$ref": "Api" +}, +"type": "array" +}, +"aspects": { +"description": "Configuration aspects. This is a repeated field to allow multiple aspects to be configured. The kind field in each ConfigAspect specifies the type of aspect. The spec field contains the configuration for that aspect. The schema for the spec field is defined by the backend service owners.", +"items": { +"$ref": "Aspect" +}, +"type": "array" +}, +"authentication": { +"$ref": "Authentication", +"description": "Auth configuration." +}, +"backend": { +"$ref": "Backend", +"description": "API backend configuration." +}, +"billing": { +"$ref": "Billing", +"description": "Billing configuration." +}, +"configVersion": { +"description": "Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.", +"format": "uint32", +"type": "integer" +}, +"context": { +"$ref": "Context", +"description": "Context configuration." +}, +"control": { +"$ref": "Control", +"description": "Configuration for the service control plane." +}, +"customError": { +"$ref": "CustomError", +"description": "Custom error configuration." +}, +"documentation": { +"$ref": "Documentation", +"description": "Additional API documentation." +}, +"endpoints": { +"description": "Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. WARNING: Defining any entries in the `endpoints` list disables the automatic generation of default endpoint variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in this list alongside any other custom endpoints (like REP, GFE, etc.).", +"items": { +"$ref": "Endpoint" +}, +"type": "array" +}, +"enums": { +"description": "A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum", +"items": { +"$ref": "Enum" +}, +"type": "array" +}, +"http": { +"$ref": "Http", +"description": "HTTP configuration." +}, +"id": { +"description": "A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.", +"type": "string" +}, +"logging": { +"$ref": "Logging", +"description": "Logging configuration." +}, +"logs": { +"description": "Defines the logs used by this service.", +"items": { +"$ref": "LogDescriptor" +}, +"type": "array" +}, +"metrics": { +"description": "Defines the metrics used by this service.", +"items": { +"$ref": "MetricDescriptor" +}, +"type": "array" +}, +"monitoredResources": { +"description": "Defines the monitored resources used by this service. This is required by the `Service.monitoring` and `Service.logging` configurations.", +"items": { +"$ref": "MonitoredResourceDescriptor" +}, +"type": "array" +}, +"monitoring": { +"$ref": "Monitoring", +"description": "Monitoring configuration." +}, +"name": { +"description": "The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.", +"type": "string" +}, +"producerProjectId": { +"description": "The Google project that owns this service.", +"type": "string" +}, +"publishing": { +"$ref": "Publishing", +"description": "Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers." +}, +"quota": { +"$ref": "Quota", +"description": "Quota configuration." +}, +"sourceInfo": { +"$ref": "SourceInfo", +"description": "Output only. The source information for this configuration if available." +}, +"systemParameters": { +"$ref": "SystemParameters", +"description": "System parameter configuration." +}, +"systemTypes": { +"description": "A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"title": { +"description": "The product title for this service, it is the name displayed in Google Cloud Console.", +"type": "string" +}, +"types": { +"description": "A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32", +"items": { +"$ref": "Type" +}, +"type": "array" +}, +"usage": { +"$ref": "Usage", +"description": "Configuration controlling usage of this service." +} +}, +"type": "object" +}, +"SourceContext": { +"description": "`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.", +"id": "SourceContext", +"properties": { +"fileName": { +"description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: `\"google/protobuf/source_context.proto\"`.", +"type": "string" +} +}, +"type": "object" +}, +"SourceInfo": { +"description": "Source information used to create a Service Config", +"id": "SourceInfo", +"properties": { +"sourceFiles": { +"description": "All files used during config generation.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Subnetwork": { +"description": "Represents a subnet that was created or discovered by a private access management service.", +"id": "Subnetwork", +"properties": { +"ipCidrRange": { +"description": "Subnetwork CIDR range in `10.x.x.x/y` format.", +"type": "string" +}, +"name": { +"description": "Subnetwork name. See https://cloud.google.com/compute/docs/vpc/", +"type": "string" +}, +"network": { +"description": "In the Shared VPC host project, the VPC network that's peered with the consumer network. For example: `projects/1234321/global/networks/host-network`", +"type": "string" +}, +"outsideAllocation": { +"description": "This is a discovered subnet that is not within the current consumer allocated ranges.", +"type": "boolean" +}, +"region": { +"description": "GCP region where the subnetwork is located.", +"type": "string" +}, +"secondaryIpRanges": { +"description": "List of secondary IP ranges in this subnetwork.", +"items": { +"$ref": "SecondaryIpRange" +}, +"type": "array" +} +}, +"type": "object" +}, +"SystemParameter": { +"description": "Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.", +"id": "SystemParameter", +"properties": { +"httpHeader": { +"description": "Define the HTTP header name to use for the parameter. It is case insensitive.", +"type": "string" +}, +"name": { +"description": "Define the name of the parameter, such as \"api_key\" . It is case sensitive.", +"type": "string" +}, +"urlQueryParameter": { +"description": "Define the URL query parameter name to use for the parameter. It is case sensitive.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameterRule": { +"description": "Define a system parameter rule mapping system parameter definitions to methods.", +"id": "SystemParameterRule", +"properties": { +"parameters": { +"description": "Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.", +"items": { +"$ref": "SystemParameter" +}, +"type": "array" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +} +}, +"type": "object" +}, +"SystemParameters": { +"description": "### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.", +"id": "SystemParameters", +"properties": { +"rules": { +"description": "Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: \"*\" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: \"/ListShelves\" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "SystemParameterRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"Type": { +"description": "A protocol buffer message type. New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.", +"id": "Type", +"properties": { +"edition": { +"description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.", +"type": "string" +}, +"fields": { +"description": "The list of fields.", +"items": { +"$ref": "Field" +}, +"type": "array" +}, +"name": { +"description": "The fully qualified message name.", +"type": "string" +}, +"oneofs": { +"description": "The list of types appearing in `oneof` definitions in this type.", +"items": { +"type": "string" +}, +"type": "array" +}, +"options": { +"description": "The protocol buffer options.", +"items": { +"$ref": "Option" +}, +"type": "array" +}, +"sourceContext": { +"$ref": "SourceContext", +"description": "The source context." +}, +"syntax": { +"description": "The source syntax.", +"enum": [ +"SYNTAX_PROTO2", +"SYNTAX_PROTO3", +"SYNTAX_EDITIONS" +], +"enumDescriptions": [ +"Syntax `proto2`.", +"Syntax `proto3`.", +"Syntax `editions`." +], +"type": "string" +} +}, +"type": "object" +}, +"UpdateDnsRecordSetMetadata": { +"description": "Metadata provided through GetOperation request for the LRO generated by UpdateDnsRecordSet API", +"id": "UpdateDnsRecordSetMetadata", +"properties": {}, +"type": "object" +}, +"Usage": { +"description": "Configuration controlling usage of a service.", +"id": "Usage", +"properties": { +"producerNotificationChannel": { +"description": "The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.", +"type": "string" +}, +"requirements": { +"description": "Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include \"serviceusage.googleapis.com/tos/cloud\". Other Google APIs should include \"serviceusage.googleapis.com/tos/universal\". Additional ToS can be included based on the business needs.", +"items": { +"type": "string" +}, +"type": "array" +}, +"rules": { +"description": "A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow \"last one wins\" order.", +"items": { +"$ref": "UsageRule" +}, +"type": "array" +} +}, +"type": "object" +}, +"UsageRule": { +"description": "Usage configuration rules for the service.", +"id": "UsageRule", +"properties": { +"allowUnregisteredCalls": { +"description": " Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). WARNING: By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity.", +"type": "boolean" +}, +"selector": { +"description": "Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.", +"type": "string" +}, +"skipServiceControl": { +"description": "If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.", +"type": "boolean" +} +}, +"type": "object" +}, +"VpcServiceControls": { +"description": "Response for the get VPC Service Controls request.", +"id": "VpcServiceControls", +"properties": { +"enabled": { +"description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", +"readOnly": true, +"type": "boolean" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Service Networking API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..8b3ce9b9df0223cd8f79bd9118cd63b3dfebea75 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json @@ -0,0 +1,503 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/sdm.service": { +"description": "See and/or control the devices that you selected" +} +} +} +}, +"basePath": "", +"baseUrl": "https://smartdevicemanagement.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Smart Device Management", +"description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/nest/device-access", +"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": "smartdevicemanagement:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://smartdevicemanagement.mtls.googleapis.com/", +"name": "smartdevicemanagement", +"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": { +"enterprises": { +"resources": { +"devices": { +"methods": { +"executeCommand": { +"description": "Executes a command to device managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}:executeCommand", +"httpMethod": "POST", +"id": "smartdevicemanagement.enterprises.devices.executeCommand", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:executeCommand", +"request": { +"$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest" +}, +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +}, +"get": { +"description": "Gets a device managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.devices.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"", +"location": "path", +"pattern": "^enterprises/[^/]+/devices/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1Device" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +}, +"list": { +"description": "Lists devices managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/devices", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.devices.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional filter to list devices. Filters can be done on: Device custom name (substring match): 'customName=wing'", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent enterprise to list devices under. E.g. \"enterprises/XYZ\".", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/devices", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +} +} +}, +"structures": { +"methods": { +"get": { +"description": "Gets a structure managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.structures.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the structure requested. For example: \"enterprises/XYZ/structures/ABC\".", +"location": "path", +"pattern": "^enterprises/[^/]+/structures/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1Structure" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +}, +"list": { +"description": "Lists structures managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/structures", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.structures.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional filter to list structures.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "The parent enterprise to list structures under. E.g. \"enterprises/XYZ\".", +"location": "path", +"pattern": "^enterprises/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/structures", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1ListStructuresResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +} +}, +"resources": { +"rooms": { +"methods": { +"get": { +"description": "Gets a room managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms/{roomsId}", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.structures.rooms.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the room requested. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".", +"location": "path", +"pattern": "^enterprises/[^/]+/structures/[^/]+/rooms/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1Room" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +}, +"list": { +"description": "Lists rooms managed by the enterprise.", +"flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms", +"httpMethod": "GET", +"id": "smartdevicemanagement.enterprises.structures.rooms.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "The parent resource name of the rooms requested. For example: \"enterprises/XYZ/structures/ABC\".", +"location": "path", +"pattern": "^enterprises/[^/]+/structures/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/rooms", +"response": { +"$ref": "GoogleHomeEnterpriseSdmV1ListRoomsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/sdm.service" +] +} +} +} +} +} +} +} +}, +"revision": "20260112", +"rootUrl": "https://smartdevicemanagement.googleapis.com/", +"schemas": { +"GoogleHomeEnterpriseSdmV1Device": { +"description": "Device resource represents an instance of enterprise managed device in the property.", +"id": "GoogleHomeEnterpriseSdmV1Device", +"properties": { +"ghpName": { +"description": "Output only. The GHP device ID of the device.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Required. The resource name of the device. For example: \"enterprises/XYZ/devices/123\".", +"type": "string" +}, +"parentRelations": { +"description": "Assignee details of the device.", +"items": { +"$ref": "GoogleHomeEnterpriseSdmV1ParentRelation" +}, +"type": "array" +}, +"traits": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Output only. Device traits.", +"readOnly": true, +"type": "object" +}, +"type": { +"description": "Output only. Type of the device for general display purposes. For example: \"THERMOSTAT\". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest": { +"description": "Request message for SmartDeviceManagementService.ExecuteDeviceCommand", +"id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest", +"properties": { +"command": { +"description": "The command name to execute, represented by the fully qualified protobuf message name.", +"type": "string" +}, +"params": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The command message to execute, represented as a Struct.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse": { +"description": "Response message for SmartDeviceManagementService.ExecuteDeviceCommand", +"id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse", +"properties": { +"results": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "The results of executing the command.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ListDevicesResponse": { +"description": "Response message for SmartDeviceManagementService.ListDevices", +"id": "GoogleHomeEnterpriseSdmV1ListDevicesResponse", +"properties": { +"devices": { +"description": "The list of devices.", +"items": { +"$ref": "GoogleHomeEnterpriseSdmV1Device" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ListRoomsResponse": { +"description": "Response message for SmartDeviceManagementService.ListRooms", +"id": "GoogleHomeEnterpriseSdmV1ListRoomsResponse", +"properties": { +"rooms": { +"description": "The list of rooms.", +"items": { +"$ref": "GoogleHomeEnterpriseSdmV1Room" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ListStructuresResponse": { +"description": "Response message for SmartDeviceManagementService.ListStructures", +"id": "GoogleHomeEnterpriseSdmV1ListStructuresResponse", +"properties": { +"structures": { +"description": "The list of structures.", +"items": { +"$ref": "GoogleHomeEnterpriseSdmV1Structure" +}, +"type": "array" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1ParentRelation": { +"description": "Represents device relationships, for instance, structure/room to which the device is assigned to.", +"id": "GoogleHomeEnterpriseSdmV1ParentRelation", +"properties": { +"displayName": { +"description": "Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to.", +"readOnly": true, +"type": "string" +}, +"ghpParent": { +"description": "Output only. The GHP name of the relation -- e.g., structure/room where the device is assigned to. For example: \"homegraph.googleapis.com/Structure/ABC\" or \"homegraph.googleapis.com/Room/ABC\"", +"readOnly": true, +"type": "string" +}, +"parent": { +"description": "Output only. The name of the relation -- e.g., structure/room where the device is assigned to. For example: \"enterprises/XYZ/structures/ABC\" or \"enterprises/XYZ/structures/ABC/rooms/123\"", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1Room": { +"description": "Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.", +"id": "GoogleHomeEnterpriseSdmV1Room", +"properties": { +"name": { +"description": "Output only. The resource name of the room. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".", +"readOnly": true, +"type": "string" +}, +"traits": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Room traits.", +"type": "object" +} +}, +"type": "object" +}, +"GoogleHomeEnterpriseSdmV1Structure": { +"description": "Structure resource represents an instance of enterprise managed home or hotel room.", +"id": "GoogleHomeEnterpriseSdmV1Structure", +"properties": { +"ghpName": { +"description": "Output only. The unique identifier for the structure in Google Home Platform. Format: homegraph.googleapis.com/Structure/{structure_id}", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Output only. The resource name of the structure. For example: \"enterprises/XYZ/structures/ABC\".", +"readOnly": true, +"type": "string" +}, +"traits": { +"additionalProperties": { +"description": "Properties of the object.", +"type": "any" +}, +"description": "Structure traits.", +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Smart Device Management API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..2c723a789344c9d2f00fcd2bd664b80d7f2da813 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/speech.v1.json @@ -0,0 +1,1549 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://speech.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Speech", +"description": "Converts audio to text by applying powerful neural network models.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", +"endpoints": [ +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.us-central1.rep.googleapis.com/", +"location": "us-central1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.us-west1.rep.googleapis.com/", +"location": "us-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.me-west1.rep.googleapis.com/", +"location": "me-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west1.rep.googleapis.com/", +"location": "europe-west1" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west2.rep.googleapis.com/", +"location": "europe-west2" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west3.rep.googleapis.com/", +"location": "europe-west3" +}, +{ +"description": "Regional Endpoint", +"endpointUrl": "https://speech.europe-west4.rep.googleapis.com/", +"location": "europe-west4" +} +], +"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": "speech:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://speech.mtls.googleapis.com/", +"name": "speech", +"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": { +"operations": { +"methods": { +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "speech.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/operations/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "speech.operations.list", +"parameterOrder": [], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"locations": { +"resources": { +"customClasses": { +"methods": { +"create": { +"description": "Create a custom class.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customClasses", +"httpMethod": "POST", +"id": "speech.projects.locations.customClasses.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this custom class will be created. Format: `projects/{project}/locations/{location}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customClasses", +"request": { +"$ref": "CreateCustomClassRequest" +}, +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a custom class.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "DELETE", +"id": "speech.projects.locations.customClasses.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the custom class to delete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a custom class.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "GET", +"id": "speech.projects.locations.customClasses.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the custom class to retrieve. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List custom classes.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customClasses", +"httpMethod": "GET", +"id": "speech.projects.locations.customClasses.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListCustomClass` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomClass` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of custom classes. Format: `projects/{project}/locations/{location}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/customClasses", +"response": { +"$ref": "ListCustomClassesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a custom class.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customClasses/{customClassesId}", +"httpMethod": "PATCH", +"id": "speech.projects.locations.customClasses.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the custom class.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/customClasses/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "CustomClass" +}, +"response": { +"$ref": "CustomClass" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"phraseSets": { +"methods": { +"create": { +"description": "Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseSets", +"httpMethod": "POST", +"id": "speech.projects.locations.phraseSets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The parent resource where this phrase set will be created. Format: `projects/{project}/locations/{location}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/phraseSets", +"request": { +"$ref": "CreatePhraseSetRequest" +}, +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Delete a phrase set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "DELETE", +"id": "speech.projects.locations.phraseSets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the phrase set to delete. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Get a phrase set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "GET", +"id": "speech.projects.locations.phraseSets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the phrase set to retrieve. Format: `projects/{project}/locations/{location}/phraseSets/{phrase_set}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "List phrase sets.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseSets", +"httpMethod": "GET", +"id": "speech.projects.locations.phraseSets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListPhraseSet` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPhraseSet` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent, which owns this collection of phrase set. Format: `projects/{project}/locations/{location}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/phraseSets", +"response": { +"$ref": "ListPhraseSetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Update a phrase set.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/phraseSets/{phraseSetsId}", +"httpMethod": "PATCH", +"id": "speech.projects.locations.phraseSets.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the phrase set.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/phraseSets/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "PhraseSet" +}, +"response": { +"$ref": "PhraseSet" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +}, +"speech": { +"methods": { +"longrunningrecognize": { +"description": "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface. Returns either an `Operation.error` or an `Operation.response` which contains a `LongRunningRecognizeResponse` message. For more information on asynchronous speech recognition, see the [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).", +"flatPath": "v1/speech:longrunningrecognize", +"httpMethod": "POST", +"id": "speech.speech.longrunningrecognize", +"parameterOrder": [], +"parameters": {}, +"path": "v1/speech:longrunningrecognize", +"request": { +"$ref": "LongRunningRecognizeRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"recognize": { +"description": "Performs synchronous speech recognition: receive results after all audio has been sent and processed.", +"flatPath": "v1/speech:recognize", +"httpMethod": "POST", +"id": "speech.speech.recognize", +"parameterOrder": [], +"parameters": {}, +"path": "v1/speech:recognize", +"request": { +"$ref": "RecognizeRequest" +}, +"response": { +"$ref": "RecognizeResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +}, +"revision": "20251201", +"rootUrl": "https://speech.googleapis.com/", +"schemas": { +"ABNFGrammar": { +"id": "ABNFGrammar", +"properties": { +"abnfStrings": { +"description": "All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ClassItem": { +"description": "An item of the class.", +"id": "ClassItem", +"properties": { +"value": { +"description": "The class item's value.", +"type": "string" +} +}, +"type": "object" +}, +"CreateCustomClassRequest": { +"description": "Message sent by the client for the `CreateCustomClass` method.", +"id": "CreateCustomClassRequest", +"properties": { +"customClass": { +"$ref": "CustomClass", +"description": "Required. The custom class to create." +}, +"customClassId": { +"description": "Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CreatePhraseSetRequest": { +"description": "Message sent by the client for the `CreatePhraseSet` method.", +"id": "CreatePhraseSetRequest", +"properties": { +"phraseSet": { +"$ref": "PhraseSet", +"description": "Required. The phrase set to create." +}, +"phraseSetId": { +"description": "Required. The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.", +"type": "string" +} +}, +"type": "object" +}, +"CustomClass": { +"description": "A set of words or phrases that represents a common concept likely to appear in your audio, for example a list of passenger ship names. CustomClass items can be substituted into placeholders that you set in PhraseSet phrases.", +"id": "CustomClass", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", +"readOnly": true, +"type": "object" +}, +"customClassId": { +"description": "If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.", +"type": "string" +}, +"deleteTime": { +"description": "Output only. The time at which this resource was requested for deletion. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time at which this resource will be purged. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"items": { +"description": "A collection of class items.", +"items": { +"$ref": "ClassItem" +}, +"type": "array" +}, +"kmsKeyName": { +"description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the custom class.", +"type": "string" +}, +"reconciling": { +"description": "Output only. Whether or not this CustomClass is in the process of being updated. This field is not used.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The CustomClass lifecycle state. This field is not used.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"This CustomClass has been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned unique identifier for the CustomClass. This field is not used.", +"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" +}, +"Entry": { +"description": "A single replacement configuration.", +"id": "Entry", +"properties": { +"caseSensitive": { +"description": "Whether the search is case sensitive.", +"type": "boolean" +}, +"replace": { +"description": "What to replace with. Max length is 100 characters.", +"type": "string" +}, +"search": { +"description": "What to replace. Max length is 100 characters.", +"type": "string" +} +}, +"type": "object" +}, +"ListCustomClassesResponse": { +"description": "Message returned to the client by the `ListCustomClasses` method.", +"id": "ListCustomClassesResponse", +"properties": { +"customClasses": { +"description": "The custom classes.", +"items": { +"$ref": "CustomClass" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListPhraseSetResponse": { +"description": "Message returned to the client by the `ListPhraseSet` method.", +"id": "ListPhraseSetResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"phraseSets": { +"description": "The phrase set.", +"items": { +"$ref": "PhraseSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"LongRunningRecognizeMetadata": { +"description": "Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "LongRunningRecognizeMetadata", +"properties": { +"lastUpdateTime": { +"description": "Time of the most recent processing update.", +"format": "google-datetime", +"type": "string" +}, +"progressPercent": { +"description": "Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.", +"format": "int32", +"type": "integer" +}, +"startTime": { +"description": "Time when the request was received.", +"format": "google-datetime", +"type": "string" +}, +"uri": { +"description": "Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"LongRunningRecognizeRequest": { +"description": "The top-level message sent by the client for the `LongRunningRecognize` method.", +"id": "LongRunningRecognizeRequest", +"properties": { +"audio": { +"$ref": "RecognitionAudio", +"description": "Required. The audio data to be recognized." +}, +"config": { +"$ref": "RecognitionConfig", +"description": "Required. Provides information to the recognizer that specifies how to process the request." +}, +"outputConfig": { +"$ref": "TranscriptOutputConfig", +"description": "Optional. Specifies an optional destination for the recognition results." +} +}, +"type": "object" +}, +"LongRunningRecognizeResponse": { +"description": "The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.", +"id": "LongRunningRecognizeResponse", +"properties": { +"outputConfig": { +"$ref": "TranscriptOutputConfig", +"description": "Original output config if present in the request." +}, +"outputError": { +"$ref": "Status", +"description": "If the transcript output fails this field contains the relevant error." +}, +"requestId": { +"description": "The ID associated with the request. This is a unique ID specific only to the given request.", +"format": "int64", +"type": "string" +}, +"results": { +"description": "Sequential list of transcription results corresponding to sequential portions of audio.", +"items": { +"$ref": "SpeechRecognitionResult" +}, +"type": "array" +}, +"speechAdaptationInfo": { +"$ref": "SpeechAdaptationInfo", +"description": "Provides information on speech adaptation behavior in response" +}, +"totalBilledTime": { +"description": "When available, billed audio seconds for the corresponding request.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"Phrase": { +"description": "A phrases containing words and phrase \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech-to-text/quotas#content). List items can also include pre-built or custom classes containing groups of words that represent common concepts that occur in natural language. For example, rather than providing a phrase hint for every month of the year (e.g. \"i was born in january\", \"i was born in febuary\", ...), use the pre-built `$MONTH` class improves the likelihood of correctly transcribing audio that includes months (e.g. \"i was born in $month\"). To refer to pre-built classes, use the class' symbol prepended with `$` e.g. `$MONTH`. To refer to custom classes that were defined inline in the request, set the class's `custom_class_id` to a string unique to all class resources and inline classes. Then use the class' id wrapped in $`{...}` e.g. \"${my-months}\". To refer to custom classes resources, use the class' id wrapped in `${}` (e.g. `${my-months}`). Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.", +"id": "Phrase", +"properties": { +"boost": { +"description": "Hint Boost. Overrides the boost set at the phrase set level. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", +"format": "float", +"type": "number" +}, +"value": { +"description": "The phrase itself.", +"type": "string" +} +}, +"type": "object" +}, +"PhraseSet": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "PhraseSet", +"properties": { +"annotations": { +"additionalProperties": { +"type": "string" +}, +"description": "Output only. Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.", +"readOnly": true, +"type": "object" +}, +"boost": { +"description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests.", +"format": "float", +"type": "number" +}, +"deleteTime": { +"description": "Output only. The time at which this resource was requested for deletion. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used.", +"readOnly": true, +"type": "string" +}, +"etag": { +"description": "Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Output only. The time at which this resource will be purged. This field is not used.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"kmsKeyName": { +"description": "Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", +"readOnly": true, +"type": "string" +}, +"kmsKeyVersionName": { +"description": "Output only. The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`.", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "The resource name of the phrase set.", +"type": "string" +}, +"phrases": { +"description": "A list of word and phrases.", +"items": { +"$ref": "Phrase" +}, +"type": "array" +}, +"reconciling": { +"description": "Output only. Whether or not this PhraseSet is in the process of being updated. This field is not used.", +"readOnly": true, +"type": "boolean" +}, +"state": { +"description": "Output only. The CustomClass lifecycle state. This field is not used.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"DELETED" +], +"enumDescriptions": [ +"Unspecified state. This is only used/useful for distinguishing unset values.", +"The normal and active state.", +"This CustomClass has been deleted." +], +"readOnly": true, +"type": "string" +}, +"uid": { +"description": "Output only. System-assigned unique identifier for the PhraseSet. This field is not used.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"RecognitionAudio": { +"description": "Contains audio data in the encoding specified in the `RecognitionConfig`. Either `content` or `uri` must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. See [content limits](https://cloud.google.com/speech-to-text/quotas#content).", +"id": "RecognitionAudio", +"properties": { +"content": { +"description": "The audio data bytes encoded as specified in `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64.", +"format": "byte", +"type": "string" +}, +"uri": { +"description": "URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. The file must not be compressed (for example, gzip). Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: `gs://bucket_name/object_name` (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).", +"type": "string" +} +}, +"type": "object" +}, +"RecognitionConfig": { +"description": "Provides information to the recognizer that specifies how to process the request.", +"id": "RecognitionConfig", +"properties": { +"adaptation": { +"$ref": "SpeechAdaptation", +"description": "Speech adaptation configuration improves the accuracy of speech recognition. For more information, see the [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation) documentation. When speech adaptation is set it supersedes the `speech_contexts` field." +}, +"alternativeLanguageCodes": { +"description": "A list of up to 3 additional [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tags, listing possible alternative languages of the supplied audio. See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).", +"items": { +"type": "string" +}, +"type": "array" +}, +"audioChannelCount": { +"description": "The number of channels in the input audio data. ONLY set this for MULTI-CHANNEL recognition. Valid values for LINEAR16, OGG_OPUS and FLAC are `1`-`8`. Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only `1`. If `0` or omitted, defaults to one channel (mono). Note: We only recognize the first channel by default. To perform independent recognition on each channel set `enable_separate_recognition_per_channel` to 'true'.", +"format": "int32", +"type": "integer" +}, +"diarizationConfig": { +"$ref": "SpeakerDiarizationConfig", +"description": "Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult." +}, +"enableAutomaticPunctuation": { +"description": "If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses.", +"type": "boolean" +}, +"enableSeparateRecognitionPerChannel": { +"description": "This needs to be set to `true` explicitly and `audio_channel_count` > 1 to get each channel recognized separately. The recognition result will contain a `channel_tag` field to state which channel that result belongs to. If this is not true, we will only recognize the first channel. The request is billed cumulatively for all channels recognized: `audio_channel_count` multiplied by the length of the audio.", +"type": "boolean" +}, +"enableSpokenEmojis": { +"description": "The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.", +"type": "boolean" +}, +"enableSpokenPunctuation": { +"description": "The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, \"how are you question mark\" becomes \"how are you?\". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.", +"type": "boolean" +}, +"enableWordConfidence": { +"description": "If `true`, the top result includes a list of words and the confidence for those words. If `false`, no word-level confidence information is returned. The default is `false`.", +"type": "boolean" +}, +"enableWordTimeOffsets": { +"description": "If `true`, the top result includes a list of words and the start and end time offsets (timestamps) for those words. If `false`, no word-level time offset information is returned. The default is `false`.", +"type": "boolean" +}, +"encoding": { +"description": "Encoding of audio data sent in all `RecognitionAudio` messages. This field is optional for `FLAC` and `WAV` audio files and required for all other audio formats. For details, see AudioEncoding.", +"enum": [ +"ENCODING_UNSPECIFIED", +"LINEAR16", +"FLAC", +"MULAW", +"AMR", +"AMR_WB", +"OGG_OPUS", +"SPEEX_WITH_HEADER_BYTE", +"MP3", +"WEBM_OPUS", +"ALAW" +], +"enumDescriptions": [ +"Not specified.", +"Uncompressed 16-bit signed little-endian samples (Linear PCM).", +"`FLAC` (Free Lossless Audio Codec) is the recommended encoding because it is lossless--therefore recognition is not compromised--and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", +"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", +"Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", +"Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", +"Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000.", +"Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Cloud Speech API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000.", +"MP3 audio. MP3 encoding is a Beta feature and only available in v1p1beta1. Support all standard MP3 bitrates (which range from 32-320 kbps). When using this encoding, `sample_rate_hertz` has to match the sample rate of the file being used.", +"Opus encoded audio frames in WebM container ([WebM](https://www.webmproject.org/docs/container/)). `sample_rate_hertz` must be one of 8000, 12000, 16000, 24000, or 48000.", +"8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law." +], +"type": "string" +}, +"languageCode": { +"description": "Required. The language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: \"en-US\". See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the currently supported language codes.", +"type": "string" +}, +"maxAlternatives": { +"description": "Maximum number of recognition hypotheses to be returned. Specifically, the maximum number of `SpeechRecognitionAlternative` messages within each `SpeechRecognitionResult`. The server may return fewer than `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of one. If omitted, will return a maximum of one.", +"format": "int32", +"type": "integer" +}, +"metadata": { +"$ref": "RecognitionMetadata", +"description": "Metadata regarding this request." +}, +"model": { +"description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* latest_long Best for long form content like media or conversation. latest_short Best for short form content like commands or single shot directed speech. command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", +"type": "string" +}, +"profanityFilter": { +"description": "If set to `true`, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, e.g. \"f***\". If set to `false` or omitted, profanities won't be filtered out.", +"type": "boolean" +}, +"sampleRateHertz": { +"description": "Sample rate in Hertz of the audio data sent in all `RecognitionAudio` messages. Valid values are: 8000-48000. 16000 is optimal. For best results, set the sampling rate of the audio source to 16000 Hz. If that's not possible, use the native sample rate of the audio source (instead of re-sampling). This field is optional for FLAC and WAV audio files, but is required for all other audio formats. For details, see AudioEncoding.", +"format": "int32", +"type": "integer" +}, +"speechContexts": { +"description": "Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see [speech adaptation](https://cloud.google.com/speech-to-text/docs/adaptation).", +"items": { +"$ref": "SpeechContext" +}, +"type": "array" +}, +"transcriptNormalization": { +"$ref": "TranscriptNormalization", +"description": "Optional. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts." +}, +"useEnhanced": { +"description": "Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.", +"type": "boolean" +} +}, +"type": "object" +}, +"RecognitionMetadata": { +"deprecated": true, +"description": "Description of audio data to be recognized.", +"id": "RecognitionMetadata", +"properties": { +"audioTopic": { +"description": "Description of the content. Eg. \"Recordings of federal supreme court hearings from 2012\".", +"type": "string" +}, +"industryNaicsCodeOfAudio": { +"description": "The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.", +"format": "uint32", +"type": "integer" +}, +"interactionType": { +"description": "The use case most closely describing the audio content to be recognized.", +"enum": [ +"INTERACTION_TYPE_UNSPECIFIED", +"DISCUSSION", +"PRESENTATION", +"PHONE_CALL", +"VOICEMAIL", +"PROFESSIONALLY_PRODUCED", +"VOICE_SEARCH", +"VOICE_COMMAND", +"DICTATION" +], +"enumDescriptions": [ +"Use case is either unknown or is something other than one of the other values below.", +"Multiple people in a conversation or discussion. For example in a meeting with two or more people actively participating. Typically all the primary people speaking would be in the same room (if not, see PHONE_CALL)", +"One or more persons lecturing or presenting to others, mostly uninterrupted.", +"A phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.", +"A recorded message intended for another person to listen to.", +"Professionally produced audio (eg. TV Show, Podcast).", +"Transcribe spoken questions and queries into text.", +"Transcribe voice commands, such as for controlling a device.", +"Transcribe speech to text to create a written document, such as a text-message, email or report." +], +"type": "string" +}, +"microphoneDistance": { +"description": "The audio type that most closely describes the audio being recognized.", +"enum": [ +"MICROPHONE_DISTANCE_UNSPECIFIED", +"NEARFIELD", +"MIDFIELD", +"FARFIELD" +], +"enumDescriptions": [ +"Audio type is not known.", +"The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone.", +"The speaker if within 3 meters of the microphone.", +"The speaker is more than 3 meters away from the microphone." +], +"type": "string" +}, +"originalMediaType": { +"description": "The original media the speech was recorded on.", +"enum": [ +"ORIGINAL_MEDIA_TYPE_UNSPECIFIED", +"AUDIO", +"VIDEO" +], +"enumDescriptions": [ +"Unknown original media type.", +"The speech data is an audio recording.", +"The speech data originally recorded on a video." +], +"type": "string" +}, +"originalMimeType": { +"description": "Mime type of the original audio file. For example `audio/m4a`, `audio/x-alaw-basic`, `audio/mp3`, `audio/3gpp`. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio", +"type": "string" +}, +"recordingDeviceName": { +"description": "The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.", +"type": "string" +}, +"recordingDeviceType": { +"description": "The type of device the speech was recorded with.", +"enum": [ +"RECORDING_DEVICE_TYPE_UNSPECIFIED", +"SMARTPHONE", +"PC", +"PHONE_LINE", +"VEHICLE", +"OTHER_OUTDOOR_DEVICE", +"OTHER_INDOOR_DEVICE" +], +"enumDescriptions": [ +"The recording device is unknown.", +"Speech was recorded on a smartphone.", +"Speech was recorded using a personal computer or tablet.", +"Speech was recorded over a phone line.", +"Speech was recorded in a vehicle.", +"Speech was recorded outdoors.", +"Speech was recorded indoors." +], +"type": "string" +} +}, +"type": "object" +}, +"RecognizeRequest": { +"description": "The top-level message sent by the client for the `Recognize` method.", +"id": "RecognizeRequest", +"properties": { +"audio": { +"$ref": "RecognitionAudio", +"description": "Required. The audio data to be recognized." +}, +"config": { +"$ref": "RecognitionConfig", +"description": "Required. Provides information to the recognizer that specifies how to process the request." +} +}, +"type": "object" +}, +"RecognizeResponse": { +"description": "The only message returned to the client by the `Recognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages.", +"id": "RecognizeResponse", +"properties": { +"requestId": { +"description": "The ID associated with the request. This is a unique ID specific only to the given request.", +"format": "int64", +"type": "string" +}, +"results": { +"description": "Sequential list of transcription results corresponding to sequential portions of audio.", +"items": { +"$ref": "SpeechRecognitionResult" +}, +"type": "array" +}, +"speechAdaptationInfo": { +"$ref": "SpeechAdaptationInfo", +"description": "Provides information on adaptation behavior in response" +}, +"totalBilledTime": { +"description": "When available, billed audio seconds for the corresponding request.", +"format": "google-duration", +"type": "string" +}, +"usingLegacyModels": { +"description": "Whether request used legacy asr models (was not automatically migrated to use conformer models).", +"type": "boolean" +} +}, +"type": "object" +}, +"SpeakerDiarizationConfig": { +"description": "Config to enable speaker diarization.", +"id": "SpeakerDiarizationConfig", +"properties": { +"enableSpeakerDiarization": { +"description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.", +"type": "boolean" +}, +"maxSpeakerCount": { +"description": "Maximum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 6.", +"format": "int32", +"type": "integer" +}, +"minSpeakerCount": { +"description": "Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 2.", +"format": "int32", +"type": "integer" +}, +"speakerTag": { +"deprecated": true, +"description": "Output only. Unused.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"SpeechAdaptation": { +"description": "Speech adaptation configuration.", +"id": "SpeechAdaptation", +"properties": { +"abnfGrammar": { +"$ref": "ABNFGrammar", +"description": "Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-grammar" +}, +"customClasses": { +"description": "A collection of custom classes. To specify the classes inline, leave the class' `name` blank and fill in the rest of its fields, giving it a unique `custom_class_id`. Refer to the inline defined class in phrase hints by its `custom_class_id`.", +"items": { +"$ref": "CustomClass" +}, +"type": "array" +}, +"phraseSetReferences": { +"description": "A collection of phrase set resource names to use.", +"items": { +"type": "string" +}, +"type": "array" +}, +"phraseSets": { +"description": "A collection of phrase sets. To specify the hints inline, leave the phrase set's `name` blank and fill in the rest of its fields. Any phrase set can use any custom class.", +"items": { +"$ref": "PhraseSet" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechAdaptationInfo": { +"description": "Information on speech adaptation use in results", +"id": "SpeechAdaptationInfo", +"properties": { +"adaptationTimeout": { +"description": "Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.", +"type": "boolean" +}, +"timeoutMessage": { +"description": "If set, returns a message specifying which part of the speech adaptation request timed out.", +"type": "string" +} +}, +"type": "object" +}, +"SpeechContext": { +"description": "Provides \"hints\" to the speech recognizer to favor specific words and phrases in the results.", +"id": "SpeechContext", +"properties": { +"boost": { +"description": "Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case.", +"format": "float", +"type": "number" +}, +"phrases": { +"description": "A list of strings containing words and phrases \"hints\" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech-to-text/quotas#content). List items can also be set to classes for groups of words that represent common concepts that occur in natural language. For example, rather than providing phrase hints for every month of the year, using the $MONTH class improves the likelihood of correctly transcribing audio that includes months.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechRecognitionAlternative": { +"description": "Alternative hypotheses (a.k.a. n-best list).", +"id": "SpeechRecognitionAlternative", +"properties": { +"confidence": { +"description": "The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"type": "number" +}, +"transcript": { +"description": "Transcript text representing the words that the user spoke. In languages that use spaces to separate words, the transcript might have a leading space if it isn't the first result. You can concatenate each result to obtain the full transcript without using a separator.", +"type": "string" +}, +"words": { +"description": "A list of word-specific information for each recognized word. Note: When `enable_speaker_diarization` is true, you will see all the words from the beginning of the audio.", +"items": { +"$ref": "WordInfo" +}, +"type": "array" +} +}, +"type": "object" +}, +"SpeechRecognitionResult": { +"description": "A speech recognition result corresponding to a portion of the audio.", +"id": "SpeechRecognitionResult", +"properties": { +"alternatives": { +"description": "May contain one or more recognition hypotheses (up to the maximum specified in `max_alternatives`). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.", +"items": { +"$ref": "SpeechRecognitionAlternative" +}, +"type": "array" +}, +"channelTag": { +"description": "For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For audio_channel_count = N, its output values can range from '1' to 'N'.", +"format": "int32", +"type": "integer" +}, +"languageCode": { +"description": "Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the language in this result. This language code was detected to have the most likelihood of being spoken in the audio.", +"readOnly": true, +"type": "string" +}, +"resultEndTime": { +"description": "Time offset of the end of this result relative to the beginning of the audio.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TranscriptNormalization": { +"description": "Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.", +"id": "TranscriptNormalization", +"properties": { +"entries": { +"description": "A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [\"cat\" => \"dog\", \"mountain cat\" => \"mountain dog\"] will never be applied because we will always process the first entry before it. At most 100 entries.", +"items": { +"$ref": "Entry" +}, +"type": "array" +} +}, +"type": "object" +}, +"TranscriptOutputConfig": { +"description": "Specifies an optional destination for the recognition results.", +"id": "TranscriptOutputConfig", +"properties": { +"gcsUri": { +"description": "Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.", +"type": "string" +} +}, +"type": "object" +}, +"WordInfo": { +"description": "Word-specific information for recognized words.", +"id": "WordInfo", +"properties": { +"confidence": { +"description": "The confidence estimate between 0.0 and 1.0. A higher number indicates an estimated greater likelihood that the recognized words are correct. This field is set only for the top alternative of a non-streaming result or, of a streaming result where `is_final=true`. This field is not guaranteed to be accurate and users should not rely on it to be always provided. The default of 0.0 is a sentinel value indicating `confidence` was not set.", +"format": "float", +"type": "number" +}, +"endTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"speakerLabel": { +"description": "Output only. A label value assigned for every unique speaker within the audio. This field specifies which speaker was detected to have spoken this word. For some models, like medical_conversation this can be actual speaker role, for example \"patient\" or \"provider\", but generally this would be a number identifying a speaker. This field is only set if enable_speaker_diarization = 'true' and only for the top alternative.", +"readOnly": true, +"type": "string" +}, +"speakerTag": { +"deprecated": true, +"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"startTime": { +"description": "Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if `enable_word_time_offsets=true` and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.", +"format": "google-duration", +"type": "string" +}, +"word": { +"description": "The word corresponding to this set of information.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Speech-to-Text API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..8483c2235f4c29d022c2a912d27c6c488fe839ec --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/tagmanager.v2.json @@ -0,0 +1,6622 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/tagmanager.delete.containers": { +"description": "Delete your Google Tag Manager containers" +}, +"https://www.googleapis.com/auth/tagmanager.edit.containers": { +"description": "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing" +}, +"https://www.googleapis.com/auth/tagmanager.edit.containerversions": { +"description": "Manage your Google Tag Manager container versions" +}, +"https://www.googleapis.com/auth/tagmanager.manage.accounts": { +"description": "View and manage your Google Tag Manager accounts" +}, +"https://www.googleapis.com/auth/tagmanager.manage.users": { +"description": "Manage user permissions of your Google Tag Manager account and container" +}, +"https://www.googleapis.com/auth/tagmanager.publish": { +"description": "Publish your Google Tag Manager container versions" +}, +"https://www.googleapis.com/auth/tagmanager.readonly": { +"description": "View your Google Tag Manager container and its subcomponents" +} +} +} +}, +"basePath": "", +"baseUrl": "https://tagmanager.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Tag Manager", +"description": "This API allows clients to access and modify container and tag configuration.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/tag-manager", +"icons": { +"x16": "http://www.google.com/images/icons/product/search-16.gif", +"x32": "http://www.google.com/images/icons/product/search-32.gif" +}, +"id": "tagmanager:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://tagmanager.mtls.googleapis.com/", +"name": "tagmanager", +"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": { +"accounts": { +"methods": { +"get": { +"description": "Gets a GTM Account.", +"flatPath": "tagmanager/v2/accounts/{accountsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.manage.accounts", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Accounts that a user has access to.", +"flatPath": "tagmanager/v2/accounts", +"httpMethod": "GET", +"id": "tagmanager.accounts.list", +"parameterOrder": [], +"parameters": { +"includeGoogleTags": { +"description": "Also retrieve accounts associated with Google Tag when true.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v2/accounts", +"response": { +"$ref": "ListAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.manage.accounts", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a GTM Account.", +"flatPath": "tagmanager/v2/accounts/{accountsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the account in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Account" +}, +"response": { +"$ref": "Account" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.accounts" +] +} +}, +"resources": { +"containers": { +"methods": { +"combine": { +"description": "Combines Containers.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:combine", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.combine", +"parameterOrder": [ +"path" +], +"parameters": { +"allowUserPermissionFeatureUpdate": { +"description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", +"location": "query", +"type": "boolean" +}, +"containerId": { +"description": "ID of container that will be merged into the current container.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +}, +"settingSource": { +"description": "Specify the source of config setting after combine", +"enum": [ +"settingSourceUnspecified", +"current", +"other" +], +"enumDescriptions": [ +"", +"Keep the current container config setting after combine", +"Use config setting from the other tag after combine" +], +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:combine", +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"create": { +"description": "Creates a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/containers", +"request": { +"$ref": "Container" +}, +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.delete.containers" +] +}, +"get": { +"description": "Gets a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Containers that belongs to a GTM Account.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/containers", +"response": { +"$ref": "ListContainersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"lookup": { +"description": "Looks up a Container by destination ID or tag ID.", +"flatPath": "tagmanager/v2/accounts/containers:lookup", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.lookup", +"parameterOrder": [], +"parameters": { +"destinationId": { +"description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Only one of destination_id or tag_id should be set.", +"location": "query", +"type": "string" +}, +"tagId": { +"description": "Tag ID for a GTM Container, e.g. GTM-123456789. Only one of destination_id or tag_id should be set.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v2/accounts/containers:lookup", +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"move_tag_id": { +"description": "Move Tag ID out of a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:move_tag_id", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.move_tag_id", +"parameterOrder": [ +"path" +], +"parameters": { +"allowUserPermissionFeatureUpdate": { +"description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", +"location": "query", +"type": "boolean" +}, +"copySettings": { +"description": "Whether or not to copy tag settings from this tag to the new tag.", +"location": "query", +"type": "boolean" +}, +"copyTermsOfService": { +"description": "Must be set to true to accept all terms of service agreements copied from the current tag to the newly created tag. If this bit is false, the operation will fail.", +"location": "query", +"type": "boolean" +}, +"copyUsers": { +"description": "Whether or not to copy users from this tag to the new tag.", +"location": "query", +"type": "boolean" +}, +"path": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +}, +"tagId": { +"description": "Tag ID to be removed from the current Container.", +"location": "query", +"type": "string" +}, +"tagName": { +"description": "The name for the newly created tag.", +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:move_tag_id", +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"snippet": { +"description": "Gets the tagging snippet for a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}:snippet", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.snippet", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "Container snippet's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:snippet", +"response": { +"$ref": "GetContainerSnippetResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Container" +}, +"response": { +"$ref": "Container" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +}, +"resources": { +"destinations": { +"methods": { +"get": { +"description": "Gets a Destination.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations/{destinationsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.destinations.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "Google Tag Destination's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/destinations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Destination" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"link": { +"description": "Adds a Destination to this Container and removes it from the Container to which it is currently linked.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations:link", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.destinations.link", +"parameterOrder": [ +"parent" +], +"parameters": { +"allowUserPermissionFeatureUpdate": { +"description": "Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.", +"location": "query", +"type": "boolean" +}, +"destinationId": { +"description": "Destination ID to be linked to the current container.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM parent Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/destinations:link", +"response": { +"$ref": "Destination" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"list": { +"description": "Lists all Destinations linked to a GTM Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/destinations", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.destinations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM parent Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/destinations", +"response": { +"$ref": "ListDestinationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +} +} +}, +"environments": { +"methods": { +"create": { +"description": "Creates a GTM Environment.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.environments.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/environments", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Environment.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.environments.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Environment's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Environment.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.environments.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Environment's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Environments of a GTM Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.environments.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/environments", +"response": { +"$ref": "ListEnvironmentsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"reauthorize": { +"description": "Re-generates the authorization code for a GTM Environment.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}:reauthorize", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.environments.reauthorize", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Environment's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:reauthorize", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.publish" +] +}, +"update": { +"description": "Updates a GTM Environment.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.environments.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the environment in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Environment's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Environment" +}, +"response": { +"$ref": "Environment" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"version_headers": { +"methods": { +"latest": { +"description": "Gets the latest container version header", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers:latest", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.version_headers.latest", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/version_headers:latest", +"response": { +"$ref": "ContainerVersionHeader" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Container Versions of a GTM Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.version_headers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"includeDeleted": { +"description": "Also retrieve deleted (archived) versions when true.", +"location": "query", +"type": "boolean" +}, +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/version_headers", +"response": { +"$ref": "ListContainerVersionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.edit.containerversions", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +} +} +}, +"versions": { +"methods": { +"delete": { +"description": "Deletes a Container Version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.versions.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"get": { +"description": "Gets a Container Version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.versions.get", +"parameterOrder": [ +"path" +], +"parameters": { +"containerVersionId": { +"description": "The GTM ContainerVersion ID. Specify published to retrieve the currently published version.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.edit.containerversions", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"live": { +"description": "Gets the live (i.e. published) container version", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions:live", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.versions.live", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/versions:live", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"publish": { +"description": "Publishes a Container Version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:publish", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.publish", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:publish", +"response": { +"$ref": "PublishContainerVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.publish" +] +}, +"set_latest": { +"description": "Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:set_latest", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.set_latest", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:set_latest", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"undelete": { +"description": "Undeletes a Container Version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:undelete", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.versions.undelete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:undelete", +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"update": { +"description": "Updates a Container Version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.versions.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the container version in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM ContainerVersion's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "ContainerVersion" +}, +"response": { +"$ref": "ContainerVersion" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +} +} +}, +"workspaces": { +"methods": { +"bulk_update": { +"description": "Applies multiple entity changes to a workspace in one call. When creating new entities, their entity IDs must be unique and in correct format. That is, they must start with \"new_\" and followed by number, e.g. \"new_1\", \"new_2\". Example body snippet to create myNewTag under myNewFolder is: ``` \"changes\": [ { \"folder\": { \"folderId\": \"new_1\", \"name\": \"myNewFolder\", ... }, \"changeStatus\": \"added\" }, { \"tag\": { \"tagId\": \"new_2\", \"name\": \"myNewTag\", \"parentFolderId\": \"new_1\", ... }, \"changeStatus\": \"added\" } ] ```", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/bulk_update", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.bulk_update", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}/bulk_update", +"request": { +"$ref": "ProposedChange" +}, +"response": { +"$ref": "BulkUpdateWorkspaceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"create": { +"description": "Creates a Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM parent Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/workspaces", +"request": { +"$ref": "Workspace" +}, +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"create_version": { +"description": "Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:create_version", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.create_version", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:create_version", +"request": { +"$ref": "CreateContainerVersionRequestVersionOptions" +}, +"response": { +"$ref": "CreateContainerVersionResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"delete": { +"description": "Deletes a Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.delete.containers" +] +}, +"get": { +"description": "Gets a Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"getStatus": { +"description": "Finds conflicting and modified entities in the workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/status", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.getStatus", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}/status", +"response": { +"$ref": "GetWorkspaceStatusResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Workspaces that belong to a GTM Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM parent Container's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/workspaces", +"response": { +"$ref": "ListWorkspacesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"quick_preview": { +"description": "Quick previews a workspace by creating a fake container version from all entities in the provided workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:quick_preview", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.quick_preview", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:quick_preview", +"response": { +"$ref": "QuickPreviewResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containerversions" +] +}, +"resolve_conflict": { +"description": "Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:resolve_conflict", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.resolve_conflict", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:resolve_conflict", +"request": { +"$ref": "Entity" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"sync": { +"description": "Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:sync", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.sync", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:sync", +"response": { +"$ref": "SyncWorkspaceResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the workspace in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Workspace" +}, +"response": { +"$ref": "Workspace" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +}, +"resources": { +"built_in_variables": { +"methods": { +"create": { +"description": "Creates one or more GTM Built-In Variables.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.built_in_variables.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "The types of built-in variables to enable.", +"enum": [ +"builtInVariableTypeUnspecified", +"pageUrl", +"pageHostname", +"pagePath", +"referrer", +"event", +"clickElement", +"clickClasses", +"clickId", +"clickTarget", +"clickUrl", +"clickText", +"firstPartyServingUrl", +"formElement", +"formClasses", +"formId", +"formTarget", +"formUrl", +"formText", +"errorMessage", +"errorUrl", +"errorLine", +"newHistoryUrl", +"oldHistoryUrl", +"newHistoryFragment", +"oldHistoryFragment", +"newHistoryState", +"oldHistoryState", +"historySource", +"containerVersion", +"debugMode", +"randomNumber", +"containerId", +"appId", +"appName", +"appVersionCode", +"appVersionName", +"language", +"osVersion", +"platform", +"sdkVersion", +"deviceName", +"resolution", +"advertiserId", +"advertisingTrackingEnabled", +"htmlId", +"environmentName", +"ampBrowserLanguage", +"ampCanonicalPath", +"ampCanonicalUrl", +"ampCanonicalHost", +"ampReferrer", +"ampTitle", +"ampClientId", +"ampClientTimezone", +"ampClientTimestamp", +"ampClientScreenWidth", +"ampClientScreenHeight", +"ampClientScrollX", +"ampClientScrollY", +"ampClientMaxScrollX", +"ampClientMaxScrollY", +"ampTotalEngagedTime", +"ampPageViewId", +"ampPageLoadTime", +"ampPageDownloadTime", +"ampGtmEvent", +"eventName", +"firebaseEventParameterCampaign", +"firebaseEventParameterCampaignAclid", +"firebaseEventParameterCampaignAnid", +"firebaseEventParameterCampaignClickTimestamp", +"firebaseEventParameterCampaignContent", +"firebaseEventParameterCampaignCp1", +"firebaseEventParameterCampaignGclid", +"firebaseEventParameterCampaignSource", +"firebaseEventParameterCampaignTerm", +"firebaseEventParameterCurrency", +"firebaseEventParameterDynamicLinkAcceptTime", +"firebaseEventParameterDynamicLinkLinkid", +"firebaseEventParameterNotificationMessageDeviceTime", +"firebaseEventParameterNotificationMessageId", +"firebaseEventParameterNotificationMessageName", +"firebaseEventParameterNotificationMessageTime", +"firebaseEventParameterNotificationTopic", +"firebaseEventParameterPreviousAppVersion", +"firebaseEventParameterPreviousOsVersion", +"firebaseEventParameterPrice", +"firebaseEventParameterProductId", +"firebaseEventParameterQuantity", +"firebaseEventParameterValue", +"videoProvider", +"videoUrl", +"videoTitle", +"videoDuration", +"videoPercent", +"videoVisible", +"videoStatus", +"videoCurrentTime", +"scrollDepthThreshold", +"scrollDepthUnits", +"scrollDepthDirection", +"elementVisibilityRatio", +"elementVisibilityTime", +"elementVisibilityFirstTime", +"elementVisibilityRecentTime", +"requestPath", +"requestMethod", +"clientName", +"queryString", +"serverPageLocationUrl", +"serverPageLocationPath", +"serverPageLocationHostname", +"visitorRegion", +"analyticsClientId", +"analyticsSessionId", +"analyticsSessionNumber" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"For web or mobile.", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/built_in_variables", +"response": { +"$ref": "CreateBuiltInVariableResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes one or more GTM Built-In Variables.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.built_in_variables.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM BuiltInVariable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/built_in_variables$", +"required": true, +"type": "string" +}, +"type": { +"description": "The types of built-in variables to delete.", +"enum": [ +"builtInVariableTypeUnspecified", +"pageUrl", +"pageHostname", +"pagePath", +"referrer", +"event", +"clickElement", +"clickClasses", +"clickId", +"clickTarget", +"clickUrl", +"clickText", +"firstPartyServingUrl", +"formElement", +"formClasses", +"formId", +"formTarget", +"formUrl", +"formText", +"errorMessage", +"errorUrl", +"errorLine", +"newHistoryUrl", +"oldHistoryUrl", +"newHistoryFragment", +"oldHistoryFragment", +"newHistoryState", +"oldHistoryState", +"historySource", +"containerVersion", +"debugMode", +"randomNumber", +"containerId", +"appId", +"appName", +"appVersionCode", +"appVersionName", +"language", +"osVersion", +"platform", +"sdkVersion", +"deviceName", +"resolution", +"advertiserId", +"advertisingTrackingEnabled", +"htmlId", +"environmentName", +"ampBrowserLanguage", +"ampCanonicalPath", +"ampCanonicalUrl", +"ampCanonicalHost", +"ampReferrer", +"ampTitle", +"ampClientId", +"ampClientTimezone", +"ampClientTimestamp", +"ampClientScreenWidth", +"ampClientScreenHeight", +"ampClientScrollX", +"ampClientScrollY", +"ampClientMaxScrollX", +"ampClientMaxScrollY", +"ampTotalEngagedTime", +"ampPageViewId", +"ampPageLoadTime", +"ampPageDownloadTime", +"ampGtmEvent", +"eventName", +"firebaseEventParameterCampaign", +"firebaseEventParameterCampaignAclid", +"firebaseEventParameterCampaignAnid", +"firebaseEventParameterCampaignClickTimestamp", +"firebaseEventParameterCampaignContent", +"firebaseEventParameterCampaignCp1", +"firebaseEventParameterCampaignGclid", +"firebaseEventParameterCampaignSource", +"firebaseEventParameterCampaignTerm", +"firebaseEventParameterCurrency", +"firebaseEventParameterDynamicLinkAcceptTime", +"firebaseEventParameterDynamicLinkLinkid", +"firebaseEventParameterNotificationMessageDeviceTime", +"firebaseEventParameterNotificationMessageId", +"firebaseEventParameterNotificationMessageName", +"firebaseEventParameterNotificationMessageTime", +"firebaseEventParameterNotificationTopic", +"firebaseEventParameterPreviousAppVersion", +"firebaseEventParameterPreviousOsVersion", +"firebaseEventParameterPrice", +"firebaseEventParameterProductId", +"firebaseEventParameterQuantity", +"firebaseEventParameterValue", +"videoProvider", +"videoUrl", +"videoTitle", +"videoDuration", +"videoPercent", +"videoVisible", +"videoStatus", +"videoCurrentTime", +"scrollDepthThreshold", +"scrollDepthUnits", +"scrollDepthDirection", +"elementVisibilityRatio", +"elementVisibilityTime", +"elementVisibilityFirstTime", +"elementVisibilityRecentTime", +"requestPath", +"requestMethod", +"clientName", +"queryString", +"serverPageLocationUrl", +"serverPageLocationPath", +"serverPageLocationHostname", +"visitorRegion", +"analyticsClientId", +"analyticsSessionId", +"analyticsSessionNumber" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"For web or mobile.", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"list": { +"description": "Lists all the enabled Built-In Variables of a GTM Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.built_in_variables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/built_in_variables", +"response": { +"$ref": "ListEnabledBuiltInVariablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Built-In Variables in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.built_in_variables.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM BuiltInVariable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +}, +"type": { +"description": "The type of built-in variable to revert.", +"enum": [ +"builtInVariableTypeUnspecified", +"pageUrl", +"pageHostname", +"pagePath", +"referrer", +"event", +"clickElement", +"clickClasses", +"clickId", +"clickTarget", +"clickUrl", +"clickText", +"firstPartyServingUrl", +"formElement", +"formClasses", +"formId", +"formTarget", +"formUrl", +"formText", +"errorMessage", +"errorUrl", +"errorLine", +"newHistoryUrl", +"oldHistoryUrl", +"newHistoryFragment", +"oldHistoryFragment", +"newHistoryState", +"oldHistoryState", +"historySource", +"containerVersion", +"debugMode", +"randomNumber", +"containerId", +"appId", +"appName", +"appVersionCode", +"appVersionName", +"language", +"osVersion", +"platform", +"sdkVersion", +"deviceName", +"resolution", +"advertiserId", +"advertisingTrackingEnabled", +"htmlId", +"environmentName", +"ampBrowserLanguage", +"ampCanonicalPath", +"ampCanonicalUrl", +"ampCanonicalHost", +"ampReferrer", +"ampTitle", +"ampClientId", +"ampClientTimezone", +"ampClientTimestamp", +"ampClientScreenWidth", +"ampClientScreenHeight", +"ampClientScrollX", +"ampClientScrollY", +"ampClientMaxScrollX", +"ampClientMaxScrollY", +"ampTotalEngagedTime", +"ampPageViewId", +"ampPageLoadTime", +"ampPageDownloadTime", +"ampGtmEvent", +"eventName", +"firebaseEventParameterCampaign", +"firebaseEventParameterCampaignAclid", +"firebaseEventParameterCampaignAnid", +"firebaseEventParameterCampaignClickTimestamp", +"firebaseEventParameterCampaignContent", +"firebaseEventParameterCampaignCp1", +"firebaseEventParameterCampaignGclid", +"firebaseEventParameterCampaignSource", +"firebaseEventParameterCampaignTerm", +"firebaseEventParameterCurrency", +"firebaseEventParameterDynamicLinkAcceptTime", +"firebaseEventParameterDynamicLinkLinkid", +"firebaseEventParameterNotificationMessageDeviceTime", +"firebaseEventParameterNotificationMessageId", +"firebaseEventParameterNotificationMessageName", +"firebaseEventParameterNotificationMessageTime", +"firebaseEventParameterNotificationTopic", +"firebaseEventParameterPreviousAppVersion", +"firebaseEventParameterPreviousOsVersion", +"firebaseEventParameterPrice", +"firebaseEventParameterProductId", +"firebaseEventParameterQuantity", +"firebaseEventParameterValue", +"videoProvider", +"videoUrl", +"videoTitle", +"videoDuration", +"videoPercent", +"videoVisible", +"videoStatus", +"videoCurrentTime", +"scrollDepthThreshold", +"scrollDepthUnits", +"scrollDepthDirection", +"elementVisibilityRatio", +"elementVisibilityTime", +"elementVisibilityFirstTime", +"elementVisibilityRecentTime", +"requestPath", +"requestMethod", +"clientName", +"queryString", +"serverPageLocationUrl", +"serverPageLocationPath", +"serverPageLocationHostname", +"visitorRegion", +"analyticsClientId", +"analyticsSessionId", +"analyticsSessionNumber" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"For web or mobile.", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"location": "query", +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}/built_in_variables:revert", +"response": { +"$ref": "RevertBuiltInVariableResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"clients": { +"methods": { +"create": { +"description": "Creates a GTM Client.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.clients.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/clients", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Client.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.clients.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Client's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Client.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.clients.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Client's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Clients of a GTM container workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.clients.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/clients", +"response": { +"$ref": "ListClientsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Client in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.clients.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the client in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Client's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertClientResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Client.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/clients/{clientsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.clients.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the client in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Client's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/clients/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Client" +}, +"response": { +"$ref": "Client" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"folders": { +"methods": { +"create": { +"description": "Creates a GTM Folder.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.folders.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/folders", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Folder.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.folders.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"entities": { +"description": "List all entities in a GTM Folder.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:entities", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.folders.entities", +"parameterOrder": [ +"path" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:entities", +"response": { +"$ref": "FolderEntities" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"get": { +"description": "Gets a GTM Folder.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.folders.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Folders of a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.folders.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/folders", +"response": { +"$ref": "ListFoldersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"move_entities_to_folder": { +"description": "Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:move_entities_to_folder", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +}, +"tagId": { +"description": "The tags to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +}, +"triggerId": { +"description": "The triggers to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +}, +"variableId": { +"description": "The variables to be moved to the folder.", +"location": "query", +"repeated": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:move_entities_to_folder", +"request": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"revert": { +"description": "Reverts changes to a GTM Folder in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.folders.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the tag in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertFolderResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Folder.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.folders.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the folder in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Folder's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Folder" +}, +"response": { +"$ref": "Folder" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"gtag_config": { +"methods": { +"create": { +"description": "Creates a Google tag config.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.gtag_config.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/gtag_config", +"request": { +"$ref": "GtagConfig" +}, +"response": { +"$ref": "GtagConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a Google tag config.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.gtag_config.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "Google tag config's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a Google tag config.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.gtag_config.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "Google tag config's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "GtagConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all Google tag configs in a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.gtag_config.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/gtag_config", +"response": { +"$ref": "ListGtagConfigResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"update": { +"description": "Updates a Google tag config.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/gtag_config/{gtag_configId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.gtag_config.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the config in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "Google tag config's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/gtag_config/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "GtagConfig" +}, +"response": { +"$ref": "GtagConfig" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"tags": { +"methods": { +"create": { +"description": "Creates a GTM Tag.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.tags.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/tags", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Tag.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.tags.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Tag's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Tag.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.tags.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Tag's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Tags of a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.tags.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/tags", +"response": { +"$ref": "ListTagsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Tag in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.tags.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of thetag in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Tag's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertTagResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Tag.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.tags.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the tag in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Tag's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Tag" +}, +"response": { +"$ref": "Tag" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"templates": { +"methods": { +"create": { +"description": "Creates a GTM Custom Template.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.templates.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/templates", +"request": { +"$ref": "CustomTemplate" +}, +"response": { +"$ref": "CustomTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Template.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.templates.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Custom Template's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Template.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.templates.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Custom Template's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "CustomTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"import_from_gallery": { +"description": "Imports a GTM Custom Template from Gallery.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates:import_from_gallery", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.templates.import_from_gallery", +"parameterOrder": [ +"parent" +], +"parameters": { +"acknowledgePermissions": { +"description": "Must be set to true to allow Gallery template to be imported into the workspace. If this bit is false, the import operation will fail.", +"location": "query", +"type": "boolean" +}, +"galleryOwner": { +"description": "Owner of the Gallery template to import", +"location": "query", +"type": "string" +}, +"galleryRepository": { +"description": "Repository of the Gallery template to import", +"location": "query", +"type": "string" +}, +"gallerySha": { +"description": "SHA version of the Gallery template to import. Defaulted to the latest SHA version if not provided.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/templates:import_from_gallery", +"response": { +"$ref": "CustomTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"list": { +"description": "Lists all GTM Templates of a GTM container workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.templates.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/templates", +"response": { +"$ref": "ListTemplatesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Template in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.templates.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the template in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Custom Template's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertTemplateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Template.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.templates.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the templates in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Custom Template's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "CustomTemplate" +}, +"response": { +"$ref": "CustomTemplate" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"transformations": { +"methods": { +"create": { +"description": "Creates a GTM Transformation.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.transformations.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/transformations", +"request": { +"$ref": "Transformation" +}, +"response": { +"$ref": "Transformation" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Transformation.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.transformations.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Transformation's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Transformation.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.transformations.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Transformation's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Transformation" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Transformations of a GTM container workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.transformations.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/transformations", +"response": { +"$ref": "ListTransformationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Transformation in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.transformations.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the transformation in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Transformation's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertTransformationResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Transformation.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.transformations.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the transformation in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Transformation's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Transformation" +}, +"response": { +"$ref": "Transformation" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"triggers": { +"methods": { +"create": { +"description": "Creates a GTM Trigger.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.triggers.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/triggers", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Trigger.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.triggers.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Trigger's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Trigger.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.triggers.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Trigger's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Triggers of a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.triggers.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/triggers", +"response": { +"$ref": "ListTriggersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Trigger in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.triggers.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Trigger's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertTriggerResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Trigger.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.triggers.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Trigger's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Trigger" +}, +"response": { +"$ref": "Trigger" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"variables": { +"methods": { +"create": { +"description": "Creates a GTM Variable.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.variables.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/variables", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Variable.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.variables.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Variable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Variable.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.variables.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Variable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Variables of a Container.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.variables.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/variables", +"response": { +"$ref": "ListVariablesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Variable in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.variables.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the variable in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Variable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertVariableResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Variable.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.variables.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the variable in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Variable's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Variable" +}, +"response": { +"$ref": "Variable" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +}, +"zones": { +"methods": { +"create": { +"description": "Creates a GTM Zone.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.zones.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/zones", +"request": { +"$ref": "Zone" +}, +"response": { +"$ref": "Zone" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"delete": { +"description": "Deletes a GTM Zone.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.containers.workspaces.zones.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Zone's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"get": { +"description": "Gets a GTM Zone.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.zones.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM Zone's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "Zone" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"list": { +"description": "Lists all GTM Zones of a GTM container workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones", +"httpMethod": "GET", +"id": "tagmanager.accounts.containers.workspaces.zones.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Workspace's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/zones", +"response": { +"$ref": "ListZonesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers", +"https://www.googleapis.com/auth/tagmanager.readonly" +] +}, +"revert": { +"description": "Reverts changes to a GTM Zone in a GTM Workspace.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}:revert", +"httpMethod": "POST", +"id": "tagmanager.accounts.containers.workspaces.zones.revert", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the zone in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Zone's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}:revert", +"response": { +"$ref": "RevertZoneResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +}, +"update": { +"description": "Updates a GTM Zone.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.containers.workspaces.zones.update", +"parameterOrder": [ +"path" +], +"parameters": { +"fingerprint": { +"description": "When provided, this fingerprint must match the fingerprint of the zone in storage.", +"location": "query", +"type": "string" +}, +"path": { +"description": "GTM Zone's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "Zone" +}, +"response": { +"$ref": "Zone" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.edit.containers" +] +} +} +} +} +} +} +}, +"user_permissions": { +"methods": { +"create": { +"description": "Creates a user's Account & Container access.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions", +"httpMethod": "POST", +"id": "tagmanager.accounts.user_permissions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/user_permissions", +"request": { +"$ref": "UserPermission" +}, +"response": { +"$ref": "UserPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"delete": { +"description": "Removes a user from the account, revoking access to it and all of its containers.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", +"httpMethod": "DELETE", +"id": "tagmanager.accounts.user_permissions.delete", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM UserPermission's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/user_permissions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"get": { +"description": "Gets a user's Account & Container access.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", +"httpMethod": "GET", +"id": "tagmanager.accounts.user_permissions.get", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM UserPermission's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/user_permissions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"response": { +"$ref": "UserPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"list": { +"description": "List all users that have access to the account along with Account and Container user access granted to each of them.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions", +"httpMethod": "GET", +"id": "tagmanager.accounts.user_permissions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageToken": { +"description": "Continuation token for fetching the next page of results.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "GTM Account's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+parent}/user_permissions", +"response": { +"$ref": "ListUserPermissionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +}, +"update": { +"description": "Updates a user's Account & Container access.", +"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}", +"httpMethod": "PUT", +"id": "tagmanager.accounts.user_permissions.update", +"parameterOrder": [ +"path" +], +"parameters": { +"path": { +"description": "GTM UserPermission's API relative path.", +"location": "path", +"pattern": "^accounts/[^/]+/user_permissions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "tagmanager/v2/{+path}", +"request": { +"$ref": "UserPermission" +}, +"response": { +"$ref": "UserPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/tagmanager.manage.users" +] +} +} +} +} +} +}, +"revision": "20251203", +"rootUrl": "https://tagmanager.googleapis.com/", +"schemas": { +"Account": { +"description": "Represents a Google Tag Manager Account.", +"id": "Account", +"properties": { +"accountId": { +"description": "The Account ID uniquely identifies the GTM Account.", +"type": "string" +}, +"features": { +"$ref": "AccountFeatures", +"description": "Read-only Account feature set" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.", +"type": "string" +}, +"name": { +"description": "Account display name.", +"type": "string" +}, +"path": { +"description": "GTM Account's API relative path.", +"type": "string" +}, +"shareData": { +"description": "Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the benchmarking service.", +"type": "boolean" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +} +}, +"type": "object" +}, +"AccountAccess": { +"description": "Defines the Google Tag Manager Account access permissions.", +"id": "AccountAccess", +"properties": { +"permission": { +"description": "Whether the user has no access, user access, or admin access to an account.", +"enum": [ +"accountPermissionUnspecified", +"noAccess", +"user", +"admin" +], +"enumDescriptions": [ +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"AccountFeatures": { +"id": "AccountFeatures", +"properties": { +"supportMultipleContainers": { +"description": "Whether this Account supports multiple Containers.", +"type": "boolean" +}, +"supportUserPermissions": { +"description": "Whether this Account supports user permissions managed by GTM.", +"type": "boolean" +} +}, +"type": "object" +}, +"BuiltInVariable": { +"description": "Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing properties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.", +"id": "BuiltInVariable", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"name": { +"description": "Name of the built-in variable to be used to refer to the built-in variable.", +"type": "string" +}, +"path": { +"description": "GTM BuiltInVariable's API relative path.", +"type": "string" +}, +"type": { +"description": "Type of built-in variable.", +"enum": [ +"builtInVariableTypeUnspecified", +"pageUrl", +"pageHostname", +"pagePath", +"referrer", +"event", +"clickElement", +"clickClasses", +"clickId", +"clickTarget", +"clickUrl", +"clickText", +"firstPartyServingUrl", +"formElement", +"formClasses", +"formId", +"formTarget", +"formUrl", +"formText", +"errorMessage", +"errorUrl", +"errorLine", +"newHistoryUrl", +"oldHistoryUrl", +"newHistoryFragment", +"oldHistoryFragment", +"newHistoryState", +"oldHistoryState", +"historySource", +"containerVersion", +"debugMode", +"randomNumber", +"containerId", +"appId", +"appName", +"appVersionCode", +"appVersionName", +"language", +"osVersion", +"platform", +"sdkVersion", +"deviceName", +"resolution", +"advertiserId", +"advertisingTrackingEnabled", +"htmlId", +"environmentName", +"ampBrowserLanguage", +"ampCanonicalPath", +"ampCanonicalUrl", +"ampCanonicalHost", +"ampReferrer", +"ampTitle", +"ampClientId", +"ampClientTimezone", +"ampClientTimestamp", +"ampClientScreenWidth", +"ampClientScreenHeight", +"ampClientScrollX", +"ampClientScrollY", +"ampClientMaxScrollX", +"ampClientMaxScrollY", +"ampTotalEngagedTime", +"ampPageViewId", +"ampPageLoadTime", +"ampPageDownloadTime", +"ampGtmEvent", +"eventName", +"firebaseEventParameterCampaign", +"firebaseEventParameterCampaignAclid", +"firebaseEventParameterCampaignAnid", +"firebaseEventParameterCampaignClickTimestamp", +"firebaseEventParameterCampaignContent", +"firebaseEventParameterCampaignCp1", +"firebaseEventParameterCampaignGclid", +"firebaseEventParameterCampaignSource", +"firebaseEventParameterCampaignTerm", +"firebaseEventParameterCurrency", +"firebaseEventParameterDynamicLinkAcceptTime", +"firebaseEventParameterDynamicLinkLinkid", +"firebaseEventParameterNotificationMessageDeviceTime", +"firebaseEventParameterNotificationMessageId", +"firebaseEventParameterNotificationMessageName", +"firebaseEventParameterNotificationMessageTime", +"firebaseEventParameterNotificationTopic", +"firebaseEventParameterPreviousAppVersion", +"firebaseEventParameterPreviousOsVersion", +"firebaseEventParameterPrice", +"firebaseEventParameterProductId", +"firebaseEventParameterQuantity", +"firebaseEventParameterValue", +"videoProvider", +"videoUrl", +"videoTitle", +"videoDuration", +"videoPercent", +"videoVisible", +"videoStatus", +"videoCurrentTime", +"scrollDepthThreshold", +"scrollDepthUnits", +"scrollDepthDirection", +"elementVisibilityRatio", +"elementVisibilityTime", +"elementVisibilityFirstTime", +"elementVisibilityRecentTime", +"requestPath", +"requestMethod", +"clientName", +"queryString", +"serverPageLocationUrl", +"serverPageLocationPath", +"serverPageLocationHostname", +"visitorRegion", +"analyticsClientId", +"analyticsSessionId", +"analyticsSessionNumber" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"For web or mobile.", +"", +"For web or mobile.", +"For web or mobile.", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"BulkUpdateWorkspaceResponse": { +"id": "BulkUpdateWorkspaceResponse", +"properties": { +"changes": { +"description": "The entities that were added or updated during the bulk-update. Does not include entities that were deleted or updated by the system.", +"items": { +"$ref": "Entity" +}, +"type": "array" +} +}, +"type": "object" +}, +"Client": { +"id": "Client", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"clientId": { +"description": "The Client ID uniquely identifies the GTM client.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Client as computed at storage time. This value is recomputed whenever the client is modified.", +"type": "string" +}, +"name": { +"description": "Client display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this tag in the container.", +"type": "string" +}, +"parameter": { +"description": "The client's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"path": { +"description": "GTM client's API relative path.", +"type": "string" +}, +"priority": { +"description": "Priority determines relative firing order.", +"format": "int32", +"type": "integer" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"type": { +"description": "Client type.", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"Condition": { +"description": "Represents a predicate.", +"id": "Condition", +"properties": { +"parameter": { +"description": "A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. ", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"type": { +"description": "The type of operator for this condition.", +"enum": [ +"conditionTypeUnspecified", +"equals", +"contains", +"startsWith", +"endsWith", +"matchRegex", +"greater", +"greaterOrEquals", +"less", +"lessOrEquals", +"cssSelector", +"urlMatches" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"Container": { +"description": "Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.", +"id": "Container", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "The Container ID uniquely identifies the GTM Container.", +"type": "string" +}, +"domainName": { +"description": "List of domain names associated with the Container.", +"items": { +"type": "string" +}, +"type": "array" +}, +"features": { +"$ref": "ContainerFeatures", +"description": "Read-only Container feature set." +}, +"fingerprint": { +"description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.", +"type": "string" +}, +"name": { +"description": "Container display name.", +"type": "string" +}, +"notes": { +"description": "Container Notes.", +"type": "string" +}, +"path": { +"description": "GTM Container's API relative path.", +"type": "string" +}, +"publicId": { +"description": "Container Public ID.", +"type": "string" +}, +"tagIds": { +"description": "All Tag IDs that refer to this Container.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"taggingServerUrls": { +"description": "List of server-side container URLs for the Container. If multiple URLs are provided, all URL paths must match.", +"items": { +"type": "string" +}, +"type": "array" +}, +"usageContext": { +"description": "List of Usage Contexts for the Container. Valid values include: web, android, or ios.", +"items": { +"enum": [ +"usageContextUnspecified", +"web", +"android", +"ios", +"androidSdk5", +"iosSdk5", +"amp", +"server" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContainerAccess": { +"description": "Defines the Google Tag Manager Container access permissions.", +"id": "ContainerAccess", +"properties": { +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"permission": { +"description": "List of Container permissions.", +"enum": [ +"containerPermissionUnspecified", +"noAccess", +"read", +"edit", +"approve", +"publish" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"" +], +"type": "string" +} +}, +"type": "object" +}, +"ContainerFeatures": { +"id": "ContainerFeatures", +"properties": { +"supportBuiltInVariables": { +"description": "Whether this Container supports built-in variables", +"type": "boolean" +}, +"supportClients": { +"description": "Whether this Container supports clients.", +"type": "boolean" +}, +"supportEnvironments": { +"description": "Whether this Container supports environments.", +"type": "boolean" +}, +"supportFolders": { +"description": "Whether this Container supports folders.", +"type": "boolean" +}, +"supportGtagConfigs": { +"description": "Whether this Container supports Google tag config.", +"type": "boolean" +}, +"supportTags": { +"description": "Whether this Container supports tags.", +"type": "boolean" +}, +"supportTemplates": { +"description": "Whether this Container supports templates.", +"type": "boolean" +}, +"supportTransformations": { +"description": "Whether this Container supports transformations.", +"type": "boolean" +}, +"supportTriggers": { +"description": "Whether this Container supports triggers.", +"type": "boolean" +}, +"supportUserPermissions": { +"description": "Whether this Container supports user permissions managed by GTM.", +"type": "boolean" +}, +"supportVariables": { +"description": "Whether this Container supports variables.", +"type": "boolean" +}, +"supportVersions": { +"description": "Whether this Container supports Container versions.", +"type": "boolean" +}, +"supportWorkspaces": { +"description": "Whether this Container supports workspaces.", +"type": "boolean" +}, +"supportZones": { +"description": "Whether this Container supports zones.", +"type": "boolean" +} +}, +"type": "object" +}, +"ContainerVersion": { +"description": "Represents a Google Tag Manager Container Version.", +"id": "ContainerVersion", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"builtInVariable": { +"description": "The built-in variables in the container that this version was taken from.", +"items": { +"$ref": "BuiltInVariable" +}, +"type": "array" +}, +"client": { +"description": "The clients in the container that this version was taken from.", +"items": { +"$ref": "Client" +}, +"type": "array" +}, +"container": { +"$ref": "Container", +"description": "The container that this version was taken from." +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"description": "The Container Version ID uniquely identifies the GTM Container Version.", +"type": "string" +}, +"customTemplate": { +"description": "The custom templates in the container that this version was taken from.", +"items": { +"$ref": "CustomTemplate" +}, +"type": "array" +}, +"deleted": { +"description": "A value of true indicates this container version has been deleted.", +"type": "boolean" +}, +"description": { +"description": "Container version description.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.", +"type": "string" +}, +"folder": { +"description": "The folders in the container that this version was taken from.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"gtagConfig": { +"description": "The Google tag configs in the container that this version was taken from.", +"items": { +"$ref": "GtagConfig" +}, +"type": "array" +}, +"name": { +"description": "Container version display name.", +"type": "string" +}, +"path": { +"description": "GTM Container Version's API relative path.", +"type": "string" +}, +"tag": { +"description": "The tags in the container that this version was taken from.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"transformation": { +"description": "The transformations in the container that this version was taken from.", +"items": { +"$ref": "Transformation" +}, +"type": "array" +}, +"trigger": { +"description": "The triggers in the container that this version was taken from.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"variable": { +"description": "The variables in the container that this version was taken from.", +"items": { +"$ref": "Variable" +}, +"type": "array" +}, +"zone": { +"description": "The zones in the container that this version was taken from.", +"items": { +"$ref": "Zone" +}, +"type": "array" +} +}, +"type": "object" +}, +"ContainerVersionHeader": { +"description": "Represents a Google Tag Manager Container Version Header.", +"id": "ContainerVersionHeader", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"description": "The Container Version ID uniquely identifies the GTM Container Version.", +"type": "string" +}, +"deleted": { +"description": "A value of true indicates this container version has been deleted.", +"type": "boolean" +}, +"name": { +"description": "Container version display name.", +"type": "string" +}, +"numClients": { +"description": "Number of clients in the container version.", +"type": "string" +}, +"numCustomTemplates": { +"description": "Number of custom templates in the container version.", +"type": "string" +}, +"numGtagConfigs": { +"description": "Number of Google tag configs in the container version.", +"type": "string" +}, +"numTags": { +"description": "Number of tags in the container version.", +"type": "string" +}, +"numTransformations": { +"description": "Number of transformations in the container version.", +"type": "string" +}, +"numTriggers": { +"description": "Number of triggers in the container version.", +"type": "string" +}, +"numVariables": { +"description": "Number of variables in the container version.", +"type": "string" +}, +"numZones": { +"description": "Number of zones in the container version.", +"type": "string" +}, +"path": { +"description": "GTM Container Version's API relative path.", +"type": "string" +} +}, +"type": "object" +}, +"CreateBuiltInVariableResponse": { +"id": "CreateBuiltInVariableResponse", +"properties": { +"builtInVariable": { +"description": "List of created built-in variables.", +"items": { +"$ref": "BuiltInVariable" +}, +"type": "array" +} +}, +"type": "object" +}, +"CreateContainerVersionRequestVersionOptions": { +"description": "Options for new container versions.", +"id": "CreateContainerVersionRequestVersionOptions", +"properties": { +"name": { +"description": "The name of the container version to be created.", +"type": "string" +}, +"notes": { +"description": "The notes of the container version to be created.", +"type": "string" +} +}, +"type": "object" +}, +"CreateContainerVersionResponse": { +"description": "Create container versions response.", +"id": "CreateContainerVersionResponse", +"properties": { +"compilerError": { +"description": "Compiler errors or not.", +"type": "boolean" +}, +"containerVersion": { +"$ref": "ContainerVersion", +"description": "The container version created." +}, +"newWorkspacePath": { +"description": "Auto generated workspace path created as a result of version creation. This field should only be populated if the created version was not a quick preview.", +"type": "string" +}, +"syncStatus": { +"$ref": "SyncStatus", +"description": "Whether version creation failed when syncing the workspace to the latest container version." +} +}, +"type": "object" +}, +"CustomTemplate": { +"description": "Represents a Google Tag Manager Custom Template's contents.", +"id": "CustomTemplate", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.", +"type": "string" +}, +"galleryReference": { +"$ref": "GalleryReference", +"description": "A reference to the Community Template Gallery entry." +}, +"name": { +"description": "Custom Template display name.", +"type": "string" +}, +"path": { +"description": "GTM Custom Template's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"templateData": { +"description": "The custom template in text format.", +"type": "string" +}, +"templateId": { +"description": "The Custom Template ID uniquely identifies the GTM custom template.", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"Destination": { +"description": "Represents a Google Tag Destination.", +"id": "Destination", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"destinationId": { +"description": "Destination ID.", +"type": "string" +}, +"destinationLinkId": { +"description": "The Destination link ID uniquely identifies the Destination.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.", +"type": "string" +}, +"name": { +"description": "Destination display name.", +"type": "string" +}, +"path": { +"description": "Destination's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI.", +"type": "string" +} +}, +"type": "object" +}, +"Entity": { +"description": "A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace.", +"id": "Entity", +"properties": { +"builtInVariable": { +"$ref": "BuiltInVariable", +"description": "The built in variable being represented by the entity." +}, +"changeStatus": { +"description": "Represents how the entity has been changed in the workspace.", +"enum": [ +"changeStatusUnspecified", +"none", +"added", +"deleted", +"updated" +], +"enumDescriptions": [ +"", +"The entity has never been changed.", +"The entity is added to the workspace.", +"The entity is deleted from the workspace.", +"The entity has been updated in the workspace." +], +"type": "string" +}, +"client": { +"$ref": "Client", +"description": "The client being represented by the entity." +}, +"customTemplate": { +"$ref": "CustomTemplate", +"description": "The custom template being represented by the entity." +}, +"folder": { +"$ref": "Folder", +"description": "The folder being represented by the entity." +}, +"gtagConfig": { +"$ref": "GtagConfig", +"description": "The gtag config being represented by the entity." +}, +"tag": { +"$ref": "Tag", +"description": "The tag being represented by the entity." +}, +"transformation": { +"$ref": "Transformation", +"description": "The transformation being represented by the entity." +}, +"trigger": { +"$ref": "Trigger", +"description": "The trigger being represented by the entity." +}, +"variable": { +"$ref": "Variable", +"description": "The variable being represented by the entity." +}, +"zone": { +"$ref": "Zone", +"description": "The zone being represented by the entity." +} +}, +"type": "object" +}, +"Environment": { +"description": "Represents a Google Tag Manager Environment. Note that a user can create, delete and update environments of type USER, but can only update the enable_debug and url fields of environments of other types.", +"id": "Environment", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"authorizationCode": { +"description": "The environment authorization code.", +"type": "string" +}, +"authorizationTimestamp": { +"description": "The last update time-stamp for the authorization code.", +"format": "google-datetime", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"containerVersionId": { +"description": "Represents a link to a container version.", +"type": "string" +}, +"description": { +"description": "The environment description. Can be set or changed only on USER type environments.", +"type": "string" +}, +"enableDebug": { +"description": "Whether or not to enable debug by default for the environment.", +"type": "boolean" +}, +"environmentId": { +"description": "GTM Environment ID uniquely identifies the GTM Environment.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM environment as computed at storage time. This value is recomputed whenever the environment is modified.", +"type": "string" +}, +"name": { +"description": "The environment display name. Can be set or changed only on USER type environments.", +"type": "string" +}, +"path": { +"description": "GTM Environment's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"type": { +"description": "The type of this environment.", +"enum": [ +"user", +"live", +"latest", +"workspace" +], +"enumDescriptions": [ +"Points to a user defined environment.", +"Points to the current live container version.", +"Points to the latest container version.", +"Automatically managed environment that points to a workspace preview or version created by a workspace." +], +"type": "string" +}, +"url": { +"description": "Default preview page url for the environment.", +"type": "string" +}, +"workspaceId": { +"description": "Represents a link to a quick preview of a workspace.", +"type": "string" +} +}, +"type": "object" +}, +"Folder": { +"description": "Represents a Google Tag Manager Folder.", +"id": "Folder", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.", +"type": "string" +}, +"folderId": { +"description": "The Folder ID uniquely identifies the GTM Folder.", +"type": "string" +}, +"name": { +"description": "Folder display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this folder in the container.", +"type": "string" +}, +"path": { +"description": "GTM Folder's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"FolderEntities": { +"description": "Represents a Google Tag Manager Folder's contents.", +"id": "FolderEntities", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"tag": { +"description": "The list of tags inside the folder.", +"items": { +"$ref": "Tag" +}, +"type": "array" +}, +"trigger": { +"description": "The list of triggers inside the folder.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +}, +"variable": { +"description": "The list of variables inside the folder.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"GalleryReference": { +"description": "Represents the link between a custom template and an entry on the Community Template Gallery site.", +"id": "GalleryReference", +"properties": { +"galleryTemplateId": { +"description": "ID for the gallery template that is generated once during first sync and travels with the template redirects.", +"type": "string" +}, +"host": { +"description": "The name of the host for the community gallery template.", +"type": "string" +}, +"isModified": { +"description": "If a user has manually edited the community gallery template.", +"type": "boolean" +}, +"owner": { +"description": "The name of the owner for the community gallery template.", +"type": "string" +}, +"repository": { +"description": "The name of the repository for the community gallery template.", +"type": "string" +}, +"signature": { +"description": "The signature of the community gallery template as computed at import time. This value is recomputed whenever the template is updated from the gallery.", +"type": "string" +}, +"templateDeveloperId": { +"description": "The developer id of the community gallery template. This value is set whenever the template is created from the gallery.", +"type": "string" +}, +"version": { +"description": "The version of the community gallery template.", +"type": "string" +} +}, +"type": "object" +}, +"GetContainerSnippetResponse": { +"id": "GetContainerSnippetResponse", +"properties": { +"containerConfig": { +"description": "Server container config param for manually provisioning a tagging server.", +"type": "string" +}, +"snippet": { +"description": "Tagging snippet for a Container.", +"type": "string" +} +}, +"type": "object" +}, +"GetWorkspaceStatusResponse": { +"description": "The changes that have occurred in the workspace since the base container version.", +"id": "GetWorkspaceStatusResponse", +"properties": { +"mergeConflict": { +"description": "The merge conflict after sync.", +"items": { +"$ref": "MergeConflict" +}, +"type": "array" +}, +"workspaceChange": { +"description": "Entities that have been changed in the workspace.", +"items": { +"$ref": "Entity" +}, +"type": "array" +} +}, +"type": "object" +}, +"GtagConfig": { +"description": "Represents a Google tag configuration.", +"id": "GtagConfig", +"properties": { +"accountId": { +"description": "Google tag account ID.", +"type": "string" +}, +"containerId": { +"description": "Google tag container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the Google tag config as computed at storage time. This value is recomputed whenever the config is modified.", +"type": "string" +}, +"gtagConfigId": { +"description": "The ID uniquely identifies the Google tag config.", +"type": "string" +}, +"parameter": { +"description": "The Google tag config's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"path": { +"description": "Google tag config's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"type": { +"description": "Google tag config type.", +"type": "string" +}, +"workspaceId": { +"description": "Google tag workspace ID. Only used by GTM containers. Set to 0 otherwise.", +"type": "string" +} +}, +"type": "object" +}, +"ListAccountsResponse": { +"description": "List Accounts Response.", +"id": "ListAccountsResponse", +"properties": { +"account": { +"description": "List of GTM Accounts that a user has access to.", +"items": { +"$ref": "Account" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListClientsResponse": { +"id": "ListClientsResponse", +"properties": { +"client": { +"description": "All GTM Clients of a GTM Container.", +"items": { +"$ref": "Client" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListContainerVersionsResponse": { +"description": "List container versions response.", +"id": "ListContainerVersionsResponse", +"properties": { +"containerVersionHeader": { +"description": "All container version headers of a GTM Container.", +"items": { +"$ref": "ContainerVersionHeader" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListContainersResponse": { +"description": "List Containers Response.", +"id": "ListContainersResponse", +"properties": { +"container": { +"description": "All Containers of a GTM Account.", +"items": { +"$ref": "Container" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListDestinationsResponse": { +"id": "ListDestinationsResponse", +"properties": { +"destination": { +"description": "All Destinations linked to a GTM Container.", +"items": { +"$ref": "Destination" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListEnabledBuiltInVariablesResponse": { +"description": "A list of enabled built-in variables.", +"id": "ListEnabledBuiltInVariablesResponse", +"properties": { +"builtInVariable": { +"description": "All GTM BuiltInVariables of a GTM container.", +"items": { +"$ref": "BuiltInVariable" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListEnvironmentsResponse": { +"description": "List Environments Response.", +"id": "ListEnvironmentsResponse", +"properties": { +"environment": { +"description": "All Environments of a GTM Container.", +"items": { +"$ref": "Environment" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListFoldersResponse": { +"description": "List Folders Response.", +"id": "ListFoldersResponse", +"properties": { +"folder": { +"description": "All GTM Folders of a GTM Container.", +"items": { +"$ref": "Folder" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGtagConfigResponse": { +"id": "ListGtagConfigResponse", +"properties": { +"gtagConfig": { +"description": "All Google tag configs in a Container.", +"items": { +"$ref": "GtagConfig" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListTagsResponse": { +"description": "List Tags Response.", +"id": "ListTagsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"tag": { +"description": "All GTM Tags of a GTM Container.", +"items": { +"$ref": "Tag" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTemplatesResponse": { +"id": "ListTemplatesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"template": { +"description": "All GTM Custom Templates of a GTM Container.", +"items": { +"$ref": "CustomTemplate" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTransformationsResponse": { +"id": "ListTransformationsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"transformation": { +"description": "All GTM Transformations of a GTM Container.", +"items": { +"$ref": "Transformation" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListTriggersResponse": { +"description": "List triggers response.", +"id": "ListTriggersResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"trigger": { +"description": "All GTM Triggers of a GTM Container.", +"items": { +"$ref": "Trigger" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListUserPermissionsResponse": { +"description": "List user permissions response.", +"id": "ListUserPermissionsResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"userPermission": { +"description": "All GTM UserPermissions of a GTM Account.", +"items": { +"$ref": "UserPermission" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListVariablesResponse": { +"description": "List Variables Response.", +"id": "ListVariablesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"variable": { +"description": "All GTM Variables of a GTM Container.", +"items": { +"$ref": "Variable" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkspacesResponse": { +"description": "A list of workspaces in a container.", +"id": "ListWorkspacesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"workspace": { +"description": "All Workspaces of a GTM Container.", +"items": { +"$ref": "Workspace" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListZonesResponse": { +"id": "ListZonesResponse", +"properties": { +"nextPageToken": { +"description": "Continuation token for fetching the next page of results.", +"type": "string" +}, +"zone": { +"description": "All GTM Zones of a GTM Container.", +"items": { +"$ref": "Zone" +}, +"type": "array" +} +}, +"type": "object" +}, +"MergeConflict": { +"description": "Represents a merge conflict.", +"id": "MergeConflict", +"properties": { +"entityInBaseVersion": { +"$ref": "Entity", +"description": "The base version entity (since the latest sync operation) that has conflicting changes compared to the workspace. If this field is missing, it means the workspace entity is deleted from the base version." +}, +"entityInWorkspace": { +"$ref": "Entity", +"description": "The workspace entity that has conflicting changes compared to the base version. If an entity is deleted in a workspace, it will still appear with a deleted change status." +} +}, +"type": "object" +}, +"Parameter": { +"description": "Represents a Google Tag Manager Parameter.", +"id": "Parameter", +"properties": { +"isWeakReference": { +"description": "Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations.", +"type": "boolean" +}, +"key": { +"description": "The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.", +"type": "string" +}, +"list": { +"description": "This list parameter's parameters (keys will be ignored).", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"map": { +"description": "This map parameter's parameters (must have keys; keys must be unique).", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"type": { +"description": "The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name ", +"enum": [ +"typeUnspecified", +"template", +"integer", +"boolean", +"list", +"map", +"triggerReference", +"tagReference" +], +"enumDescriptions": [ +"", +"May include variable references.", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"value": { +"description": "A parameter's value (may contain variable references). as appropriate to the specified type.", +"type": "string" +} +}, +"type": "object" +}, +"ProposedChange": { +"id": "ProposedChange", +"properties": { +"changes": { +"description": "The list of workspace changes to be applied.", +"items": { +"$ref": "Entity" +}, +"type": "array" +} +}, +"type": "object" +}, +"PublishContainerVersionResponse": { +"description": "Publish container version response.", +"id": "PublishContainerVersionResponse", +"properties": { +"compilerError": { +"description": "Compiler errors or not.", +"type": "boolean" +}, +"containerVersion": { +"$ref": "ContainerVersion", +"description": "The container version created." +} +}, +"type": "object" +}, +"QuickPreviewResponse": { +"description": "Response to quick previewing a workspace.", +"id": "QuickPreviewResponse", +"properties": { +"compilerError": { +"description": "Were there compiler errors or not.", +"type": "boolean" +}, +"containerVersion": { +"$ref": "ContainerVersion", +"description": "The quick previewed container version." +}, +"syncStatus": { +"$ref": "SyncStatus", +"description": "Whether quick previewing failed when syncing the workspace to the latest container version." +} +}, +"type": "object" +}, +"RevertBuiltInVariableResponse": { +"description": "The result of reverting a built-in variable in a workspace.", +"id": "RevertBuiltInVariableResponse", +"properties": { +"enabled": { +"description": "Whether the built-in variable is enabled after reversion.", +"type": "boolean" +} +}, +"type": "object" +}, +"RevertClientResponse": { +"description": "The result of reverting a client in a workspace.", +"id": "RevertClientResponse", +"properties": { +"client": { +"$ref": "Client", +"description": "Client as it appears in the latest container version since the last workspace synchronization operation. If no client is present, that means the client was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertFolderResponse": { +"description": "The result of reverting folder changes in a workspace.", +"id": "RevertFolderResponse", +"properties": { +"folder": { +"$ref": "Folder", +"description": "Folder as it appears in the latest container version since the last workspace synchronization operation. If no folder is present, that means the folder was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertTagResponse": { +"description": "The result of reverting a tag in a workspace.", +"id": "RevertTagResponse", +"properties": { +"tag": { +"$ref": "Tag", +"description": "Tag as it appears in the latest container version since the last workspace synchronization operation. If no tag is present, that means the tag was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertTemplateResponse": { +"description": "The result of reverting a template in a workspace.", +"id": "RevertTemplateResponse", +"properties": { +"template": { +"$ref": "CustomTemplate", +"description": "Template as it appears in the latest container version since the last workspace synchronization operation. If no template is present, that means the template was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertTransformationResponse": { +"description": "The result of reverting a transformation in a workspace.", +"id": "RevertTransformationResponse", +"properties": { +"transformation": { +"$ref": "Transformation", +"description": "Transformation as it appears in the latest container version since the last workspace synchronization operation. If no transformation is present, that means the transformation was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertTriggerResponse": { +"description": "The result of reverting a trigger in a workspace.", +"id": "RevertTriggerResponse", +"properties": { +"trigger": { +"$ref": "Trigger", +"description": "Trigger as it appears in the latest container version since the last workspace synchronization operation. If no trigger is present, that means the trigger was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertVariableResponse": { +"description": "The result of reverting a variable in a workspace.", +"id": "RevertVariableResponse", +"properties": { +"variable": { +"$ref": "Variable", +"description": "Variable as it appears in the latest container version since the last workspace synchronization operation. If no variable is present, that means the variable was deleted in the latest container version." +} +}, +"type": "object" +}, +"RevertZoneResponse": { +"description": "The result of reverting a zone in a workspace.", +"id": "RevertZoneResponse", +"properties": { +"zone": { +"$ref": "Zone", +"description": "Zone as it appears in the latest container version since the last workspace synchronization operation. If no zone is present, that means the zone was deleted in the latest container version." +} +}, +"type": "object" +}, +"SetupTag": { +"description": "Represents a reference to atag that fires before another tag in order to set up dependencies.", +"id": "SetupTag", +"properties": { +"stopOnSetupFailure": { +"description": "If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.", +"type": "boolean" +}, +"tagName": { +"description": "The name of the setup tag.", +"type": "string" +} +}, +"type": "object" +}, +"SyncStatus": { +"description": "The status of a workspace after synchronization.", +"id": "SyncStatus", +"properties": { +"mergeConflict": { +"description": "Synchornization operation detected a merge conflict.", +"type": "boolean" +}, +"syncError": { +"description": "An error occurred during the synchronization operation.", +"type": "boolean" +} +}, +"type": "object" +}, +"SyncWorkspaceResponse": { +"description": "A response after synchronizing the workspace to the latest container version.", +"id": "SyncWorkspaceResponse", +"properties": { +"mergeConflict": { +"description": "The merge conflict after sync. If this field is not empty, the sync is still treated as successful. But a version cannot be created until all conflicts are resolved.", +"items": { +"$ref": "MergeConflict" +}, +"type": "array" +}, +"syncStatus": { +"$ref": "SyncStatus", +"description": "Indicates whether synchronization caused a merge conflict or sync error." +} +}, +"type": "object" +}, +"Tag": { +"description": "Represents a Google Tag Manager Tag.", +"id": "Tag", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"blockingTriggerId": { +"description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.", +"items": { +"type": "string" +}, +"type": "array" +}, +"consentSettings": { +"$ref": "TagConsentSetting", +"description": "Consent settings of a tag." +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.", +"type": "string" +}, +"firingTriggerId": { +"description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.", +"items": { +"type": "string" +}, +"type": "array" +}, +"liveOnly": { +"description": "If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).", +"type": "boolean" +}, +"monitoringMetadata": { +"$ref": "Parameter", +"description": "A map of key-value pairs of tag metadata to be included in the event data for tag monitoring. Notes: - This parameter must be type MAP. - Each parameter in the map are type TEMPLATE, however cannot contain variable references. " +}, +"monitoringMetadataTagNameKey": { +"description": "If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified.", +"type": "string" +}, +"name": { +"description": "Tag display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this tag in the container.", +"type": "string" +}, +"parameter": { +"description": "The tag's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"path": { +"description": "GTM Tag's API relative path.", +"type": "string" +}, +"paused": { +"description": "Indicates whether the tag is paused, which prevents the tag from firing.", +"type": "boolean" +}, +"priority": { +"$ref": "Parameter", +"description": "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0." +}, +"scheduleEndMs": { +"description": "The end timestamp in milliseconds to schedule a tag.", +"format": "int64", +"type": "string" +}, +"scheduleStartMs": { +"description": "The start timestamp in milliseconds to schedule a tag.", +"format": "int64", +"type": "string" +}, +"setupTag": { +"description": "The list of setup tags. Currently we only allow one.", +"items": { +"$ref": "SetupTag" +}, +"type": "array" +}, +"tagFiringOption": { +"description": "Option to fire this tag.", +"enum": [ +"tagFiringOptionUnspecified", +"unlimited", +"oncePerEvent", +"oncePerLoad" +], +"enumDescriptions": [ +"", +"Tag can be fired multiple times per event.", +"Tag can only be fired per event but can be fired multiple times per load (e.g., app load or page load).", +"Tag can only be fired per load (e.g., app load or page load)." +], +"type": "string" +}, +"tagId": { +"description": "The Tag ID uniquely identifies the GTM Tag.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"teardownTag": { +"description": "The list of teardown tags. Currently we only allow one.", +"items": { +"$ref": "TeardownTag" +}, +"type": "array" +}, +"type": { +"description": "GTM Tag Type.", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"TagConsentSetting": { +"id": "TagConsentSetting", +"properties": { +"consentStatus": { +"description": "The tag's consent status. If set to NEEDED, the runtime will check that the consent types specified by the consent_type field have been granted.", +"enum": [ +"notSet", +"notNeeded", +"needed" +], +"enumDescriptions": [ +"Default value where user has not specified any setting on it.", +"Tag doesn't require any additional consent settings.", +"Tag requires additional consent settings." +], +"type": "string" +}, +"consentType": { +"$ref": "Parameter", +"description": "The type of consents to check for during tag firing if in the consent NEEDED state. This parameter must be of type LIST where each list item is of type STRING." +} +}, +"type": "object" +}, +"TeardownTag": { +"description": "Represents a tag that fires after another tag in order to tear down dependencies.", +"id": "TeardownTag", +"properties": { +"stopTeardownOnFailure": { +"description": "If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.", +"type": "boolean" +}, +"tagName": { +"description": "The name of the teardown tag.", +"type": "string" +} +}, +"type": "object" +}, +"Transformation": { +"description": "Represents a Google Tag Manager Transformation.", +"id": "Transformation", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Transformation as computed at storage time. This value is recomputed whenever the transformation is modified.", +"type": "string" +}, +"name": { +"description": "Transformation display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this transformation in the container.", +"type": "string" +}, +"parameter": { +"description": "The transformation's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"path": { +"description": "GTM transformation's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"transformationId": { +"description": "The Transformation ID uniquely identifies the GTM transformation.", +"type": "string" +}, +"type": { +"description": "Transformation type.", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"Trigger": { +"description": "Represents a Google Tag Manager Trigger", +"id": "Trigger", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"autoEventFilter": { +"description": "Used in the case of auto event tracking.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"checkValidation": { +"$ref": "Parameter", +"description": "Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers." +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"continuousTimeMinMilliseconds": { +"$ref": "Parameter", +"description": "A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger." +}, +"customEventFilter": { +"description": "Used in the case of custom event, which is fired iff all Conditions are true.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"eventName": { +"$ref": "Parameter", +"description": "Name of the GTM event that is fired. Only valid for Timer triggers." +}, +"filter": { +"description": "The trigger will only fire iff all Conditions are true.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.", +"type": "string" +}, +"horizontalScrollPercentageList": { +"$ref": "Parameter", +"description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers." +}, +"interval": { +"$ref": "Parameter", +"description": "Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers." +}, +"intervalSeconds": { +"$ref": "Parameter", +"description": "Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger." +}, +"limit": { +"$ref": "Parameter", +"description": "Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers." +}, +"maxTimerLengthSeconds": { +"$ref": "Parameter", +"description": "Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger." +}, +"name": { +"description": "Trigger display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this trigger in the container.", +"type": "string" +}, +"parameter": { +"description": "Additional parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"path": { +"description": "GTM Trigger's API relative path.", +"type": "string" +}, +"selector": { +"$ref": "Parameter", +"description": "A click trigger CSS selector (i.e. \"a\", \"button\" etc.). Only valid for AMP Click trigger." +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"totalTimeMinMilliseconds": { +"$ref": "Parameter", +"description": "A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger." +}, +"triggerId": { +"description": "The Trigger ID uniquely identifies the GTM Trigger.", +"type": "string" +}, +"type": { +"description": "Defines the data layer event that causes this trigger.", +"enum": [ +"eventTypeUnspecified", +"pageview", +"domReady", +"windowLoaded", +"customEvent", +"triggerGroup", +"init", +"consentInit", +"serverPageview", +"always", +"firebaseAppException", +"firebaseAppUpdate", +"firebaseCampaign", +"firebaseFirstOpen", +"firebaseInAppPurchase", +"firebaseNotificationDismiss", +"firebaseNotificationForeground", +"firebaseNotificationOpen", +"firebaseNotificationReceive", +"firebaseOsUpdate", +"firebaseSessionStart", +"firebaseUserEngagement", +"formSubmission", +"click", +"linkClick", +"jsError", +"historyChange", +"timer", +"ampClick", +"ampTimer", +"ampScroll", +"ampVisibility", +"youTubeVideo", +"scrollDepth", +"elementVisibility" +], +"enumDescriptions": [ +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"", +"" +], +"type": "string" +}, +"uniqueTriggerId": { +"$ref": "Parameter", +"description": "Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers." +}, +"verticalScrollPercentageList": { +"$ref": "Parameter", +"description": "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers." +}, +"visibilitySelector": { +"$ref": "Parameter", +"description": "A visibility trigger CSS selector (i.e. \"#id\"). Only valid for AMP Visibility trigger." +}, +"visiblePercentageMax": { +"$ref": "Parameter", +"description": "A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger." +}, +"visiblePercentageMin": { +"$ref": "Parameter", +"description": "A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger." +}, +"waitForTags": { +"$ref": "Parameter", +"description": "Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers." +}, +"waitForTagsTimeout": { +"$ref": "Parameter", +"description": "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers." +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"UserPermission": { +"description": "Represents a user's permissions to an account and its container.", +"id": "UserPermission", +"properties": { +"accountAccess": { +"$ref": "AccountAccess", +"description": "GTM Account access permissions." +}, +"accountId": { +"description": "The Account ID uniquely identifies the GTM Account.", +"type": "string" +}, +"containerAccess": { +"description": "GTM Container access permissions.", +"items": { +"$ref": "ContainerAccess" +}, +"type": "array" +}, +"emailAddress": { +"description": "User's email address.", +"type": "string" +}, +"path": { +"description": "GTM UserPermission's API relative path.", +"type": "string" +} +}, +"type": "object" +}, +"Variable": { +"description": "Represents a Google Tag Manager Variable.", +"id": "Variable", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"disablingTriggerId": { +"description": "For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"enablingTriggerId": { +"description": "For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.", +"type": "string" +}, +"formatValue": { +"$ref": "VariableFormatValue", +"description": "Option to convert a variable value to other value." +}, +"name": { +"description": "Variable display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this variable in the container.", +"type": "string" +}, +"parameter": { +"description": "The variable's parameters.", +"items": { +"$ref": "Parameter" +}, +"type": "array" +}, +"parentFolderId": { +"description": "Parent folder id.", +"type": "string" +}, +"path": { +"description": "GTM Variable's API relative path.", +"type": "string" +}, +"scheduleEndMs": { +"description": "The end timestamp in milliseconds to schedule a variable.", +"format": "int64", +"type": "string" +}, +"scheduleStartMs": { +"description": "The start timestamp in milliseconds to schedule a variable.", +"format": "int64", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"type": { +"description": "GTM Variable Type.", +"type": "string" +}, +"variableId": { +"description": "The Variable ID uniquely identifies the GTM Variable.", +"type": "string" +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +} +}, +"type": "object" +}, +"VariableFormatValue": { +"id": "VariableFormatValue", +"properties": { +"caseConversionType": { +"description": "The option to convert a string-type variable value to either lowercase or uppercase.", +"enum": [ +"none", +"lowercase", +"uppercase" +], +"enumDescriptions": [ +"", +"The option to convert a variable value to lowercase.", +"The option to convert a variable value to uppercase." +], +"type": "string" +}, +"convertFalseToValue": { +"$ref": "Parameter", +"description": "The value to convert if a variable value is false." +}, +"convertNullToValue": { +"$ref": "Parameter", +"description": "The value to convert if a variable value is null." +}, +"convertTrueToValue": { +"$ref": "Parameter", +"description": "The value to convert if a variable value is true." +}, +"convertUndefinedToValue": { +"$ref": "Parameter", +"description": "The value to convert if a variable value is undefined." +} +}, +"type": "object" +}, +"Workspace": { +"description": "Represents a Google Tag Manager Container Workspace.", +"id": "Workspace", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"description": { +"description": "Workspace description.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified.", +"type": "string" +}, +"name": { +"description": "Workspace display name.", +"type": "string" +}, +"path": { +"description": "GTM Workspace's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"workspaceId": { +"description": "The Workspace ID uniquely identifies the GTM Workspace.", +"type": "string" +} +}, +"type": "object" +}, +"Zone": { +"description": "Represents a Google Tag Manager Zone's contents.", +"id": "Zone", +"properties": { +"accountId": { +"description": "GTM Account ID.", +"type": "string" +}, +"boundary": { +"$ref": "ZoneBoundary", +"description": "This Zone's boundary." +}, +"childContainer": { +"description": "Containers that are children of this Zone.", +"items": { +"$ref": "ZoneChildContainer" +}, +"type": "array" +}, +"containerId": { +"description": "GTM Container ID.", +"type": "string" +}, +"fingerprint": { +"description": "The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified.", +"type": "string" +}, +"name": { +"description": "Zone display name.", +"type": "string" +}, +"notes": { +"description": "User notes on how to apply this zone in the container.", +"type": "string" +}, +"path": { +"description": "GTM Zone's API relative path.", +"type": "string" +}, +"tagManagerUrl": { +"description": "Auto generated link to the tag manager UI", +"type": "string" +}, +"typeRestriction": { +"$ref": "ZoneTypeRestriction", +"description": "This Zone's type restrictions." +}, +"workspaceId": { +"description": "GTM Workspace ID.", +"type": "string" +}, +"zoneId": { +"description": "The Zone ID uniquely identifies the GTM Zone.", +"type": "string" +} +}, +"type": "object" +}, +"ZoneBoundary": { +"description": "Represents a Zone's boundaries.", +"id": "ZoneBoundary", +"properties": { +"condition": { +"description": "The conditions that, when conjoined, make up the boundary.", +"items": { +"$ref": "Condition" +}, +"type": "array" +}, +"customEvaluationTriggerId": { +"description": "Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ZoneChildContainer": { +"description": "Represents a child container of a Zone.", +"id": "ZoneChildContainer", +"properties": { +"nickname": { +"description": "The zone's nickname for the child container.", +"type": "string" +}, +"publicId": { +"description": "The child container's public id.", +"type": "string" +} +}, +"type": "object" +}, +"ZoneTypeRestriction": { +"description": "Represents a Zone's type restrictions.", +"id": "ZoneTypeRestriction", +"properties": { +"enable": { +"description": "True if type restrictions have been enabled for this Zone.", +"type": "boolean" +}, +"whitelistedTypeId": { +"description": "List of type public ids that have been whitelisted for use in this Zone.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Tag Manager API", +"version": "v2" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/testing.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/testing.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..c369b7aa52435aace128529149ee5e3582f597c2 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/testing.v1.json @@ -0,0 +1,2929 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-platform.read-only": { +"description": "View your data across Google Cloud services and see the email address of your Google Account" +} +} +} +}, +"basePath": "", +"baseUrl": "https://testing.googleapis.com/", +"batchPath": "batch", +"description": "Allows developers to run automated tests for their mobile applications on Google infrastructure.", +"discoveryVersion": "v1", +"documentationLink": "https://firebase.google.com/docs/test-lab/", +"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": "testing:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://testing.mtls.googleapis.com/", +"name": "testing", +"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": { +"applicationDetailService": { +"methods": { +"getApkDetails": { +"description": "Gets the details of an Android application APK.", +"flatPath": "v1/applicationDetailService/getApkDetails", +"httpMethod": "POST", +"id": "testing.applicationDetailService.getApkDetails", +"parameterOrder": [], +"parameters": { +"bundleLocation.gcsPath": { +"description": "A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)", +"location": "query", +"type": "string" +} +}, +"path": "v1/applicationDetailService/getApkDetails", +"request": { +"$ref": "FileReference" +}, +"response": { +"$ref": "GetApkDetailsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"projects": { +"resources": { +"deviceSessions": { +"methods": { +"cancel": { +"description": "POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel Changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.", +"flatPath": "v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}:cancel", +"httpMethod": "POST", +"id": "testing.projects.deviceSessions.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/deviceSessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelDeviceSessionRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "POST /v1/projects/{project_id}/deviceSessions", +"flatPath": "v1/projects/{projectsId}/deviceSessions", +"httpMethod": "POST", +"id": "testing.projects.deviceSessions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The Compute Engine project under which this device will be allocated. \"projects/{project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deviceSessions", +"request": { +"$ref": "DeviceSession" +}, +"response": { +"$ref": "DeviceSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "GET /v1/projects/{project_id}/deviceSessions/{device_session_id} Return a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.", +"flatPath": "v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}", +"httpMethod": "GET", +"id": "testing.projects.deviceSessions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/deviceSessions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "DeviceSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "GET /v1/projects/{project_id}/deviceSessions Lists device Sessions owned by the project user.", +"flatPath": "v1/projects/{projectsId}/deviceSessions", +"httpMethod": "GET", +"id": "testing.projects.deviceSessions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. If specified, responses will be filtered by the given filter. Allowed fields are: session_state.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. The maximum number of DeviceSessions to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A continuation token for paging.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the parent to request, e.g. \"projects/{project_id}\"", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/deviceSessions", +"response": { +"$ref": "ListDeviceSessionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "PATCH /v1/projects/{projectId}/deviceSessions/deviceSessionId}:updateDeviceSession Updates the current device session to the fields described by the update_mask.", +"flatPath": "v1/projects/{projectsId}/deviceSessions/{deviceSessionsId}", +"httpMethod": "PATCH", +"id": "testing.projects.deviceSessions.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Optional. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"", +"location": "path", +"pattern": "^projects/[^/]+/deviceSessions/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "Required. The list of fields to update.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "DeviceSession" +}, +"response": { +"$ref": "DeviceSession" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"testMatrices": { +"methods": { +"cancel": { +"description": "Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist", +"flatPath": "v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel", +"httpMethod": "POST", +"id": "testing.projects.testMatrices.cancel", +"parameterOrder": [ +"projectId", +"testMatrixId" +], +"parameters": { +"projectId": { +"description": "Cloud project that owns the test.", +"location": "path", +"required": true, +"type": "string" +}, +"testMatrixId": { +"description": "Test matrix that will be canceled.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel", +"response": { +"$ref": "CancelTestMatrixResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. Execution creation happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices.", +"flatPath": "v1/projects/{projectId}/testMatrices", +"httpMethod": "POST", +"id": "testing.projects.testMatrices.create", +"parameterOrder": [ +"projectId" +], +"parameters": { +"projectId": { +"description": "The GCE project under which this job will run.", +"location": "path", +"required": true, +"type": "string" +}, +"requestId": { +"description": "A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.", +"location": "query", +"type": "string" +} +}, +"path": "v1/projects/{projectId}/testMatrices", +"request": { +"$ref": "TestMatrix" +}, +"response": { +"$ref": "TestMatrix" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may be added to the matrix at a later stage. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist", +"flatPath": "v1/projects/{projectId}/testMatrices/{testMatrixId}", +"httpMethod": "GET", +"id": "testing.projects.testMatrices.get", +"parameterOrder": [ +"projectId", +"testMatrixId" +], +"parameters": { +"projectId": { +"description": "Cloud project that owns the test matrix.", +"location": "path", +"required": true, +"type": "string" +}, +"testMatrixId": { +"description": "Unique test matrix id which was assigned by the service.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/projects/{projectId}/testMatrices/{testMatrixId}", +"response": { +"$ref": "TestMatrix" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +} +}, +"testEnvironmentCatalog": { +"methods": { +"get": { +"description": "Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred", +"flatPath": "v1/testEnvironmentCatalog/{environmentType}", +"httpMethod": "GET", +"id": "testing.testEnvironmentCatalog.get", +"parameterOrder": [ +"environmentType" +], +"parameters": { +"environmentType": { +"description": "Required. The type of environment that should be listed.", +"enum": [ +"ENVIRONMENT_TYPE_UNSPECIFIED", +"ANDROID", +"IOS", +"NETWORK_CONFIGURATION", +"PROVIDED_SOFTWARE", +"DEVICE_IP_BLOCKS" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"A device running a version of the Android OS.", +"A device running a version of iOS.", +"A network configuration to use when running a test.", +"The software environment provided by TestExecutionService.", +"The IP blocks used by devices in the test environment." +], +"location": "path", +"required": true, +"type": "string" +}, +"includeViewableModels": { +"description": "Optional. Whether to include viewable only models in the response. This is only applicable for Android models.", +"location": "query", +"type": "boolean" +}, +"projectId": { +"description": "For authorization, the cloud project requesting the TestEnvironmentCatalog.", +"location": "query", +"type": "string" +} +}, +"path": "v1/testEnvironmentCatalog/{environmentType}", +"response": { +"$ref": "TestEnvironmentCatalog" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-platform.read-only" +] +} +} +} +}, +"revision": "20251111", +"rootUrl": "https://testing.googleapis.com/", +"schemas": { +"Account": { +"description": "Identifies an account and how to log into it.", +"id": "Account", +"properties": { +"googleAuto": { +"$ref": "GoogleAuto", +"description": "An automatic google login account." +} +}, +"type": "object" +}, +"AndroidDevice": { +"description": "A single Android device.", +"id": "AndroidDevice", +"properties": { +"androidModelId": { +"description": "Required. The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"androidVersionId": { +"description": "Required. The id of the Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"locale": { +"description": "Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"orientation": { +"description": "Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +} +}, +"type": "object" +}, +"AndroidDeviceCatalog": { +"description": "The currently supported Android devices.", +"id": "AndroidDeviceCatalog", +"properties": { +"models": { +"description": "The set of supported Android device models.", +"items": { +"$ref": "AndroidModel" +}, +"type": "array" +}, +"runtimeConfiguration": { +"$ref": "AndroidRuntimeConfiguration", +"description": "The set of supported runtime configurations." +}, +"versions": { +"description": "The set of supported Android OS versions.", +"items": { +"$ref": "AndroidVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidDeviceList": { +"description": "A list of Android device configurations in which the test is to be executed.", +"id": "AndroidDeviceList", +"properties": { +"androidDevices": { +"description": "Required. A list of Android devices.", +"items": { +"$ref": "AndroidDevice" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidInstrumentationTest": { +"description": "A test of an Android application that can control an Android component independently of its normal lifecycle. Android instrumentation tests run an application APK and test APK inside the same process on a virtual or physical AndroidDevice. They also specify a test runner class, such as com.google.GoogleTestRunner, which can vary on the specific instrumentation framework chosen. See for more information on types of Android tests.", +"id": "AndroidInstrumentationTest", +"properties": { +"appApk": { +"$ref": "FileReference", +"description": "The APK for the application under test." +}, +"appBundle": { +"$ref": "AppBundle", +"description": "A multi-apk app bundle for the application under test." +}, +"appPackageId": { +"description": "The java package for the application under test. The default value is determined by examining the application's manifest.", +"type": "string" +}, +"orchestratorOption": { +"description": "The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher! ** Orchestrator offers the following benefits: - No shared state - Crashes are isolated - Logs are scoped per test See for more information about Android Test Orchestrator. If not set, the test will be run without the orchestrator.", +"enum": [ +"ORCHESTRATOR_OPTION_UNSPECIFIED", +"USE_ORCHESTRATOR", +"DO_NOT_USE_ORCHESTRATOR" +], +"enumDescriptions": [ +"Default value: the server will choose the mode. Currently implies that the test will run without the orchestrator. In the future, all instrumentation tests will be run with the orchestrator. Using the orchestrator is highly encouraged because of all the benefits it offers.", +"Run test using orchestrator. ** Only compatible with AndroidJUnitRunner version 1.1 or higher! ** Recommended.", +"Run test without using orchestrator." +], +"type": "string" +}, +"shardingOption": { +"$ref": "ShardingOption", +"description": "The option to run tests in multiple shards in parallel." +}, +"testApk": { +"$ref": "FileReference", +"description": "Required. The APK containing the test code to be executed." +}, +"testPackageId": { +"description": "The java package for the test to be executed. The default value is determined by examining the application's manifest.", +"type": "string" +}, +"testRunnerClass": { +"description": "The InstrumentationTestRunner class. The default value is determined by examining the application's manifest.", +"type": "string" +}, +"testTargets": { +"description": "Each target must be fully qualified with the package name or class name, in one of these formats: - \"package package_name\" - \"class package_name.class_name\" - \"class package_name.class_name#method_name\" If empty, all targets in the module will be run.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidMatrix": { +"description": "A set of Android device configuration permutations is defined by the the cross-product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored.", +"id": "AndroidMatrix", +"properties": { +"androidModelIds": { +"description": "Required. The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"items": { +"type": "string" +}, +"type": "array" +}, +"androidVersionIds": { +"description": "Required. The ids of the set of Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"items": { +"type": "string" +}, +"type": "array" +}, +"locales": { +"description": "Required. The set of locales the test device will enable for testing. Use the TestEnvironmentDiscoveryService to get supported options.", +"items": { +"type": "string" +}, +"type": "array" +}, +"orientations": { +"description": "Required. The set of orientations to test with. Use the TestEnvironmentDiscoveryService to get supported options.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidModel": { +"description": "A description of an Android device tests may be run on.", +"id": "AndroidModel", +"properties": { +"accessDeniedReasons": { +"description": "Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only.", +"items": { +"enum": [ +"ACCESS_DENIED_REASON_UNSPECIFIED", +"EULA_NOT_ACCEPTED" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The model is for viewing purposes only. Access and utilization require acceptance of an End User License Agreement (EULA)." +], +"type": "string" +}, +"type": "array" +}, +"brand": { +"description": "The company that this device is branded with. Example: \"Google\", \"Samsung\".", +"type": "string" +}, +"codename": { +"description": "The name of the industrial design. This corresponds to android.os.Build.DEVICE.", +"type": "string" +}, +"form": { +"description": "Whether this device is virtual or physical.", +"enum": [ +"DEVICE_FORM_UNSPECIFIED", +"VIRTUAL", +"PHYSICAL", +"EMULATOR" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"Android virtual device using Compute Engine native virtualization. Firebase Test Lab only.", +"Actual hardware.", +"Android virtual device using emulator in nested virtualization. Equivalent to Android Studio." +], +"type": "string" +}, +"formFactor": { +"description": "Whether this device is a phone, tablet, wearable, etc.", +"enum": [ +"DEVICE_FORM_FACTOR_UNSPECIFIED", +"PHONE", +"TABLET", +"WEARABLE", +"TV", +"AUTOMOTIVE", +"DESKTOP", +"XR" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"This device has the shape of a phone.", +"This device has the shape of a tablet.", +"This device has the shape of a watch or other wearable.", +"This device has a television form factor.", +"This device has an automotive form factor.", +"This device has a desktop form factor.", +"This device has an Extended Reality form factor." +], +"type": "string" +}, +"id": { +"description": "The unique opaque id for this model. Use this for invoking the TestExecutionService.", +"type": "string" +}, +"labInfo": { +"$ref": "LabInfo", +"description": "Output only. Lab info of this device.", +"readOnly": true +}, +"lowFpsVideoRecording": { +"description": "True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.", +"type": "boolean" +}, +"manufacturer": { +"description": "The manufacturer of this device.", +"type": "string" +}, +"name": { +"description": "The human-readable marketing name for this device model. Examples: \"Nexus 5\", \"Galaxy S5\".", +"type": "string" +}, +"perVersionInfo": { +"description": "Version-specific information of an Android model.", +"items": { +"$ref": "PerAndroidVersionInfo" +}, +"type": "array" +}, +"screenDensity": { +"description": "Screen density in DPI. This corresponds to ro.sf.lcd_density", +"format": "int32", +"type": "integer" +}, +"screenX": { +"description": "Screen size in the horizontal (X) dimension measured in pixels.", +"format": "int32", +"type": "integer" +}, +"screenY": { +"description": "Screen size in the vertical (Y) dimension measured in pixels.", +"format": "int32", +"type": "integer" +}, +"supportedAbis": { +"description": "The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. Elements are optionally prefixed by \"version_id:\" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.", +"items": { +"type": "string" +}, +"type": "array" +}, +"supportedVersionIds": { +"description": "The set of Android versions this device supports.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"thumbnailUrl": { +"description": "URL of a thumbnail image (photo) of the device.", +"type": "string" +} +}, +"type": "object" +}, +"AndroidRoboTest": { +"description": "A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes.", +"id": "AndroidRoboTest", +"properties": { +"appApk": { +"$ref": "FileReference", +"description": "The APK for the application under test." +}, +"appBundle": { +"$ref": "AppBundle", +"description": "A multi-apk app bundle for the application under test." +}, +"appInitialActivity": { +"description": "The initial activity that should be used to start the app.", +"type": "string" +}, +"appPackageId": { +"description": "The java package for the application under test. The default value is determined by examining the application's manifest.", +"type": "string" +}, +"maxDepth": { +"deprecated": true, +"description": "The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50.", +"format": "int32", +"type": "integer" +}, +"maxSteps": { +"deprecated": true, +"description": "The max number of steps Robo can execute. Default is no limit.", +"format": "int32", +"type": "integer" +}, +"roboDirectives": { +"description": "A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.", +"items": { +"$ref": "RoboDirective" +}, +"type": "array" +}, +"roboMode": { +"description": "The mode in which Robo should run. Most clients should allow the server to populate this field automatically.", +"enum": [ +"ROBO_MODE_UNSPECIFIED", +"ROBO_VERSION_1", +"ROBO_VERSION_2" +], +"enumDeprecated": [ +false, +false, +true +], +"enumDescriptions": [ +"This means that the server should choose the mode. Recommended.", +"Runs Robo in UIAutomator-only mode without app resigning", +"Deprecated: Use ROBO_VERSION_1 instead for all use cases. Runs Robo in standard Espresso with UIAutomator fallback" +], +"type": "string" +}, +"roboScript": { +"$ref": "FileReference", +"description": "A JSON file with a sequence of actions Robo should perform as a prologue for the crawl." +}, +"startingIntents": { +"description": "The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the main launcher activity must be provided explicitly).", +"items": { +"$ref": "RoboStartingIntent" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidRuntimeConfiguration": { +"description": "Android configuration that can be selected at the time a test is run.", +"id": "AndroidRuntimeConfiguration", +"properties": { +"locales": { +"description": "The set of available locales.", +"items": { +"$ref": "Locale" +}, +"type": "array" +}, +"orientations": { +"description": "The set of available orientations.", +"items": { +"$ref": "Orientation" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidTestLoop": { +"description": "A test of an Android Application with a Test Loop. The intent \\ will be implicitly added, since Games is the only user of this api, for the time being.", +"id": "AndroidTestLoop", +"properties": { +"appApk": { +"$ref": "FileReference", +"description": "The APK for the application under test." +}, +"appBundle": { +"$ref": "AppBundle", +"description": "A multi-apk app bundle for the application under test." +}, +"appPackageId": { +"description": "The java package for the application under test. The default is determined by examining the application's manifest.", +"type": "string" +}, +"scenarioLabels": { +"description": "The list of scenario labels that should be run during the test. The scenario labels should map to labels defined in the application's manifest. For example, player_experience and com.google.test.loops.player_experience add all of the loops labeled in the manifest with the com.google.test.loops.player_experience name to the execution. Scenarios can also be specified in the scenarios field.", +"items": { +"type": "string" +}, +"type": "array" +}, +"scenarios": { +"description": "The list of scenarios that should be run during the test. The default is all test loops, derived from the application's manifest.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"AndroidVersion": { +"description": "A version of the Android OS.", +"id": "AndroidVersion", +"properties": { +"apiLevel": { +"description": "The API level for this Android version. Examples: 18, 19.", +"format": "int32", +"type": "integer" +}, +"codeName": { +"description": "The code name for this Android version. Examples: \"JellyBean\", \"KitKat\".", +"type": "string" +}, +"distribution": { +"$ref": "Distribution", +"description": "Market share for this version." +}, +"id": { +"description": "An opaque id for this Android version. Use this id to invoke the TestExecutionService.", +"type": "string" +}, +"releaseDate": { +"$ref": "Date", +"description": "The date this Android version became available in the market." +}, +"tags": { +"description": "Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"versionString": { +"description": "A string representing this version of the Android OS. Examples: \"4.3\", \"4.4\".", +"type": "string" +} +}, +"type": "object" +}, +"Apk": { +"description": "An Android package file to install.", +"id": "Apk", +"properties": { +"location": { +"$ref": "FileReference", +"description": "The path to an APK to be installed on the device before the test begins." +}, +"packageName": { +"description": "The java package for the APK to be installed. Value is determined by examining the application's manifest.", +"type": "string" +} +}, +"type": "object" +}, +"ApkDetail": { +"description": "Android application details based on application manifest and archive contents.", +"id": "ApkDetail", +"properties": { +"apkManifest": { +"$ref": "ApkManifest" +} +}, +"type": "object" +}, +"ApkManifest": { +"description": "An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html", +"id": "ApkManifest", +"properties": { +"applicationLabel": { +"description": "User-readable name for the application.", +"type": "string" +}, +"intentFilters": { +"items": { +"$ref": "IntentFilter" +}, +"type": "array" +}, +"maxSdkVersion": { +"description": "Maximum API level on which the application is designed to run.", +"format": "int32", +"type": "integer" +}, +"metadata": { +"description": "Meta-data tags defined in the manifest.", +"items": { +"$ref": "Metadata" +}, +"type": "array" +}, +"minSdkVersion": { +"description": "Minimum API level required for the application to run.", +"format": "int32", +"type": "integer" +}, +"packageName": { +"description": "Full Java-style package name for this application, e.g. \"com.example.foo\".", +"type": "string" +}, +"services": { +"description": "Services contained in the tag.", +"items": { +"$ref": "Service" +}, +"type": "array" +}, +"targetSdkVersion": { +"description": "Specifies the API Level on which the application is designed to run.", +"format": "int32", +"type": "integer" +}, +"usesFeature": { +"description": "Feature usage tags defined in the manifest.", +"items": { +"$ref": "UsesFeature" +}, +"type": "array" +}, +"usesPermission": { +"items": { +"type": "string" +}, +"type": "array" +}, +"usesPermissionTags": { +"description": "Permissions declared to be used by the application", +"items": { +"$ref": "UsesPermissionTag" +}, +"type": "array" +}, +"versionCode": { +"description": "Version number used internally by the app.", +"format": "int64", +"type": "string" +}, +"versionName": { +"description": "Version number shown to users.", +"type": "string" +} +}, +"type": "object" +}, +"ApkSplits": { +"description": "A single dynamic feature apk.", +"id": "ApkSplits", +"properties": { +"bundleSplits": { +"description": "A list of .apk files generated by bundletool to install to the device under test as a single android app with adb install-multiple. If specified, requires one or more bundle_splits. The first split specified represents the base APK, while subsequent splits represent feature apks.", +"items": { +"$ref": "FileReference" +}, +"type": "array" +} +}, +"type": "object" +}, +"AppBundle": { +"description": "An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. See https://developer.android.com/guide/app-bundle/build for guidance on building App Bundles.", +"id": "AppBundle", +"properties": { +"apks": { +"$ref": "ApkSplits", +"description": ".apk files generated by bundletool to install as a single android app." +}, +"bundleLocation": { +"$ref": "FileReference", +"description": ".aab file representing the app bundle under test." +} +}, +"type": "object" +}, +"CancelDeviceSessionRequest": { +"description": "The request object for cancelling a Device Session.", +"id": "CancelDeviceSessionRequest", +"properties": {}, +"type": "object" +}, +"CancelTestMatrixResponse": { +"description": "Response containing the current state of the specified test matrix.", +"id": "CancelTestMatrixResponse", +"properties": { +"testState": { +"description": "The current rolled-up state of the test matrix. If this state is already final, then the cancelation request will have no effect.", +"enum": [ +"TEST_STATE_UNSPECIFIED", +"VALIDATING", +"PENDING", +"RUNNING", +"FINISHED", +"ERROR", +"UNSUPPORTED_ENVIRONMENT", +"INCOMPATIBLE_ENVIRONMENT", +"INCOMPATIBLE_ARCHITECTURE", +"CANCELLED", +"INVALID" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The execution or matrix is being validated.", +"The execution or matrix is waiting for resources to become available.", +"The execution is currently being processed. Can only be set on an execution.", +"The execution or matrix has terminated normally. On a matrix this means that the matrix level processing completed normally, but individual executions may be in an ERROR state.", +"The execution or matrix has stopped because it encountered an infrastructure failure.", +"The execution was not run because it corresponds to a unsupported environment. Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested environment. Example: requested AndroidVersion is lower than APK's minSdkVersion Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested architecture. Example: requested device does not support running the native code in the supplied APK Can only be set on an execution.", +"The user cancelled the execution. Can only be set on an execution.", +"The execution or matrix was not run because the provided inputs are not valid. Examples: input file is not of the expected type, is malformed/corrupt, or was flagged as malware" +], +"type": "string" +} +}, +"type": "object" +}, +"ClientInfo": { +"description": "Information about the client which invoked the test.", +"id": "ClientInfo", +"properties": { +"clientInfoDetails": { +"description": "The list of detailed information about client.", +"items": { +"$ref": "ClientInfoDetail" +}, +"type": "array" +}, +"name": { +"description": "Required. Client name, such as gcloud.", +"type": "string" +} +}, +"type": "object" +}, +"ClientInfoDetail": { +"description": "Key-value pair of detailed information about the client which invoked the test. Examples: {'Version', '1.0'}, {'Release Track', 'BETA'}.", +"id": "ClientInfoDetail", +"properties": { +"key": { +"description": "Required. The key of detailed client information.", +"type": "string" +}, +"value": { +"description": "Required. The value of detailed client information.", +"type": "string" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"DeviceFile": { +"description": "A single device file description.", +"id": "DeviceFile", +"properties": { +"obbFile": { +"$ref": "ObbFile", +"description": "A reference to an opaque binary blob file." +}, +"regularFile": { +"$ref": "RegularFile", +"description": "A reference to a regular file." +} +}, +"type": "object" +}, +"DeviceIpBlock": { +"description": "A single device IP block", +"id": "DeviceIpBlock", +"properties": { +"addedDate": { +"$ref": "Date", +"description": "The date this block was added to Firebase Test Lab" +}, +"block": { +"description": "An IP address block in CIDR notation eg: 34.68.194.64/29", +"type": "string" +}, +"form": { +"description": "Whether this block is used by physical or virtual devices", +"enum": [ +"DEVICE_FORM_UNSPECIFIED", +"VIRTUAL", +"PHYSICAL", +"EMULATOR" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"Android virtual device using Compute Engine native virtualization. Firebase Test Lab only.", +"Actual hardware.", +"Android virtual device using emulator in nested virtualization. Equivalent to Android Studio." +], +"type": "string" +} +}, +"type": "object" +}, +"DeviceIpBlockCatalog": { +"description": "List of IP blocks used by the Firebase Test Lab", +"id": "DeviceIpBlockCatalog", +"properties": { +"ipBlocks": { +"description": "The device IP blocks used by Firebase Test Lab", +"items": { +"$ref": "DeviceIpBlock" +}, +"type": "array" +} +}, +"type": "object" +}, +"DeviceSession": { +"description": "Protobuf message describing the device message, used from several RPCs.", +"id": "DeviceSession", +"properties": { +"activeStartTime": { +"description": "Output only. The timestamp that the session first became ACTIVE.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"androidDevice": { +"$ref": "AndroidDevice", +"description": "Required. The requested device" +}, +"createTime": { +"description": "Output only. The time that the Session was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The title of the DeviceSession to be presented in the UI.", +"readOnly": true, +"type": "string" +}, +"expireTime": { +"description": "Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.", +"format": "google-datetime", +"type": "string" +}, +"inactivityTimeout": { +"description": "Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Optional. Name of the DeviceSession, e.g. \"projects/{project_id}/deviceSessions/{session_id}\"", +"type": "string" +}, +"state": { +"description": "Output only. Current state of the DeviceSession.", +"enum": [ +"SESSION_STATE_UNSPECIFIED", +"REQUESTED", +"PENDING", +"ACTIVE", +"EXPIRED", +"FINISHED", +"UNAVAILABLE", +"ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Initial state of a session request. The session is being validated for correctness and a device is not yet requested.", +"The session has been validated and is in the queue for a device.", +"The session has been granted and the device is accepting connections.", +"The session duration exceeded the device\u2019s reservation time period and timed out automatically.", +"The user is finished with the session and it was canceled by the user while the request was still getting allocated or after allocation and during device usage period.", +"Unable to complete the session because the device was unavailable and it failed to allocate through the scheduler. For example, a device not in the catalog was requested or the request expired in the allocation queue.", +"Unable to complete the session for an internal reason, such as an infrastructure failure." +], +"readOnly": true, +"type": "string" +}, +"stateHistories": { +"description": "Output only. The historical state transitions of the session_state message including the current session state.", +"items": { +"$ref": "SessionStateEvent" +}, +"readOnly": true, +"type": "array" +}, +"ttl": { +"description": "Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"DirectAccessVersionInfo": { +"description": "Denotes whether Direct Access is supported, and by which client versions. DirectAccessService is currently available as a preview to select developers. You can register today on behalf of you and your team at https://developer.android.com/studio/preview/android-device-streaming", +"id": "DirectAccessVersionInfo", +"properties": { +"directAccessSupported": { +"description": "Whether direct access is supported at all. Clients are expected to filter down the device list to only android models and versions which support Direct Access when that is the user intent.", +"type": "boolean" +}, +"minimumAndroidStudioVersion": { +"description": "Output only. Indicates client-device compatibility, where a device is known to work only with certain workarounds implemented in the Android Studio client. Expected format \"major.minor.micro.patch\", e.g. \"5921.22.2211.8881706\".", +"type": "string" +} +}, +"type": "object" +}, +"Distribution": { +"description": "Data about the relative number of devices running a given configuration of the Android platform.", +"id": "Distribution", +"properties": { +"marketShare": { +"description": "Output only. The estimated fraction (0-1) of the total market with this configuration.", +"format": "double", +"type": "number" +}, +"measurementTime": { +"description": "Output only. The time this distribution was measured.", +"format": "google-datetime", +"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" +}, +"Environment": { +"description": "The environment in which the test is run.", +"id": "Environment", +"properties": { +"androidDevice": { +"$ref": "AndroidDevice", +"description": "An Android device which must be used with an Android test." +}, +"iosDevice": { +"$ref": "IosDevice", +"description": "An iOS device which must be used with an iOS test." +} +}, +"type": "object" +}, +"EnvironmentMatrix": { +"description": "The matrix of environments in which the test is to be executed.", +"id": "EnvironmentMatrix", +"properties": { +"androidDeviceList": { +"$ref": "AndroidDeviceList", +"description": "A list of Android devices; the test will be run only on the specified devices." +}, +"androidMatrix": { +"$ref": "AndroidMatrix", +"description": "A matrix of Android devices." +}, +"iosDeviceList": { +"$ref": "IosDeviceList", +"description": "A list of iOS devices." +} +}, +"type": "object" +}, +"EnvironmentVariable": { +"description": "A key-value pair passed as an environment variable to the test.", +"id": "EnvironmentVariable", +"properties": { +"key": { +"description": "Key for the environment variable.", +"type": "string" +}, +"value": { +"description": "Value for the environment variable.", +"type": "string" +} +}, +"type": "object" +}, +"FileReference": { +"description": "A reference to a file, used for user inputs.", +"id": "FileReference", +"properties": { +"gcsPath": { +"description": "A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding)", +"type": "string" +} +}, +"type": "object" +}, +"GetApkDetailsResponse": { +"description": "Response containing the details of the specified Android application.", +"id": "GetApkDetailsResponse", +"properties": { +"apkDetail": { +"$ref": "ApkDetail", +"description": "Details of the Android App." +} +}, +"type": "object" +}, +"GoogleAuto": { +"description": "Enables automatic Google account login. If set, the service automatically generates a Google test account and adds it to the device, before executing the test. Note that test accounts might be reused. Many applications show their full set of functionalities when an account is present on the device. Logging into the device with these generated accounts allows testing more functionalities.", +"id": "GoogleAuto", +"properties": {}, +"type": "object" +}, +"GoogleCloudStorage": { +"description": "A storage location within Google cloud storage (GCS).", +"id": "GoogleCloudStorage", +"properties": { +"gcsPath": { +"description": "Required. The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path.", +"type": "string" +} +}, +"type": "object" +}, +"IntentFilter": { +"description": "The section of an tag. https://developer.android.com/guide/topics/manifest/intent-filter-element.html", +"id": "IntentFilter", +"properties": { +"actionNames": { +"description": "The android:name value of the tag.", +"items": { +"type": "string" +}, +"type": "array" +}, +"categoryNames": { +"description": "The android:name value of the tag.", +"items": { +"type": "string" +}, +"type": "array" +}, +"mimeType": { +"description": "The android:mimeType value of the tag.", +"type": "string" +} +}, +"type": "object" +}, +"IosDevice": { +"description": "A single iOS device.", +"id": "IosDevice", +"properties": { +"iosModelId": { +"description": "Required. The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"iosVersionId": { +"description": "Required. The id of the iOS major software version to be used. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"locale": { +"description": "Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +}, +"orientation": { +"description": "Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options.", +"type": "string" +} +}, +"type": "object" +}, +"IosDeviceCatalog": { +"description": "The currently supported iOS devices.", +"id": "IosDeviceCatalog", +"properties": { +"models": { +"description": "The set of supported iOS device models.", +"items": { +"$ref": "IosModel" +}, +"type": "array" +}, +"runtimeConfiguration": { +"$ref": "IosRuntimeConfiguration", +"description": "The set of supported runtime configurations." +}, +"versions": { +"description": "The set of supported iOS software versions.", +"items": { +"$ref": "IosVersion" +}, +"type": "array" +}, +"xcodeVersions": { +"description": "The set of supported Xcode versions.", +"items": { +"$ref": "XcodeVersion" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosDeviceFile": { +"description": "A file or directory to install on the device before the test starts.", +"id": "IosDeviceFile", +"properties": { +"bundleId": { +"description": "The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device.", +"type": "string" +}, +"content": { +"$ref": "FileReference", +"description": "The source file" +}, +"devicePath": { +"description": "Location of the file on the device, inside the app's sandboxed filesystem", +"type": "string" +} +}, +"type": "object" +}, +"IosDeviceList": { +"description": "A list of iOS device configurations in which the test is to be executed.", +"id": "IosDeviceList", +"properties": { +"iosDevices": { +"description": "Required. A list of iOS devices.", +"items": { +"$ref": "IosDevice" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosModel": { +"description": "A description of an iOS device tests may be run on.", +"id": "IosModel", +"properties": { +"deviceCapabilities": { +"description": "Device capabilities. Copied from https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html", +"items": { +"type": "string" +}, +"type": "array" +}, +"formFactor": { +"description": "Whether this device is a phone, tablet, wearable, etc.", +"enum": [ +"DEVICE_FORM_FACTOR_UNSPECIFIED", +"PHONE", +"TABLET", +"WEARABLE", +"TV", +"AUTOMOTIVE", +"DESKTOP", +"XR" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"This device has the shape of a phone.", +"This device has the shape of a tablet.", +"This device has the shape of a watch or other wearable.", +"This device has a television form factor.", +"This device has an automotive form factor.", +"This device has a desktop form factor.", +"This device has an Extended Reality form factor." +], +"type": "string" +}, +"id": { +"description": "The unique opaque id for this model. Use this for invoking the TestExecutionService.", +"type": "string" +}, +"name": { +"description": "The human-readable name for this device model. Examples: \"iPhone 4s\", \"iPad Mini 2\".", +"type": "string" +}, +"perVersionInfo": { +"description": "Version-specific information of an iOS model.", +"items": { +"$ref": "PerIosVersionInfo" +}, +"type": "array" +}, +"screenDensity": { +"description": "Screen density in DPI.", +"format": "int32", +"type": "integer" +}, +"screenX": { +"description": "Screen size in the horizontal (X) dimension measured in pixels.", +"format": "int32", +"type": "integer" +}, +"screenY": { +"description": "Screen size in the vertical (Y) dimension measured in pixels.", +"format": "int32", +"type": "integer" +}, +"supportedVersionIds": { +"description": "The set of iOS major software versions this device supports.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosRoboTest": { +"description": "A test that explores an iOS application on an iOS device.", +"id": "IosRoboTest", +"properties": { +"appBundleId": { +"description": "The bundle ID for the app-under-test. This is determined by examining the application's \"Info.plist\" file.", +"type": "string" +}, +"appIpa": { +"$ref": "FileReference", +"description": "Required. The ipa stored at this file should be used to run the test." +}, +"roboScript": { +"$ref": "FileReference", +"description": "An optional Roboscript to customize the crawl. See https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for more information about Roboscripts. The maximum allowed file size of the roboscript is 10MiB." +} +}, +"type": "object" +}, +"IosRuntimeConfiguration": { +"description": "iOS configuration that can be selected at the time a test is run.", +"id": "IosRuntimeConfiguration", +"properties": { +"locales": { +"description": "The set of available locales.", +"items": { +"$ref": "Locale" +}, +"type": "array" +}, +"orientations": { +"description": "The set of available orientations.", +"items": { +"$ref": "Orientation" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosTestLoop": { +"description": "A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially.", +"id": "IosTestLoop", +"properties": { +"appBundleId": { +"description": "Output only. The bundle id for the application under test.", +"type": "string" +}, +"appIpa": { +"$ref": "FileReference", +"description": "Required. The .ipa of the application to test." +}, +"scenarios": { +"description": "The list of scenarios that should be run during the test. Defaults to the single scenario 0 if unspecified.", +"items": { +"format": "int32", +"type": "integer" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosTestSetup": { +"description": "A description of how to set up an iOS device prior to running the test.", +"id": "IosTestSetup", +"properties": { +"additionalIpas": { +"description": "iOS apps to install in addition to those being directly tested.", +"items": { +"$ref": "FileReference" +}, +"type": "array" +}, +"networkProfile": { +"description": "The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.", +"type": "string" +}, +"pullDirectories": { +"description": "List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (such as /private/var/mobile/Media) or within an accessible directory inside the app's filesystem (such as /Documents) by specifying the bundle ID.", +"items": { +"$ref": "IosDeviceFile" +}, +"type": "array" +}, +"pushFiles": { +"description": "List of files to push to the device before starting the test.", +"items": { +"$ref": "IosDeviceFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosVersion": { +"description": "An iOS version.", +"id": "IosVersion", +"properties": { +"id": { +"description": "An opaque id for this iOS version. Use this id to invoke the TestExecutionService.", +"type": "string" +}, +"majorVersion": { +"description": "An integer representing the major iOS version. Examples: \"8\", \"9\".", +"format": "int32", +"type": "integer" +}, +"minorVersion": { +"description": "An integer representing the minor iOS version. Examples: \"1\", \"2\".", +"format": "int32", +"type": "integer" +}, +"supportedXcodeVersionIds": { +"description": "The available Xcode versions for this version.", +"items": { +"type": "string" +}, +"type": "array" +}, +"tags": { +"description": "Tags for this dimension. Examples: \"default\", \"preview\", \"deprecated\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"IosXcTest": { +"description": "A test of an iOS application that uses the XCTest framework. Xcode supports the option to \"build for testing\", which generates an .xctestrun file that contains a test specification (arguments, test methods, etc). This test type accepts a zip file containing the .xctestrun file and the corresponding contents of the Build/Products directory that contains all the binaries needed to run the tests.", +"id": "IosXcTest", +"properties": { +"appBundleId": { +"description": "Output only. The bundle id for the application under test.", +"type": "string" +}, +"testSpecialEntitlements": { +"description": "The option to test special app entitlements. Setting this would re-sign the app having special entitlements with an explicit application-identifier. Currently supports testing aps-environment entitlement.", +"type": "boolean" +}, +"testsZip": { +"$ref": "FileReference", +"description": "Required. The .zip containing the .xctestrun file and the contents of the DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the xctestrun field is specified." +}, +"xcodeVersion": { +"description": "The Xcode version that should be used for the test. Use the TestEnvironmentDiscoveryService to get supported options. Defaults to the latest Xcode version Firebase Test Lab supports.", +"type": "string" +}, +"xctestrun": { +"$ref": "FileReference", +"description": "An .xctestrun file that will override the .xctestrun file in the tests zip. Because the .xctestrun file contains environment variables along with test methods to run and/or ignore, this can be useful for sharding tests. Default is taken from the tests zip." +} +}, +"type": "object" +}, +"LabInfo": { +"description": "Lab specific information for a device.", +"id": "LabInfo", +"properties": { +"name": { +"description": "Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.", +"type": "string" +}, +"regionCode": { +"description": "The Unicode country/region code (CLDR) of the lab where the device is hosted. E.g. \"US\" for United States, \"CH\" for Switzerland.", +"type": "string" +} +}, +"type": "object" +}, +"LauncherActivityIntent": { +"description": "Specifies an intent that starts the main launcher activity.", +"id": "LauncherActivityIntent", +"properties": {}, +"type": "object" +}, +"ListDeviceSessionsResponse": { +"description": "A list of device sessions.", +"id": "ListDeviceSessionsResponse", +"properties": { +"deviceSessions": { +"description": "The sessions matching the specified filter in the given cloud project.", +"items": { +"$ref": "DeviceSession" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"Locale": { +"description": "A location/region designation for language.", +"id": "Locale", +"properties": { +"id": { +"description": "The id for this locale. Example: \"en_US\".", +"type": "string" +}, +"name": { +"description": "A human-friendly name for this language/locale. Example: \"English\".", +"type": "string" +}, +"region": { +"description": "A human-friendly string representing the region for this locale. Example: \"United States\". Not present for every locale.", +"type": "string" +}, +"tags": { +"description": "Tags for this dimension. Example: \"default\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ManualSharding": { +"description": "Shards test cases into the specified groups of packages, classes, and/or methods. With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid.", +"id": "ManualSharding", +"properties": { +"testTargetsForShard": { +"description": "Required. Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 200. When you select only x86 virtual devices, it must be <= 500.", +"items": { +"$ref": "TestTargetsForShard" +}, +"type": "array" +} +}, +"type": "object" +}, +"MatrixErrorDetail": { +"description": "Describes a single error or issue with a matrix.", +"id": "MatrixErrorDetail", +"properties": { +"message": { +"description": "Output only. A human-readable message about how the error in the TestMatrix. Expands on the `reason` field with additional details and possible options to fix the issue.", +"readOnly": true, +"type": "string" +}, +"reason": { +"description": "Output only. The reason for the error. This is a constant value in UPPER_SNAKE_CASE that identifies the cause of the error.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Metadata": { +"description": "A tag within a manifest. https://developer.android.com/guide/topics/manifest/meta-data-element.html", +"id": "Metadata", +"properties": { +"name": { +"description": "The android:name value", +"type": "string" +}, +"value": { +"description": "The android:value value", +"type": "string" +} +}, +"type": "object" +}, +"NetworkConfiguration": { +"id": "NetworkConfiguration", +"properties": { +"downRule": { +"$ref": "TrafficRule", +"description": "The emulation rule applying to the download traffic." +}, +"id": { +"description": "The unique opaque id for this network traffic configuration.", +"type": "string" +}, +"upRule": { +"$ref": "TrafficRule", +"description": "The emulation rule applying to the upload traffic." +} +}, +"type": "object" +}, +"NetworkConfigurationCatalog": { +"id": "NetworkConfigurationCatalog", +"properties": { +"configurations": { +"items": { +"$ref": "NetworkConfiguration" +}, +"type": "array" +} +}, +"type": "object" +}, +"NoActivityIntent": { +"description": "Skips the starting activity", +"id": "NoActivityIntent", +"properties": {}, +"type": "object" +}, +"ObbFile": { +"description": "An opaque binary blob file to install on the device before the test starts.", +"id": "ObbFile", +"properties": { +"obb": { +"$ref": "FileReference", +"description": "Required. Opaque Binary Blob (OBB) file(s) to install on the device." +}, +"obbFileName": { +"description": "Required. OBB file name which must conform to the format as specified by Android e.g. [main|patch].0300110.com.example.android.obb which will be installed into \\/Android/obb/\\/ on the device.", +"type": "string" +} +}, +"type": "object" +}, +"Orientation": { +"description": "Screen orientation of the device.", +"id": "Orientation", +"properties": { +"id": { +"description": "The id for this orientation. Example: \"portrait\".", +"type": "string" +}, +"name": { +"description": "A human-friendly name for this orientation. Example: \"portrait\".", +"type": "string" +}, +"tags": { +"description": "Tags for this dimension. Example: \"default\".", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"PerAndroidVersionInfo": { +"description": "A version-specific information of an Android model.", +"id": "PerAndroidVersionInfo", +"properties": { +"deviceCapacity": { +"description": "The number of online devices for an Android version.", +"enum": [ +"DEVICE_CAPACITY_UNSPECIFIED", +"DEVICE_CAPACITY_HIGH", +"DEVICE_CAPACITY_MEDIUM", +"DEVICE_CAPACITY_LOW", +"DEVICE_CAPACITY_NONE" +], +"enumDescriptions": [ +"The value of device capacity is unknown or unset.", +"Devices that are high in capacity (The lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment) 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types.", +"Devices that are medium in capacity (The lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).", +"Devices that are low in capacity (The lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.", +"Devices that are completely missing from the lab. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent." +], +"type": "string" +}, +"directAccessVersionInfo": { +"$ref": "DirectAccessVersionInfo", +"description": "Output only. Identifies supported clients for DirectAccess for this Android version.", +"readOnly": true +}, +"interactiveDeviceAvailabilityEstimate": { +"description": "Output only. The estimated wait time for a single interactive device session using Direct Access.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"versionId": { +"description": "An Android version.", +"type": "string" +} +}, +"type": "object" +}, +"PerIosVersionInfo": { +"description": "A version-specific information of an iOS model.", +"id": "PerIosVersionInfo", +"properties": { +"deviceCapacity": { +"description": "The number of online devices for an iOS version.", +"enum": [ +"DEVICE_CAPACITY_UNSPECIFIED", +"DEVICE_CAPACITY_HIGH", +"DEVICE_CAPACITY_MEDIUM", +"DEVICE_CAPACITY_LOW", +"DEVICE_CAPACITY_NONE" +], +"enumDescriptions": [ +"The value of device capacity is unknown or unset.", +"Devices that are high in capacity (The lab has a large number of these devices). These devices are generally suggested for running a large number of simultaneous tests (e.g. more than 100 tests). Please note that high capacity devices do not guarantee short wait times due to several factors: 1. Traffic (how heavily they are used at any given moment) 2. High capacity devices are prioritized for certain usages, which may cause user tests to be slower than selecting other similar device types.", +"Devices that are medium in capacity (The lab has a decent number of these devices, though not as many as high capacity devices). These devices are suitable for fewer test runs (e.g. fewer than 100 tests) and only for low shard counts (e.g. less than 10 shards).", +"Devices that are low in capacity (The lab has a small number of these devices). These devices may be used if users need to test on this specific device model and version. Please note that due to low capacity, the tests may take much longer to finish, especially if a large number of tests are invoked at once. These devices are not suitable for test sharding.", +"Devices that are completely missing from the lab. These devices are unavailable either temporarily or permanently and should not be requested. If the device is also marked as deprecated, this state is very likely permanent." +], +"type": "string" +}, +"versionId": { +"description": "An iOS version.", +"type": "string" +} +}, +"type": "object" +}, +"ProvidedSoftwareCatalog": { +"description": "The currently provided software environment on the devices under test.", +"id": "ProvidedSoftwareCatalog", +"properties": { +"androidxOrchestratorVersion": { +"description": "A string representing the current version of AndroidX Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#androidx.test:orchestrator.", +"type": "string" +}, +"orchestratorVersion": { +"deprecated": true, +"description": "Deprecated: Use AndroidX Test Orchestrator going forward. A string representing the current version of Android Test Orchestrator that is used in the environment. The package is available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.", +"type": "string" +} +}, +"type": "object" +}, +"RegularFile": { +"description": "A file or directory to install on the device before the test starts.", +"id": "RegularFile", +"properties": { +"content": { +"$ref": "FileReference", +"description": "Required. The source file." +}, +"devicePath": { +"description": "Required. Where to put the content on the device. Must be an absolute, allowlisted path. If the file exists, it will be replaced. The following device-side directories and any of their subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory trees is invalid. The paths /sdcard and /data will be made available and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map to external storage, the system will replace it with the external storage path prefix for that device and copy the file there. It is strongly advised to use the Environment API in app and test code to access files on the device in a portable way.", +"type": "string" +} +}, +"type": "object" +}, +"ResultStorage": { +"description": "Locations where the results of running the test are stored.", +"id": "ResultStorage", +"properties": { +"googleCloudStorage": { +"$ref": "GoogleCloudStorage", +"description": "Required." +}, +"resultsUrl": { +"description": "Output only. URL to the results in the Firebase Web Console.", +"type": "string" +}, +"toolResultsExecution": { +"$ref": "ToolResultsExecution", +"description": "Output only. The tool results execution that results are written to." +}, +"toolResultsHistory": { +"$ref": "ToolResultsHistory", +"description": "The tool results history that contains the tool results execution that results are written to. If not provided, the service will choose an appropriate value." +} +}, +"type": "object" +}, +"RoboDirective": { +"description": "Directs Robo to interact with a specific UI element if it is encountered during the crawl. Currently, Robo can perform text entry or element click.", +"id": "RoboDirective", +"properties": { +"actionType": { +"description": "Required. The type of action that Robo should perform on the specified element.", +"enum": [ +"ACTION_TYPE_UNSPECIFIED", +"SINGLE_CLICK", +"ENTER_TEXT", +"IGNORE" +], +"enumDescriptions": [ +"DO NOT USE. For proto versioning only.", +"Direct Robo to click on the specified element. No-op if specified element is not clickable.", +"Direct Robo to enter text on the specified element. No-op if specified element is not enabled or does not allow text entry.", +"Direct Robo to ignore interactions with a specific element." +], +"type": "string" +}, +"inputText": { +"description": "The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name.", +"type": "string" +}, +"resourceName": { +"description": "Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the \"foo\" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html", +"type": "string" +} +}, +"type": "object" +}, +"RoboStartingIntent": { +"description": "Message for specifying the start activities to crawl.", +"id": "RoboStartingIntent", +"properties": { +"launcherActivity": { +"$ref": "LauncherActivityIntent", +"description": "An intent that starts the main launcher activity." +}, +"noActivity": { +"$ref": "NoActivityIntent", +"description": "Skips the starting activity" +}, +"startActivity": { +"$ref": "StartActivityIntent", +"description": "An intent that starts an activity with specific details." +}, +"timeout": { +"description": "Timeout in seconds for each intent.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"Service": { +"description": "The section of an tag. https://developer.android.com/guide/topics/manifest/service-element", +"id": "Service", +"properties": { +"intentFilter": { +"description": "Intent filters in the service", +"items": { +"$ref": "IntentFilter" +}, +"type": "array" +}, +"name": { +"description": "The android:name value", +"type": "string" +} +}, +"type": "object" +}, +"SessionStateEvent": { +"description": "A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.", +"id": "SessionStateEvent", +"properties": { +"eventTime": { +"description": "Output only. The time that the session_state first encountered that state.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"sessionState": { +"description": "Output only. The session_state tracked by this event", +"enum": [ +"SESSION_STATE_UNSPECIFIED", +"REQUESTED", +"PENDING", +"ACTIVE", +"EXPIRED", +"FINISHED", +"UNAVAILABLE", +"ERROR" +], +"enumDescriptions": [ +"Default value. This value is unused.", +"Initial state of a session request. The session is being validated for correctness and a device is not yet requested.", +"The session has been validated and is in the queue for a device.", +"The session has been granted and the device is accepting connections.", +"The session duration exceeded the device\u2019s reservation time period and timed out automatically.", +"The user is finished with the session and it was canceled by the user while the request was still getting allocated or after allocation and during device usage period.", +"Unable to complete the session because the device was unavailable and it failed to allocate through the scheduler. For example, a device not in the catalog was requested or the request expired in the allocation queue.", +"Unable to complete the session for an internal reason, such as an infrastructure failure." +], +"readOnly": true, +"type": "string" +}, +"stateMessage": { +"description": "Output only. A human-readable message to explain the state.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Shard": { +"description": "Output only. Details about the shard.", +"id": "Shard", +"properties": { +"estimatedShardDuration": { +"description": "Output only. The estimated shard duration based on previous test case timing records, if available.", +"format": "google-duration", +"readOnly": true, +"type": "string" +}, +"numShards": { +"description": "Output only. The total number of shards.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"shardIndex": { +"description": "Output only. The index of the shard among all the shards.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"testTargetsForShard": { +"$ref": "TestTargetsForShard", +"description": "Output only. Test targets for each shard. Only set for manual sharding.", +"readOnly": true +} +}, +"type": "object" +}, +"ShardingOption": { +"description": "Options for enabling sharding.", +"id": "ShardingOption", +"properties": { +"manualSharding": { +"$ref": "ManualSharding", +"description": "Shards test cases into the specified groups of packages, classes, and/or methods." +}, +"smartSharding": { +"$ref": "SmartSharding", +"description": "Shards test based on previous test case timing records." +}, +"uniformSharding": { +"$ref": "UniformSharding", +"description": "Uniformly shards test cases given a total number of shards." +} +}, +"type": "object" +}, +"SmartSharding": { +"description": "Shards test based on previous test case timing records.", +"id": "SmartSharding", +"properties": { +"targetedShardDuration": { +"description": "The amount of time tests within a shard should take. Default: 300 seconds (5 minutes). The minimum allowed: 120 seconds (2 minutes). The shard count is dynamically set based on time, up to the maximum shard limit (described below). To guarantee at least one test case for each shard, the number of shards will not exceed the number of test cases. Shard duration will be exceeded if: - The maximum shard limit is reached and there is more calculated test time remaining to allocate into shards. - Any individual test is estimated to be longer than the targeted shard duration. Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. The rules for finding the test case timing records are: - If the service has processed a test case in the last 30 days, the record of the latest successful test case will be used. - For new test cases, the average duration of other known test cases will be used. - If there are no previous test case timing records available, the default test case duration is 15 seconds. Because the actual shard duration can exceed the targeted shard duration, we recommend that you set the targeted value at least 5 minutes less than the maximum allowed test timeout (45 minutes for physical devices and 60 minutes for virtual), or that you use the custom test timeout value that you set. This approach avoids cancelling the shard before all tests can finish. Note that there is a limit for maximum number of shards. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 200. When you select only x86 virtual devices, it must be <= 500. To guarantee at least one test case for per shard, the number of shards will not exceed the number of test cases. Each shard created counts toward daily test quota.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"StartActivityIntent": { +"description": "A starting intent specified by an action, uri, and categories.", +"id": "StartActivityIntent", +"properties": { +"action": { +"description": "Action name. Required for START_ACTIVITY.", +"type": "string" +}, +"categories": { +"description": "Intent categories to set on the intent.", +"items": { +"type": "string" +}, +"type": "array" +}, +"uri": { +"description": "URI for the action.", +"type": "string" +} +}, +"type": "object" +}, +"SystraceSetup": { +"id": "SystraceSetup", +"properties": { +"durationSeconds": { +"deprecated": true, +"description": "Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"TestDetails": { +"description": "Additional details about the progress of the running test.", +"id": "TestDetails", +"properties": { +"errorMessage": { +"description": "Output only. If the TestState is ERROR, then this string will contain human-readable details about the error.", +"type": "string" +}, +"progressMessages": { +"description": "Output only. Human-readable, detailed descriptions of the test's progress. For example: \"Provisioning a device\", \"Starting Test\". During the course of execution new data may be appended to the end of progress_messages.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"TestEnvironmentCatalog": { +"description": "A description of a test environment.", +"id": "TestEnvironmentCatalog", +"properties": { +"androidDeviceCatalog": { +"$ref": "AndroidDeviceCatalog", +"description": "Supported Android devices." +}, +"deviceIpBlockCatalog": { +"$ref": "DeviceIpBlockCatalog", +"description": "The IP blocks used by devices in the test environment." +}, +"iosDeviceCatalog": { +"$ref": "IosDeviceCatalog", +"description": "Supported iOS devices." +}, +"networkConfigurationCatalog": { +"$ref": "NetworkConfigurationCatalog", +"description": "Supported network configurations." +}, +"softwareCatalog": { +"$ref": "ProvidedSoftwareCatalog", +"description": "The software test environment provided by TestExecutionService." +} +}, +"type": "object" +}, +"TestExecution": { +"description": "A single test executed in a single environment.", +"id": "TestExecution", +"properties": { +"environment": { +"$ref": "Environment", +"description": "Output only. How the host machine(s) are configured." +}, +"id": { +"description": "Output only. Unique id set by the service.", +"type": "string" +}, +"matrixId": { +"description": "Output only. Id of the containing TestMatrix.", +"type": "string" +}, +"projectId": { +"description": "Output only. The cloud project that owns the test execution.", +"type": "string" +}, +"shard": { +"$ref": "Shard", +"description": "Output only. Details about the shard." +}, +"state": { +"description": "Output only. Indicates the current progress of the test execution (e.g., FINISHED).", +"enum": [ +"TEST_STATE_UNSPECIFIED", +"VALIDATING", +"PENDING", +"RUNNING", +"FINISHED", +"ERROR", +"UNSUPPORTED_ENVIRONMENT", +"INCOMPATIBLE_ENVIRONMENT", +"INCOMPATIBLE_ARCHITECTURE", +"CANCELLED", +"INVALID" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The execution or matrix is being validated.", +"The execution or matrix is waiting for resources to become available.", +"The execution is currently being processed. Can only be set on an execution.", +"The execution or matrix has terminated normally. On a matrix this means that the matrix level processing completed normally, but individual executions may be in an ERROR state.", +"The execution or matrix has stopped because it encountered an infrastructure failure.", +"The execution was not run because it corresponds to a unsupported environment. Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested environment. Example: requested AndroidVersion is lower than APK's minSdkVersion Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested architecture. Example: requested device does not support running the native code in the supplied APK Can only be set on an execution.", +"The user cancelled the execution. Can only be set on an execution.", +"The execution or matrix was not run because the provided inputs are not valid. Examples: input file is not of the expected type, is malformed/corrupt, or was flagged as malware" +], +"type": "string" +}, +"testDetails": { +"$ref": "TestDetails", +"description": "Output only. Additional details about the running test." +}, +"testSpecification": { +"$ref": "TestSpecification", +"description": "Output only. How to run the test." +}, +"timestamp": { +"description": "Output only. The time this test execution was initially created.", +"format": "google-datetime", +"type": "string" +}, +"toolResultsStep": { +"$ref": "ToolResultsStep", +"description": "Output only. Where the results for this execution are written." +} +}, +"type": "object" +}, +"TestMatrix": { +"description": "TestMatrix captures all details about a test. It contains the environment configuration, test specification, test executions and overall state and outcome.", +"id": "TestMatrix", +"properties": { +"clientInfo": { +"$ref": "ClientInfo", +"description": "Information about the client which invoked the test." +}, +"environmentMatrix": { +"$ref": "EnvironmentMatrix", +"description": "Required. The devices the tests are being executed on." +}, +"extendedInvalidMatrixDetails": { +"description": "Output only. Details about why a matrix was deemed invalid. If multiple checks can be safely performed, they will be reported but no assumptions should be made about the length of this list.", +"items": { +"$ref": "MatrixErrorDetail" +}, +"readOnly": true, +"type": "array" +}, +"failFast": { +"description": "If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.", +"type": "boolean" +}, +"flakyTestAttempts": { +"description": "The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.", +"format": "int32", +"type": "integer" +}, +"invalidMatrixDetails": { +"description": "Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.", +"enum": [ +"INVALID_MATRIX_DETAILS_UNSPECIFIED", +"DETAILS_UNAVAILABLE", +"MALFORMED_APK", +"MALFORMED_TEST_APK", +"NO_MANIFEST", +"NO_PACKAGE_NAME", +"INVALID_PACKAGE_NAME", +"TEST_SAME_AS_APP", +"NO_INSTRUMENTATION", +"NO_SIGNATURE", +"INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE", +"NO_TEST_RUNNER_CLASS", +"NO_LAUNCHER_ACTIVITY", +"FORBIDDEN_PERMISSIONS", +"INVALID_ROBO_DIRECTIVES", +"INVALID_RESOURCE_NAME", +"INVALID_DIRECTIVE_ACTION", +"TEST_LOOP_INTENT_FILTER_NOT_FOUND", +"SCENARIO_LABEL_NOT_DECLARED", +"SCENARIO_LABEL_MALFORMED", +"SCENARIO_NOT_DECLARED", +"DEVICE_ADMIN_RECEIVER", +"MALFORMED_XC_TEST_ZIP", +"BUILT_FOR_IOS_SIMULATOR", +"NO_TESTS_IN_XC_TEST_ZIP", +"USE_DESTINATION_ARTIFACTS", +"TEST_NOT_APP_HOSTED", +"PLIST_CANNOT_BE_PARSED", +"TEST_ONLY_APK", +"MALFORMED_IPA", +"MISSING_URL_SCHEME", +"MALFORMED_APP_BUNDLE", +"NO_CODE_APK", +"INVALID_INPUT_APK", +"INVALID_APK_PREVIEW_SDK", +"MATRIX_TOO_LARGE", +"TEST_QUOTA_EXCEEDED", +"SERVICE_NOT_ACTIVATED", +"UNKNOWN_PERMISSION_ERROR" +], +"enumDeprecated": [ +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false, +true, +false, +false, +false, +false, +false, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The matrix is INVALID, but there are no further details available.", +"The input app APK could not be parsed.", +"The input test APK could not be parsed.", +"The AndroidManifest.xml could not be found.", +"The APK manifest does not declare a package name.", +"The APK application ID (aka package name) is invalid. See also https://developer.android.com/studio/build/application-id", +"The test package and app package are the same.", +"The test apk does not declare an instrumentation.", +"The input app apk does not have a signature.", +"The test runner class specified by user or in the test APK's manifest file is not compatible with Android Test Orchestrator. Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher. Orchestrator can be disabled by using DO_NOT_USE_ORCHESTRATOR OrchestratorOption.", +"The test APK does not contain the test runner class specified by the user or in the manifest file. This can be caused by one of the following reasons: - the user provided a runner class name that's incorrect, or - the test runner isn't built into the test APK (might be in the app APK instead).", +"A main launcher activity could not be found.", +"The app declares one or more permissions that are not allowed.", +"There is a conflict in the provided robo_directives.", +"There is at least one invalid resource name in the provided robo directives", +"Invalid definition of action in the robo directives (e.g. a click or ignore action includes an input text field)", +"There is no test loop intent filter, or the one that is given is not formatted correctly.", +"The request contains a scenario label that was not declared in the manifest.", +"There was an error when parsing a label's value.", +"The request contains a scenario number that was not declared in the manifest.", +"Device administrator applications are not allowed.", +"The zipped XCTest was malformed. The zip did not contain a single .xctestrun file and the contents of the DerivedData/Build/Products directory.", +"The zipped XCTest was built for the iOS simulator rather than for a physical device.", +"The .xctestrun file did not specify any test targets.", +"One or more of the test targets defined in the .xctestrun file specifies \"UseDestinationArtifacts\", which is disallowed.", +"XC tests which run on physical devices must have \"IsAppHostedTestBundle\" == \"true\" in the xctestrun file.", +"An Info.plist file in the XCTest zip could not be parsed.", +"The APK is marked as \"testOnly\". Deprecated and not currently used.", +"The input IPA could not be parsed.", +"The application doesn't register the game loop URL scheme.", +"The iOS application bundle (.app) couldn't be processed.", +"APK contains no code. See also https://developer.android.com/guide/topics/manifest/application-element.html#code", +"Either the provided input APK path was malformed, the APK file does not exist, or the user does not have permission to access the APK file.", +"APK is built for a preview SDK which is unsupported", +"The matrix expanded to contain too many executions.", +"Not enough test quota to run the executions in this matrix.", +"A required cloud service api is not activated. See: https://firebase.google.com/docs/test-lab/android/continuous#requirements", +"There was an unknown permission issue running this test." +], +"type": "string" +}, +"outcomeSummary": { +"description": "Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.", +"enum": [ +"OUTCOME_SUMMARY_UNSPECIFIED", +"SUCCESS", +"FAILURE", +"INCONCLUSIVE", +"SKIPPED" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The test matrix run was successful, for instance: - All the test cases passed. - Robo did not detect a crash of the application under test.", +"A run failed, for instance: - One or more test cases failed. - A test timed out. - The application under test crashed.", +"Something unexpected happened. The run should still be considered unsuccessful but this is likely a transient problem and re-running the test might be successful.", +"All tests were skipped, for instance: - All device configurations were incompatible." +], +"type": "string" +}, +"projectId": { +"description": "The cloud project that owns the test matrix.", +"type": "string" +}, +"resultStorage": { +"$ref": "ResultStorage", +"description": "Required. Where the results for the matrix are written." +}, +"state": { +"description": "Output only. Indicates the current progress of the test matrix.", +"enum": [ +"TEST_STATE_UNSPECIFIED", +"VALIDATING", +"PENDING", +"RUNNING", +"FINISHED", +"ERROR", +"UNSUPPORTED_ENVIRONMENT", +"INCOMPATIBLE_ENVIRONMENT", +"INCOMPATIBLE_ARCHITECTURE", +"CANCELLED", +"INVALID" +], +"enumDescriptions": [ +"Do not use. For proto versioning only.", +"The execution or matrix is being validated.", +"The execution or matrix is waiting for resources to become available.", +"The execution is currently being processed. Can only be set on an execution.", +"The execution or matrix has terminated normally. On a matrix this means that the matrix level processing completed normally, but individual executions may be in an ERROR state.", +"The execution or matrix has stopped because it encountered an infrastructure failure.", +"The execution was not run because it corresponds to a unsupported environment. Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested environment. Example: requested AndroidVersion is lower than APK's minSdkVersion Can only be set on an execution.", +"The execution was not run because the provided inputs are incompatible with the requested architecture. Example: requested device does not support running the native code in the supplied APK Can only be set on an execution.", +"The user cancelled the execution. Can only be set on an execution.", +"The execution or matrix was not run because the provided inputs are not valid. Examples: input file is not of the expected type, is malformed/corrupt, or was flagged as malware" +], +"type": "string" +}, +"testExecutions": { +"description": "Output only. The list of test executions that the service creates for this matrix.", +"items": { +"$ref": "TestExecution" +}, +"type": "array" +}, +"testMatrixId": { +"description": "Output only. Unique id set by the service.", +"type": "string" +}, +"testSpecification": { +"$ref": "TestSpecification", +"description": "Required. How to run the test." +}, +"timestamp": { +"description": "Output only. The time this test matrix was initially created.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"TestSetup": { +"description": "A description of how to set up the Android device prior to running the test.", +"id": "TestSetup", +"properties": { +"account": { +"$ref": "Account", +"description": "The device will be logged in on this account for the duration of the test." +}, +"additionalApks": { +"description": "APKs to install in addition to those being directly tested. These will be installed after the app under test. Limited to a combined total of 100 initial setup and additional files.", +"items": { +"$ref": "Apk" +}, +"type": "array" +}, +"directoriesToPull": { +"description": "List of directories on the device to upload to GCS at the end of the test; they must be absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map to external storage, the system will replace it with the external storage path prefix for that device.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dontAutograntPermissions": { +"description": "Whether to prevent all runtime permissions to be granted at app install", +"type": "boolean" +}, +"environmentVariables": { +"description": "Environment variables to set for the test (only applicable for instrumentation tests).", +"items": { +"$ref": "EnvironmentVariable" +}, +"type": "array" +}, +"filesToPush": { +"description": "List of files to push to the device before starting the test.", +"items": { +"$ref": "DeviceFile" +}, +"type": "array" +}, +"initialSetupApks": { +"description": "Optional. Initial setup APKs to install before the app under test is installed. Limited to a combined total of 100 initial setup and additional files.", +"items": { +"$ref": "Apk" +}, +"type": "array" +}, +"networkProfile": { +"description": "The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.", +"type": "string" +}, +"systrace": { +"$ref": "SystraceSetup", +"deprecated": true, +"description": "Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace file will be provided in the results." +} +}, +"type": "object" +}, +"TestSpecification": { +"description": "A description of how to run the test.", +"id": "TestSpecification", +"properties": { +"androidInstrumentationTest": { +"$ref": "AndroidInstrumentationTest", +"description": "An Android instrumentation test." +}, +"androidRoboTest": { +"$ref": "AndroidRoboTest", +"description": "An Android robo test." +}, +"androidTestLoop": { +"$ref": "AndroidTestLoop", +"description": "An Android Application with a Test Loop." +}, +"disablePerformanceMetrics": { +"description": "Disables performance metrics recording. May reduce test latency.", +"type": "boolean" +}, +"disableVideoRecording": { +"description": "Disables video recording. May reduce test latency.", +"type": "boolean" +}, +"iosRoboTest": { +"$ref": "IosRoboTest", +"description": "An iOS Robo test." +}, +"iosTestLoop": { +"$ref": "IosTestLoop", +"description": "An iOS application with a test loop." +}, +"iosTestSetup": { +"$ref": "IosTestSetup", +"description": "Test setup requirements for iOS." +}, +"iosXcTest": { +"$ref": "IosXcTest", +"description": "An iOS XCTest, via an .xctestrun file." +}, +"testSetup": { +"$ref": "TestSetup", +"description": "Test setup requirements for Android e.g. files to install, bootstrap scripts." +}, +"testTimeout": { +"description": "Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +}, +"TestTargetsForShard": { +"description": "Test targets for a shard.", +"id": "TestTargetsForShard", +"properties": { +"testTargets": { +"description": "Group of packages, classes, and/or test methods to be run for each shard. The targets need to be specified in AndroidJUnitRunner argument format. For example, \"package com.my.packages\" \"class com.my.package.MyClass\". The number of test_targets must be greater than 0.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ToolResultsExecution": { +"description": "Represents a tool results execution resource. This has the results of a TestMatrix.", +"id": "ToolResultsExecution", +"properties": { +"executionId": { +"description": "Output only. A tool results execution ID.", +"type": "string" +}, +"historyId": { +"description": "Output only. A tool results history ID.", +"type": "string" +}, +"projectId": { +"description": "Output only. The cloud project that owns the tool results execution.", +"type": "string" +} +}, +"type": "object" +}, +"ToolResultsHistory": { +"description": "Represents a tool results history resource.", +"id": "ToolResultsHistory", +"properties": { +"historyId": { +"description": "Required. A tool results history ID.", +"type": "string" +}, +"projectId": { +"description": "Required. The cloud project that owns the tool results history.", +"type": "string" +} +}, +"type": "object" +}, +"ToolResultsStep": { +"description": "Represents a tool results step resource. This has the results of a TestExecution.", +"id": "ToolResultsStep", +"properties": { +"executionId": { +"description": "Output only. A tool results execution ID.", +"type": "string" +}, +"historyId": { +"description": "Output only. A tool results history ID.", +"type": "string" +}, +"projectId": { +"description": "Output only. The cloud project that owns the tool results step.", +"type": "string" +}, +"stepId": { +"description": "Output only. A tool results step ID.", +"type": "string" +} +}, +"type": "object" +}, +"TrafficRule": { +"description": "Network emulation parameters.", +"id": "TrafficRule", +"properties": { +"bandwidth": { +"description": "Bandwidth in kbits/second.", +"format": "float", +"type": "number" +}, +"burst": { +"description": "Burst size in kbits.", +"format": "float", +"type": "number" +}, +"delay": { +"description": "Packet delay, must be >= 0.", +"format": "google-duration", +"type": "string" +}, +"packetDuplicationRatio": { +"description": "Packet duplication ratio (0.0 - 1.0).", +"format": "float", +"type": "number" +}, +"packetLossRatio": { +"description": "Packet loss ratio (0.0 - 1.0).", +"format": "float", +"type": "number" +} +}, +"type": "object" +}, +"UniformSharding": { +"description": "Uniformly shards test cases given a total number of shards. For instrumentation tests, it will be translated to \"-e numShard\" and \"-e shardIndex\" AndroidJUnitRunner arguments. With uniform sharding enabled, specifying either of these sharding arguments via `environment_variables` is invalid. Based on the sharding mechanism AndroidJUnitRunner uses, there is no guarantee that test cases will be distributed uniformly across all shards.", +"id": "UniformSharding", +"properties": { +"numShards": { +"description": "Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 200. When you select only x86 virtual devices, it must be <= 500.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"UsesFeature": { +"description": "A tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-feature-element.html", +"id": "UsesFeature", +"properties": { +"isRequired": { +"description": "The android:required value", +"type": "boolean" +}, +"name": { +"description": "The android:name value", +"type": "string" +} +}, +"type": "object" +}, +"UsesPermissionTag": { +"description": "The tag within a manifest. https://developer.android.com/guide/topics/manifest/uses-permission-element.html", +"id": "UsesPermissionTag", +"properties": { +"maxSdkVersion": { +"description": "The android:name value", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "The android:name value", +"type": "string" +} +}, +"type": "object" +}, +"XcodeVersion": { +"description": "An Xcode version that an iOS version is compatible with.", +"id": "XcodeVersion", +"properties": { +"tags": { +"description": "Tags for this Xcode version. Example: \"default\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"version": { +"description": "The id for this version. Example: \"9.2\".", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Testing API", +"version": "v1" +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3.json new file mode 100644 index 0000000000000000000000000000000000000000..855919369adc4f6b2169d98b7729b271043037cc --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/translate.v3.json @@ -0,0 +1,3369 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +}, +"https://www.googleapis.com/auth/cloud-translation": { +"description": "Translate text from one language to another using Google Translate" +} +} +} +}, +"basePath": "", +"baseUrl": "https://translation.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Translate", +"description": "Integrates text translation into your website or application.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/translate/docs/quickstarts", +"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": "translate:v3", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://translation.mtls.googleapis.com/", +"name": "translate", +"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": { +"methods": { +"detectLanguage": { +"description": "Detects the language of text within a request.", +"flatPath": "v3/projects/{projectsId}:detectLanguage", +"httpMethod": "POST", +"id": "translate.projects.detectLanguage", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:detectLanguage", +"request": { +"$ref": "DetectLanguageRequest" +}, +"response": { +"$ref": "DetectLanguageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"getSupportedLanguages": { +"description": "Returns a list of supported languages for translation.", +"flatPath": "v3/projects/{projectsId}/supportedLanguages", +"httpMethod": "GET", +"id": "translate.projects.getSupportedLanguages", +"parameterOrder": [ +"parent" +], +"parameters": { +"displayLanguageCode": { +"description": "Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.", +"location": "query", +"type": "string" +}, +"model": { +"description": "Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/supportedLanguages", +"response": { +"$ref": "SupportedLanguages" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"romanizeText": { +"description": "Romanize input text written in non-Latin scripts to Latin text.", +"flatPath": "v3/projects/{projectsId}:romanizeText", +"httpMethod": "POST", +"id": "translate.projects.romanizeText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:romanizeText", +"request": { +"$ref": "RomanizeTextRequest" +}, +"response": { +"$ref": "RomanizeTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateText": { +"description": "Translates input text and returns translated text.", +"flatPath": "v3/projects/{projectsId}:translateText", +"httpMethod": "POST", +"id": "translate.projects.translateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:translateText", +"request": { +"$ref": "TranslateTextRequest" +}, +"response": { +"$ref": "TranslateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"locations": { +"methods": { +"adaptiveMtTranslate": { +"description": "Translate text using Adaptive MT.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:adaptiveMtTranslate", +"httpMethod": "POST", +"id": "translate.projects.locations.adaptiveMtTranslate", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:adaptiveMtTranslate", +"request": { +"$ref": "AdaptiveMtTranslateRequest" +}, +"response": { +"$ref": "AdaptiveMtTranslateResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"batchTranslateDocument": { +"description": "Translates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:batchTranslateDocument", +"httpMethod": "POST", +"id": "translate.projects.locations.batchTranslateDocument", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:batchTranslateDocument", +"request": { +"$ref": "BatchTranslateDocumentRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"batchTranslateText": { +"description": "Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:batchTranslateText", +"httpMethod": "POST", +"id": "translate.projects.locations.batchTranslateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:batchTranslateText", +"request": { +"$ref": "BatchTranslateTextRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"detectLanguage": { +"description": "Detects the language of text within a request.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:detectLanguage", +"httpMethod": "POST", +"id": "translate.projects.locations.detectLanguage", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:detectLanguage", +"request": { +"$ref": "DetectLanguageRequest" +}, +"response": { +"$ref": "DetectLanguageResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets information about a location.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"getSupportedLanguages": { +"description": "Returns a list of supported languages for translation.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/supportedLanguages", +"httpMethod": "GET", +"id": "translate.projects.locations.getSupportedLanguages", +"parameterOrder": [ +"parent" +], +"parameters": { +"displayLanguageCode": { +"description": "Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.", +"location": "query", +"type": "string" +}, +"model": { +"description": "Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, Returns languages supported by the specified model. If missing, we get supported languages of Google general NMT model.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for AutoML models. Only models within the same region (have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/supportedLanguages", +"response": { +"$ref": "SupportedLanguages" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v3/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "translate.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"refineText": { +"description": "Refines the input translated text to improve the quality.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:refineText", +"httpMethod": "POST", +"id": "translate.projects.locations.refineText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:refineText", +"request": { +"$ref": "RefineTextRequest" +}, +"response": { +"$ref": "RefineTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"romanizeText": { +"description": "Romanize input text written in non-Latin scripts to Latin text.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:romanizeText", +"httpMethod": "POST", +"id": "translate.projects.locations.romanizeText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}` or `projects/{project-number-or-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:romanizeText", +"request": { +"$ref": "RomanizeTextRequest" +}, +"response": { +"$ref": "RomanizeTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateDocument": { +"description": "Translates documents in synchronous mode.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:translateDocument", +"httpMethod": "POST", +"id": "translate.projects.locations.translateDocument", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:translateDocument", +"request": { +"$ref": "TranslateDocumentRequest" +}, +"response": { +"$ref": "TranslateDocumentResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"translateText": { +"description": "Translates input text and returns translated text.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}:translateText", +"httpMethod": "POST", +"id": "translate.projects.locations.translateText", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use `projects/{project-number-or-id}/locations/global` or `projects/{project-number-or-id}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:translateText", +"request": { +"$ref": "TranslateTextRequest" +}, +"response": { +"$ref": "TranslateTextResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"adaptiveMtDatasets": { +"methods": { +"create": { +"description": "Creates an Adaptive MT dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets", +"httpMethod": "POST", +"id": "translate.projects.locations.adaptiveMtDatasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/adaptiveMtDatasets", +"request": { +"$ref": "AdaptiveMtDataset" +}, +"response": { +"$ref": "AdaptiveMtDataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes an Adaptive MT dataset, including all its entries and associated metadata.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.adaptiveMtDatasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets the Adaptive MT dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the dataset. In the form of `projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "AdaptiveMtDataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"importAdaptiveMtFile": { +"description": "Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}:importAdaptiveMtFile", +"httpMethod": "POST", +"id": "translate.projects.locations.adaptiveMtDatasets.importAdaptiveMtFile", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}:importAdaptiveMtFile", +"request": { +"$ref": "ImportAdaptiveMtFileRequest" +}, +"response": { +"$ref": "ImportAdaptiveMtFileResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists all Adaptive MT datasets for which the caller has read permission.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the results of the request. Filter is not supported yet.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to `ListAdaptiveMtDatasets` method. The first page is returned if `page_token`is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the project from which to list the Adaptive MT datasets. `projects/{project-number-or-id}/locations/{location-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/adaptiveMtDatasets", +"response": { +"$ref": "ListAdaptiveMtDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"adaptiveMtFiles": { +"methods": { +"delete": { +"description": "Deletes an AdaptiveMtFile along with its sentences.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the file to delete, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets and AdaptiveMtFile", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "AdaptiveMtFile" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. ", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the dataset from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/adaptiveMtFiles", +"response": { +"$ref": "ListAdaptiveMtFilesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"adaptiveMtSentences": { +"methods": { +"list": { +"description": "Lists all AdaptiveMtSentences under a given file/dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}/adaptiveMtSentences", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Adaptive MT file from which to list the sentences. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+/adaptiveMtFiles/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/adaptiveMtSentences", +"response": { +"$ref": "ListAdaptiveMtSentencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +}, +"adaptiveMtSentences": { +"methods": { +"list": { +"description": "Lists all AdaptiveMtSentences under a given file/dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtSentences", +"httpMethod": "GET", +"id": "translate.projects.locations.adaptiveMtDatasets.adaptiveMtSentences.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to `ListTranslationMemories` method. The first page is returned if `page_token` is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The resource name of the Adaptive MT file from which to list the sentences. The following format lists all sentences under a file. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` The following format lists all sentences within a dataset. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/adaptiveMtDatasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/adaptiveMtSentences", +"response": { +"$ref": "ListAdaptiveMtSentencesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +}, +"datasets": { +"methods": { +"create": { +"description": "Creates a Dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "POST", +"id": "translate.projects.locations.datasets.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/datasets", +"request": { +"$ref": "Dataset" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a dataset and all of its contents.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.datasets.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the dataset to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"exportData": { +"description": "Exports dataset's data to the provided output location.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData", +"httpMethod": "POST", +"id": "translate.projects.locations.datasets.exportData", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+dataset}:exportData", +"request": { +"$ref": "ExportDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets a Dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.datasets.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the dataset to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Dataset" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"importData": { +"description": "Import sentence pairs into translation Dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData", +"httpMethod": "POST", +"id": "translate.projects.locations.datasets.importData", +"parameterOrder": [ +"dataset" +], +"parameters": { +"dataset": { +"description": "Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+dataset}:importData", +"request": { +"$ref": "ImportDataRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists datasets.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets", +"httpMethod": "GET", +"id": "translate.projects.locations.datasets.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. The server can return fewer results than requested.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListDatasets call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/datasets", +"response": { +"$ref": "ListDatasetsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"examples": { +"methods": { +"list": { +"description": "Lists sentence pairs in the dataset.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples", +"httpMethod": "GET", +"id": "translate.projects.locations.datasets.examples.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server can return fewer results than requested.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/examples", +"response": { +"$ref": "ListExamplesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +}, +"glossaries": { +"methods": { +"create": { +"description": "Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries", +"httpMethod": "POST", +"id": "translate.projects.locations.glossaries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/glossaries", +"request": { +"$ref": "Glossary" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.glossaries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the glossary to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the glossary to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Glossary" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of \"key=value\", where key must be \"src\" or \"tgt\", and the value must be a valid language code. For multiple restrictions, concatenate them by \"AND\" (uppercase only), such as: \"src=en-US AND tgt=zh-CN\". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the \"src\" and \"tgt\" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the \"src\" and/or \"tgt\" add restrictions on the term set. For example: \"src=en-US AND tgt=zh-CN\" will only pick the unidirectional glossaries which exactly match the source language code as \"en-US\" and the target language code \"zh-CN\", but all equivalent term set glossaries which contain \"en-US\" and \"zh-CN\" in their language set will be picked. If missing, no filtering is performed.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to `ListGlossaries` method. The first page is returned if `page_token`is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The name of the project from which to list all of the glossaries.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/glossaries", +"response": { +"$ref": "ListGlossariesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"patch": { +"description": "Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}", +"httpMethod": "PATCH", +"id": "translate.projects.locations.glossaries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "The list of fields to be updated. Currently, only `display_name` and `input_config` are supported.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "Glossary" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +}, +"resources": { +"glossaryEntries": { +"methods": { +"create": { +"description": "Creates a glossary entry.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries", +"httpMethod": "POST", +"id": "translate.projects.locations.glossaries.glossaryEntries.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The resource name of the glossary to create the entry under.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/glossaryEntries", +"request": { +"$ref": "GlossaryEntry" +}, +"response": { +"$ref": "GlossaryEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a single entry from the glossary", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.glossaries.glossaryEntries.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the glossary entry to delete", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets a single glossary entry by the given id.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.glossaryEntries.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the glossary entry to get", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "GlossaryEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "List the entries for the glossary.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries", +"httpMethod": "GET", +"id": "translate.projects.locations.glossaries.glossaryEntries.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossaryEntriesResponse.next_page_token] returned from the previous call. The first page is returned if `page_token`is empty or missing.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. The parent glossary resource name for listing the glossary's entries.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/glossaryEntries", +"response": { +"$ref": "ListGlossaryEntriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"patch": { +"description": "Updates a glossary entry.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId}", +"httpMethod": "PATCH", +"id": "translate.projects.locations.glossaries.glossaryEntries.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/glossaries/[^/]+/glossaryEntries/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"request": { +"$ref": "GlossaryEntry" +}, +"response": { +"$ref": "GlossaryEntry" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +}, +"models": { +"methods": { +"create": { +"description": "Creates a Model.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models", +"httpMethod": "POST", +"id": "translate.projects.locations.models.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. The project name, in form of `projects/{project}/locations/{location}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/models", +"request": { +"$ref": "Model" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a model.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.models.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The name of the model to delete.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets a model.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.models.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. The resource name of the model to retrieve.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/models/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Model" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists models.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/models", +"httpMethod": "GET", +"id": "translate.projects.locations.models.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}`", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Optional. Requested page size. The server can return fewer results than requested.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListModels call.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}`", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+parent}/models", +"response": { +"$ref": "ListModelsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "translate.projects.locations.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "translate.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "translate.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "translate.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v3/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +}, +"wait": { +"description": "Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.", +"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait", +"httpMethod": "POST", +"id": "translate.projects.locations.operations.wait", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to wait on.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v3/{+name}:wait", +"request": { +"$ref": "WaitOperationRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform", +"https://www.googleapis.com/auth/cloud-translation" +] +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://translation.googleapis.com/", +"schemas": { +"AdaptiveMtDataset": { +"description": "An Adaptive MT Dataset.", +"id": "AdaptiveMtDataset", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this dataset was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", +"type": "string" +}, +"exampleCount": { +"description": "The number of examples in the dataset.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Identifier. The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset_id}`", +"type": "string" +}, +"sourceLanguageCode": { +"description": "The BCP-47 language code of the source language.", +"type": "string" +}, +"targetLanguageCode": { +"description": "The BCP-47 language code of the target language.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this dataset was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveMtFile": { +"description": "An AdaptiveMtFile.", +"id": "AdaptiveMtFile", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this file was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The file's display name.", +"type": "string" +}, +"entryCount": { +"description": "The number of entries that the file contains.", +"format": "int32", +"type": "integer" +}, +"name": { +"description": "Identifier. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this file was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveMtSentence": { +"description": "An AdaptiveMt sentence entry.", +"id": "AdaptiveMtSentence", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this sentence was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}/adaptiveMtSentences/{sentence}`", +"type": "string" +}, +"sourceSentence": { +"description": "Required. The source sentence.", +"type": "string" +}, +"targetSentence": { +"description": "Required. The target sentence.", +"type": "string" +}, +"updateTime": { +"description": "Output only. Timestamp when this sentence was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"AdaptiveMtTranslateRequest": { +"description": "The request for sending an AdaptiveMt translation query.", +"id": "AdaptiveMtTranslateRequest", +"properties": { +"content": { +"description": "Required. The content of the input in string format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"dataset": { +"description": "Required. The resource name for the dataset to use for adaptive MT translation. `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`", +"type": "string" +}, +"glossaryConfig": { +"$ref": "GlossaryConfig", +"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." +}, +"referenceSentenceConfig": { +"$ref": "ReferenceSentenceConfig", +"description": "Configuration for caller provided reference sentences." +} +}, +"type": "object" +}, +"AdaptiveMtTranslateResponse": { +"description": "An AdaptiveMtTranslate response.", +"id": "AdaptiveMtTranslateResponse", +"properties": { +"glossaryTranslations": { +"description": "Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.", +"items": { +"$ref": "AdaptiveMtTranslation" +}, +"type": "array" +}, +"languageCode": { +"description": "Output only. The translation's language code.", +"readOnly": true, +"type": "string" +}, +"translations": { +"description": "Output only. The translation.", +"items": { +"$ref": "AdaptiveMtTranslation" +}, +"readOnly": true, +"type": "array" +} +}, +"type": "object" +}, +"AdaptiveMtTranslation": { +"description": "An AdaptiveMt translation.", +"id": "AdaptiveMtTranslation", +"properties": { +"translatedText": { +"description": "Output only. The translated text.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"BatchDocumentInputConfig": { +"description": "Input configuration for BatchTranslateDocument request.", +"id": "BatchDocumentInputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Google Cloud Storage location for the source input. This can be a single file (for example, `gs://translation-test/input.docx`) or a wildcard (for example, `gs://translation-test/*`). File mime type is determined based on extension. Supported mime type includes: - `pdf`, application/pdf - `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document - `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation - `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB. The max file size to support for `.pdf` is 1GB and the max page limit is 1000 pages. The max file size to support for all input documents is 1GB." +} +}, +"type": "object" +}, +"BatchDocumentOutputConfig": { +"description": "Output configuration for BatchTranslateDocument request.", +"id": "BatchDocumentOutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Google Cloud Storage destination for output content. For every single input document (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateDocumentRequest). While the input documents are being processed, we write/update an index file `index.csv` under `gcs_destination.output_uri_prefix` (for example, gs://translation_output/index.csv) The index file is generated/updated as new files are being translated. The format is: input_document,target_language_code,translation_output,error_output, glossary_translation_output,glossary_error_output `input_document` is one file we matched using gcs_source.input_uri. `target_language_code` is provided in the request. `translation_output` contains the translations. (details provided below) `error_output` contains the error message during processing of the file. Both translations_file and errors_file could be empty strings if we have no content to output. `glossary_translation_output` and `glossary_error_output` are the translated output/error when we apply glossaries. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The naming format of translation output files follows (for target language code [trg]): `translation_output`: `gs://translation_output/a_b_c_[trg]_translation.[extension]` `glossary_translation_output`: `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The output document will maintain the same file format as the input document. The naming format of error output files follows (for target language code [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` `glossary_error_output`: `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error output is a txt file containing error details." +} +}, +"type": "object" +}, +"BatchTranslateDocumentRequest": { +"description": "The BatchTranslateDocument request.", +"id": "BatchTranslateDocumentRequest", +"properties": { +"customizedAttribution": { +"description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", +"type": "string" +}, +"enableRotationCorrection": { +"description": "Optional. If true, enable auto rotation correction in DVS.", +"type": "boolean" +}, +"enableShadowRemovalNativePdf": { +"description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false && pdf_native_only: false", +"type": "boolean" +}, +"formatConversions": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The file format conversion map that is applied to all input files. The map key is the original mime_type. The map value is the target mime_type of translated documents. Supported file format conversion includes: - `application/pdf` to `application/vnd.openxmlformats-officedocument.wordprocessingml.document` If nothing specified, output files will be in the same format as the original file.", +"type": "object" +}, +"glossaries": { +"additionalProperties": { +"$ref": "TranslateTextGlossaryConfig" +}, +"description": "Optional. Glossaries to be applied. It's keyed by target language code.", +"type": "object" +}, +"inputConfigs": { +"description": "Required. Input configurations. The total number of files matched should be <= 100. The total content size to translate should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.", +"items": { +"$ref": "BatchDocumentInputConfig" +}, +"type": "array" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The models to use for translation. Map's key is target language code. Map's value is the model name. Value can be a built-in general model, or an AutoML Translation model. The value format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If the map is empty or a specific model is not requested for a language pair, then default google model (nmt) is used.", +"type": "object" +}, +"outputConfig": { +"$ref": "BatchDocumentOutputConfig", +"description": "Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs." +}, +"pdfNativeOnly": { +"description": "Optional. If true, only native pdf pages will be translated.", +"type": "boolean" +}, +"sourceLanguageCode": { +"description": "Required. The ISO-639 language code of the input document if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +}, +"targetLanguageCodes": { +"description": "Required. The ISO-639 language code to use for translation of the input document. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"BatchTranslateTextRequest": { +"description": "The batch translation request.", +"id": "BatchTranslateTextRequest", +"properties": { +"glossaries": { +"additionalProperties": { +"$ref": "TranslateTextGlossaryConfig" +}, +"description": "Optional. Glossaries to be applied for translation. It's keyed by target language code.", +"type": "object" +}, +"inputConfigs": { +"description": "Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.", +"items": { +"$ref": "InputConfig" +}, +"type": "array" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.", +"type": "object" +}, +"models": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The models to use for translation. Map's key is target language code. Map's value is model name. Value can be a built-in general model, or an AutoML Translation model. The value format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If the map is empty or a specific model is not requested for a language pair, then default google model (nmt) is used.", +"type": "object" +}, +"outputConfig": { +"$ref": "OutputConfig", +"description": "Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs." +}, +"sourceLanguageCode": { +"description": "Required. Source language code. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +}, +"targetLanguageCodes": { +"description": "Required. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"Dataset": { +"description": "A dataset that hosts the examples (sentence pairs) used for translation models.", +"id": "Dataset", +"properties": { +"createTime": { +"description": "Output only. Timestamp when this dataset was created.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", +"type": "string" +}, +"exampleCount": { +"description": "Output only. The number of examples in the dataset.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"name": { +"description": "The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`", +"type": "string" +}, +"sourceLanguageCode": { +"description": "The BCP-47 language code of the source language.", +"type": "string" +}, +"targetLanguageCode": { +"description": "The BCP-47 language code of the target language.", +"type": "string" +}, +"testExampleCount": { +"description": "Output only. Number of test examples (sentence pairs).", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"trainExampleCount": { +"description": "Output only. Number of training examples (sentence pairs).", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"updateTime": { +"description": "Output only. Timestamp when this dataset was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validateExampleCount": { +"description": "Output only. Number of validation examples (sentence pairs).", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"DatasetInputConfig": { +"description": "Input configuration for datasets.", +"id": "DatasetInputConfig", +"properties": { +"inputFiles": { +"description": "Files containing the sentence pairs to be imported to the dataset.", +"items": { +"$ref": "InputFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"DatasetOutputConfig": { +"description": "Output configuration for datasets.", +"id": "DatasetOutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsOutputDestination", +"description": "Google Cloud Storage destination to write the output." +} +}, +"type": "object" +}, +"DetectLanguageRequest": { +"description": "The request message for language detection.", +"id": "DetectLanguageRequest", +"properties": { +"content": { +"description": "The content of the input stored as a string.", +"type": "string" +}, +"documentInputConfig": { +"$ref": "DocumentInputConfig", +"description": "Optional. The document configuration of the input." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.", +"type": "object" +}, +"mimeType": { +"description": "Optional. The format of the source text, for example, \"text/html\", \"text/plain\". If left blank, the MIME type defaults to \"text/html\".", +"type": "string" +}, +"model": { +"description": "Optional. The language detection model to be used. Format: `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/{model-id}` Only one language detection model is currently supported: `projects/{project-number-or-id}/locations/{location-id}/models/language-detection/default`. If not specified, the default model is used.", +"type": "string" +} +}, +"type": "object" +}, +"DetectLanguageResponse": { +"description": "The response message for language detection.", +"id": "DetectLanguageResponse", +"properties": { +"languages": { +"description": "The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.", +"items": { +"$ref": "DetectedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"DetectedLanguage": { +"description": "The response message for language detection.", +"id": "DetectedLanguage", +"properties": { +"confidence": { +"description": "The confidence of the detection result for this language.", +"format": "float", +"type": "number" +}, +"languageCode": { +"description": "The ISO-639 language code of the source content in the request, detected automatically.", +"type": "string" +} +}, +"type": "object" +}, +"DocumentInputConfig": { +"description": "A document translation request input config.", +"id": "DocumentInputConfig", +"properties": { +"content": { +"description": "Document's content represented as a stream of bytes.", +"format": "byte", +"type": "string" +}, +"gcsSource": { +"$ref": "GcsSource", +"description": "Google Cloud Storage location. This must be a single file. For example: gs://example_bucket/example_file.pdf" +}, +"mimeType": { +"description": "Specifies the input document's mime_type. If not specified it will be determined using the file extension for gcs_source provided files. For a file provided through bytes content the mime_type must be provided. Currently supported mime types are: - application/pdf - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.presentationml.presentation - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", +"type": "string" +} +}, +"type": "object" +}, +"DocumentOutputConfig": { +"description": "A document translation request output config.", +"id": "DocumentOutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Optional. Google Cloud Storage destination for the translation output, e.g., `gs://my_bucket/my_directory/`. The destination directory provided does not have to be empty, but the bucket must exist. If a file with the same name as the output file already exists in the destination an error will be returned. For a DocumentInputConfig.contents provided document, the output file will have the name \"output_[trg]_translations.[ext]\", where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. For a DocumentInputConfig.gcs_uri provided document, the output file will have a name according to its URI. For example: an input file with URI: `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name \"my_bucket\" will have an output URI: `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. If the document was directly provided through the request, then the output document will have the format: `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where - [trg] corresponds to the translated file's language code, - [ext] corresponds to the translated file's extension according to its mime type. If a glossary was provided, then the output URI for the glossary translation will be equal to the default output URI but have `glossary_translations` instead of `translations`. For the previous example, its glossary URI would be: `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. Thus the max number of output files will be 2 (Translated document, Glossary translated document). Callers should expect no partial outputs. If there is any error during document translation, no output will be stored in the Cloud Storage bucket." +}, +"mimeType": { +"description": "Optional. Specifies the translated document's mime_type. If not specified, the translated file's mime type will be the same as the input file's mime type. Currently only support the output mime type to be the same as input mime type. - application/pdf - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.openxmlformats-officedocument.presentationml.presentation - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", +"type": "string" +} +}, +"type": "object" +}, +"DocumentTranslation": { +"description": "A translated document message.", +"id": "DocumentTranslation", +"properties": { +"byteStreamOutputs": { +"description": "The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.", +"items": { +"format": "byte", +"type": "string" +}, +"type": "array" +}, +"detectedLanguageCode": { +"description": "The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.", +"type": "string" +}, +"mimeType": { +"description": "The translated document's mime type.", +"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" +}, +"Example": { +"description": "A sentence pair.", +"id": "Example", +"properties": { +"name": { +"description": "Output only. The resource name of the example, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}/examples/{example_id}`", +"readOnly": true, +"type": "string" +}, +"sourceText": { +"description": "Sentence in source language.", +"type": "string" +}, +"targetText": { +"description": "Sentence in target language.", +"type": "string" +}, +"usage": { +"description": "Output only. Usage of the sentence pair. Options are TRAIN|VALIDATION|TEST.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ExportDataRequest": { +"description": "Request message for ExportData.", +"id": "ExportDataRequest", +"properties": { +"outputConfig": { +"$ref": "DatasetOutputConfig", +"description": "Required. The config for the output content." +} +}, +"type": "object" +}, +"FileInputSource": { +"description": "An inlined file.", +"id": "FileInputSource", +"properties": { +"content": { +"description": "Required. The file's byte contents.", +"format": "byte", +"type": "string" +}, +"displayName": { +"description": "Required. The file's display name.", +"type": "string" +}, +"mimeType": { +"description": "Required. The file's mime type.", +"type": "string" +} +}, +"type": "object" +}, +"GcsDestination": { +"description": "The Google Cloud Storage location for the output content.", +"id": "GcsDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. The bucket used in 'output_uri_prefix' must exist and there must be no files under 'output_uri_prefix'. 'output_uri_prefix' must end with \"/\" and start with \"gs://\". One 'output_uri_prefix' can only be used by one batch translation job at a time. Otherwise an INVALID_ARGUMENT (400) error is returned.", +"type": "string" +} +}, +"type": "object" +}, +"GcsInputSource": { +"description": "The Google Cloud Storage location for the input content.", +"id": "GcsInputSource", +"properties": { +"inputUri": { +"description": "Required. Source data URI. For example, `gs://my_bucket/my_object`.", +"type": "string" +} +}, +"type": "object" +}, +"GcsOutputDestination": { +"description": "The Google Cloud Storage location for the output content.", +"id": "GcsOutputDestination", +"properties": { +"outputUriPrefix": { +"description": "Required. Google Cloud Storage URI to output directory. For example, `gs://bucket/directory`. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.", +"type": "string" +} +}, +"type": "object" +}, +"GcsSource": { +"description": "The Google Cloud Storage location for the input content.", +"id": "GcsSource", +"properties": { +"inputUri": { +"description": "Required. Source data URI. For example, `gs://my_bucket/my_object`.", +"type": "string" +} +}, +"type": "object" +}, +"Glossary": { +"description": "Represents a glossary built from user-provided data.", +"id": "Glossary", +"properties": { +"displayName": { +"description": "Optional. The display name of the glossary.", +"type": "string" +}, +"endTime": { +"description": "Output only. When the glossary creation was finished.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"entryCount": { +"description": "Output only. The number of entries defined in the glossary.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"inputConfig": { +"$ref": "GlossaryInputConfig", +"description": "Required. Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints." +}, +"languageCodesSet": { +"$ref": "LanguageCodesSet", +"description": "Used with equivalent term set glossaries." +}, +"languagePair": { +"$ref": "LanguageCodePair", +"description": "Used with unidirectional glossaries." +}, +"name": { +"description": "Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.", +"type": "string" +}, +"submitTime": { +"description": "Output only. When CreateGlossary was called.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"GlossaryConfig": { +"description": "Configures which glossary is used for a specific target language and defines options for applying that glossary.", +"id": "GlossaryConfig", +"properties": { +"contextualTranslationEnabled": { +"description": "Optional. If set to true, the glossary will be used for contextual translation.", +"type": "boolean" +}, +"glossary": { +"description": "Required. The `glossary` to be applied for this translation. The format depends on the glossary: - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`", +"type": "string" +}, +"ignoreCase": { +"description": "Optional. Indicates match is case insensitive. The default value is `false` if missing.", +"type": "boolean" +} +}, +"type": "object" +}, +"GlossaryEntry": { +"description": "Represents a single entry in a glossary.", +"id": "GlossaryEntry", +"properties": { +"description": { +"description": "Describes the glossary entry.", +"type": "string" +}, +"name": { +"description": "Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`", +"type": "string" +}, +"termsPair": { +"$ref": "GlossaryTermsPair", +"description": "Used for an unidirectional glossary." +}, +"termsSet": { +"$ref": "GlossaryTermsSet", +"description": "Used for an equivalent term sets glossary." +} +}, +"type": "object" +}, +"GlossaryInputConfig": { +"description": "Input configuration for glossaries.", +"id": "GlossaryInputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Required. Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary)." +} +}, +"type": "object" +}, +"GlossaryTerm": { +"description": "Represents a single glossary term", +"id": "GlossaryTerm", +"properties": { +"languageCode": { +"description": "The language for this glossary term.", +"type": "string" +}, +"text": { +"description": "The text for the glossary term.", +"type": "string" +} +}, +"type": "object" +}, +"GlossaryTermsPair": { +"description": "Represents a single entry for an unidirectional glossary.", +"id": "GlossaryTermsPair", +"properties": { +"sourceTerm": { +"$ref": "GlossaryTerm", +"description": "The source term is the term that will get match in the text," +}, +"targetTerm": { +"$ref": "GlossaryTerm", +"description": "The term that will replace the match source term." +} +}, +"type": "object" +}, +"GlossaryTermsSet": { +"description": "Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.", +"id": "GlossaryTermsSet", +"properties": { +"terms": { +"description": "Each term in the set represents a term that can be replaced by the other terms.", +"items": { +"$ref": "GlossaryTerm" +}, +"type": "array" +} +}, +"type": "object" +}, +"ImportAdaptiveMtFileRequest": { +"description": "The request for importing an AdaptiveMt file along with its sentences.", +"id": "ImportAdaptiveMtFileRequest", +"properties": { +"fileInputSource": { +"$ref": "FileInputSource", +"description": "Inline file source." +}, +"gcsInputSource": { +"$ref": "GcsInputSource", +"description": "Google Cloud Storage file source." +} +}, +"type": "object" +}, +"ImportAdaptiveMtFileResponse": { +"description": "The response for importing an AdaptiveMtFile", +"id": "ImportAdaptiveMtFileResponse", +"properties": { +"adaptiveMtFile": { +"$ref": "AdaptiveMtFile", +"description": "Output only. The Adaptive MT file that was imported.", +"readOnly": true +} +}, +"type": "object" +}, +"ImportDataRequest": { +"description": "Request message for ImportData.", +"id": "ImportDataRequest", +"properties": { +"inputConfig": { +"$ref": "DatasetInputConfig", +"description": "Required. The config for the input content." +} +}, +"type": "object" +}, +"InputConfig": { +"description": "Input configuration for BatchTranslateText request.", +"id": "InputConfig", +"properties": { +"gcsSource": { +"$ref": "GcsSource", +"description": "Required. Google Cloud Storage location for the source input. This can be a single file (for example, `gs://translation-test/input.tsv`) or a wildcard (for example, `gs://translation-test/*`). If a file extension is `.tsv`, it can contain either one or two columns. The first column (optional) is the id of the text request. If the first column is missing, we use the row number (0-based) from the input file as the ID in the output file. The second column is the actual text to be translated. We recommend each row be <= 10K Unicode codepoints, otherwise an error might be returned. Note that the input tsv must be RFC 4180 compliant. You could use https://github.com/Clever/csvlint to check potential formatting errors in your tsv file. csvlint --delimiter='\\t' your_input_file.tsv The other supported file extensions are `.txt` or `.html`, which is treated as a single large chunk of text." +}, +"mimeType": { +"description": "Optional. Can be \"text/plain\" or \"text/html\". For `.tsv`, \"text/html\" is used if mime_type is missing. For `.html`, this field must be \"text/html\" or empty. For `.txt`, this field must be \"text/plain\" or empty.", +"type": "string" +} +}, +"type": "object" +}, +"InputFile": { +"description": "An input file.", +"id": "InputFile", +"properties": { +"gcsSource": { +"$ref": "GcsInputSource", +"description": "Google Cloud Storage file source." +}, +"usage": { +"description": "Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST, or UNASSIGNED (by default) for auto split.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageCodePair": { +"description": "Used with unidirectional glossaries.", +"id": "LanguageCodePair", +"properties": { +"sourceLanguageCode": { +"description": "Required. The ISO-639 language code of the input text, for example, \"en-US\". Expected to be an exact match for GlossaryTerm.language_code.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The ISO-639 language code for translation output, for example, \"zh-CN\". Expected to be an exact match for GlossaryTerm.language_code.", +"type": "string" +} +}, +"type": "object" +}, +"LanguageCodesSet": { +"description": "Used with equivalent term set glossaries.", +"id": "LanguageCodesSet", +"properties": { +"languageCodes": { +"description": "Optional. The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListAdaptiveMtDatasetsResponse": { +"description": "A list of AdaptiveMtDatasets.", +"id": "ListAdaptiveMtDatasetsResponse", +"properties": { +"adaptiveMtDatasets": { +"description": "Output only. A list of Adaptive MT datasets.", +"items": { +"$ref": "AdaptiveMtDataset" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token to retrieve a page of results. Pass this value in the [ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to `ListAdaptiveMtDatasets` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdaptiveMtFilesResponse": { +"description": "The response for listing all AdaptiveMt files under a given dataset.", +"id": "ListAdaptiveMtFilesResponse", +"properties": { +"adaptiveMtFiles": { +"description": "Output only. The Adaptive MT files.", +"items": { +"$ref": "AdaptiveMtFile" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListAdaptiveMtSentencesResponse": { +"description": "List AdaptiveMt sentences response.", +"id": "ListAdaptiveMtSentencesResponse", +"properties": { +"adaptiveMtSentences": { +"description": "Output only. The list of AdaptiveMtSentences.", +"items": { +"$ref": "AdaptiveMtSentence" +}, +"readOnly": true, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. ", +"type": "string" +} +}, +"type": "object" +}, +"ListDatasetsResponse": { +"description": "Response message for ListDatasets.", +"id": "ListDatasetsResponse", +"properties": { +"datasets": { +"description": "The datasets read.", +"items": { +"$ref": "Dataset" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListDatasetsRequest to obtain the corresponding page.", +"type": "string" +} +}, +"type": "object" +}, +"ListExamplesResponse": { +"description": "Response message for ListExamples.", +"id": "ListExamplesResponse", +"properties": { +"examples": { +"description": "The sentence pairs.", +"items": { +"$ref": "Example" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListExamplesRequest to obtain the corresponding page.", +"type": "string" +} +}, +"type": "object" +}, +"ListGlossariesResponse": { +"description": "Response message for ListGlossaries.", +"id": "ListGlossariesResponse", +"properties": { +"glossaries": { +"description": "The list of glossaries for a project.", +"items": { +"$ref": "Glossary" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve a page of results. Pass this value in the [ListGlossariesRequest.page_token] field in the subsequent call to `ListGlossaries` method to retrieve the next page of results.", +"type": "string" +} +}, +"type": "object" +}, +"ListGlossaryEntriesResponse": { +"description": "Response message for ListGlossaryEntries", +"id": "ListGlossaryEntriesResponse", +"properties": { +"glossaryEntries": { +"description": "Optional. The Glossary Entries", +"items": { +"$ref": "GlossaryEntry" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Optional. A token to retrieve a page of results. Pass this value in the [ListGLossaryEntriesRequest.page_token] field in the subsequent calls.", +"type": "string" +} +}, +"type": "object" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListModelsResponse": { +"description": "Response message for ListModels.", +"id": "ListModelsResponse", +"properties": { +"models": { +"description": "The models read.", +"items": { +"$ref": "Model" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token to retrieve next page of results. Pass this token to the page_token field in the ListModelsRequest to obtain the corresponding page.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Model": { +"description": "A trained translation model.", +"id": "Model", +"properties": { +"createTime": { +"description": "Output only. Timestamp when the model resource was created, which is also when the training started.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"dataset": { +"description": "Required. The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`", +"type": "string" +}, +"displayName": { +"description": "The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", +"type": "string" +}, +"name": { +"description": "The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`", +"type": "string" +}, +"sourceLanguageCode": { +"description": "Output only. The BCP-47 language code of the source language.", +"readOnly": true, +"type": "string" +}, +"targetLanguageCode": { +"description": "Output only. The BCP-47 language code of the target language.", +"readOnly": true, +"type": "string" +}, +"testExampleCount": { +"description": "Output only. Number of examples (sentence pairs) used to test the model.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"trainExampleCount": { +"description": "Output only. Number of examples (sentence pairs) used to train the model.", +"format": "int32", +"readOnly": true, +"type": "integer" +}, +"updateTime": { +"description": "Output only. Timestamp when this model was last updated.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"validateExampleCount": { +"description": "Output only. Number of examples (sentence pairs) used to validate the model.", +"format": "int32", +"readOnly": true, +"type": "integer" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OutputConfig": { +"description": "Output configuration for BatchTranslateText request.", +"id": "OutputConfig", +"properties": { +"gcsDestination": { +"$ref": "GcsDestination", +"description": "Google Cloud Storage destination for output content. For every single input file (for example, gs://a/b/c.[extension]), we generate at most 2 * n output files. (n is the # of target_language_codes in the BatchTranslateTextRequest). Output files (tsv) generated are compliant with RFC 4180 except that record delimiters are '\\n' instead of '\\r\\n'. We don't provide any way to change record delimiters. While the input files are being processed, we write/update an index file 'index.csv' under 'output_uri_prefix' (for example, gs://translation-test/index.csv) The index file is generated/updated as new files are being translated. The format is: input_file,target_language_code,translations_file,errors_file, glossary_translations_file,glossary_errors_file input_file is one file we matched using gcs_source.input_uri. target_language_code is provided in the request. translations_file contains the translations. (details provided below) errors_file contains the errors during processing of the file. (details below). Both translations_file and errors_file could be empty strings if we have no content to output. glossary_translations_file and glossary_errors_file are always empty strings if the input_file is tsv. They could also be empty if we have no content to output. Once a row is present in index.csv, the input/output matching never changes. Callers should also expect all the content in input_file are processed and ready to be consumed (that is, no partial output file is written). Since index.csv will be keeping updated during the process, please make sure there is no custom retention policy applied on the output bucket that may avoid file updating. (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) The format of translations_file (for target language code 'trg') is: `gs://translation_test/a_b_c_'trg'_translations.[extension]` If the input file extension is tsv, the output has the following columns: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: translation without applying a glossary. Empty string if there is an error. Column 4 (only present if a glossary is provided in the request): translation after applying the glossary. Empty string if there is an error applying the glossary. Could be same string as column 3 if there is no glossary applied. If input file extension is a txt or html, the translation is directly written to the output file. If glossary is requested, a separate glossary_translations_file has format of `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` The format of errors file (for target language code 'trg') is: `gs://translation_test/a_b_c_'trg'_errors.[extension]` If the input file extension is tsv, errors_file contains the following: Column 1: ID of the request provided in the input, if it's not provided in the input, then the input row number is used (0-based). Column 2: source sentence. Column 3: Error detail for the translation. Could be empty. Column 4 (only present if a glossary is provided in the request): Error when applying the glossary. If the input file extension is txt or html, glossary_error_file will be generated that contains error details. glossary_error_file has format of `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]`" +} +}, +"type": "object" +}, +"ReferenceSentenceConfig": { +"description": "Message of caller-provided reference configuration.", +"id": "ReferenceSentenceConfig", +"properties": { +"referenceSentencePairLists": { +"description": "Reference sentences pair lists. Each list will be used as the references to translate the sentence under \"content\" field at the corresponding index. Length of the list is required to be equal to the length of \"content\" field.", +"items": { +"$ref": "ReferenceSentencePairList" +}, +"type": "array" +}, +"sourceLanguageCode": { +"description": "Source language code.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Target language code.", +"type": "string" +} +}, +"type": "object" +}, +"ReferenceSentencePair": { +"description": "A pair of sentences used as reference in source and target languages.", +"id": "ReferenceSentencePair", +"properties": { +"sourceSentence": { +"description": "Source sentence in the sentence pair.", +"type": "string" +}, +"targetSentence": { +"description": "Target sentence in the sentence pair.", +"type": "string" +} +}, +"type": "object" +}, +"ReferenceSentencePairList": { +"description": "A list of reference sentence pairs.", +"id": "ReferenceSentencePairList", +"properties": { +"referenceSentencePairs": { +"description": "Reference sentence pairs.", +"items": { +"$ref": "ReferenceSentencePair" +}, +"type": "array" +} +}, +"type": "object" +}, +"RefineTextRequest": { +"description": "Request message for RefineText.", +"id": "RefineTextRequest", +"properties": { +"refinementEntries": { +"description": "Required. The source texts and original translations in the source and target languages.", +"items": { +"$ref": "RefinementEntry" +}, +"type": "array" +}, +"sourceLanguageCode": { +"description": "Required. The BCP-47 language code of the source text in the request, for example, \"en-US\".", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The BCP-47 language code for translation output, for example, \"zh-CN\".", +"type": "string" +} +}, +"type": "object" +}, +"RefineTextResponse": { +"description": "Response message for RefineText.", +"id": "RefineTextResponse", +"properties": { +"refinedTranslations": { +"description": "The refined translations obtained from the original translations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RefinementEntry": { +"description": "A single refinement entry for RefineTextRequest.", +"id": "RefinementEntry", +"properties": { +"originalTranslation": { +"description": "Required. The original translation of the source text.", +"type": "string" +}, +"sourceText": { +"description": "Required. The source text to be refined.", +"type": "string" +} +}, +"type": "object" +}, +"Romanization": { +"description": "A single romanization response.", +"id": "Romanization", +"properties": { +"detectedLanguageCode": { +"description": "The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.", +"type": "string" +}, +"romanizedText": { +"description": "Romanized text. If an error occurs during romanization, this field might be excluded from the response.", +"type": "string" +} +}, +"type": "object" +}, +"RomanizeTextRequest": { +"description": "The request message for synchronous romanization.", +"id": "RomanizeTextRequest", +"properties": { +"contents": { +"description": "Required. The content of the input in string format.", +"items": { +"type": "string" +}, +"type": "array" +}, +"sourceLanguageCode": { +"description": "Optional. The ISO-639 language code of the input text if known, for example, \"hi\" or \"zh\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages#roman). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.", +"type": "string" +} +}, +"type": "object" +}, +"RomanizeTextResponse": { +"description": "The response message for synchronous romanization.", +"id": "RomanizeTextResponse", +"properties": { +"romanizations": { +"description": "Text romanization responses. This field has the same length as `contents`.", +"items": { +"$ref": "Romanization" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"SupportedLanguage": { +"description": "A single supported language response corresponds to information related to one supported language.", +"id": "SupportedLanguage", +"properties": { +"displayName": { +"description": "Human-readable name of the language localized in the display language specified in the request.", +"type": "string" +}, +"languageCode": { +"description": "Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').", +"type": "string" +}, +"supportSource": { +"description": "Can be used as a source language.", +"type": "boolean" +}, +"supportTarget": { +"description": "Can be used as a target language.", +"type": "boolean" +} +}, +"type": "object" +}, +"SupportedLanguages": { +"description": "The response message for discovering supported languages.", +"id": "SupportedLanguages", +"properties": { +"languages": { +"description": "A list of supported language responses. This list contains an entry for each language the Translation API supports.", +"items": { +"$ref": "SupportedLanguage" +}, +"type": "array" +} +}, +"type": "object" +}, +"TranslateDocumentRequest": { +"description": "A document translation request.", +"id": "TranslateDocumentRequest", +"properties": { +"customizedAttribution": { +"description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", +"type": "string" +}, +"documentInputConfig": { +"$ref": "DocumentInputConfig", +"description": "Required. Input configurations." +}, +"documentOutputConfig": { +"$ref": "DocumentOutputConfig", +"description": "Optional. Output configurations. Defines if the output file should be stored within Cloud Storage as well as the desired output format. If not provided the translated file will only be returned through a byte-stream and its output mime type will be the same as the input file's mime type." +}, +"enableRotationCorrection": { +"description": "Optional. If true, enable auto rotation correction in DVS.", +"type": "boolean" +}, +"enableShadowRemovalNativePdf": { +"description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false && pdf_native_only: false", +"type": "boolean" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." +}, +"isTranslateNativePdfOnly": { +"description": "Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.", +"type": "boolean" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.", +"type": "object" +}, +"model": { +"description": "Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If not provided, the default Google model (NMT) will be used for translation.", +"type": "string" +}, +"sourceLanguageCode": { +"description": "Optional. The ISO-639 language code of the input document if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The ISO-639 language code to use for translation of the input document, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +} +}, +"type": "object" +}, +"TranslateDocumentResponse": { +"description": "A translated document response message.", +"id": "TranslateDocumentResponse", +"properties": { +"documentTranslation": { +"$ref": "DocumentTranslation", +"description": "Translated document." +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "The `glossary_config` used for this translation." +}, +"glossaryDocumentTranslation": { +"$ref": "DocumentTranslation", +"description": "The document's translation output if a glossary is provided in the request. This can be the same as [TranslateDocumentResponse.document_translation] if no glossary terms apply." +}, +"model": { +"description": "Only present when 'model' is present in the request. 'model' is normalized to have a project number. For example: If the 'model' field in TranslateDocumentRequest is: `projects/{project-id}/locations/{location-id}/models/general/nmt` then `model` here would be normalized to `projects/{project-number}/locations/{location-id}/models/general/nmt`.", +"type": "string" +} +}, +"type": "object" +}, +"TranslateTextGlossaryConfig": { +"description": "Configures which glossary is used for a specific target language and defines options for applying that glossary.", +"id": "TranslateTextGlossaryConfig", +"properties": { +"contextualTranslationEnabled": { +"description": "Optional. If set to true, the glossary will be used for contextual translation.", +"type": "boolean" +}, +"glossary": { +"description": "Required. The `glossary` to be applied for this translation. The format depends on the glossary: - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`", +"type": "string" +}, +"ignoreCase": { +"description": "Optional. Indicates match is case insensitive. The default value is `false` if missing.", +"type": "boolean" +} +}, +"type": "object" +}, +"TranslateTextRequest": { +"description": "The request message for synchronous translation.", +"id": "TranslateTextRequest", +"properties": { +"contents": { +"description": "Required. The content of the input in string format. We recommend the total content be less than 30,000 codepoints. The max length of this field is 1024. Use BatchTranslateText for larger text.", +"items": { +"type": "string" +}, +"type": "array" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned." +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.", +"type": "object" +}, +"mimeType": { +"description": "Optional. The format of the source text, for example, \"text/html\", \"text/plain\". If left blank, the MIME type defaults to \"text/html\".", +"type": "string" +}, +"model": { +"description": "Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, - Translation LLM models: `projects/{project-number-or-id}/locations/{location-id}/models/general/translation-llm`, For global (non-regionalized) requests, use `location-id` `global`. For example, `projects/{project-number-or-id}/locations/global/models/general/nmt`. If not provided, the default Google model (NMT) will be used", +"type": "string" +}, +"sourceLanguageCode": { +"description": "Optional. The ISO-639 language code of the input text if known, for example, \"en-US\" or \"sr-Latn\". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response.", +"type": "string" +}, +"targetLanguageCode": { +"description": "Required. The ISO-639 language code to use for translation of the input text, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).", +"type": "string" +}, +"transliterationConfig": { +"$ref": "TransliterationConfig", +"description": "Optional. Transliteration to be applied." +} +}, +"type": "object" +}, +"TranslateTextResponse": { +"id": "TranslateTextResponse", +"properties": { +"glossaryTranslations": { +"description": "Text translation responses if a glossary is provided in the request. This can be the same as `translations` if no terms apply. This field has the same length as `contents`.", +"items": { +"$ref": "Translation" +}, +"type": "array" +}, +"translations": { +"description": "Text translation responses with no glossary applied. This field has the same length as `contents`.", +"items": { +"$ref": "Translation" +}, +"type": "array" +} +}, +"type": "object" +}, +"Translation": { +"description": "A single translation response.", +"id": "Translation", +"properties": { +"detectedLanguageCode": { +"description": "The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.", +"type": "string" +}, +"glossaryConfig": { +"$ref": "TranslateTextGlossaryConfig", +"description": "The `glossary_config` used for this translation." +}, +"model": { +"description": "Only present when `model` is present in the request. `model` here is normalized to have project number. For example: If the `model` requested in TranslationTextRequest is `projects/{project-id}/locations/{location-id}/models/general/nmt` then `model` here would be normalized to `projects/{project-number}/locations/{location-id}/models/general/nmt`.", +"type": "string" +}, +"translatedText": { +"description": "Text translated into the target language. If an error occurs during translation, this field might be excluded from the response.", +"type": "string" +} +}, +"type": "object" +}, +"TransliterationConfig": { +"description": "Configures transliteration feature on top of translation.", +"id": "TransliterationConfig", +"properties": { +"enableTransliteration": { +"description": "If true, source text in romanized form can be translated to the target language.", +"type": "boolean" +} +}, +"type": "object" +}, +"WaitOperationRequest": { +"description": "The request message for Operations.WaitOperation.", +"id": "WaitOperationRequest", +"properties": { +"timeout": { +"description": "The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.", +"format": "google-duration", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Cloud Translation API", +"version": "v3", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..052b6f8b35f352ba4de397efaa59b885e9e2b85a --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json @@ -0,0 +1,631 @@ +{ +"basePath": "", +"baseUrl": "https://travelimpactmodel.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Travel Impact Model", +"description": "Travel Impact Model API lets you query travel carbon emission estimates.", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/travel/impact-model", +"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": "travelimpactmodel:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://travelimpactmodel.mtls.googleapis.com/", +"name": "travelimpactmodel", +"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": { +"flights": { +"methods": { +"computeFlightEmissions": { +"description": "Stateless method to retrieve emission estimates. Details on how emission estimates are computed are in [GitHub](https://github.com/google/travel-impact-model) The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include: * The flight is unknown to the server. * The input flight leg is missing one or more identifiers. * The flight date is in the past. * The aircraft type is not supported by the model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.", +"flatPath": "v1/flights:computeFlightEmissions", +"httpMethod": "POST", +"id": "travelimpactmodel.flights.computeFlightEmissions", +"parameterOrder": [], +"parameters": {}, +"path": "v1/flights:computeFlightEmissions", +"request": { +"$ref": "ComputeFlightEmissionsRequest" +}, +"response": { +"$ref": "ComputeFlightEmissionsResponse" +} +}, +"computeScope3FlightEmissions": { +"description": "Stateless method to retrieve GHG emissions estimates for a set of flight segments for Scope 3 reporting. The response will contain all entries that match the input Scope3FlightSegment flight segments, in the same order provided. The estimates will be computed using the following cascading logic (using the first one that is available): 1. TIM-based emissions given origin, destination, carrier, flightNumber, departureDate, and cabinClass. 2. Typical flight emissions given origin, destination, year in departureDate, and cabinClass. 3. Distance-based emissions calculated using distanceKm, year in departureDate, and cabinClass. If there is a future flight requested in this calendar year, we do not support Tier 1 emissions and will fallback to Tier 2 or 3 emissions. If the requested future flight is in not in this calendar year, we will return an empty response. We recommend that for future flights, computeFlightEmissions API is used instead. If there are no estimates available for a certain flight with any of the three methods, the response will return a Scope3FlightEmissions object with empty emission fields. The request will still be considered successful. Generally, missing emissions estimates occur when the flight is unknown to the server (e.g. no specific flight exists, or typical flight emissions are not available for the requested pair). The request will fail with an `INVALID_ARGUMENT` error if: * The request contains more than 1,000 flight legs. * The input flight leg is missing one or more identifiers. For example, missing origin/destination without a valid distance for TIM_EMISSIONS or TYPICAL_FLIGHT_EMISSIONS type matching, or missing distance for a DISTANCE_BASED_EMISSIONS type matching (if you want to fallback to distance-based emissions or want a distance-based emissions estimate, you need to specify a distance). * The flight date is before 2019 (Scope 3 data is only available for 2019 and after). * The flight distance is 0 or lower. * Missing cabin class. Because the request is processed with fallback logic, it is possible that misconfigured requests return valid emissions estimates using fallback methods. For example, if a request has the wrong flight number but specifies the origin and destination, the request will still succeed, but the returned emissions will be based solely on the typical flight emissions. Similarly, if a request is missing the origin for a typical flight emissions request, but specifies a valid distance, the request could succeed based solely on the distance-based emissions. Consequently, one should check the source of the returned emissions (source) to confirm the results are as expected.", +"flatPath": "v1/flights:computeScope3FlightEmissions", +"httpMethod": "POST", +"id": "travelimpactmodel.flights.computeScope3FlightEmissions", +"parameterOrder": [], +"parameters": {}, +"path": "v1/flights:computeScope3FlightEmissions", +"request": { +"$ref": "ComputeScope3FlightEmissionsRequest" +}, +"response": { +"$ref": "ComputeScope3FlightEmissionsResponse" +} +}, +"computeTypicalFlightEmissions": { +"description": "Retrieves typical flight emissions estimates between two airports, also known as a market. If there are no estimates available for a certain market, the response will return the market object with empty emission fields. The request will still be considered successful. Details on how the typical emissions estimates are computed are on [GitHub](https://github.com/google/travel-impact-model/blob/main/projects/typical_flight_emissions.md). The request can contain up to 1000 markets. If the request has more than 1000 markets, it will fail with an INVALID_ARGUMENT error.", +"flatPath": "v1/flights:computeTypicalFlightEmissions", +"httpMethod": "POST", +"id": "travelimpactmodel.flights.computeTypicalFlightEmissions", +"parameterOrder": [], +"parameters": {}, +"path": "v1/flights:computeTypicalFlightEmissions", +"request": { +"$ref": "ComputeTypicalFlightEmissionsRequest" +}, +"response": { +"$ref": "ComputeTypicalFlightEmissionsResponse" +} +} +} +} +}, +"revision": "20260127", +"rootUrl": "https://travelimpactmodel.googleapis.com/", +"schemas": { +"ComputeFlightEmissionsRequest": { +"description": "Input definition for the ComputeFlightEmissions request.", +"id": "ComputeFlightEmissionsRequest", +"properties": { +"flights": { +"description": "Required. Direct flights to return emission estimates for.", +"items": { +"$ref": "Flight" +}, +"type": "array" +} +}, +"type": "object" +}, +"ComputeFlightEmissionsResponse": { +"description": "Output definition for the ComputeFlightEmissions response.", +"id": "ComputeFlightEmissionsResponse", +"properties": { +"flightEmissions": { +"description": "List of flight legs with emission estimates.", +"items": { +"$ref": "FlightWithEmissions" +}, +"type": "array" +}, +"modelVersion": { +"$ref": "ModelVersion", +"description": "The model version under which emission estimates for all flights in this response were computed." +} +}, +"type": "object" +}, +"ComputeScope3FlightEmissionsRequest": { +"description": "A list of flight segments to request the Scope 3 emissions for.", +"id": "ComputeScope3FlightEmissionsRequest", +"properties": { +"flights": { +"description": "Required. Flights to return emission estimates for.", +"items": { +"$ref": "Scope3FlightSegment" +}, +"type": "array" +}, +"modelVersion": { +"$ref": "ModelVersion", +"description": "Optional. The model version under which emission estimates for all flights in this request were computed." +} +}, +"type": "object" +}, +"ComputeScope3FlightEmissionsResponse": { +"description": "A list of flights with Scope 3 emission estimates.", +"id": "ComputeScope3FlightEmissionsResponse", +"properties": { +"flightEmissions": { +"description": "List of flight segments with emission estimates.", +"items": { +"$ref": "Scope3FlightEmissions" +}, +"type": "array" +}, +"modelVersion": { +"$ref": "ModelVersion", +"description": "The model version under which emission estimates for all flights in this response were computed." +} +}, +"type": "object" +}, +"ComputeTypicalFlightEmissionsRequest": { +"description": "A list of pair of airports (markets) to request the typical emissions for.", +"id": "ComputeTypicalFlightEmissionsRequest", +"properties": { +"markets": { +"description": "Required. Request the typical flight emissions estimates for this market pair. A maximum of 1000 markets can be requested.", +"items": { +"$ref": "Market" +}, +"type": "array" +} +}, +"type": "object" +}, +"ComputeTypicalFlightEmissionsResponse": { +"description": "The response includes the emissions but also the model version.", +"id": "ComputeTypicalFlightEmissionsResponse", +"properties": { +"modelVersion": { +"$ref": "ModelVersion", +"description": "The model version under which typical flight emission estimates for all flights in this response were computed." +}, +"typicalFlightEmissions": { +"description": "Market's Typical Flight Emissions requested.", +"items": { +"$ref": "TypicalFlightEmissions" +}, +"type": "array" +} +}, +"type": "object" +}, +"Date": { +"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", +"id": "Date", +"properties": { +"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", +"type": "integer" +}, +"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", +"type": "integer" +}, +"year": { +"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"EasaLabelMetadata": { +"description": "Metadata about the EASA Flight Emissions Label.", +"id": "EasaLabelMetadata", +"properties": { +"labelExpiryDate": { +"$ref": "Date", +"description": "The date when the label expires. The label can be displayed until the end of this date." +}, +"labelIssueDate": { +"$ref": "Date", +"description": "The date when the label was issued." +}, +"labelVersion": { +"description": "Version of the label.", +"type": "string" +}, +"safDiscountPercentage": { +"description": "Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%. This discount and reduction in emissions are reported by the EASA label but they are not included in the CO2e estimates distributed by this API.", +"format": "double", +"type": "number" +} +}, +"type": "object" +}, +"EmissionsGramsPerPax": { +"description": "Grouped emissions per seating class results.", +"id": "EmissionsGramsPerPax", +"properties": { +"business": { +"description": "Emissions for one passenger in business class in grams. This field is always computed and populated, regardless of whether the aircraft has business class seats or not.", +"format": "int32", +"type": "integer" +}, +"economy": { +"description": "Emissions for one passenger in economy class in grams. This field is always computed and populated, regardless of whether the aircraft has economy class seats or not.", +"format": "int32", +"type": "integer" +}, +"first": { +"description": "Emissions for one passenger in first class in grams. This field is always computed and populated, regardless of whether the aircraft has first class seats or not.", +"format": "int32", +"type": "integer" +}, +"premiumEconomy": { +"description": "Emissions for one passenger in premium economy class in grams. This field is always computed and populated, regardless of whether the aircraft has premium economy class seats or not.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Flight": { +"description": "All details related to a single request item for a direct flight emission estimates.", +"id": "Flight", +"properties": { +"departureDate": { +"$ref": "Date", +"description": "Required. Date of the flight in the time zone of the origin airport. Must be a date in the present or future." +}, +"destination": { +"description": "Required. IATA airport code for flight destination, e.g. \"JFK\".", +"type": "string" +}, +"flightNumber": { +"description": "Required. Flight number, e.g. 324.", +"format": "int32", +"type": "integer" +}, +"operatingCarrierCode": { +"description": "Required. IATA carrier code, e.g. \"AA\".", +"type": "string" +}, +"origin": { +"description": "Required. IATA airport code for flight origin, e.g. \"LHR\".", +"type": "string" +} +}, +"type": "object" +}, +"FlightWithEmissions": { +"description": "Direct flight with emission estimates.", +"id": "FlightWithEmissions", +"properties": { +"contrailsImpactBucket": { +"description": "Optional. The significance of contrails warming impact compared to the total CO2e emissions impact.", +"enum": [ +"CONTRAILS_IMPACT_UNSPECIFIED", +"CONTRAILS_IMPACT_NEGLIGIBLE", +"CONTRAILS_IMPACT_MODERATE", +"CONTRAILS_IMPACT_SEVERE" +], +"enumDescriptions": [ +"The contrails impact is unspecified.", +"The contrails impact is negligible compared to the total CO2e emissions.", +"The contrails impact is comparable to the total CO2e emissions.", +"The contrails impact is higher than the total CO2e emissions impact." +], +"type": "string" +}, +"easaLabelMetadata": { +"$ref": "EasaLabelMetadata", +"description": "Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data source is EASA." +}, +"emissionsGramsPerPax": { +"$ref": "EmissionsGramsPerPax", +"description": "Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions." +}, +"flight": { +"$ref": "Flight", +"description": "Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized." +}, +"source": { +"description": "Optional. The source of the emissions data.", +"enum": [ +"SOURCE_UNSPECIFIED", +"TIM", +"EASA" +], +"enumDescriptions": [ +"The source of the emissions data is unspecified.", +"The emissions data is from the Travel Impact Model.", +"The emissions data is from the EASA environmental labels." +], +"type": "string" +} +}, +"type": "object" +}, +"Market": { +"description": "A pair of airports.", +"id": "Market", +"properties": { +"destination": { +"description": "Required. IATA airport code for flight destination, e.g. \"JFK\".", +"type": "string" +}, +"origin": { +"description": "Required. IATA airport code for flight origin, e.g. \"LHR\".", +"type": "string" +} +}, +"type": "object" +}, +"McpToolDataHandlingProfile": { +"description": "Profile describing the data handling characteristics of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/data_handling\"", +"id": "McpToolDataHandlingProfile", +"properties": { +"inputDataAccessLevel": { +"description": "// The data access level of the tool's inputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +}, +"outputDataAccessLevel": { +"description": "The data access level of the tool's outputs.", +"enum": [ +"DATA_ACCESS_LEVEL_UNSPECIFIED", +"DATA_ACCESS_LEVEL_PUBLIC", +"DATA_ACCESS_LEVEL_CONFIDENTIAL", +"DATA_ACCESS_LEVEL_NEED_TO_KNOW", +"DATA_ACCESS_LEVEL_PII", +"DATA_ACCESS_LEVEL_USER", +"DATA_ACCESS_LEVEL_NO_DATA_ACCESS" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"Public data.", +"Confidential data.", +"Need-to-know data.", +"Personally Identifiable Information (PII) data.", +"User data.", +"The tool does not access any data." +], +"type": "string" +} +}, +"type": "object" +}, +"McpToolLifecycleProfile": { +"description": "Profile describing the lifecycle stage of an MCP tool. When used within the McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with the key: \"google.com/tool.profiles/lifecycle\"", +"id": "McpToolLifecycleProfile", +"properties": { +"launchState": { +"description": "Output only. The current launch state of the MCP tool.", +"enum": [ +"LAUNCH_STATE_UNSPECIFIED", +"LAUNCH_STATE_DEVELOPMENT", +"LAUNCH_STATE_PRODUCTION_PREVIEW", +"LAUNCH_STATE_GENERAL_AVAILABILITY" +], +"enumDescriptions": [ +"The default value. This value is unused.", +"The tool is currently in development.", +"The tool is in production preview.", +"The tool is generally available." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ModelVersion": { +"description": "Travel Impact Model version. For more information about the model versioning see [GitHub](https://github.com/google/travel-impact-model/#versioning).", +"id": "ModelVersion", +"properties": { +"dated": { +"description": "Dated versions: Model datasets are recreated with refreshed input data but no change to the algorithms regularly.", +"type": "string" +}, +"major": { +"description": "Major versions: Major changes to methodology (e.g. adding new data sources to the model that lead to major output changes). Such changes will be infrequent and announced well in advance. Might involve API version changes, which will respect [Google Cloud API guidelines](https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible)", +"format": "int32", +"type": "integer" +}, +"minor": { +"description": "Minor versions: Changes to the model that, while being consistent across schema versions, change the model parameters or implementation.", +"format": "int32", +"type": "integer" +}, +"patch": { +"description": "Patch versions: Implementation changes meant to address bugs or inaccuracies in the model implementation.", +"format": "int32", +"type": "integer" +} +}, +"type": "object" +}, +"Scope3FlightEmissions": { +"description": "Scope 3 flight with emission estimates.", +"id": "Scope3FlightEmissions", +"properties": { +"flight": { +"$ref": "Scope3FlightSegment", +"description": "Required. Matches the flight identifiers in the request." +}, +"source": { +"description": "Optional. The source of the emissions data.", +"enum": [ +"SCOPE3_DATA_TYPE_UNSPECIFIED", +"TIM_EMISSIONS", +"TYPICAL_FLIGHT_EMISSIONS", +"DISTANCE_BASED_EMISSIONS" +], +"enumDescriptions": [ +"Unspecified data type.", +"TIM-based emissions given origin, destination, carrier, flight number, departure date, and year.", +"Typical flight emissions given origin, destination, and year.", +"Distance-based emissions based on the distance traveled and year." +], +"type": "string" +}, +"ttwEmissionsGramsPerPax": { +"description": "Optional. Tank-to-wake flight emissions per passenger based on the requested info.", +"format": "int64", +"type": "string" +}, +"wttEmissionsGramsPerPax": { +"description": "Optional. Well-to-tank flight emissions per passenger based on the requested info.", +"format": "int64", +"type": "string" +}, +"wtwEmissionsGramsPerPax": { +"description": "Optional. Total flight emissions (sum of well-to-tank and tank-to-wake) per passenger based on the requested info. This is the total emissions and unless you have specific reasons for using TTW or WTT emissions, you should use this number.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"Scope3FlightSegment": { +"description": "Flight parameters with which the Scope 3 emissions are fetched.", +"id": "Scope3FlightSegment", +"properties": { +"cabinClass": { +"description": "Required. The cabin class of the flight.", +"enum": [ +"CABIN_CLASS_UNSPECIFIED", +"ECONOMY", +"PREMIUM_ECONOMY", +"BUSINESS", +"FIRST" +], +"enumDescriptions": [ +"Unspecified cabin class.", +"Economy class.", +"Premium economy class.", +"Business class.", +"First class." +], +"type": "string" +}, +"carrierCode": { +"description": "Optional. 2-character [IATA carrier code](https://www.iata.org/en/publications/directories/code-search/), e.g. `KE`. This is required if specific flight matching is desired. Otherwise, this is unused for typical flight and distance-based emissions models. This could be both operating and marketing carrier code (i.e. codeshare is covered).", +"type": "string" +}, +"departureDate": { +"$ref": "Date", +"description": "Required. Date of the flight in the time zone of the origin airport. Only year is required for typical flight and distance-based emissions models (month and day values are ignored and therefore, can be either omitted, set to 0, or set to a valid date for those cases). Correspondingly, if a specific date is not provided for TIM emissions, we will fallback to typical flight (or distance-based) emissions." +}, +"destination": { +"description": "Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/directories/code-search/) for flight destination, e.g. `ICN`. This is used to match specific flight if provided alongside origin, carrier, and flight number. If there is no match, we will first try to match the flight to a typical flight between the provided origin and destination airports. Otherwise, we will use the distance-based emissions model if the flight distance is provided.", +"type": "string" +}, +"distanceKm": { +"description": "Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is used to match a flight to distance-based emissions when origin and destination are not provided or there are no matching typical flights.", +"format": "int64", +"type": "string" +}, +"flightNumber": { +"description": "Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/Flight_number), e.g. `71`, from [1, 9999]. This is first used to match a specific flight if a flight number is specified alongside origin, destination, and carrier. If a flight number is not specified, we will first try to match the flight to a typical flight between the provided origin and destination airports. If that fails and/or origin & destination are not provided, we will use the distance-based emissions model based on the flight distance provided.", +"format": "int32", +"type": "integer" +}, +"origin": { +"description": "Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/directories/code-search/) for flight origin, e.g. `YVR`. This is used to match specific flight if provided alongside destination, carrier, and flight number. If there is no match, we will first try to match the flight to a typical flight between the provided origin and destination airports. Otherwise, we will use the distance-based emissions model if the flight distance is provided.", +"type": "string" +} +}, +"type": "object" +}, +"TypicalFlightEmissions": { +"description": "Typical flight emission estimates for a certain market", +"id": "TypicalFlightEmissions", +"properties": { +"emissionsGramsPerPax": { +"$ref": "EmissionsGramsPerPax", +"description": "Optional. Typical flight emissions per passenger for requested market. Will not be present if a typical emissions could not be computed. For the list of reasons why typical flight emissions could not be computed, see [GitHub](https://github.com/google/travel-impact-model/blob/main/projects/typical_flight_emissions.md#step-7-validate-dataset)." +}, +"market": { +"$ref": "Market", +"description": "Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized." +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Travel Impact Model API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vault.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vault.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..802f93955a289e3590ffe6b8bdb60afeccf6721f --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/vault.v1.json @@ -0,0 +1,2934 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/ediscovery": { +"description": "Manage your eDiscovery data" +}, +"https://www.googleapis.com/auth/ediscovery.readonly": { +"description": "View your eDiscovery data" +} +} +} +}, +"basePath": "", +"baseUrl": "https://vault.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Vault", +"description": "Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. ", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/workspace/vault", +"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": "vault:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://vault.mtls.googleapis.com/", +"name": "vault", +"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": { +"matters": { +"methods": { +"addPermissions": { +"description": "Adds an account as a matter collaborator.", +"flatPath": "v1/matters/{matterId}:addPermissions", +"httpMethod": "POST", +"id": "vault.matters.addPermissions", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:addPermissions", +"request": { +"$ref": "AddMatterPermissionsRequest" +}, +"response": { +"$ref": "MatterPermission" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"close": { +"description": "Closes the specified matter. Returns the matter with updated state.", +"flatPath": "v1/matters/{matterId}:close", +"httpMethod": "POST", +"id": "vault.matters.close", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:close", +"request": { +"$ref": "CloseMatterRequest" +}, +"response": { +"$ref": "CloseMatterResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"count": { +"description": "Counts the accounts processed by the specified query.", +"flatPath": "v1/matters/{matterId}:count", +"httpMethod": "POST", +"id": "vault.matters.count", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:count", +"request": { +"$ref": "CountArtifactsRequest" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"create": { +"description": "Creates a matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view.", +"flatPath": "v1/matters", +"httpMethod": "POST", +"id": "vault.matters.create", +"parameterOrder": [], +"parameters": {}, +"path": "v1/matters", +"request": { +"$ref": "Matter" +}, +"response": { +"$ref": "Matter" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Deletes the specified matter. Returns the matter with updated state.", +"flatPath": "v1/matters/{matterId}", +"httpMethod": "DELETE", +"id": "vault.matters.delete", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}", +"response": { +"$ref": "Matter" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"get": { +"description": "Gets the specified matter.", +"flatPath": "v1/matters/{matterId}", +"httpMethod": "GET", +"id": "vault.matters.get", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "Specifies how much information about the matter to return in the response.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The amount of detail is unspecified. Same as **BASIC**.", +"Returns the matter ID, name, description, and state. Default choice.", +"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/workspace/vault/reference/rest/v1/matters#matterpermission))." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/matters/{matterId}", +"response": { +"$ref": "Matter" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"list": { +"description": "Lists matters the requestor has access to.", +"flatPath": "v1/matters", +"httpMethod": "GET", +"id": "vault.matters.list", +"parameterOrder": [], +"parameters": { +"pageSize": { +"description": "The number of matters to return in the response. Default and maximum are 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token as returned in the response.", +"location": "query", +"type": "string" +}, +"state": { +"description": "If set, lists only matters with the specified state. The default lists matters of all states.", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED", +"DELETED" +], +"enumDescriptions": [ +"The matter has no specified state.", +"The matter is open.", +"The matter is closed.", +"The matter is deleted." +], +"location": "query", +"type": "string" +}, +"view": { +"description": "Specifies how much information about the matter to return in response.", +"enum": [ +"VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The amount of detail is unspecified. Same as **BASIC**.", +"Returns the matter ID, name, description, and state. Default choice.", +"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/workspace/vault/reference/rest/v1/matters#matterpermission))." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/matters", +"response": { +"$ref": "ListMattersResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"removePermissions": { +"description": "Removes an account as a matter collaborator.", +"flatPath": "v1/matters/{matterId}:removePermissions", +"httpMethod": "POST", +"id": "vault.matters.removePermissions", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:removePermissions", +"request": { +"$ref": "RemoveMatterPermissionsRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"reopen": { +"description": "Reopens the specified matter. Returns the matter with updated state.", +"flatPath": "v1/matters/{matterId}:reopen", +"httpMethod": "POST", +"id": "vault.matters.reopen", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:reopen", +"request": { +"$ref": "ReopenMatterRequest" +}, +"response": { +"$ref": "ReopenMatterResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"undelete": { +"description": "Undeletes the specified matter. Returns the matter with updated state.", +"flatPath": "v1/matters/{matterId}:undelete", +"httpMethod": "POST", +"id": "vault.matters.undelete", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}:undelete", +"request": { +"$ref": "UndeleteMatterRequest" +}, +"response": { +"$ref": "Matter" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"update": { +"description": "Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the matter.", +"flatPath": "v1/matters/{matterId}", +"httpMethod": "PUT", +"id": "vault.matters.update", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}", +"request": { +"$ref": "Matter" +}, +"response": { +"$ref": "Matter" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +} +}, +"resources": { +"exports": { +"methods": { +"create": { +"description": "Creates an export.", +"flatPath": "v1/matters/{matterId}/exports", +"httpMethod": "POST", +"id": "vault.matters.exports.create", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/exports", +"request": { +"$ref": "Export" +}, +"response": { +"$ref": "Export" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Deletes an export.", +"flatPath": "v1/matters/{matterId}/exports/{exportId}", +"httpMethod": "DELETE", +"id": "vault.matters.exports.delete", +"parameterOrder": [ +"matterId", +"exportId" +], +"parameters": { +"exportId": { +"description": "The export ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/exports/{exportId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"get": { +"description": "Gets an export.", +"flatPath": "v1/matters/{matterId}/exports/{exportId}", +"httpMethod": "GET", +"id": "vault.matters.exports.get", +"parameterOrder": [ +"matterId", +"exportId" +], +"parameters": { +"exportId": { +"description": "The export ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/exports/{exportId}", +"response": { +"$ref": "Export" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"list": { +"description": "Lists details about the exports in the specified matter.", +"flatPath": "v1/matters/{matterId}/exports", +"httpMethod": "GET", +"id": "vault.matters.exports.list", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The number of exports to return in the response.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token as returned in the response.", +"location": "query", +"type": "string" +} +}, +"path": "v1/matters/{matterId}/exports", +"response": { +"$ref": "ListExportsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +} +} +}, +"holds": { +"methods": { +"addHeldAccounts": { +"description": "Adds accounts to a hold. Returns a list of accounts that have been successfully added. Accounts can be added only to an existing account-based hold.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts", +"httpMethod": "POST", +"id": "vault.matters.holds.addHeldAccounts", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts", +"request": { +"$ref": "AddHeldAccountsRequest" +}, +"response": { +"$ref": "AddHeldAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"create": { +"description": "Creates a hold in the specified matter.", +"flatPath": "v1/matters/{matterId}/holds", +"httpMethod": "POST", +"id": "vault.matters.holds.create", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds", +"request": { +"$ref": "Hold" +}, +"response": { +"$ref": "Hold" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Removes the specified hold and releases the accounts or organizational unit covered by the hold. If the data is not preserved by another hold or retention rule, it might be purged.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}", +"httpMethod": "DELETE", +"id": "vault.matters.holds.delete", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"get": { +"description": "Gets the specified hold.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}", +"httpMethod": "GET", +"id": "vault.matters.holds.get", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +}, +"view": { +"description": "The amount of detail to return for a hold.", +"enum": [ +"HOLD_VIEW_UNSPECIFIED", +"BASIC_HOLD", +"FULL_HOLD" +], +"enumDescriptions": [ +"Not specified. Defaults to **FULL_HOLD**.", +"Returns the hold ID, name, update time, service, and query.", +"Returns all details of **BASIC_HOLD** and the entities the hold applies to, such as accounts or organizational unit." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}", +"response": { +"$ref": "Hold" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"list": { +"description": "Lists the holds in a matter.", +"flatPath": "v1/matters/{matterId}/holds", +"httpMethod": "GET", +"id": "vault.matters.holds.list", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The number of holds to return in the response, between 0 and 100 inclusive. Leaving this empty, or as 0, is the same as **page_size** = 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token as returned in the response. An empty token means start from the beginning.", +"location": "query", +"type": "string" +}, +"view": { +"description": "The amount of detail to return for a hold.", +"enum": [ +"HOLD_VIEW_UNSPECIFIED", +"BASIC_HOLD", +"FULL_HOLD" +], +"enumDescriptions": [ +"Not specified. Defaults to **FULL_HOLD**.", +"Returns the hold ID, name, update time, service, and query.", +"Returns all details of **BASIC_HOLD** and the entities the hold applies to, such as accounts or organizational unit." +], +"location": "query", +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds", +"response": { +"$ref": "ListHoldsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"removeHeldAccounts": { +"description": "Removes the specified accounts from a hold. Returns a list of statuses in the same order as the request.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts", +"httpMethod": "POST", +"id": "vault.matters.holds.removeHeldAccounts", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts", +"request": { +"$ref": "RemoveHeldAccountsRequest" +}, +"response": { +"$ref": "RemoveHeldAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"update": { +"description": "Updates the scope (organizational unit or accounts) and query parameters of a hold. You cannot add accounts to a hold that covers an organizational unit, nor can you add organizational units to a hold that covers individual accounts. If you try, the unsupported values are ignored.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}", +"httpMethod": "PUT", +"id": "vault.matters.holds.update", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The ID of the hold.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}", +"request": { +"$ref": "Hold" +}, +"response": { +"$ref": "Hold" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +} +}, +"resources": { +"accounts": { +"methods": { +"create": { +"description": "Adds an account to a hold. Accounts can be added only to a hold that does not have an organizational unit set. If you try to add an account to an organizational unit-based hold, an error is returned.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts", +"httpMethod": "POST", +"id": "vault.matters.holds.accounts.create", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}/accounts", +"request": { +"$ref": "HeldAccount" +}, +"response": { +"$ref": "HeldAccount" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Removes an account from a hold.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", +"httpMethod": "DELETE", +"id": "vault.matters.holds.accounts.delete", +"parameterOrder": [ +"matterId", +"holdId", +"accountId" +], +"parameters": { +"accountId": { +"description": "The ID of the account to remove from the hold.", +"location": "path", +"required": true, +"type": "string" +}, +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"list": { +"description": "Lists the accounts covered by a hold. This can list only individually-specified accounts covered by the hold. If the hold covers an organizational unit, use the [Admin SDK](https://developers.google.com/admin-sdk/). to list the members of the organizational unit on hold.", +"flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts", +"httpMethod": "GET", +"id": "vault.matters.holds.accounts.list", +"parameterOrder": [ +"matterId", +"holdId" +], +"parameters": { +"holdId": { +"description": "The hold ID.", +"location": "path", +"required": true, +"type": "string" +}, +"matterId": { +"description": "The matter ID.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/holds/{holdId}/accounts", +"response": { +"$ref": "ListHeldAccountsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +} +} +} +} +}, +"savedQueries": { +"methods": { +"create": { +"description": "Creates a saved query.", +"flatPath": "v1/matters/{matterId}/savedQueries", +"httpMethod": "POST", +"id": "vault.matters.savedQueries.create", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The ID of the matter to create the saved query in.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/savedQueries", +"request": { +"$ref": "SavedQuery" +}, +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Deletes the specified saved query.", +"flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}", +"httpMethod": "DELETE", +"id": "vault.matters.savedQueries.delete", +"parameterOrder": [ +"matterId", +"savedQueryId" +], +"parameters": { +"matterId": { +"description": "The ID of the matter to delete the saved query from.", +"location": "path", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "ID of the saved query to delete.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/savedQueries/{savedQueryId}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"get": { +"description": "Retrieves the specified saved query.", +"flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}", +"httpMethod": "GET", +"id": "vault.matters.savedQueries.get", +"parameterOrder": [ +"matterId", +"savedQueryId" +], +"parameters": { +"matterId": { +"description": "The ID of the matter to get the saved query from.", +"location": "path", +"required": true, +"type": "string" +}, +"savedQueryId": { +"description": "ID of the saved query to retrieve.", +"location": "path", +"required": true, +"type": "string" +} +}, +"path": "v1/matters/{matterId}/savedQueries/{savedQueryId}", +"response": { +"$ref": "SavedQuery" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"list": { +"description": "Lists the saved queries in a matter.", +"flatPath": "v1/matters/{matterId}/savedQueries", +"httpMethod": "GET", +"id": "vault.matters.savedQueries.list", +"parameterOrder": [ +"matterId" +], +"parameters": { +"matterId": { +"description": "The ID of the matter to get the saved queries for.", +"location": "path", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of saved queries to return.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The pagination token as returned in the previous response. An empty token means start from the beginning.", +"location": "query", +"type": "string" +} +}, +"path": "v1/matters/{matterId}/savedQueries", +"response": { +"$ref": "ListSavedQueriesResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +} +} +} +} +}, +"operations": { +"methods": { +"cancel": { +"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", +"flatPath": "v1/operations/{operationsId}:cancel", +"httpMethod": "POST", +"id": "vault.operations.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be cancelled.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}:cancel", +"request": { +"$ref": "CancelOperationRequest" +}, +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "vault.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/operations/{operationsId}", +"httpMethod": "GET", +"id": "vault.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^operations/.*$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/operations", +"httpMethod": "GET", +"id": "vault.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^operations$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/ediscovery", +"https://www.googleapis.com/auth/ediscovery.readonly" +] +} +} +} +}, +"revision": "20251126", +"rootUrl": "https://vault.googleapis.com/", +"schemas": { +"AccountCount": { +"description": "The results count for each account.", +"id": "AccountCount", +"properties": { +"account": { +"$ref": "UserInfo", +"description": "Account owner." +}, +"count": { +"description": "The number of results (messages or files) found for this account.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"AccountCountError": { +"description": "An error that occurred when querying a specific account", +"id": "AccountCountError", +"properties": { +"account": { +"$ref": "UserInfo", +"description": "Account owner." +}, +"errorType": { +"description": "Account query error.", +"enum": [ +"ERROR_TYPE_UNSPECIFIED", +"WILDCARD_TOO_BROAD", +"TOO_MANY_TERMS", +"LOCATION_UNAVAILABLE", +"UNKNOWN", +"DEADLINE_EXCEEDED" +], +"enumDescriptions": [ +"Default.", +"Permanent - prefix terms expanded to too many query terms.", +"Permanent - query contains too many terms.", +"Transient - data in transit between storage replicas, temporarily unavailable.", +"Unrecognized error.", +"Deadline exceeded when querying the account." +], +"type": "string" +} +}, +"type": "object" +}, +"AccountInfo": { +"description": "The accounts to search", +"id": "AccountInfo", +"properties": { +"emails": { +"description": "A set of accounts to search.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddHeldAccountResult": { +"description": "The status of each account creation, and the **HeldAccount**, if successful.", +"id": "AddHeldAccountResult", +"properties": { +"account": { +"$ref": "HeldAccount", +"description": "Returned when the account was successfully created." +}, +"status": { +"$ref": "Status", +"description": "Reports the request status. If it failed, returns an error message." +} +}, +"type": "object" +}, +"AddHeldAccountsRequest": { +"description": "Add a list of accounts to a hold.", +"id": "AddHeldAccountsRequest", +"properties": { +"accountIds": { +"description": "A comma-separated list of the account IDs of the accounts to add to the hold. Specify either **emails** or **account_ids**, but not both.", +"items": { +"type": "string" +}, +"type": "array" +}, +"emails": { +"description": "A comma-separated list of the emails of the accounts to add to the hold. Specify either **emails** or **account_ids**, but not both.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddHeldAccountsResponse": { +"description": "Response for batch create held accounts.", +"id": "AddHeldAccountsResponse", +"properties": { +"responses": { +"description": "The list of responses, in the same order as the batch request.", +"items": { +"$ref": "AddHeldAccountResult" +}, +"type": "array" +} +}, +"type": "object" +}, +"AddMatterPermissionsRequest": { +"description": "Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, the existing role is overwritten.", +"id": "AddMatterPermissionsRequest", +"properties": { +"ccMe": { +"description": "Only relevant if **sendEmails** is **true**. To CC the requestor in the email message, set to **true**. To not CC requestor, set to **false**.", +"type": "boolean" +}, +"matterPermission": { +"$ref": "MatterPermission", +"description": "The account and its role to add." +}, +"sendEmails": { +"description": "To send a notification email to the added account, set to **true**. To not send a notification email, set to **false**.", +"type": "boolean" +} +}, +"type": "object" +}, +"CalendarExportOptions": { +"description": "The options for Calendar exports.", +"id": "CalendarExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported text messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +} +}, +"type": "object" +}, +"CalendarOptions": { +"description": "Additional options for Calendar search", +"id": "CalendarOptions", +"properties": { +"locationQuery": { +"description": "Matches only those events whose location contains all of the words in the given set. If the string contains quoted phrases, this method only matches those events whose location contain the exact phrase. Entries in the set are considered in \"and\". Word splitting example: [\"New Zealand\"] vs [\"New\",\"Zealand\"] \"New Zealand\": matched by both \"New and better Zealand\": only matched by the later", +"items": { +"type": "string" +}, +"type": "array" +}, +"minusWords": { +"description": "Matches only those events that do not contain any of the words in the given set in title, description, location, or attendees. Entries in the set are considered in \"or\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"peopleQuery": { +"description": "Matches only those events whose attendees contain all of the words in the given set. Entries in the set are considered in \"and\".", +"items": { +"type": "string" +}, +"type": "array" +}, +"responseStatuses": { +"description": "Matches only events for which the custodian gave one of these responses. If the set is empty or contains ATTENDEE_RESPONSE_UNSPECIFIED there will be no filtering on responses.", +"items": { +"enum": [ +"ATTENDEE_RESPONSE_UNSPECIFIED", +"ATTENDEE_RESPONSE_NEEDS_ACTION", +"ATTENDEE_RESPONSE_ACCEPTED", +"ATTENDEE_RESPONSE_DECLINED", +"ATTENDEE_RESPONSE_TENTATIVE" +], +"enumDescriptions": [ +"Attendee response unspecified. If this is set no filtering on responses will be done, all other attendee responses that are part of the query options are ignored.", +"The participant has been invited but has not responded yet.", +"The participant plans to attend.", +"The participant does not plan to attend.", +"The participant expects to possibly attend." +], +"type": "string" +}, +"type": "array" +}, +"versionDate": { +"description": "Search the current version of the Calendar event, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CancelOperationRequest": { +"description": "The request message for Operations.CancelOperation.", +"id": "CancelOperationRequest", +"properties": {}, +"type": "object" +}, +"CloseMatterRequest": { +"description": "Close a matter by ID.", +"id": "CloseMatterRequest", +"properties": {}, +"type": "object" +}, +"CloseMatterResponse": { +"description": "Response to a CloseMatterRequest.", +"id": "CloseMatterResponse", +"properties": { +"matter": { +"$ref": "Matter", +"description": "The updated matter, with state **CLOSED**." +} +}, +"type": "object" +}, +"CloudStorageFile": { +"description": "The export file in Cloud Storage", +"id": "CloudStorageFile", +"properties": { +"bucketName": { +"description": "The name of the Cloud Storage bucket for the export file. You can use this value in the Cloud Storage [JSON API](https://cloud.google.com/storage/docs/json_api) or [XML API](https://cloud.google.com/storage/docs/xml-api), but not to list the bucket contents. Instead, you can [get individual export files](https://cloud.google.com/storage/docs/json_api/v1/objects/get) by object name.", +"type": "string" +}, +"md5Hash": { +"description": "The md5 hash of the file.", +"type": "string" +}, +"objectName": { +"description": "The name of the Cloud Storage object for the export file. You can use this value in the Cloud Storage [JSON API](https://cloud.google.com/storage/docs/json_api) or [XML API](https://cloud.google.com/storage/docs/xml-api).", +"type": "string" +}, +"size": { +"description": "The export file size.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"CloudStorageSink": { +"description": "Export sink for Cloud Storage files.", +"id": "CloudStorageSink", +"properties": { +"files": { +"description": "Output only. The exported files in Cloud Storage.", +"items": { +"$ref": "CloudStorageFile" +}, +"type": "array" +} +}, +"type": "object" +}, +"CorpusQuery": { +"description": "Service-specific options for holds.", +"id": "CorpusQuery", +"properties": { +"calendarQuery": { +"$ref": "HeldCalendarQuery", +"description": "Service-specific options for Calendar holds. If set, **CorpusType** must be **CALENDAR**." +}, +"driveQuery": { +"$ref": "HeldDriveQuery", +"description": "Service-specific options for Drive holds. If set, **CorpusType** must be **DRIVE**." +}, +"groupsQuery": { +"$ref": "HeldGroupsQuery", +"description": "Service-specific options for Groups holds. If set, **CorpusType** must be **GROUPS**." +}, +"hangoutsChatQuery": { +"$ref": "HeldHangoutsChatQuery", +"description": "Service-specific options for Chat holds. If set, **CorpusType** must be **HANGOUTS_CHAT**." +}, +"mailQuery": { +"$ref": "HeldMailQuery", +"description": "Service-specific options for Gmail holds. If set, **CorpusType** must be **MAIL**." +}, +"voiceQuery": { +"$ref": "HeldVoiceQuery", +"description": "Service-specific options for Voice holds. If set, **CorpusType** must be **VOICE**." +} +}, +"type": "object" +}, +"CountArtifactsMetadata": { +"description": "Long running operation metadata for CountArtifacts.", +"id": "CountArtifactsMetadata", +"properties": { +"endTime": { +"description": "End time of count operation. Available when operation is done.", +"format": "google-datetime", +"type": "string" +}, +"matterId": { +"description": "The matter ID of the associated matter.", +"type": "string" +}, +"query": { +"$ref": "Query", +"description": "The search query from the request." +}, +"startTime": { +"description": "Creation time of count operation.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"CountArtifactsRequest": { +"description": "Count artifacts request.", +"id": "CountArtifactsRequest", +"properties": { +"query": { +"$ref": "Query", +"description": "The search query." +}, +"view": { +"description": "Sets the granularity of the count results.", +"enum": [ +"COUNT_RESULT_VIEW_UNSPECIFIED", +"TOTAL_COUNT", +"ALL" +], +"enumDescriptions": [ +"Default. Same as **TOTAL_COUNT**.", +"Response includes counts of the total accounts, queried accounts, matching accounts, non-queryable accounts, and queried account errors.", +"Response includes the same details as **TOTAL_COUNT**, plus additional account breakdown." +], +"type": "string" +} +}, +"type": "object" +}, +"CountArtifactsResponse": { +"description": "Definition of the response for method CountArtifacts.", +"id": "CountArtifactsResponse", +"properties": { +"groupsCountResult": { +"$ref": "GroupsCountResult", +"description": "Count metrics for Groups." +}, +"mailCountResult": { +"$ref": "MailCountResult", +"description": "Count metrics for Gmail and classic Hangouts." +}, +"totalCount": { +"description": "Total count of messages.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"DriveDocumentIds": { +"description": "Specify Drive documents by document ID.", +"id": "DriveDocumentIds", +"properties": { +"ids": { +"description": "Required. A list of Drive document IDs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"DriveDocumentInfo": { +"description": "The Drive documents to search.", +"id": "DriveDocumentInfo", +"properties": { +"documentIds": { +"$ref": "DriveDocumentIds", +"description": "Specify Drive documents by document ID." +} +}, +"type": "object" +}, +"DriveExportOptions": { +"description": "Options for Drive exports.", +"id": "DriveExportOptions", +"properties": { +"includeAccessInfo": { +"description": "To include access level information for users with [indirect access](https://support.google.com/vault/answer/6099459#metadata) to files, set to **true**.", +"type": "boolean" +} +}, +"type": "object" +}, +"DriveOptions": { +"description": "Additional options for Drive search.", +"id": "DriveOptions", +"properties": { +"clientSideEncryptedOption": { +"description": "Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.", +"enum": [ +"CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED", +"CLIENT_SIDE_ENCRYPTED_OPTION_ANY", +"CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED", +"CLIENT_SIDE_ENCRYPTED_OPTION_UNENCRYPTED" +], +"enumDescriptions": [ +"Encryption status unspecified. Results include both client-side encrypted and non-encrypted content.", +"Include both client-side encrypted and unencrypted content in results.", +"Include client-side encrypted content only.", +"Include unencrypted content only." +], +"type": "string" +}, +"includeSharedDrives": { +"deprecated": true, +"description": "Set to **true** to include shared drives.", +"type": "boolean" +}, +"includeTeamDrives": { +"deprecated": true, +"description": "Set to true to include Team Drive.", +"type": "boolean" +}, +"sharedDrivesOption": { +"description": "Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.", +"enum": [ +"SHARED_DRIVES_OPTION_UNSPECIFIED", +"NOT_INCLUDED", +"INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER", +"INCLUDED" +], +"enumDescriptions": [ +"No shared drive option specified.", +"If a resource is in a shared drive, it isn't included in the search.", +"Shared drive resources are only included in instances where the account is a collaborator on a resource but they are not a member of the shared drive. This maps to the *\"Included only if documents shared directly (not due to shared drive membership)\"* option in the Vault UI. (Previously \"include_shared_drives\" off)", +"Resources in shared drives are included in the search. (Previously \"include_shared_drives\" on)" +], +"type": "string" +}, +"versionDate": { +"description": "Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.", +"format": "google-datetime", +"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" +}, +"Export": { +"description": "An export. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.", +"id": "Export", +"properties": { +"cloudStorageSink": { +"$ref": "CloudStorageSink", +"description": "Output only. The sink for export files in Cloud Storage." +}, +"createTime": { +"description": "Output only. The time when the export was created.", +"format": "google-datetime", +"type": "string" +}, +"exportOptions": { +"$ref": "ExportOptions", +"description": "Additional export options." +}, +"id": { +"description": "Output only. The generated export ID.", +"type": "string" +}, +"matterId": { +"description": "Output only. The matter ID.", +"type": "string" +}, +"name": { +"description": "The export name. Don't use special characters (~!$'(),;@:/?) in the name, they can prevent you from downloading exports.", +"type": "string" +}, +"parentExportId": { +"description": "Output only. Identifies the parent export that spawned this child export. This is only set on child exports.", +"readOnly": true, +"type": "string" +}, +"query": { +"$ref": "Query", +"description": "The query parameters used to create the export." +}, +"requester": { +"$ref": "UserInfo", +"description": "Output only. The requester of the export." +}, +"stats": { +"$ref": "ExportStats", +"description": "Output only. Details about the export progress and size." +}, +"status": { +"description": "Output only. The status of the export.", +"enum": [ +"EXPORT_STATUS_UNSPECIFIED", +"COMPLETED", +"FAILED", +"IN_PROGRESS" +], +"enumDescriptions": [ +"The status is unspecified.", +"The export completed.", +"The export failed.", +"The export is in progress." +], +"type": "string" +} +}, +"type": "object" +}, +"ExportOptions": { +"description": "Additional options for exports", +"id": "ExportOptions", +"properties": { +"calendarOptions": { +"$ref": "CalendarExportOptions", +"description": "Option available for Calendar export." +}, +"driveOptions": { +"$ref": "DriveExportOptions", +"description": "Options for Drive exports." +}, +"geminiOptions": { +"$ref": "GeminiExportOptions", +"description": "Option available for Gemini export." +}, +"groupsOptions": { +"$ref": "GroupsExportOptions", +"description": "Options for Groups exports." +}, +"hangoutsChatOptions": { +"$ref": "HangoutsChatExportOptions", +"description": "Options for Chat exports." +}, +"mailOptions": { +"$ref": "MailExportOptions", +"description": "Options for Gmail exports." +}, +"region": { +"description": "The requested data region for the export.", +"enum": [ +"EXPORT_REGION_UNSPECIFIED", +"ANY", +"US", +"EUROPE" +], +"enumDescriptions": [ +"The region is unspecified. Defaults to ANY.", +"Any region.", +"United States region.", +"Europe region." +], +"type": "string" +}, +"voiceOptions": { +"$ref": "VoiceExportOptions", +"description": "Options for Voice exports." +} +}, +"type": "object" +}, +"ExportStats": { +"description": "Progress information for an export.", +"id": "ExportStats", +"properties": { +"exportedArtifactCount": { +"description": "The number of messages or files already processed for export.", +"format": "int64", +"type": "string" +}, +"sizeInBytes": { +"description": "The size of export in bytes.", +"format": "int64", +"type": "string" +}, +"totalArtifactCount": { +"description": "The number of messages or files to be exported.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GeminiExportOptions": { +"description": "The options for Gemini exports.", +"id": "GeminiExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +} +}, +"type": "object" +}, +"GeminiOptions": { +"description": "Additional options for Gemini search", +"id": "GeminiOptions", +"properties": {}, +"type": "object" +}, +"GroupsCountResult": { +"description": "Groups specific count metrics.", +"id": "GroupsCountResult", +"properties": { +"accountCountErrors": { +"description": "Error occurred when querying these accounts.", +"items": { +"$ref": "AccountCountError" +}, +"type": "array" +}, +"accountCounts": { +"description": "Subtotal count per matching account that have more than zero messages.", +"items": { +"$ref": "AccountCount" +}, +"type": "array" +}, +"matchingAccountsCount": { +"description": "Total number of accounts that can be queried and have more than zero messages.", +"format": "int64", +"type": "string" +}, +"nonQueryableAccounts": { +"description": "When **DataScope** is **HELD_DATA**, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queriedAccountsCount": { +"description": "Total number of accounts involved in this count operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"GroupsExportOptions": { +"description": "Options for Groups exports.", +"id": "GroupsExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +} +}, +"type": "object" +}, +"HangoutsChatExportOptions": { +"description": "Options for Chat exports.", +"id": "HangoutsChatExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +} +}, +"type": "object" +}, +"HangoutsChatInfo": { +"description": "The Chat spaces to search", +"id": "HangoutsChatInfo", +"properties": { +"roomId": { +"description": "A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"HangoutsChatOptions": { +"description": "Additional options for Google Chat search", +"id": "HangoutsChatOptions", +"properties": { +"includeRooms": { +"description": "For searches by account or organizational unit, set to **true** to include rooms.", +"type": "boolean" +} +}, +"type": "object" +}, +"HeldAccount": { +"description": "An account covered by a hold. This structure is immutable. It can be an individual account or a Google Group, depending on the service. To work with Vault resources, the account must have the [required Vault privileges] (https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.", +"id": "HeldAccount", +"properties": { +"accountId": { +"description": "The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/).", +"type": "string" +}, +"email": { +"description": "The primary email address of the account. If used as an input, this takes precedence over **accountId**.", +"type": "string" +}, +"firstName": { +"description": "Output only. The first name of the account holder.", +"type": "string" +}, +"holdTime": { +"description": "Output only. When the account was put on hold.", +"format": "google-datetime", +"type": "string" +}, +"lastName": { +"description": "Output only. The last name of the account holder.", +"type": "string" +} +}, +"type": "object" +}, +"HeldCalendarQuery": { +"description": "Options for Calendar holds.", +"id": "HeldCalendarQuery", +"properties": {}, +"type": "object" +}, +"HeldDriveQuery": { +"description": "Options for Drive holds.", +"id": "HeldDriveQuery", +"properties": { +"includeSharedDriveFiles": { +"description": "To include files in shared drives in the hold, set to **true**.", +"type": "boolean" +}, +"includeTeamDriveFiles": { +"deprecated": true, +"description": "To include files in Team Drives in the hold, set to **true**.", +"type": "boolean" +} +}, +"type": "object" +}, +"HeldGroupsQuery": { +"description": "Query options for group holds.", +"id": "HeldGroupsQuery", +"properties": { +"endTime": { +"description": "The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"terms": { +"description": "The [search operators](https://support.google.com/vault/answer/2474474) used to refine the messages covered by the hold.", +"type": "string" +} +}, +"type": "object" +}, +"HeldHangoutsChatQuery": { +"description": "Options for Chat holds.", +"id": "HeldHangoutsChatQuery", +"properties": { +"includeRooms": { +"description": "To include messages in Chat spaces the user was a member of, set to **true**.", +"type": "boolean" +} +}, +"type": "object" +}, +"HeldMailQuery": { +"description": "Query options for Gmail holds.", +"id": "HeldMailQuery", +"properties": { +"endTime": { +"description": "The end time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"startTime": { +"description": "The start time for the query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"terms": { +"description": "The [search operators](https://support.google.com/vault/answer/2474474) used to refine the messages covered by the hold.", +"type": "string" +} +}, +"type": "object" +}, +"HeldOrgUnit": { +"description": "The organizational unit covered by a hold. This structure is immutable.", +"id": "HeldOrgUnit", +"properties": { +"holdTime": { +"description": "When the organizational unit was put on hold. This property is immutable.", +"format": "google-datetime", +"type": "string" +}, +"orgUnitId": { +"description": "The organizational unit's immutable ID as provided by the [Admin SDK](https://developers.google.com/admin-sdk/).", +"type": "string" +} +}, +"type": "object" +}, +"HeldVoiceQuery": { +"description": "Options for Voice holds.", +"id": "HeldVoiceQuery", +"properties": { +"coveredData": { +"description": "A list of data types covered by the hold. Should be non-empty. Order does not matter and duplicates are ignored.", +"items": { +"enum": [ +"COVERED_DATA_UNSPECIFIED", +"TEXT_MESSAGES", +"VOICEMAILS", +"CALL_LOGS" +], +"enumDescriptions": [ +"Covered data unspecified.", +"Voice text messages.", +"Voicemails and their transcripts.", +"Call logs." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Hold": { +"description": "A hold. A hold prevents the specified Google Workspace service from purging data for specific accounts or all members of an organizational unit. To work with Vault resources, the account must have the [required Vault privileges] (https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.", +"id": "Hold", +"properties": { +"accounts": { +"description": "If set, the hold applies to the specified accounts and **orgUnit** must be empty.", +"items": { +"$ref": "HeldAccount" +}, +"type": "array" +}, +"corpus": { +"description": "The service to be searched.", +"enum": [ +"CORPUS_TYPE_UNSPECIFIED", +"DRIVE", +"MAIL", +"GROUPS", +"HANGOUTS_CHAT", +"VOICE", +"CALENDAR", +"GEMINI" +], +"enumDescriptions": [ +"No service specified.", +"Drive, including Meet and Sites.", +"For search, Gmail and classic Hangouts. For holds, Gmail only.", +"Groups.", +"For export, Google Chat only. For holds, Google Chat and classic Hangouts.", +"Google Voice.", +"Calendar.", +"Gemini." +], +"type": "string" +}, +"holdId": { +"description": "The unique immutable ID of the hold. Assigned during creation.", +"type": "string" +}, +"name": { +"description": "The name of the hold.", +"type": "string" +}, +"orgUnit": { +"$ref": "HeldOrgUnit", +"description": "If set, the hold applies to all members of the organizational unit and **accounts** must be empty. This property is mutable. For Groups holds, set **accounts**." +}, +"query": { +"$ref": "CorpusQuery", +"description": "Service-specific options. If set, **CorpusQuery** must match **CorpusType**." +}, +"updateTime": { +"description": "The last time this hold was modified.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, +"ListExportsResponse": { +"description": "The exports for a matter.", +"id": "ListExportsResponse", +"properties": { +"exports": { +"description": "The list of exports.", +"items": { +"$ref": "Export" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListHeldAccountsResponse": { +"description": "Returns a list of the accounts covered by a hold.", +"id": "ListHeldAccountsResponse", +"properties": { +"accounts": { +"description": "The held accounts on a hold.", +"items": { +"$ref": "HeldAccount" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListHoldsResponse": { +"description": "The holds for a matter.", +"id": "ListHoldsResponse", +"properties": { +"holds": { +"description": "The list of holds.", +"items": { +"$ref": "Hold" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list. If this is empty, then there are no more holds to list.", +"type": "string" +} +}, +"type": "object" +}, +"ListMattersResponse": { +"description": "Provides the list of matters.", +"id": "ListMattersResponse", +"properties": { +"matters": { +"description": "List of matters.", +"items": { +"$ref": "Matter" +}, +"type": "array" +}, +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListSavedQueriesResponse": { +"description": "Definition of the response for method ListSaveQuery.", +"id": "ListSavedQueriesResponse", +"properties": { +"nextPageToken": { +"description": "Page token to retrieve the next page of results in the list. If this is empty, then there are no more saved queries to list.", +"type": "string" +}, +"savedQueries": { +"description": "List of saved queries.", +"items": { +"$ref": "SavedQuery" +}, +"type": "array" +} +}, +"type": "object" +}, +"MailCountResult": { +"description": "Gmail and classic Hangouts-specific count metrics.", +"id": "MailCountResult", +"properties": { +"accountCountErrors": { +"description": "Errors occurred when querying these accounts.", +"items": { +"$ref": "AccountCountError" +}, +"type": "array" +}, +"accountCounts": { +"description": "Subtotal count per matching account that have more than zero messages.", +"items": { +"$ref": "AccountCount" +}, +"type": "array" +}, +"matchingAccountsCount": { +"description": "Total number of accounts that can be queried and have more than zero messages.", +"format": "int64", +"type": "string" +}, +"nonQueryableAccounts": { +"description": "When **DataScope** is **HELD_DATA** and when account emails are passed in explicitly, the list of accounts in the request that are not queried because they are not on hold in the matter. For other data scopes, this field is not set.", +"items": { +"type": "string" +}, +"type": "array" +}, +"queriedAccountsCount": { +"description": "Total number of accounts involved in this count operation.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"MailExportOptions": { +"description": "Options for Gmail exports.", +"id": "MailExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +}, +"exportLinkedDriveFiles": { +"description": "Optional. To enable exporting linked Drive files, set to **true**.", +"type": "boolean" +}, +"showConfidentialModeContent": { +"description": "To export confidential mode content, set to **true**.", +"type": "boolean" +}, +"useNewExport": { +"description": "To use the new export system, set to **true**.", +"type": "boolean" +} +}, +"type": "object" +}, +"MailOptions": { +"description": "Additional options for Gmail search", +"id": "MailOptions", +"properties": { +"clientSideEncryptedOption": { +"description": "Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both.", +"enum": [ +"CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED", +"CLIENT_SIDE_ENCRYPTED_OPTION_ANY", +"CLIENT_SIDE_ENCRYPTED_OPTION_ENCRYPTED", +"CLIENT_SIDE_ENCRYPTED_OPTION_UNENCRYPTED" +], +"enumDescriptions": [ +"Encryption status unspecified. Results include both client-side encrypted and non-encrypted content.", +"Include both client-side encrypted and unencrypted content in results.", +"Include client-side encrypted content only.", +"Include unencrypted content only." +], +"type": "string" +}, +"excludeDrafts": { +"description": "Set to **true** to exclude drafts.", +"type": "boolean" +} +}, +"type": "object" +}, +"Matter": { +"description": "Represents a matter. To work with Vault resources, the account must have the [required Vault privileges] (https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.", +"id": "Matter", +"properties": { +"description": { +"description": "An optional description for the matter.", +"type": "string" +}, +"matterId": { +"description": "The matter ID, which is generated by the server. Leave blank when creating a matter.", +"type": "string" +}, +"matterPermissions": { +"description": "Lists the users and their permission for the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.", +"items": { +"$ref": "MatterPermission" +}, +"type": "array" +}, +"matterRegion": { +"description": "Optional. The requested data region for the matter.", +"enum": [ +"MATTER_REGION_UNSPECIFIED", +"ANY", +"US", +"EUROPE" +], +"enumDescriptions": [ +"The region is unspecified. Defaults to ANY.", +"Any region.", +"United States region.", +"Europe region." +], +"type": "string" +}, +"name": { +"description": "The name of the matter.", +"type": "string" +}, +"state": { +"description": "The state of the matter.", +"enum": [ +"STATE_UNSPECIFIED", +"OPEN", +"CLOSED", +"DELETED" +], +"enumDescriptions": [ +"The matter has no specified state.", +"The matter is open.", +"The matter is closed.", +"The matter is deleted." +], +"type": "string" +} +}, +"type": "object" +}, +"MatterPermission": { +"description": "Users can be matter owners or collaborators. Each matter has only one owner. All others users who can access the matter are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.", +"id": "MatterPermission", +"properties": { +"accountId": { +"description": "The account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/).", +"type": "string" +}, +"role": { +"description": "The user's role for the matter.", +"enum": [ +"ROLE_UNSPECIFIED", +"COLLABORATOR", +"OWNER" +], +"enumDescriptions": [ +"No role assigned.", +"A collaborator on the matter.", +"The owner of the matter." +], +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OrgUnitInfo": { +"description": "The organizational unit to search", +"id": "OrgUnitInfo", +"properties": { +"orgUnitId": { +"description": "The name of the organizational unit to search, as provided by the [Admin SDK Directory API](https://developers.google.com/admin-sdk/directory/).", +"type": "string" +} +}, +"type": "object" +}, +"Query": { +"description": "The query definition used for search and export.", +"id": "Query", +"properties": { +"accountInfo": { +"$ref": "AccountInfo", +"description": "Required when **SearchMethod** is **ACCOUNT**." +}, +"calendarOptions": { +"$ref": "CalendarOptions", +"description": "Set Calendar search-specific options." +}, +"corpus": { +"description": "The Google Workspace service to search.", +"enum": [ +"CORPUS_TYPE_UNSPECIFIED", +"DRIVE", +"MAIL", +"GROUPS", +"HANGOUTS_CHAT", +"VOICE", +"CALENDAR", +"GEMINI" +], +"enumDescriptions": [ +"No service specified.", +"Drive, including Meet and Sites.", +"For search, Gmail and classic Hangouts. For holds, Gmail only.", +"Groups.", +"For export, Google Chat only. For holds, Google Chat and classic Hangouts.", +"Google Voice.", +"Calendar.", +"Gemini." +], +"type": "string" +}, +"dataScope": { +"description": "The data source to search.", +"enum": [ +"DATA_SCOPE_UNSPECIFIED", +"ALL_DATA", +"HELD_DATA", +"UNPROCESSED_DATA" +], +"enumDescriptions": [ +"No data source specified.", +"All available data.", +"Only data on hold.", +"Only data not yet processed by Vault. (Gmail and Groups only)" +], +"type": "string" +}, +"driveDocumentInfo": { +"$ref": "DriveDocumentInfo", +"description": "Required when **SearchMethod** is **DRIVE_DOCUMENT**." +}, +"driveOptions": { +"$ref": "DriveOptions", +"description": "Set Drive search-specific options." +}, +"endTime": { +"description": "The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"geminiOptions": { +"$ref": "GeminiOptions", +"description": "Set Gemini search-specific options." +}, +"hangoutsChatInfo": { +"$ref": "HangoutsChatInfo", +"description": "Required when **SearchMethod** is **ROOM**. (read-only)" +}, +"hangoutsChatOptions": { +"$ref": "HangoutsChatOptions", +"description": "Set Chat search-specific options. (read-only)" +}, +"mailOptions": { +"$ref": "MailOptions", +"description": "Set Gmail search-specific options." +}, +"method": { +"description": "The entity to search. This field replaces **searchMethod** to support shared drives. When **searchMethod** is **TEAM_DRIVE**, the response of this field is **SHARED_DRIVE**.", +"enum": [ +"SEARCH_METHOD_UNSPECIFIED", +"ACCOUNT", +"ORG_UNIT", +"TEAM_DRIVE", +"ENTIRE_ORG", +"ROOM", +"SITES_URL", +"SHARED_DRIVE", +"DRIVE_DOCUMENT" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A search method must be specified or else it is rejected.", +"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#accountinfo).", +"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#orgunitinfo).", +"Search the data in the Team Drive specified in **team_drive_info**.", +"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.", +"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#hangoutschatinfo).", +"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#sitesurlinfo).", +"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#shareddriveinfo).", +"Retrieve the documents specified in DriveDocumentInfo." +], +"type": "string" +}, +"orgUnitInfo": { +"$ref": "OrgUnitInfo", +"description": "Required when **SearchMethod** is **ORG_UNIT**." +}, +"searchMethod": { +"deprecated": true, +"description": "The search method to use.", +"enum": [ +"SEARCH_METHOD_UNSPECIFIED", +"ACCOUNT", +"ORG_UNIT", +"TEAM_DRIVE", +"ENTIRE_ORG", +"ROOM", +"SITES_URL", +"SHARED_DRIVE", +"DRIVE_DOCUMENT" +], +"enumDeprecated": [ +false, +false, +false, +true, +false, +false, +false, +false, +false +], +"enumDescriptions": [ +"A search method must be specified or else it is rejected.", +"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#accountinfo).", +"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#orgunitinfo).", +"Search the data in the Team Drive specified in **team_drive_info**.", +"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.", +"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#hangoutschatinfo).", +"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#sitesurlinfo).", +"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#shareddriveinfo).", +"Retrieve the documents specified in DriveDocumentInfo." +], +"type": "string" +}, +"sharedDriveInfo": { +"$ref": "SharedDriveInfo", +"description": "Required when **SearchMethod** is **SHARED_DRIVE**." +}, +"sitesUrlInfo": { +"$ref": "SitesUrlInfo", +"description": "Required when **SearchMethod** is **SITES_URL**." +}, +"startTime": { +"description": "The start time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.", +"format": "google-datetime", +"type": "string" +}, +"teamDriveInfo": { +"$ref": "TeamDriveInfo", +"deprecated": true, +"description": "Required when **SearchMethod** is **TEAM_DRIVE**." +}, +"terms": { +"description": "Service-specific [search operators](https://support.google.com/vault/answer/2474474) to filter search results.", +"type": "string" +}, +"timeZone": { +"description": "The time zone name. It should be an IANA TZ name, such as \"America/Los_Angeles\". For a list of time zone names, see [Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information about how Vault uses time zones, see [the Vault help center](https://support.google.com/vault/answer/6092995#time).", +"type": "string" +}, +"voiceOptions": { +"$ref": "VoiceOptions", +"description": "Set Voice search-specific options." +} +}, +"type": "object" +}, +"RemoveHeldAccountsRequest": { +"description": "Remove a list of accounts from a hold.", +"id": "RemoveHeldAccountsRequest", +"properties": { +"accountIds": { +"description": "The account IDs of the accounts to remove from the hold.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoveHeldAccountsResponse": { +"description": "Response for batch delete held accounts.", +"id": "RemoveHeldAccountsResponse", +"properties": { +"statuses": { +"description": "A list of statuses for the deleted accounts. Results have the same order as the request.", +"items": { +"$ref": "Status" +}, +"type": "array" +} +}, +"type": "object" +}, +"RemoveMatterPermissionsRequest": { +"description": "Remove an account as a matter collaborator.", +"id": "RemoveMatterPermissionsRequest", +"properties": { +"accountId": { +"description": "The account ID.", +"type": "string" +} +}, +"type": "object" +}, +"ReopenMatterRequest": { +"description": "Reopen a matter by ID.", +"id": "ReopenMatterRequest", +"properties": {}, +"type": "object" +}, +"ReopenMatterResponse": { +"description": "Response to a ReopenMatterRequest.", +"id": "ReopenMatterResponse", +"properties": { +"matter": { +"$ref": "Matter", +"description": "The updated matter, with state **OPEN**." +} +}, +"type": "object" +}, +"SavedQuery": { +"description": "The definition of a saved query. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege.", +"id": "SavedQuery", +"properties": { +"createTime": { +"description": "Output only. The server-generated timestamp when the saved query was created.", +"format": "google-datetime", +"type": "string" +}, +"displayName": { +"description": "The name of the saved query.", +"type": "string" +}, +"matterId": { +"description": "Output only. The matter ID of the matter the saved query is saved in. The server does not use this field during create and always uses matter ID in the URL.", +"type": "string" +}, +"query": { +"$ref": "Query", +"description": "The search parameters of the saved query." +}, +"savedQueryId": { +"description": "A unique identifier for the saved query.", +"type": "string" +} +}, +"type": "object" +}, +"SharedDriveInfo": { +"description": "The shared drives to search", +"id": "SharedDriveInfo", +"properties": { +"sharedDriveIds": { +"description": "A list of shared drive IDs, as provided by the [Drive API](https://developers.google.com/drive).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"SitesUrlInfo": { +"description": "The published site URLs of new Google Sites to search", +"id": "SitesUrlInfo", +"properties": { +"urls": { +"description": "A list of published site URLs.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"TeamDriveInfo": { +"deprecated": true, +"description": "Team Drives to search", +"id": "TeamDriveInfo", +"properties": { +"teamDriveIds": { +"deprecated": true, +"description": "List of Team Drive IDs, as provided by the [Drive API](https://developers.google.com/drive).", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"UndeleteMatterRequest": { +"description": "Undelete a matter by ID.", +"id": "UndeleteMatterRequest", +"properties": {}, +"type": "object" +}, +"UserInfo": { +"description": "User's information.", +"id": "UserInfo", +"properties": { +"displayName": { +"description": "The displayed name of the user.", +"type": "string" +}, +"email": { +"description": "The email address of the user.", +"type": "string" +} +}, +"type": "object" +}, +"VoiceExportOptions": { +"description": "The options for Voice exports.", +"id": "VoiceExportOptions", +"properties": { +"exportFormat": { +"description": "The file format for exported text messages.", +"enum": [ +"EXPORT_FORMAT_UNSPECIFIED", +"MBOX", +"PST", +"ICS", +"XML" +], +"enumDescriptions": [ +"No export format specified.", +"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.", +"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.", +"Export as ICS. Only available for Calendar.", +"Export as XML. Only available for Gemini." +], +"type": "string" +} +}, +"type": "object" +}, +"VoiceOptions": { +"description": "Additional options for Voice search", +"id": "VoiceOptions", +"properties": { +"coveredData": { +"description": "Datatypes to search", +"items": { +"enum": [ +"COVERED_DATA_UNSPECIFIED", +"TEXT_MESSAGES", +"VOICEMAILS", +"CALL_LOGS" +], +"enumDescriptions": [ +"Covered data unspecified.", +"Voice text messages.", +"Voicemails and their transcripts.", +"Call logs." +], +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Google Vault API", +"version": "v1", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v2.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v2.json new file mode 100644 index 0000000000000000000000000000000000000000..bbd58fee49d324b9d85533eda5ddc125f8e3ddfd --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/verifiedaccess.v2.json @@ -0,0 +1,639 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/verifiedaccess": { +"description": "Verify your enterprise credentials" +} +} +} +}, +"basePath": "", +"baseUrl": "https://verifiedaccess.googleapis.com/", +"batchPath": "batch", +"canonicalName": "verifiedaccess", +"description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network", +"discoveryVersion": "v1", +"documentationLink": "https://developers.google.com/chrome/verified-access", +"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": "verifiedaccess:v2", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://verifiedaccess.mtls.googleapis.com/", +"name": "verifiedaccess", +"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": { +"challenge": { +"methods": { +"generate": { +"description": "Generates a new challenge.", +"flatPath": "v2/challenge:generate", +"httpMethod": "POST", +"id": "verifiedaccess.challenge.generate", +"parameterOrder": [], +"parameters": {}, +"path": "v2/challenge:generate", +"request": { +"$ref": "Empty" +}, +"response": { +"$ref": "Challenge" +}, +"scopes": [ +"https://www.googleapis.com/auth/verifiedaccess" +] +}, +"verify": { +"description": "Verifies the challenge response.", +"flatPath": "v2/challenge:verify", +"httpMethod": "POST", +"id": "verifiedaccess.challenge.verify", +"parameterOrder": [], +"parameters": {}, +"path": "v2/challenge:verify", +"request": { +"$ref": "VerifyChallengeResponseRequest" +}, +"response": { +"$ref": "VerifyChallengeResponseResult" +}, +"scopes": [ +"https://www.googleapis.com/auth/verifiedaccess" +] +} +} +} +}, +"revision": "20251230", +"rootUrl": "https://verifiedaccess.googleapis.com/", +"schemas": { +"Antivirus": { +"description": "Antivirus information on a device.", +"id": "Antivirus", +"properties": { +"state": { +"description": "Output only. The state of the antivirus on the device. Introduced in Chrome M136.", +"enum": [ +"STATE_UNSPECIFIED", +"MISSING", +"DISABLED", +"ENABLED" +], +"enumDescriptions": [ +"Unspecified.", +"No antivirus was detected on the device.", +"At least one antivirus was installed on the device but none was enabled.", +"At least one antivirus was enabled on the device." +], +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"Challenge": { +"description": "Result message for VerifiedAccess.GenerateChallenge.", +"id": "Challenge", +"properties": { +"challenge": { +"description": "Generated challenge, the bytes representation of SignedData.", +"format": "byte", +"type": "string" +} +}, +"type": "object" +}, +"CrowdStrikeAgent": { +"description": "Properties of the CrowdStrike agent installed on a device.", +"id": "CrowdStrikeAgent", +"properties": { +"agentId": { +"description": "Output only. The Agent ID of the Crowdstrike agent.", +"readOnly": true, +"type": "string" +}, +"customerId": { +"description": "Output only. The Customer ID to which the agent belongs to.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"DeviceSignals": { +"description": "The device signals as reported by Chrome. Unless otherwise specified, signals are available on all platforms.", +"id": "DeviceSignals", +"properties": { +"allowScreenLock": { +"description": "Output only. Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only.", +"readOnly": true, +"type": "boolean" +}, +"antivirus": { +"$ref": "Antivirus", +"description": "Output only. Information about Antivirus software on the device. Available on Windows only.", +"readOnly": true +}, +"browserVersion": { +"description": "Output only. Current version of the Chrome browser which generated this set of signals. Example value: \"107.0.5286.0\".", +"readOnly": true, +"type": "string" +}, +"builtInDnsClientEnabled": { +"description": "Output only. Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.", +"readOnly": true, +"type": "boolean" +}, +"chromeRemoteDesktopAppBlocked": { +"description": "Output only. Whether access to the Chrome Remote Desktop application is blocked via a policy.", +"readOnly": true, +"type": "boolean" +}, +"crowdStrikeAgent": { +"$ref": "CrowdStrikeAgent", +"description": "Output only. Crowdstrike agent properties installed on the device, if any. Available on Windows and MacOS only.", +"readOnly": true +}, +"deviceAffiliationIds": { +"description": "Output only. Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"deviceEnrollmentDomain": { +"description": "Output only. Enrollment domain of the customer which is currently managing the device.", +"readOnly": true, +"type": "string" +}, +"deviceManufacturer": { +"description": "Output only. The name of the device's manufacturer.", +"readOnly": true, +"type": "string" +}, +"deviceModel": { +"description": "Output only. The name of the device's model.", +"readOnly": true, +"type": "string" +}, +"diskEncryption": { +"description": "Output only. The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.", +"enum": [ +"DISK_ENCRYPTION_UNSPECIFIED", +"DISK_ENCRYPTION_UNKNOWN", +"DISK_ENCRYPTION_DISABLED", +"DISK_ENCRYPTION_ENCRYPTED" +], +"enumDescriptions": [ +"Unspecified.", +"Chrome could not evaluate the encryption state.", +"The main disk is not encrypted.", +"The main disk is encrypted." +], +"readOnly": true, +"type": "string" +}, +"displayName": { +"description": "Output only. The display name of the device, as defined by the user.", +"readOnly": true, +"type": "string" +}, +"hostname": { +"description": "Hostname of the device.", +"type": "string" +}, +"imei": { +"description": "Output only. International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"macAddresses": { +"description": "Output only. MAC addresses of the device.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"meid": { +"description": "Output only. Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"operatingSystem": { +"description": "Output only. The type of the Operating System currently running on the device.", +"enum": [ +"OPERATING_SYSTEM_UNSPECIFIED", +"CHROME_OS", +"CHROMIUM_OS", +"WINDOWS", +"MAC_OS_X", +"LINUX" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"ChromeOS.", +"ChromiumOS.", +"Windows.", +"Mac Os X.", +"Linux" +], +"readOnly": true, +"type": "string" +}, +"osFirewall": { +"description": "Output only. The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode. Support for MacOS 15 (Sequoia) and later has been introduced in Chrome M131.", +"enum": [ +"OS_FIREWALL_UNSPECIFIED", +"OS_FIREWALL_UNKNOWN", +"OS_FIREWALL_DISABLED", +"OS_FIREWALL_ENABLED" +], +"enumDescriptions": [ +"Unspecified.", +"Chrome could not evaluate the OS firewall state.", +"The OS firewall is disabled.", +"The OS firewall is enabled." +], +"readOnly": true, +"type": "string" +}, +"osVersion": { +"description": "Output only. The current version of the Operating System. On Windows and linux, the value will also include the security patch information.", +"readOnly": true, +"type": "string" +}, +"passwordProtectionWarningTrigger": { +"description": "Output only. Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.", +"enum": [ +"PASSWORD_PROTECTION_WARNING_TRIGGER_UNSPECIFIED", +"POLICY_UNSET", +"PASSWORD_PROTECTION_OFF", +"PASSWORD_REUSE", +"PHISHING_REUSE" +], +"enumDescriptions": [ +"Unspecified.", +"The policy is not set.", +"No password protection warning will be shown.", +"Password protection warning is shown if a protected password is re-used.", +"Password protection warning is shown if a protected password is re-used on a known phishing website." +], +"readOnly": true, +"type": "string" +}, +"profileAffiliationIds": { +"description": "Output only. Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile\u2019s user or ChromeOS user.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"profileEnrollmentDomain": { +"description": "Output only. Enrollment domain of the customer which is currently managing the profile.", +"readOnly": true, +"type": "string" +}, +"realtimeUrlCheckMode": { +"description": "Output only. Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode", +"enum": [ +"REALTIME_URL_CHECK_MODE_UNSPECIFIED", +"REALTIME_URL_CHECK_MODE_DISABLED", +"REALTIME_URL_CHECK_MODE_ENABLED_MAIN_FRAME" +], +"enumDescriptions": [ +"Unspecified.", +"Disabled. Consumer Safe Browsing checks are applied.", +"Realtime check for main frame URLs is enabled." +], +"readOnly": true, +"type": "string" +}, +"safeBrowsingProtectionLevel": { +"description": "Output only. Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.", +"enum": [ +"SAFE_BROWSING_PROTECTION_LEVEL_UNSPECIFIED", +"INACTIVE", +"STANDARD", +"ENHANCED" +], +"enumDescriptions": [ +"Unspecified.", +"Safe Browsing is disabled.", +"Safe Browsing is active in the standard mode.", +"Safe Browsing is active in the enhanced mode." +], +"readOnly": true, +"type": "string" +}, +"screenLockSecured": { +"description": "Output only. The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.", +"enum": [ +"SCREEN_LOCK_SECURED_UNSPECIFIED", +"SCREEN_LOCK_SECURED_UNKNOWN", +"SCREEN_LOCK_SECURED_DISABLED", +"SCREEN_LOCK_SECURED_ENABLED" +], +"enumDescriptions": [ +"Unspecified.", +"Chrome could not evaluate the state of the Screen Lock mechanism.", +"The Screen Lock is not password-protected.", +"The Screen Lock is password-protected." +], +"readOnly": true, +"type": "string" +}, +"secureBootMode": { +"description": "Output only. Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only.", +"enum": [ +"SECURE_BOOT_MODE_UNSPECIFIED", +"SECURE_BOOT_MODE_UNKNOWN", +"SECURE_BOOT_MODE_DISABLED", +"SECURE_BOOT_MODE_ENABLED" +], +"enumDescriptions": [ +"Unspecified.", +"Chrome was unable to determine the Secure Boot mode.", +"Secure Boot was disabled on the startup software.", +"Secure Boot was enabled on the startup software." +], +"readOnly": true, +"type": "string" +}, +"serialNumber": { +"description": "Output only. The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions.", +"readOnly": true, +"type": "string" +}, +"siteIsolationEnabled": { +"description": "Output only. Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess", +"readOnly": true, +"type": "boolean" +}, +"systemDnsServers": { +"description": "List of the addesses of all OS level DNS servers configured in the device's network settings.", +"items": { +"type": "string" +}, +"type": "array" +}, +"thirdPartyBlockingEnabled": { +"deprecated": true, +"description": "Output only. Deprecated. The corresponding policy is now deprecated. Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.", +"readOnly": true, +"type": "boolean" +}, +"trigger": { +"description": "Output only. The trigger which generated this set of signals.", +"enum": [ +"TRIGGER_UNSPECIFIED", +"TRIGGER_BROWSER_NAVIGATION", +"TRIGGER_LOGIN_SCREEN" +], +"enumDescriptions": [ +"Unspecified.", +"When navigating to an URL inside a browser.", +"When signing into an account on the ChromeOS login screen." +], +"readOnly": true, +"type": "string" +}, +"windowsMachineDomain": { +"description": "Output only. Windows domain that the current machine has joined. Available on Windows only.", +"readOnly": true, +"type": "string" +}, +"windowsUserDomain": { +"description": "Output only. Windows domain for the current OS user. Available on Windows only.", +"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" +}, +"VerifyChallengeResponseRequest": { +"description": "Signed ChallengeResponse.", +"id": "VerifyChallengeResponseRequest", +"properties": { +"challengeResponse": { +"description": "Required. The generated response to the challenge, the bytes representation of SignedData.", +"format": "byte", +"type": "string" +}, +"expectedIdentity": { +"description": "Optional. Service can optionally provide identity information about the device or user associated with the key. For an EMK, this value is the enrolled domain. For an EUK, this value is the user's email address. If present, this value will be checked against contents of the response, and verification will fail if there is no match.", +"type": "string" +} +}, +"type": "object" +}, +"VerifyChallengeResponseResult": { +"description": "Result message for VerifiedAccess.VerifyChallengeResponse. The response returned when successful for Managed profiles on Unmanaged browsers will NOT have devicePermanentId, keyTrustLevel, virtualDeviceId and customerId fields. Managed profiles will INSTEAD have the profileCustomerId, virtualProfileId, profilePermanentId and profileKeyTrustLevel fields.", +"id": "VerifyChallengeResponseResult", +"properties": { +"attestedDeviceId": { +"description": "Output only. Attested device ID (ADID).", +"readOnly": true, +"type": "string" +}, +"customerId": { +"description": "Output only. Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers", +"readOnly": true, +"type": "string" +}, +"deviceEnrollmentId": { +"description": "Output only. Device enrollment id for ChromeOS devices.", +"readOnly": true, +"type": "string" +}, +"devicePermanentId": { +"description": "Output only. Device permanent id is returned in this field (for the machine response only).", +"readOnly": true, +"type": "string" +}, +"deviceSignal": { +"description": "Output only. Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.", +"readOnly": true, +"type": "string" +}, +"deviceSignals": { +"$ref": "DeviceSignals", +"description": "Output only. Device signals.", +"readOnly": true +}, +"keyTrustLevel": { +"description": "Output only. Device attested key trust level.", +"enum": [ +"KEY_TRUST_LEVEL_UNSPECIFIED", +"CHROME_OS_VERIFIED_MODE", +"CHROME_OS_DEVELOPER_MODE", +"CHROME_BROWSER_HW_KEY", +"CHROME_BROWSER_OS_KEY", +"CHROME_BROWSER_NO_KEY", +"CHROME_OS_NO_KEY" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"ChromeOS device in verified mode.", +"ChromeOS device in developer mode.", +"Chrome Browser with the key stored in the device hardware.", +"Chrome Browser with the key stored at OS level.", +"Chrome Browser without an attestation key.", +"ChromeOS device without a signing key (e.g., Flex without TPM). Applies to both device and user contexts on ChromeOS." +], +"readOnly": true, +"type": "string" +}, +"profileCustomerId": { +"description": "Output only. Unique customer id that this profile belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers", +"readOnly": true, +"type": "string" +}, +"profileKeyTrustLevel": { +"description": "Output only. Profile attested key trust level.", +"enum": [ +"KEY_TRUST_LEVEL_UNSPECIFIED", +"CHROME_OS_VERIFIED_MODE", +"CHROME_OS_DEVELOPER_MODE", +"CHROME_BROWSER_HW_KEY", +"CHROME_BROWSER_OS_KEY", +"CHROME_BROWSER_NO_KEY", +"CHROME_OS_NO_KEY" +], +"enumDescriptions": [ +"UNSPECIFIED.", +"ChromeOS device in verified mode.", +"ChromeOS device in developer mode.", +"Chrome Browser with the key stored in the device hardware.", +"Chrome Browser with the key stored at OS level.", +"Chrome Browser without an attestation key.", +"ChromeOS device without a signing key (e.g., Flex without TPM). Applies to both device and user contexts on ChromeOS." +], +"readOnly": true, +"type": "string" +}, +"profilePermanentId": { +"description": "Output only. The unique server-side ID of a profile on the device.", +"readOnly": true, +"type": "string" +}, +"signedPublicKeyAndChallenge": { +"description": "Output only. Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)", +"readOnly": true, +"type": "string" +}, +"virtualDeviceId": { +"description": "Output only. Virtual device id of the device. The definition of virtual device id is platform-specific.", +"readOnly": true, +"type": "string" +}, +"virtualProfileId": { +"description": "Output only. The client-provided ID of a profile on the device.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Chrome Verified Access API", +"version": "v2", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json new file mode 100644 index 0000000000000000000000000000000000000000..c31a055cea305afa23ab27b1f0844123aba9a8ca --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json @@ -0,0 +1,492 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://workflowexecutions.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Workflow Executions", +"description": "Execute workflows created with Workflows API.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/workflows", +"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": "workflowexecutions:v1beta", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://workflowexecutions.mtls.googleapis.com/", +"name": "workflowexecutions", +"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": { +"workflows": { +"resources": { +"executions": { +"methods": { +"cancel": { +"description": "Cancels an execution of the given name.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}:cancel", +"httpMethod": "POST", +"id": "workflowexecutions.projects.locations.workflows.executions.cancel", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+name}:cancel", +"request": { +"$ref": "CancelExecutionRequest" +}, +"response": { +"$ref": "Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"create": { +"description": "Creates a new execution using the latest revision of the given workflow.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions", +"httpMethod": "POST", +"id": "workflowexecutions.projects.locations.workflows.executions.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1beta/{+parent}/executions", +"request": { +"$ref": "Execution" +}, +"response": { +"$ref": "Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Returns an execution of the given name.", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions/{executionsId}", +"httpMethod": "GET", +"id": "workflowexecutions.projects.locations.workflows.executions.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.", +"enum": [ +"EXECUTION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value.", +"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.", +"Includes all data." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+name}", +"response": { +"$ref": "Execution" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).", +"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/executions", +"httpMethod": "GET", +"id": "workflowexecutions.projects.locations.workflows.executions.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"pageSize": { +"description": "Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListExecutions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExecutions` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +}, +"view": { +"description": "Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.", +"enum": [ +"EXECUTION_VIEW_UNSPECIFIED", +"BASIC", +"FULL" +], +"enumDescriptions": [ +"The default / unset value.", +"Includes only basic metadata about the execution. Following fields are returned: name, start_time, end_time, state and workflow_revision_id.", +"Includes all data." +], +"location": "query", +"type": "string" +} +}, +"path": "v1beta/{+parent}/executions", +"response": { +"$ref": "ListExecutionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +} +} +}, +"revision": "20240625", +"rootUrl": "https://workflowexecutions.googleapis.com/", +"schemas": { +"CancelExecutionRequest": { +"description": "Request for the CancelExecution method.", +"id": "CancelExecutionRequest", +"properties": {}, +"type": "object" +}, +"Error": { +"description": "Error describes why the execution was abnormally terminated.", +"id": "Error", +"properties": { +"context": { +"description": "Human-readable stack trace string.", +"type": "string" +}, +"payload": { +"description": "Error message and data returned represented as a JSON string.", +"type": "string" +}, +"stackTrace": { +"$ref": "StackTrace", +"description": "Stack trace with detailed information of where error was generated." +} +}, +"type": "object" +}, +"Execution": { +"description": "A running instance of a [Workflow](/workflows/docs/reference/rest/v1beta/projects.locations.workflows).", +"id": "Execution", +"properties": { +"argument": { +"description": "Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{\"argument\":\"{\\\"firstName\\\":\\\"FIRST\\\",\\\"lastName\\\":\\\"LAST\\\"}\"}'`", +"type": "string" +}, +"callLogLevel": { +"description": "The call logging level associated to this execution.", +"enum": [ +"CALL_LOG_LEVEL_UNSPECIFIED", +"LOG_ALL_CALLS", +"LOG_ERRORS_ONLY" +], +"enumDescriptions": [ +"No call logging level specified.", +"Log all call steps within workflows, all call returns, and all exceptions raised.", +"Log only exceptions that are raised from call steps within workflows." +], +"type": "string" +}, +"endTime": { +"description": "Output only. Marks the end of execution, successful or not.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"error": { +"$ref": "Error", +"description": "Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.", +"readOnly": true +}, +"name": { +"description": "Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}", +"readOnly": true, +"type": "string" +}, +"result": { +"description": "Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.", +"readOnly": true, +"type": "string" +}, +"startTime": { +"description": "Output only. Marks the beginning of execution.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"state": { +"description": "Output only. Current state of the execution.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"SUCCEEDED", +"FAILED", +"CANCELLED", +"UNAVAILABLE", +"QUEUED" +], +"enumDescriptions": [ +"Invalid state.", +"The execution is in progress.", +"The execution finished successfully.", +"The execution failed with an error.", +"The execution was stopped intentionally.", +"Reserved for future use.", +"Request has been placed in the backlog for processing at a later time." +], +"readOnly": true, +"type": "string" +}, +"status": { +"$ref": "Status", +"description": "Output only. Status tracks the current steps and progress data of this execution.", +"readOnly": true +}, +"workflowRevisionId": { +"description": "Output only. Revision of the workflow this execution is using.", +"readOnly": true, +"type": "string" +} +}, +"type": "object" +}, +"ListExecutionsResponse": { +"description": "Response for the ListExecutions method.", +"id": "ListExecutionsResponse", +"properties": { +"executions": { +"description": "The executions which match the request.", +"items": { +"$ref": "Execution" +}, +"type": "array" +}, +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +} +}, +"type": "object" +}, +"Position": { +"description": "Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.", +"id": "Position", +"properties": { +"column": { +"description": "The source code column position (of the line) the current instruction was generated from.", +"format": "int64", +"type": "string" +}, +"length": { +"description": "The number of bytes of source code making up this stack trace element.", +"format": "int64", +"type": "string" +}, +"line": { +"description": "The source code line number the current instruction was generated from.", +"format": "int64", +"type": "string" +} +}, +"type": "object" +}, +"StackTrace": { +"description": "A collection of stack elements (frames) where an error occurred.", +"id": "StackTrace", +"properties": { +"elements": { +"description": "An array of stack elements.", +"items": { +"$ref": "StackTraceElement" +}, +"type": "array" +} +}, +"type": "object" +}, +"StackTraceElement": { +"description": "A single stack element (frame) where an error occurred.", +"id": "StackTraceElement", +"properties": { +"position": { +"$ref": "Position", +"description": "The source position information of the stack trace element." +}, +"routine": { +"description": "The routine where the error occurred.", +"type": "string" +}, +"step": { +"description": "The step the error occurred at.", +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "Represents the current status of this execution.", +"id": "Status", +"properties": { +"currentSteps": { +"description": "A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.", +"items": { +"$ref": "Step" +}, +"type": "array" +} +}, +"type": "object" +}, +"Step": { +"description": "Represents a step of the workflow this execution is running.", +"id": "Step", +"properties": { +"routine": { +"description": "Name of a routine within the workflow.", +"type": "string" +}, +"step": { +"description": "Name of a step within the routine.", +"type": "string" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Workflow Executions API", +"version": "v1beta", +"version_module": true +} \ No newline at end of file diff --git a/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflows.v1.json b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflows.v1.json new file mode 100644 index 0000000000000000000000000000000000000000..bc5f00e694456d7166823fd819eb8d26de1052d0 --- /dev/null +++ b/data/miniconda3/envs/catiagent/lib/python3.11/site-packages/googleapiclient/discovery_cache/documents/workflows.v1.json @@ -0,0 +1,889 @@ +{ +"auth": { +"oauth2": { +"scopes": { +"https://www.googleapis.com/auth/cloud-platform": { +"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." +} +} +} +}, +"basePath": "", +"baseUrl": "https://workflows.googleapis.com/", +"batchPath": "batch", +"canonicalName": "Workflows", +"description": "Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.", +"discoveryVersion": "v1", +"documentationLink": "https://cloud.google.com/workflows", +"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": "workflows:v1", +"kind": "discovery#restDescription", +"mtlsRootUrl": "https://workflows.mtls.googleapis.com/", +"name": "workflows", +"ownerDomain": "google.com", +"ownerName": "Google", +"parameters": { +"$.xgafv": { +"description": "V1 error format.", +"enum": [ +"1", +"2" +], +"enumDescriptions": [ +"v1 error format", +"v2 error format" +], +"location": "query", +"type": "string" +}, +"access_token": { +"description": "OAuth access token.", +"location": "query", +"type": "string" +}, +"alt": { +"default": "json", +"description": "Data format for response.", +"enum": [ +"json", +"media", +"proto" +], +"enumDescriptions": [ +"Responses with Content-Type of application/json", +"Media download with context-dependent Content-Type", +"Responses with Content-Type of application/x-protobuf" +], +"location": "query", +"type": "string" +}, +"callback": { +"description": "JSONP", +"location": "query", +"type": "string" +}, +"fields": { +"description": "Selector specifying which fields to include in a partial response.", +"location": "query", +"type": "string" +}, +"key": { +"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", +"location": "query", +"type": "string" +}, +"oauth_token": { +"description": "OAuth 2.0 token for the current user.", +"location": "query", +"type": "string" +}, +"prettyPrint": { +"default": "true", +"description": "Returns response with indentations and line breaks.", +"location": "query", +"type": "boolean" +}, +"quotaUser": { +"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", +"location": "query", +"type": "string" +}, +"uploadType": { +"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", +"location": "query", +"type": "string" +}, +"upload_protocol": { +"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", +"location": "query", +"type": "string" +} +}, +"protocol": "rest", +"resources": { +"projects": { +"resources": { +"locations": { +"methods": { +"get": { +"description": "Gets information about a location.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}", +"httpMethod": "GET", +"id": "workflows.projects.locations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Resource name for the location.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Location" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.", +"flatPath": "v1/projects/{projectsId}/locations", +"httpMethod": "GET", +"id": "workflows.projects.locations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"extraLocationTypes": { +"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", +"location": "query", +"repeated": true, +"type": "string" +}, +"filter": { +"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", +"location": "query", +"type": "string" +}, +"name": { +"description": "The resource that owns the locations collection, if applicable.", +"location": "path", +"pattern": "^projects/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of results to return. If not set, the service selects a default.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}/locations", +"response": { +"$ref": "ListLocationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +}, +"resources": { +"operations": { +"methods": { +"delete": { +"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "DELETE", +"id": "workflows.projects.locations.operations.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource to be deleted.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Empty" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", +"httpMethod": "GET", +"id": "workflows.projects.locations.operations.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The name of the operation resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", +"httpMethod": "GET", +"id": "workflows.projects.locations.operations.list", +"parameterOrder": [ +"name" +], +"parameters": { +"filter": { +"description": "The standard list filter.", +"location": "query", +"type": "string" +}, +"name": { +"description": "The name of the operation's parent resource.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The standard list page size.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The standard list page token.", +"location": "query", +"type": "string" +}, +"returnPartialSuccess": { +"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", +"location": "query", +"type": "boolean" +} +}, +"path": "v1/{+name}/operations", +"response": { +"$ref": "ListOperationsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +}, +"workflows": { +"methods": { +"create": { +"description": "Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a ALREADY_EXISTS error.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows", +"httpMethod": "POST", +"id": "workflows.projects.locations.workflows.create", +"parameterOrder": [ +"parent" +], +"parameters": { +"parent": { +"description": "Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +}, +"workflowId": { +"description": "Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+parent}/workflows", +"request": { +"$ref": "Workflow" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"delete": { +"description": "Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}", +"httpMethod": "DELETE", +"id": "workflows.projects.locations.workflows.delete", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the workflow to be deleted. Format: projects/{project}/locations/{location}/workflows/{workflow}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"get": { +"description": "Gets details of a single workflow.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}", +"httpMethod": "GET", +"id": "workflows.projects.locations.workflows.get", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Name of the workflow for which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +}, +"revisionId": { +"description": "Optional. The revision of the workflow to retrieve. If the revision_id is empty, the latest revision is retrieved. The format is \"000001-a4d\", where the first six characters define the zero-padded decimal revision number. They are followed by a hyphen and three hexadecimal characters.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"response": { +"$ref": "Workflow" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"list": { +"description": "Lists workflows in a given project and location. The default order is not specified.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows", +"httpMethod": "GET", +"id": "workflows.projects.locations.workflows.list", +"parameterOrder": [ +"parent" +], +"parameters": { +"filter": { +"description": "Filter to restrict results to specific workflows. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `createTime>\"2023-08-01\" AND state=\"FAILED\"`", +"location": "query", +"type": "string" +}, +"orderBy": { +"description": "Comma-separated list of fields that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a \"desc\" suffix. If not specified, the results are returned in an unspecified order.", +"location": "query", +"type": "string" +}, +"pageSize": { +"description": "Maximum number of workflows to return per call. The service might return fewer than this value even if not at the end of the collection. If a value is not specified, a default value of 500 is used. The maximum permitted value is 1000 and values greater than 1000 are coerced down to 1000.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "A page token, received from a previous `ListWorkflows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflows` must match the call that provided the page token.", +"location": "query", +"type": "string" +}, +"parent": { +"description": "Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+$", +"required": true, +"type": "string" +} +}, +"path": "v1/{+parent}/workflows", +"response": { +"$ref": "ListWorkflowsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"listRevisions": { +"description": "Lists revisions for a given workflow.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:listRevisions", +"httpMethod": "GET", +"id": "workflows.projects.locations.workflows.listRevisions", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +}, +"pageSize": { +"description": "The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100.", +"format": "int32", +"location": "query", +"type": "integer" +}, +"pageToken": { +"description": "The page token, received from a previous ListWorkflowRevisions call. Provide this to retrieve the subsequent page.", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}:listRevisions", +"response": { +"$ref": "ListWorkflowRevisionsResponse" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +}, +"patch": { +"description": "Updates an existing workflow. Running this method has no impact on already running executions of the workflow. A new revision of the workflow might be created as a result of a successful update operation. In that case, the new revision is used in new workflow executions.", +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}", +"httpMethod": "PATCH", +"id": "workflows.projects.locations.workflows.patch", +"parameterOrder": [ +"name" +], +"parameters": { +"name": { +"description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.", +"location": "path", +"pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", +"required": true, +"type": "string" +}, +"updateMask": { +"description": "List of fields to be updated. If not present, the entire workflow will be updated.", +"format": "google-fieldmask", +"location": "query", +"type": "string" +} +}, +"path": "v1/{+name}", +"request": { +"$ref": "Workflow" +}, +"response": { +"$ref": "Operation" +}, +"scopes": [ +"https://www.googleapis.com/auth/cloud-platform" +] +} +} +} +} +} +} +} +}, +"revision": "20260128", +"rootUrl": "https://workflows.googleapis.com/", +"schemas": { +"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" +}, +"ListLocationsResponse": { +"description": "The response message for Locations.ListLocations.", +"id": "ListLocationsResponse", +"properties": { +"locations": { +"description": "A list of locations that matches the specified filter in the request.", +"items": { +"$ref": "Location" +}, +"type": "array" +}, +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +} +}, +"type": "object" +}, +"ListOperationsResponse": { +"description": "The response message for Operations.ListOperations.", +"id": "ListOperationsResponse", +"properties": { +"nextPageToken": { +"description": "The standard List next-page token.", +"type": "string" +}, +"operations": { +"description": "A list of operations that matches the specified filter in the request.", +"items": { +"$ref": "Operation" +}, +"type": "array" +}, +"unreachable": { +"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", +"items": { +"type": "string" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkflowRevisionsResponse": { +"description": "Response for the ListWorkflowRevisions method.", +"id": "ListWorkflowRevisionsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"workflows": { +"description": "The revisions of the workflow, ordered in reverse chronological order.", +"items": { +"$ref": "Workflow" +}, +"type": "array" +} +}, +"type": "object" +}, +"ListWorkflowsResponse": { +"description": "Response for the ListWorkflows method.", +"id": "ListWorkflowsResponse", +"properties": { +"nextPageToken": { +"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", +"type": "string" +}, +"unreachable": { +"description": "Unreachable resources.", +"items": { +"type": "string" +}, +"type": "array" +}, +"workflows": { +"description": "The workflows that match the request.", +"items": { +"$ref": "Workflow" +}, +"type": "array" +} +}, +"type": "object" +}, +"Location": { +"description": "A resource that represents a Google Cloud location.", +"id": "Location", +"properties": { +"displayName": { +"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", +"type": "object" +}, +"locationId": { +"description": "The canonical id for this location. For example: `\"us-east1\"`.", +"type": "string" +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata. For example the available capacity at the given location.", +"type": "object" +}, +"name": { +"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", +"type": "string" +} +}, +"type": "object" +}, +"Operation": { +"description": "This resource represents a long-running operation that is the result of a network API call.", +"id": "Operation", +"properties": { +"done": { +"description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", +"type": "boolean" +}, +"error": { +"$ref": "Status", +"description": "The error result of the operation in case of failure or cancellation." +}, +"metadata": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", +"type": "object" +}, +"name": { +"description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", +"type": "string" +}, +"response": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", +"type": "object" +} +}, +"type": "object" +}, +"OperationMetadata": { +"description": "Represents the metadata of the long-running operation.", +"id": "OperationMetadata", +"properties": { +"apiVersion": { +"description": "API version used to start the operation.", +"type": "string" +}, +"createTime": { +"description": "The time the operation was created.", +"format": "google-datetime", +"type": "string" +}, +"endTime": { +"description": "The time the operation finished running.", +"format": "google-datetime", +"type": "string" +}, +"target": { +"description": "Server-defined resource path for the target of the operation.", +"type": "string" +}, +"verb": { +"description": "Name of the verb executed by the operation.", +"type": "string" +} +}, +"type": "object" +}, +"StateError": { +"description": "Describes an error related to the current state of the workflow.", +"id": "StateError", +"properties": { +"details": { +"description": "Provides specifics about the error.", +"type": "string" +}, +"type": { +"description": "The type of this state error.", +"enum": [ +"TYPE_UNSPECIFIED", +"KMS_ERROR" +], +"enumDescriptions": [ +"No type specified.", +"Caused by an issue with KMS." +], +"type": "string" +} +}, +"type": "object" +}, +"Status": { +"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", +"id": "Status", +"properties": { +"code": { +"description": "The status code, which should be an enum value of google.rpc.Code.", +"format": "int32", +"type": "integer" +}, +"details": { +"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", +"items": { +"additionalProperties": { +"description": "Properties of the object. Contains field @type with type URL.", +"type": "any" +}, +"type": "object" +}, +"type": "array" +}, +"message": { +"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", +"type": "string" +} +}, +"type": "object" +}, +"Workflow": { +"description": "Workflow program to be executed by Workflows.", +"id": "Workflow", +"properties": { +"allKmsKeys": { +"description": "Output only. A list of all KMS crypto keys used to encrypt or decrypt the data associated with the workflow.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"allKmsKeysVersions": { +"description": "Output only. A list of all KMS crypto key versions used to encrypt or decrypt the data associated with the workflow.", +"items": { +"type": "string" +}, +"readOnly": true, +"type": "array" +}, +"callLogLevel": { +"description": "Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.", +"enum": [ +"CALL_LOG_LEVEL_UNSPECIFIED", +"LOG_ALL_CALLS", +"LOG_ERRORS_ONLY", +"LOG_NONE" +], +"enumDescriptions": [ +"No call logging level specified.", +"Log all call steps within workflows, all call returns, and all exceptions raised.", +"Log only exceptions that are raised from call steps within workflows.", +"Explicitly log nothing." +], +"type": "string" +}, +"createTime": { +"description": "Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"cryptoKeyName": { +"description": "Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.", +"type": "string" +}, +"cryptoKeyVersion": { +"description": "Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}", +"readOnly": true, +"type": "string" +}, +"description": { +"description": "Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.", +"type": "string" +}, +"executionHistoryLevel": { +"description": "Optional. Describes the execution history level to apply to this workflow.", +"enum": [ +"EXECUTION_HISTORY_LEVEL_UNSPECIFIED", +"EXECUTION_HISTORY_BASIC", +"EXECUTION_HISTORY_DETAILED" +], +"enumDescriptions": [ +"The default/unset value.", +"Enable execution history basic feature.", +"Enable execution history detailed feature." +], +"type": "string" +}, +"labels": { +"additionalProperties": { +"type": "string" +}, +"description": "Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision.", +"type": "object" +}, +"name": { +"description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.", +"type": "string" +}, +"revisionCreateTime": { +"description": "Output only. The timestamp for the latest revision of the workflow's creation.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"revisionId": { +"description": "Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - Service account - Workflow code to be executed The format is \"000001-a4d\", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters.", +"readOnly": true, +"type": "string" +}, +"serviceAccount": { +"description": "The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.", +"type": "string" +}, +"sourceContents": { +"description": "Workflow code to be executed. The size limit is 128KB.", +"type": "string" +}, +"state": { +"description": "Output only. State of the workflow deployment.", +"enum": [ +"STATE_UNSPECIFIED", +"ACTIVE", +"UNAVAILABLE" +], +"enumDescriptions": [ +"Invalid state.", +"The workflow has been deployed successfully and is serving.", +"Workflow data is unavailable. See the `state_error` field." +], +"readOnly": true, +"type": "string" +}, +"stateError": { +"$ref": "StateError", +"description": "Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.", +"readOnly": true +}, +"tags": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Input only. Immutable. Tags associated with this workflow.", +"type": "object" +}, +"updateTime": { +"description": "Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.", +"format": "google-datetime", +"readOnly": true, +"type": "string" +}, +"userEnvVars": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 4KiB. Keys cannot be empty strings and cannot start with \"GOOGLE\" or \"WORKFLOWS\".", +"type": "object" +} +}, +"type": "object" +} +}, +"servicePath": "", +"title": "Workflows API", +"version": "v1", +"version_module": true +} \ No newline at end of file